// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. import { APIResource } from '../../../resource'; import * as Core from '../../../core'; export class Countries extends APIResource { /** * Retrieves countries information for all countries */ list(params: CountryListParams, options?: Core.RequestOptions): Core.APIPromise { const { account_id } = params; return this._client.get(`/accounts/${account_id}/cloudforce-one/events/countries`, options); } } export type CountryListResponse = Array; export namespace CountryListResponse { export interface CountryListResponseItem { result: Array; success: string; } export namespace CountryListResponseItem { export interface Result { alpha3: string; name: string; } } } export interface CountryListParams { /** * Account ID */ account_id: number; } export declare namespace Countries { export { type CountryListResponse as CountryListResponse, type CountryListParams as CountryListParams }; }