// File generated from our OpenAPI spec declare module 'expresspayments' { namespace ExpressPayments { interface ApplePayDomainCreateParams { domain_name: string; /** * Specifies which fields in the response should be expanded. */ expand?: Array; } interface ApplePayDomainRetrieveParams { /** * Specifies which fields in the response should be expanded. */ expand?: Array; } interface ApplePayDomainListParams extends PaginationParams { domain_name?: string; /** * Specifies which fields in the response should be expanded. */ expand?: Array; } interface ApplePayDomainDeleteParams {} class ApplePayDomainsResource { /** * Create an apple pay domain. */ create( params: ApplePayDomainCreateParams, options?: RequestOptions ): Promise>; /** * Retrieve an apple pay domain. */ retrieve( id: string, params?: ApplePayDomainRetrieveParams, options?: RequestOptions ): Promise>; retrieve( id: string, options?: RequestOptions ): Promise>; /** * List apple pay domains. */ list( params?: ApplePayDomainListParams, options?: RequestOptions ): ApiListPromise; list( options?: RequestOptions ): ApiListPromise; /** * Delete an apple pay domain. */ del( id: string, params?: ApplePayDomainDeleteParams, options?: RequestOptions ): Promise< ExpressPayments.Response >; del( id: string, options?: RequestOptions ): Promise< ExpressPayments.Response >; } } }