@emilgroup/account-sdk-node 1.8.0 → 1.8.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/README.md +2 -2
- package/api/accounts-api.ts +14 -16
- package/dist/api/accounts-api.d.ts +11 -11
- package/dist/api/accounts-api.js +9 -11
- package/dist/models/create-account-request-dto.d.ts +7 -7
- package/dist/models/update-account-request-dto.d.ts +6 -6
- package/models/create-account-request-dto.ts +7 -7
- package/models/update-account-request-dto.ts +6 -6
- package/package.json +1 -1
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/account-sdk-node@1.8.
|
|
20
|
+
npm install @emilgroup/account-sdk-node@1.8.1 --save
|
|
21
21
|
```
|
|
22
22
|
or
|
|
23
23
|
```
|
|
24
|
-
yarn add @emilgroup/account-sdk-node@1.8.
|
|
24
|
+
yarn add @emilgroup/account-sdk-node@1.8.1
|
|
25
25
|
```
|
|
26
26
|
|
|
27
27
|
And then you can import `AccountsApi`.
|
package/api/accounts-api.ts
CHANGED
|
@@ -138,16 +138,14 @@ export const AccountsApiAxiosParamCreator = function (configuration?: Configurat
|
|
|
138
138
|
* Retrieves the details of the account that was previously created. Supply the unique account code that was returned when you created it and Emil Api will return the corresponding account information.
|
|
139
139
|
* @summary Retrieve the account
|
|
140
140
|
* @param {string} code Unique identifier for the object.
|
|
141
|
-
* @param {string} expand
|
|
142
141
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
142
|
+
* @param {'policies'} [expand]
|
|
143
143
|
* @param {*} [options] Override http request option.
|
|
144
144
|
* @throws {RequiredError}
|
|
145
145
|
*/
|
|
146
|
-
getAccount: async (code: string,
|
|
146
|
+
getAccount: async (code: string, authorization?: string, expand?: 'policies', options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
147
147
|
// verify required parameter 'code' is not null or undefined
|
|
148
148
|
assertParamExists('getAccount', 'code', code)
|
|
149
|
-
// verify required parameter 'expand' is not null or undefined
|
|
150
|
-
assertParamExists('getAccount', 'expand', expand)
|
|
151
149
|
const localVarPath = `/accountservice/v1/accounts/{code}`
|
|
152
150
|
.replace(`{${"code"}}`, encodeURIComponent(String(code)));
|
|
153
151
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
@@ -346,13 +344,13 @@ export const AccountsApiFp = function(configuration?: Configuration) {
|
|
|
346
344
|
* Retrieves the details of the account that was previously created. Supply the unique account code that was returned when you created it and Emil Api will return the corresponding account information.
|
|
347
345
|
* @summary Retrieve the account
|
|
348
346
|
* @param {string} code Unique identifier for the object.
|
|
349
|
-
* @param {string} expand
|
|
350
347
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
348
|
+
* @param {'policies'} [expand]
|
|
351
349
|
* @param {*} [options] Override http request option.
|
|
352
350
|
* @throws {RequiredError}
|
|
353
351
|
*/
|
|
354
|
-
async getAccount(code: string,
|
|
355
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.getAccount(code,
|
|
352
|
+
async getAccount(code: string, authorization?: string, expand?: 'policies', options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetAccountResponseClass>> {
|
|
353
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.getAccount(code, authorization, expand, options);
|
|
356
354
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
357
355
|
},
|
|
358
356
|
/**
|
|
@@ -421,13 +419,13 @@ export const AccountsApiFactory = function (configuration?: Configuration, baseP
|
|
|
421
419
|
* Retrieves the details of the account that was previously created. Supply the unique account code that was returned when you created it and Emil Api will return the corresponding account information.
|
|
422
420
|
* @summary Retrieve the account
|
|
423
421
|
* @param {string} code Unique identifier for the object.
|
|
424
|
-
* @param {string} expand
|
|
425
422
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
423
|
+
* @param {'policies'} [expand]
|
|
426
424
|
* @param {*} [options] Override http request option.
|
|
427
425
|
* @throws {RequiredError}
|
|
428
426
|
*/
|
|
429
|
-
getAccount(code: string,
|
|
430
|
-
return localVarFp.getAccount(code,
|
|
427
|
+
getAccount(code: string, authorization?: string, expand?: 'policies', options?: any): AxiosPromise<GetAccountResponseClass> {
|
|
428
|
+
return localVarFp.getAccount(code, authorization, expand, options).then((request) => request(axios, basePath));
|
|
431
429
|
},
|
|
432
430
|
/**
|
|
433
431
|
* Returns a list of accounts you have previously created. The accounts are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
|
|
@@ -516,18 +514,18 @@ export interface AccountsApiGetAccountRequest {
|
|
|
516
514
|
readonly code: string
|
|
517
515
|
|
|
518
516
|
/**
|
|
519
|
-
*
|
|
517
|
+
* Bearer Token: provided by the login endpoint under the name accessToken.
|
|
520
518
|
* @type {string}
|
|
521
519
|
* @memberof AccountsApiGetAccount
|
|
522
520
|
*/
|
|
523
|
-
readonly
|
|
521
|
+
readonly authorization?: string
|
|
524
522
|
|
|
525
523
|
/**
|
|
526
|
-
*
|
|
527
|
-
* @type {
|
|
524
|
+
*
|
|
525
|
+
* @type {'policies'}
|
|
528
526
|
* @memberof AccountsApiGetAccount
|
|
529
527
|
*/
|
|
530
|
-
readonly
|
|
528
|
+
readonly expand?: 'policies'
|
|
531
529
|
}
|
|
532
530
|
|
|
533
531
|
/**
|
|
@@ -654,7 +652,7 @@ export class AccountsApi extends BaseAPI {
|
|
|
654
652
|
* @memberof AccountsApi
|
|
655
653
|
*/
|
|
656
654
|
public getAccount(requestParameters: AccountsApiGetAccountRequest, options?: AxiosRequestConfig) {
|
|
657
|
-
return AccountsApiFp(this.configuration).getAccount(requestParameters.code, requestParameters.
|
|
655
|
+
return AccountsApiFp(this.configuration).getAccount(requestParameters.code, requestParameters.authorization, requestParameters.expand, options).then((request) => request(this.axios, this.basePath));
|
|
658
656
|
}
|
|
659
657
|
|
|
660
658
|
/**
|
|
@@ -45,12 +45,12 @@ export declare const AccountsApiAxiosParamCreator: (configuration?: Configuratio
|
|
|
45
45
|
* Retrieves the details of the account that was previously created. Supply the unique account code that was returned when you created it and Emil Api will return the corresponding account information.
|
|
46
46
|
* @summary Retrieve the account
|
|
47
47
|
* @param {string} code Unique identifier for the object.
|
|
48
|
-
* @param {string} expand
|
|
49
48
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
49
|
+
* @param {'policies'} [expand]
|
|
50
50
|
* @param {*} [options] Override http request option.
|
|
51
51
|
* @throws {RequiredError}
|
|
52
52
|
*/
|
|
53
|
-
getAccount: (code: string,
|
|
53
|
+
getAccount: (code: string, authorization?: string, expand?: 'policies', options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
54
54
|
/**
|
|
55
55
|
* Returns a list of accounts you have previously created. The accounts are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
|
|
56
56
|
* @summary List accounts
|
|
@@ -103,12 +103,12 @@ export declare const AccountsApiFp: (configuration?: Configuration) => {
|
|
|
103
103
|
* Retrieves the details of the account that was previously created. Supply the unique account code that was returned when you created it and Emil Api will return the corresponding account information.
|
|
104
104
|
* @summary Retrieve the account
|
|
105
105
|
* @param {string} code Unique identifier for the object.
|
|
106
|
-
* @param {string} expand
|
|
107
106
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
107
|
+
* @param {'policies'} [expand]
|
|
108
108
|
* @param {*} [options] Override http request option.
|
|
109
109
|
* @throws {RequiredError}
|
|
110
110
|
*/
|
|
111
|
-
getAccount(code: string,
|
|
111
|
+
getAccount(code: string, authorization?: string, expand?: 'policies', options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetAccountResponseClass>>;
|
|
112
112
|
/**
|
|
113
113
|
* Returns a list of accounts you have previously created. The accounts are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
|
|
114
114
|
* @summary List accounts
|
|
@@ -161,12 +161,12 @@ export declare const AccountsApiFactory: (configuration?: Configuration, basePat
|
|
|
161
161
|
* Retrieves the details of the account that was previously created. Supply the unique account code that was returned when you created it and Emil Api will return the corresponding account information.
|
|
162
162
|
* @summary Retrieve the account
|
|
163
163
|
* @param {string} code Unique identifier for the object.
|
|
164
|
-
* @param {string} expand
|
|
165
164
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
165
|
+
* @param {'policies'} [expand]
|
|
166
166
|
* @param {*} [options] Override http request option.
|
|
167
167
|
* @throws {RequiredError}
|
|
168
168
|
*/
|
|
169
|
-
getAccount(code: string,
|
|
169
|
+
getAccount(code: string, authorization?: string, expand?: 'policies', options?: any): AxiosPromise<GetAccountResponseClass>;
|
|
170
170
|
/**
|
|
171
171
|
* Returns a list of accounts you have previously created. The accounts are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
|
|
172
172
|
* @summary List accounts
|
|
@@ -243,17 +243,17 @@ export interface AccountsApiGetAccountRequest {
|
|
|
243
243
|
*/
|
|
244
244
|
readonly code: string;
|
|
245
245
|
/**
|
|
246
|
-
*
|
|
246
|
+
* Bearer Token: provided by the login endpoint under the name accessToken.
|
|
247
247
|
* @type {string}
|
|
248
248
|
* @memberof AccountsApiGetAccount
|
|
249
249
|
*/
|
|
250
|
-
readonly
|
|
250
|
+
readonly authorization?: string;
|
|
251
251
|
/**
|
|
252
|
-
*
|
|
253
|
-
* @type {
|
|
252
|
+
*
|
|
253
|
+
* @type {'policies'}
|
|
254
254
|
* @memberof AccountsApiGetAccount
|
|
255
255
|
*/
|
|
256
|
-
readonly
|
|
256
|
+
readonly expand?: 'policies';
|
|
257
257
|
}
|
|
258
258
|
/**
|
|
259
259
|
* Request parameters for listAccounts operation in AccountsApi.
|
package/dist/api/accounts-api.js
CHANGED
|
@@ -197,12 +197,12 @@ var AccountsApiAxiosParamCreator = function (configuration) {
|
|
|
197
197
|
* Retrieves the details of the account that was previously created. Supply the unique account code that was returned when you created it and Emil Api will return the corresponding account information.
|
|
198
198
|
* @summary Retrieve the account
|
|
199
199
|
* @param {string} code Unique identifier for the object.
|
|
200
|
-
* @param {string} expand
|
|
201
200
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
201
|
+
* @param {'policies'} [expand]
|
|
202
202
|
* @param {*} [options] Override http request option.
|
|
203
203
|
* @throws {RequiredError}
|
|
204
204
|
*/
|
|
205
|
-
getAccount: function (code,
|
|
205
|
+
getAccount: function (code, authorization, expand, options) {
|
|
206
206
|
if (options === void 0) { options = {}; }
|
|
207
207
|
return __awaiter(_this, void 0, void 0, function () {
|
|
208
208
|
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
@@ -211,8 +211,6 @@ var AccountsApiAxiosParamCreator = function (configuration) {
|
|
|
211
211
|
case 0:
|
|
212
212
|
// verify required parameter 'code' is not null or undefined
|
|
213
213
|
(0, common_1.assertParamExists)('getAccount', 'code', code);
|
|
214
|
-
// verify required parameter 'expand' is not null or undefined
|
|
215
|
-
(0, common_1.assertParamExists)('getAccount', 'expand', expand);
|
|
216
214
|
localVarPath = "/accountservice/v1/accounts/{code}"
|
|
217
215
|
.replace("{".concat("code", "}"), encodeURIComponent(String(code)));
|
|
218
216
|
localVarUrlObj = new url_1.URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
@@ -424,17 +422,17 @@ var AccountsApiFp = function (configuration) {
|
|
|
424
422
|
* Retrieves the details of the account that was previously created. Supply the unique account code that was returned when you created it and Emil Api will return the corresponding account information.
|
|
425
423
|
* @summary Retrieve the account
|
|
426
424
|
* @param {string} code Unique identifier for the object.
|
|
427
|
-
* @param {string} expand
|
|
428
425
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
426
|
+
* @param {'policies'} [expand]
|
|
429
427
|
* @param {*} [options] Override http request option.
|
|
430
428
|
* @throws {RequiredError}
|
|
431
429
|
*/
|
|
432
|
-
getAccount: function (code,
|
|
430
|
+
getAccount: function (code, authorization, expand, options) {
|
|
433
431
|
return __awaiter(this, void 0, void 0, function () {
|
|
434
432
|
var localVarAxiosArgs;
|
|
435
433
|
return __generator(this, function (_a) {
|
|
436
434
|
switch (_a.label) {
|
|
437
|
-
case 0: return [4 /*yield*/, localVarAxiosParamCreator.getAccount(code,
|
|
435
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.getAccount(code, authorization, expand, options)];
|
|
438
436
|
case 1:
|
|
439
437
|
localVarAxiosArgs = _a.sent();
|
|
440
438
|
return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
@@ -526,13 +524,13 @@ var AccountsApiFactory = function (configuration, basePath, axios) {
|
|
|
526
524
|
* Retrieves the details of the account that was previously created. Supply the unique account code that was returned when you created it and Emil Api will return the corresponding account information.
|
|
527
525
|
* @summary Retrieve the account
|
|
528
526
|
* @param {string} code Unique identifier for the object.
|
|
529
|
-
* @param {string} expand
|
|
530
527
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
528
|
+
* @param {'policies'} [expand]
|
|
531
529
|
* @param {*} [options] Override http request option.
|
|
532
530
|
* @throws {RequiredError}
|
|
533
531
|
*/
|
|
534
|
-
getAccount: function (code,
|
|
535
|
-
return localVarFp.getAccount(code,
|
|
532
|
+
getAccount: function (code, authorization, expand, options) {
|
|
533
|
+
return localVarFp.getAccount(code, authorization, expand, options).then(function (request) { return request(axios, basePath); });
|
|
536
534
|
},
|
|
537
535
|
/**
|
|
538
536
|
* Returns a list of accounts you have previously created. The accounts are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
|
|
@@ -610,7 +608,7 @@ var AccountsApi = /** @class */ (function (_super) {
|
|
|
610
608
|
*/
|
|
611
609
|
AccountsApi.prototype.getAccount = function (requestParameters, options) {
|
|
612
610
|
var _this = this;
|
|
613
|
-
return (0, exports.AccountsApiFp)(this.configuration).getAccount(requestParameters.code, requestParameters.
|
|
611
|
+
return (0, exports.AccountsApiFp)(this.configuration).getAccount(requestParameters.code, requestParameters.authorization, requestParameters.expand, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
614
612
|
};
|
|
615
613
|
/**
|
|
616
614
|
* Returns a list of accounts you have previously created. The accounts are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
|
|
@@ -20,13 +20,13 @@ export interface CreateAccountRequestDto {
|
|
|
20
20
|
* @type {string}
|
|
21
21
|
* @memberof CreateAccountRequestDto
|
|
22
22
|
*/
|
|
23
|
-
'accountNumber'
|
|
23
|
+
'accountNumber'?: string;
|
|
24
24
|
/**
|
|
25
25
|
* Optional field to enter the honorific title you want to be called.
|
|
26
26
|
* @type {string}
|
|
27
27
|
* @memberof CreateAccountRequestDto
|
|
28
28
|
*/
|
|
29
|
-
'title'
|
|
29
|
+
'title'?: CreateAccountRequestDtoTitleEnum;
|
|
30
30
|
/**
|
|
31
31
|
* The account\'s holder first name.
|
|
32
32
|
* @type {string}
|
|
@@ -80,7 +80,7 @@ export interface CreateAccountRequestDto {
|
|
|
80
80
|
* @type {string}
|
|
81
81
|
* @memberof CreateAccountRequestDto
|
|
82
82
|
*/
|
|
83
|
-
'birthDate'
|
|
83
|
+
'birthDate'?: string;
|
|
84
84
|
/**
|
|
85
85
|
* The account\'s holder phone number.
|
|
86
86
|
* @type {string}
|
|
@@ -92,25 +92,25 @@ export interface CreateAccountRequestDto {
|
|
|
92
92
|
* @type {object}
|
|
93
93
|
* @memberof CreateAccountRequestDto
|
|
94
94
|
*/
|
|
95
|
-
'metadata'
|
|
95
|
+
'metadata'?: object;
|
|
96
96
|
/**
|
|
97
97
|
* Optional field to add predefined custom fields.
|
|
98
98
|
* @type {object}
|
|
99
99
|
* @memberof CreateAccountRequestDto
|
|
100
100
|
*/
|
|
101
|
-
'customFields'
|
|
101
|
+
'customFields'?: object;
|
|
102
102
|
/**
|
|
103
103
|
* Optional field to enter the type of the account holder.
|
|
104
104
|
* @type {string}
|
|
105
105
|
* @memberof CreateAccountRequestDto
|
|
106
106
|
*/
|
|
107
|
-
'type'
|
|
107
|
+
'type'?: CreateAccountRequestDtoTypeEnum;
|
|
108
108
|
/**
|
|
109
109
|
* The account\'s holder company name (Required for account of type org).
|
|
110
110
|
* @type {string}
|
|
111
111
|
* @memberof CreateAccountRequestDto
|
|
112
112
|
*/
|
|
113
|
-
'companyName'
|
|
113
|
+
'companyName'?: string;
|
|
114
114
|
}
|
|
115
115
|
export declare const CreateAccountRequestDtoTitleEnum: {
|
|
116
116
|
readonly Empty: "";
|
|
@@ -26,7 +26,7 @@ export interface UpdateAccountRequestDto {
|
|
|
26
26
|
* @type {string}
|
|
27
27
|
* @memberof UpdateAccountRequestDto
|
|
28
28
|
*/
|
|
29
|
-
'title'
|
|
29
|
+
'title'?: UpdateAccountRequestDtoTitleEnum;
|
|
30
30
|
/**
|
|
31
31
|
* The account\'s holder first name.
|
|
32
32
|
* @type {string}
|
|
@@ -80,7 +80,7 @@ export interface UpdateAccountRequestDto {
|
|
|
80
80
|
* @type {string}
|
|
81
81
|
* @memberof UpdateAccountRequestDto
|
|
82
82
|
*/
|
|
83
|
-
'birthDate'
|
|
83
|
+
'birthDate'?: string;
|
|
84
84
|
/**
|
|
85
85
|
* The account\'s holder phone number.
|
|
86
86
|
* @type {string}
|
|
@@ -92,25 +92,25 @@ export interface UpdateAccountRequestDto {
|
|
|
92
92
|
* @type {object}
|
|
93
93
|
* @memberof UpdateAccountRequestDto
|
|
94
94
|
*/
|
|
95
|
-
'metadata'
|
|
95
|
+
'metadata'?: object;
|
|
96
96
|
/**
|
|
97
97
|
* Optional field to add predefined custom fields.
|
|
98
98
|
* @type {object}
|
|
99
99
|
* @memberof UpdateAccountRequestDto
|
|
100
100
|
*/
|
|
101
|
-
'customFields'
|
|
101
|
+
'customFields'?: object;
|
|
102
102
|
/**
|
|
103
103
|
* Optional field to enter the type of the account holder.
|
|
104
104
|
* @type {string}
|
|
105
105
|
* @memberof UpdateAccountRequestDto
|
|
106
106
|
*/
|
|
107
|
-
'type'
|
|
107
|
+
'type'?: UpdateAccountRequestDtoTypeEnum;
|
|
108
108
|
/**
|
|
109
109
|
* The account\'s holder company name (Required for account of type org).
|
|
110
110
|
* @type {string}
|
|
111
111
|
* @memberof UpdateAccountRequestDto
|
|
112
112
|
*/
|
|
113
|
-
'companyName'
|
|
113
|
+
'companyName'?: string;
|
|
114
114
|
}
|
|
115
115
|
export declare const UpdateAccountRequestDtoTitleEnum: {
|
|
116
116
|
readonly Empty: "";
|
|
@@ -25,13 +25,13 @@ export interface CreateAccountRequestDto {
|
|
|
25
25
|
* @type {string}
|
|
26
26
|
* @memberof CreateAccountRequestDto
|
|
27
27
|
*/
|
|
28
|
-
'accountNumber'
|
|
28
|
+
'accountNumber'?: string;
|
|
29
29
|
/**
|
|
30
30
|
* Optional field to enter the honorific title you want to be called.
|
|
31
31
|
* @type {string}
|
|
32
32
|
* @memberof CreateAccountRequestDto
|
|
33
33
|
*/
|
|
34
|
-
'title'
|
|
34
|
+
'title'?: CreateAccountRequestDtoTitleEnum;
|
|
35
35
|
/**
|
|
36
36
|
* The account\'s holder first name.
|
|
37
37
|
* @type {string}
|
|
@@ -85,7 +85,7 @@ export interface CreateAccountRequestDto {
|
|
|
85
85
|
* @type {string}
|
|
86
86
|
* @memberof CreateAccountRequestDto
|
|
87
87
|
*/
|
|
88
|
-
'birthDate'
|
|
88
|
+
'birthDate'?: string;
|
|
89
89
|
/**
|
|
90
90
|
* The account\'s holder phone number.
|
|
91
91
|
* @type {string}
|
|
@@ -97,25 +97,25 @@ export interface CreateAccountRequestDto {
|
|
|
97
97
|
* @type {object}
|
|
98
98
|
* @memberof CreateAccountRequestDto
|
|
99
99
|
*/
|
|
100
|
-
'metadata'
|
|
100
|
+
'metadata'?: object;
|
|
101
101
|
/**
|
|
102
102
|
* Optional field to add predefined custom fields.
|
|
103
103
|
* @type {object}
|
|
104
104
|
* @memberof CreateAccountRequestDto
|
|
105
105
|
*/
|
|
106
|
-
'customFields'
|
|
106
|
+
'customFields'?: object;
|
|
107
107
|
/**
|
|
108
108
|
* Optional field to enter the type of the account holder.
|
|
109
109
|
* @type {string}
|
|
110
110
|
* @memberof CreateAccountRequestDto
|
|
111
111
|
*/
|
|
112
|
-
'type'
|
|
112
|
+
'type'?: CreateAccountRequestDtoTypeEnum;
|
|
113
113
|
/**
|
|
114
114
|
* The account\'s holder company name (Required for account of type org).
|
|
115
115
|
* @type {string}
|
|
116
116
|
* @memberof CreateAccountRequestDto
|
|
117
117
|
*/
|
|
118
|
-
'companyName'
|
|
118
|
+
'companyName'?: string;
|
|
119
119
|
}
|
|
120
120
|
|
|
121
121
|
export const CreateAccountRequestDtoTitleEnum = {
|
|
@@ -31,7 +31,7 @@ export interface UpdateAccountRequestDto {
|
|
|
31
31
|
* @type {string}
|
|
32
32
|
* @memberof UpdateAccountRequestDto
|
|
33
33
|
*/
|
|
34
|
-
'title'
|
|
34
|
+
'title'?: UpdateAccountRequestDtoTitleEnum;
|
|
35
35
|
/**
|
|
36
36
|
* The account\'s holder first name.
|
|
37
37
|
* @type {string}
|
|
@@ -85,7 +85,7 @@ export interface UpdateAccountRequestDto {
|
|
|
85
85
|
* @type {string}
|
|
86
86
|
* @memberof UpdateAccountRequestDto
|
|
87
87
|
*/
|
|
88
|
-
'birthDate'
|
|
88
|
+
'birthDate'?: string;
|
|
89
89
|
/**
|
|
90
90
|
* The account\'s holder phone number.
|
|
91
91
|
* @type {string}
|
|
@@ -97,25 +97,25 @@ export interface UpdateAccountRequestDto {
|
|
|
97
97
|
* @type {object}
|
|
98
98
|
* @memberof UpdateAccountRequestDto
|
|
99
99
|
*/
|
|
100
|
-
'metadata'
|
|
100
|
+
'metadata'?: object;
|
|
101
101
|
/**
|
|
102
102
|
* Optional field to add predefined custom fields.
|
|
103
103
|
* @type {object}
|
|
104
104
|
* @memberof UpdateAccountRequestDto
|
|
105
105
|
*/
|
|
106
|
-
'customFields'
|
|
106
|
+
'customFields'?: object;
|
|
107
107
|
/**
|
|
108
108
|
* Optional field to enter the type of the account holder.
|
|
109
109
|
* @type {string}
|
|
110
110
|
* @memberof UpdateAccountRequestDto
|
|
111
111
|
*/
|
|
112
|
-
'type'
|
|
112
|
+
'type'?: UpdateAccountRequestDtoTypeEnum;
|
|
113
113
|
/**
|
|
114
114
|
* The account\'s holder company name (Required for account of type org).
|
|
115
115
|
* @type {string}
|
|
116
116
|
* @memberof UpdateAccountRequestDto
|
|
117
117
|
*/
|
|
118
|
-
'companyName'
|
|
118
|
+
'companyName'?: string;
|
|
119
119
|
}
|
|
120
120
|
|
|
121
121
|
export const UpdateAccountRequestDtoTitleEnum = {
|