@emilgroup/account-sdk 1.27.1-beta.0 → 1.27.1-beta.2
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 +26 -26
- package/api/default-api.ts +4 -4
- package/dist/api/accounts-api.d.ts +26 -26
- package/dist/api/accounts-api.js +17 -17
- package/dist/api/default-api.d.ts +4 -4
- package/dist/api/default-api.js +4 -4
- package/dist/models/account-class.d.ts +12 -0
- package/models/account-class.ts +12 -0
- 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@1.27.1-beta.
|
|
20
|
+
npm install @emilgroup/account-sdk@1.27.1-beta.2 --save
|
|
21
21
|
```
|
|
22
22
|
or
|
|
23
23
|
```
|
|
24
|
-
yarn add @emilgroup/account-sdk@1.27.1-beta.
|
|
24
|
+
yarn add @emilgroup/account-sdk@1.27.1-beta.2
|
|
25
25
|
```
|
|
26
26
|
|
|
27
27
|
And then you can import `AccountsApi`.
|
package/api/accounts-api.ts
CHANGED
|
@@ -131,7 +131,7 @@ export const AccountsApiAxiosParamCreator = function (configuration?: Configurat
|
|
|
131
131
|
};
|
|
132
132
|
},
|
|
133
133
|
/**
|
|
134
|
-
* Retrieves the details of the account that was previously created. Supply the unique account code
|
|
134
|
+
* 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.
|
|
135
135
|
* @summary Retrieve the account
|
|
136
136
|
* @param {string} code Unique identifier for the object.
|
|
137
137
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
@@ -181,20 +181,20 @@ export const AccountsApiAxiosParamCreator = function (configuration?: Configurat
|
|
|
181
181
|
};
|
|
182
182
|
},
|
|
183
183
|
/**
|
|
184
|
-
* Returns a list of accounts you have previously created.
|
|
184
|
+
* 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.
|
|
185
185
|
* @summary List accounts
|
|
186
186
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
187
187
|
* @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
188
188
|
* @param {any} [pageToken] A cursor for use in pagination. pageToken is an ID that defines your place in the list. For instance, if you make a list request and receive 100 objects and pageToken=1, your subsequent call can include pageToken=2 in order to fetch the next page of the list.
|
|
189
|
-
* @param {
|
|
189
|
+
* @param {'firstName' | 'code' | 'email' | 'createdAt' | 'birthDate' | 'accountNumber' | 'title' | 'lastName' | 'gender' | 'street' | 'houseNumber' | 'zipCode' | 'city' | 'phone' | 'type' | 'companyName' | 'name'} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.
|
|
190
190
|
* @param {any} [search] To search the list by any field, pass search=xxx to fetch the result.
|
|
191
|
-
* @param {
|
|
192
|
-
* @param {
|
|
191
|
+
* @param {'id' | 'firstName' | 'lastName' | 'email' | 'createdAt' | 'accountNumber'} [order] The order parameter determines how the results should be sorted according to a specified field. It functions similarly to an SQL ORDER BY. Sorting can be performed in either ascending (ASC) or descending (DESC) order. Default: ASC.
|
|
192
|
+
* @param {'policies'} [expand] Use this parameter to fetch additional information about the list items. The expand query parameter increases the set of fields that appear in the response in addition to the default ones. Expanding resources can reduce the number of API calls required to accomplish a task. However, use this with parsimony as some expanded fields can drastically increase payload size.
|
|
193
193
|
* @param {any} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations. In general, fetching filtered responses conserves bandwidth and reduces response time.
|
|
194
194
|
* @param {*} [options] Override http request option.
|
|
195
195
|
* @throws {RequiredError}
|
|
196
196
|
*/
|
|
197
|
-
listAccounts: async (authorization?: string, pageSize?: any, pageToken?: any, filter?:
|
|
197
|
+
listAccounts: async (authorization?: string, pageSize?: any, pageToken?: any, filter?: 'firstName' | 'code' | 'email' | 'createdAt' | 'birthDate' | 'accountNumber' | 'title' | 'lastName' | 'gender' | 'street' | 'houseNumber' | 'zipCode' | 'city' | 'phone' | 'type' | 'companyName' | 'name', search?: any, order?: 'id' | 'firstName' | 'lastName' | 'email' | 'createdAt' | 'accountNumber', expand?: 'policies', filters?: any, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
198
198
|
const localVarPath = `/accountservice/v1/accounts`;
|
|
199
199
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
200
200
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
@@ -342,7 +342,7 @@ export const AccountsApiFp = function(configuration?: Configuration) {
|
|
|
342
342
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
343
343
|
},
|
|
344
344
|
/**
|
|
345
|
-
* Retrieves the details of the account that was previously created. Supply the unique account code
|
|
345
|
+
* 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.
|
|
346
346
|
* @summary Retrieve the account
|
|
347
347
|
* @param {string} code Unique identifier for the object.
|
|
348
348
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
@@ -355,20 +355,20 @@ export const AccountsApiFp = function(configuration?: Configuration) {
|
|
|
355
355
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
356
356
|
},
|
|
357
357
|
/**
|
|
358
|
-
* Returns a list of accounts you have previously created.
|
|
358
|
+
* 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.
|
|
359
359
|
* @summary List accounts
|
|
360
360
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
361
361
|
* @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
362
362
|
* @param {any} [pageToken] A cursor for use in pagination. pageToken is an ID that defines your place in the list. For instance, if you make a list request and receive 100 objects and pageToken=1, your subsequent call can include pageToken=2 in order to fetch the next page of the list.
|
|
363
|
-
* @param {
|
|
363
|
+
* @param {'firstName' | 'code' | 'email' | 'createdAt' | 'birthDate' | 'accountNumber' | 'title' | 'lastName' | 'gender' | 'street' | 'houseNumber' | 'zipCode' | 'city' | 'phone' | 'type' | 'companyName' | 'name'} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.
|
|
364
364
|
* @param {any} [search] To search the list by any field, pass search=xxx to fetch the result.
|
|
365
|
-
* @param {
|
|
366
|
-
* @param {
|
|
365
|
+
* @param {'id' | 'firstName' | 'lastName' | 'email' | 'createdAt' | 'accountNumber'} [order] The order parameter determines how the results should be sorted according to a specified field. It functions similarly to an SQL ORDER BY. Sorting can be performed in either ascending (ASC) or descending (DESC) order. Default: ASC.
|
|
366
|
+
* @param {'policies'} [expand] Use this parameter to fetch additional information about the list items. The expand query parameter increases the set of fields that appear in the response in addition to the default ones. Expanding resources can reduce the number of API calls required to accomplish a task. However, use this with parsimony as some expanded fields can drastically increase payload size.
|
|
367
367
|
* @param {any} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations. In general, fetching filtered responses conserves bandwidth and reduces response time.
|
|
368
368
|
* @param {*} [options] Override http request option.
|
|
369
369
|
* @throws {RequiredError}
|
|
370
370
|
*/
|
|
371
|
-
async listAccounts(authorization?: string, pageSize?: any, pageToken?: any, filter?:
|
|
371
|
+
async listAccounts(authorization?: string, pageSize?: any, pageToken?: any, filter?: 'firstName' | 'code' | 'email' | 'createdAt' | 'birthDate' | 'accountNumber' | 'title' | 'lastName' | 'gender' | 'street' | 'houseNumber' | 'zipCode' | 'city' | 'phone' | 'type' | 'companyName' | 'name', search?: any, order?: 'id' | 'firstName' | 'lastName' | 'email' | 'createdAt' | 'accountNumber', expand?: 'policies', filters?: any, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ListAccountsResponseClass>> {
|
|
372
372
|
const localVarAxiosArgs = await localVarAxiosParamCreator.listAccounts(authorization, pageSize, pageToken, filter, search, order, expand, filters, options);
|
|
373
373
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
374
374
|
},
|
|
@@ -418,7 +418,7 @@ export const AccountsApiFactory = function (configuration?: Configuration, baseP
|
|
|
418
418
|
return localVarFp.deleteAccount(code, authorization, options).then((request) => request(axios, basePath));
|
|
419
419
|
},
|
|
420
420
|
/**
|
|
421
|
-
* Retrieves the details of the account that was previously created. Supply the unique account code
|
|
421
|
+
* 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
422
|
* @summary Retrieve the account
|
|
423
423
|
* @param {string} code Unique identifier for the object.
|
|
424
424
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
@@ -430,20 +430,20 @@ export const AccountsApiFactory = function (configuration?: Configuration, baseP
|
|
|
430
430
|
return localVarFp.getAccount(code, authorization, expand, options).then((request) => request(axios, basePath));
|
|
431
431
|
},
|
|
432
432
|
/**
|
|
433
|
-
* Returns a list of accounts you have previously created.
|
|
433
|
+
* 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.
|
|
434
434
|
* @summary List accounts
|
|
435
435
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
436
436
|
* @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
437
437
|
* @param {any} [pageToken] A cursor for use in pagination. pageToken is an ID that defines your place in the list. For instance, if you make a list request and receive 100 objects and pageToken=1, your subsequent call can include pageToken=2 in order to fetch the next page of the list.
|
|
438
|
-
* @param {
|
|
438
|
+
* @param {'firstName' | 'code' | 'email' | 'createdAt' | 'birthDate' | 'accountNumber' | 'title' | 'lastName' | 'gender' | 'street' | 'houseNumber' | 'zipCode' | 'city' | 'phone' | 'type' | 'companyName' | 'name'} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.
|
|
439
439
|
* @param {any} [search] To search the list by any field, pass search=xxx to fetch the result.
|
|
440
|
-
* @param {
|
|
441
|
-
* @param {
|
|
440
|
+
* @param {'id' | 'firstName' | 'lastName' | 'email' | 'createdAt' | 'accountNumber'} [order] The order parameter determines how the results should be sorted according to a specified field. It functions similarly to an SQL ORDER BY. Sorting can be performed in either ascending (ASC) or descending (DESC) order. Default: ASC.
|
|
441
|
+
* @param {'policies'} [expand] Use this parameter to fetch additional information about the list items. The expand query parameter increases the set of fields that appear in the response in addition to the default ones. Expanding resources can reduce the number of API calls required to accomplish a task. However, use this with parsimony as some expanded fields can drastically increase payload size.
|
|
442
442
|
* @param {any} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations. In general, fetching filtered responses conserves bandwidth and reduces response time.
|
|
443
443
|
* @param {*} [options] Override http request option.
|
|
444
444
|
* @throws {RequiredError}
|
|
445
445
|
*/
|
|
446
|
-
listAccounts(authorization?: string, pageSize?: any, pageToken?: any, filter?:
|
|
446
|
+
listAccounts(authorization?: string, pageSize?: any, pageToken?: any, filter?: 'firstName' | 'code' | 'email' | 'createdAt' | 'birthDate' | 'accountNumber' | 'title' | 'lastName' | 'gender' | 'street' | 'houseNumber' | 'zipCode' | 'city' | 'phone' | 'type' | 'companyName' | 'name', search?: any, order?: 'id' | 'firstName' | 'lastName' | 'email' | 'createdAt' | 'accountNumber', expand?: 'policies', filters?: any, options?: any): AxiosPromise<ListAccountsResponseClass> {
|
|
447
447
|
return localVarFp.listAccounts(authorization, pageSize, pageToken, filter, search, order, expand, filters, options).then((request) => request(axios, basePath));
|
|
448
448
|
},
|
|
449
449
|
/**
|
|
@@ -560,10 +560,10 @@ export interface AccountsApiListAccountsRequest {
|
|
|
560
560
|
|
|
561
561
|
/**
|
|
562
562
|
* Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.
|
|
563
|
-
* @type {
|
|
563
|
+
* @type {'firstName' | 'code' | 'email' | 'createdAt' | 'birthDate' | 'accountNumber' | 'title' | 'lastName' | 'gender' | 'street' | 'houseNumber' | 'zipCode' | 'city' | 'phone' | 'type' | 'companyName' | 'name'}
|
|
564
564
|
* @memberof AccountsApiListAccounts
|
|
565
565
|
*/
|
|
566
|
-
readonly filter?:
|
|
566
|
+
readonly filter?: 'firstName' | 'code' | 'email' | 'createdAt' | 'birthDate' | 'accountNumber' | 'title' | 'lastName' | 'gender' | 'street' | 'houseNumber' | 'zipCode' | 'city' | 'phone' | 'type' | 'companyName' | 'name'
|
|
567
567
|
|
|
568
568
|
/**
|
|
569
569
|
* To search the list by any field, pass search=xxx to fetch the result.
|
|
@@ -574,17 +574,17 @@ export interface AccountsApiListAccountsRequest {
|
|
|
574
574
|
|
|
575
575
|
/**
|
|
576
576
|
* The order parameter determines how the results should be sorted according to a specified field. It functions similarly to an SQL ORDER BY. Sorting can be performed in either ascending (ASC) or descending (DESC) order. Default: ASC.
|
|
577
|
-
* @type {
|
|
577
|
+
* @type {'id' | 'firstName' | 'lastName' | 'email' | 'createdAt' | 'accountNumber'}
|
|
578
578
|
* @memberof AccountsApiListAccounts
|
|
579
579
|
*/
|
|
580
|
-
readonly order?:
|
|
580
|
+
readonly order?: 'id' | 'firstName' | 'lastName' | 'email' | 'createdAt' | 'accountNumber'
|
|
581
581
|
|
|
582
582
|
/**
|
|
583
583
|
* Use this parameter to fetch additional information about the list items. The expand query parameter increases the set of fields that appear in the response in addition to the default ones. Expanding resources can reduce the number of API calls required to accomplish a task. However, use this with parsimony as some expanded fields can drastically increase payload size.
|
|
584
|
-
* @type {
|
|
584
|
+
* @type {'policies'}
|
|
585
585
|
* @memberof AccountsApiListAccounts
|
|
586
586
|
*/
|
|
587
|
-
readonly expand?:
|
|
587
|
+
readonly expand?: 'policies'
|
|
588
588
|
|
|
589
589
|
/**
|
|
590
590
|
* Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations. In general, fetching filtered responses conserves bandwidth and reduces response time.
|
|
@@ -654,7 +654,7 @@ export class AccountsApi extends BaseAPI {
|
|
|
654
654
|
}
|
|
655
655
|
|
|
656
656
|
/**
|
|
657
|
-
* Retrieves the details of the account that was previously created. Supply the unique account code
|
|
657
|
+
* 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.
|
|
658
658
|
* @summary Retrieve the account
|
|
659
659
|
* @param {AccountsApiGetAccountRequest} requestParameters Request parameters.
|
|
660
660
|
* @param {*} [options] Override http request option.
|
|
@@ -666,7 +666,7 @@ export class AccountsApi extends BaseAPI {
|
|
|
666
666
|
}
|
|
667
667
|
|
|
668
668
|
/**
|
|
669
|
-
* Returns a list of accounts you have previously created.
|
|
669
|
+
* 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.
|
|
670
670
|
* @summary List accounts
|
|
671
671
|
* @param {AccountsApiListAccountsRequest} requestParameters Request parameters.
|
|
672
672
|
* @param {*} [options] Override http request option.
|
package/api/default-api.ts
CHANGED
|
@@ -31,7 +31,7 @@ import { InlineResponse503 } from '../models';
|
|
|
31
31
|
export const DefaultApiAxiosParamCreator = function (configuration?: Configuration) {
|
|
32
32
|
return {
|
|
33
33
|
/**
|
|
34
|
-
* Returns the health status of the account service.
|
|
34
|
+
* Returns the health status of the account service. This endpoint is used to monitor the operational status of the account service. It typically returns a simple status indicator, such as \'UP\' or \'OK\', confirming that the service is operational and available.
|
|
35
35
|
* @summary Health Check
|
|
36
36
|
* @param {*} [options] Override http request option.
|
|
37
37
|
* @throws {RequiredError}
|
|
@@ -73,7 +73,7 @@ export const DefaultApiFp = function(configuration?: Configuration) {
|
|
|
73
73
|
const localVarAxiosParamCreator = DefaultApiAxiosParamCreator(configuration)
|
|
74
74
|
return {
|
|
75
75
|
/**
|
|
76
|
-
* Returns the health status of the account service.
|
|
76
|
+
* Returns the health status of the account service. This endpoint is used to monitor the operational status of the account service. It typically returns a simple status indicator, such as \'UP\' or \'OK\', confirming that the service is operational and available.
|
|
77
77
|
* @summary Health Check
|
|
78
78
|
* @param {*} [options] Override http request option.
|
|
79
79
|
* @throws {RequiredError}
|
|
@@ -93,7 +93,7 @@ export const DefaultApiFactory = function (configuration?: Configuration, basePa
|
|
|
93
93
|
const localVarFp = DefaultApiFp(configuration)
|
|
94
94
|
return {
|
|
95
95
|
/**
|
|
96
|
-
* Returns the health status of the account service.
|
|
96
|
+
* Returns the health status of the account service. This endpoint is used to monitor the operational status of the account service. It typically returns a simple status indicator, such as \'UP\' or \'OK\', confirming that the service is operational and available.
|
|
97
97
|
* @summary Health Check
|
|
98
98
|
* @param {*} [options] Override http request option.
|
|
99
99
|
* @throws {RequiredError}
|
|
@@ -112,7 +112,7 @@ export const DefaultApiFactory = function (configuration?: Configuration, basePa
|
|
|
112
112
|
*/
|
|
113
113
|
export class DefaultApi extends BaseAPI {
|
|
114
114
|
/**
|
|
115
|
-
* Returns the health status of the account service.
|
|
115
|
+
* Returns the health status of the account service. This endpoint is used to monitor the operational status of the account service. It typically returns a simple status indicator, such as \'UP\' or \'OK\', confirming that the service is operational and available.
|
|
116
116
|
* @summary Health Check
|
|
117
117
|
* @param {*} [options] Override http request option.
|
|
118
118
|
* @throws {RequiredError}
|
|
@@ -42,7 +42,7 @@ export declare const AccountsApiAxiosParamCreator: (configuration?: Configuratio
|
|
|
42
42
|
*/
|
|
43
43
|
deleteAccount: (code: string, authorization?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
44
44
|
/**
|
|
45
|
-
* Retrieves the details of the account that was previously created. Supply the unique account code
|
|
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
48
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
@@ -52,20 +52,20 @@ export declare const AccountsApiAxiosParamCreator: (configuration?: Configuratio
|
|
|
52
52
|
*/
|
|
53
53
|
getAccount: (code: string, authorization?: string, expand?: 'policies', options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
54
54
|
/**
|
|
55
|
-
* Returns a list of accounts you have previously created.
|
|
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
|
|
57
57
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
58
58
|
* @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
59
59
|
* @param {any} [pageToken] A cursor for use in pagination. pageToken is an ID that defines your place in the list. For instance, if you make a list request and receive 100 objects and pageToken=1, your subsequent call can include pageToken=2 in order to fetch the next page of the list.
|
|
60
|
-
* @param {
|
|
60
|
+
* @param {'firstName' | 'code' | 'email' | 'createdAt' | 'birthDate' | 'accountNumber' | 'title' | 'lastName' | 'gender' | 'street' | 'houseNumber' | 'zipCode' | 'city' | 'phone' | 'type' | 'companyName' | 'name'} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.
|
|
61
61
|
* @param {any} [search] To search the list by any field, pass search=xxx to fetch the result.
|
|
62
|
-
* @param {
|
|
63
|
-
* @param {
|
|
62
|
+
* @param {'id' | 'firstName' | 'lastName' | 'email' | 'createdAt' | 'accountNumber'} [order] The order parameter determines how the results should be sorted according to a specified field. It functions similarly to an SQL ORDER BY. Sorting can be performed in either ascending (ASC) or descending (DESC) order. Default: ASC.
|
|
63
|
+
* @param {'policies'} [expand] Use this parameter to fetch additional information about the list items. The expand query parameter increases the set of fields that appear in the response in addition to the default ones. Expanding resources can reduce the number of API calls required to accomplish a task. However, use this with parsimony as some expanded fields can drastically increase payload size.
|
|
64
64
|
* @param {any} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations. In general, fetching filtered responses conserves bandwidth and reduces response time.
|
|
65
65
|
* @param {*} [options] Override http request option.
|
|
66
66
|
* @throws {RequiredError}
|
|
67
67
|
*/
|
|
68
|
-
listAccounts: (authorization?: string, pageSize?: any, pageToken?: any, filter?:
|
|
68
|
+
listAccounts: (authorization?: string, pageSize?: any, pageToken?: any, filter?: 'firstName' | 'code' | 'email' | 'createdAt' | 'birthDate' | 'accountNumber' | 'title' | 'lastName' | 'gender' | 'street' | 'houseNumber' | 'zipCode' | 'city' | 'phone' | 'type' | 'companyName' | 'name', search?: any, order?: 'id' | 'firstName' | 'lastName' | 'email' | 'createdAt' | 'accountNumber', expand?: 'policies', filters?: any, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
69
69
|
/**
|
|
70
70
|
* Updates the specified account by setting the values of the parameters passed. Any parameters not provided will be left unchanged.
|
|
71
71
|
* @summary Update the account
|
|
@@ -101,7 +101,7 @@ export declare const AccountsApiFp: (configuration?: Configuration) => {
|
|
|
101
101
|
*/
|
|
102
102
|
deleteAccount(code: string, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
|
|
103
103
|
/**
|
|
104
|
-
* Retrieves the details of the account that was previously created. Supply the unique account code
|
|
104
|
+
* 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.
|
|
105
105
|
* @summary Retrieve the account
|
|
106
106
|
* @param {string} code Unique identifier for the object.
|
|
107
107
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
@@ -111,20 +111,20 @@ export declare const AccountsApiFp: (configuration?: Configuration) => {
|
|
|
111
111
|
*/
|
|
112
112
|
getAccount(code: string, authorization?: string, expand?: 'policies', options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetAccountResponseClass>>;
|
|
113
113
|
/**
|
|
114
|
-
* Returns a list of accounts you have previously created.
|
|
114
|
+
* 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.
|
|
115
115
|
* @summary List accounts
|
|
116
116
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
117
117
|
* @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
118
118
|
* @param {any} [pageToken] A cursor for use in pagination. pageToken is an ID that defines your place in the list. For instance, if you make a list request and receive 100 objects and pageToken=1, your subsequent call can include pageToken=2 in order to fetch the next page of the list.
|
|
119
|
-
* @param {
|
|
119
|
+
* @param {'firstName' | 'code' | 'email' | 'createdAt' | 'birthDate' | 'accountNumber' | 'title' | 'lastName' | 'gender' | 'street' | 'houseNumber' | 'zipCode' | 'city' | 'phone' | 'type' | 'companyName' | 'name'} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.
|
|
120
120
|
* @param {any} [search] To search the list by any field, pass search=xxx to fetch the result.
|
|
121
|
-
* @param {
|
|
122
|
-
* @param {
|
|
121
|
+
* @param {'id' | 'firstName' | 'lastName' | 'email' | 'createdAt' | 'accountNumber'} [order] The order parameter determines how the results should be sorted according to a specified field. It functions similarly to an SQL ORDER BY. Sorting can be performed in either ascending (ASC) or descending (DESC) order. Default: ASC.
|
|
122
|
+
* @param {'policies'} [expand] Use this parameter to fetch additional information about the list items. The expand query parameter increases the set of fields that appear in the response in addition to the default ones. Expanding resources can reduce the number of API calls required to accomplish a task. However, use this with parsimony as some expanded fields can drastically increase payload size.
|
|
123
123
|
* @param {any} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations. In general, fetching filtered responses conserves bandwidth and reduces response time.
|
|
124
124
|
* @param {*} [options] Override http request option.
|
|
125
125
|
* @throws {RequiredError}
|
|
126
126
|
*/
|
|
127
|
-
listAccounts(authorization?: string, pageSize?: any, pageToken?: any, filter?:
|
|
127
|
+
listAccounts(authorization?: string, pageSize?: any, pageToken?: any, filter?: 'firstName' | 'code' | 'email' | 'createdAt' | 'birthDate' | 'accountNumber' | 'title' | 'lastName' | 'gender' | 'street' | 'houseNumber' | 'zipCode' | 'city' | 'phone' | 'type' | 'companyName' | 'name', search?: any, order?: 'id' | 'firstName' | 'lastName' | 'email' | 'createdAt' | 'accountNumber', expand?: 'policies', filters?: any, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ListAccountsResponseClass>>;
|
|
128
128
|
/**
|
|
129
129
|
* Updates the specified account by setting the values of the parameters passed. Any parameters not provided will be left unchanged.
|
|
130
130
|
* @summary Update the account
|
|
@@ -160,7 +160,7 @@ export declare const AccountsApiFactory: (configuration?: Configuration, basePat
|
|
|
160
160
|
*/
|
|
161
161
|
deleteAccount(code: string, authorization?: string, options?: any): AxiosPromise<void>;
|
|
162
162
|
/**
|
|
163
|
-
* Retrieves the details of the account that was previously created. Supply the unique account code
|
|
163
|
+
* 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.
|
|
164
164
|
* @summary Retrieve the account
|
|
165
165
|
* @param {string} code Unique identifier for the object.
|
|
166
166
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
@@ -170,20 +170,20 @@ export declare const AccountsApiFactory: (configuration?: Configuration, basePat
|
|
|
170
170
|
*/
|
|
171
171
|
getAccount(code: string, authorization?: string, expand?: 'policies', options?: any): AxiosPromise<GetAccountResponseClass>;
|
|
172
172
|
/**
|
|
173
|
-
* Returns a list of accounts you have previously created.
|
|
173
|
+
* 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.
|
|
174
174
|
* @summary List accounts
|
|
175
175
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
176
176
|
* @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
177
177
|
* @param {any} [pageToken] A cursor for use in pagination. pageToken is an ID that defines your place in the list. For instance, if you make a list request and receive 100 objects and pageToken=1, your subsequent call can include pageToken=2 in order to fetch the next page of the list.
|
|
178
|
-
* @param {
|
|
178
|
+
* @param {'firstName' | 'code' | 'email' | 'createdAt' | 'birthDate' | 'accountNumber' | 'title' | 'lastName' | 'gender' | 'street' | 'houseNumber' | 'zipCode' | 'city' | 'phone' | 'type' | 'companyName' | 'name'} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.
|
|
179
179
|
* @param {any} [search] To search the list by any field, pass search=xxx to fetch the result.
|
|
180
|
-
* @param {
|
|
181
|
-
* @param {
|
|
180
|
+
* @param {'id' | 'firstName' | 'lastName' | 'email' | 'createdAt' | 'accountNumber'} [order] The order parameter determines how the results should be sorted according to a specified field. It functions similarly to an SQL ORDER BY. Sorting can be performed in either ascending (ASC) or descending (DESC) order. Default: ASC.
|
|
181
|
+
* @param {'policies'} [expand] Use this parameter to fetch additional information about the list items. The expand query parameter increases the set of fields that appear in the response in addition to the default ones. Expanding resources can reduce the number of API calls required to accomplish a task. However, use this with parsimony as some expanded fields can drastically increase payload size.
|
|
182
182
|
* @param {any} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations. In general, fetching filtered responses conserves bandwidth and reduces response time.
|
|
183
183
|
* @param {*} [options] Override http request option.
|
|
184
184
|
* @throws {RequiredError}
|
|
185
185
|
*/
|
|
186
|
-
listAccounts(authorization?: string, pageSize?: any, pageToken?: any, filter?:
|
|
186
|
+
listAccounts(authorization?: string, pageSize?: any, pageToken?: any, filter?: 'firstName' | 'code' | 'email' | 'createdAt' | 'birthDate' | 'accountNumber' | 'title' | 'lastName' | 'gender' | 'street' | 'houseNumber' | 'zipCode' | 'city' | 'phone' | 'type' | 'companyName' | 'name', search?: any, order?: 'id' | 'firstName' | 'lastName' | 'email' | 'createdAt' | 'accountNumber', expand?: 'policies', filters?: any, options?: any): AxiosPromise<ListAccountsResponseClass>;
|
|
187
187
|
/**
|
|
188
188
|
* Updates the specified account by setting the values of the parameters passed. Any parameters not provided will be left unchanged.
|
|
189
189
|
* @summary Update the account
|
|
@@ -284,10 +284,10 @@ export interface AccountsApiListAccountsRequest {
|
|
|
284
284
|
readonly pageToken?: any;
|
|
285
285
|
/**
|
|
286
286
|
* Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.
|
|
287
|
-
* @type {
|
|
287
|
+
* @type {'firstName' | 'code' | 'email' | 'createdAt' | 'birthDate' | 'accountNumber' | 'title' | 'lastName' | 'gender' | 'street' | 'houseNumber' | 'zipCode' | 'city' | 'phone' | 'type' | 'companyName' | 'name'}
|
|
288
288
|
* @memberof AccountsApiListAccounts
|
|
289
289
|
*/
|
|
290
|
-
readonly filter?:
|
|
290
|
+
readonly filter?: 'firstName' | 'code' | 'email' | 'createdAt' | 'birthDate' | 'accountNumber' | 'title' | 'lastName' | 'gender' | 'street' | 'houseNumber' | 'zipCode' | 'city' | 'phone' | 'type' | 'companyName' | 'name';
|
|
291
291
|
/**
|
|
292
292
|
* To search the list by any field, pass search=xxx to fetch the result.
|
|
293
293
|
* @type {any}
|
|
@@ -296,16 +296,16 @@ export interface AccountsApiListAccountsRequest {
|
|
|
296
296
|
readonly search?: any;
|
|
297
297
|
/**
|
|
298
298
|
* The order parameter determines how the results should be sorted according to a specified field. It functions similarly to an SQL ORDER BY. Sorting can be performed in either ascending (ASC) or descending (DESC) order. Default: ASC.
|
|
299
|
-
* @type {
|
|
299
|
+
* @type {'id' | 'firstName' | 'lastName' | 'email' | 'createdAt' | 'accountNumber'}
|
|
300
300
|
* @memberof AccountsApiListAccounts
|
|
301
301
|
*/
|
|
302
|
-
readonly order?:
|
|
302
|
+
readonly order?: 'id' | 'firstName' | 'lastName' | 'email' | 'createdAt' | 'accountNumber';
|
|
303
303
|
/**
|
|
304
304
|
* Use this parameter to fetch additional information about the list items. The expand query parameter increases the set of fields that appear in the response in addition to the default ones. Expanding resources can reduce the number of API calls required to accomplish a task. However, use this with parsimony as some expanded fields can drastically increase payload size.
|
|
305
|
-
* @type {
|
|
305
|
+
* @type {'policies'}
|
|
306
306
|
* @memberof AccountsApiListAccounts
|
|
307
307
|
*/
|
|
308
|
-
readonly expand?:
|
|
308
|
+
readonly expand?: 'policies';
|
|
309
309
|
/**
|
|
310
310
|
* Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations. In general, fetching filtered responses conserves bandwidth and reduces response time.
|
|
311
311
|
* @type {any}
|
|
@@ -364,7 +364,7 @@ export declare class AccountsApi extends BaseAPI {
|
|
|
364
364
|
*/
|
|
365
365
|
deleteAccount(requestParameters: AccountsApiDeleteAccountRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any>>;
|
|
366
366
|
/**
|
|
367
|
-
* Retrieves the details of the account that was previously created. Supply the unique account code
|
|
367
|
+
* 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.
|
|
368
368
|
* @summary Retrieve the account
|
|
369
369
|
* @param {AccountsApiGetAccountRequest} requestParameters Request parameters.
|
|
370
370
|
* @param {*} [options] Override http request option.
|
|
@@ -373,7 +373,7 @@ export declare class AccountsApi extends BaseAPI {
|
|
|
373
373
|
*/
|
|
374
374
|
getAccount(requestParameters: AccountsApiGetAccountRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<GetAccountResponseClass, any>>;
|
|
375
375
|
/**
|
|
376
|
-
* Returns a list of accounts you have previously created.
|
|
376
|
+
* 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.
|
|
377
377
|
* @summary List accounts
|
|
378
378
|
* @param {AccountsApiListAccountsRequest} requestParameters Request parameters.
|
|
379
379
|
* @param {*} [options] Override http request option.
|
package/dist/api/accounts-api.js
CHANGED
|
@@ -190,7 +190,7 @@ var AccountsApiAxiosParamCreator = function (configuration) {
|
|
|
190
190
|
});
|
|
191
191
|
},
|
|
192
192
|
/**
|
|
193
|
-
* Retrieves the details of the account that was previously created. Supply the unique account code
|
|
193
|
+
* 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.
|
|
194
194
|
* @summary Retrieve the account
|
|
195
195
|
* @param {string} code Unique identifier for the object.
|
|
196
196
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
@@ -242,15 +242,15 @@ var AccountsApiAxiosParamCreator = function (configuration) {
|
|
|
242
242
|
});
|
|
243
243
|
},
|
|
244
244
|
/**
|
|
245
|
-
* Returns a list of accounts you have previously created.
|
|
245
|
+
* 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.
|
|
246
246
|
* @summary List accounts
|
|
247
247
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
248
248
|
* @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
249
249
|
* @param {any} [pageToken] A cursor for use in pagination. pageToken is an ID that defines your place in the list. For instance, if you make a list request and receive 100 objects and pageToken=1, your subsequent call can include pageToken=2 in order to fetch the next page of the list.
|
|
250
|
-
* @param {
|
|
250
|
+
* @param {'firstName' | 'code' | 'email' | 'createdAt' | 'birthDate' | 'accountNumber' | 'title' | 'lastName' | 'gender' | 'street' | 'houseNumber' | 'zipCode' | 'city' | 'phone' | 'type' | 'companyName' | 'name'} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.
|
|
251
251
|
* @param {any} [search] To search the list by any field, pass search=xxx to fetch the result.
|
|
252
|
-
* @param {
|
|
253
|
-
* @param {
|
|
252
|
+
* @param {'id' | 'firstName' | 'lastName' | 'email' | 'createdAt' | 'accountNumber'} [order] The order parameter determines how the results should be sorted according to a specified field. It functions similarly to an SQL ORDER BY. Sorting can be performed in either ascending (ASC) or descending (DESC) order. Default: ASC.
|
|
253
|
+
* @param {'policies'} [expand] Use this parameter to fetch additional information about the list items. The expand query parameter increases the set of fields that appear in the response in addition to the default ones. Expanding resources can reduce the number of API calls required to accomplish a task. However, use this with parsimony as some expanded fields can drastically increase payload size.
|
|
254
254
|
* @param {any} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations. In general, fetching filtered responses conserves bandwidth and reduces response time.
|
|
255
255
|
* @param {*} [options] Override http request option.
|
|
256
256
|
* @throws {RequiredError}
|
|
@@ -419,7 +419,7 @@ var AccountsApiFp = function (configuration) {
|
|
|
419
419
|
});
|
|
420
420
|
},
|
|
421
421
|
/**
|
|
422
|
-
* Retrieves the details of the account that was previously created. Supply the unique account code
|
|
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.
|
|
423
423
|
* @summary Retrieve the account
|
|
424
424
|
* @param {string} code Unique identifier for the object.
|
|
425
425
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
@@ -441,15 +441,15 @@ var AccountsApiFp = function (configuration) {
|
|
|
441
441
|
});
|
|
442
442
|
},
|
|
443
443
|
/**
|
|
444
|
-
* Returns a list of accounts you have previously created.
|
|
444
|
+
* 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.
|
|
445
445
|
* @summary List accounts
|
|
446
446
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
447
447
|
* @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
448
448
|
* @param {any} [pageToken] A cursor for use in pagination. pageToken is an ID that defines your place in the list. For instance, if you make a list request and receive 100 objects and pageToken=1, your subsequent call can include pageToken=2 in order to fetch the next page of the list.
|
|
449
|
-
* @param {
|
|
449
|
+
* @param {'firstName' | 'code' | 'email' | 'createdAt' | 'birthDate' | 'accountNumber' | 'title' | 'lastName' | 'gender' | 'street' | 'houseNumber' | 'zipCode' | 'city' | 'phone' | 'type' | 'companyName' | 'name'} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.
|
|
450
450
|
* @param {any} [search] To search the list by any field, pass search=xxx to fetch the result.
|
|
451
|
-
* @param {
|
|
452
|
-
* @param {
|
|
451
|
+
* @param {'id' | 'firstName' | 'lastName' | 'email' | 'createdAt' | 'accountNumber'} [order] The order parameter determines how the results should be sorted according to a specified field. It functions similarly to an SQL ORDER BY. Sorting can be performed in either ascending (ASC) or descending (DESC) order. Default: ASC.
|
|
452
|
+
* @param {'policies'} [expand] Use this parameter to fetch additional information about the list items. The expand query parameter increases the set of fields that appear in the response in addition to the default ones. Expanding resources can reduce the number of API calls required to accomplish a task. However, use this with parsimony as some expanded fields can drastically increase payload size.
|
|
453
453
|
* @param {any} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations. In general, fetching filtered responses conserves bandwidth and reduces response time.
|
|
454
454
|
* @param {*} [options] Override http request option.
|
|
455
455
|
* @throws {RequiredError}
|
|
@@ -522,7 +522,7 @@ var AccountsApiFactory = function (configuration, basePath, axios) {
|
|
|
522
522
|
return localVarFp.deleteAccount(code, authorization, options).then(function (request) { return request(axios, basePath); });
|
|
523
523
|
},
|
|
524
524
|
/**
|
|
525
|
-
* Retrieves the details of the account that was previously created. Supply the unique account code
|
|
525
|
+
* 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.
|
|
526
526
|
* @summary Retrieve the account
|
|
527
527
|
* @param {string} code Unique identifier for the object.
|
|
528
528
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
@@ -534,15 +534,15 @@ var AccountsApiFactory = function (configuration, basePath, axios) {
|
|
|
534
534
|
return localVarFp.getAccount(code, authorization, expand, options).then(function (request) { return request(axios, basePath); });
|
|
535
535
|
},
|
|
536
536
|
/**
|
|
537
|
-
* Returns a list of accounts you have previously created.
|
|
537
|
+
* 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.
|
|
538
538
|
* @summary List accounts
|
|
539
539
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
540
540
|
* @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
541
541
|
* @param {any} [pageToken] A cursor for use in pagination. pageToken is an ID that defines your place in the list. For instance, if you make a list request and receive 100 objects and pageToken=1, your subsequent call can include pageToken=2 in order to fetch the next page of the list.
|
|
542
|
-
* @param {
|
|
542
|
+
* @param {'firstName' | 'code' | 'email' | 'createdAt' | 'birthDate' | 'accountNumber' | 'title' | 'lastName' | 'gender' | 'street' | 'houseNumber' | 'zipCode' | 'city' | 'phone' | 'type' | 'companyName' | 'name'} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.
|
|
543
543
|
* @param {any} [search] To search the list by any field, pass search=xxx to fetch the result.
|
|
544
|
-
* @param {
|
|
545
|
-
* @param {
|
|
544
|
+
* @param {'id' | 'firstName' | 'lastName' | 'email' | 'createdAt' | 'accountNumber'} [order] The order parameter determines how the results should be sorted according to a specified field. It functions similarly to an SQL ORDER BY. Sorting can be performed in either ascending (ASC) or descending (DESC) order. Default: ASC.
|
|
545
|
+
* @param {'policies'} [expand] Use this parameter to fetch additional information about the list items. The expand query parameter increases the set of fields that appear in the response in addition to the default ones. Expanding resources can reduce the number of API calls required to accomplish a task. However, use this with parsimony as some expanded fields can drastically increase payload size.
|
|
546
546
|
* @param {any} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations. In general, fetching filtered responses conserves bandwidth and reduces response time.
|
|
547
547
|
* @param {*} [options] Override http request option.
|
|
548
548
|
* @throws {RequiredError}
|
|
@@ -601,7 +601,7 @@ var AccountsApi = /** @class */ (function (_super) {
|
|
|
601
601
|
return (0, exports.AccountsApiFp)(this.configuration).deleteAccount(requestParameters.code, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
602
602
|
};
|
|
603
603
|
/**
|
|
604
|
-
* Retrieves the details of the account that was previously created. Supply the unique account code
|
|
604
|
+
* 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.
|
|
605
605
|
* @summary Retrieve the account
|
|
606
606
|
* @param {AccountsApiGetAccountRequest} requestParameters Request parameters.
|
|
607
607
|
* @param {*} [options] Override http request option.
|
|
@@ -613,7 +613,7 @@ var AccountsApi = /** @class */ (function (_super) {
|
|
|
613
613
|
return (0, exports.AccountsApiFp)(this.configuration).getAccount(requestParameters.code, requestParameters.authorization, requestParameters.expand, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
614
614
|
};
|
|
615
615
|
/**
|
|
616
|
-
* Returns a list of accounts you have previously created.
|
|
616
|
+
* 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.
|
|
617
617
|
* @summary List accounts
|
|
618
618
|
* @param {AccountsApiListAccountsRequest} requestParameters Request parameters.
|
|
619
619
|
* @param {*} [options] Override http request option.
|
|
@@ -19,7 +19,7 @@ import { InlineResponse200 } from '../models';
|
|
|
19
19
|
*/
|
|
20
20
|
export declare const DefaultApiAxiosParamCreator: (configuration?: Configuration) => {
|
|
21
21
|
/**
|
|
22
|
-
* Returns the health status of the account service.
|
|
22
|
+
* Returns the health status of the account service. This endpoint is used to monitor the operational status of the account service. It typically returns a simple status indicator, such as \'UP\' or \'OK\', confirming that the service is operational and available.
|
|
23
23
|
* @summary Health Check
|
|
24
24
|
* @param {*} [options] Override http request option.
|
|
25
25
|
* @throws {RequiredError}
|
|
@@ -32,7 +32,7 @@ export declare const DefaultApiAxiosParamCreator: (configuration?: Configuration
|
|
|
32
32
|
*/
|
|
33
33
|
export declare const DefaultApiFp: (configuration?: Configuration) => {
|
|
34
34
|
/**
|
|
35
|
-
* Returns the health status of the account service.
|
|
35
|
+
* Returns the health status of the account service. This endpoint is used to monitor the operational status of the account service. It typically returns a simple status indicator, such as \'UP\' or \'OK\', confirming that the service is operational and available.
|
|
36
36
|
* @summary Health Check
|
|
37
37
|
* @param {*} [options] Override http request option.
|
|
38
38
|
* @throws {RequiredError}
|
|
@@ -45,7 +45,7 @@ export declare const DefaultApiFp: (configuration?: Configuration) => {
|
|
|
45
45
|
*/
|
|
46
46
|
export declare const DefaultApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
|
|
47
47
|
/**
|
|
48
|
-
* Returns the health status of the account service.
|
|
48
|
+
* Returns the health status of the account service. This endpoint is used to monitor the operational status of the account service. It typically returns a simple status indicator, such as \'UP\' or \'OK\', confirming that the service is operational and available.
|
|
49
49
|
* @summary Health Check
|
|
50
50
|
* @param {*} [options] Override http request option.
|
|
51
51
|
* @throws {RequiredError}
|
|
@@ -60,7 +60,7 @@ export declare const DefaultApiFactory: (configuration?: Configuration, basePath
|
|
|
60
60
|
*/
|
|
61
61
|
export declare class DefaultApi extends BaseAPI {
|
|
62
62
|
/**
|
|
63
|
-
* Returns the health status of the account service.
|
|
63
|
+
* Returns the health status of the account service. This endpoint is used to monitor the operational status of the account service. It typically returns a simple status indicator, such as \'UP\' or \'OK\', confirming that the service is operational and available.
|
|
64
64
|
* @summary Health Check
|
|
65
65
|
* @param {*} [options] Override http request option.
|
|
66
66
|
* @throws {RequiredError}
|
package/dist/api/default-api.js
CHANGED
|
@@ -93,7 +93,7 @@ var DefaultApiAxiosParamCreator = function (configuration) {
|
|
|
93
93
|
var _this = this;
|
|
94
94
|
return {
|
|
95
95
|
/**
|
|
96
|
-
* Returns the health status of the account service.
|
|
96
|
+
* Returns the health status of the account service. This endpoint is used to monitor the operational status of the account service. It typically returns a simple status indicator, such as \'UP\' or \'OK\', confirming that the service is operational and available.
|
|
97
97
|
* @summary Health Check
|
|
98
98
|
* @param {*} [options] Override http request option.
|
|
99
99
|
* @throws {RequiredError}
|
|
@@ -133,7 +133,7 @@ var DefaultApiFp = function (configuration) {
|
|
|
133
133
|
var localVarAxiosParamCreator = (0, exports.DefaultApiAxiosParamCreator)(configuration);
|
|
134
134
|
return {
|
|
135
135
|
/**
|
|
136
|
-
* Returns the health status of the account service.
|
|
136
|
+
* Returns the health status of the account service. This endpoint is used to monitor the operational status of the account service. It typically returns a simple status indicator, such as \'UP\' or \'OK\', confirming that the service is operational and available.
|
|
137
137
|
* @summary Health Check
|
|
138
138
|
* @param {*} [options] Override http request option.
|
|
139
139
|
* @throws {RequiredError}
|
|
@@ -162,7 +162,7 @@ var DefaultApiFactory = function (configuration, basePath, axios) {
|
|
|
162
162
|
var localVarFp = (0, exports.DefaultApiFp)(configuration);
|
|
163
163
|
return {
|
|
164
164
|
/**
|
|
165
|
-
* Returns the health status of the account service.
|
|
165
|
+
* Returns the health status of the account service. This endpoint is used to monitor the operational status of the account service. It typically returns a simple status indicator, such as \'UP\' or \'OK\', confirming that the service is operational and available.
|
|
166
166
|
* @summary Health Check
|
|
167
167
|
* @param {*} [options] Override http request option.
|
|
168
168
|
* @throws {RequiredError}
|
|
@@ -185,7 +185,7 @@ var DefaultApi = /** @class */ (function (_super) {
|
|
|
185
185
|
return _super !== null && _super.apply(this, arguments) || this;
|
|
186
186
|
}
|
|
187
187
|
/**
|
|
188
|
-
* Returns the health status of the account service.
|
|
188
|
+
* Returns the health status of the account service. This endpoint is used to monitor the operational status of the account service. It typically returns a simple status indicator, such as \'UP\' or \'OK\', confirming that the service is operational and available.
|
|
189
189
|
* @summary Health Check
|
|
190
190
|
* @param {*} [options] Override http request option.
|
|
191
191
|
* @throws {RequiredError}
|
|
@@ -154,6 +154,18 @@ export interface AccountClass {
|
|
|
154
154
|
* @memberof AccountClass
|
|
155
155
|
*/
|
|
156
156
|
'ern': string;
|
|
157
|
+
/**
|
|
158
|
+
* Identifier of the user who created the record.
|
|
159
|
+
* @type {string}
|
|
160
|
+
* @memberof AccountClass
|
|
161
|
+
*/
|
|
162
|
+
'createdBy': string;
|
|
163
|
+
/**
|
|
164
|
+
* Identifier of the user who last updated the record.
|
|
165
|
+
* @type {string}
|
|
166
|
+
* @memberof AccountClass
|
|
167
|
+
*/
|
|
168
|
+
'updatedBy': string;
|
|
157
169
|
}
|
|
158
170
|
export declare const AccountClassTitleEnum: {
|
|
159
171
|
readonly Empty: "";
|
package/models/account-class.ts
CHANGED
|
@@ -159,6 +159,18 @@ export interface AccountClass {
|
|
|
159
159
|
* @memberof AccountClass
|
|
160
160
|
*/
|
|
161
161
|
'ern': string;
|
|
162
|
+
/**
|
|
163
|
+
* Identifier of the user who created the record.
|
|
164
|
+
* @type {string}
|
|
165
|
+
* @memberof AccountClass
|
|
166
|
+
*/
|
|
167
|
+
'createdBy': string;
|
|
168
|
+
/**
|
|
169
|
+
* Identifier of the user who last updated the record.
|
|
170
|
+
* @type {string}
|
|
171
|
+
* @memberof AccountClass
|
|
172
|
+
*/
|
|
173
|
+
'updatedBy': string;
|
|
162
174
|
}
|
|
163
175
|
|
|
164
176
|
export const AccountClassTitleEnum = {
|