@emilgroup/account-sdk 1.36.0 → 1.36.1-beta.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md 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.36.0 --save
20
+ npm install @emilgroup/account-sdk@1.36.1-beta.0 --save
21
21
  ```
22
22
  or
23
23
  ```
24
- yarn add @emilgroup/account-sdk@1.36.0
24
+ yarn add @emilgroup/account-sdk@1.36.1-beta.0
25
25
  ```
26
26
 
27
27
  And then you can import `AccountsApi`.
@@ -39,7 +39,7 @@ import { UpdateAccountResponseClass } from '../models';
39
39
  export const AccountsApiAxiosParamCreator = function (configuration?: Configuration) {
40
40
  return {
41
41
  /**
42
- * This will create an account in the database. Account creation is usually part of a complex workflow that starts with lead creation. Creating directly an account without prior knowledge might result in an unusable account. Look into lead creation for more information.
42
+ * This will create an account in the database. Account creation is usually part of a complex workflow that starts with lead creation. Creating directly an account without prior knowledge might result in an unusable account. Look into lead creation for more information. **Required Permissions** \"partner-management.accounts.create\"
43
43
  * @summary Create the account
44
44
  * @param {CreateAccountRequestDto} createAccountRequestDto
45
45
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
@@ -86,7 +86,7 @@ export const AccountsApiAxiosParamCreator = function (configuration?: Configurat
86
86
  };
87
87
  },
88
88
  /**
89
- * Permanently deletes the account. Supply the unique code that was returned when you created the account and this will delete it.
89
+ * Permanently deletes the account. Supply the unique code that was returned when you created the account and this will delete it. **Required Permissions** \"partner-management.accounts.delete\"
90
90
  * @summary Delete the account
91
91
  * @param {string} code Unique identifier for the object.
92
92
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
@@ -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 that was returned when you created it and Emil Api will return the corresponding account information.
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. **Required Permissions** \"partner-management.accounts.view\"
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,7 +181,7 @@ export const AccountsApiAxiosParamCreator = function (configuration?: Configurat
181
181
  };
182
182
  },
183
183
  /**
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.
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. **Required Permissions** \"partner-management.accounts.view\"
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.
@@ -257,7 +257,7 @@ export const AccountsApiAxiosParamCreator = function (configuration?: Configurat
257
257
  };
258
258
  },
259
259
  /**
260
- * Updates the specified account by setting the values of the parameters passed. Any parameters not provided will be left unchanged.
260
+ * Updates the specified account by setting the values of the parameters passed. Any parameters not provided will be left unchanged. **Required Permissions** \"partner-management.accounts.update\"
261
261
  * @summary Update the account
262
262
  * @param {string} code Unique identifier for the object.
263
263
  * @param {UpdateAccountRequestDto} updateAccountRequestDto
@@ -318,7 +318,7 @@ export const AccountsApiFp = function(configuration?: Configuration) {
318
318
  const localVarAxiosParamCreator = AccountsApiAxiosParamCreator(configuration)
319
319
  return {
320
320
  /**
321
- * This will create an account in the database. Account creation is usually part of a complex workflow that starts with lead creation. Creating directly an account without prior knowledge might result in an unusable account. Look into lead creation for more information.
321
+ * This will create an account in the database. Account creation is usually part of a complex workflow that starts with lead creation. Creating directly an account without prior knowledge might result in an unusable account. Look into lead creation for more information. **Required Permissions** \"partner-management.accounts.create\"
322
322
  * @summary Create the account
323
323
  * @param {CreateAccountRequestDto} createAccountRequestDto
324
324
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
@@ -330,7 +330,7 @@ export const AccountsApiFp = function(configuration?: Configuration) {
330
330
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
331
331
  },
332
332
  /**
333
- * Permanently deletes the account. Supply the unique code that was returned when you created the account and this will delete it.
333
+ * Permanently deletes the account. Supply the unique code that was returned when you created the account and this will delete it. **Required Permissions** \"partner-management.accounts.delete\"
334
334
  * @summary Delete the account
335
335
  * @param {string} code Unique identifier for the object.
336
336
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
@@ -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 that was returned when you created it and Emil Api will return the corresponding account information.
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. **Required Permissions** \"partner-management.accounts.view\"
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,7 +355,7 @@ 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. The accounts are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
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. **Required Permissions** \"partner-management.accounts.view\"
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.
@@ -373,7 +373,7 @@ export const AccountsApiFp = function(configuration?: Configuration) {
373
373
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
374
374
  },
375
375
  /**
376
- * Updates the specified account by setting the values of the parameters passed. Any parameters not provided will be left unchanged.
376
+ * Updates the specified account by setting the values of the parameters passed. Any parameters not provided will be left unchanged. **Required Permissions** \"partner-management.accounts.update\"
377
377
  * @summary Update the account
378
378
  * @param {string} code Unique identifier for the object.
379
379
  * @param {UpdateAccountRequestDto} updateAccountRequestDto
@@ -396,7 +396,7 @@ export const AccountsApiFactory = function (configuration?: Configuration, baseP
396
396
  const localVarFp = AccountsApiFp(configuration)
397
397
  return {
398
398
  /**
399
- * This will create an account in the database. Account creation is usually part of a complex workflow that starts with lead creation. Creating directly an account without prior knowledge might result in an unusable account. Look into lead creation for more information.
399
+ * This will create an account in the database. Account creation is usually part of a complex workflow that starts with lead creation. Creating directly an account without prior knowledge might result in an unusable account. Look into lead creation for more information. **Required Permissions** \"partner-management.accounts.create\"
400
400
  * @summary Create the account
401
401
  * @param {CreateAccountRequestDto} createAccountRequestDto
402
402
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
@@ -407,7 +407,7 @@ export const AccountsApiFactory = function (configuration?: Configuration, baseP
407
407
  return localVarFp.createAccount(createAccountRequestDto, authorization, options).then((request) => request(axios, basePath));
408
408
  },
409
409
  /**
410
- * Permanently deletes the account. Supply the unique code that was returned when you created the account and this will delete it.
410
+ * Permanently deletes the account. Supply the unique code that was returned when you created the account and this will delete it. **Required Permissions** \"partner-management.accounts.delete\"
411
411
  * @summary Delete the account
412
412
  * @param {string} code Unique identifier for the object.
413
413
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
@@ -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 that was returned when you created it and Emil Api will return the corresponding account information.
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. **Required Permissions** \"partner-management.accounts.view\"
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,7 +430,7 @@ 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. The accounts are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
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. **Required Permissions** \"partner-management.accounts.view\"
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.
@@ -447,7 +447,7 @@ export const AccountsApiFactory = function (configuration?: Configuration, baseP
447
447
  return localVarFp.listAccounts(authorization, pageSize, pageToken, filter, search, order, expand, filters, options).then((request) => request(axios, basePath));
448
448
  },
449
449
  /**
450
- * Updates the specified account by setting the values of the parameters passed. Any parameters not provided will be left unchanged.
450
+ * Updates the specified account by setting the values of the parameters passed. Any parameters not provided will be left unchanged. **Required Permissions** \"partner-management.accounts.update\"
451
451
  * @summary Update the account
452
452
  * @param {string} code Unique identifier for the object.
453
453
  * @param {UpdateAccountRequestDto} updateAccountRequestDto
@@ -630,7 +630,7 @@ export interface AccountsApiUpdateAccountRequest {
630
630
  */
631
631
  export class AccountsApi extends BaseAPI {
632
632
  /**
633
- * This will create an account in the database. Account creation is usually part of a complex workflow that starts with lead creation. Creating directly an account without prior knowledge might result in an unusable account. Look into lead creation for more information.
633
+ * This will create an account in the database. Account creation is usually part of a complex workflow that starts with lead creation. Creating directly an account without prior knowledge might result in an unusable account. Look into lead creation for more information. **Required Permissions** \"partner-management.accounts.create\"
634
634
  * @summary Create the account
635
635
  * @param {AccountsApiCreateAccountRequest} requestParameters Request parameters.
636
636
  * @param {*} [options] Override http request option.
@@ -642,7 +642,7 @@ export class AccountsApi extends BaseAPI {
642
642
  }
643
643
 
644
644
  /**
645
- * Permanently deletes the account. Supply the unique code that was returned when you created the account and this will delete it.
645
+ * Permanently deletes the account. Supply the unique code that was returned when you created the account and this will delete it. **Required Permissions** \"partner-management.accounts.delete\"
646
646
  * @summary Delete the account
647
647
  * @param {AccountsApiDeleteAccountRequest} requestParameters Request parameters.
648
648
  * @param {*} [options] Override http request option.
@@ -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 that was returned when you created it and Emil Api will return the corresponding account information.
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. **Required Permissions** \"partner-management.accounts.view\"
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. The accounts are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
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. **Required Permissions** \"partner-management.accounts.view\"
670
670
  * @summary List accounts
671
671
  * @param {AccountsApiListAccountsRequest} requestParameters Request parameters.
672
672
  * @param {*} [options] Override http request option.
@@ -678,7 +678,7 @@ export class AccountsApi extends BaseAPI {
678
678
  }
679
679
 
680
680
  /**
681
- * Updates the specified account by setting the values of the parameters passed. Any parameters not provided will be left unchanged.
681
+ * Updates the specified account by setting the values of the parameters passed. Any parameters not provided will be left unchanged. **Required Permissions** \"partner-management.accounts.update\"
682
682
  * @summary Update the account
683
683
  * @param {AccountsApiUpdateAccountRequest} requestParameters Request parameters.
684
684
  * @param {*} [options] Override http request option.
@@ -24,7 +24,7 @@ import { UpdateAccountResponseClass } from '../models';
24
24
  */
25
25
  export declare const AccountsApiAxiosParamCreator: (configuration?: Configuration) => {
26
26
  /**
27
- * This will create an account in the database. Account creation is usually part of a complex workflow that starts with lead creation. Creating directly an account without prior knowledge might result in an unusable account. Look into lead creation for more information.
27
+ * This will create an account in the database. Account creation is usually part of a complex workflow that starts with lead creation. Creating directly an account without prior knowledge might result in an unusable account. Look into lead creation for more information. **Required Permissions** \"partner-management.accounts.create\"
28
28
  * @summary Create the account
29
29
  * @param {CreateAccountRequestDto} createAccountRequestDto
30
30
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
@@ -33,7 +33,7 @@ export declare const AccountsApiAxiosParamCreator: (configuration?: Configuratio
33
33
  */
34
34
  createAccount: (createAccountRequestDto: CreateAccountRequestDto, authorization?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
35
35
  /**
36
- * Permanently deletes the account. Supply the unique code that was returned when you created the account and this will delete it.
36
+ * Permanently deletes the account. Supply the unique code that was returned when you created the account and this will delete it. **Required Permissions** \"partner-management.accounts.delete\"
37
37
  * @summary Delete the account
38
38
  * @param {string} code Unique identifier for the object.
39
39
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
@@ -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 that was returned when you created it and Emil Api will return the corresponding account information.
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. **Required Permissions** \"partner-management.accounts.view\"
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,7 +52,7 @@ 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. The accounts are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
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. **Required Permissions** \"partner-management.accounts.view\"
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.
@@ -67,7 +67,7 @@ export declare const AccountsApiAxiosParamCreator: (configuration?: Configuratio
67
67
  */
68
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
- * Updates the specified account by setting the values of the parameters passed. Any parameters not provided will be left unchanged.
70
+ * Updates the specified account by setting the values of the parameters passed. Any parameters not provided will be left unchanged. **Required Permissions** \"partner-management.accounts.update\"
71
71
  * @summary Update the account
72
72
  * @param {string} code Unique identifier for the object.
73
73
  * @param {UpdateAccountRequestDto} updateAccountRequestDto
@@ -83,7 +83,7 @@ export declare const AccountsApiAxiosParamCreator: (configuration?: Configuratio
83
83
  */
84
84
  export declare const AccountsApiFp: (configuration?: Configuration) => {
85
85
  /**
86
- * This will create an account in the database. Account creation is usually part of a complex workflow that starts with lead creation. Creating directly an account without prior knowledge might result in an unusable account. Look into lead creation for more information.
86
+ * This will create an account in the database. Account creation is usually part of a complex workflow that starts with lead creation. Creating directly an account without prior knowledge might result in an unusable account. Look into lead creation for more information. **Required Permissions** \"partner-management.accounts.create\"
87
87
  * @summary Create the account
88
88
  * @param {CreateAccountRequestDto} createAccountRequestDto
89
89
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
@@ -92,7 +92,7 @@ export declare const AccountsApiFp: (configuration?: Configuration) => {
92
92
  */
93
93
  createAccount(createAccountRequestDto: CreateAccountRequestDto, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CreateAccountResponseClass>>;
94
94
  /**
95
- * Permanently deletes the account. Supply the unique code that was returned when you created the account and this will delete it.
95
+ * Permanently deletes the account. Supply the unique code that was returned when you created the account and this will delete it. **Required Permissions** \"partner-management.accounts.delete\"
96
96
  * @summary Delete the account
97
97
  * @param {string} code Unique identifier for the object.
98
98
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
@@ -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 that was returned when you created it and Emil Api will return the corresponding account information.
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. **Required Permissions** \"partner-management.accounts.view\"
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,7 +111,7 @@ 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. The accounts are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
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. **Required Permissions** \"partner-management.accounts.view\"
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.
@@ -126,7 +126,7 @@ export declare const AccountsApiFp: (configuration?: Configuration) => {
126
126
  */
127
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
- * Updates the specified account by setting the values of the parameters passed. Any parameters not provided will be left unchanged.
129
+ * Updates the specified account by setting the values of the parameters passed. Any parameters not provided will be left unchanged. **Required Permissions** \"partner-management.accounts.update\"
130
130
  * @summary Update the account
131
131
  * @param {string} code Unique identifier for the object.
132
132
  * @param {UpdateAccountRequestDto} updateAccountRequestDto
@@ -142,7 +142,7 @@ export declare const AccountsApiFp: (configuration?: Configuration) => {
142
142
  */
143
143
  export declare const AccountsApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
144
144
  /**
145
- * This will create an account in the database. Account creation is usually part of a complex workflow that starts with lead creation. Creating directly an account without prior knowledge might result in an unusable account. Look into lead creation for more information.
145
+ * This will create an account in the database. Account creation is usually part of a complex workflow that starts with lead creation. Creating directly an account without prior knowledge might result in an unusable account. Look into lead creation for more information. **Required Permissions** \"partner-management.accounts.create\"
146
146
  * @summary Create the account
147
147
  * @param {CreateAccountRequestDto} createAccountRequestDto
148
148
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
@@ -151,7 +151,7 @@ export declare const AccountsApiFactory: (configuration?: Configuration, basePat
151
151
  */
152
152
  createAccount(createAccountRequestDto: CreateAccountRequestDto, authorization?: string, options?: any): AxiosPromise<CreateAccountResponseClass>;
153
153
  /**
154
- * Permanently deletes the account. Supply the unique code that was returned when you created the account and this will delete it.
154
+ * Permanently deletes the account. Supply the unique code that was returned when you created the account and this will delete it. **Required Permissions** \"partner-management.accounts.delete\"
155
155
  * @summary Delete the account
156
156
  * @param {string} code Unique identifier for the object.
157
157
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
@@ -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 that was returned when you created it and Emil Api will return the corresponding account information.
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. **Required Permissions** \"partner-management.accounts.view\"
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,7 +170,7 @@ 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. The accounts are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
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. **Required Permissions** \"partner-management.accounts.view\"
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.
@@ -185,7 +185,7 @@ export declare const AccountsApiFactory: (configuration?: Configuration, basePat
185
185
  */
186
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
- * Updates the specified account by setting the values of the parameters passed. Any parameters not provided will be left unchanged.
188
+ * Updates the specified account by setting the values of the parameters passed. Any parameters not provided will be left unchanged. **Required Permissions** \"partner-management.accounts.update\"
189
189
  * @summary Update the account
190
190
  * @param {string} code Unique identifier for the object.
191
191
  * @param {UpdateAccountRequestDto} updateAccountRequestDto
@@ -346,7 +346,7 @@ export interface AccountsApiUpdateAccountRequest {
346
346
  */
347
347
  export declare class AccountsApi extends BaseAPI {
348
348
  /**
349
- * This will create an account in the database. Account creation is usually part of a complex workflow that starts with lead creation. Creating directly an account without prior knowledge might result in an unusable account. Look into lead creation for more information.
349
+ * This will create an account in the database. Account creation is usually part of a complex workflow that starts with lead creation. Creating directly an account without prior knowledge might result in an unusable account. Look into lead creation for more information. **Required Permissions** \"partner-management.accounts.create\"
350
350
  * @summary Create the account
351
351
  * @param {AccountsApiCreateAccountRequest} requestParameters Request parameters.
352
352
  * @param {*} [options] Override http request option.
@@ -355,7 +355,7 @@ export declare class AccountsApi extends BaseAPI {
355
355
  */
356
356
  createAccount(requestParameters: AccountsApiCreateAccountRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<CreateAccountResponseClass, any>>;
357
357
  /**
358
- * Permanently deletes the account. Supply the unique code that was returned when you created the account and this will delete it.
358
+ * Permanently deletes the account. Supply the unique code that was returned when you created the account and this will delete it. **Required Permissions** \"partner-management.accounts.delete\"
359
359
  * @summary Delete the account
360
360
  * @param {AccountsApiDeleteAccountRequest} requestParameters Request parameters.
361
361
  * @param {*} [options] Override http request option.
@@ -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 that was returned when you created it and Emil Api will return the corresponding account information.
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. **Required Permissions** \"partner-management.accounts.view\"
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. The accounts are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
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. **Required Permissions** \"partner-management.accounts.view\"
377
377
  * @summary List accounts
378
378
  * @param {AccountsApiListAccountsRequest} requestParameters Request parameters.
379
379
  * @param {*} [options] Override http request option.
@@ -382,7 +382,7 @@ export declare class AccountsApi extends BaseAPI {
382
382
  */
383
383
  listAccounts(requestParameters?: AccountsApiListAccountsRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<ListAccountsResponseClass, any>>;
384
384
  /**
385
- * Updates the specified account by setting the values of the parameters passed. Any parameters not provided will be left unchanged.
385
+ * Updates the specified account by setting the values of the parameters passed. Any parameters not provided will be left unchanged. **Required Permissions** \"partner-management.accounts.update\"
386
386
  * @summary Update the account
387
387
  * @param {AccountsApiUpdateAccountRequest} requestParameters Request parameters.
388
388
  * @param {*} [options] Override http request option.
@@ -93,7 +93,7 @@ var AccountsApiAxiosParamCreator = function (configuration) {
93
93
  var _this = this;
94
94
  return {
95
95
  /**
96
- * This will create an account in the database. Account creation is usually part of a complex workflow that starts with lead creation. Creating directly an account without prior knowledge might result in an unusable account. Look into lead creation for more information.
96
+ * This will create an account in the database. Account creation is usually part of a complex workflow that starts with lead creation. Creating directly an account without prior knowledge might result in an unusable account. Look into lead creation for more information. **Required Permissions** \"partner-management.accounts.create\"
97
97
  * @summary Create the account
98
98
  * @param {CreateAccountRequestDto} createAccountRequestDto
99
99
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
@@ -142,7 +142,7 @@ var AccountsApiAxiosParamCreator = function (configuration) {
142
142
  });
143
143
  },
144
144
  /**
145
- * Permanently deletes the account. Supply the unique code that was returned when you created the account and this will delete it.
145
+ * Permanently deletes the account. Supply the unique code that was returned when you created the account and this will delete it. **Required Permissions** \"partner-management.accounts.delete\"
146
146
  * @summary Delete the account
147
147
  * @param {string} code Unique identifier for the object.
148
148
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
@@ -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 that was returned when you created it and Emil Api will return the corresponding account information.
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. **Required Permissions** \"partner-management.accounts.view\"
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,7 +242,7 @@ var AccountsApiAxiosParamCreator = function (configuration) {
242
242
  });
243
243
  },
244
244
  /**
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.
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. **Required Permissions** \"partner-management.accounts.view\"
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.
@@ -314,7 +314,7 @@ var AccountsApiAxiosParamCreator = function (configuration) {
314
314
  });
315
315
  },
316
316
  /**
317
- * Updates the specified account by setting the values of the parameters passed. Any parameters not provided will be left unchanged.
317
+ * Updates the specified account by setting the values of the parameters passed. Any parameters not provided will be left unchanged. **Required Permissions** \"partner-management.accounts.update\"
318
318
  * @summary Update the account
319
319
  * @param {string} code Unique identifier for the object.
320
320
  * @param {UpdateAccountRequestDto} updateAccountRequestDto
@@ -377,7 +377,7 @@ var AccountsApiFp = function (configuration) {
377
377
  var localVarAxiosParamCreator = (0, exports.AccountsApiAxiosParamCreator)(configuration);
378
378
  return {
379
379
  /**
380
- * This will create an account in the database. Account creation is usually part of a complex workflow that starts with lead creation. Creating directly an account without prior knowledge might result in an unusable account. Look into lead creation for more information.
380
+ * This will create an account in the database. Account creation is usually part of a complex workflow that starts with lead creation. Creating directly an account without prior knowledge might result in an unusable account. Look into lead creation for more information. **Required Permissions** \"partner-management.accounts.create\"
381
381
  * @summary Create the account
382
382
  * @param {CreateAccountRequestDto} createAccountRequestDto
383
383
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
@@ -398,7 +398,7 @@ var AccountsApiFp = function (configuration) {
398
398
  });
399
399
  },
400
400
  /**
401
- * Permanently deletes the account. Supply the unique code that was returned when you created the account and this will delete it.
401
+ * Permanently deletes the account. Supply the unique code that was returned when you created the account and this will delete it. **Required Permissions** \"partner-management.accounts.delete\"
402
402
  * @summary Delete the account
403
403
  * @param {string} code Unique identifier for the object.
404
404
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
@@ -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 that was returned when you created it and Emil Api will return the corresponding account information.
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. **Required Permissions** \"partner-management.accounts.view\"
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,7 +441,7 @@ var AccountsApiFp = function (configuration) {
441
441
  });
442
442
  },
443
443
  /**
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.
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. **Required Permissions** \"partner-management.accounts.view\"
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.
@@ -468,7 +468,7 @@ var AccountsApiFp = function (configuration) {
468
468
  });
469
469
  },
470
470
  /**
471
- * Updates the specified account by setting the values of the parameters passed. Any parameters not provided will be left unchanged.
471
+ * Updates the specified account by setting the values of the parameters passed. Any parameters not provided will be left unchanged. **Required Permissions** \"partner-management.accounts.update\"
472
472
  * @summary Update the account
473
473
  * @param {string} code Unique identifier for the object.
474
474
  * @param {UpdateAccountRequestDto} updateAccountRequestDto
@@ -500,7 +500,7 @@ var AccountsApiFactory = function (configuration, basePath, axios) {
500
500
  var localVarFp = (0, exports.AccountsApiFp)(configuration);
501
501
  return {
502
502
  /**
503
- * This will create an account in the database. Account creation is usually part of a complex workflow that starts with lead creation. Creating directly an account without prior knowledge might result in an unusable account. Look into lead creation for more information.
503
+ * This will create an account in the database. Account creation is usually part of a complex workflow that starts with lead creation. Creating directly an account without prior knowledge might result in an unusable account. Look into lead creation for more information. **Required Permissions** \"partner-management.accounts.create\"
504
504
  * @summary Create the account
505
505
  * @param {CreateAccountRequestDto} createAccountRequestDto
506
506
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
@@ -511,7 +511,7 @@ var AccountsApiFactory = function (configuration, basePath, axios) {
511
511
  return localVarFp.createAccount(createAccountRequestDto, authorization, options).then(function (request) { return request(axios, basePath); });
512
512
  },
513
513
  /**
514
- * Permanently deletes the account. Supply the unique code that was returned when you created the account and this will delete it.
514
+ * Permanently deletes the account. Supply the unique code that was returned when you created the account and this will delete it. **Required Permissions** \"partner-management.accounts.delete\"
515
515
  * @summary Delete the account
516
516
  * @param {string} code Unique identifier for the object.
517
517
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
@@ -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 that was returned when you created it and Emil Api will return the corresponding account information.
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. **Required Permissions** \"partner-management.accounts.view\"
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,7 +534,7 @@ 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. The accounts are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
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. **Required Permissions** \"partner-management.accounts.view\"
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.
@@ -551,7 +551,7 @@ var AccountsApiFactory = function (configuration, basePath, axios) {
551
551
  return localVarFp.listAccounts(authorization, pageSize, pageToken, filter, search, order, expand, filters, options).then(function (request) { return request(axios, basePath); });
552
552
  },
553
553
  /**
554
- * Updates the specified account by setting the values of the parameters passed. Any parameters not provided will be left unchanged.
554
+ * Updates the specified account by setting the values of the parameters passed. Any parameters not provided will be left unchanged. **Required Permissions** \"partner-management.accounts.update\"
555
555
  * @summary Update the account
556
556
  * @param {string} code Unique identifier for the object.
557
557
  * @param {UpdateAccountRequestDto} updateAccountRequestDto
@@ -577,7 +577,7 @@ var AccountsApi = /** @class */ (function (_super) {
577
577
  return _super !== null && _super.apply(this, arguments) || this;
578
578
  }
579
579
  /**
580
- * This will create an account in the database. Account creation is usually part of a complex workflow that starts with lead creation. Creating directly an account without prior knowledge might result in an unusable account. Look into lead creation for more information.
580
+ * This will create an account in the database. Account creation is usually part of a complex workflow that starts with lead creation. Creating directly an account without prior knowledge might result in an unusable account. Look into lead creation for more information. **Required Permissions** \"partner-management.accounts.create\"
581
581
  * @summary Create the account
582
582
  * @param {AccountsApiCreateAccountRequest} requestParameters Request parameters.
583
583
  * @param {*} [options] Override http request option.
@@ -589,7 +589,7 @@ var AccountsApi = /** @class */ (function (_super) {
589
589
  return (0, exports.AccountsApiFp)(this.configuration).createAccount(requestParameters.createAccountRequestDto, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
590
590
  };
591
591
  /**
592
- * Permanently deletes the account. Supply the unique code that was returned when you created the account and this will delete it.
592
+ * Permanently deletes the account. Supply the unique code that was returned when you created the account and this will delete it. **Required Permissions** \"partner-management.accounts.delete\"
593
593
  * @summary Delete the account
594
594
  * @param {AccountsApiDeleteAccountRequest} requestParameters Request parameters.
595
595
  * @param {*} [options] Override http request option.
@@ -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 that was returned when you created it and Emil Api will return the corresponding account information.
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. **Required Permissions** \"partner-management.accounts.view\"
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. The accounts are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
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. **Required Permissions** \"partner-management.accounts.view\"
617
617
  * @summary List accounts
618
618
  * @param {AccountsApiListAccountsRequest} requestParameters Request parameters.
619
619
  * @param {*} [options] Override http request option.
@@ -626,7 +626,7 @@ var AccountsApi = /** @class */ (function (_super) {
626
626
  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); });
627
627
  };
628
628
  /**
629
- * Updates the specified account by setting the values of the parameters passed. Any parameters not provided will be left unchanged.
629
+ * Updates the specified account by setting the values of the parameters passed. Any parameters not provided will be left unchanged. **Required Permissions** \"partner-management.accounts.update\"
630
630
  * @summary Update the account
631
631
  * @param {AccountsApiUpdateAccountRequest} requestParameters Request parameters.
632
632
  * @param {*} [options] Override http request option.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@emilgroup/account-sdk",
3
- "version": "1.36.0",
3
+ "version": "1.36.1-beta.0",
4
4
  "description": "OpenAPI client for @emilgroup/account-sdk",
5
5
  "author": "OpenAPI-Generator Contributors",
6
6
  "keywords": [