@emilgroup/customer-sdk-node 1.11.2 → 1.12.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/api/authentication-api.ts +8 -8
- package/api/claims-api.ts +12 -12
- package/api/documents-api.ts +4 -4
- package/api/payments-api.ts +8 -8
- package/api/policies-api.ts +16 -16
- package/api/products-api.ts +4 -4
- package/base.ts +1 -1
- package/dist/api/authentication-api.d.ts +8 -8
- package/dist/api/authentication-api.js +8 -8
- package/dist/api/claims-api.d.ts +12 -12
- package/dist/api/claims-api.js +12 -12
- package/dist/api/documents-api.d.ts +4 -4
- package/dist/api/documents-api.js +4 -4
- package/dist/api/payments-api.d.ts +8 -8
- package/dist/api/payments-api.js +8 -8
- package/dist/api/policies-api.d.ts +16 -16
- package/dist/api/policies-api.js +16 -16
- package/dist/api/products-api.d.ts +4 -4
- package/dist/api/products-api.js +4 -4
- package/dist/base.js +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.js +2 -1
- package/dist/models/shared-customer-policy-object-request-dto.d.ts +7 -1
- package/index.ts +1 -1
- package/models/shared-customer-policy-object-request-dto.ts +7 -1
- package/package.json +2 -2
package/dist/api/claims-api.d.ts
CHANGED
|
@@ -26,7 +26,7 @@ import { UploadCustomerClaimDocumentsRequestDto } from '../models';
|
|
|
26
26
|
export declare const ClaimsApiAxiosParamCreator: (configuration?: Configuration) => {
|
|
27
27
|
/**
|
|
28
28
|
* Create a new claim for customer.
|
|
29
|
-
* @summary Create a new claim
|
|
29
|
+
* @summary Create a new claim
|
|
30
30
|
* @param {string} customerCode The customer code or \"me\" for the currently logged in customer.
|
|
31
31
|
* @param {CreateCustomerClaimRequestDto} createCustomerClaimRequestDto
|
|
32
32
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
@@ -37,7 +37,7 @@ export declare const ClaimsApiAxiosParamCreator: (configuration?: Configuration)
|
|
|
37
37
|
createCustomerClaim: (customerCode: string, createCustomerClaimRequestDto: CreateCustomerClaimRequestDto, authorization?: string, authorization2?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
38
38
|
/**
|
|
39
39
|
* List claims by customer.
|
|
40
|
-
* @summary List claims
|
|
40
|
+
* @summary List claims
|
|
41
41
|
* @param {string} customerCode The customer code or \"me\" for the currently logged in customer.
|
|
42
42
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
43
43
|
* @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 100. Default: 10.
|
|
@@ -53,7 +53,7 @@ export declare const ClaimsApiAxiosParamCreator: (configuration?: Configuration)
|
|
|
53
53
|
listCustomerClaims: (customerCode: string, authorization?: string, pageSize?: any, pageToken?: any, filter?: any, search?: any, order?: any, expand?: any, authorization2?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
54
54
|
/**
|
|
55
55
|
* Update claim for customer.
|
|
56
|
-
* @summary Update claim
|
|
56
|
+
* @summary Update claim
|
|
57
57
|
* @param {string} customerCode The customer code or \"me\" for the currently logged in customer.
|
|
58
58
|
* @param {string} claimCode The claim code to identify a claim.
|
|
59
59
|
* @param {UpdateCustomerClaimRequestDto} updateCustomerClaimRequestDto
|
|
@@ -83,7 +83,7 @@ export declare const ClaimsApiAxiosParamCreator: (configuration?: Configuration)
|
|
|
83
83
|
export declare const ClaimsApiFp: (configuration?: Configuration) => {
|
|
84
84
|
/**
|
|
85
85
|
* Create a new claim for customer.
|
|
86
|
-
* @summary Create a new claim
|
|
86
|
+
* @summary Create a new claim
|
|
87
87
|
* @param {string} customerCode The customer code or \"me\" for the currently logged in customer.
|
|
88
88
|
* @param {CreateCustomerClaimRequestDto} createCustomerClaimRequestDto
|
|
89
89
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
@@ -94,7 +94,7 @@ export declare const ClaimsApiFp: (configuration?: Configuration) => {
|
|
|
94
94
|
createCustomerClaim(customerCode: string, createCustomerClaimRequestDto: CreateCustomerClaimRequestDto, authorization?: string, authorization2?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CreateCustomerClaimResponseClass>>;
|
|
95
95
|
/**
|
|
96
96
|
* List claims by customer.
|
|
97
|
-
* @summary List claims
|
|
97
|
+
* @summary List claims
|
|
98
98
|
* @param {string} customerCode The customer code or \"me\" for the currently logged in customer.
|
|
99
99
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
100
100
|
* @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 100. Default: 10.
|
|
@@ -110,7 +110,7 @@ export declare const ClaimsApiFp: (configuration?: Configuration) => {
|
|
|
110
110
|
listCustomerClaims(customerCode: string, authorization?: string, pageSize?: any, pageToken?: any, filter?: any, search?: any, order?: any, expand?: any, authorization2?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ListCustomerClaimsResponseClass>>;
|
|
111
111
|
/**
|
|
112
112
|
* Update claim for customer.
|
|
113
|
-
* @summary Update claim
|
|
113
|
+
* @summary Update claim
|
|
114
114
|
* @param {string} customerCode The customer code or \"me\" for the currently logged in customer.
|
|
115
115
|
* @param {string} claimCode The claim code to identify a claim.
|
|
116
116
|
* @param {UpdateCustomerClaimRequestDto} updateCustomerClaimRequestDto
|
|
@@ -140,7 +140,7 @@ export declare const ClaimsApiFp: (configuration?: Configuration) => {
|
|
|
140
140
|
export declare const ClaimsApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
|
|
141
141
|
/**
|
|
142
142
|
* Create a new claim for customer.
|
|
143
|
-
* @summary Create a new claim
|
|
143
|
+
* @summary Create a new claim
|
|
144
144
|
* @param {string} customerCode The customer code or \"me\" for the currently logged in customer.
|
|
145
145
|
* @param {CreateCustomerClaimRequestDto} createCustomerClaimRequestDto
|
|
146
146
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
@@ -151,7 +151,7 @@ export declare const ClaimsApiFactory: (configuration?: Configuration, basePath?
|
|
|
151
151
|
createCustomerClaim(customerCode: string, createCustomerClaimRequestDto: CreateCustomerClaimRequestDto, authorization?: string, authorization2?: string, options?: any): AxiosPromise<CreateCustomerClaimResponseClass>;
|
|
152
152
|
/**
|
|
153
153
|
* List claims by customer.
|
|
154
|
-
* @summary List claims
|
|
154
|
+
* @summary List claims
|
|
155
155
|
* @param {string} customerCode The customer code or \"me\" for the currently logged in customer.
|
|
156
156
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
157
157
|
* @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 100. Default: 10.
|
|
@@ -167,7 +167,7 @@ export declare const ClaimsApiFactory: (configuration?: Configuration, basePath?
|
|
|
167
167
|
listCustomerClaims(customerCode: string, authorization?: string, pageSize?: any, pageToken?: any, filter?: any, search?: any, order?: any, expand?: any, authorization2?: string, options?: any): AxiosPromise<ListCustomerClaimsResponseClass>;
|
|
168
168
|
/**
|
|
169
169
|
* Update claim for customer.
|
|
170
|
-
* @summary Update claim
|
|
170
|
+
* @summary Update claim
|
|
171
171
|
* @param {string} customerCode The customer code or \"me\" for the currently logged in customer.
|
|
172
172
|
* @param {string} claimCode The claim code to identify a claim.
|
|
173
173
|
* @param {UpdateCustomerClaimRequestDto} updateCustomerClaimRequestDto
|
|
@@ -365,7 +365,7 @@ export interface ClaimsApiUploadCustomerClaimDocumentsRequest {
|
|
|
365
365
|
export declare class ClaimsApi extends BaseAPI {
|
|
366
366
|
/**
|
|
367
367
|
* Create a new claim for customer.
|
|
368
|
-
* @summary Create a new claim
|
|
368
|
+
* @summary Create a new claim
|
|
369
369
|
* @param {ClaimsApiCreateCustomerClaimRequest} requestParameters Request parameters.
|
|
370
370
|
* @param {*} [options] Override http request option.
|
|
371
371
|
* @throws {RequiredError}
|
|
@@ -374,7 +374,7 @@ export declare class ClaimsApi extends BaseAPI {
|
|
|
374
374
|
createCustomerClaim(requestParameters: ClaimsApiCreateCustomerClaimRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<CreateCustomerClaimResponseClass, any>>;
|
|
375
375
|
/**
|
|
376
376
|
* List claims by customer.
|
|
377
|
-
* @summary List claims
|
|
377
|
+
* @summary List claims
|
|
378
378
|
* @param {ClaimsApiListCustomerClaimsRequest} requestParameters Request parameters.
|
|
379
379
|
* @param {*} [options] Override http request option.
|
|
380
380
|
* @throws {RequiredError}
|
|
@@ -383,7 +383,7 @@ export declare class ClaimsApi extends BaseAPI {
|
|
|
383
383
|
listCustomerClaims(requestParameters: ClaimsApiListCustomerClaimsRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<ListCustomerClaimsResponseClass, any>>;
|
|
384
384
|
/**
|
|
385
385
|
* Update claim for customer.
|
|
386
|
-
* @summary Update claim
|
|
386
|
+
* @summary Update claim
|
|
387
387
|
* @param {ClaimsApiUpdateCustomerClaimRequest} requestParameters Request parameters.
|
|
388
388
|
* @param {*} [options] Override http request option.
|
|
389
389
|
* @throws {RequiredError}
|
package/dist/api/claims-api.js
CHANGED
|
@@ -98,7 +98,7 @@ var ClaimsApiAxiosParamCreator = function (configuration) {
|
|
|
98
98
|
return {
|
|
99
99
|
/**
|
|
100
100
|
* Create a new claim for customer.
|
|
101
|
-
* @summary Create a new claim
|
|
101
|
+
* @summary Create a new claim
|
|
102
102
|
* @param {string} customerCode The customer code or \"me\" for the currently logged in customer.
|
|
103
103
|
* @param {CreateCustomerClaimRequestDto} createCustomerClaimRequestDto
|
|
104
104
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
@@ -145,7 +145,7 @@ var ClaimsApiAxiosParamCreator = function (configuration) {
|
|
|
145
145
|
},
|
|
146
146
|
/**
|
|
147
147
|
* List claims by customer.
|
|
148
|
-
* @summary List claims
|
|
148
|
+
* @summary List claims
|
|
149
149
|
* @param {string} customerCode The customer code or \"me\" for the currently logged in customer.
|
|
150
150
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
151
151
|
* @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 100. Default: 10.
|
|
@@ -211,7 +211,7 @@ var ClaimsApiAxiosParamCreator = function (configuration) {
|
|
|
211
211
|
},
|
|
212
212
|
/**
|
|
213
213
|
* Update claim for customer.
|
|
214
|
-
* @summary Update claim
|
|
214
|
+
* @summary Update claim
|
|
215
215
|
* @param {string} customerCode The customer code or \"me\" for the currently logged in customer.
|
|
216
216
|
* @param {string} claimCode The claim code to identify a claim.
|
|
217
217
|
* @param {UpdateCustomerClaimRequestDto} updateCustomerClaimRequestDto
|
|
@@ -323,7 +323,7 @@ var ClaimsApiFp = function (configuration) {
|
|
|
323
323
|
return {
|
|
324
324
|
/**
|
|
325
325
|
* Create a new claim for customer.
|
|
326
|
-
* @summary Create a new claim
|
|
326
|
+
* @summary Create a new claim
|
|
327
327
|
* @param {string} customerCode The customer code or \"me\" for the currently logged in customer.
|
|
328
328
|
* @param {CreateCustomerClaimRequestDto} createCustomerClaimRequestDto
|
|
329
329
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
@@ -346,7 +346,7 @@ var ClaimsApiFp = function (configuration) {
|
|
|
346
346
|
},
|
|
347
347
|
/**
|
|
348
348
|
* List claims by customer.
|
|
349
|
-
* @summary List claims
|
|
349
|
+
* @summary List claims
|
|
350
350
|
* @param {string} customerCode The customer code or \"me\" for the currently logged in customer.
|
|
351
351
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
352
352
|
* @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 100. Default: 10.
|
|
@@ -374,7 +374,7 @@ var ClaimsApiFp = function (configuration) {
|
|
|
374
374
|
},
|
|
375
375
|
/**
|
|
376
376
|
* Update claim for customer.
|
|
377
|
-
* @summary Update claim
|
|
377
|
+
* @summary Update claim
|
|
378
378
|
* @param {string} customerCode The customer code or \"me\" for the currently logged in customer.
|
|
379
379
|
* @param {string} claimCode The claim code to identify a claim.
|
|
380
380
|
* @param {UpdateCustomerClaimRequestDto} updateCustomerClaimRequestDto
|
|
@@ -432,7 +432,7 @@ var ClaimsApiFactory = function (configuration, basePath, axios) {
|
|
|
432
432
|
return {
|
|
433
433
|
/**
|
|
434
434
|
* Create a new claim for customer.
|
|
435
|
-
* @summary Create a new claim
|
|
435
|
+
* @summary Create a new claim
|
|
436
436
|
* @param {string} customerCode The customer code or \"me\" for the currently logged in customer.
|
|
437
437
|
* @param {CreateCustomerClaimRequestDto} createCustomerClaimRequestDto
|
|
438
438
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
@@ -445,7 +445,7 @@ var ClaimsApiFactory = function (configuration, basePath, axios) {
|
|
|
445
445
|
},
|
|
446
446
|
/**
|
|
447
447
|
* List claims by customer.
|
|
448
|
-
* @summary List claims
|
|
448
|
+
* @summary List claims
|
|
449
449
|
* @param {string} customerCode The customer code or \"me\" for the currently logged in customer.
|
|
450
450
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
451
451
|
* @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 100. Default: 10.
|
|
@@ -463,7 +463,7 @@ var ClaimsApiFactory = function (configuration, basePath, axios) {
|
|
|
463
463
|
},
|
|
464
464
|
/**
|
|
465
465
|
* Update claim for customer.
|
|
466
|
-
* @summary Update claim
|
|
466
|
+
* @summary Update claim
|
|
467
467
|
* @param {string} customerCode The customer code or \"me\" for the currently logged in customer.
|
|
468
468
|
* @param {string} claimCode The claim code to identify a claim.
|
|
469
469
|
* @param {UpdateCustomerClaimRequestDto} updateCustomerClaimRequestDto
|
|
@@ -505,7 +505,7 @@ var ClaimsApi = /** @class */ (function (_super) {
|
|
|
505
505
|
}
|
|
506
506
|
/**
|
|
507
507
|
* Create a new claim for customer.
|
|
508
|
-
* @summary Create a new claim
|
|
508
|
+
* @summary Create a new claim
|
|
509
509
|
* @param {ClaimsApiCreateCustomerClaimRequest} requestParameters Request parameters.
|
|
510
510
|
* @param {*} [options] Override http request option.
|
|
511
511
|
* @throws {RequiredError}
|
|
@@ -517,7 +517,7 @@ var ClaimsApi = /** @class */ (function (_super) {
|
|
|
517
517
|
};
|
|
518
518
|
/**
|
|
519
519
|
* List claims by customer.
|
|
520
|
-
* @summary List claims
|
|
520
|
+
* @summary List claims
|
|
521
521
|
* @param {ClaimsApiListCustomerClaimsRequest} requestParameters Request parameters.
|
|
522
522
|
* @param {*} [options] Override http request option.
|
|
523
523
|
* @throws {RequiredError}
|
|
@@ -529,7 +529,7 @@ var ClaimsApi = /** @class */ (function (_super) {
|
|
|
529
529
|
};
|
|
530
530
|
/**
|
|
531
531
|
* Update claim for customer.
|
|
532
|
-
* @summary Update claim
|
|
532
|
+
* @summary Update claim
|
|
533
533
|
* @param {ClaimsApiUpdateCustomerClaimRequest} requestParameters Request parameters.
|
|
534
534
|
* @param {*} [options] Override http request option.
|
|
535
535
|
* @throws {RequiredError}
|
|
@@ -22,7 +22,7 @@ import { ListDocumentsResponseClass } from '../models';
|
|
|
22
22
|
export declare const DocumentsApiAxiosParamCreator: (configuration?: Configuration) => {
|
|
23
23
|
/**
|
|
24
24
|
* Get a presigned download url for document.
|
|
25
|
-
* @summary Get a
|
|
25
|
+
* @summary Get a download url for document
|
|
26
26
|
* @param {string} documentCode The document code.
|
|
27
27
|
* @param {string} customerCode
|
|
28
28
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
@@ -61,7 +61,7 @@ export declare const DocumentsApiAxiosParamCreator: (configuration?: Configurati
|
|
|
61
61
|
export declare const DocumentsApiFp: (configuration?: Configuration) => {
|
|
62
62
|
/**
|
|
63
63
|
* Get a presigned download url for document.
|
|
64
|
-
* @summary Get a
|
|
64
|
+
* @summary Get a download url for document
|
|
65
65
|
* @param {string} documentCode The document code.
|
|
66
66
|
* @param {string} customerCode
|
|
67
67
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
@@ -100,7 +100,7 @@ export declare const DocumentsApiFp: (configuration?: Configuration) => {
|
|
|
100
100
|
export declare const DocumentsApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
|
|
101
101
|
/**
|
|
102
102
|
* Get a presigned download url for document.
|
|
103
|
-
* @summary Get a
|
|
103
|
+
* @summary Get a download url for document
|
|
104
104
|
* @param {string} documentCode The document code.
|
|
105
105
|
* @param {string} customerCode
|
|
106
106
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
@@ -234,7 +234,7 @@ export interface DocumentsApiUploadAccountDocumentsRequest {
|
|
|
234
234
|
export declare class DocumentsApi extends BaseAPI {
|
|
235
235
|
/**
|
|
236
236
|
* Get a presigned download url for document.
|
|
237
|
-
* @summary Get a
|
|
237
|
+
* @summary Get a download url for document
|
|
238
238
|
* @param {DocumentsApiGetCustomerDocumentDownloadUrlRequest} requestParameters Request parameters.
|
|
239
239
|
* @param {*} [options] Override http request option.
|
|
240
240
|
* @throws {RequiredError}
|
|
@@ -98,7 +98,7 @@ var DocumentsApiAxiosParamCreator = function (configuration) {
|
|
|
98
98
|
return {
|
|
99
99
|
/**
|
|
100
100
|
* Get a presigned download url for document.
|
|
101
|
-
* @summary Get a
|
|
101
|
+
* @summary Get a download url for document
|
|
102
102
|
* @param {string} documentCode The document code.
|
|
103
103
|
* @param {string} customerCode
|
|
104
104
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
@@ -246,7 +246,7 @@ var DocumentsApiFp = function (configuration) {
|
|
|
246
246
|
return {
|
|
247
247
|
/**
|
|
248
248
|
* Get a presigned download url for document.
|
|
249
|
-
* @summary Get a
|
|
249
|
+
* @summary Get a download url for document
|
|
250
250
|
* @param {string} documentCode The document code.
|
|
251
251
|
* @param {string} customerCode
|
|
252
252
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
@@ -325,7 +325,7 @@ var DocumentsApiFactory = function (configuration, basePath, axios) {
|
|
|
325
325
|
return {
|
|
326
326
|
/**
|
|
327
327
|
* Get a presigned download url for document.
|
|
328
|
-
* @summary Get a
|
|
328
|
+
* @summary Get a download url for document
|
|
329
329
|
* @param {string} documentCode The document code.
|
|
330
330
|
* @param {string} customerCode
|
|
331
331
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
@@ -378,7 +378,7 @@ var DocumentsApi = /** @class */ (function (_super) {
|
|
|
378
378
|
}
|
|
379
379
|
/**
|
|
380
380
|
* Get a presigned download url for document.
|
|
381
|
-
* @summary Get a
|
|
381
|
+
* @summary Get a download url for document
|
|
382
382
|
* @param {DocumentsApiGetCustomerDocumentDownloadUrlRequest} requestParameters Request parameters.
|
|
383
383
|
* @param {*} [options] Override http request option.
|
|
384
384
|
* @throws {RequiredError}
|
|
@@ -22,7 +22,7 @@ import { InitiatePaymentSetupResponseClass } from '../models';
|
|
|
22
22
|
export declare const PaymentsApiAxiosParamCreator: (configuration?: Configuration) => {
|
|
23
23
|
/**
|
|
24
24
|
* Request to complete a payment change by customer.
|
|
25
|
-
* @summary Request payment setup complete
|
|
25
|
+
* @summary Request payment setup complete
|
|
26
26
|
* @param {string} customerCode The customer code or \"me\" for the currently logged in customer.
|
|
27
27
|
* @param {CompletePaymentSetupPspRequest} completePaymentSetupPspRequest
|
|
28
28
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
@@ -33,7 +33,7 @@ export declare const PaymentsApiAxiosParamCreator: (configuration?: Configuratio
|
|
|
33
33
|
completePaymentSetup: (customerCode: string, completePaymentSetupPspRequest: CompletePaymentSetupPspRequest, authorization?: string, idempotencyKey?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
34
34
|
/**
|
|
35
35
|
* Request to initiate a payment change by customer.
|
|
36
|
-
* @summary Request payment setup initiation
|
|
36
|
+
* @summary Request payment setup initiation
|
|
37
37
|
* @param {string} customerCode The customer code or \"me\" for the currently logged in customer.
|
|
38
38
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
39
39
|
* @param {*} [options] Override http request option.
|
|
@@ -48,7 +48,7 @@ export declare const PaymentsApiAxiosParamCreator: (configuration?: Configuratio
|
|
|
48
48
|
export declare const PaymentsApiFp: (configuration?: Configuration) => {
|
|
49
49
|
/**
|
|
50
50
|
* Request to complete a payment change by customer.
|
|
51
|
-
* @summary Request payment setup complete
|
|
51
|
+
* @summary Request payment setup complete
|
|
52
52
|
* @param {string} customerCode The customer code or \"me\" for the currently logged in customer.
|
|
53
53
|
* @param {CompletePaymentSetupPspRequest} completePaymentSetupPspRequest
|
|
54
54
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
@@ -59,7 +59,7 @@ export declare const PaymentsApiFp: (configuration?: Configuration) => {
|
|
|
59
59
|
completePaymentSetup(customerCode: string, completePaymentSetupPspRequest: CompletePaymentSetupPspRequest, authorization?: string, idempotencyKey?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CompletePaymentSetupResponseClass>>;
|
|
60
60
|
/**
|
|
61
61
|
* Request to initiate a payment change by customer.
|
|
62
|
-
* @summary Request payment setup initiation
|
|
62
|
+
* @summary Request payment setup initiation
|
|
63
63
|
* @param {string} customerCode The customer code or \"me\" for the currently logged in customer.
|
|
64
64
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
65
65
|
* @param {*} [options] Override http request option.
|
|
@@ -74,7 +74,7 @@ export declare const PaymentsApiFp: (configuration?: Configuration) => {
|
|
|
74
74
|
export declare const PaymentsApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
|
|
75
75
|
/**
|
|
76
76
|
* Request to complete a payment change by customer.
|
|
77
|
-
* @summary Request payment setup complete
|
|
77
|
+
* @summary Request payment setup complete
|
|
78
78
|
* @param {string} customerCode The customer code or \"me\" for the currently logged in customer.
|
|
79
79
|
* @param {CompletePaymentSetupPspRequest} completePaymentSetupPspRequest
|
|
80
80
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
@@ -85,7 +85,7 @@ export declare const PaymentsApiFactory: (configuration?: Configuration, basePat
|
|
|
85
85
|
completePaymentSetup(customerCode: string, completePaymentSetupPspRequest: CompletePaymentSetupPspRequest, authorization?: string, idempotencyKey?: string, options?: any): AxiosPromise<CompletePaymentSetupResponseClass>;
|
|
86
86
|
/**
|
|
87
87
|
* Request to initiate a payment change by customer.
|
|
88
|
-
* @summary Request payment setup initiation
|
|
88
|
+
* @summary Request payment setup initiation
|
|
89
89
|
* @param {string} customerCode The customer code or \"me\" for the currently logged in customer.
|
|
90
90
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
91
91
|
* @param {*} [options] Override http request option.
|
|
@@ -152,7 +152,7 @@ export interface PaymentsApiInitiatePaymentSetupRequest {
|
|
|
152
152
|
export declare class PaymentsApi extends BaseAPI {
|
|
153
153
|
/**
|
|
154
154
|
* Request to complete a payment change by customer.
|
|
155
|
-
* @summary Request payment setup complete
|
|
155
|
+
* @summary Request payment setup complete
|
|
156
156
|
* @param {PaymentsApiCompletePaymentSetupRequest} requestParameters Request parameters.
|
|
157
157
|
* @param {*} [options] Override http request option.
|
|
158
158
|
* @throws {RequiredError}
|
|
@@ -161,7 +161,7 @@ export declare class PaymentsApi extends BaseAPI {
|
|
|
161
161
|
completePaymentSetup(requestParameters: PaymentsApiCompletePaymentSetupRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<CompletePaymentSetupResponseClass, any>>;
|
|
162
162
|
/**
|
|
163
163
|
* Request to initiate a payment change by customer.
|
|
164
|
-
* @summary Request payment setup initiation
|
|
164
|
+
* @summary Request payment setup initiation
|
|
165
165
|
* @param {PaymentsApiInitiatePaymentSetupRequest} requestParameters Request parameters.
|
|
166
166
|
* @param {*} [options] Override http request option.
|
|
167
167
|
* @throws {RequiredError}
|
package/dist/api/payments-api.js
CHANGED
|
@@ -98,7 +98,7 @@ var PaymentsApiAxiosParamCreator = function (configuration) {
|
|
|
98
98
|
return {
|
|
99
99
|
/**
|
|
100
100
|
* Request to complete a payment change by customer.
|
|
101
|
-
* @summary Request payment setup complete
|
|
101
|
+
* @summary Request payment setup complete
|
|
102
102
|
* @param {string} customerCode The customer code or \"me\" for the currently logged in customer.
|
|
103
103
|
* @param {CompletePaymentSetupPspRequest} completePaymentSetupPspRequest
|
|
104
104
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
@@ -145,7 +145,7 @@ var PaymentsApiAxiosParamCreator = function (configuration) {
|
|
|
145
145
|
},
|
|
146
146
|
/**
|
|
147
147
|
* Request to initiate a payment change by customer.
|
|
148
|
-
* @summary Request payment setup initiation
|
|
148
|
+
* @summary Request payment setup initiation
|
|
149
149
|
* @param {string} customerCode The customer code or \"me\" for the currently logged in customer.
|
|
150
150
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
151
151
|
* @param {*} [options] Override http request option.
|
|
@@ -193,7 +193,7 @@ var PaymentsApiFp = function (configuration) {
|
|
|
193
193
|
return {
|
|
194
194
|
/**
|
|
195
195
|
* Request to complete a payment change by customer.
|
|
196
|
-
* @summary Request payment setup complete
|
|
196
|
+
* @summary Request payment setup complete
|
|
197
197
|
* @param {string} customerCode The customer code or \"me\" for the currently logged in customer.
|
|
198
198
|
* @param {CompletePaymentSetupPspRequest} completePaymentSetupPspRequest
|
|
199
199
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
@@ -216,7 +216,7 @@ var PaymentsApiFp = function (configuration) {
|
|
|
216
216
|
},
|
|
217
217
|
/**
|
|
218
218
|
* Request to initiate a payment change by customer.
|
|
219
|
-
* @summary Request payment setup initiation
|
|
219
|
+
* @summary Request payment setup initiation
|
|
220
220
|
* @param {string} customerCode The customer code or \"me\" for the currently logged in customer.
|
|
221
221
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
222
222
|
* @param {*} [options] Override http request option.
|
|
@@ -247,7 +247,7 @@ var PaymentsApiFactory = function (configuration, basePath, axios) {
|
|
|
247
247
|
return {
|
|
248
248
|
/**
|
|
249
249
|
* Request to complete a payment change by customer.
|
|
250
|
-
* @summary Request payment setup complete
|
|
250
|
+
* @summary Request payment setup complete
|
|
251
251
|
* @param {string} customerCode The customer code or \"me\" for the currently logged in customer.
|
|
252
252
|
* @param {CompletePaymentSetupPspRequest} completePaymentSetupPspRequest
|
|
253
253
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
@@ -260,7 +260,7 @@ var PaymentsApiFactory = function (configuration, basePath, axios) {
|
|
|
260
260
|
},
|
|
261
261
|
/**
|
|
262
262
|
* Request to initiate a payment change by customer.
|
|
263
|
-
* @summary Request payment setup initiation
|
|
263
|
+
* @summary Request payment setup initiation
|
|
264
264
|
* @param {string} customerCode The customer code or \"me\" for the currently logged in customer.
|
|
265
265
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
266
266
|
* @param {*} [options] Override http request option.
|
|
@@ -285,7 +285,7 @@ var PaymentsApi = /** @class */ (function (_super) {
|
|
|
285
285
|
}
|
|
286
286
|
/**
|
|
287
287
|
* Request to complete a payment change by customer.
|
|
288
|
-
* @summary Request payment setup complete
|
|
288
|
+
* @summary Request payment setup complete
|
|
289
289
|
* @param {PaymentsApiCompletePaymentSetupRequest} requestParameters Request parameters.
|
|
290
290
|
* @param {*} [options] Override http request option.
|
|
291
291
|
* @throws {RequiredError}
|
|
@@ -297,7 +297,7 @@ var PaymentsApi = /** @class */ (function (_super) {
|
|
|
297
297
|
};
|
|
298
298
|
/**
|
|
299
299
|
* Request to initiate a payment change by customer.
|
|
300
|
-
* @summary Request payment setup initiation
|
|
300
|
+
* @summary Request payment setup initiation
|
|
301
301
|
* @param {PaymentsApiInitiatePaymentSetupRequest} requestParameters Request parameters.
|
|
302
302
|
* @param {*} [options] Override http request option.
|
|
303
303
|
* @throws {RequiredError}
|
|
@@ -50,7 +50,7 @@ export declare const PoliciesApiAxiosParamCreator: (configuration?: Configuratio
|
|
|
50
50
|
getPolicy: (policyCode: string, customerCode: string, expand?: string, authorization?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
51
51
|
/**
|
|
52
52
|
* List all the policies that belong to a customer, the policies can be filtered by policy code, policy number.
|
|
53
|
-
* @summary List policies
|
|
53
|
+
* @summary List policies
|
|
54
54
|
* @param {string} customerCode The customer code or \"me\" for the currently logged in customer.
|
|
55
55
|
* @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 100. Default: 10.
|
|
56
56
|
* @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.
|
|
@@ -65,7 +65,7 @@ export declare const PoliciesApiAxiosParamCreator: (configuration?: Configuratio
|
|
|
65
65
|
listPolicies: (customerCode: string, pageSize?: any, pageToken?: any, filter?: any, search?: any, order?: any, expand?: any, authorization?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
66
66
|
/**
|
|
67
67
|
* Request to update an existing policy by customer.
|
|
68
|
-
* @summary Request policy update
|
|
68
|
+
* @summary Request policy update
|
|
69
69
|
* @param {string} policyCode The code of the policy that the customer wants to update.
|
|
70
70
|
* @param {string} customerCode The customer code or \"me\" for the currently logged in customer.
|
|
71
71
|
* @param {RequestPolicyUpdateRequestDto} requestPolicyUpdateRequestDto
|
|
@@ -76,7 +76,7 @@ export declare const PoliciesApiAxiosParamCreator: (configuration?: Configuratio
|
|
|
76
76
|
requestPolicyUpdate: (policyCode: string, customerCode: string, requestPolicyUpdateRequestDto: RequestPolicyUpdateRequestDto, authorization?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
77
77
|
/**
|
|
78
78
|
* Request to terminate an existing policy by customer.
|
|
79
|
-
* @summary Terminate a policy
|
|
79
|
+
* @summary Terminate a policy
|
|
80
80
|
* @param {string} policyCode The code of the policy that the customer wants to terminate.
|
|
81
81
|
* @param {string} customerCode The customer code or \"me\" for the currently logged in customer.
|
|
82
82
|
* @param {TerminateCustomerPolicyRequestDto} terminateCustomerPolicyRequestDto
|
|
@@ -97,7 +97,7 @@ export declare const PoliciesApiAxiosParamCreator: (configuration?: Configuratio
|
|
|
97
97
|
uploadCustomerPolicyDocuments: (customerCode: string, policyCode: string, uploadCustomerPolicyDocumentsRequestDto: UploadCustomerPolicyDocumentsRequestDto, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
98
98
|
/**
|
|
99
99
|
* Withdraw policy by customer.
|
|
100
|
-
* @summary Withdraw policy
|
|
100
|
+
* @summary Withdraw the policy
|
|
101
101
|
* @param {string} policyCode The code of the policy that the customer wants to withdraw.
|
|
102
102
|
* @param {string} customerCode The customer code or \"me\" for the currently logged in customer.
|
|
103
103
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
@@ -135,7 +135,7 @@ export declare const PoliciesApiFp: (configuration?: Configuration) => {
|
|
|
135
135
|
getPolicy(policyCode: string, customerCode: string, expand?: string, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetPolicyResponseClass>>;
|
|
136
136
|
/**
|
|
137
137
|
* List all the policies that belong to a customer, the policies can be filtered by policy code, policy number.
|
|
138
|
-
* @summary List policies
|
|
138
|
+
* @summary List policies
|
|
139
139
|
* @param {string} customerCode The customer code or \"me\" for the currently logged in customer.
|
|
140
140
|
* @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 100. Default: 10.
|
|
141
141
|
* @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.
|
|
@@ -150,7 +150,7 @@ export declare const PoliciesApiFp: (configuration?: Configuration) => {
|
|
|
150
150
|
listPolicies(customerCode: string, pageSize?: any, pageToken?: any, filter?: any, search?: any, order?: any, expand?: any, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ListPoliciesResponseClass>>;
|
|
151
151
|
/**
|
|
152
152
|
* Request to update an existing policy by customer.
|
|
153
|
-
* @summary Request policy update
|
|
153
|
+
* @summary Request policy update
|
|
154
154
|
* @param {string} policyCode The code of the policy that the customer wants to update.
|
|
155
155
|
* @param {string} customerCode The customer code or \"me\" for the currently logged in customer.
|
|
156
156
|
* @param {RequestPolicyUpdateRequestDto} requestPolicyUpdateRequestDto
|
|
@@ -161,7 +161,7 @@ export declare const PoliciesApiFp: (configuration?: Configuration) => {
|
|
|
161
161
|
requestPolicyUpdate(policyCode: string, customerCode: string, requestPolicyUpdateRequestDto: RequestPolicyUpdateRequestDto, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<RequestPolicyUpdateResponseClass>>;
|
|
162
162
|
/**
|
|
163
163
|
* Request to terminate an existing policy by customer.
|
|
164
|
-
* @summary Terminate a policy
|
|
164
|
+
* @summary Terminate a policy
|
|
165
165
|
* @param {string} policyCode The code of the policy that the customer wants to terminate.
|
|
166
166
|
* @param {string} customerCode The customer code or \"me\" for the currently logged in customer.
|
|
167
167
|
* @param {TerminateCustomerPolicyRequestDto} terminateCustomerPolicyRequestDto
|
|
@@ -182,7 +182,7 @@ export declare const PoliciesApiFp: (configuration?: Configuration) => {
|
|
|
182
182
|
uploadCustomerPolicyDocuments(customerCode: string, policyCode: string, uploadCustomerPolicyDocumentsRequestDto: UploadCustomerPolicyDocumentsRequestDto, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CreatePresignedPostResponseClass>>;
|
|
183
183
|
/**
|
|
184
184
|
* Withdraw policy by customer.
|
|
185
|
-
* @summary Withdraw policy
|
|
185
|
+
* @summary Withdraw the policy
|
|
186
186
|
* @param {string} policyCode The code of the policy that the customer wants to withdraw.
|
|
187
187
|
* @param {string} customerCode The customer code or \"me\" for the currently logged in customer.
|
|
188
188
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
@@ -220,7 +220,7 @@ export declare const PoliciesApiFactory: (configuration?: Configuration, basePat
|
|
|
220
220
|
getPolicy(policyCode: string, customerCode: string, expand?: string, authorization?: string, options?: any): AxiosPromise<GetPolicyResponseClass>;
|
|
221
221
|
/**
|
|
222
222
|
* List all the policies that belong to a customer, the policies can be filtered by policy code, policy number.
|
|
223
|
-
* @summary List policies
|
|
223
|
+
* @summary List policies
|
|
224
224
|
* @param {string} customerCode The customer code or \"me\" for the currently logged in customer.
|
|
225
225
|
* @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 100. Default: 10.
|
|
226
226
|
* @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.
|
|
@@ -235,7 +235,7 @@ export declare const PoliciesApiFactory: (configuration?: Configuration, basePat
|
|
|
235
235
|
listPolicies(customerCode: string, pageSize?: any, pageToken?: any, filter?: any, search?: any, order?: any, expand?: any, authorization?: string, options?: any): AxiosPromise<ListPoliciesResponseClass>;
|
|
236
236
|
/**
|
|
237
237
|
* Request to update an existing policy by customer.
|
|
238
|
-
* @summary Request policy update
|
|
238
|
+
* @summary Request policy update
|
|
239
239
|
* @param {string} policyCode The code of the policy that the customer wants to update.
|
|
240
240
|
* @param {string} customerCode The customer code or \"me\" for the currently logged in customer.
|
|
241
241
|
* @param {RequestPolicyUpdateRequestDto} requestPolicyUpdateRequestDto
|
|
@@ -246,7 +246,7 @@ export declare const PoliciesApiFactory: (configuration?: Configuration, basePat
|
|
|
246
246
|
requestPolicyUpdate(policyCode: string, customerCode: string, requestPolicyUpdateRequestDto: RequestPolicyUpdateRequestDto, authorization?: string, options?: any): AxiosPromise<RequestPolicyUpdateResponseClass>;
|
|
247
247
|
/**
|
|
248
248
|
* Request to terminate an existing policy by customer.
|
|
249
|
-
* @summary Terminate a policy
|
|
249
|
+
* @summary Terminate a policy
|
|
250
250
|
* @param {string} policyCode The code of the policy that the customer wants to terminate.
|
|
251
251
|
* @param {string} customerCode The customer code or \"me\" for the currently logged in customer.
|
|
252
252
|
* @param {TerminateCustomerPolicyRequestDto} terminateCustomerPolicyRequestDto
|
|
@@ -267,7 +267,7 @@ export declare const PoliciesApiFactory: (configuration?: Configuration, basePat
|
|
|
267
267
|
uploadCustomerPolicyDocuments(customerCode: string, policyCode: string, uploadCustomerPolicyDocumentsRequestDto: UploadCustomerPolicyDocumentsRequestDto, options?: any): AxiosPromise<CreatePresignedPostResponseClass>;
|
|
268
268
|
/**
|
|
269
269
|
* Withdraw policy by customer.
|
|
270
|
-
* @summary Withdraw policy
|
|
270
|
+
* @summary Withdraw the policy
|
|
271
271
|
* @param {string} policyCode The code of the policy that the customer wants to withdraw.
|
|
272
272
|
* @param {string} customerCode The customer code or \"me\" for the currently logged in customer.
|
|
273
273
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
@@ -532,7 +532,7 @@ export declare class PoliciesApi extends BaseAPI {
|
|
|
532
532
|
getPolicy(requestParameters: PoliciesApiGetPolicyRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<GetPolicyResponseClass, any>>;
|
|
533
533
|
/**
|
|
534
534
|
* List all the policies that belong to a customer, the policies can be filtered by policy code, policy number.
|
|
535
|
-
* @summary List policies
|
|
535
|
+
* @summary List policies
|
|
536
536
|
* @param {PoliciesApiListPoliciesRequest} requestParameters Request parameters.
|
|
537
537
|
* @param {*} [options] Override http request option.
|
|
538
538
|
* @throws {RequiredError}
|
|
@@ -541,7 +541,7 @@ export declare class PoliciesApi extends BaseAPI {
|
|
|
541
541
|
listPolicies(requestParameters: PoliciesApiListPoliciesRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<ListPoliciesResponseClass, any>>;
|
|
542
542
|
/**
|
|
543
543
|
* Request to update an existing policy by customer.
|
|
544
|
-
* @summary Request policy update
|
|
544
|
+
* @summary Request policy update
|
|
545
545
|
* @param {PoliciesApiRequestPolicyUpdateRequest} requestParameters Request parameters.
|
|
546
546
|
* @param {*} [options] Override http request option.
|
|
547
547
|
* @throws {RequiredError}
|
|
@@ -550,7 +550,7 @@ export declare class PoliciesApi extends BaseAPI {
|
|
|
550
550
|
requestPolicyUpdate(requestParameters: PoliciesApiRequestPolicyUpdateRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<RequestPolicyUpdateResponseClass, any>>;
|
|
551
551
|
/**
|
|
552
552
|
* Request to terminate an existing policy by customer.
|
|
553
|
-
* @summary Terminate a policy
|
|
553
|
+
* @summary Terminate a policy
|
|
554
554
|
* @param {PoliciesApiTerminateCustomerPolicyRequest} requestParameters Request parameters.
|
|
555
555
|
* @param {*} [options] Override http request option.
|
|
556
556
|
* @throws {RequiredError}
|
|
@@ -568,7 +568,7 @@ export declare class PoliciesApi extends BaseAPI {
|
|
|
568
568
|
uploadCustomerPolicyDocuments(requestParameters: PoliciesApiUploadCustomerPolicyDocumentsRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<CreatePresignedPostResponseClass, any>>;
|
|
569
569
|
/**
|
|
570
570
|
* Withdraw policy by customer.
|
|
571
|
-
* @summary Withdraw policy
|
|
571
|
+
* @summary Withdraw the policy
|
|
572
572
|
* @param {PoliciesApiWithdrawCustomerPolicyRequest} requestParameters Request parameters.
|
|
573
573
|
* @param {*} [options] Override http request option.
|
|
574
574
|
* @throws {RequiredError}
|