interface CustomersClient {
    create: ((config: CustomerCreateRequestBody) => Promise<{
        id: string;
    }>);
    delete: ((config: CustomerDeleteRequestBody) => Promise<{
        id: string;
    }>);
    list: ((options?: CustomerListOptions) => Promise<CustomerListResponseBody>);
    listAsyncGenerator: ((options?: CustomerListOptions) => AsyncGenerator<CustomerListResponseBody, any, any>);
    retrieve: ((config: CustomerRetrieveConfig) => Promise<Customer>);
    update: ((config: CustomerUpdateRequestBody) => Promise<{
        campi: string[];
        id: string;
    }>);
}

Hierarchy

  • BasicClient
    • CustomersClient

Properties

create: ((config: CustomerCreateRequestBody) => Promise<{
    id: string;
}>)
delete: ((config: CustomerDeleteRequestBody) => Promise<{
    id: string;
}>)
list: ((options?: CustomerListOptions) => Promise<CustomerListResponseBody>)
listAsyncGenerator: ((options?: CustomerListOptions) => AsyncGenerator<CustomerListResponseBody, any, any>)
retrieve: ((config: CustomerRetrieveConfig) => Promise<Customer>)
update: ((config: CustomerUpdateRequestBody) => Promise<{
    campi: string[];
    id: string;
}>)