@emilgroup/payment-sdk 1.4.1-beta.30 → 1.4.1-beta.31

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.
Files changed (87) hide show
  1. package/.openapi-generator/FILES +5 -15
  2. package/README.md +2 -2
  3. package/api/bank-accounts-api.ts +34 -38
  4. package/api/bank-transaction-api.ts +73 -77
  5. package/api/{default-api.ts → health-check-api.ts} +21 -17
  6. package/api/payment-methods-api.ts +52 -70
  7. package/api/payment-reminders-api.ts +63 -49
  8. package/api/payments-api.ts +52 -70
  9. package/api/refunds-api.ts +76 -88
  10. package/api/tenant-bank-account-api.ts +79 -63
  11. package/api/webhooks-api.ts +16 -12
  12. package/api.ts +2 -2
  13. package/dist/api/bank-accounts-api.d.ts +37 -39
  14. package/dist/api/bank-accounts-api.js +18 -18
  15. package/dist/api/bank-transaction-api.d.ts +77 -79
  16. package/dist/api/bank-transaction-api.js +45 -45
  17. package/dist/api/health-check-api.d.ts +70 -0
  18. package/dist/api/{default-api.js → health-check-api.js} +30 -26
  19. package/dist/api/payment-methods-api.d.ts +49 -58
  20. package/dist/api/payment-methods-api.js +32 -42
  21. package/dist/api/payment-reminders-api.d.ts +55 -46
  22. package/dist/api/payment-reminders-api.js +40 -34
  23. package/dist/api/payments-api.d.ts +49 -58
  24. package/dist/api/payments-api.js +32 -42
  25. package/dist/api/refunds-api.d.ts +76 -76
  26. package/dist/api/refunds-api.js +51 -49
  27. package/dist/api/tenant-bank-account-api.d.ts +71 -61
  28. package/dist/api/tenant-bank-account-api.js +51 -45
  29. package/dist/api/webhooks-api.d.ts +16 -12
  30. package/dist/api/webhooks-api.js +14 -10
  31. package/dist/api.d.ts +1 -1
  32. package/dist/api.js +1 -1
  33. package/dist/models/{bank-transaction-response-class.d.ts → bank-transaction-class-without-expand-properties.d.ts} +20 -34
  34. package/dist/models/create-tenant-bank-account-response-class.d.ts +4 -4
  35. package/dist/models/get-tenant-bank-account-response-class.d.ts +4 -4
  36. package/dist/models/index.d.ts +4 -14
  37. package/dist/models/index.js +4 -14
  38. package/dist/models/list-tenant-bank-account-response-class.d.ts +5 -5
  39. package/dist/models/{tenant-bank-account-response-class.d.ts → tenant-bank-account-class-without-expand-properties.d.ts} +10 -10
  40. package/dist/models/tenant-bank-account-class.d.ts +73 -0
  41. package/dist/models/{get-bank-account-response-class.d.ts → update-tenant-bank-account-response-class.d.ts} +7 -7
  42. package/models/{bank-transaction-response-class.ts → bank-transaction-class-without-expand-properties.ts} +20 -34
  43. package/models/create-tenant-bank-account-response-class.ts +4 -4
  44. package/models/get-tenant-bank-account-response-class.ts +4 -4
  45. package/models/index.ts +4 -14
  46. package/models/list-tenant-bank-account-response-class.ts +5 -5
  47. package/models/{tenant-bank-account-response-class.ts → tenant-bank-account-class-without-expand-properties.ts} +10 -10
  48. package/models/tenant-bank-account-class.ts +79 -0
  49. package/models/{create-refund-response-class.ts → update-tenant-bank-account-response-class.ts} +7 -7
  50. package/package.json +1 -1
  51. package/dist/api/default-api.d.ts +0 -66
  52. package/dist/models/bank-account-class.d.ts +0 -73
  53. package/dist/models/create-refund-response-class.d.ts +0 -25
  54. package/dist/models/get-bank-transactions-response-class.d.ts +0 -25
  55. package/dist/models/get-bank-transactions-response-class.js +0 -15
  56. package/dist/models/get-refund-response-class.d.ts +0 -25
  57. package/dist/models/get-refund-response-class.js +0 -15
  58. package/dist/models/get-request-dto.d.ts +0 -30
  59. package/dist/models/get-request-dto.js +0 -15
  60. package/dist/models/list-bank-transactions-response-class.d.ts +0 -31
  61. package/dist/models/list-bank-transactions-response-class.js +0 -15
  62. package/dist/models/list-refunds-response-class.d.ts +0 -31
  63. package/dist/models/list-refunds-response-class.js +0 -15
  64. package/dist/models/primary-bank-account-response-class.d.ts +0 -42
  65. package/dist/models/primary-bank-account-response-class.js +0 -15
  66. package/dist/models/refund-class.d.ts +0 -105
  67. package/dist/models/refund-class.js +0 -29
  68. package/dist/models/tenant-bank-account-response-class.js +0 -15
  69. package/dist/models/transaction-class.d.ts +0 -54
  70. package/dist/models/transaction-class.js +0 -15
  71. package/dist/models/update-bank-account-response-class.d.ts +0 -25
  72. package/dist/models/update-bank-account-response-class.js +0 -15
  73. package/models/bank-account-class.ts +0 -79
  74. package/models/get-bank-account-response-class.ts +0 -31
  75. package/models/get-bank-transactions-response-class.ts +0 -31
  76. package/models/get-refund-response-class.ts +0 -31
  77. package/models/get-request-dto.ts +0 -36
  78. package/models/list-bank-transactions-response-class.ts +0 -37
  79. package/models/list-refunds-response-class.ts +0 -37
  80. package/models/primary-bank-account-response-class.ts +0 -48
  81. package/models/refund-class.ts +0 -115
  82. package/models/transaction-class.ts +0 -60
  83. package/models/update-bank-account-response-class.ts +0 -31
  84. /package/dist/models/{bank-account-class.js → bank-transaction-class-without-expand-properties.js} +0 -0
  85. /package/dist/models/{bank-transaction-response-class.js → tenant-bank-account-class-without-expand-properties.js} +0 -0
  86. /package/dist/models/{create-refund-response-class.js → tenant-bank-account-class.js} +0 -0
  87. /package/dist/models/{get-bank-account-response-class.js → update-tenant-bank-account-response-class.js} +0 -0
@@ -13,18 +13,16 @@ import { AxiosPromise, AxiosInstance, AxiosRequestConfig } from 'axios';
13
13
  import { Configuration } from '../configuration';
14
14
  import { RequestArgs, BaseAPI } from '../base';
15
15
  import { CreateBankAccountRequestDto } from '../models';
16
- import { GetBankAccountResponseClass } from '../models';
17
16
  import { SetPrimaryBankAccountRequestDtoRest } from '../models';
18
17
  import { UpdateBankAccountRequestDtoRest } from '../models';
19
- import { UpdateBankAccountResponseClass } from '../models';
20
18
  /**
21
19
  * BankAccountsApi - axios parameter creator
22
20
  * @export
23
21
  */
24
22
  export declare const BankAccountsApiAxiosParamCreator: (configuration?: Configuration) => {
25
23
  /**
26
- * Creates a bank account for a specified partner/account. If this is the first bank account for the specified partner/account, it will be marked as primary.
27
- * @summary Create a bank account
24
+ * This will create a bank account for a specified partner/account. If this is the first bank account for the specified partner/account, it will be marked as primary.
25
+ * @summary Create the bank account
28
26
  * @param {CreateBankAccountRequestDto} createBankAccountRequestDto
29
27
  * @param {string} [authorization] Bearer Token
30
28
  * @param {*} [options] Override http request option.
@@ -45,11 +43,11 @@ export declare const BankAccountsApiAxiosParamCreator: (configuration?: Configur
45
43
  * @summary Retrieve the bank account
46
44
  * @param {string} code Unique identifier for the object.
47
45
  * @param {string} [authorization] Bearer Token
48
- * @param {'primaryBankAccount'} [expand] Expand the response with additional entities. For example, using the \"primaryBankAccount\" expand, you can get information about whether a given bank account is primary.
46
+ * @param {string} [expand] Expand to fetch additional information about the list items. Expanding resources can reduce the number of API calls required to accomplish a task. Use with discretion as some expanded fields can drastically increase payload size.<br/> <br/> <i>Allowed values: primaryBankAccount.<i>
49
47
  * @param {*} [options] Override http request option.
50
48
  * @throws {RequiredError}
51
49
  */
52
- getBankAccount: (code: string, authorization?: string, expand?: 'primaryBankAccount', options?: AxiosRequestConfig) => Promise<RequestArgs>;
50
+ getBankAccount: (code: string, authorization?: string, expand?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
53
51
  /**
54
52
  * Returns a list of bank accounts you have previously created. The bank accounts are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
55
53
  * @summary List bank accounts
@@ -59,12 +57,12 @@ export declare const BankAccountsApiAxiosParamCreator: (configuration?: Configur
59
57
  * @param {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: code, id, accountCode, partnerCode&lt;/i&gt;
60
58
  * @param {any} [search] To search the list by any field, pass search&#x3D;xxx to fetch the result.
61
59
  * @param {string} [order] Order allows you to specify the desired order of entities retrieved from the server by ascending (ASC) or descending (DESC) order.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: id, createdAt&lt;/i&gt;
62
- * @param {'primaryBankAccount'} [expand] Expand to fetch additional information about the list items. For example, using the \&quot;primaryBankAccount\&quot; expand, you can get information about whether a given bank account is primary.
60
+ * @param {string} [expand] Expand to fetch additional information about the list items. Expanding resources can reduce the number of API calls required to accomplish a task. Use with discretion as some expanded fields can drastically increase payload size.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: primaryBankAccount.&lt;i&gt;
63
61
  * @param {string} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: code, id, accountCode, partnerCode&lt;/i&gt;
64
62
  * @param {*} [options] Override http request option.
65
63
  * @throws {RequiredError}
66
64
  */
67
- listBankAccounts: (authorization?: string, pageSize?: any, pageToken?: any, filter?: string, search?: any, order?: string, expand?: 'primaryBankAccount', filters?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
65
+ listBankAccounts: (authorization?: string, pageSize?: any, pageToken?: any, filter?: string, search?: any, order?: string, expand?: string, filters?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
68
66
  /**
69
67
  * Set the primary bank account for the specified partner/account
70
68
  * @summary Set primary bank account
@@ -77,7 +75,7 @@ export declare const BankAccountsApiAxiosParamCreator: (configuration?: Configur
77
75
  setPrimaryBankAccount: (code: string, setPrimaryBankAccountRequestDtoRest: SetPrimaryBankAccountRequestDtoRest, authorization?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
78
76
  /**
79
77
  * Update a bank account by code
80
- * @summary Update the Update bank account
78
+ * @summary Update the bank account
81
79
  * @param {string} code Unique identifier for the object.
82
80
  * @param {UpdateBankAccountRequestDtoRest} updateBankAccountRequestDtoRest
83
81
  * @param {string} [authorization] Bearer Token
@@ -92,8 +90,8 @@ export declare const BankAccountsApiAxiosParamCreator: (configuration?: Configur
92
90
  */
93
91
  export declare const BankAccountsApiFp: (configuration?: Configuration) => {
94
92
  /**
95
- * Creates a bank account for a specified partner/account. If this is the first bank account for the specified partner/account, it will be marked as primary.
96
- * @summary Create a bank account
93
+ * This will create a bank account for a specified partner/account. If this is the first bank account for the specified partner/account, it will be marked as primary.
94
+ * @summary Create the bank account
97
95
  * @param {CreateBankAccountRequestDto} createBankAccountRequestDto
98
96
  * @param {string} [authorization] Bearer Token
99
97
  * @param {*} [options] Override http request option.
@@ -108,17 +106,17 @@ export declare const BankAccountsApiFp: (configuration?: Configuration) => {
108
106
  * @param {*} [options] Override http request option.
109
107
  * @throws {RequiredError}
110
108
  */
111
- deleteBankAccount(code: string, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<object>>;
109
+ deleteBankAccount(code: string, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
112
110
  /**
113
111
  * Retrieves the details of the bank account that was previously created. Supply the unique bank account code that was returned when you created it and Emil Api will return the corresponding bank account information.
114
112
  * @summary Retrieve the bank account
115
113
  * @param {string} code Unique identifier for the object.
116
114
  * @param {string} [authorization] Bearer Token
117
- * @param {'primaryBankAccount'} [expand] Expand the response with additional entities. For example, using the \&quot;primaryBankAccount\&quot; expand, you can get information about whether a given bank account is primary.
115
+ * @param {string} [expand] Expand to fetch additional information about the list items. Expanding resources can reduce the number of API calls required to accomplish a task. Use with discretion as some expanded fields can drastically increase payload size.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: primaryBankAccount.&lt;i&gt;
118
116
  * @param {*} [options] Override http request option.
119
117
  * @throws {RequiredError}
120
118
  */
121
- getBankAccount(code: string, authorization?: string, expand?: 'primaryBankAccount', options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetBankAccountResponseClass>>;
119
+ getBankAccount(code: string, authorization?: string, expand?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
122
120
  /**
123
121
  * Returns a list of bank accounts you have previously created. The bank accounts are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
124
122
  * @summary List bank accounts
@@ -128,12 +126,12 @@ export declare const BankAccountsApiFp: (configuration?: Configuration) => {
128
126
  * @param {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: code, id, accountCode, partnerCode&lt;/i&gt;
129
127
  * @param {any} [search] To search the list by any field, pass search&#x3D;xxx to fetch the result.
130
128
  * @param {string} [order] Order allows you to specify the desired order of entities retrieved from the server by ascending (ASC) or descending (DESC) order.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: id, createdAt&lt;/i&gt;
131
- * @param {'primaryBankAccount'} [expand] Expand to fetch additional information about the list items. For example, using the \&quot;primaryBankAccount\&quot; expand, you can get information about whether a given bank account is primary.
129
+ * @param {string} [expand] Expand to fetch additional information about the list items. Expanding resources can reduce the number of API calls required to accomplish a task. Use with discretion as some expanded fields can drastically increase payload size.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: primaryBankAccount.&lt;i&gt;
132
130
  * @param {string} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: code, id, accountCode, partnerCode&lt;/i&gt;
133
131
  * @param {*} [options] Override http request option.
134
132
  * @throws {RequiredError}
135
133
  */
136
- listBankAccounts(authorization?: string, pageSize?: any, pageToken?: any, filter?: string, search?: any, order?: string, expand?: 'primaryBankAccount', filters?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
134
+ listBankAccounts(authorization?: string, pageSize?: any, pageToken?: any, filter?: string, search?: any, order?: string, expand?: string, filters?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
137
135
  /**
138
136
  * Set the primary bank account for the specified partner/account
139
137
  * @summary Set primary bank account
@@ -146,14 +144,14 @@ export declare const BankAccountsApiFp: (configuration?: Configuration) => {
146
144
  setPrimaryBankAccount(code: string, setPrimaryBankAccountRequestDtoRest: SetPrimaryBankAccountRequestDtoRest, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
147
145
  /**
148
146
  * Update a bank account by code
149
- * @summary Update the Update bank account
147
+ * @summary Update the bank account
150
148
  * @param {string} code Unique identifier for the object.
151
149
  * @param {UpdateBankAccountRequestDtoRest} updateBankAccountRequestDtoRest
152
150
  * @param {string} [authorization] Bearer Token
153
151
  * @param {*} [options] Override http request option.
154
152
  * @throws {RequiredError}
155
153
  */
156
- updateBankAccount(code: string, updateBankAccountRequestDtoRest: UpdateBankAccountRequestDtoRest, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<UpdateBankAccountResponseClass>>;
154
+ updateBankAccount(code: string, updateBankAccountRequestDtoRest: UpdateBankAccountRequestDtoRest, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
157
155
  };
158
156
  /**
159
157
  * BankAccountsApi - factory interface
@@ -161,8 +159,8 @@ export declare const BankAccountsApiFp: (configuration?: Configuration) => {
161
159
  */
162
160
  export declare const BankAccountsApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
163
161
  /**
164
- * Creates a bank account for a specified partner/account. If this is the first bank account for the specified partner/account, it will be marked as primary.
165
- * @summary Create a bank account
162
+ * This will create a bank account for a specified partner/account. If this is the first bank account for the specified partner/account, it will be marked as primary.
163
+ * @summary Create the bank account
166
164
  * @param {CreateBankAccountRequestDto} createBankAccountRequestDto
167
165
  * @param {string} [authorization] Bearer Token
168
166
  * @param {*} [options] Override http request option.
@@ -177,17 +175,17 @@ export declare const BankAccountsApiFactory: (configuration?: Configuration, bas
177
175
  * @param {*} [options] Override http request option.
178
176
  * @throws {RequiredError}
179
177
  */
180
- deleteBankAccount(code: string, authorization?: string, options?: any): AxiosPromise<object>;
178
+ deleteBankAccount(code: string, authorization?: string, options?: any): AxiosPromise<void>;
181
179
  /**
182
180
  * Retrieves the details of the bank account that was previously created. Supply the unique bank account code that was returned when you created it and Emil Api will return the corresponding bank account information.
183
181
  * @summary Retrieve the bank account
184
182
  * @param {string} code Unique identifier for the object.
185
183
  * @param {string} [authorization] Bearer Token
186
- * @param {'primaryBankAccount'} [expand] Expand the response with additional entities. For example, using the \&quot;primaryBankAccount\&quot; expand, you can get information about whether a given bank account is primary.
184
+ * @param {string} [expand] Expand to fetch additional information about the list items. Expanding resources can reduce the number of API calls required to accomplish a task. Use with discretion as some expanded fields can drastically increase payload size.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: primaryBankAccount.&lt;i&gt;
187
185
  * @param {*} [options] Override http request option.
188
186
  * @throws {RequiredError}
189
187
  */
190
- getBankAccount(code: string, authorization?: string, expand?: 'primaryBankAccount', options?: any): AxiosPromise<GetBankAccountResponseClass>;
188
+ getBankAccount(code: string, authorization?: string, expand?: string, options?: any): AxiosPromise<void>;
191
189
  /**
192
190
  * Returns a list of bank accounts you have previously created. The bank accounts are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
193
191
  * @summary List bank accounts
@@ -197,12 +195,12 @@ export declare const BankAccountsApiFactory: (configuration?: Configuration, bas
197
195
  * @param {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: code, id, accountCode, partnerCode&lt;/i&gt;
198
196
  * @param {any} [search] To search the list by any field, pass search&#x3D;xxx to fetch the result.
199
197
  * @param {string} [order] Order allows you to specify the desired order of entities retrieved from the server by ascending (ASC) or descending (DESC) order.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: id, createdAt&lt;/i&gt;
200
- * @param {'primaryBankAccount'} [expand] Expand to fetch additional information about the list items. For example, using the \&quot;primaryBankAccount\&quot; expand, you can get information about whether a given bank account is primary.
198
+ * @param {string} [expand] Expand to fetch additional information about the list items. Expanding resources can reduce the number of API calls required to accomplish a task. Use with discretion as some expanded fields can drastically increase payload size.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: primaryBankAccount.&lt;i&gt;
201
199
  * @param {string} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: code, id, accountCode, partnerCode&lt;/i&gt;
202
200
  * @param {*} [options] Override http request option.
203
201
  * @throws {RequiredError}
204
202
  */
205
- listBankAccounts(authorization?: string, pageSize?: any, pageToken?: any, filter?: string, search?: any, order?: string, expand?: 'primaryBankAccount', filters?: string, options?: any): AxiosPromise<void>;
203
+ listBankAccounts(authorization?: string, pageSize?: any, pageToken?: any, filter?: string, search?: any, order?: string, expand?: string, filters?: string, options?: any): AxiosPromise<void>;
206
204
  /**
207
205
  * Set the primary bank account for the specified partner/account
208
206
  * @summary Set primary bank account
@@ -215,14 +213,14 @@ export declare const BankAccountsApiFactory: (configuration?: Configuration, bas
215
213
  setPrimaryBankAccount(code: string, setPrimaryBankAccountRequestDtoRest: SetPrimaryBankAccountRequestDtoRest, authorization?: string, options?: any): AxiosPromise<void>;
216
214
  /**
217
215
  * Update a bank account by code
218
- * @summary Update the Update bank account
216
+ * @summary Update the bank account
219
217
  * @param {string} code Unique identifier for the object.
220
218
  * @param {UpdateBankAccountRequestDtoRest} updateBankAccountRequestDtoRest
221
219
  * @param {string} [authorization] Bearer Token
222
220
  * @param {*} [options] Override http request option.
223
221
  * @throws {RequiredError}
224
222
  */
225
- updateBankAccount(code: string, updateBankAccountRequestDtoRest: UpdateBankAccountRequestDtoRest, authorization?: string, options?: any): AxiosPromise<UpdateBankAccountResponseClass>;
223
+ updateBankAccount(code: string, updateBankAccountRequestDtoRest: UpdateBankAccountRequestDtoRest, authorization?: string, options?: any): AxiosPromise<void>;
226
224
  };
227
225
  /**
228
226
  * Request parameters for createBankAccount operation in BankAccountsApi.
@@ -281,11 +279,11 @@ export interface BankAccountsApiGetBankAccountRequest {
281
279
  */
282
280
  readonly authorization?: string;
283
281
  /**
284
- * Expand the response with additional entities. For example, using the \&quot;primaryBankAccount\&quot; expand, you can get information about whether a given bank account is primary.
285
- * @type {'primaryBankAccount'}
282
+ * Expand to fetch additional information about the list items. Expanding resources can reduce the number of API calls required to accomplish a task. Use with discretion as some expanded fields can drastically increase payload size.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: primaryBankAccount.&lt;i&gt;
283
+ * @type {string}
286
284
  * @memberof BankAccountsApiGetBankAccount
287
285
  */
288
- readonly expand?: 'primaryBankAccount';
286
+ readonly expand?: string;
289
287
  }
290
288
  /**
291
289
  * Request parameters for listBankAccounts operation in BankAccountsApi.
@@ -330,11 +328,11 @@ export interface BankAccountsApiListBankAccountsRequest {
330
328
  */
331
329
  readonly order?: string;
332
330
  /**
333
- * Expand to fetch additional information about the list items. For example, using the \&quot;primaryBankAccount\&quot; expand, you can get information about whether a given bank account is primary.
334
- * @type {'primaryBankAccount'}
331
+ * Expand to fetch additional information about the list items. Expanding resources can reduce the number of API calls required to accomplish a task. Use with discretion as some expanded fields can drastically increase payload size.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: primaryBankAccount.&lt;i&gt;
332
+ * @type {string}
335
333
  * @memberof BankAccountsApiListBankAccounts
336
334
  */
337
- readonly expand?: 'primaryBankAccount';
335
+ readonly expand?: string;
338
336
  /**
339
337
  * Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: code, id, accountCode, partnerCode&lt;/i&gt;
340
338
  * @type {string}
@@ -400,8 +398,8 @@ export interface BankAccountsApiUpdateBankAccountRequest {
400
398
  */
401
399
  export declare class BankAccountsApi extends BaseAPI {
402
400
  /**
403
- * Creates a bank account for a specified partner/account. If this is the first bank account for the specified partner/account, it will be marked as primary.
404
- * @summary Create a bank account
401
+ * This will create a bank account for a specified partner/account. If this is the first bank account for the specified partner/account, it will be marked as primary.
402
+ * @summary Create the bank account
405
403
  * @param {BankAccountsApiCreateBankAccountRequest} requestParameters Request parameters.
406
404
  * @param {*} [options] Override http request option.
407
405
  * @throws {RequiredError}
@@ -416,7 +414,7 @@ export declare class BankAccountsApi extends BaseAPI {
416
414
  * @throws {RequiredError}
417
415
  * @memberof BankAccountsApi
418
416
  */
419
- deleteBankAccount(requestParameters: BankAccountsApiDeleteBankAccountRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<object, any>>;
417
+ deleteBankAccount(requestParameters: BankAccountsApiDeleteBankAccountRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any>>;
420
418
  /**
421
419
  * Retrieves the details of the bank account that was previously created. Supply the unique bank account code that was returned when you created it and Emil Api will return the corresponding bank account information.
422
420
  * @summary Retrieve the bank account
@@ -425,7 +423,7 @@ export declare class BankAccountsApi extends BaseAPI {
425
423
  * @throws {RequiredError}
426
424
  * @memberof BankAccountsApi
427
425
  */
428
- getBankAccount(requestParameters: BankAccountsApiGetBankAccountRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<GetBankAccountResponseClass, any>>;
426
+ getBankAccount(requestParameters: BankAccountsApiGetBankAccountRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any>>;
429
427
  /**
430
428
  * Returns a list of bank accounts you have previously created. The bank accounts are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
431
429
  * @summary List bank accounts
@@ -446,11 +444,11 @@ export declare class BankAccountsApi extends BaseAPI {
446
444
  setPrimaryBankAccount(requestParameters: BankAccountsApiSetPrimaryBankAccountRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any>>;
447
445
  /**
448
446
  * Update a bank account by code
449
- * @summary Update the Update bank account
447
+ * @summary Update the bank account
450
448
  * @param {BankAccountsApiUpdateBankAccountRequest} requestParameters Request parameters.
451
449
  * @param {*} [options] Override http request option.
452
450
  * @throws {RequiredError}
453
451
  * @memberof BankAccountsApi
454
452
  */
455
- updateBankAccount(requestParameters: BankAccountsApiUpdateBankAccountRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<UpdateBankAccountResponseClass, any>>;
453
+ updateBankAccount(requestParameters: BankAccountsApiUpdateBankAccountRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any>>;
456
454
  }
@@ -93,8 +93,8 @@ var BankAccountsApiAxiosParamCreator = function (configuration) {
93
93
  var _this = this;
94
94
  return {
95
95
  /**
96
- * Creates a bank account for a specified partner/account. If this is the first bank account for the specified partner/account, it will be marked as primary.
97
- * @summary Create a bank account
96
+ * This will create a bank account for a specified partner/account. If this is the first bank account for the specified partner/account, it will be marked as primary.
97
+ * @summary Create the bank account
98
98
  * @param {CreateBankAccountRequestDto} createBankAccountRequestDto
99
99
  * @param {string} [authorization] Bearer Token
100
100
  * @param {*} [options] Override http request option.
@@ -194,7 +194,7 @@ var BankAccountsApiAxiosParamCreator = function (configuration) {
194
194
  * @summary Retrieve the bank account
195
195
  * @param {string} code Unique identifier for the object.
196
196
  * @param {string} [authorization] Bearer Token
197
- * @param {'primaryBankAccount'} [expand] Expand the response with additional entities. For example, using the \&quot;primaryBankAccount\&quot; expand, you can get information about whether a given bank account is primary.
197
+ * @param {string} [expand] Expand to fetch additional information about the list items. Expanding resources can reduce the number of API calls required to accomplish a task. Use with discretion as some expanded fields can drastically increase payload size.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: primaryBankAccount.&lt;i&gt;
198
198
  * @param {*} [options] Override http request option.
199
199
  * @throws {RequiredError}
200
200
  */
@@ -250,7 +250,7 @@ var BankAccountsApiAxiosParamCreator = function (configuration) {
250
250
  * @param {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: code, id, accountCode, partnerCode&lt;/i&gt;
251
251
  * @param {any} [search] To search the list by any field, pass search&#x3D;xxx to fetch the result.
252
252
  * @param {string} [order] Order allows you to specify the desired order of entities retrieved from the server by ascending (ASC) or descending (DESC) order.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: id, createdAt&lt;/i&gt;
253
- * @param {'primaryBankAccount'} [expand] Expand to fetch additional information about the list items. For example, using the \&quot;primaryBankAccount\&quot; expand, you can get information about whether a given bank account is primary.
253
+ * @param {string} [expand] Expand to fetch additional information about the list items. Expanding resources can reduce the number of API calls required to accomplish a task. Use with discretion as some expanded fields can drastically increase payload size.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: primaryBankAccount.&lt;i&gt;
254
254
  * @param {string} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: code, id, accountCode, partnerCode&lt;/i&gt;
255
255
  * @param {*} [options] Override http request option.
256
256
  * @throws {RequiredError}
@@ -368,7 +368,7 @@ var BankAccountsApiAxiosParamCreator = function (configuration) {
368
368
  },
369
369
  /**
370
370
  * Update a bank account by code
371
- * @summary Update the Update bank account
371
+ * @summary Update the bank account
372
372
  * @param {string} code Unique identifier for the object.
373
373
  * @param {UpdateBankAccountRequestDtoRest} updateBankAccountRequestDtoRest
374
374
  * @param {string} [authorization] Bearer Token
@@ -430,8 +430,8 @@ var BankAccountsApiFp = function (configuration) {
430
430
  var localVarAxiosParamCreator = (0, exports.BankAccountsApiAxiosParamCreator)(configuration);
431
431
  return {
432
432
  /**
433
- * Creates a bank account for a specified partner/account. If this is the first bank account for the specified partner/account, it will be marked as primary.
434
- * @summary Create a bank account
433
+ * This will create a bank account for a specified partner/account. If this is the first bank account for the specified partner/account, it will be marked as primary.
434
+ * @summary Create the bank account
435
435
  * @param {CreateBankAccountRequestDto} createBankAccountRequestDto
436
436
  * @param {string} [authorization] Bearer Token
437
437
  * @param {*} [options] Override http request option.
@@ -476,7 +476,7 @@ var BankAccountsApiFp = function (configuration) {
476
476
  * @summary Retrieve the bank account
477
477
  * @param {string} code Unique identifier for the object.
478
478
  * @param {string} [authorization] Bearer Token
479
- * @param {'primaryBankAccount'} [expand] Expand the response with additional entities. For example, using the \&quot;primaryBankAccount\&quot; expand, you can get information about whether a given bank account is primary.
479
+ * @param {string} [expand] Expand to fetch additional information about the list items. Expanding resources can reduce the number of API calls required to accomplish a task. Use with discretion as some expanded fields can drastically increase payload size.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: primaryBankAccount.&lt;i&gt;
480
480
  * @param {*} [options] Override http request option.
481
481
  * @throws {RequiredError}
482
482
  */
@@ -502,7 +502,7 @@ var BankAccountsApiFp = function (configuration) {
502
502
  * @param {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: code, id, accountCode, partnerCode&lt;/i&gt;
503
503
  * @param {any} [search] To search the list by any field, pass search&#x3D;xxx to fetch the result.
504
504
  * @param {string} [order] Order allows you to specify the desired order of entities retrieved from the server by ascending (ASC) or descending (DESC) order.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: id, createdAt&lt;/i&gt;
505
- * @param {'primaryBankAccount'} [expand] Expand to fetch additional information about the list items. For example, using the \&quot;primaryBankAccount\&quot; expand, you can get information about whether a given bank account is primary.
505
+ * @param {string} [expand] Expand to fetch additional information about the list items. Expanding resources can reduce the number of API calls required to accomplish a task. Use with discretion as some expanded fields can drastically increase payload size.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: primaryBankAccount.&lt;i&gt;
506
506
  * @param {string} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: code, id, accountCode, partnerCode&lt;/i&gt;
507
507
  * @param {*} [options] Override http request option.
508
508
  * @throws {RequiredError}
@@ -544,7 +544,7 @@ var BankAccountsApiFp = function (configuration) {
544
544
  },
545
545
  /**
546
546
  * Update a bank account by code
547
- * @summary Update the Update bank account
547
+ * @summary Update the bank account
548
548
  * @param {string} code Unique identifier for the object.
549
549
  * @param {UpdateBankAccountRequestDtoRest} updateBankAccountRequestDtoRest
550
550
  * @param {string} [authorization] Bearer Token
@@ -575,8 +575,8 @@ var BankAccountsApiFactory = function (configuration, basePath, axios) {
575
575
  var localVarFp = (0, exports.BankAccountsApiFp)(configuration);
576
576
  return {
577
577
  /**
578
- * Creates a bank account for a specified partner/account. If this is the first bank account for the specified partner/account, it will be marked as primary.
579
- * @summary Create a bank account
578
+ * This will create a bank account for a specified partner/account. If this is the first bank account for the specified partner/account, it will be marked as primary.
579
+ * @summary Create the bank account
580
580
  * @param {CreateBankAccountRequestDto} createBankAccountRequestDto
581
581
  * @param {string} [authorization] Bearer Token
582
582
  * @param {*} [options] Override http request option.
@@ -601,7 +601,7 @@ var BankAccountsApiFactory = function (configuration, basePath, axios) {
601
601
  * @summary Retrieve the bank account
602
602
  * @param {string} code Unique identifier for the object.
603
603
  * @param {string} [authorization] Bearer Token
604
- * @param {'primaryBankAccount'} [expand] Expand the response with additional entities. For example, using the \&quot;primaryBankAccount\&quot; expand, you can get information about whether a given bank account is primary.
604
+ * @param {string} [expand] Expand to fetch additional information about the list items. Expanding resources can reduce the number of API calls required to accomplish a task. Use with discretion as some expanded fields can drastically increase payload size.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: primaryBankAccount.&lt;i&gt;
605
605
  * @param {*} [options] Override http request option.
606
606
  * @throws {RequiredError}
607
607
  */
@@ -617,7 +617,7 @@ var BankAccountsApiFactory = function (configuration, basePath, axios) {
617
617
  * @param {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: code, id, accountCode, partnerCode&lt;/i&gt;
618
618
  * @param {any} [search] To search the list by any field, pass search&#x3D;xxx to fetch the result.
619
619
  * @param {string} [order] Order allows you to specify the desired order of entities retrieved from the server by ascending (ASC) or descending (DESC) order.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: id, createdAt&lt;/i&gt;
620
- * @param {'primaryBankAccount'} [expand] Expand to fetch additional information about the list items. For example, using the \&quot;primaryBankAccount\&quot; expand, you can get information about whether a given bank account is primary.
620
+ * @param {string} [expand] Expand to fetch additional information about the list items. Expanding resources can reduce the number of API calls required to accomplish a task. Use with discretion as some expanded fields can drastically increase payload size.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: primaryBankAccount.&lt;i&gt;
621
621
  * @param {string} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: code, id, accountCode, partnerCode&lt;/i&gt;
622
622
  * @param {*} [options] Override http request option.
623
623
  * @throws {RequiredError}
@@ -639,7 +639,7 @@ var BankAccountsApiFactory = function (configuration, basePath, axios) {
639
639
  },
640
640
  /**
641
641
  * Update a bank account by code
642
- * @summary Update the Update bank account
642
+ * @summary Update the bank account
643
643
  * @param {string} code Unique identifier for the object.
644
644
  * @param {UpdateBankAccountRequestDtoRest} updateBankAccountRequestDtoRest
645
645
  * @param {string} [authorization] Bearer Token
@@ -664,8 +664,8 @@ var BankAccountsApi = /** @class */ (function (_super) {
664
664
  return _super !== null && _super.apply(this, arguments) || this;
665
665
  }
666
666
  /**
667
- * Creates a bank account for a specified partner/account. If this is the first bank account for the specified partner/account, it will be marked as primary.
668
- * @summary Create a bank account
667
+ * This will create a bank account for a specified partner/account. If this is the first bank account for the specified partner/account, it will be marked as primary.
668
+ * @summary Create the bank account
669
669
  * @param {BankAccountsApiCreateBankAccountRequest} requestParameters Request parameters.
670
670
  * @param {*} [options] Override http request option.
671
671
  * @throws {RequiredError}
@@ -726,7 +726,7 @@ var BankAccountsApi = /** @class */ (function (_super) {
726
726
  };
727
727
  /**
728
728
  * Update a bank account by code
729
- * @summary Update the Update bank account
729
+ * @summary Update the bank account
730
730
  * @param {BankAccountsApiUpdateBankAccountRequest} requestParameters Request parameters.
731
731
  * @param {*} [options] Override http request option.
732
732
  * @throws {RequiredError}