@emilgroup/customer-sdk-node 1.46.1-beta.1 → 1.46.1-beta.3
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 +6 -0
- package/README.md +2 -2
- package/api/authentication-api.ts +4 -2
- package/dist/api/authentication-api.d.ts +4 -3
- package/dist/api/authentication-api.js +23 -60
- package/dist/api/claims-api.js +17 -46
- package/dist/api/customers-api.js +20 -53
- package/dist/api/default-api.js +5 -18
- package/dist/api/documents-api.d.ts +3 -3
- package/dist/api/documents-api.js +11 -32
- package/dist/api/invites-api.js +14 -39
- package/dist/api/invoices-api.js +5 -18
- package/dist/api/leads-api.js +14 -39
- package/dist/api/payments-api.js +8 -25
- package/dist/api/policies-api.js +23 -60
- package/dist/api/products-api.js +8 -25
- package/dist/base.js +15 -25
- package/dist/common.d.ts +1 -1
- package/dist/common.js +2 -2
- package/dist/models/complete-eis-payment-setup-request-dto.d.ts +36 -0
- package/dist/models/complete-eis-payment-setup-request-dto.js +15 -0
- package/dist/models/complete-payment-setup-psp-request.d.ts +7 -0
- package/dist/models/create-lead-request-dto.d.ts +1 -1
- package/dist/models/customer-product-class.d.ts +6 -0
- package/dist/models/index.d.ts +6 -0
- package/dist/models/index.js +6 -0
- package/dist/models/initiate-adyen-payment-setup-request-dto.d.ts +30 -0
- package/dist/models/initiate-adyen-payment-setup-request-dto.js +15 -0
- package/dist/models/initiate-braintree-payment-setup-request-dto.d.ts +30 -0
- package/dist/models/initiate-braintree-payment-setup-request-dto.js +15 -0
- package/dist/models/initiate-eis-payment-setup-request-dto.d.ts +30 -0
- package/dist/models/initiate-eis-payment-setup-request-dto.js +15 -0
- package/dist/models/initiate-payment-setup-request-dto.d.ts +28 -0
- package/dist/models/initiate-stripe-payment-setup-request-dto.d.ts +30 -0
- package/dist/models/initiate-stripe-payment-setup-request-dto.js +15 -0
- package/dist/models/shared-invoice-status-class.d.ts +2 -0
- package/dist/models/shared-invoice-status-class.js +3 -1
- package/dist/models/verify-reset-password-token-response-class.d.ts +36 -0
- package/dist/models/verify-reset-password-token-response-class.js +15 -0
- package/models/complete-eis-payment-setup-request-dto.ts +42 -0
- package/models/complete-payment-setup-psp-request.ts +7 -0
- package/models/create-lead-request-dto.ts +1 -1
- package/models/customer-product-class.ts +6 -0
- package/models/index.ts +6 -0
- package/models/initiate-adyen-payment-setup-request-dto.ts +36 -0
- package/models/initiate-braintree-payment-setup-request-dto.ts +36 -0
- package/models/initiate-eis-payment-setup-request-dto.ts +36 -0
- package/models/initiate-payment-setup-request-dto.ts +28 -0
- package/models/initiate-stripe-payment-setup-request-dto.ts +36 -0
- package/models/shared-invoice-status-class.ts +3 -1
- package/models/verify-reset-password-token-response-class.ts +42 -0
- package/package.json +4 -4
package/.openapi-generator/FILES
CHANGED
|
@@ -29,6 +29,7 @@ models/change-password-response-class.ts
|
|
|
29
29
|
models/claim-class.ts
|
|
30
30
|
models/complete-adyen-payment-setup-request-dto.ts
|
|
31
31
|
models/complete-braintree-payment-setup-request-dto.ts
|
|
32
|
+
models/complete-eis-payment-setup-request-dto.ts
|
|
32
33
|
models/complete-payment-setup-psp-request.ts
|
|
33
34
|
models/complete-payment-setup-response-class.ts
|
|
34
35
|
models/complete-stripe-payment-setup-request-dto.ts
|
|
@@ -55,12 +56,16 @@ models/get-policy-response-class.ts
|
|
|
55
56
|
models/get-product-response-class.ts
|
|
56
57
|
models/grpc-update-lead-request-dto.ts
|
|
57
58
|
models/index.ts
|
|
59
|
+
models/initiate-adyen-payment-setup-request-dto.ts
|
|
58
60
|
models/initiate-adyen-payment-setup-response-class.ts
|
|
59
61
|
models/initiate-auth-request-dto.ts
|
|
60
62
|
models/initiate-auth-response-class.ts
|
|
63
|
+
models/initiate-braintree-payment-setup-request-dto.ts
|
|
61
64
|
models/initiate-braintree-payment-setup-response-class.ts
|
|
65
|
+
models/initiate-eis-payment-setup-request-dto.ts
|
|
62
66
|
models/initiate-payment-setup-request-dto.ts
|
|
63
67
|
models/initiate-payment-setup-response-class.ts
|
|
68
|
+
models/initiate-stripe-payment-setup-request-dto.ts
|
|
64
69
|
models/initiate-stripe-payment-setup-response-class.ts
|
|
65
70
|
models/inline-response200.ts
|
|
66
71
|
models/inline-response503.ts
|
|
@@ -120,6 +125,7 @@ models/uploaded-document-dto.ts
|
|
|
120
125
|
models/verify-change-email-token-request-dto.ts
|
|
121
126
|
models/verify-change-email-token-response-class.ts
|
|
122
127
|
models/verify-customer-invite-response-class.ts
|
|
128
|
+
models/verify-reset-password-token-response-class.ts
|
|
123
129
|
models/withdraw-customer-policy-response-class.ts
|
|
124
130
|
package.json
|
|
125
131
|
tsconfig.json
|
package/README.md
CHANGED
|
@@ -17,11 +17,11 @@ Although this package can be used in both TypeScript and JavaScript, it is inten
|
|
|
17
17
|
Navigate to the folder of your consuming project and run one of the following commands:
|
|
18
18
|
|
|
19
19
|
```
|
|
20
|
-
npm install @emilgroup/customer-sdk-node@1.46.1-beta.
|
|
20
|
+
npm install @emilgroup/customer-sdk-node@1.46.1-beta.3 --save
|
|
21
21
|
```
|
|
22
22
|
or
|
|
23
23
|
```
|
|
24
|
-
yarn add @emilgroup/customer-sdk-node@1.46.1-beta.
|
|
24
|
+
yarn add @emilgroup/customer-sdk-node@1.46.1-beta.3
|
|
25
25
|
```
|
|
26
26
|
|
|
27
27
|
And then you can import `CustomersApi`.
|
|
@@ -38,6 +38,8 @@ import { ResetPasswordByCustomerRequestDto } from '../models';
|
|
|
38
38
|
import { RespondToAuthChallengeClass } from '../models';
|
|
39
39
|
// @ts-ignore
|
|
40
40
|
import { RespondToAuthChallengeRequestDto } from '../models';
|
|
41
|
+
// @ts-ignore
|
|
42
|
+
import { VerifyResetPasswordTokenResponseClass } from '../models';
|
|
41
43
|
// URLSearchParams not necessarily used
|
|
42
44
|
// @ts-ignore
|
|
43
45
|
import { URL, URLSearchParams } from 'url';
|
|
@@ -415,7 +417,7 @@ export const AuthenticationApiFp = function(configuration?: Configuration) {
|
|
|
415
417
|
* @param {*} [options] Override http request option.
|
|
416
418
|
* @throws {RequiredError}
|
|
417
419
|
*/
|
|
418
|
-
async verifyResetPasswordToken(resetToken: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<
|
|
420
|
+
async verifyResetPasswordToken(resetToken: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<VerifyResetPasswordTokenResponseClass>> {
|
|
419
421
|
const localVarAxiosArgs = await localVarAxiosParamCreator.verifyResetPasswordToken(resetToken, options);
|
|
420
422
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
421
423
|
},
|
|
@@ -499,7 +501,7 @@ export const AuthenticationApiFactory = function (configuration?: Configuration,
|
|
|
499
501
|
* @param {*} [options] Override http request option.
|
|
500
502
|
* @throws {RequiredError}
|
|
501
503
|
*/
|
|
502
|
-
verifyResetPasswordToken(resetToken: string, options?: any): AxiosPromise<
|
|
504
|
+
verifyResetPasswordToken(resetToken: string, options?: any): AxiosPromise<VerifyResetPasswordTokenResponseClass> {
|
|
503
505
|
return localVarFp.verifyResetPasswordToken(resetToken, options).then((request) => request(axios, basePath));
|
|
504
506
|
},
|
|
505
507
|
};
|
|
@@ -21,6 +21,7 @@ import { RefreshTokenDto } from '../models';
|
|
|
21
21
|
import { ResetPasswordByCustomerRequestDto } from '../models';
|
|
22
22
|
import { RespondToAuthChallengeClass } from '../models';
|
|
23
23
|
import { RespondToAuthChallengeRequestDto } from '../models';
|
|
24
|
+
import { VerifyResetPasswordTokenResponseClass } from '../models';
|
|
24
25
|
/**
|
|
25
26
|
* AuthenticationApi - axios parameter creator
|
|
26
27
|
* @export
|
|
@@ -149,7 +150,7 @@ export declare const AuthenticationApiFp: (configuration?: Configuration) => {
|
|
|
149
150
|
* @param {*} [options] Override http request option.
|
|
150
151
|
* @throws {RequiredError}
|
|
151
152
|
*/
|
|
152
|
-
verifyResetPasswordToken(resetToken: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<
|
|
153
|
+
verifyResetPasswordToken(resetToken: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<VerifyResetPasswordTokenResponseClass>>;
|
|
153
154
|
};
|
|
154
155
|
/**
|
|
155
156
|
* AuthenticationApi - factory interface
|
|
@@ -214,7 +215,7 @@ export declare const AuthenticationApiFactory: (configuration?: Configuration, b
|
|
|
214
215
|
* @param {*} [options] Override http request option.
|
|
215
216
|
* @throws {RequiredError}
|
|
216
217
|
*/
|
|
217
|
-
verifyResetPasswordToken(resetToken: string, options?: any): AxiosPromise<
|
|
218
|
+
verifyResetPasswordToken(resetToken: string, options?: any): AxiosPromise<VerifyResetPasswordTokenResponseClass>;
|
|
218
219
|
};
|
|
219
220
|
/**
|
|
220
221
|
* Request parameters for changePassword operation in AuthenticationApi.
|
|
@@ -394,5 +395,5 @@ export declare class AuthenticationApi extends BaseAPI {
|
|
|
394
395
|
* @throws {RequiredError}
|
|
395
396
|
* @memberof AuthenticationApi
|
|
396
397
|
*/
|
|
397
|
-
verifyResetPasswordToken(requestParameters: AuthenticationApiVerifyResetPasswordTokenRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<
|
|
398
|
+
verifyResetPasswordToken(requestParameters: AuthenticationApiVerifyResetPasswordTokenRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<VerifyResetPasswordTokenResponseClass, any>>;
|
|
398
399
|
}
|
|
@@ -48,8 +48,8 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
|
|
|
48
48
|
});
|
|
49
49
|
};
|
|
50
50
|
var __generator = (this && this.__generator) || function (thisArg, body) {
|
|
51
|
-
var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g
|
|
52
|
-
return g
|
|
51
|
+
var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g;
|
|
52
|
+
return g = { next: verb(0), "throw": verb(1), "return": verb(2) }, typeof Symbol === "function" && (g[Symbol.iterator] = function() { return this; }), g;
|
|
53
53
|
function verb(n) { return function (v) { return step([n, v]); }; }
|
|
54
54
|
function step(op) {
|
|
55
55
|
if (f) throw new TypeError("Generator is already executing.");
|
|
@@ -74,15 +74,6 @@ var __generator = (this && this.__generator) || function (thisArg, body) {
|
|
|
74
74
|
if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true };
|
|
75
75
|
}
|
|
76
76
|
};
|
|
77
|
-
var __spreadArray = (this && this.__spreadArray) || function (to, from, pack) {
|
|
78
|
-
if (pack || arguments.length === 2) for (var i = 0, l = from.length, ar; i < l; i++) {
|
|
79
|
-
if (ar || !(i in from)) {
|
|
80
|
-
if (!ar) ar = Array.prototype.slice.call(from, 0, i);
|
|
81
|
-
ar[i] = from[i];
|
|
82
|
-
}
|
|
83
|
-
}
|
|
84
|
-
return to.concat(ar || Array.prototype.slice.call(from));
|
|
85
|
-
};
|
|
86
77
|
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
87
78
|
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
88
79
|
};
|
|
@@ -114,14 +105,10 @@ var AuthenticationApiAxiosParamCreator = function (configuration) {
|
|
|
114
105
|
* @param {*} [options] Override http request option.
|
|
115
106
|
* @throws {RequiredError}
|
|
116
107
|
*/
|
|
117
|
-
changePassword: function (
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
args_1[_i - 3] = arguments[_i];
|
|
121
|
-
}
|
|
122
|
-
return __awaiter(_this, __spreadArray([customerCode_1, changePasswordRequestDto_1, authorization_1], args_1, true), void 0, function (customerCode, changePasswordRequestDto, authorization, options) {
|
|
108
|
+
changePassword: function (customerCode, changePasswordRequestDto, authorization, options) {
|
|
109
|
+
if (options === void 0) { options = {}; }
|
|
110
|
+
return __awaiter(_this, void 0, void 0, function () {
|
|
123
111
|
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
124
|
-
if (options === void 0) { options = {}; }
|
|
125
112
|
return __generator(this, function (_a) {
|
|
126
113
|
// verify required parameter 'customerCode' is not null or undefined
|
|
127
114
|
(0, common_1.assertParamExists)('changePassword', 'customerCode', customerCode);
|
|
@@ -159,14 +146,10 @@ var AuthenticationApiAxiosParamCreator = function (configuration) {
|
|
|
159
146
|
* @param {*} [options] Override http request option.
|
|
160
147
|
* @throws {RequiredError}
|
|
161
148
|
*/
|
|
162
|
-
forgotPassword: function (
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
args_1[_i - 1] = arguments[_i];
|
|
166
|
-
}
|
|
167
|
-
return __awaiter(_this, __spreadArray([forgotPasswordRequestDto_1], args_1, true), void 0, function (forgotPasswordRequestDto, options) {
|
|
149
|
+
forgotPassword: function (forgotPasswordRequestDto, options) {
|
|
150
|
+
if (options === void 0) { options = {}; }
|
|
151
|
+
return __awaiter(_this, void 0, void 0, function () {
|
|
168
152
|
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
169
|
-
if (options === void 0) { options = {}; }
|
|
170
153
|
return __generator(this, function (_a) {
|
|
171
154
|
// verify required parameter 'forgotPasswordRequestDto' is not null or undefined
|
|
172
155
|
(0, common_1.assertParamExists)('forgotPassword', 'forgotPasswordRequestDto', forgotPasswordRequestDto);
|
|
@@ -198,14 +181,10 @@ var AuthenticationApiAxiosParamCreator = function (configuration) {
|
|
|
198
181
|
* @param {*} [options] Override http request option.
|
|
199
182
|
* @throws {RequiredError}
|
|
200
183
|
*/
|
|
201
|
-
initiateAuth: function (
|
|
202
|
-
|
|
203
|
-
|
|
204
|
-
args_1[_i - 1] = arguments[_i];
|
|
205
|
-
}
|
|
206
|
-
return __awaiter(_this, __spreadArray([initiateAuthRequestDto_1], args_1, true), void 0, function (initiateAuthRequestDto, options) {
|
|
184
|
+
initiateAuth: function (initiateAuthRequestDto, options) {
|
|
185
|
+
if (options === void 0) { options = {}; }
|
|
186
|
+
return __awaiter(_this, void 0, void 0, function () {
|
|
207
187
|
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
208
|
-
if (options === void 0) { options = {}; }
|
|
209
188
|
return __generator(this, function (_a) {
|
|
210
189
|
// verify required parameter 'initiateAuthRequestDto' is not null or undefined
|
|
211
190
|
(0, common_1.assertParamExists)('initiateAuth', 'initiateAuthRequestDto', initiateAuthRequestDto);
|
|
@@ -238,14 +217,10 @@ var AuthenticationApiAxiosParamCreator = function (configuration) {
|
|
|
238
217
|
* @param {*} [options] Override http request option.
|
|
239
218
|
* @throws {RequiredError}
|
|
240
219
|
*/
|
|
241
|
-
refreshToken: function (
|
|
242
|
-
|
|
243
|
-
|
|
244
|
-
args_1[_i - 2] = arguments[_i];
|
|
245
|
-
}
|
|
246
|
-
return __awaiter(_this, __spreadArray([refreshTokenDto_1, cookie_1], args_1, true), void 0, function (refreshTokenDto, cookie, options) {
|
|
220
|
+
refreshToken: function (refreshTokenDto, cookie, options) {
|
|
221
|
+
if (options === void 0) { options = {}; }
|
|
222
|
+
return __awaiter(_this, void 0, void 0, function () {
|
|
247
223
|
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
248
|
-
if (options === void 0) { options = {}; }
|
|
249
224
|
return __generator(this, function (_a) {
|
|
250
225
|
// verify required parameter 'refreshTokenDto' is not null or undefined
|
|
251
226
|
(0, common_1.assertParamExists)('refreshToken', 'refreshTokenDto', refreshTokenDto);
|
|
@@ -280,14 +255,10 @@ var AuthenticationApiAxiosParamCreator = function (configuration) {
|
|
|
280
255
|
* @param {*} [options] Override http request option.
|
|
281
256
|
* @throws {RequiredError}
|
|
282
257
|
*/
|
|
283
|
-
resetPassword: function (
|
|
284
|
-
|
|
285
|
-
|
|
286
|
-
args_1[_i - 1] = arguments[_i];
|
|
287
|
-
}
|
|
288
|
-
return __awaiter(_this, __spreadArray([resetPasswordByCustomerRequestDto_1], args_1, true), void 0, function (resetPasswordByCustomerRequestDto, options) {
|
|
258
|
+
resetPassword: function (resetPasswordByCustomerRequestDto, options) {
|
|
259
|
+
if (options === void 0) { options = {}; }
|
|
260
|
+
return __awaiter(_this, void 0, void 0, function () {
|
|
289
261
|
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
290
|
-
if (options === void 0) { options = {}; }
|
|
291
262
|
return __generator(this, function (_a) {
|
|
292
263
|
// verify required parameter 'resetPasswordByCustomerRequestDto' is not null or undefined
|
|
293
264
|
(0, common_1.assertParamExists)('resetPassword', 'resetPasswordByCustomerRequestDto', resetPasswordByCustomerRequestDto);
|
|
@@ -319,14 +290,10 @@ var AuthenticationApiAxiosParamCreator = function (configuration) {
|
|
|
319
290
|
* @param {*} [options] Override http request option.
|
|
320
291
|
* @throws {RequiredError}
|
|
321
292
|
*/
|
|
322
|
-
respondToAuthChallenge: function (
|
|
323
|
-
|
|
324
|
-
|
|
325
|
-
args_1[_i - 1] = arguments[_i];
|
|
326
|
-
}
|
|
327
|
-
return __awaiter(_this, __spreadArray([respondToAuthChallengeRequestDto_1], args_1, true), void 0, function (respondToAuthChallengeRequestDto, options) {
|
|
293
|
+
respondToAuthChallenge: function (respondToAuthChallengeRequestDto, options) {
|
|
294
|
+
if (options === void 0) { options = {}; }
|
|
295
|
+
return __awaiter(_this, void 0, void 0, function () {
|
|
328
296
|
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
329
|
-
if (options === void 0) { options = {}; }
|
|
330
297
|
return __generator(this, function (_a) {
|
|
331
298
|
// verify required parameter 'respondToAuthChallengeRequestDto' is not null or undefined
|
|
332
299
|
(0, common_1.assertParamExists)('respondToAuthChallenge', 'respondToAuthChallengeRequestDto', respondToAuthChallengeRequestDto);
|
|
@@ -358,14 +325,10 @@ var AuthenticationApiAxiosParamCreator = function (configuration) {
|
|
|
358
325
|
* @param {*} [options] Override http request option.
|
|
359
326
|
* @throws {RequiredError}
|
|
360
327
|
*/
|
|
361
|
-
verifyResetPasswordToken: function (
|
|
362
|
-
|
|
363
|
-
|
|
364
|
-
args_1[_i - 1] = arguments[_i];
|
|
365
|
-
}
|
|
366
|
-
return __awaiter(_this, __spreadArray([resetToken_1], args_1, true), void 0, function (resetToken, options) {
|
|
328
|
+
verifyResetPasswordToken: function (resetToken, options) {
|
|
329
|
+
if (options === void 0) { options = {}; }
|
|
330
|
+
return __awaiter(_this, void 0, void 0, function () {
|
|
367
331
|
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
368
|
-
if (options === void 0) { options = {}; }
|
|
369
332
|
return __generator(this, function (_a) {
|
|
370
333
|
// verify required parameter 'resetToken' is not null or undefined
|
|
371
334
|
(0, common_1.assertParamExists)('verifyResetPasswordToken', 'resetToken', resetToken);
|
package/dist/api/claims-api.js
CHANGED
|
@@ -48,8 +48,8 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
|
|
|
48
48
|
});
|
|
49
49
|
};
|
|
50
50
|
var __generator = (this && this.__generator) || function (thisArg, body) {
|
|
51
|
-
var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g
|
|
52
|
-
return g
|
|
51
|
+
var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g;
|
|
52
|
+
return g = { next: verb(0), "throw": verb(1), "return": verb(2) }, typeof Symbol === "function" && (g[Symbol.iterator] = function() { return this; }), g;
|
|
53
53
|
function verb(n) { return function (v) { return step([n, v]); }; }
|
|
54
54
|
function step(op) {
|
|
55
55
|
if (f) throw new TypeError("Generator is already executing.");
|
|
@@ -74,15 +74,6 @@ var __generator = (this && this.__generator) || function (thisArg, body) {
|
|
|
74
74
|
if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true };
|
|
75
75
|
}
|
|
76
76
|
};
|
|
77
|
-
var __spreadArray = (this && this.__spreadArray) || function (to, from, pack) {
|
|
78
|
-
if (pack || arguments.length === 2) for (var i = 0, l = from.length, ar; i < l; i++) {
|
|
79
|
-
if (ar || !(i in from)) {
|
|
80
|
-
if (!ar) ar = Array.prototype.slice.call(from, 0, i);
|
|
81
|
-
ar[i] = from[i];
|
|
82
|
-
}
|
|
83
|
-
}
|
|
84
|
-
return to.concat(ar || Array.prototype.slice.call(from));
|
|
85
|
-
};
|
|
86
77
|
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
87
78
|
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
88
79
|
};
|
|
@@ -114,14 +105,10 @@ var ClaimsApiAxiosParamCreator = function (configuration) {
|
|
|
114
105
|
* @param {*} [options] Override http request option.
|
|
115
106
|
* @throws {RequiredError}
|
|
116
107
|
*/
|
|
117
|
-
createCustomerClaim: function (
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
args_1[_i - 3] = arguments[_i];
|
|
121
|
-
}
|
|
122
|
-
return __awaiter(_this, __spreadArray([customerCode_1, createCustomerClaimRequestDto_1, authorization_1], args_1, true), void 0, function (customerCode, createCustomerClaimRequestDto, authorization, options) {
|
|
108
|
+
createCustomerClaim: function (customerCode, createCustomerClaimRequestDto, authorization, options) {
|
|
109
|
+
if (options === void 0) { options = {}; }
|
|
110
|
+
return __awaiter(_this, void 0, void 0, function () {
|
|
123
111
|
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
124
|
-
if (options === void 0) { options = {}; }
|
|
125
112
|
return __generator(this, function (_a) {
|
|
126
113
|
switch (_a.label) {
|
|
127
114
|
case 0:
|
|
@@ -171,14 +158,10 @@ var ClaimsApiAxiosParamCreator = function (configuration) {
|
|
|
171
158
|
* @param {*} [options] Override http request option.
|
|
172
159
|
* @throws {RequiredError}
|
|
173
160
|
*/
|
|
174
|
-
getCustomerClaim: function (
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
args_1[_i - 3] = arguments[_i];
|
|
178
|
-
}
|
|
179
|
-
return __awaiter(_this, __spreadArray([customerCode_1, claimCode_1, authorization_1], args_1, true), void 0, function (customerCode, claimCode, authorization, options) {
|
|
161
|
+
getCustomerClaim: function (customerCode, claimCode, authorization, options) {
|
|
162
|
+
if (options === void 0) { options = {}; }
|
|
163
|
+
return __awaiter(_this, void 0, void 0, function () {
|
|
180
164
|
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
181
|
-
if (options === void 0) { options = {}; }
|
|
182
165
|
return __generator(this, function (_a) {
|
|
183
166
|
switch (_a.label) {
|
|
184
167
|
case 0:
|
|
@@ -233,14 +216,10 @@ var ClaimsApiAxiosParamCreator = function (configuration) {
|
|
|
233
216
|
* @param {*} [options] Override http request option.
|
|
234
217
|
* @throws {RequiredError}
|
|
235
218
|
*/
|
|
236
|
-
listCustomerClaims: function (
|
|
237
|
-
|
|
238
|
-
|
|
239
|
-
args_1[_i - 9] = arguments[_i];
|
|
240
|
-
}
|
|
241
|
-
return __awaiter(_this, __spreadArray([customerCode_1, authorization_1, pageSize_1, pageToken_1, filter_1, search_1, order_1, expand_1, filters_1], args_1, true), void 0, function (customerCode, authorization, pageSize, pageToken, filter, search, order, expand, filters, options) {
|
|
219
|
+
listCustomerClaims: function (customerCode, authorization, pageSize, pageToken, filter, search, order, expand, filters, options) {
|
|
220
|
+
if (options === void 0) { options = {}; }
|
|
221
|
+
return __awaiter(_this, void 0, void 0, function () {
|
|
242
222
|
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
243
|
-
if (options === void 0) { options = {}; }
|
|
244
223
|
return __generator(this, function (_a) {
|
|
245
224
|
switch (_a.label) {
|
|
246
225
|
case 0:
|
|
@@ -308,14 +287,10 @@ var ClaimsApiAxiosParamCreator = function (configuration) {
|
|
|
308
287
|
* @param {*} [options] Override http request option.
|
|
309
288
|
* @throws {RequiredError}
|
|
310
289
|
*/
|
|
311
|
-
updateCustomerClaim: function (
|
|
312
|
-
|
|
313
|
-
|
|
314
|
-
args_1[_i - 4] = arguments[_i];
|
|
315
|
-
}
|
|
316
|
-
return __awaiter(_this, __spreadArray([customerCode_1, claimCode_1, updateCustomerClaimRequestDto_1, authorization_1], args_1, true), void 0, function (customerCode, claimCode, updateCustomerClaimRequestDto, authorization, options) {
|
|
290
|
+
updateCustomerClaim: function (customerCode, claimCode, updateCustomerClaimRequestDto, authorization, options) {
|
|
291
|
+
if (options === void 0) { options = {}; }
|
|
292
|
+
return __awaiter(_this, void 0, void 0, function () {
|
|
317
293
|
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
318
|
-
if (options === void 0) { options = {}; }
|
|
319
294
|
return __generator(this, function (_a) {
|
|
320
295
|
switch (_a.label) {
|
|
321
296
|
case 0:
|
|
@@ -369,14 +344,10 @@ var ClaimsApiAxiosParamCreator = function (configuration) {
|
|
|
369
344
|
* @param {*} [options] Override http request option.
|
|
370
345
|
* @throws {RequiredError}
|
|
371
346
|
*/
|
|
372
|
-
uploadCustomerClaimDocuments: function (
|
|
373
|
-
|
|
374
|
-
|
|
375
|
-
args_1[_i - 4] = arguments[_i];
|
|
376
|
-
}
|
|
377
|
-
return __awaiter(_this, __spreadArray([customerCode_1, claimCode_1, uploadCustomerClaimDocumentsRequestDto_1, authorization_1], args_1, true), void 0, function (customerCode, claimCode, uploadCustomerClaimDocumentsRequestDto, authorization, options) {
|
|
347
|
+
uploadCustomerClaimDocuments: function (customerCode, claimCode, uploadCustomerClaimDocumentsRequestDto, authorization, options) {
|
|
348
|
+
if (options === void 0) { options = {}; }
|
|
349
|
+
return __awaiter(_this, void 0, void 0, function () {
|
|
378
350
|
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
379
|
-
if (options === void 0) { options = {}; }
|
|
380
351
|
return __generator(this, function (_a) {
|
|
381
352
|
switch (_a.label) {
|
|
382
353
|
case 0:
|
|
@@ -48,8 +48,8 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
|
|
|
48
48
|
});
|
|
49
49
|
};
|
|
50
50
|
var __generator = (this && this.__generator) || function (thisArg, body) {
|
|
51
|
-
var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g
|
|
52
|
-
return g
|
|
51
|
+
var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g;
|
|
52
|
+
return g = { next: verb(0), "throw": verb(1), "return": verb(2) }, typeof Symbol === "function" && (g[Symbol.iterator] = function() { return this; }), g;
|
|
53
53
|
function verb(n) { return function (v) { return step([n, v]); }; }
|
|
54
54
|
function step(op) {
|
|
55
55
|
if (f) throw new TypeError("Generator is already executing.");
|
|
@@ -74,15 +74,6 @@ var __generator = (this && this.__generator) || function (thisArg, body) {
|
|
|
74
74
|
if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true };
|
|
75
75
|
}
|
|
76
76
|
};
|
|
77
|
-
var __spreadArray = (this && this.__spreadArray) || function (to, from, pack) {
|
|
78
|
-
if (pack || arguments.length === 2) for (var i = 0, l = from.length, ar; i < l; i++) {
|
|
79
|
-
if (ar || !(i in from)) {
|
|
80
|
-
if (!ar) ar = Array.prototype.slice.call(from, 0, i);
|
|
81
|
-
ar[i] = from[i];
|
|
82
|
-
}
|
|
83
|
-
}
|
|
84
|
-
return to.concat(ar || Array.prototype.slice.call(from));
|
|
85
|
-
};
|
|
86
77
|
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
87
78
|
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
88
79
|
};
|
|
@@ -112,14 +103,10 @@ var CustomersApiAxiosParamCreator = function (configuration) {
|
|
|
112
103
|
* @param {*} [options] Override http request option.
|
|
113
104
|
* @throws {RequiredError}
|
|
114
105
|
*/
|
|
115
|
-
changeCustomerEmail: function (
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
args_1[_i - 1] = arguments[_i];
|
|
119
|
-
}
|
|
120
|
-
return __awaiter(_this, __spreadArray([changeCustomerEmailRequestDto_1], args_1, true), void 0, function (changeCustomerEmailRequestDto, options) {
|
|
106
|
+
changeCustomerEmail: function (changeCustomerEmailRequestDto, options) {
|
|
107
|
+
if (options === void 0) { options = {}; }
|
|
108
|
+
return __awaiter(_this, void 0, void 0, function () {
|
|
121
109
|
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
122
|
-
if (options === void 0) { options = {}; }
|
|
123
110
|
return __generator(this, function (_a) {
|
|
124
111
|
// verify required parameter 'changeCustomerEmailRequestDto' is not null or undefined
|
|
125
112
|
(0, common_1.assertParamExists)('changeCustomerEmail', 'changeCustomerEmailRequestDto', changeCustomerEmailRequestDto);
|
|
@@ -153,14 +140,10 @@ var CustomersApiAxiosParamCreator = function (configuration) {
|
|
|
153
140
|
* @param {*} [options] Override http request option.
|
|
154
141
|
* @throws {RequiredError}
|
|
155
142
|
*/
|
|
156
|
-
getCustomer: function (
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
args_1[_i - 3] = arguments[_i];
|
|
160
|
-
}
|
|
161
|
-
return __awaiter(_this, __spreadArray([customerCode_1, expand_1, authorization_1], args_1, true), void 0, function (customerCode, expand, authorization, options) {
|
|
143
|
+
getCustomer: function (customerCode, expand, authorization, options) {
|
|
144
|
+
if (options === void 0) { options = {}; }
|
|
145
|
+
return __awaiter(_this, void 0, void 0, function () {
|
|
162
146
|
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
163
|
-
if (options === void 0) { options = {}; }
|
|
164
147
|
return __generator(this, function (_a) {
|
|
165
148
|
// verify required parameter 'customerCode' is not null or undefined
|
|
166
149
|
(0, common_1.assertParamExists)('getCustomer', 'customerCode', customerCode);
|
|
@@ -204,14 +187,10 @@ var CustomersApiAxiosParamCreator = function (configuration) {
|
|
|
204
187
|
* @param {*} [options] Override http request option.
|
|
205
188
|
* @throws {RequiredError}
|
|
206
189
|
*/
|
|
207
|
-
listCustomers: function (
|
|
208
|
-
|
|
209
|
-
|
|
210
|
-
args_1[_i - 8] = arguments[_i];
|
|
211
|
-
}
|
|
212
|
-
return __awaiter(_this, __spreadArray([pageSize_1, pageToken_1, filter_1, search_1, order_1, expand_1, filters_1, authorization_1], args_1, true), void 0, function (pageSize, pageToken, filter, search, order, expand, filters, authorization, options) {
|
|
190
|
+
listCustomers: function (pageSize, pageToken, filter, search, order, expand, filters, authorization, options) {
|
|
191
|
+
if (options === void 0) { options = {}; }
|
|
192
|
+
return __awaiter(_this, void 0, void 0, function () {
|
|
213
193
|
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
214
|
-
if (options === void 0) { options = {}; }
|
|
215
194
|
return __generator(this, function (_a) {
|
|
216
195
|
localVarPath = "/v1/customers";
|
|
217
196
|
localVarUrlObj = new url_1.URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
@@ -265,14 +244,10 @@ var CustomersApiAxiosParamCreator = function (configuration) {
|
|
|
265
244
|
* @param {*} [options] Override http request option.
|
|
266
245
|
* @throws {RequiredError}
|
|
267
246
|
*/
|
|
268
|
-
requestChangeEmailByCustomer: function (
|
|
269
|
-
|
|
270
|
-
|
|
271
|
-
args_1[_i - 3] = arguments[_i];
|
|
272
|
-
}
|
|
273
|
-
return __awaiter(_this, __spreadArray([customerCode_1, requestChangeEmailByCustomerRequestDto_1, authorization_1], args_1, true), void 0, function (customerCode, requestChangeEmailByCustomerRequestDto, authorization, options) {
|
|
247
|
+
requestChangeEmailByCustomer: function (customerCode, requestChangeEmailByCustomerRequestDto, authorization, options) {
|
|
248
|
+
if (options === void 0) { options = {}; }
|
|
249
|
+
return __awaiter(_this, void 0, void 0, function () {
|
|
274
250
|
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
275
|
-
if (options === void 0) { options = {}; }
|
|
276
251
|
return __generator(this, function (_a) {
|
|
277
252
|
// verify required parameter 'customerCode' is not null or undefined
|
|
278
253
|
(0, common_1.assertParamExists)('requestChangeEmailByCustomer', 'customerCode', customerCode);
|
|
@@ -312,14 +287,10 @@ var CustomersApiAxiosParamCreator = function (configuration) {
|
|
|
312
287
|
* @param {*} [options] Override http request option.
|
|
313
288
|
* @throws {RequiredError}
|
|
314
289
|
*/
|
|
315
|
-
updateCustomer: function (
|
|
316
|
-
|
|
317
|
-
|
|
318
|
-
args_1[_i - 3] = arguments[_i];
|
|
319
|
-
}
|
|
320
|
-
return __awaiter(_this, __spreadArray([customerCode_1, updateCustomerRequestDto_1, authorization_1], args_1, true), void 0, function (customerCode, updateCustomerRequestDto, authorization, options) {
|
|
290
|
+
updateCustomer: function (customerCode, updateCustomerRequestDto, authorization, options) {
|
|
291
|
+
if (options === void 0) { options = {}; }
|
|
292
|
+
return __awaiter(_this, void 0, void 0, function () {
|
|
321
293
|
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
322
|
-
if (options === void 0) { options = {}; }
|
|
323
294
|
return __generator(this, function (_a) {
|
|
324
295
|
// verify required parameter 'customerCode' is not null or undefined
|
|
325
296
|
(0, common_1.assertParamExists)('updateCustomer', 'customerCode', customerCode);
|
|
@@ -358,14 +329,10 @@ var CustomersApiAxiosParamCreator = function (configuration) {
|
|
|
358
329
|
* @param {*} [options] Override http request option.
|
|
359
330
|
* @throws {RequiredError}
|
|
360
331
|
*/
|
|
361
|
-
verifyChangeEmailToken: function (
|
|
362
|
-
|
|
363
|
-
|
|
364
|
-
args_1[_i - 2] = arguments[_i];
|
|
365
|
-
}
|
|
366
|
-
return __awaiter(_this, __spreadArray([verifyChangeEmailTokenRequestDto_1, authorization_1], args_1, true), void 0, function (verifyChangeEmailTokenRequestDto, authorization, options) {
|
|
332
|
+
verifyChangeEmailToken: function (verifyChangeEmailTokenRequestDto, authorization, options) {
|
|
333
|
+
if (options === void 0) { options = {}; }
|
|
334
|
+
return __awaiter(_this, void 0, void 0, function () {
|
|
367
335
|
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
368
|
-
if (options === void 0) { options = {}; }
|
|
369
336
|
return __generator(this, function (_a) {
|
|
370
337
|
// verify required parameter 'verifyChangeEmailTokenRequestDto' is not null or undefined
|
|
371
338
|
(0, common_1.assertParamExists)('verifyChangeEmailToken', 'verifyChangeEmailTokenRequestDto', verifyChangeEmailTokenRequestDto);
|
package/dist/api/default-api.js
CHANGED
|
@@ -48,8 +48,8 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
|
|
|
48
48
|
});
|
|
49
49
|
};
|
|
50
50
|
var __generator = (this && this.__generator) || function (thisArg, body) {
|
|
51
|
-
var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g
|
|
52
|
-
return g
|
|
51
|
+
var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g;
|
|
52
|
+
return g = { next: verb(0), "throw": verb(1), "return": verb(2) }, typeof Symbol === "function" && (g[Symbol.iterator] = function() { return this; }), g;
|
|
53
53
|
function verb(n) { return function (v) { return step([n, v]); }; }
|
|
54
54
|
function step(op) {
|
|
55
55
|
if (f) throw new TypeError("Generator is already executing.");
|
|
@@ -74,15 +74,6 @@ var __generator = (this && this.__generator) || function (thisArg, body) {
|
|
|
74
74
|
if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true };
|
|
75
75
|
}
|
|
76
76
|
};
|
|
77
|
-
var __spreadArray = (this && this.__spreadArray) || function (to, from, pack) {
|
|
78
|
-
if (pack || arguments.length === 2) for (var i = 0, l = from.length, ar; i < l; i++) {
|
|
79
|
-
if (ar || !(i in from)) {
|
|
80
|
-
if (!ar) ar = Array.prototype.slice.call(from, 0, i);
|
|
81
|
-
ar[i] = from[i];
|
|
82
|
-
}
|
|
83
|
-
}
|
|
84
|
-
return to.concat(ar || Array.prototype.slice.call(from));
|
|
85
|
-
};
|
|
86
77
|
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
87
78
|
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
88
79
|
};
|
|
@@ -110,14 +101,10 @@ var DefaultApiAxiosParamCreator = function (configuration) {
|
|
|
110
101
|
* @param {*} [options] Override http request option.
|
|
111
102
|
* @throws {RequiredError}
|
|
112
103
|
*/
|
|
113
|
-
check: function () {
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
args_1[_i] = arguments[_i];
|
|
117
|
-
}
|
|
118
|
-
return __awaiter(_this, __spreadArray([], args_1, true), void 0, function (options) {
|
|
104
|
+
check: function (options) {
|
|
105
|
+
if (options === void 0) { options = {}; }
|
|
106
|
+
return __awaiter(_this, void 0, void 0, function () {
|
|
119
107
|
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
120
|
-
if (options === void 0) { options = {}; }
|
|
121
108
|
return __generator(this, function (_a) {
|
|
122
109
|
localVarPath = "/customerservice/health";
|
|
123
110
|
localVarUrlObj = new url_1.URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
@@ -31,7 +31,7 @@ export declare const DocumentsApiAxiosParamCreator: (configuration?: Configurati
|
|
|
31
31
|
* @param {*} [options] Override http request option.
|
|
32
32
|
* @throws {RequiredError}
|
|
33
33
|
*/
|
|
34
|
-
getCustomerDocumentDownloadUrl: (documentCode: string, customerCode: string, contentDisposition?:
|
|
34
|
+
getCustomerDocumentDownloadUrl: (documentCode: string, customerCode: string, contentDisposition?: 'attachment' | 'inline', authorization?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
35
35
|
/**
|
|
36
36
|
* List all the documents of a customer.
|
|
37
37
|
* @summary List documents of a customer
|
|
@@ -73,7 +73,7 @@ export declare const DocumentsApiFp: (configuration?: Configuration) => {
|
|
|
73
73
|
* @param {*} [options] Override http request option.
|
|
74
74
|
* @throws {RequiredError}
|
|
75
75
|
*/
|
|
76
|
-
getCustomerDocumentDownloadUrl(documentCode: string, customerCode: string, contentDisposition?:
|
|
76
|
+
getCustomerDocumentDownloadUrl(documentCode: string, customerCode: string, contentDisposition?: 'attachment' | 'inline', authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetCustomerDocumentDownloadUrlResponseClass>>;
|
|
77
77
|
/**
|
|
78
78
|
* List all the documents of a customer.
|
|
79
79
|
* @summary List documents of a customer
|
|
@@ -115,7 +115,7 @@ export declare const DocumentsApiFactory: (configuration?: Configuration, basePa
|
|
|
115
115
|
* @param {*} [options] Override http request option.
|
|
116
116
|
* @throws {RequiredError}
|
|
117
117
|
*/
|
|
118
|
-
getCustomerDocumentDownloadUrl(documentCode: string, customerCode: string, contentDisposition?:
|
|
118
|
+
getCustomerDocumentDownloadUrl(documentCode: string, customerCode: string, contentDisposition?: 'attachment' | 'inline', authorization?: string, options?: any): AxiosPromise<GetCustomerDocumentDownloadUrlResponseClass>;
|
|
119
119
|
/**
|
|
120
120
|
* List all the documents of a customer.
|
|
121
121
|
* @summary List documents of a customer
|