@emilgroup/account-sdk-node 1.45.1-beta.4 → 1.45.1-beta.6
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 +2 -0
- package/README.md +2 -2
- package/api/accounts-api.ts +120 -0
- package/dist/api/accounts-api.d.ts +66 -0
- package/dist/api/accounts-api.js +99 -0
- package/dist/models/create-account-request-dto.d.ts +8 -4
- package/dist/models/index.d.ts +2 -0
- package/dist/models/index.js +2 -0
- package/dist/models/register-account-policy-request-dto.d.ts +30 -0
- package/dist/models/register-account-policy-request-dto.js +15 -0
- package/dist/models/register-policy-response-class.d.ts +25 -0
- package/dist/models/register-policy-response-class.js +15 -0
- package/dist/models/update-account-request-dto.d.ts +8 -4
- package/models/create-account-request-dto.ts +4 -4
- package/models/index.ts +2 -0
- package/models/register-account-policy-request-dto.ts +36 -0
- package/models/register-policy-response-class.ts +31 -0
- package/models/update-account-request-dto.ts +4 -4
- package/package.json +1 -1
package/.openapi-generator/FILES
CHANGED
|
@@ -19,6 +19,8 @@ models/inline-response200.ts
|
|
|
19
19
|
models/inline-response503.ts
|
|
20
20
|
models/list-accounts-response-class.ts
|
|
21
21
|
models/policy-class.ts
|
|
22
|
+
models/register-account-policy-request-dto.ts
|
|
23
|
+
models/register-policy-response-class.ts
|
|
22
24
|
models/update-account-request-dto.ts
|
|
23
25
|
models/update-account-response-class.ts
|
|
24
26
|
package.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/account-sdk-node@1.45.1-beta.
|
|
20
|
+
npm install @emilgroup/account-sdk-node@1.45.1-beta.6 --save
|
|
21
21
|
```
|
|
22
22
|
or
|
|
23
23
|
```
|
|
24
|
-
yarn add @emilgroup/account-sdk-node@1.45.1-beta.
|
|
24
|
+
yarn add @emilgroup/account-sdk-node@1.45.1-beta.6
|
|
25
25
|
```
|
|
26
26
|
|
|
27
27
|
And then you can import `AccountsApi`.
|
package/api/accounts-api.ts
CHANGED
|
@@ -29,6 +29,10 @@ import { GetAccountResponseClass } from '../models';
|
|
|
29
29
|
// @ts-ignore
|
|
30
30
|
import { ListAccountsResponseClass } from '../models';
|
|
31
31
|
// @ts-ignore
|
|
32
|
+
import { RegisterAccountPolicyRequestDto } from '../models';
|
|
33
|
+
// @ts-ignore
|
|
34
|
+
import { RegisterPolicyResponseClass } from '../models';
|
|
35
|
+
// @ts-ignore
|
|
32
36
|
import { UpdateAccountRequestDto } from '../models';
|
|
33
37
|
// @ts-ignore
|
|
34
38
|
import { UpdateAccountResponseClass } from '../models';
|
|
@@ -310,6 +314,57 @@ export const AccountsApiAxiosParamCreator = function (configuration?: Configurat
|
|
|
310
314
|
options: localVarRequestOptions,
|
|
311
315
|
};
|
|
312
316
|
},
|
|
317
|
+
/**
|
|
318
|
+
* This will register an already existing policy to the account, so that the policy shows up among the account\'s policies. Both the policy code and the policy number must refer to a policy that was created beforehand. **Required Permissions** \"partner-management.partners.create\"
|
|
319
|
+
* @summary Create the account policy
|
|
320
|
+
* @param {string} code Unique identifier for the object.
|
|
321
|
+
* @param {RegisterAccountPolicyRequestDto} registerAccountPolicyRequestDto
|
|
322
|
+
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
323
|
+
* @param {*} [options] Override http request option.
|
|
324
|
+
* @throws {RequiredError}
|
|
325
|
+
*/
|
|
326
|
+
registerPolicy: async (code: string, registerAccountPolicyRequestDto: RegisterAccountPolicyRequestDto, authorization?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
327
|
+
// verify required parameter 'code' is not null or undefined
|
|
328
|
+
assertParamExists('registerPolicy', 'code', code)
|
|
329
|
+
// verify required parameter 'registerAccountPolicyRequestDto' is not null or undefined
|
|
330
|
+
assertParamExists('registerPolicy', 'registerAccountPolicyRequestDto', registerAccountPolicyRequestDto)
|
|
331
|
+
const localVarPath = `/accountservice/v1/accounts/{code}/policies`
|
|
332
|
+
.replace(`{${"code"}}`, encodeURIComponent(String(code)));
|
|
333
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
334
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
335
|
+
let baseOptions;
|
|
336
|
+
let baseAccessToken;
|
|
337
|
+
if (configuration) {
|
|
338
|
+
baseOptions = configuration.baseOptions;
|
|
339
|
+
baseAccessToken = configuration.accessToken;
|
|
340
|
+
}
|
|
341
|
+
|
|
342
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
|
|
343
|
+
const localVarHeaderParameter = {} as any;
|
|
344
|
+
const localVarQueryParameter = {} as any;
|
|
345
|
+
|
|
346
|
+
// authentication bearer required
|
|
347
|
+
// http bearer authentication required
|
|
348
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
349
|
+
|
|
350
|
+
if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
|
|
351
|
+
localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
|
|
352
|
+
}
|
|
353
|
+
|
|
354
|
+
|
|
355
|
+
|
|
356
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
357
|
+
|
|
358
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
359
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
360
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
361
|
+
localVarRequestOptions.data = serializeDataIfNeeded(registerAccountPolicyRequestDto, localVarRequestOptions, configuration)
|
|
362
|
+
|
|
363
|
+
return {
|
|
364
|
+
url: toPathString(localVarUrlObj),
|
|
365
|
+
options: localVarRequestOptions,
|
|
366
|
+
};
|
|
367
|
+
},
|
|
313
368
|
/**
|
|
314
369
|
* Updates the specified account by setting the values of the parameters passed. Any parameters not provided will be left unchanged. **Required Permissions** \"partner-management.partners.update\"
|
|
315
370
|
* @summary Update the account
|
|
@@ -439,6 +494,19 @@ export const AccountsApiFp = function(configuration?: Configuration) {
|
|
|
439
494
|
const localVarAxiosArgs = await localVarAxiosParamCreator.listAccounts(authorization, pageSize, pageToken, filter, search, order, expand, filters, options);
|
|
440
495
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
441
496
|
},
|
|
497
|
+
/**
|
|
498
|
+
* This will register an already existing policy to the account, so that the policy shows up among the account\'s policies. Both the policy code and the policy number must refer to a policy that was created beforehand. **Required Permissions** \"partner-management.partners.create\"
|
|
499
|
+
* @summary Create the account policy
|
|
500
|
+
* @param {string} code Unique identifier for the object.
|
|
501
|
+
* @param {RegisterAccountPolicyRequestDto} registerAccountPolicyRequestDto
|
|
502
|
+
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
503
|
+
* @param {*} [options] Override http request option.
|
|
504
|
+
* @throws {RequiredError}
|
|
505
|
+
*/
|
|
506
|
+
async registerPolicy(code: string, registerAccountPolicyRequestDto: RegisterAccountPolicyRequestDto, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<RegisterPolicyResponseClass>> {
|
|
507
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.registerPolicy(code, registerAccountPolicyRequestDto, authorization, options);
|
|
508
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
509
|
+
},
|
|
442
510
|
/**
|
|
443
511
|
* Updates the specified account by setting the values of the parameters passed. Any parameters not provided will be left unchanged. **Required Permissions** \"partner-management.partners.update\"
|
|
444
512
|
* @summary Update the account
|
|
@@ -525,6 +593,18 @@ export const AccountsApiFactory = function (configuration?: Configuration, baseP
|
|
|
525
593
|
listAccounts(authorization?: string, pageSize?: number, pageToken?: string, filter?: 'firstName' | 'code' | 'email' | 'createdAt' | 'birthDate' | 'accountNumber' | 'title' | 'lastName' | 'gender' | 'street' | 'houseNumber' | 'zipCode' | 'city' | 'phone' | 'type' | 'companyName' | 'name' | 'partnerCode', search?: string, order?: 'id' | 'firstName' | 'lastName' | 'email' | 'createdAt' | 'accountNumber', expand?: 'policies', filters?: string, options?: any): AxiosPromise<ListAccountsResponseClass> {
|
|
526
594
|
return localVarFp.listAccounts(authorization, pageSize, pageToken, filter, search, order, expand, filters, options).then((request) => request(axios, basePath));
|
|
527
595
|
},
|
|
596
|
+
/**
|
|
597
|
+
* This will register an already existing policy to the account, so that the policy shows up among the account\'s policies. Both the policy code and the policy number must refer to a policy that was created beforehand. **Required Permissions** \"partner-management.partners.create\"
|
|
598
|
+
* @summary Create the account policy
|
|
599
|
+
* @param {string} code Unique identifier for the object.
|
|
600
|
+
* @param {RegisterAccountPolicyRequestDto} registerAccountPolicyRequestDto
|
|
601
|
+
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
602
|
+
* @param {*} [options] Override http request option.
|
|
603
|
+
* @throws {RequiredError}
|
|
604
|
+
*/
|
|
605
|
+
registerPolicy(code: string, registerAccountPolicyRequestDto: RegisterAccountPolicyRequestDto, authorization?: string, options?: any): AxiosPromise<RegisterPolicyResponseClass> {
|
|
606
|
+
return localVarFp.registerPolicy(code, registerAccountPolicyRequestDto, authorization, options).then((request) => request(axios, basePath));
|
|
607
|
+
},
|
|
528
608
|
/**
|
|
529
609
|
* Updates the specified account by setting the values of the parameters passed. Any parameters not provided will be left unchanged. **Required Permissions** \"partner-management.partners.update\"
|
|
530
610
|
* @summary Update the account
|
|
@@ -701,6 +781,34 @@ export interface AccountsApiListAccountsRequest {
|
|
|
701
781
|
readonly filters?: string
|
|
702
782
|
}
|
|
703
783
|
|
|
784
|
+
/**
|
|
785
|
+
* Request parameters for registerPolicy operation in AccountsApi.
|
|
786
|
+
* @export
|
|
787
|
+
* @interface AccountsApiRegisterPolicyRequest
|
|
788
|
+
*/
|
|
789
|
+
export interface AccountsApiRegisterPolicyRequest {
|
|
790
|
+
/**
|
|
791
|
+
* Unique identifier for the object.
|
|
792
|
+
* @type {string}
|
|
793
|
+
* @memberof AccountsApiRegisterPolicy
|
|
794
|
+
*/
|
|
795
|
+
readonly code: string
|
|
796
|
+
|
|
797
|
+
/**
|
|
798
|
+
*
|
|
799
|
+
* @type {RegisterAccountPolicyRequestDto}
|
|
800
|
+
* @memberof AccountsApiRegisterPolicy
|
|
801
|
+
*/
|
|
802
|
+
readonly registerAccountPolicyRequestDto: RegisterAccountPolicyRequestDto
|
|
803
|
+
|
|
804
|
+
/**
|
|
805
|
+
* Bearer Token: provided by the login endpoint under the name accessToken.
|
|
806
|
+
* @type {string}
|
|
807
|
+
* @memberof AccountsApiRegisterPolicy
|
|
808
|
+
*/
|
|
809
|
+
readonly authorization?: string
|
|
810
|
+
}
|
|
811
|
+
|
|
704
812
|
/**
|
|
705
813
|
* Request parameters for updateAccount operation in AccountsApi.
|
|
706
814
|
* @export
|
|
@@ -796,6 +904,18 @@ export class AccountsApi extends BaseAPI {
|
|
|
796
904
|
return AccountsApiFp(this.configuration).listAccounts(requestParameters.authorization, requestParameters.pageSize, requestParameters.pageToken, requestParameters.filter, requestParameters.search, requestParameters.order, requestParameters.expand, requestParameters.filters, options).then((request) => request(this.axios, this.basePath));
|
|
797
905
|
}
|
|
798
906
|
|
|
907
|
+
/**
|
|
908
|
+
* This will register an already existing policy to the account, so that the policy shows up among the account\'s policies. Both the policy code and the policy number must refer to a policy that was created beforehand. **Required Permissions** \"partner-management.partners.create\"
|
|
909
|
+
* @summary Create the account policy
|
|
910
|
+
* @param {AccountsApiRegisterPolicyRequest} requestParameters Request parameters.
|
|
911
|
+
* @param {*} [options] Override http request option.
|
|
912
|
+
* @throws {RequiredError}
|
|
913
|
+
* @memberof AccountsApi
|
|
914
|
+
*/
|
|
915
|
+
public registerPolicy(requestParameters: AccountsApiRegisterPolicyRequest, options?: AxiosRequestConfig) {
|
|
916
|
+
return AccountsApiFp(this.configuration).registerPolicy(requestParameters.code, requestParameters.registerAccountPolicyRequestDto, requestParameters.authorization, options).then((request) => request(this.axios, this.basePath));
|
|
917
|
+
}
|
|
918
|
+
|
|
799
919
|
/**
|
|
800
920
|
* Updates the specified account by setting the values of the parameters passed. Any parameters not provided will be left unchanged. **Required Permissions** \"partner-management.partners.update\"
|
|
801
921
|
* @summary Update the account
|
|
@@ -16,6 +16,8 @@ import { CreateAccountRequestDto } from '../models';
|
|
|
16
16
|
import { CreateAccountResponseClass } from '../models';
|
|
17
17
|
import { GetAccountResponseClass } from '../models';
|
|
18
18
|
import { ListAccountsResponseClass } from '../models';
|
|
19
|
+
import { RegisterAccountPolicyRequestDto } from '../models';
|
|
20
|
+
import { RegisterPolicyResponseClass } from '../models';
|
|
19
21
|
import { UpdateAccountRequestDto } from '../models';
|
|
20
22
|
import { UpdateAccountResponseClass } from '../models';
|
|
21
23
|
/**
|
|
@@ -76,6 +78,16 @@ export declare const AccountsApiAxiosParamCreator: (configuration?: Configuratio
|
|
|
76
78
|
* @throws {RequiredError}
|
|
77
79
|
*/
|
|
78
80
|
listAccounts: (authorization?: string, pageSize?: number, pageToken?: string, filter?: 'firstName' | 'code' | 'email' | 'createdAt' | 'birthDate' | 'accountNumber' | 'title' | 'lastName' | 'gender' | 'street' | 'houseNumber' | 'zipCode' | 'city' | 'phone' | 'type' | 'companyName' | 'name' | 'partnerCode', search?: string, order?: 'id' | 'firstName' | 'lastName' | 'email' | 'createdAt' | 'accountNumber', expand?: 'policies', filters?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
81
|
+
/**
|
|
82
|
+
* This will register an already existing policy to the account, so that the policy shows up among the account\'s policies. Both the policy code and the policy number must refer to a policy that was created beforehand. **Required Permissions** \"partner-management.partners.create\"
|
|
83
|
+
* @summary Create the account policy
|
|
84
|
+
* @param {string} code Unique identifier for the object.
|
|
85
|
+
* @param {RegisterAccountPolicyRequestDto} registerAccountPolicyRequestDto
|
|
86
|
+
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
87
|
+
* @param {*} [options] Override http request option.
|
|
88
|
+
* @throws {RequiredError}
|
|
89
|
+
*/
|
|
90
|
+
registerPolicy: (code: string, registerAccountPolicyRequestDto: RegisterAccountPolicyRequestDto, authorization?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
79
91
|
/**
|
|
80
92
|
* Updates the specified account by setting the values of the parameters passed. Any parameters not provided will be left unchanged. **Required Permissions** \"partner-management.partners.update\"
|
|
81
93
|
* @summary Update the account
|
|
@@ -145,6 +157,16 @@ export declare const AccountsApiFp: (configuration?: Configuration) => {
|
|
|
145
157
|
* @throws {RequiredError}
|
|
146
158
|
*/
|
|
147
159
|
listAccounts(authorization?: string, pageSize?: number, pageToken?: string, filter?: 'firstName' | 'code' | 'email' | 'createdAt' | 'birthDate' | 'accountNumber' | 'title' | 'lastName' | 'gender' | 'street' | 'houseNumber' | 'zipCode' | 'city' | 'phone' | 'type' | 'companyName' | 'name' | 'partnerCode', search?: string, order?: 'id' | 'firstName' | 'lastName' | 'email' | 'createdAt' | 'accountNumber', expand?: 'policies', filters?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ListAccountsResponseClass>>;
|
|
160
|
+
/**
|
|
161
|
+
* This will register an already existing policy to the account, so that the policy shows up among the account\'s policies. Both the policy code and the policy number must refer to a policy that was created beforehand. **Required Permissions** \"partner-management.partners.create\"
|
|
162
|
+
* @summary Create the account policy
|
|
163
|
+
* @param {string} code Unique identifier for the object.
|
|
164
|
+
* @param {RegisterAccountPolicyRequestDto} registerAccountPolicyRequestDto
|
|
165
|
+
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
166
|
+
* @param {*} [options] Override http request option.
|
|
167
|
+
* @throws {RequiredError}
|
|
168
|
+
*/
|
|
169
|
+
registerPolicy(code: string, registerAccountPolicyRequestDto: RegisterAccountPolicyRequestDto, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<RegisterPolicyResponseClass>>;
|
|
148
170
|
/**
|
|
149
171
|
* Updates the specified account by setting the values of the parameters passed. Any parameters not provided will be left unchanged. **Required Permissions** \"partner-management.partners.update\"
|
|
150
172
|
* @summary Update the account
|
|
@@ -214,6 +236,16 @@ export declare const AccountsApiFactory: (configuration?: Configuration, basePat
|
|
|
214
236
|
* @throws {RequiredError}
|
|
215
237
|
*/
|
|
216
238
|
listAccounts(authorization?: string, pageSize?: number, pageToken?: string, filter?: 'firstName' | 'code' | 'email' | 'createdAt' | 'birthDate' | 'accountNumber' | 'title' | 'lastName' | 'gender' | 'street' | 'houseNumber' | 'zipCode' | 'city' | 'phone' | 'type' | 'companyName' | 'name' | 'partnerCode', search?: string, order?: 'id' | 'firstName' | 'lastName' | 'email' | 'createdAt' | 'accountNumber', expand?: 'policies', filters?: string, options?: any): AxiosPromise<ListAccountsResponseClass>;
|
|
239
|
+
/**
|
|
240
|
+
* This will register an already existing policy to the account, so that the policy shows up among the account\'s policies. Both the policy code and the policy number must refer to a policy that was created beforehand. **Required Permissions** \"partner-management.partners.create\"
|
|
241
|
+
* @summary Create the account policy
|
|
242
|
+
* @param {string} code Unique identifier for the object.
|
|
243
|
+
* @param {RegisterAccountPolicyRequestDto} registerAccountPolicyRequestDto
|
|
244
|
+
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
245
|
+
* @param {*} [options] Override http request option.
|
|
246
|
+
* @throws {RequiredError}
|
|
247
|
+
*/
|
|
248
|
+
registerPolicy(code: string, registerAccountPolicyRequestDto: RegisterAccountPolicyRequestDto, authorization?: string, options?: any): AxiosPromise<RegisterPolicyResponseClass>;
|
|
217
249
|
/**
|
|
218
250
|
* Updates the specified account by setting the values of the parameters passed. Any parameters not provided will be left unchanged. **Required Permissions** \"partner-management.partners.update\"
|
|
219
251
|
* @summary Update the account
|
|
@@ -368,6 +400,31 @@ export interface AccountsApiListAccountsRequest {
|
|
|
368
400
|
*/
|
|
369
401
|
readonly filters?: string;
|
|
370
402
|
}
|
|
403
|
+
/**
|
|
404
|
+
* Request parameters for registerPolicy operation in AccountsApi.
|
|
405
|
+
* @export
|
|
406
|
+
* @interface AccountsApiRegisterPolicyRequest
|
|
407
|
+
*/
|
|
408
|
+
export interface AccountsApiRegisterPolicyRequest {
|
|
409
|
+
/**
|
|
410
|
+
* Unique identifier for the object.
|
|
411
|
+
* @type {string}
|
|
412
|
+
* @memberof AccountsApiRegisterPolicy
|
|
413
|
+
*/
|
|
414
|
+
readonly code: string;
|
|
415
|
+
/**
|
|
416
|
+
*
|
|
417
|
+
* @type {RegisterAccountPolicyRequestDto}
|
|
418
|
+
* @memberof AccountsApiRegisterPolicy
|
|
419
|
+
*/
|
|
420
|
+
readonly registerAccountPolicyRequestDto: RegisterAccountPolicyRequestDto;
|
|
421
|
+
/**
|
|
422
|
+
* Bearer Token: provided by the login endpoint under the name accessToken.
|
|
423
|
+
* @type {string}
|
|
424
|
+
* @memberof AccountsApiRegisterPolicy
|
|
425
|
+
*/
|
|
426
|
+
readonly authorization?: string;
|
|
427
|
+
}
|
|
371
428
|
/**
|
|
372
429
|
* Request parameters for updateAccount operation in AccountsApi.
|
|
373
430
|
* @export
|
|
@@ -445,6 +502,15 @@ export declare class AccountsApi extends BaseAPI {
|
|
|
445
502
|
* @memberof AccountsApi
|
|
446
503
|
*/
|
|
447
504
|
listAccounts(requestParameters?: AccountsApiListAccountsRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<ListAccountsResponseClass, any, {}>>;
|
|
505
|
+
/**
|
|
506
|
+
* This will register an already existing policy to the account, so that the policy shows up among the account\'s policies. Both the policy code and the policy number must refer to a policy that was created beforehand. **Required Permissions** \"partner-management.partners.create\"
|
|
507
|
+
* @summary Create the account policy
|
|
508
|
+
* @param {AccountsApiRegisterPolicyRequest} requestParameters Request parameters.
|
|
509
|
+
* @param {*} [options] Override http request option.
|
|
510
|
+
* @throws {RequiredError}
|
|
511
|
+
* @memberof AccountsApi
|
|
512
|
+
*/
|
|
513
|
+
registerPolicy(requestParameters: AccountsApiRegisterPolicyRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<RegisterPolicyResponseClass, any, {}>>;
|
|
448
514
|
/**
|
|
449
515
|
* Updates the specified account by setting the values of the parameters passed. Any parameters not provided will be left unchanged. **Required Permissions** \"partner-management.partners.update\"
|
|
450
516
|
* @summary Update the account
|
package/dist/api/accounts-api.js
CHANGED
|
@@ -369,6 +369,59 @@ var AccountsApiAxiosParamCreator = function (configuration) {
|
|
|
369
369
|
});
|
|
370
370
|
});
|
|
371
371
|
},
|
|
372
|
+
/**
|
|
373
|
+
* This will register an already existing policy to the account, so that the policy shows up among the account\'s policies. Both the policy code and the policy number must refer to a policy that was created beforehand. **Required Permissions** \"partner-management.partners.create\"
|
|
374
|
+
* @summary Create the account policy
|
|
375
|
+
* @param {string} code Unique identifier for the object.
|
|
376
|
+
* @param {RegisterAccountPolicyRequestDto} registerAccountPolicyRequestDto
|
|
377
|
+
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
378
|
+
* @param {*} [options] Override http request option.
|
|
379
|
+
* @throws {RequiredError}
|
|
380
|
+
*/
|
|
381
|
+
registerPolicy: function (code, registerAccountPolicyRequestDto, authorization, options) {
|
|
382
|
+
if (options === void 0) { options = {}; }
|
|
383
|
+
return __awaiter(_this, void 0, void 0, function () {
|
|
384
|
+
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
385
|
+
return __generator(this, function (_a) {
|
|
386
|
+
switch (_a.label) {
|
|
387
|
+
case 0:
|
|
388
|
+
// verify required parameter 'code' is not null or undefined
|
|
389
|
+
(0, common_1.assertParamExists)('registerPolicy', 'code', code);
|
|
390
|
+
// verify required parameter 'registerAccountPolicyRequestDto' is not null or undefined
|
|
391
|
+
(0, common_1.assertParamExists)('registerPolicy', 'registerAccountPolicyRequestDto', registerAccountPolicyRequestDto);
|
|
392
|
+
localVarPath = "/accountservice/v1/accounts/{code}/policies"
|
|
393
|
+
.replace("{".concat("code", "}"), encodeURIComponent(String(code)));
|
|
394
|
+
localVarUrlObj = new url_1.URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
395
|
+
if (configuration) {
|
|
396
|
+
baseOptions = configuration.baseOptions;
|
|
397
|
+
baseAccessToken = configuration.accessToken;
|
|
398
|
+
}
|
|
399
|
+
localVarRequestOptions = __assign(__assign({ method: 'POST' }, baseOptions), options);
|
|
400
|
+
localVarHeaderParameter = {};
|
|
401
|
+
localVarQueryParameter = {};
|
|
402
|
+
// authentication bearer required
|
|
403
|
+
// http bearer authentication required
|
|
404
|
+
return [4 /*yield*/, (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration)];
|
|
405
|
+
case 1:
|
|
406
|
+
// authentication bearer required
|
|
407
|
+
// http bearer authentication required
|
|
408
|
+
_a.sent();
|
|
409
|
+
if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
|
|
410
|
+
localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
|
|
411
|
+
}
|
|
412
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
413
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
414
|
+
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
415
|
+
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
416
|
+
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(registerAccountPolicyRequestDto, localVarRequestOptions, configuration);
|
|
417
|
+
return [2 /*return*/, {
|
|
418
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
419
|
+
options: localVarRequestOptions,
|
|
420
|
+
}];
|
|
421
|
+
}
|
|
422
|
+
});
|
|
423
|
+
});
|
|
424
|
+
},
|
|
372
425
|
/**
|
|
373
426
|
* Updates the specified account by setting the values of the parameters passed. Any parameters not provided will be left unchanged. **Required Permissions** \"partner-management.partners.update\"
|
|
374
427
|
* @summary Update the account
|
|
@@ -545,6 +598,28 @@ var AccountsApiFp = function (configuration) {
|
|
|
545
598
|
});
|
|
546
599
|
});
|
|
547
600
|
},
|
|
601
|
+
/**
|
|
602
|
+
* This will register an already existing policy to the account, so that the policy shows up among the account\'s policies. Both the policy code and the policy number must refer to a policy that was created beforehand. **Required Permissions** \"partner-management.partners.create\"
|
|
603
|
+
* @summary Create the account policy
|
|
604
|
+
* @param {string} code Unique identifier for the object.
|
|
605
|
+
* @param {RegisterAccountPolicyRequestDto} registerAccountPolicyRequestDto
|
|
606
|
+
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
607
|
+
* @param {*} [options] Override http request option.
|
|
608
|
+
* @throws {RequiredError}
|
|
609
|
+
*/
|
|
610
|
+
registerPolicy: function (code, registerAccountPolicyRequestDto, authorization, options) {
|
|
611
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
612
|
+
var localVarAxiosArgs;
|
|
613
|
+
return __generator(this, function (_a) {
|
|
614
|
+
switch (_a.label) {
|
|
615
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.registerPolicy(code, registerAccountPolicyRequestDto, authorization, options)];
|
|
616
|
+
case 1:
|
|
617
|
+
localVarAxiosArgs = _a.sent();
|
|
618
|
+
return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
619
|
+
}
|
|
620
|
+
});
|
|
621
|
+
});
|
|
622
|
+
},
|
|
548
623
|
/**
|
|
549
624
|
* Updates the specified account by setting the values of the parameters passed. Any parameters not provided will be left unchanged. **Required Permissions** \"partner-management.partners.update\"
|
|
550
625
|
* @summary Update the account
|
|
@@ -640,6 +715,18 @@ var AccountsApiFactory = function (configuration, basePath, axios) {
|
|
|
640
715
|
listAccounts: function (authorization, pageSize, pageToken, filter, search, order, expand, filters, options) {
|
|
641
716
|
return localVarFp.listAccounts(authorization, pageSize, pageToken, filter, search, order, expand, filters, options).then(function (request) { return request(axios, basePath); });
|
|
642
717
|
},
|
|
718
|
+
/**
|
|
719
|
+
* This will register an already existing policy to the account, so that the policy shows up among the account\'s policies. Both the policy code and the policy number must refer to a policy that was created beforehand. **Required Permissions** \"partner-management.partners.create\"
|
|
720
|
+
* @summary Create the account policy
|
|
721
|
+
* @param {string} code Unique identifier for the object.
|
|
722
|
+
* @param {RegisterAccountPolicyRequestDto} registerAccountPolicyRequestDto
|
|
723
|
+
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
724
|
+
* @param {*} [options] Override http request option.
|
|
725
|
+
* @throws {RequiredError}
|
|
726
|
+
*/
|
|
727
|
+
registerPolicy: function (code, registerAccountPolicyRequestDto, authorization, options) {
|
|
728
|
+
return localVarFp.registerPolicy(code, registerAccountPolicyRequestDto, authorization, options).then(function (request) { return request(axios, basePath); });
|
|
729
|
+
},
|
|
643
730
|
/**
|
|
644
731
|
* Updates the specified account by setting the values of the parameters passed. Any parameters not provided will be left unchanged. **Required Permissions** \"partner-management.partners.update\"
|
|
645
732
|
* @summary Update the account
|
|
@@ -727,6 +814,18 @@ var AccountsApi = /** @class */ (function (_super) {
|
|
|
727
814
|
if (requestParameters === void 0) { requestParameters = {}; }
|
|
728
815
|
return (0, exports.AccountsApiFp)(this.configuration).listAccounts(requestParameters.authorization, requestParameters.pageSize, requestParameters.pageToken, requestParameters.filter, requestParameters.search, requestParameters.order, requestParameters.expand, requestParameters.filters, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
729
816
|
};
|
|
817
|
+
/**
|
|
818
|
+
* This will register an already existing policy to the account, so that the policy shows up among the account\'s policies. Both the policy code and the policy number must refer to a policy that was created beforehand. **Required Permissions** \"partner-management.partners.create\"
|
|
819
|
+
* @summary Create the account policy
|
|
820
|
+
* @param {AccountsApiRegisterPolicyRequest} requestParameters Request parameters.
|
|
821
|
+
* @param {*} [options] Override http request option.
|
|
822
|
+
* @throws {RequiredError}
|
|
823
|
+
* @memberof AccountsApi
|
|
824
|
+
*/
|
|
825
|
+
AccountsApi.prototype.registerPolicy = function (requestParameters, options) {
|
|
826
|
+
var _this = this;
|
|
827
|
+
return (0, exports.AccountsApiFp)(this.configuration).registerPolicy(requestParameters.code, requestParameters.registerAccountPolicyRequestDto, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
828
|
+
};
|
|
730
829
|
/**
|
|
731
830
|
* Updates the specified account by setting the values of the parameters passed. Any parameters not provided will be left unchanged. **Required Permissions** \"partner-management.partners.update\"
|
|
732
831
|
* @summary Update the account
|
|
@@ -89,16 +89,20 @@ export interface CreateAccountRequestDto {
|
|
|
89
89
|
'phone'?: string;
|
|
90
90
|
/**
|
|
91
91
|
* Optional field to enter extra information.
|
|
92
|
-
* @type {object}
|
|
92
|
+
* @type {{ [key: string]: object; }}
|
|
93
93
|
* @memberof CreateAccountRequestDto
|
|
94
94
|
*/
|
|
95
|
-
'metadata'?:
|
|
95
|
+
'metadata'?: {
|
|
96
|
+
[key: string]: object;
|
|
97
|
+
};
|
|
96
98
|
/**
|
|
97
99
|
* Optional field to add predefined custom fields.
|
|
98
|
-
* @type {object}
|
|
100
|
+
* @type {{ [key: string]: object; }}
|
|
99
101
|
* @memberof CreateAccountRequestDto
|
|
100
102
|
*/
|
|
101
|
-
'customFields'?:
|
|
103
|
+
'customFields'?: {
|
|
104
|
+
[key: string]: object;
|
|
105
|
+
};
|
|
102
106
|
/**
|
|
103
107
|
* Optional field to enter the type of the account holder.
|
|
104
108
|
* @type {string}
|
package/dist/models/index.d.ts
CHANGED
|
@@ -6,5 +6,7 @@ export * from './inline-response200';
|
|
|
6
6
|
export * from './inline-response503';
|
|
7
7
|
export * from './list-accounts-response-class';
|
|
8
8
|
export * from './policy-class';
|
|
9
|
+
export * from './register-account-policy-request-dto';
|
|
10
|
+
export * from './register-policy-response-class';
|
|
9
11
|
export * from './update-account-request-dto';
|
|
10
12
|
export * from './update-account-response-class';
|
package/dist/models/index.js
CHANGED
|
@@ -22,5 +22,7 @@ __exportStar(require("./inline-response200"), exports);
|
|
|
22
22
|
__exportStar(require("./inline-response503"), exports);
|
|
23
23
|
__exportStar(require("./list-accounts-response-class"), exports);
|
|
24
24
|
__exportStar(require("./policy-class"), exports);
|
|
25
|
+
__exportStar(require("./register-account-policy-request-dto"), exports);
|
|
26
|
+
__exportStar(require("./register-policy-response-class"), exports);
|
|
25
27
|
__exportStar(require("./update-account-request-dto"), exports);
|
|
26
28
|
__exportStar(require("./update-account-response-class"), exports);
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* EMIL AccountService
|
|
3
|
+
* The EMIL AccountService API description
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 1.0
|
|
6
|
+
* Contact: kontakt@emil.de
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
/**
|
|
13
|
+
*
|
|
14
|
+
* @export
|
|
15
|
+
* @interface RegisterAccountPolicyRequestDto
|
|
16
|
+
*/
|
|
17
|
+
export interface RegisterAccountPolicyRequestDto {
|
|
18
|
+
/**
|
|
19
|
+
* The policy code that will be registered to the current account
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof RegisterAccountPolicyRequestDto
|
|
22
|
+
*/
|
|
23
|
+
'policyCode': string;
|
|
24
|
+
/**
|
|
25
|
+
* The policy number that will be registered to the current account
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof RegisterAccountPolicyRequestDto
|
|
28
|
+
*/
|
|
29
|
+
'policyNumber': string;
|
|
30
|
+
}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* EMIL AccountService
|
|
6
|
+
* The EMIL AccountService API description
|
|
7
|
+
*
|
|
8
|
+
* The version of the OpenAPI document: 1.0
|
|
9
|
+
* Contact: kontakt@emil.de
|
|
10
|
+
*
|
|
11
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
12
|
+
* https://openapi-generator.tech
|
|
13
|
+
* Do not edit the class manually.
|
|
14
|
+
*/
|
|
15
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* EMIL AccountService
|
|
3
|
+
* The EMIL AccountService API description
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 1.0
|
|
6
|
+
* Contact: kontakt@emil.de
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
import { PolicyClass } from './policy-class';
|
|
13
|
+
/**
|
|
14
|
+
*
|
|
15
|
+
* @export
|
|
16
|
+
* @interface RegisterPolicyResponseClass
|
|
17
|
+
*/
|
|
18
|
+
export interface RegisterPolicyResponseClass {
|
|
19
|
+
/**
|
|
20
|
+
* The policy response.
|
|
21
|
+
* @type {PolicyClass}
|
|
22
|
+
* @memberof RegisterPolicyResponseClass
|
|
23
|
+
*/
|
|
24
|
+
'policy': PolicyClass;
|
|
25
|
+
}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* EMIL AccountService
|
|
6
|
+
* The EMIL AccountService API description
|
|
7
|
+
*
|
|
8
|
+
* The version of the OpenAPI document: 1.0
|
|
9
|
+
* Contact: kontakt@emil.de
|
|
10
|
+
*
|
|
11
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
12
|
+
* https://openapi-generator.tech
|
|
13
|
+
* Do not edit the class manually.
|
|
14
|
+
*/
|
|
15
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
@@ -89,16 +89,20 @@ export interface UpdateAccountRequestDto {
|
|
|
89
89
|
'phone'?: string;
|
|
90
90
|
/**
|
|
91
91
|
* Optional field to enter extra information.
|
|
92
|
-
* @type {object}
|
|
92
|
+
* @type {{ [key: string]: object; }}
|
|
93
93
|
* @memberof UpdateAccountRequestDto
|
|
94
94
|
*/
|
|
95
|
-
'metadata'?:
|
|
95
|
+
'metadata'?: {
|
|
96
|
+
[key: string]: object;
|
|
97
|
+
};
|
|
96
98
|
/**
|
|
97
99
|
* Optional field to add predefined custom fields.
|
|
98
|
-
* @type {object}
|
|
100
|
+
* @type {{ [key: string]: object; }}
|
|
99
101
|
* @memberof UpdateAccountRequestDto
|
|
100
102
|
*/
|
|
101
|
-
'customFields'?:
|
|
103
|
+
'customFields'?: {
|
|
104
|
+
[key: string]: object;
|
|
105
|
+
};
|
|
102
106
|
/**
|
|
103
107
|
* Optional field to enter the type of the account holder.
|
|
104
108
|
* @type {string}
|
|
@@ -94,16 +94,16 @@ export interface CreateAccountRequestDto {
|
|
|
94
94
|
'phone'?: string;
|
|
95
95
|
/**
|
|
96
96
|
* Optional field to enter extra information.
|
|
97
|
-
* @type {object}
|
|
97
|
+
* @type {{ [key: string]: object; }}
|
|
98
98
|
* @memberof CreateAccountRequestDto
|
|
99
99
|
*/
|
|
100
|
-
'metadata'?: object;
|
|
100
|
+
'metadata'?: { [key: string]: object; };
|
|
101
101
|
/**
|
|
102
102
|
* Optional field to add predefined custom fields.
|
|
103
|
-
* @type {object}
|
|
103
|
+
* @type {{ [key: string]: object; }}
|
|
104
104
|
* @memberof CreateAccountRequestDto
|
|
105
105
|
*/
|
|
106
|
-
'customFields'?: object;
|
|
106
|
+
'customFields'?: { [key: string]: object; };
|
|
107
107
|
/**
|
|
108
108
|
* Optional field to enter the type of the account holder.
|
|
109
109
|
* @type {string}
|
package/models/index.ts
CHANGED
|
@@ -6,5 +6,7 @@ export * from './inline-response200';
|
|
|
6
6
|
export * from './inline-response503';
|
|
7
7
|
export * from './list-accounts-response-class';
|
|
8
8
|
export * from './policy-class';
|
|
9
|
+
export * from './register-account-policy-request-dto';
|
|
10
|
+
export * from './register-policy-response-class';
|
|
9
11
|
export * from './update-account-request-dto';
|
|
10
12
|
export * from './update-account-response-class';
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* EMIL AccountService
|
|
5
|
+
* The EMIL AccountService API description
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: 1.0
|
|
8
|
+
* Contact: kontakt@emil.de
|
|
9
|
+
*
|
|
10
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
+
* https://openapi-generator.tech
|
|
12
|
+
* Do not edit the class manually.
|
|
13
|
+
*/
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
|
|
17
|
+
/**
|
|
18
|
+
*
|
|
19
|
+
* @export
|
|
20
|
+
* @interface RegisterAccountPolicyRequestDto
|
|
21
|
+
*/
|
|
22
|
+
export interface RegisterAccountPolicyRequestDto {
|
|
23
|
+
/**
|
|
24
|
+
* The policy code that will be registered to the current account
|
|
25
|
+
* @type {string}
|
|
26
|
+
* @memberof RegisterAccountPolicyRequestDto
|
|
27
|
+
*/
|
|
28
|
+
'policyCode': string;
|
|
29
|
+
/**
|
|
30
|
+
* The policy number that will be registered to the current account
|
|
31
|
+
* @type {string}
|
|
32
|
+
* @memberof RegisterAccountPolicyRequestDto
|
|
33
|
+
*/
|
|
34
|
+
'policyNumber': string;
|
|
35
|
+
}
|
|
36
|
+
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* EMIL AccountService
|
|
5
|
+
* The EMIL AccountService API description
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: 1.0
|
|
8
|
+
* Contact: kontakt@emil.de
|
|
9
|
+
*
|
|
10
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
+
* https://openapi-generator.tech
|
|
12
|
+
* Do not edit the class manually.
|
|
13
|
+
*/
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
import { PolicyClass } from './policy-class';
|
|
17
|
+
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @export
|
|
21
|
+
* @interface RegisterPolicyResponseClass
|
|
22
|
+
*/
|
|
23
|
+
export interface RegisterPolicyResponseClass {
|
|
24
|
+
/**
|
|
25
|
+
* The policy response.
|
|
26
|
+
* @type {PolicyClass}
|
|
27
|
+
* @memberof RegisterPolicyResponseClass
|
|
28
|
+
*/
|
|
29
|
+
'policy': PolicyClass;
|
|
30
|
+
}
|
|
31
|
+
|
|
@@ -94,16 +94,16 @@ export interface UpdateAccountRequestDto {
|
|
|
94
94
|
'phone'?: string;
|
|
95
95
|
/**
|
|
96
96
|
* Optional field to enter extra information.
|
|
97
|
-
* @type {object}
|
|
97
|
+
* @type {{ [key: string]: object; }}
|
|
98
98
|
* @memberof UpdateAccountRequestDto
|
|
99
99
|
*/
|
|
100
|
-
'metadata'?: object;
|
|
100
|
+
'metadata'?: { [key: string]: object; };
|
|
101
101
|
/**
|
|
102
102
|
* Optional field to add predefined custom fields.
|
|
103
|
-
* @type {object}
|
|
103
|
+
* @type {{ [key: string]: object; }}
|
|
104
104
|
* @memberof UpdateAccountRequestDto
|
|
105
105
|
*/
|
|
106
|
-
'customFields'?: object;
|
|
106
|
+
'customFields'?: { [key: string]: object; };
|
|
107
107
|
/**
|
|
108
108
|
* Optional field to enter the type of the account holder.
|
|
109
109
|
* @type {string}
|