@emilgroup/customer-sdk-node 1.63.1-beta.0 → 1.63.1-beta.1
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/.openapi-generator/FILES +5 -0
- package/README.md +2 -2
- package/api/customer-controller-rest-api.ts +270 -0
- package/api/payments-api.ts +270 -0
- package/dist/api/customer-controller-rest-api.d.ts +158 -0
- package/dist/api/customer-controller-rest-api.js +195 -0
- package/dist/api/payments-api.d.ts +158 -0
- package/dist/api/payments-api.js +195 -0
- package/dist/models/attach-customer-payment-method-request-dto.d.ts +24 -0
- package/dist/models/attach-customer-payment-method-request-dto.js +15 -0
- package/dist/models/attach-customer-payment-method-response-class.d.ts +25 -0
- package/dist/models/attach-customer-payment-method-response-class.js +15 -0
- package/dist/models/create-account-request-dto.d.ts +8 -4
- package/dist/models/create-customer-claim-request-dto.d.ts +4 -2
- package/dist/models/create-lead-request-dto.d.ts +4 -2
- package/dist/models/customer-payment-method-class.d.ts +54 -0
- package/dist/models/customer-payment-method-class.js +15 -0
- package/dist/models/customer-policy-payment-method-class.d.ts +49 -0
- package/dist/models/customer-policy-payment-method-class.js +15 -0
- package/dist/models/index.d.ts +5 -0
- package/dist/models/index.js +5 -0
- package/dist/models/initiate-auth-request-dto.d.ts +4 -2
- package/dist/models/list-customer-payment-methods-response-class.d.ts +31 -0
- package/dist/models/list-customer-payment-methods-response-class.js +15 -0
- package/dist/models/policy-object-dto.d.ts +4 -2
- package/dist/models/respond-to-auth-challenge-request-dto.d.ts +4 -2
- package/dist/models/shared-customer-policy-object-request-dto.d.ts +4 -2
- package/dist/models/update-account-request-dto.d.ts +8 -4
- package/dist/models/update-customer-claim-request-dto.d.ts +4 -2
- package/models/attach-customer-payment-method-request-dto.ts +30 -0
- package/models/attach-customer-payment-method-response-class.ts +31 -0
- package/models/create-account-request-dto.ts +4 -4
- package/models/create-customer-claim-request-dto.ts +2 -2
- package/models/create-lead-request-dto.ts +2 -2
- package/models/customer-payment-method-class.ts +60 -0
- package/models/customer-policy-payment-method-class.ts +55 -0
- package/models/index.ts +5 -0
- package/models/initiate-auth-request-dto.ts +2 -2
- package/models/list-customer-payment-methods-response-class.ts +37 -0
- package/models/policy-object-dto.ts +2 -2
- package/models/respond-to-auth-challenge-request-dto.ts +2 -2
- package/models/shared-customer-policy-object-request-dto.ts +2 -2
- package/models/update-account-request-dto.ts +4 -4
- package/models/update-customer-claim-request-dto.ts +2 -2
- package/package.json +1 -1
package/api/payments-api.ts
CHANGED
|
@@ -21,6 +21,10 @@ import { DUMMY_BASE_URL, assertParamExists, setApiKeyToObject, setBasicAuthToObj
|
|
|
21
21
|
// @ts-ignore
|
|
22
22
|
import { BASE_PATH, COLLECTION_FORMATS, RequestArgs, BaseAPI, RequiredError } from '../base';
|
|
23
23
|
// @ts-ignore
|
|
24
|
+
import { AttachCustomerPaymentMethodRequestDto } from '../models';
|
|
25
|
+
// @ts-ignore
|
|
26
|
+
import { AttachCustomerPaymentMethodResponseClass } from '../models';
|
|
27
|
+
// @ts-ignore
|
|
24
28
|
import { CompletePaymentSetupPspRequest } from '../models';
|
|
25
29
|
// @ts-ignore
|
|
26
30
|
import { CompletePaymentSetupResponseClass } from '../models';
|
|
@@ -28,6 +32,8 @@ import { CompletePaymentSetupResponseClass } from '../models';
|
|
|
28
32
|
import { InitiatePaymentSetupRequestDto } from '../models';
|
|
29
33
|
// @ts-ignore
|
|
30
34
|
import { InitiatePaymentSetupResponseClass } from '../models';
|
|
35
|
+
// @ts-ignore
|
|
36
|
+
import { ListCustomerPaymentMethodsResponseClass } from '../models';
|
|
31
37
|
// URLSearchParams not necessarily used
|
|
32
38
|
// @ts-ignore
|
|
33
39
|
import { URL, URLSearchParams } from 'url';
|
|
@@ -38,6 +44,57 @@ const FormData = require('form-data');
|
|
|
38
44
|
*/
|
|
39
45
|
export const PaymentsApiAxiosParamCreator = function (configuration?: Configuration) {
|
|
40
46
|
return {
|
|
47
|
+
/**
|
|
48
|
+
* Use one of the customer\'s payment methods for future payments of the given policy.
|
|
49
|
+
* @summary Attach a payment method to a policy
|
|
50
|
+
* @param {string} customerCode The customer code or \"me\" for the currently logged in customer.
|
|
51
|
+
* @param {string} paymentMethodCode Code of one of the customer\'s payment methods.
|
|
52
|
+
* @param {AttachCustomerPaymentMethodRequestDto} attachCustomerPaymentMethodRequestDto
|
|
53
|
+
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
54
|
+
* @param {*} [options] Override http request option.
|
|
55
|
+
* @throws {RequiredError}
|
|
56
|
+
*/
|
|
57
|
+
attachPaymentMethod: async (customerCode: string, paymentMethodCode: string, attachCustomerPaymentMethodRequestDto: AttachCustomerPaymentMethodRequestDto, authorization?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
58
|
+
// verify required parameter 'customerCode' is not null or undefined
|
|
59
|
+
assertParamExists('attachPaymentMethod', 'customerCode', customerCode)
|
|
60
|
+
// verify required parameter 'paymentMethodCode' is not null or undefined
|
|
61
|
+
assertParamExists('attachPaymentMethod', 'paymentMethodCode', paymentMethodCode)
|
|
62
|
+
// verify required parameter 'attachCustomerPaymentMethodRequestDto' is not null or undefined
|
|
63
|
+
assertParamExists('attachPaymentMethod', 'attachCustomerPaymentMethodRequestDto', attachCustomerPaymentMethodRequestDto)
|
|
64
|
+
const localVarPath = `/v1/customers/{customerCode}/payment-methods/{paymentMethodCode}/attach`
|
|
65
|
+
.replace(`{${"customerCode"}}`, encodeURIComponent(String(customerCode)))
|
|
66
|
+
.replace(`{${"paymentMethodCode"}}`, encodeURIComponent(String(paymentMethodCode)));
|
|
67
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
68
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
69
|
+
let baseOptions;
|
|
70
|
+
let baseAccessToken;
|
|
71
|
+
if (configuration) {
|
|
72
|
+
baseOptions = configuration.baseOptions;
|
|
73
|
+
baseAccessToken = configuration.accessToken;
|
|
74
|
+
}
|
|
75
|
+
|
|
76
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
|
|
77
|
+
const localVarHeaderParameter = {} as any;
|
|
78
|
+
const localVarQueryParameter = {} as any;
|
|
79
|
+
|
|
80
|
+
if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
|
|
81
|
+
localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
|
|
82
|
+
}
|
|
83
|
+
|
|
84
|
+
|
|
85
|
+
|
|
86
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
87
|
+
|
|
88
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
89
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
90
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
91
|
+
localVarRequestOptions.data = serializeDataIfNeeded(attachCustomerPaymentMethodRequestDto, localVarRequestOptions, configuration)
|
|
92
|
+
|
|
93
|
+
return {
|
|
94
|
+
url: toPathString(localVarUrlObj),
|
|
95
|
+
options: localVarRequestOptions,
|
|
96
|
+
};
|
|
97
|
+
},
|
|
41
98
|
/**
|
|
42
99
|
* Request to complete a payment change by customer.
|
|
43
100
|
* @summary Request payment setup complete
|
|
@@ -127,6 +184,62 @@ export const PaymentsApiAxiosParamCreator = function (configuration?: Configurat
|
|
|
127
184
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
128
185
|
localVarRequestOptions.data = serializeDataIfNeeded(initiatePaymentSetupRequestDto, localVarRequestOptions, configuration)
|
|
129
186
|
|
|
187
|
+
return {
|
|
188
|
+
url: toPathString(localVarUrlObj),
|
|
189
|
+
options: localVarRequestOptions,
|
|
190
|
+
};
|
|
191
|
+
},
|
|
192
|
+
/**
|
|
193
|
+
* List the payment methods on the customer\'s account, for example to choose one to attach to policies. IBANs are masked to their last four digits.
|
|
194
|
+
* @summary List payment methods of a customer
|
|
195
|
+
* @param {string} customerCode The customer code or \"me\" for the currently logged in customer.
|
|
196
|
+
* @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
197
|
+
* @param {string} [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.
|
|
198
|
+
* @param {string} [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.
|
|
199
|
+
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
200
|
+
* @param {*} [options] Override http request option.
|
|
201
|
+
* @throws {RequiredError}
|
|
202
|
+
*/
|
|
203
|
+
listPaymentMethods: async (customerCode: string, pageSize?: number, pageToken?: string, order?: string, authorization?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
204
|
+
// verify required parameter 'customerCode' is not null or undefined
|
|
205
|
+
assertParamExists('listPaymentMethods', 'customerCode', customerCode)
|
|
206
|
+
const localVarPath = `/v1/customers/{customerCode}/payment-methods`
|
|
207
|
+
.replace(`{${"customerCode"}}`, encodeURIComponent(String(customerCode)));
|
|
208
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
209
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
210
|
+
let baseOptions;
|
|
211
|
+
let baseAccessToken;
|
|
212
|
+
if (configuration) {
|
|
213
|
+
baseOptions = configuration.baseOptions;
|
|
214
|
+
baseAccessToken = configuration.accessToken;
|
|
215
|
+
}
|
|
216
|
+
|
|
217
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
218
|
+
const localVarHeaderParameter = {} as any;
|
|
219
|
+
const localVarQueryParameter = {} as any;
|
|
220
|
+
|
|
221
|
+
if (pageSize !== undefined) {
|
|
222
|
+
localVarQueryParameter['pageSize'] = pageSize;
|
|
223
|
+
}
|
|
224
|
+
|
|
225
|
+
if (pageToken !== undefined) {
|
|
226
|
+
localVarQueryParameter['pageToken'] = pageToken;
|
|
227
|
+
}
|
|
228
|
+
|
|
229
|
+
if (order !== undefined) {
|
|
230
|
+
localVarQueryParameter['order'] = order;
|
|
231
|
+
}
|
|
232
|
+
|
|
233
|
+
if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
|
|
234
|
+
localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
|
|
235
|
+
}
|
|
236
|
+
|
|
237
|
+
|
|
238
|
+
|
|
239
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
240
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
241
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
242
|
+
|
|
130
243
|
return {
|
|
131
244
|
url: toPathString(localVarUrlObj),
|
|
132
245
|
options: localVarRequestOptions,
|
|
@@ -142,6 +255,20 @@ export const PaymentsApiAxiosParamCreator = function (configuration?: Configurat
|
|
|
142
255
|
export const PaymentsApiFp = function(configuration?: Configuration) {
|
|
143
256
|
const localVarAxiosParamCreator = PaymentsApiAxiosParamCreator(configuration)
|
|
144
257
|
return {
|
|
258
|
+
/**
|
|
259
|
+
* Use one of the customer\'s payment methods for future payments of the given policy.
|
|
260
|
+
* @summary Attach a payment method to a policy
|
|
261
|
+
* @param {string} customerCode The customer code or \"me\" for the currently logged in customer.
|
|
262
|
+
* @param {string} paymentMethodCode Code of one of the customer\'s payment methods.
|
|
263
|
+
* @param {AttachCustomerPaymentMethodRequestDto} attachCustomerPaymentMethodRequestDto
|
|
264
|
+
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
265
|
+
* @param {*} [options] Override http request option.
|
|
266
|
+
* @throws {RequiredError}
|
|
267
|
+
*/
|
|
268
|
+
async attachPaymentMethod(customerCode: string, paymentMethodCode: string, attachCustomerPaymentMethodRequestDto: AttachCustomerPaymentMethodRequestDto, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<AttachCustomerPaymentMethodResponseClass>> {
|
|
269
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.attachPaymentMethod(customerCode, paymentMethodCode, attachCustomerPaymentMethodRequestDto, authorization, options);
|
|
270
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
271
|
+
},
|
|
145
272
|
/**
|
|
146
273
|
* Request to complete a payment change by customer.
|
|
147
274
|
* @summary Request payment setup complete
|
|
@@ -168,6 +295,21 @@ export const PaymentsApiFp = function(configuration?: Configuration) {
|
|
|
168
295
|
const localVarAxiosArgs = await localVarAxiosParamCreator.initiatePaymentSetup(customerCode, initiatePaymentSetupRequestDto, authorization, options);
|
|
169
296
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
170
297
|
},
|
|
298
|
+
/**
|
|
299
|
+
* List the payment methods on the customer\'s account, for example to choose one to attach to policies. IBANs are masked to their last four digits.
|
|
300
|
+
* @summary List payment methods of a customer
|
|
301
|
+
* @param {string} customerCode The customer code or \"me\" for the currently logged in customer.
|
|
302
|
+
* @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
303
|
+
* @param {string} [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.
|
|
304
|
+
* @param {string} [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.
|
|
305
|
+
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
306
|
+
* @param {*} [options] Override http request option.
|
|
307
|
+
* @throws {RequiredError}
|
|
308
|
+
*/
|
|
309
|
+
async listPaymentMethods(customerCode: string, pageSize?: number, pageToken?: string, order?: string, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ListCustomerPaymentMethodsResponseClass>> {
|
|
310
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.listPaymentMethods(customerCode, pageSize, pageToken, order, authorization, options);
|
|
311
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
312
|
+
},
|
|
171
313
|
}
|
|
172
314
|
};
|
|
173
315
|
|
|
@@ -178,6 +320,19 @@ export const PaymentsApiFp = function(configuration?: Configuration) {
|
|
|
178
320
|
export const PaymentsApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) {
|
|
179
321
|
const localVarFp = PaymentsApiFp(configuration)
|
|
180
322
|
return {
|
|
323
|
+
/**
|
|
324
|
+
* Use one of the customer\'s payment methods for future payments of the given policy.
|
|
325
|
+
* @summary Attach a payment method to a policy
|
|
326
|
+
* @param {string} customerCode The customer code or \"me\" for the currently logged in customer.
|
|
327
|
+
* @param {string} paymentMethodCode Code of one of the customer\'s payment methods.
|
|
328
|
+
* @param {AttachCustomerPaymentMethodRequestDto} attachCustomerPaymentMethodRequestDto
|
|
329
|
+
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
330
|
+
* @param {*} [options] Override http request option.
|
|
331
|
+
* @throws {RequiredError}
|
|
332
|
+
*/
|
|
333
|
+
attachPaymentMethod(customerCode: string, paymentMethodCode: string, attachCustomerPaymentMethodRequestDto: AttachCustomerPaymentMethodRequestDto, authorization?: string, options?: any): AxiosPromise<AttachCustomerPaymentMethodResponseClass> {
|
|
334
|
+
return localVarFp.attachPaymentMethod(customerCode, paymentMethodCode, attachCustomerPaymentMethodRequestDto, authorization, options).then((request) => request(axios, basePath));
|
|
335
|
+
},
|
|
181
336
|
/**
|
|
182
337
|
* Request to complete a payment change by customer.
|
|
183
338
|
* @summary Request payment setup complete
|
|
@@ -202,9 +357,58 @@ export const PaymentsApiFactory = function (configuration?: Configuration, baseP
|
|
|
202
357
|
initiatePaymentSetup(customerCode: string, initiatePaymentSetupRequestDto: InitiatePaymentSetupRequestDto, authorization?: string, options?: any): AxiosPromise<InitiatePaymentSetupResponseClass> {
|
|
203
358
|
return localVarFp.initiatePaymentSetup(customerCode, initiatePaymentSetupRequestDto, authorization, options).then((request) => request(axios, basePath));
|
|
204
359
|
},
|
|
360
|
+
/**
|
|
361
|
+
* List the payment methods on the customer\'s account, for example to choose one to attach to policies. IBANs are masked to their last four digits.
|
|
362
|
+
* @summary List payment methods of a customer
|
|
363
|
+
* @param {string} customerCode The customer code or \"me\" for the currently logged in customer.
|
|
364
|
+
* @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
365
|
+
* @param {string} [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.
|
|
366
|
+
* @param {string} [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.
|
|
367
|
+
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
368
|
+
* @param {*} [options] Override http request option.
|
|
369
|
+
* @throws {RequiredError}
|
|
370
|
+
*/
|
|
371
|
+
listPaymentMethods(customerCode: string, pageSize?: number, pageToken?: string, order?: string, authorization?: string, options?: any): AxiosPromise<ListCustomerPaymentMethodsResponseClass> {
|
|
372
|
+
return localVarFp.listPaymentMethods(customerCode, pageSize, pageToken, order, authorization, options).then((request) => request(axios, basePath));
|
|
373
|
+
},
|
|
205
374
|
};
|
|
206
375
|
};
|
|
207
376
|
|
|
377
|
+
/**
|
|
378
|
+
* Request parameters for attachPaymentMethod operation in PaymentsApi.
|
|
379
|
+
* @export
|
|
380
|
+
* @interface PaymentsApiAttachPaymentMethodRequest
|
|
381
|
+
*/
|
|
382
|
+
export interface PaymentsApiAttachPaymentMethodRequest {
|
|
383
|
+
/**
|
|
384
|
+
* The customer code or \"me\" for the currently logged in customer.
|
|
385
|
+
* @type {string}
|
|
386
|
+
* @memberof PaymentsApiAttachPaymentMethod
|
|
387
|
+
*/
|
|
388
|
+
readonly customerCode: string
|
|
389
|
+
|
|
390
|
+
/**
|
|
391
|
+
* Code of one of the customer\'s payment methods.
|
|
392
|
+
* @type {string}
|
|
393
|
+
* @memberof PaymentsApiAttachPaymentMethod
|
|
394
|
+
*/
|
|
395
|
+
readonly paymentMethodCode: string
|
|
396
|
+
|
|
397
|
+
/**
|
|
398
|
+
*
|
|
399
|
+
* @type {AttachCustomerPaymentMethodRequestDto}
|
|
400
|
+
* @memberof PaymentsApiAttachPaymentMethod
|
|
401
|
+
*/
|
|
402
|
+
readonly attachCustomerPaymentMethodRequestDto: AttachCustomerPaymentMethodRequestDto
|
|
403
|
+
|
|
404
|
+
/**
|
|
405
|
+
* Bearer Token: provided by the login endpoint under the name accessToken.
|
|
406
|
+
* @type {string}
|
|
407
|
+
* @memberof PaymentsApiAttachPaymentMethod
|
|
408
|
+
*/
|
|
409
|
+
readonly authorization?: string
|
|
410
|
+
}
|
|
411
|
+
|
|
208
412
|
/**
|
|
209
413
|
* Request parameters for completePaymentSetup operation in PaymentsApi.
|
|
210
414
|
* @export
|
|
@@ -261,6 +465,48 @@ export interface PaymentsApiInitiatePaymentSetupRequest {
|
|
|
261
465
|
readonly authorization?: string
|
|
262
466
|
}
|
|
263
467
|
|
|
468
|
+
/**
|
|
469
|
+
* Request parameters for listPaymentMethods operation in PaymentsApi.
|
|
470
|
+
* @export
|
|
471
|
+
* @interface PaymentsApiListPaymentMethodsRequest
|
|
472
|
+
*/
|
|
473
|
+
export interface PaymentsApiListPaymentMethodsRequest {
|
|
474
|
+
/**
|
|
475
|
+
* The customer code or \"me\" for the currently logged in customer.
|
|
476
|
+
* @type {string}
|
|
477
|
+
* @memberof PaymentsApiListPaymentMethods
|
|
478
|
+
*/
|
|
479
|
+
readonly customerCode: string
|
|
480
|
+
|
|
481
|
+
/**
|
|
482
|
+
* A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
483
|
+
* @type {number}
|
|
484
|
+
* @memberof PaymentsApiListPaymentMethods
|
|
485
|
+
*/
|
|
486
|
+
readonly pageSize?: number
|
|
487
|
+
|
|
488
|
+
/**
|
|
489
|
+
* 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.
|
|
490
|
+
* @type {string}
|
|
491
|
+
* @memberof PaymentsApiListPaymentMethods
|
|
492
|
+
*/
|
|
493
|
+
readonly pageToken?: string
|
|
494
|
+
|
|
495
|
+
/**
|
|
496
|
+
* 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.
|
|
497
|
+
* @type {string}
|
|
498
|
+
* @memberof PaymentsApiListPaymentMethods
|
|
499
|
+
*/
|
|
500
|
+
readonly order?: string
|
|
501
|
+
|
|
502
|
+
/**
|
|
503
|
+
* Bearer Token: provided by the login endpoint under the name accessToken.
|
|
504
|
+
* @type {string}
|
|
505
|
+
* @memberof PaymentsApiListPaymentMethods
|
|
506
|
+
*/
|
|
507
|
+
readonly authorization?: string
|
|
508
|
+
}
|
|
509
|
+
|
|
264
510
|
/**
|
|
265
511
|
* PaymentsApi - object-oriented interface
|
|
266
512
|
* @export
|
|
@@ -268,6 +514,18 @@ export interface PaymentsApiInitiatePaymentSetupRequest {
|
|
|
268
514
|
* @extends {BaseAPI}
|
|
269
515
|
*/
|
|
270
516
|
export class PaymentsApi extends BaseAPI {
|
|
517
|
+
/**
|
|
518
|
+
* Use one of the customer\'s payment methods for future payments of the given policy.
|
|
519
|
+
* @summary Attach a payment method to a policy
|
|
520
|
+
* @param {PaymentsApiAttachPaymentMethodRequest} requestParameters Request parameters.
|
|
521
|
+
* @param {*} [options] Override http request option.
|
|
522
|
+
* @throws {RequiredError}
|
|
523
|
+
* @memberof PaymentsApi
|
|
524
|
+
*/
|
|
525
|
+
public attachPaymentMethod(requestParameters: PaymentsApiAttachPaymentMethodRequest, options?: AxiosRequestConfig) {
|
|
526
|
+
return PaymentsApiFp(this.configuration).attachPaymentMethod(requestParameters.customerCode, requestParameters.paymentMethodCode, requestParameters.attachCustomerPaymentMethodRequestDto, requestParameters.authorization, options).then((request) => request(this.axios, this.basePath));
|
|
527
|
+
}
|
|
528
|
+
|
|
271
529
|
/**
|
|
272
530
|
* Request to complete a payment change by customer.
|
|
273
531
|
* @summary Request payment setup complete
|
|
@@ -291,4 +549,16 @@ export class PaymentsApi extends BaseAPI {
|
|
|
291
549
|
public initiatePaymentSetup(requestParameters: PaymentsApiInitiatePaymentSetupRequest, options?: AxiosRequestConfig) {
|
|
292
550
|
return PaymentsApiFp(this.configuration).initiatePaymentSetup(requestParameters.customerCode, requestParameters.initiatePaymentSetupRequestDto, requestParameters.authorization, options).then((request) => request(this.axios, this.basePath));
|
|
293
551
|
}
|
|
552
|
+
|
|
553
|
+
/**
|
|
554
|
+
* List the payment methods on the customer\'s account, for example to choose one to attach to policies. IBANs are masked to their last four digits.
|
|
555
|
+
* @summary List payment methods of a customer
|
|
556
|
+
* @param {PaymentsApiListPaymentMethodsRequest} requestParameters Request parameters.
|
|
557
|
+
* @param {*} [options] Override http request option.
|
|
558
|
+
* @throws {RequiredError}
|
|
559
|
+
* @memberof PaymentsApi
|
|
560
|
+
*/
|
|
561
|
+
public listPaymentMethods(requestParameters: PaymentsApiListPaymentMethodsRequest, options?: AxiosRequestConfig) {
|
|
562
|
+
return PaymentsApiFp(this.configuration).listPaymentMethods(requestParameters.customerCode, requestParameters.pageSize, requestParameters.pageToken, requestParameters.order, requestParameters.authorization, options).then((request) => request(this.axios, this.basePath));
|
|
563
|
+
}
|
|
294
564
|
}
|
|
@@ -12,6 +12,8 @@
|
|
|
12
12
|
import { AxiosPromise, AxiosInstance, AxiosRequestConfig } from 'axios';
|
|
13
13
|
import { Configuration } from '../configuration';
|
|
14
14
|
import { RequestArgs, BaseAPI } from '../base';
|
|
15
|
+
import { AttachCustomerPaymentMethodRequestDto } from '../models';
|
|
16
|
+
import { AttachCustomerPaymentMethodResponseClass } from '../models';
|
|
15
17
|
import { ChangeCustomerEmailRequestDto } from '../models';
|
|
16
18
|
import { ChangePasswordRequestDto } from '../models';
|
|
17
19
|
import { ChangePasswordResponseClass } from '../models';
|
|
@@ -32,6 +34,7 @@ import { InviteByCustomerRequestDto } from '../models';
|
|
|
32
34
|
import { InviteByCustomerResponseClass } from '../models';
|
|
33
35
|
import { InviteByTenantRequestDto } from '../models';
|
|
34
36
|
import { InviteByTenantResponseClass } from '../models';
|
|
37
|
+
import { ListCustomerPaymentMethodsResponseClass } from '../models';
|
|
35
38
|
import { ListDocumentsResponseClass } from '../models';
|
|
36
39
|
import { ListInvoicesResponseClass } from '../models';
|
|
37
40
|
import { RefreshTokenDto } from '../models';
|
|
@@ -52,6 +55,17 @@ import { VerifyResetPasswordTokenResponseClass } from '../models';
|
|
|
52
55
|
* @export
|
|
53
56
|
*/
|
|
54
57
|
export declare const CustomerControllerRestApiAxiosParamCreator: (configuration?: Configuration) => {
|
|
58
|
+
/**
|
|
59
|
+
* Use one of the customer\'s payment methods for future payments of the given policy.
|
|
60
|
+
* @summary Attach a payment method to a policy
|
|
61
|
+
* @param {string} customerCode The customer code or \"me\" for the currently logged in customer.
|
|
62
|
+
* @param {string} paymentMethodCode Code of one of the customer\'s payment methods.
|
|
63
|
+
* @param {AttachCustomerPaymentMethodRequestDto} attachCustomerPaymentMethodRequestDto
|
|
64
|
+
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
65
|
+
* @param {*} [options] Override http request option.
|
|
66
|
+
* @throws {RequiredError}
|
|
67
|
+
*/
|
|
68
|
+
attachPaymentMethod: (customerCode: string, paymentMethodCode: string, attachCustomerPaymentMethodRequestDto: AttachCustomerPaymentMethodRequestDto, authorization?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
55
69
|
/**
|
|
56
70
|
* Change customer\'s email using the token provided by the request email change endpoint.
|
|
57
71
|
* @summary Change customer email
|
|
@@ -201,6 +215,18 @@ export declare const CustomerControllerRestApiAxiosParamCreator: (configuration?
|
|
|
201
215
|
* @throws {RequiredError}
|
|
202
216
|
*/
|
|
203
217
|
listInvoices: (customerCode: string, pageSize?: number, pageToken?: string, filter?: string, search?: string, order?: string, expand?: string, filters?: string, authorization?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
218
|
+
/**
|
|
219
|
+
* List the payment methods on the customer\'s account, for example to choose one to attach to policies. IBANs are masked to their last four digits.
|
|
220
|
+
* @summary List payment methods of a customer
|
|
221
|
+
* @param {string} customerCode The customer code or \"me\" for the currently logged in customer.
|
|
222
|
+
* @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
223
|
+
* @param {string} [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.
|
|
224
|
+
* @param {string} [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.
|
|
225
|
+
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
226
|
+
* @param {*} [options] Override http request option.
|
|
227
|
+
* @throws {RequiredError}
|
|
228
|
+
*/
|
|
229
|
+
listPaymentMethods: (customerCode: string, pageSize?: number, pageToken?: string, order?: string, authorization?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
204
230
|
/**
|
|
205
231
|
* Get new access token, new refresh token.
|
|
206
232
|
* @summary Refresh token by customer
|
|
@@ -286,6 +312,17 @@ export declare const CustomerControllerRestApiAxiosParamCreator: (configuration?
|
|
|
286
312
|
* @export
|
|
287
313
|
*/
|
|
288
314
|
export declare const CustomerControllerRestApiFp: (configuration?: Configuration) => {
|
|
315
|
+
/**
|
|
316
|
+
* Use one of the customer\'s payment methods for future payments of the given policy.
|
|
317
|
+
* @summary Attach a payment method to a policy
|
|
318
|
+
* @param {string} customerCode The customer code or \"me\" for the currently logged in customer.
|
|
319
|
+
* @param {string} paymentMethodCode Code of one of the customer\'s payment methods.
|
|
320
|
+
* @param {AttachCustomerPaymentMethodRequestDto} attachCustomerPaymentMethodRequestDto
|
|
321
|
+
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
322
|
+
* @param {*} [options] Override http request option.
|
|
323
|
+
* @throws {RequiredError}
|
|
324
|
+
*/
|
|
325
|
+
attachPaymentMethod(customerCode: string, paymentMethodCode: string, attachCustomerPaymentMethodRequestDto: AttachCustomerPaymentMethodRequestDto, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<AttachCustomerPaymentMethodResponseClass>>;
|
|
289
326
|
/**
|
|
290
327
|
* Change customer\'s email using the token provided by the request email change endpoint.
|
|
291
328
|
* @summary Change customer email
|
|
@@ -435,6 +472,18 @@ export declare const CustomerControllerRestApiFp: (configuration?: Configuration
|
|
|
435
472
|
* @throws {RequiredError}
|
|
436
473
|
*/
|
|
437
474
|
listInvoices(customerCode: string, pageSize?: number, pageToken?: string, filter?: string, search?: string, order?: string, expand?: string, filters?: string, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ListInvoicesResponseClass>>;
|
|
475
|
+
/**
|
|
476
|
+
* List the payment methods on the customer\'s account, for example to choose one to attach to policies. IBANs are masked to their last four digits.
|
|
477
|
+
* @summary List payment methods of a customer
|
|
478
|
+
* @param {string} customerCode The customer code or \"me\" for the currently logged in customer.
|
|
479
|
+
* @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
480
|
+
* @param {string} [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.
|
|
481
|
+
* @param {string} [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.
|
|
482
|
+
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
483
|
+
* @param {*} [options] Override http request option.
|
|
484
|
+
* @throws {RequiredError}
|
|
485
|
+
*/
|
|
486
|
+
listPaymentMethods(customerCode: string, pageSize?: number, pageToken?: string, order?: string, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ListCustomerPaymentMethodsResponseClass>>;
|
|
438
487
|
/**
|
|
439
488
|
* Get new access token, new refresh token.
|
|
440
489
|
* @summary Refresh token by customer
|
|
@@ -520,6 +569,17 @@ export declare const CustomerControllerRestApiFp: (configuration?: Configuration
|
|
|
520
569
|
* @export
|
|
521
570
|
*/
|
|
522
571
|
export declare const CustomerControllerRestApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
|
|
572
|
+
/**
|
|
573
|
+
* Use one of the customer\'s payment methods for future payments of the given policy.
|
|
574
|
+
* @summary Attach a payment method to a policy
|
|
575
|
+
* @param {string} customerCode The customer code or \"me\" for the currently logged in customer.
|
|
576
|
+
* @param {string} paymentMethodCode Code of one of the customer\'s payment methods.
|
|
577
|
+
* @param {AttachCustomerPaymentMethodRequestDto} attachCustomerPaymentMethodRequestDto
|
|
578
|
+
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
579
|
+
* @param {*} [options] Override http request option.
|
|
580
|
+
* @throws {RequiredError}
|
|
581
|
+
*/
|
|
582
|
+
attachPaymentMethod(customerCode: string, paymentMethodCode: string, attachCustomerPaymentMethodRequestDto: AttachCustomerPaymentMethodRequestDto, authorization?: string, options?: any): AxiosPromise<AttachCustomerPaymentMethodResponseClass>;
|
|
523
583
|
/**
|
|
524
584
|
* Change customer\'s email using the token provided by the request email change endpoint.
|
|
525
585
|
* @summary Change customer email
|
|
@@ -669,6 +729,18 @@ export declare const CustomerControllerRestApiFactory: (configuration?: Configur
|
|
|
669
729
|
* @throws {RequiredError}
|
|
670
730
|
*/
|
|
671
731
|
listInvoices(customerCode: string, pageSize?: number, pageToken?: string, filter?: string, search?: string, order?: string, expand?: string, filters?: string, authorization?: string, options?: any): AxiosPromise<ListInvoicesResponseClass>;
|
|
732
|
+
/**
|
|
733
|
+
* List the payment methods on the customer\'s account, for example to choose one to attach to policies. IBANs are masked to their last four digits.
|
|
734
|
+
* @summary List payment methods of a customer
|
|
735
|
+
* @param {string} customerCode The customer code or \"me\" for the currently logged in customer.
|
|
736
|
+
* @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
737
|
+
* @param {string} [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.
|
|
738
|
+
* @param {string} [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.
|
|
739
|
+
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
740
|
+
* @param {*} [options] Override http request option.
|
|
741
|
+
* @throws {RequiredError}
|
|
742
|
+
*/
|
|
743
|
+
listPaymentMethods(customerCode: string, pageSize?: number, pageToken?: string, order?: string, authorization?: string, options?: any): AxiosPromise<ListCustomerPaymentMethodsResponseClass>;
|
|
672
744
|
/**
|
|
673
745
|
* Get new access token, new refresh token.
|
|
674
746
|
* @summary Refresh token by customer
|
|
@@ -749,6 +821,37 @@ export declare const CustomerControllerRestApiFactory: (configuration?: Configur
|
|
|
749
821
|
*/
|
|
750
822
|
verifyResetPasswordToken(resetToken: string, options?: any): AxiosPromise<VerifyResetPasswordTokenResponseClass>;
|
|
751
823
|
};
|
|
824
|
+
/**
|
|
825
|
+
* Request parameters for attachPaymentMethod operation in CustomerControllerRestApi.
|
|
826
|
+
* @export
|
|
827
|
+
* @interface CustomerControllerRestApiAttachPaymentMethodRequest
|
|
828
|
+
*/
|
|
829
|
+
export interface CustomerControllerRestApiAttachPaymentMethodRequest {
|
|
830
|
+
/**
|
|
831
|
+
* The customer code or \"me\" for the currently logged in customer.
|
|
832
|
+
* @type {string}
|
|
833
|
+
* @memberof CustomerControllerRestApiAttachPaymentMethod
|
|
834
|
+
*/
|
|
835
|
+
readonly customerCode: string;
|
|
836
|
+
/**
|
|
837
|
+
* Code of one of the customer\'s payment methods.
|
|
838
|
+
* @type {string}
|
|
839
|
+
* @memberof CustomerControllerRestApiAttachPaymentMethod
|
|
840
|
+
*/
|
|
841
|
+
readonly paymentMethodCode: string;
|
|
842
|
+
/**
|
|
843
|
+
*
|
|
844
|
+
* @type {AttachCustomerPaymentMethodRequestDto}
|
|
845
|
+
* @memberof CustomerControllerRestApiAttachPaymentMethod
|
|
846
|
+
*/
|
|
847
|
+
readonly attachCustomerPaymentMethodRequestDto: AttachCustomerPaymentMethodRequestDto;
|
|
848
|
+
/**
|
|
849
|
+
* Bearer Token: provided by the login endpoint under the name accessToken.
|
|
850
|
+
* @type {string}
|
|
851
|
+
* @memberof CustomerControllerRestApiAttachPaymentMethod
|
|
852
|
+
*/
|
|
853
|
+
readonly authorization?: string;
|
|
854
|
+
}
|
|
752
855
|
/**
|
|
753
856
|
* Request parameters for changeCustomerEmail operation in CustomerControllerRestApi.
|
|
754
857
|
* @export
|
|
@@ -1153,6 +1256,43 @@ export interface CustomerControllerRestApiListInvoicesRequest {
|
|
|
1153
1256
|
*/
|
|
1154
1257
|
readonly authorization?: string;
|
|
1155
1258
|
}
|
|
1259
|
+
/**
|
|
1260
|
+
* Request parameters for listPaymentMethods operation in CustomerControllerRestApi.
|
|
1261
|
+
* @export
|
|
1262
|
+
* @interface CustomerControllerRestApiListPaymentMethodsRequest
|
|
1263
|
+
*/
|
|
1264
|
+
export interface CustomerControllerRestApiListPaymentMethodsRequest {
|
|
1265
|
+
/**
|
|
1266
|
+
* The customer code or \"me\" for the currently logged in customer.
|
|
1267
|
+
* @type {string}
|
|
1268
|
+
* @memberof CustomerControllerRestApiListPaymentMethods
|
|
1269
|
+
*/
|
|
1270
|
+
readonly customerCode: string;
|
|
1271
|
+
/**
|
|
1272
|
+
* A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
1273
|
+
* @type {number}
|
|
1274
|
+
* @memberof CustomerControllerRestApiListPaymentMethods
|
|
1275
|
+
*/
|
|
1276
|
+
readonly pageSize?: number;
|
|
1277
|
+
/**
|
|
1278
|
+
* 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.
|
|
1279
|
+
* @type {string}
|
|
1280
|
+
* @memberof CustomerControllerRestApiListPaymentMethods
|
|
1281
|
+
*/
|
|
1282
|
+
readonly pageToken?: string;
|
|
1283
|
+
/**
|
|
1284
|
+
* 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.
|
|
1285
|
+
* @type {string}
|
|
1286
|
+
* @memberof CustomerControllerRestApiListPaymentMethods
|
|
1287
|
+
*/
|
|
1288
|
+
readonly order?: string;
|
|
1289
|
+
/**
|
|
1290
|
+
* Bearer Token: provided by the login endpoint under the name accessToken.
|
|
1291
|
+
* @type {string}
|
|
1292
|
+
* @memberof CustomerControllerRestApiListPaymentMethods
|
|
1293
|
+
*/
|
|
1294
|
+
readonly authorization?: string;
|
|
1295
|
+
}
|
|
1156
1296
|
/**
|
|
1157
1297
|
* Request parameters for refreshToken operation in CustomerControllerRestApi.
|
|
1158
1298
|
* @export
|
|
@@ -1319,6 +1459,15 @@ export interface CustomerControllerRestApiVerifyResetPasswordTokenRequest {
|
|
|
1319
1459
|
* @extends {BaseAPI}
|
|
1320
1460
|
*/
|
|
1321
1461
|
export declare class CustomerControllerRestApi extends BaseAPI {
|
|
1462
|
+
/**
|
|
1463
|
+
* Use one of the customer\'s payment methods for future payments of the given policy.
|
|
1464
|
+
* @summary Attach a payment method to a policy
|
|
1465
|
+
* @param {CustomerControllerRestApiAttachPaymentMethodRequest} requestParameters Request parameters.
|
|
1466
|
+
* @param {*} [options] Override http request option.
|
|
1467
|
+
* @throws {RequiredError}
|
|
1468
|
+
* @memberof CustomerControllerRestApi
|
|
1469
|
+
*/
|
|
1470
|
+
attachPaymentMethod(requestParameters: CustomerControllerRestApiAttachPaymentMethodRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<AttachCustomerPaymentMethodResponseClass, any, {}>>;
|
|
1322
1471
|
/**
|
|
1323
1472
|
* Change customer\'s email using the token provided by the request email change endpoint.
|
|
1324
1473
|
* @summary Change customer email
|
|
@@ -1445,6 +1594,15 @@ export declare class CustomerControllerRestApi extends BaseAPI {
|
|
|
1445
1594
|
* @memberof CustomerControllerRestApi
|
|
1446
1595
|
*/
|
|
1447
1596
|
listInvoices(requestParameters: CustomerControllerRestApiListInvoicesRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<ListInvoicesResponseClass, any, {}>>;
|
|
1597
|
+
/**
|
|
1598
|
+
* List the payment methods on the customer\'s account, for example to choose one to attach to policies. IBANs are masked to their last four digits.
|
|
1599
|
+
* @summary List payment methods of a customer
|
|
1600
|
+
* @param {CustomerControllerRestApiListPaymentMethodsRequest} requestParameters Request parameters.
|
|
1601
|
+
* @param {*} [options] Override http request option.
|
|
1602
|
+
* @throws {RequiredError}
|
|
1603
|
+
* @memberof CustomerControllerRestApi
|
|
1604
|
+
*/
|
|
1605
|
+
listPaymentMethods(requestParameters: CustomerControllerRestApiListPaymentMethodsRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<ListCustomerPaymentMethodsResponseClass, any, {}>>;
|
|
1448
1606
|
/**
|
|
1449
1607
|
* Get new access token, new refresh token.
|
|
1450
1608
|
* @summary Refresh token by customer
|