@emilgroup/customer-sdk-node 1.25.1 → 1.26.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +2 -2
- package/models/claim-class.ts +14 -8
- package/models/create-customer-claim-request-dto.ts +9 -9
- package/models/lead-class.ts +6 -0
- package/models/update-customer-claim-request-dto.ts +9 -15
- package/package.json +2 -2
- package/dist/api/authentication-api.d.ts +0 -332
- package/dist/api/authentication-api.js +0 -604
- package/dist/api/claims-api.d.ts +0 -431
- package/dist/api/claims-api.js +0 -670
- package/dist/api/customers-api.d.ts +0 -271
- package/dist/api/customers-api.js +0 -425
- package/dist/api/default-api.d.ts +0 -66
- package/dist/api/default-api.js +0 -200
- package/dist/api/documents-api.d.ts +0 -262
- package/dist/api/documents-api.js +0 -417
- package/dist/api/invites-api.d.ts +0 -249
- package/dist/api/invites-api.js +0 -456
- package/dist/api/invoices-api.d.ts +0 -150
- package/dist/api/invoices-api.js +0 -253
- package/dist/api/leads-api.d.ts +0 -365
- package/dist/api/leads-api.js +0 -571
- package/dist/api/payments-api.d.ts +0 -162
- package/dist/api/payments-api.js +0 -306
- package/dist/api/policies-api.d.ts +0 -578
- package/dist/api/policies-api.js +0 -808
- package/dist/api/products-api.d.ts +0 -215
- package/dist/api/products-api.js +0 -341
- package/dist/api.d.ts +0 -22
- package/dist/api.js +0 -40
- package/dist/base.d.ts +0 -82
- package/dist/base.js +0 -502
- package/dist/common.d.ts +0 -66
- package/dist/common.js +0 -244
- package/dist/configuration.d.ts +0 -98
- package/dist/configuration.js +0 -45
- package/dist/index.d.ts +0 -15
- package/dist/index.js +0 -36
- package/dist/models/account-class.d.ts +0 -169
- package/dist/models/account-class.js +0 -26
- package/dist/models/account-policy-class.d.ts +0 -30
- package/dist/models/account-policy-class.js +0 -15
- package/dist/models/authentication-result-class.d.ts +0 -30
- package/dist/models/authentication-result-class.js +0 -15
- package/dist/models/claim-class.d.ts +0 -156
- package/dist/models/claim-class.js +0 -15
- package/dist/models/complete-braintree-payment-setup-request-dto.d.ts +0 -48
- package/dist/models/complete-braintree-payment-setup-request-dto.js +0 -15
- package/dist/models/complete-payment-setup-psp-request.d.ts +0 -32
- package/dist/models/complete-payment-setup-psp-request.js +0 -15
- package/dist/models/complete-payment-setup-response-class.d.ts +0 -24
- package/dist/models/complete-payment-setup-response-class.js +0 -15
- package/dist/models/complete-stripe-payment-setup-request-dto.d.ts +0 -60
- package/dist/models/complete-stripe-payment-setup-request-dto.js +0 -15
- package/dist/models/create-account-request-dto.d.ts +0 -132
- package/dist/models/create-account-request-dto.js +0 -31
- package/dist/models/create-bank-account-request-dto.d.ts +0 -30
- package/dist/models/create-bank-account-request-dto.js +0 -15
- package/dist/models/create-customer-claim-request-dto.d.ts +0 -114
- package/dist/models/create-customer-claim-request-dto.js +0 -15
- package/dist/models/create-customer-claim-response-class.d.ts +0 -25
- package/dist/models/create-customer-claim-response-class.js +0 -15
- package/dist/models/create-customer-request-dto.d.ts +0 -43
- package/dist/models/create-customer-request-dto.js +0 -15
- package/dist/models/create-customer-response-class.d.ts +0 -25
- package/dist/models/create-customer-response-class.js +0 -15
- package/dist/models/create-lead-request-dto.d.ts +0 -83
- package/dist/models/create-lead-request-dto.js +0 -15
- package/dist/models/create-lead-response-class.d.ts +0 -25
- package/dist/models/create-lead-response-class.js +0 -15
- package/dist/models/create-payment-method-request-dto.d.ts +0 -31
- package/dist/models/create-payment-method-request-dto.js +0 -15
- package/dist/models/create-policy-request-dto.d.ts +0 -56
- package/dist/models/create-policy-request-dto.js +0 -15
- package/dist/models/create-presigned-post-response-class.d.ts +0 -30
- package/dist/models/create-presigned-post-response-class.js +0 -15
- package/dist/models/customer-class.d.ts +0 -73
- package/dist/models/customer-class.js +0 -15
- package/dist/models/customer-document-class.d.ts +0 -99
- package/dist/models/customer-document-class.js +0 -36
- package/dist/models/customer-product-class.d.ts +0 -54
- package/dist/models/customer-product-class.js +0 -15
- package/dist/models/forgot-password-request-dto.d.ts +0 -30
- package/dist/models/forgot-password-request-dto.js +0 -15
- package/dist/models/get-customer-claim-response-class.d.ts +0 -25
- package/dist/models/get-customer-claim-response-class.js +0 -15
- package/dist/models/get-customer-document-download-url-response-class.d.ts +0 -24
- package/dist/models/get-customer-document-download-url-response-class.js +0 -15
- package/dist/models/get-customer-response-class.d.ts +0 -25
- package/dist/models/get-customer-response-class.js +0 -15
- package/dist/models/get-lead-response-class.d.ts +0 -25
- package/dist/models/get-lead-response-class.js +0 -15
- package/dist/models/get-policy-response-class.d.ts +0 -25
- package/dist/models/get-policy-response-class.js +0 -15
- package/dist/models/get-product-response-class.d.ts +0 -25
- package/dist/models/get-product-response-class.js +0 -15
- package/dist/models/grpc-update-lead-request-dto.d.ts +0 -50
- package/dist/models/grpc-update-lead-request-dto.js +0 -15
- package/dist/models/index.d.ts +0 -85
- package/dist/models/index.js +0 -101
- package/dist/models/initiate-auth-request-dto.d.ts +0 -36
- package/dist/models/initiate-auth-request-dto.js +0 -15
- package/dist/models/initiate-auth-response-class.d.ts +0 -43
- package/dist/models/initiate-auth-response-class.js +0 -15
- package/dist/models/initiate-braintree-payment-setup-response-class.d.ts +0 -24
- package/dist/models/initiate-braintree-payment-setup-response-class.js +0 -15
- package/dist/models/initiate-payment-setup-response-class.d.ts +0 -32
- package/dist/models/initiate-payment-setup-response-class.js +0 -15
- package/dist/models/initiate-stripe-payment-setup-response-class.d.ts +0 -30
- package/dist/models/initiate-stripe-payment-setup-response-class.js +0 -15
- package/dist/models/inline-response200.d.ts +0 -54
- package/dist/models/inline-response200.js +0 -15
- package/dist/models/inline-response503.d.ts +0 -54
- package/dist/models/inline-response503.js +0 -15
- package/dist/models/invite-by-customer-request-dto.d.ts +0 -30
- package/dist/models/invite-by-customer-request-dto.js +0 -15
- package/dist/models/invite-by-customer-response-class.d.ts +0 -25
- package/dist/models/invite-by-customer-response-class.js +0 -15
- package/dist/models/invite-by-tenant-request-dto.d.ts +0 -24
- package/dist/models/invite-by-tenant-request-dto.js +0 -15
- package/dist/models/invite-by-tenant-response-class.d.ts +0 -25
- package/dist/models/invite-by-tenant-response-class.js +0 -15
- package/dist/models/invite-class.d.ts +0 -54
- package/dist/models/invite-class.js +0 -15
- package/dist/models/invoice-class.d.ts +0 -148
- package/dist/models/invoice-class.js +0 -28
- package/dist/models/lead-bank-account-class.d.ts +0 -30
- package/dist/models/lead-bank-account-class.js +0 -15
- package/dist/models/lead-class.d.ts +0 -121
- package/dist/models/lead-class.js +0 -15
- package/dist/models/list-customer-claims-response-class.d.ts +0 -31
- package/dist/models/list-customer-claims-response-class.js +0 -15
- package/dist/models/list-documents-response-class.d.ts +0 -31
- package/dist/models/list-documents-response-class.js +0 -15
- package/dist/models/list-invoices-response-class.d.ts +0 -31
- package/dist/models/list-invoices-response-class.js +0 -15
- package/dist/models/list-leads-response-class.d.ts +0 -43
- package/dist/models/list-leads-response-class.js +0 -15
- package/dist/models/list-policies-response-class.d.ts +0 -43
- package/dist/models/list-policies-response-class.js +0 -15
- package/dist/models/list-products-response-class.d.ts +0 -31
- package/dist/models/list-products-response-class.js +0 -15
- package/dist/models/policy-class.d.ts +0 -80
- package/dist/models/policy-class.js +0 -15
- package/dist/models/policy-object-class.d.ts +0 -54
- package/dist/models/policy-object-class.js +0 -15
- package/dist/models/policy-object-dto.d.ts +0 -42
- package/dist/models/policy-object-dto.js +0 -15
- package/dist/models/policy-premium-class.d.ts +0 -43
- package/dist/models/policy-premium-class.js +0 -15
- package/dist/models/policy-premium-item-class.d.ts +0 -36
- package/dist/models/policy-premium-item-class.js +0 -15
- package/dist/models/policy-version-class.d.ts +0 -49
- package/dist/models/policy-version-class.js +0 -15
- package/dist/models/premium-override-dto.d.ts +0 -55
- package/dist/models/premium-override-dto.js +0 -27
- package/dist/models/premium-override-request-class.d.ts +0 -25
- package/dist/models/premium-override-request-class.js +0 -15
- package/dist/models/premium-override-request-dto.d.ts +0 -25
- package/dist/models/premium-override-request-dto.js +0 -15
- package/dist/models/refresh-token-dto.d.ts +0 -30
- package/dist/models/refresh-token-dto.js +0 -15
- package/dist/models/request-policy-update-request-dto.d.ts +0 -43
- package/dist/models/request-policy-update-request-dto.js +0 -15
- package/dist/models/request-policy-update-response-class.d.ts +0 -25
- package/dist/models/request-policy-update-response-class.js +0 -15
- package/dist/models/reset-password-by-customer-request-dto.d.ts +0 -36
- package/dist/models/reset-password-by-customer-request-dto.js +0 -15
- package/dist/models/respond-to-auth-challenge-class.d.ts +0 -43
- package/dist/models/respond-to-auth-challenge-class.js +0 -15
- package/dist/models/respond-to-auth-challenge-request-dto.d.ts +0 -42
- package/dist/models/respond-to-auth-challenge-request-dto.js +0 -15
- package/dist/models/sepa-dto.d.ts +0 -30
- package/dist/models/sepa-dto.js +0 -15
- package/dist/models/shared-customer-policy-object-request-dto.d.ts +0 -36
- package/dist/models/shared-customer-policy-object-request-dto.js +0 -15
- package/dist/models/shared-invoice-item-class.d.ts +0 -129
- package/dist/models/shared-invoice-item-class.js +0 -24
- package/dist/models/shared-invoice-status-class.d.ts +0 -47
- package/dist/models/shared-invoice-status-class.js +0 -20
- package/dist/models/terminate-customer-policy-request-dto.d.ts +0 -24
- package/dist/models/terminate-customer-policy-request-dto.js +0 -15
- package/dist/models/terminate-customer-policy-response-class.d.ts +0 -25
- package/dist/models/terminate-customer-policy-response-class.js +0 -15
- package/dist/models/timeslice-class.d.ts +0 -56
- package/dist/models/timeslice-class.js +0 -15
- package/dist/models/update-account-request-dto.d.ts +0 -113
- package/dist/models/update-account-request-dto.js +0 -25
- package/dist/models/update-customer-claim-request-dto.d.ts +0 -120
- package/dist/models/update-customer-claim-request-dto.js +0 -15
- package/dist/models/update-customer-claim-response-class.d.ts +0 -25
- package/dist/models/update-customer-claim-response-class.js +0 -15
- package/dist/models/update-customer-request-dto.d.ts +0 -31
- package/dist/models/update-customer-request-dto.js +0 -15
- package/dist/models/update-customer-response-class.d.ts +0 -25
- package/dist/models/update-customer-response-class.js +0 -15
- package/dist/models/update-lead-request-dto.d.ts +0 -44
- package/dist/models/update-lead-request-dto.js +0 -15
- package/dist/models/update-lead-response-class.d.ts +0 -25
- package/dist/models/update-lead-response-class.js +0 -15
- package/dist/models/upload-customer-claim-documents-request-dto.d.ts +0 -36
- package/dist/models/upload-customer-claim-documents-request-dto.js +0 -15
- package/dist/models/upload-customer-policy-documents-request-dto.d.ts +0 -47
- package/dist/models/upload-customer-policy-documents-request-dto.js +0 -20
- package/dist/models/uploaded-document-dto.d.ts +0 -24
- package/dist/models/uploaded-document-dto.js +0 -15
- package/dist/models/verify-customer-invite-response-class.d.ts +0 -36
- package/dist/models/verify-customer-invite-response-class.js +0 -15
- package/dist/models/withdraw-customer-policy-response-class.d.ts +0 -25
- package/dist/models/withdraw-customer-policy-response-class.js +0 -15
|
@@ -1,271 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* EMIL CustomerService
|
|
3
|
-
* The EMIL CustomerService API description
|
|
4
|
-
*
|
|
5
|
-
* The version of the OpenAPI document: 1.0
|
|
6
|
-
* Contact: kontakt@emil.de
|
|
7
|
-
*
|
|
8
|
-
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
-
* https://openapi-generator.tech
|
|
10
|
-
* Do not edit the class manually.
|
|
11
|
-
*/
|
|
12
|
-
import { AxiosPromise, AxiosInstance, AxiosRequestConfig } from 'axios';
|
|
13
|
-
import { Configuration } from '../configuration';
|
|
14
|
-
import { RequestArgs, BaseAPI } from '../base';
|
|
15
|
-
import { GetCustomerResponseClass } from '../models';
|
|
16
|
-
import { UpdateCustomerRequestDto } from '../models';
|
|
17
|
-
import { UpdateCustomerResponseClass } from '../models';
|
|
18
|
-
/**
|
|
19
|
-
* CustomersApi - axios parameter creator
|
|
20
|
-
* @export
|
|
21
|
-
*/
|
|
22
|
-
export declare const CustomersApiAxiosParamCreator: (configuration?: Configuration) => {
|
|
23
|
-
/**
|
|
24
|
-
* Get customer details.
|
|
25
|
-
* @summary Get customer details
|
|
26
|
-
* @param {string} customerCode The customer code or \"me\" for the currently logged in customer.
|
|
27
|
-
* @param {string} [expand] Fields to expand response by - [account]
|
|
28
|
-
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
29
|
-
* @param {*} [options] Override http request option.
|
|
30
|
-
* @throws {RequiredError}
|
|
31
|
-
*/
|
|
32
|
-
getCustomer: (customerCode: string, expand?: string, authorization?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
33
|
-
/**
|
|
34
|
-
* Get customer list.
|
|
35
|
-
* @summary Get customers list
|
|
36
|
-
* @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 100. Default: 10.
|
|
37
|
-
* @param {any} [pageToken] A cursor for use in pagination. pageToken is an ID that defines your place in the list. For instance, if you make a list request and receive 100 objects and pageToken=1, your subsequent call can include pageToken=2 in order to fetch the next page of the list.
|
|
38
|
-
* @param {any} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.
|
|
39
|
-
* @param {any} [search] Search the list by any field. For instance, if you want to search by code add code=xxx in order to fetch the result.
|
|
40
|
-
* @param {any} [order] The order parameter determines how the results should be sorted according to a specified field. It functions similarly to an SQL ORDER BY. Sorting can be performed in either ascending (ASC) or descending (DESC) order. Default: ASC.
|
|
41
|
-
* @param {any} [expand] Use this parameter to fetch additional information about the list items. The expand query parameter increases the set of fields that appear in the response in addition to the default ones. Expanding resources can reduce the number of API calls required to accomplish a task. However, use this with parsimony as some expanded fields can drastically increase payload size.
|
|
42
|
-
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
43
|
-
* @param {*} [options] Override http request option.
|
|
44
|
-
* @throws {RequiredError}
|
|
45
|
-
*/
|
|
46
|
-
listCustomers: (pageSize?: any, pageToken?: any, filter?: any, search?: any, order?: any, expand?: any, authorization?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
47
|
-
/**
|
|
48
|
-
* Update customer details like phone, email, names, addresses etc.
|
|
49
|
-
* @summary Update customer details
|
|
50
|
-
* @param {string} customerCode The customer code or \"me\" for the currently logged in customer.
|
|
51
|
-
* @param {UpdateCustomerRequestDto} updateCustomerRequestDto
|
|
52
|
-
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
53
|
-
* @param {*} [options] Override http request option.
|
|
54
|
-
* @throws {RequiredError}
|
|
55
|
-
*/
|
|
56
|
-
updateCustomer: (customerCode: string, updateCustomerRequestDto: UpdateCustomerRequestDto, authorization?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
57
|
-
};
|
|
58
|
-
/**
|
|
59
|
-
* CustomersApi - functional programming interface
|
|
60
|
-
* @export
|
|
61
|
-
*/
|
|
62
|
-
export declare const CustomersApiFp: (configuration?: Configuration) => {
|
|
63
|
-
/**
|
|
64
|
-
* Get customer details.
|
|
65
|
-
* @summary Get customer details
|
|
66
|
-
* @param {string} customerCode The customer code or \"me\" for the currently logged in customer.
|
|
67
|
-
* @param {string} [expand] Fields to expand response by - [account]
|
|
68
|
-
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
69
|
-
* @param {*} [options] Override http request option.
|
|
70
|
-
* @throws {RequiredError}
|
|
71
|
-
*/
|
|
72
|
-
getCustomer(customerCode: string, expand?: string, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetCustomerResponseClass>>;
|
|
73
|
-
/**
|
|
74
|
-
* Get customer list.
|
|
75
|
-
* @summary Get customers list
|
|
76
|
-
* @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 100. Default: 10.
|
|
77
|
-
* @param {any} [pageToken] A cursor for use in pagination. pageToken is an ID that defines your place in the list. For instance, if you make a list request and receive 100 objects and pageToken=1, your subsequent call can include pageToken=2 in order to fetch the next page of the list.
|
|
78
|
-
* @param {any} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.
|
|
79
|
-
* @param {any} [search] Search the list by any field. For instance, if you want to search by code add code=xxx in order to fetch the result.
|
|
80
|
-
* @param {any} [order] The order parameter determines how the results should be sorted according to a specified field. It functions similarly to an SQL ORDER BY. Sorting can be performed in either ascending (ASC) or descending (DESC) order. Default: ASC.
|
|
81
|
-
* @param {any} [expand] Use this parameter to fetch additional information about the list items. The expand query parameter increases the set of fields that appear in the response in addition to the default ones. Expanding resources can reduce the number of API calls required to accomplish a task. However, use this with parsimony as some expanded fields can drastically increase payload size.
|
|
82
|
-
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
83
|
-
* @param {*} [options] Override http request option.
|
|
84
|
-
* @throws {RequiredError}
|
|
85
|
-
*/
|
|
86
|
-
listCustomers(pageSize?: any, pageToken?: any, filter?: any, search?: any, order?: any, expand?: any, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<object>>;
|
|
87
|
-
/**
|
|
88
|
-
* Update customer details like phone, email, names, addresses etc.
|
|
89
|
-
* @summary Update customer details
|
|
90
|
-
* @param {string} customerCode The customer code or \"me\" for the currently logged in customer.
|
|
91
|
-
* @param {UpdateCustomerRequestDto} updateCustomerRequestDto
|
|
92
|
-
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
93
|
-
* @param {*} [options] Override http request option.
|
|
94
|
-
* @throws {RequiredError}
|
|
95
|
-
*/
|
|
96
|
-
updateCustomer(customerCode: string, updateCustomerRequestDto: UpdateCustomerRequestDto, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<UpdateCustomerResponseClass>>;
|
|
97
|
-
};
|
|
98
|
-
/**
|
|
99
|
-
* CustomersApi - factory interface
|
|
100
|
-
* @export
|
|
101
|
-
*/
|
|
102
|
-
export declare const CustomersApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
|
|
103
|
-
/**
|
|
104
|
-
* Get customer details.
|
|
105
|
-
* @summary Get customer details
|
|
106
|
-
* @param {string} customerCode The customer code or \"me\" for the currently logged in customer.
|
|
107
|
-
* @param {string} [expand] Fields to expand response by - [account]
|
|
108
|
-
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
109
|
-
* @param {*} [options] Override http request option.
|
|
110
|
-
* @throws {RequiredError}
|
|
111
|
-
*/
|
|
112
|
-
getCustomer(customerCode: string, expand?: string, authorization?: string, options?: any): AxiosPromise<GetCustomerResponseClass>;
|
|
113
|
-
/**
|
|
114
|
-
* Get customer list.
|
|
115
|
-
* @summary Get customers list
|
|
116
|
-
* @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 100. Default: 10.
|
|
117
|
-
* @param {any} [pageToken] A cursor for use in pagination. pageToken is an ID that defines your place in the list. For instance, if you make a list request and receive 100 objects and pageToken=1, your subsequent call can include pageToken=2 in order to fetch the next page of the list.
|
|
118
|
-
* @param {any} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.
|
|
119
|
-
* @param {any} [search] Search the list by any field. For instance, if you want to search by code add code=xxx in order to fetch the result.
|
|
120
|
-
* @param {any} [order] The order parameter determines how the results should be sorted according to a specified field. It functions similarly to an SQL ORDER BY. Sorting can be performed in either ascending (ASC) or descending (DESC) order. Default: ASC.
|
|
121
|
-
* @param {any} [expand] Use this parameter to fetch additional information about the list items. The expand query parameter increases the set of fields that appear in the response in addition to the default ones. Expanding resources can reduce the number of API calls required to accomplish a task. However, use this with parsimony as some expanded fields can drastically increase payload size.
|
|
122
|
-
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
123
|
-
* @param {*} [options] Override http request option.
|
|
124
|
-
* @throws {RequiredError}
|
|
125
|
-
*/
|
|
126
|
-
listCustomers(pageSize?: any, pageToken?: any, filter?: any, search?: any, order?: any, expand?: any, authorization?: string, options?: any): AxiosPromise<object>;
|
|
127
|
-
/**
|
|
128
|
-
* Update customer details like phone, email, names, addresses etc.
|
|
129
|
-
* @summary Update customer details
|
|
130
|
-
* @param {string} customerCode The customer code or \"me\" for the currently logged in customer.
|
|
131
|
-
* @param {UpdateCustomerRequestDto} updateCustomerRequestDto
|
|
132
|
-
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
133
|
-
* @param {*} [options] Override http request option.
|
|
134
|
-
* @throws {RequiredError}
|
|
135
|
-
*/
|
|
136
|
-
updateCustomer(customerCode: string, updateCustomerRequestDto: UpdateCustomerRequestDto, authorization?: string, options?: any): AxiosPromise<UpdateCustomerResponseClass>;
|
|
137
|
-
};
|
|
138
|
-
/**
|
|
139
|
-
* Request parameters for getCustomer operation in CustomersApi.
|
|
140
|
-
* @export
|
|
141
|
-
* @interface CustomersApiGetCustomerRequest
|
|
142
|
-
*/
|
|
143
|
-
export interface CustomersApiGetCustomerRequest {
|
|
144
|
-
/**
|
|
145
|
-
* The customer code or \"me\" for the currently logged in customer.
|
|
146
|
-
* @type {string}
|
|
147
|
-
* @memberof CustomersApiGetCustomer
|
|
148
|
-
*/
|
|
149
|
-
readonly customerCode: string;
|
|
150
|
-
/**
|
|
151
|
-
* Fields to expand response by - [account]
|
|
152
|
-
* @type {string}
|
|
153
|
-
* @memberof CustomersApiGetCustomer
|
|
154
|
-
*/
|
|
155
|
-
readonly expand?: string;
|
|
156
|
-
/**
|
|
157
|
-
* Bearer Token: provided by the login endpoint under the name accessToken.
|
|
158
|
-
* @type {string}
|
|
159
|
-
* @memberof CustomersApiGetCustomer
|
|
160
|
-
*/
|
|
161
|
-
readonly authorization?: string;
|
|
162
|
-
}
|
|
163
|
-
/**
|
|
164
|
-
* Request parameters for listCustomers operation in CustomersApi.
|
|
165
|
-
* @export
|
|
166
|
-
* @interface CustomersApiListCustomersRequest
|
|
167
|
-
*/
|
|
168
|
-
export interface CustomersApiListCustomersRequest {
|
|
169
|
-
/**
|
|
170
|
-
* A limit on the number of objects to be returned. Limit ranges between 1 and 100. Default: 10.
|
|
171
|
-
* @type {any}
|
|
172
|
-
* @memberof CustomersApiListCustomers
|
|
173
|
-
*/
|
|
174
|
-
readonly pageSize?: any;
|
|
175
|
-
/**
|
|
176
|
-
* A cursor for use in pagination. pageToken is an ID that defines your place in the list. For instance, if you make a list request and receive 100 objects and pageToken=1, your subsequent call can include pageToken=2 in order to fetch the next page of the list.
|
|
177
|
-
* @type {any}
|
|
178
|
-
* @memberof CustomersApiListCustomers
|
|
179
|
-
*/
|
|
180
|
-
readonly pageToken?: any;
|
|
181
|
-
/**
|
|
182
|
-
* Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.
|
|
183
|
-
* @type {any}
|
|
184
|
-
* @memberof CustomersApiListCustomers
|
|
185
|
-
*/
|
|
186
|
-
readonly filter?: any;
|
|
187
|
-
/**
|
|
188
|
-
* Search the list by any field. For instance, if you want to search by code add code=xxx in order to fetch the result.
|
|
189
|
-
* @type {any}
|
|
190
|
-
* @memberof CustomersApiListCustomers
|
|
191
|
-
*/
|
|
192
|
-
readonly search?: any;
|
|
193
|
-
/**
|
|
194
|
-
* The order parameter determines how the results should be sorted according to a specified field. It functions similarly to an SQL ORDER BY. Sorting can be performed in either ascending (ASC) or descending (DESC) order. Default: ASC.
|
|
195
|
-
* @type {any}
|
|
196
|
-
* @memberof CustomersApiListCustomers
|
|
197
|
-
*/
|
|
198
|
-
readonly order?: any;
|
|
199
|
-
/**
|
|
200
|
-
* Use this parameter to fetch additional information about the list items. The expand query parameter increases the set of fields that appear in the response in addition to the default ones. Expanding resources can reduce the number of API calls required to accomplish a task. However, use this with parsimony as some expanded fields can drastically increase payload size.
|
|
201
|
-
* @type {any}
|
|
202
|
-
* @memberof CustomersApiListCustomers
|
|
203
|
-
*/
|
|
204
|
-
readonly expand?: any;
|
|
205
|
-
/**
|
|
206
|
-
* Bearer Token: provided by the login endpoint under the name accessToken.
|
|
207
|
-
* @type {string}
|
|
208
|
-
* @memberof CustomersApiListCustomers
|
|
209
|
-
*/
|
|
210
|
-
readonly authorization?: string;
|
|
211
|
-
}
|
|
212
|
-
/**
|
|
213
|
-
* Request parameters for updateCustomer operation in CustomersApi.
|
|
214
|
-
* @export
|
|
215
|
-
* @interface CustomersApiUpdateCustomerRequest
|
|
216
|
-
*/
|
|
217
|
-
export interface CustomersApiUpdateCustomerRequest {
|
|
218
|
-
/**
|
|
219
|
-
* The customer code or \"me\" for the currently logged in customer.
|
|
220
|
-
* @type {string}
|
|
221
|
-
* @memberof CustomersApiUpdateCustomer
|
|
222
|
-
*/
|
|
223
|
-
readonly customerCode: string;
|
|
224
|
-
/**
|
|
225
|
-
*
|
|
226
|
-
* @type {UpdateCustomerRequestDto}
|
|
227
|
-
* @memberof CustomersApiUpdateCustomer
|
|
228
|
-
*/
|
|
229
|
-
readonly updateCustomerRequestDto: UpdateCustomerRequestDto;
|
|
230
|
-
/**
|
|
231
|
-
* Bearer Token: provided by the login endpoint under the name accessToken.
|
|
232
|
-
* @type {string}
|
|
233
|
-
* @memberof CustomersApiUpdateCustomer
|
|
234
|
-
*/
|
|
235
|
-
readonly authorization?: string;
|
|
236
|
-
}
|
|
237
|
-
/**
|
|
238
|
-
* CustomersApi - object-oriented interface
|
|
239
|
-
* @export
|
|
240
|
-
* @class CustomersApi
|
|
241
|
-
* @extends {BaseAPI}
|
|
242
|
-
*/
|
|
243
|
-
export declare class CustomersApi extends BaseAPI {
|
|
244
|
-
/**
|
|
245
|
-
* Get customer details.
|
|
246
|
-
* @summary Get customer details
|
|
247
|
-
* @param {CustomersApiGetCustomerRequest} requestParameters Request parameters.
|
|
248
|
-
* @param {*} [options] Override http request option.
|
|
249
|
-
* @throws {RequiredError}
|
|
250
|
-
* @memberof CustomersApi
|
|
251
|
-
*/
|
|
252
|
-
getCustomer(requestParameters: CustomersApiGetCustomerRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<GetCustomerResponseClass, any>>;
|
|
253
|
-
/**
|
|
254
|
-
* Get customer list.
|
|
255
|
-
* @summary Get customers list
|
|
256
|
-
* @param {CustomersApiListCustomersRequest} requestParameters Request parameters.
|
|
257
|
-
* @param {*} [options] Override http request option.
|
|
258
|
-
* @throws {RequiredError}
|
|
259
|
-
* @memberof CustomersApi
|
|
260
|
-
*/
|
|
261
|
-
listCustomers(requestParameters?: CustomersApiListCustomersRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<object, any>>;
|
|
262
|
-
/**
|
|
263
|
-
* Update customer details like phone, email, names, addresses etc.
|
|
264
|
-
* @summary Update customer details
|
|
265
|
-
* @param {CustomersApiUpdateCustomerRequest} requestParameters Request parameters.
|
|
266
|
-
* @param {*} [options] Override http request option.
|
|
267
|
-
* @throws {RequiredError}
|
|
268
|
-
* @memberof CustomersApi
|
|
269
|
-
*/
|
|
270
|
-
updateCustomer(requestParameters: CustomersApiUpdateCustomerRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<UpdateCustomerResponseClass, any>>;
|
|
271
|
-
}
|