@emilgroup/payment-sdk 1.14.1-beta.59 → 1.14.1-beta.60

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/payment-sdk@1.14.1-beta.59 --save
20
+ npm install @emilgroup/payment-sdk@1.14.1-beta.60 --save
21
21
  ```
22
22
  or
23
23
  ```
24
- yarn add @emilgroup/payment-sdk@1.14.1-beta.59
24
+ yarn add @emilgroup/payment-sdk@1.14.1-beta.60
25
25
  ```
26
26
 
27
27
  And then you can import `PaymentsApi`.
@@ -35,9 +35,9 @@ import { ListPayoutMethodsResponseClass } from '../models';
35
35
  export const PayoutMethodsApiAxiosParamCreator = function (configuration?: Configuration) {
36
36
  return {
37
37
  /**
38
- * Activates a payout method **Required Permissions** \"payment-management.payments.create\"
38
+ * Activates a payout method and deactivates the currently active payout method for the same partner **Required Permissions** \"payment-management.payments.update\"
39
39
  * @summary Create the Payout Method Activation
40
- * @param {string} code
40
+ * @param {string} code Unique identifier for the object.
41
41
  * @param {string} [authorization] Bearer Token
42
42
  * @param {*} [options] Override http request option.
43
43
  * @throws {RequiredError}
@@ -227,11 +227,11 @@ export const PayoutMethodsApiAxiosParamCreator = function (configuration?: Confi
227
227
  * @param {string} [authorization] Bearer Token
228
228
  * @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
229
229
  * @param {string} [pageToken] A cursor for use in pagination. pageToken is an ID that defines your place in the list. For instance, if you make a list request and receive 100 objects and pageToken=1, your subsequent call can include pageToken=2 in order to fetch the next page of the list.
230
- * @param {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.<br/> <br/> <i>Allowed values: id, code, firstName, lastName, iban, bankName, accountCode, partnerCode, isActive, billingAddressId, createdAt, updatedAt</i>
231
- * @param {string} [search] Search the response for matches in any searchable field. Use filter instead where possible for improved performance.<br/> <br/> <i>Searchable fields: firstName, lastName, iban, bankName, accountCode, partnerCode</i>
230
+ * @param {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.<br/> <br/> <i>Allowed values: id, code, firstName, lastName, iban, bankName, accountCode, partnerCode, isActive, billingAddressCode, createdAt, updatedAt</i>
231
+ * @param {string} [search] Search the response for matches in any searchable field. Use filter instead where possible for improved performance.<br/> <br/> <i>Searchable fields: firstName, lastName, iban, bankName, accountCode, partnerCode, billingAddressCode</i>
232
232
  * @param {string} [order] Order allows you to specify the desired order of entities retrieved from the server by ascending (ASC) or descending (DESC) order.<br/> <br/> <i>Allowed values: id, code, isActive, createdAt, updatedAt</i>
233
233
  * @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: billingAddress<i>
234
- * @param {string} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.<br/> <br/> <i>Allowed values: id, code, firstName, lastName, iban, bankName, accountCode, partnerCode, isActive, billingAddressId, createdAt, updatedAt</i>
234
+ * @param {string} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.<br/> <br/> <i>Allowed values: id, code, firstName, lastName, iban, bankName, accountCode, partnerCode, isActive, billingAddressCode, createdAt, updatedAt</i>
235
235
  * @param {*} [options] Override http request option.
236
236
  * @throws {RequiredError}
237
237
  */
@@ -308,14 +308,14 @@ export const PayoutMethodsApiFp = function(configuration?: Configuration) {
308
308
  const localVarAxiosParamCreator = PayoutMethodsApiAxiosParamCreator(configuration)
309
309
  return {
310
310
  /**
311
- * Activates a payout method **Required Permissions** \"payment-management.payments.create\"
311
+ * Activates a payout method and deactivates the currently active payout method for the same partner **Required Permissions** \"payment-management.payments.update\"
312
312
  * @summary Create the Payout Method Activation
313
- * @param {string} code
313
+ * @param {string} code Unique identifier for the object.
314
314
  * @param {string} [authorization] Bearer Token
315
315
  * @param {*} [options] Override http request option.
316
316
  * @throws {RequiredError}
317
317
  */
318
- async activatePayoutMethod(code: string, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
318
+ async activatePayoutMethod(code: string, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<object>> {
319
319
  const localVarAxiosArgs = await localVarAxiosParamCreator.activatePayoutMethod(code, authorization, options);
320
320
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
321
321
  },
@@ -362,11 +362,11 @@ export const PayoutMethodsApiFp = function(configuration?: Configuration) {
362
362
  * @param {string} [authorization] Bearer Token
363
363
  * @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
364
364
  * @param {string} [pageToken] A cursor for use in pagination. pageToken is an ID that defines your place in the list. For instance, if you make a list request and receive 100 objects and pageToken&#x3D;1, your subsequent call can include pageToken&#x3D;2 in order to fetch the next page of the list.
365
- * @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: id, code, firstName, lastName, iban, bankName, accountCode, partnerCode, isActive, billingAddressId, createdAt, updatedAt&lt;/i&gt;
366
- * @param {string} [search] Search the response for matches in any searchable field. Use filter instead where possible for improved performance.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Searchable fields: firstName, lastName, iban, bankName, accountCode, partnerCode&lt;/i&gt;
365
+ * @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: id, code, firstName, lastName, iban, bankName, accountCode, partnerCode, isActive, billingAddressCode, createdAt, updatedAt&lt;/i&gt;
366
+ * @param {string} [search] Search the response for matches in any searchable field. Use filter instead where possible for improved performance.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Searchable fields: firstName, lastName, iban, bankName, accountCode, partnerCode, billingAddressCode&lt;/i&gt;
367
367
  * @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, code, isActive, createdAt, updatedAt&lt;/i&gt;
368
368
  * @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: billingAddress&lt;i&gt;
369
- * @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: id, code, firstName, lastName, iban, bankName, accountCode, partnerCode, isActive, billingAddressId, createdAt, updatedAt&lt;/i&gt;
369
+ * @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: id, code, firstName, lastName, iban, bankName, accountCode, partnerCode, isActive, billingAddressCode, createdAt, updatedAt&lt;/i&gt;
370
370
  * @param {*} [options] Override http request option.
371
371
  * @throws {RequiredError}
372
372
  */
@@ -385,14 +385,14 @@ export const PayoutMethodsApiFactory = function (configuration?: Configuration,
385
385
  const localVarFp = PayoutMethodsApiFp(configuration)
386
386
  return {
387
387
  /**
388
- * Activates a payout method **Required Permissions** \"payment-management.payments.create\"
388
+ * Activates a payout method and deactivates the currently active payout method for the same partner **Required Permissions** \"payment-management.payments.update\"
389
389
  * @summary Create the Payout Method Activation
390
- * @param {string} code
390
+ * @param {string} code Unique identifier for the object.
391
391
  * @param {string} [authorization] Bearer Token
392
392
  * @param {*} [options] Override http request option.
393
393
  * @throws {RequiredError}
394
394
  */
395
- activatePayoutMethod(code: string, authorization?: string, options?: any): AxiosPromise<void> {
395
+ activatePayoutMethod(code: string, authorization?: string, options?: any): AxiosPromise<object> {
396
396
  return localVarFp.activatePayoutMethod(code, authorization, options).then((request) => request(axios, basePath));
397
397
  },
398
398
  /**
@@ -435,11 +435,11 @@ export const PayoutMethodsApiFactory = function (configuration?: Configuration,
435
435
  * @param {string} [authorization] Bearer Token
436
436
  * @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
437
437
  * @param {string} [pageToken] A cursor for use in pagination. pageToken is an ID that defines your place in the list. For instance, if you make a list request and receive 100 objects and pageToken&#x3D;1, your subsequent call can include pageToken&#x3D;2 in order to fetch the next page of the list.
438
- * @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: id, code, firstName, lastName, iban, bankName, accountCode, partnerCode, isActive, billingAddressId, createdAt, updatedAt&lt;/i&gt;
439
- * @param {string} [search] Search the response for matches in any searchable field. Use filter instead where possible for improved performance.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Searchable fields: firstName, lastName, iban, bankName, accountCode, partnerCode&lt;/i&gt;
438
+ * @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: id, code, firstName, lastName, iban, bankName, accountCode, partnerCode, isActive, billingAddressCode, createdAt, updatedAt&lt;/i&gt;
439
+ * @param {string} [search] Search the response for matches in any searchable field. Use filter instead where possible for improved performance.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Searchable fields: firstName, lastName, iban, bankName, accountCode, partnerCode, billingAddressCode&lt;/i&gt;
440
440
  * @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, code, isActive, createdAt, updatedAt&lt;/i&gt;
441
441
  * @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: billingAddress&lt;i&gt;
442
- * @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: id, code, firstName, lastName, iban, bankName, accountCode, partnerCode, isActive, billingAddressId, createdAt, updatedAt&lt;/i&gt;
442
+ * @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: id, code, firstName, lastName, iban, bankName, accountCode, partnerCode, isActive, billingAddressCode, createdAt, updatedAt&lt;/i&gt;
443
443
  * @param {*} [options] Override http request option.
444
444
  * @throws {RequiredError}
445
445
  */
@@ -456,7 +456,7 @@ export const PayoutMethodsApiFactory = function (configuration?: Configuration,
456
456
  */
457
457
  export interface PayoutMethodsApiActivatePayoutMethodRequest {
458
458
  /**
459
- *
459
+ * Unique identifier for the object.
460
460
  * @type {string}
461
461
  * @memberof PayoutMethodsApiActivatePayoutMethod
462
462
  */
@@ -568,14 +568,14 @@ export interface PayoutMethodsApiListPayoutMethodsRequest {
568
568
  readonly pageToken?: string
569
569
 
570
570
  /**
571
- * 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: id, code, firstName, lastName, iban, bankName, accountCode, partnerCode, isActive, billingAddressId, createdAt, updatedAt&lt;/i&gt;
571
+ * 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: id, code, firstName, lastName, iban, bankName, accountCode, partnerCode, isActive, billingAddressCode, createdAt, updatedAt&lt;/i&gt;
572
572
  * @type {string}
573
573
  * @memberof PayoutMethodsApiListPayoutMethods
574
574
  */
575
575
  readonly filter?: string
576
576
 
577
577
  /**
578
- * Search the response for matches in any searchable field. Use filter instead where possible for improved performance.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Searchable fields: firstName, lastName, iban, bankName, accountCode, partnerCode&lt;/i&gt;
578
+ * Search the response for matches in any searchable field. Use filter instead where possible for improved performance.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Searchable fields: firstName, lastName, iban, bankName, accountCode, partnerCode, billingAddressCode&lt;/i&gt;
579
579
  * @type {string}
580
580
  * @memberof PayoutMethodsApiListPayoutMethods
581
581
  */
@@ -596,7 +596,7 @@ export interface PayoutMethodsApiListPayoutMethodsRequest {
596
596
  readonly expand?: string
597
597
 
598
598
  /**
599
- * 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: id, code, firstName, lastName, iban, bankName, accountCode, partnerCode, isActive, billingAddressId, createdAt, updatedAt&lt;/i&gt;
599
+ * 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: id, code, firstName, lastName, iban, bankName, accountCode, partnerCode, isActive, billingAddressCode, createdAt, updatedAt&lt;/i&gt;
600
600
  * @type {string}
601
601
  * @memberof PayoutMethodsApiListPayoutMethods
602
602
  */
@@ -611,7 +611,7 @@ export interface PayoutMethodsApiListPayoutMethodsRequest {
611
611
  */
612
612
  export class PayoutMethodsApi extends BaseAPI {
613
613
  /**
614
- * Activates a payout method **Required Permissions** \"payment-management.payments.create\"
614
+ * Activates a payout method and deactivates the currently active payout method for the same partner **Required Permissions** \"payment-management.payments.update\"
615
615
  * @summary Create the Payout Method Activation
616
616
  * @param {PayoutMethodsApiActivatePayoutMethodRequest} requestParameters Request parameters.
617
617
  * @param {*} [options] Override http request option.
@@ -22,9 +22,9 @@ import { ListPayoutMethodsResponseClass } from '../models';
22
22
  */
23
23
  export declare const PayoutMethodsApiAxiosParamCreator: (configuration?: Configuration) => {
24
24
  /**
25
- * Activates a payout method **Required Permissions** \"payment-management.payments.create\"
25
+ * Activates a payout method and deactivates the currently active payout method for the same partner **Required Permissions** \"payment-management.payments.update\"
26
26
  * @summary Create the Payout Method Activation
27
- * @param {string} code
27
+ * @param {string} code Unique identifier for the object.
28
28
  * @param {string} [authorization] Bearer Token
29
29
  * @param {*} [options] Override http request option.
30
30
  * @throws {RequiredError}
@@ -64,11 +64,11 @@ export declare const PayoutMethodsApiAxiosParamCreator: (configuration?: Configu
64
64
  * @param {string} [authorization] Bearer Token
65
65
  * @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
66
66
  * @param {string} [pageToken] A cursor for use in pagination. pageToken is an ID that defines your place in the list. For instance, if you make a list request and receive 100 objects and pageToken&#x3D;1, your subsequent call can include pageToken&#x3D;2 in order to fetch the next page of the list.
67
- * @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: id, code, firstName, lastName, iban, bankName, accountCode, partnerCode, isActive, billingAddressId, createdAt, updatedAt&lt;/i&gt;
68
- * @param {string} [search] Search the response for matches in any searchable field. Use filter instead where possible for improved performance.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Searchable fields: firstName, lastName, iban, bankName, accountCode, partnerCode&lt;/i&gt;
67
+ * @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: id, code, firstName, lastName, iban, bankName, accountCode, partnerCode, isActive, billingAddressCode, createdAt, updatedAt&lt;/i&gt;
68
+ * @param {string} [search] Search the response for matches in any searchable field. Use filter instead where possible for improved performance.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Searchable fields: firstName, lastName, iban, bankName, accountCode, partnerCode, billingAddressCode&lt;/i&gt;
69
69
  * @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, code, isActive, createdAt, updatedAt&lt;/i&gt;
70
70
  * @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: billingAddress&lt;i&gt;
71
- * @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: id, code, firstName, lastName, iban, bankName, accountCode, partnerCode, isActive, billingAddressId, createdAt, updatedAt&lt;/i&gt;
71
+ * @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: id, code, firstName, lastName, iban, bankName, accountCode, partnerCode, isActive, billingAddressCode, createdAt, updatedAt&lt;/i&gt;
72
72
  * @param {*} [options] Override http request option.
73
73
  * @throws {RequiredError}
74
74
  */
@@ -80,14 +80,14 @@ export declare const PayoutMethodsApiAxiosParamCreator: (configuration?: Configu
80
80
  */
81
81
  export declare const PayoutMethodsApiFp: (configuration?: Configuration) => {
82
82
  /**
83
- * Activates a payout method **Required Permissions** \"payment-management.payments.create\"
83
+ * Activates a payout method and deactivates the currently active payout method for the same partner **Required Permissions** \"payment-management.payments.update\"
84
84
  * @summary Create the Payout Method Activation
85
- * @param {string} code
85
+ * @param {string} code Unique identifier for the object.
86
86
  * @param {string} [authorization] Bearer Token
87
87
  * @param {*} [options] Override http request option.
88
88
  * @throws {RequiredError}
89
89
  */
90
- activatePayoutMethod(code: string, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
90
+ activatePayoutMethod(code: string, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<object>>;
91
91
  /**
92
92
  * Creates a new payout method **Required Permissions** \"payment-management.payments.create\"
93
93
  * @summary Create the Payout Method
@@ -122,11 +122,11 @@ export declare const PayoutMethodsApiFp: (configuration?: Configuration) => {
122
122
  * @param {string} [authorization] Bearer Token
123
123
  * @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
124
124
  * @param {string} [pageToken] A cursor for use in pagination. pageToken is an ID that defines your place in the list. For instance, if you make a list request and receive 100 objects and pageToken&#x3D;1, your subsequent call can include pageToken&#x3D;2 in order to fetch the next page of the list.
125
- * @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: id, code, firstName, lastName, iban, bankName, accountCode, partnerCode, isActive, billingAddressId, createdAt, updatedAt&lt;/i&gt;
126
- * @param {string} [search] Search the response for matches in any searchable field. Use filter instead where possible for improved performance.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Searchable fields: firstName, lastName, iban, bankName, accountCode, partnerCode&lt;/i&gt;
125
+ * @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: id, code, firstName, lastName, iban, bankName, accountCode, partnerCode, isActive, billingAddressCode, createdAt, updatedAt&lt;/i&gt;
126
+ * @param {string} [search] Search the response for matches in any searchable field. Use filter instead where possible for improved performance.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Searchable fields: firstName, lastName, iban, bankName, accountCode, partnerCode, billingAddressCode&lt;/i&gt;
127
127
  * @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, code, isActive, createdAt, updatedAt&lt;/i&gt;
128
128
  * @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: billingAddress&lt;i&gt;
129
- * @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: id, code, firstName, lastName, iban, bankName, accountCode, partnerCode, isActive, billingAddressId, createdAt, updatedAt&lt;/i&gt;
129
+ * @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: id, code, firstName, lastName, iban, bankName, accountCode, partnerCode, isActive, billingAddressCode, createdAt, updatedAt&lt;/i&gt;
130
130
  * @param {*} [options] Override http request option.
131
131
  * @throws {RequiredError}
132
132
  */
@@ -138,14 +138,14 @@ export declare const PayoutMethodsApiFp: (configuration?: Configuration) => {
138
138
  */
139
139
  export declare const PayoutMethodsApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
140
140
  /**
141
- * Activates a payout method **Required Permissions** \"payment-management.payments.create\"
141
+ * Activates a payout method and deactivates the currently active payout method for the same partner **Required Permissions** \"payment-management.payments.update\"
142
142
  * @summary Create the Payout Method Activation
143
- * @param {string} code
143
+ * @param {string} code Unique identifier for the object.
144
144
  * @param {string} [authorization] Bearer Token
145
145
  * @param {*} [options] Override http request option.
146
146
  * @throws {RequiredError}
147
147
  */
148
- activatePayoutMethod(code: string, authorization?: string, options?: any): AxiosPromise<void>;
148
+ activatePayoutMethod(code: string, authorization?: string, options?: any): AxiosPromise<object>;
149
149
  /**
150
150
  * Creates a new payout method **Required Permissions** \"payment-management.payments.create\"
151
151
  * @summary Create the Payout Method
@@ -180,11 +180,11 @@ export declare const PayoutMethodsApiFactory: (configuration?: Configuration, ba
180
180
  * @param {string} [authorization] Bearer Token
181
181
  * @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
182
182
  * @param {string} [pageToken] A cursor for use in pagination. pageToken is an ID that defines your place in the list. For instance, if you make a list request and receive 100 objects and pageToken&#x3D;1, your subsequent call can include pageToken&#x3D;2 in order to fetch the next page of the list.
183
- * @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: id, code, firstName, lastName, iban, bankName, accountCode, partnerCode, isActive, billingAddressId, createdAt, updatedAt&lt;/i&gt;
184
- * @param {string} [search] Search the response for matches in any searchable field. Use filter instead where possible for improved performance.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Searchable fields: firstName, lastName, iban, bankName, accountCode, partnerCode&lt;/i&gt;
183
+ * @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: id, code, firstName, lastName, iban, bankName, accountCode, partnerCode, isActive, billingAddressCode, createdAt, updatedAt&lt;/i&gt;
184
+ * @param {string} [search] Search the response for matches in any searchable field. Use filter instead where possible for improved performance.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Searchable fields: firstName, lastName, iban, bankName, accountCode, partnerCode, billingAddressCode&lt;/i&gt;
185
185
  * @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, code, isActive, createdAt, updatedAt&lt;/i&gt;
186
186
  * @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: billingAddress&lt;i&gt;
187
- * @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: id, code, firstName, lastName, iban, bankName, accountCode, partnerCode, isActive, billingAddressId, createdAt, updatedAt&lt;/i&gt;
187
+ * @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: id, code, firstName, lastName, iban, bankName, accountCode, partnerCode, isActive, billingAddressCode, createdAt, updatedAt&lt;/i&gt;
188
188
  * @param {*} [options] Override http request option.
189
189
  * @throws {RequiredError}
190
190
  */
@@ -197,7 +197,7 @@ export declare const PayoutMethodsApiFactory: (configuration?: Configuration, ba
197
197
  */
198
198
  export interface PayoutMethodsApiActivatePayoutMethodRequest {
199
199
  /**
200
- *
200
+ * Unique identifier for the object.
201
201
  * @type {string}
202
202
  * @memberof PayoutMethodsApiActivatePayoutMethod
203
203
  */
@@ -297,13 +297,13 @@ export interface PayoutMethodsApiListPayoutMethodsRequest {
297
297
  */
298
298
  readonly pageToken?: string;
299
299
  /**
300
- * 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: id, code, firstName, lastName, iban, bankName, accountCode, partnerCode, isActive, billingAddressId, createdAt, updatedAt&lt;/i&gt;
300
+ * 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: id, code, firstName, lastName, iban, bankName, accountCode, partnerCode, isActive, billingAddressCode, createdAt, updatedAt&lt;/i&gt;
301
301
  * @type {string}
302
302
  * @memberof PayoutMethodsApiListPayoutMethods
303
303
  */
304
304
  readonly filter?: string;
305
305
  /**
306
- * Search the response for matches in any searchable field. Use filter instead where possible for improved performance.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Searchable fields: firstName, lastName, iban, bankName, accountCode, partnerCode&lt;/i&gt;
306
+ * Search the response for matches in any searchable field. Use filter instead where possible for improved performance.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Searchable fields: firstName, lastName, iban, bankName, accountCode, partnerCode, billingAddressCode&lt;/i&gt;
307
307
  * @type {string}
308
308
  * @memberof PayoutMethodsApiListPayoutMethods
309
309
  */
@@ -321,7 +321,7 @@ export interface PayoutMethodsApiListPayoutMethodsRequest {
321
321
  */
322
322
  readonly expand?: string;
323
323
  /**
324
- * 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: id, code, firstName, lastName, iban, bankName, accountCode, partnerCode, isActive, billingAddressId, createdAt, updatedAt&lt;/i&gt;
324
+ * 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: id, code, firstName, lastName, iban, bankName, accountCode, partnerCode, isActive, billingAddressCode, createdAt, updatedAt&lt;/i&gt;
325
325
  * @type {string}
326
326
  * @memberof PayoutMethodsApiListPayoutMethods
327
327
  */
@@ -335,14 +335,14 @@ export interface PayoutMethodsApiListPayoutMethodsRequest {
335
335
  */
336
336
  export declare class PayoutMethodsApi extends BaseAPI {
337
337
  /**
338
- * Activates a payout method **Required Permissions** \"payment-management.payments.create\"
338
+ * Activates a payout method and deactivates the currently active payout method for the same partner **Required Permissions** \"payment-management.payments.update\"
339
339
  * @summary Create the Payout Method Activation
340
340
  * @param {PayoutMethodsApiActivatePayoutMethodRequest} requestParameters Request parameters.
341
341
  * @param {*} [options] Override http request option.
342
342
  * @throws {RequiredError}
343
343
  * @memberof PayoutMethodsApi
344
344
  */
345
- activatePayoutMethod(requestParameters: PayoutMethodsApiActivatePayoutMethodRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any, {}>>;
345
+ activatePayoutMethod(requestParameters: PayoutMethodsApiActivatePayoutMethodRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<object, any, {}>>;
346
346
  /**
347
347
  * Creates a new payout method **Required Permissions** \"payment-management.payments.create\"
348
348
  * @summary Create the Payout Method
@@ -93,9 +93,9 @@ var PayoutMethodsApiAxiosParamCreator = function (configuration) {
93
93
  var _this = this;
94
94
  return {
95
95
  /**
96
- * Activates a payout method **Required Permissions** \"payment-management.payments.create\"
96
+ * Activates a payout method and deactivates the currently active payout method for the same partner **Required Permissions** \"payment-management.payments.update\"
97
97
  * @summary Create the Payout Method Activation
98
- * @param {string} code
98
+ * @param {string} code Unique identifier for the object.
99
99
  * @param {string} [authorization] Bearer Token
100
100
  * @param {*} [options] Override http request option.
101
101
  * @throws {RequiredError}
@@ -295,11 +295,11 @@ var PayoutMethodsApiAxiosParamCreator = function (configuration) {
295
295
  * @param {string} [authorization] Bearer Token
296
296
  * @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
297
297
  * @param {string} [pageToken] A cursor for use in pagination. pageToken is an ID that defines your place in the list. For instance, if you make a list request and receive 100 objects and pageToken&#x3D;1, your subsequent call can include pageToken&#x3D;2 in order to fetch the next page of the list.
298
- * @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: id, code, firstName, lastName, iban, bankName, accountCode, partnerCode, isActive, billingAddressId, createdAt, updatedAt&lt;/i&gt;
299
- * @param {string} [search] Search the response for matches in any searchable field. Use filter instead where possible for improved performance.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Searchable fields: firstName, lastName, iban, bankName, accountCode, partnerCode&lt;/i&gt;
298
+ * @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: id, code, firstName, lastName, iban, bankName, accountCode, partnerCode, isActive, billingAddressCode, createdAt, updatedAt&lt;/i&gt;
299
+ * @param {string} [search] Search the response for matches in any searchable field. Use filter instead where possible for improved performance.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Searchable fields: firstName, lastName, iban, bankName, accountCode, partnerCode, billingAddressCode&lt;/i&gt;
300
300
  * @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, code, isActive, createdAt, updatedAt&lt;/i&gt;
301
301
  * @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: billingAddress&lt;i&gt;
302
- * @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: id, code, firstName, lastName, iban, bankName, accountCode, partnerCode, isActive, billingAddressId, createdAt, updatedAt&lt;/i&gt;
302
+ * @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: id, code, firstName, lastName, iban, bankName, accountCode, partnerCode, isActive, billingAddressCode, createdAt, updatedAt&lt;/i&gt;
303
303
  * @param {*} [options] Override http request option.
304
304
  * @throws {RequiredError}
305
305
  */
@@ -372,9 +372,9 @@ var PayoutMethodsApiFp = function (configuration) {
372
372
  var localVarAxiosParamCreator = (0, exports.PayoutMethodsApiAxiosParamCreator)(configuration);
373
373
  return {
374
374
  /**
375
- * Activates a payout method **Required Permissions** \"payment-management.payments.create\"
375
+ * Activates a payout method and deactivates the currently active payout method for the same partner **Required Permissions** \"payment-management.payments.update\"
376
376
  * @summary Create the Payout Method Activation
377
- * @param {string} code
377
+ * @param {string} code Unique identifier for the object.
378
378
  * @param {string} [authorization] Bearer Token
379
379
  * @param {*} [options] Override http request option.
380
380
  * @throws {RequiredError}
@@ -462,11 +462,11 @@ var PayoutMethodsApiFp = function (configuration) {
462
462
  * @param {string} [authorization] Bearer Token
463
463
  * @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
464
464
  * @param {string} [pageToken] A cursor for use in pagination. pageToken is an ID that defines your place in the list. For instance, if you make a list request and receive 100 objects and pageToken&#x3D;1, your subsequent call can include pageToken&#x3D;2 in order to fetch the next page of the list.
465
- * @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: id, code, firstName, lastName, iban, bankName, accountCode, partnerCode, isActive, billingAddressId, createdAt, updatedAt&lt;/i&gt;
466
- * @param {string} [search] Search the response for matches in any searchable field. Use filter instead where possible for improved performance.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Searchable fields: firstName, lastName, iban, bankName, accountCode, partnerCode&lt;/i&gt;
465
+ * @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: id, code, firstName, lastName, iban, bankName, accountCode, partnerCode, isActive, billingAddressCode, createdAt, updatedAt&lt;/i&gt;
466
+ * @param {string} [search] Search the response for matches in any searchable field. Use filter instead where possible for improved performance.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Searchable fields: firstName, lastName, iban, bankName, accountCode, partnerCode, billingAddressCode&lt;/i&gt;
467
467
  * @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, code, isActive, createdAt, updatedAt&lt;/i&gt;
468
468
  * @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: billingAddress&lt;i&gt;
469
- * @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: id, code, firstName, lastName, iban, bankName, accountCode, partnerCode, isActive, billingAddressId, createdAt, updatedAt&lt;/i&gt;
469
+ * @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: id, code, firstName, lastName, iban, bankName, accountCode, partnerCode, isActive, billingAddressCode, createdAt, updatedAt&lt;/i&gt;
470
470
  * @param {*} [options] Override http request option.
471
471
  * @throws {RequiredError}
472
472
  */
@@ -494,9 +494,9 @@ var PayoutMethodsApiFactory = function (configuration, basePath, axios) {
494
494
  var localVarFp = (0, exports.PayoutMethodsApiFp)(configuration);
495
495
  return {
496
496
  /**
497
- * Activates a payout method **Required Permissions** \"payment-management.payments.create\"
497
+ * Activates a payout method and deactivates the currently active payout method for the same partner **Required Permissions** \"payment-management.payments.update\"
498
498
  * @summary Create the Payout Method Activation
499
- * @param {string} code
499
+ * @param {string} code Unique identifier for the object.
500
500
  * @param {string} [authorization] Bearer Token
501
501
  * @param {*} [options] Override http request option.
502
502
  * @throws {RequiredError}
@@ -544,11 +544,11 @@ var PayoutMethodsApiFactory = function (configuration, basePath, axios) {
544
544
  * @param {string} [authorization] Bearer Token
545
545
  * @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
546
546
  * @param {string} [pageToken] A cursor for use in pagination. pageToken is an ID that defines your place in the list. For instance, if you make a list request and receive 100 objects and pageToken&#x3D;1, your subsequent call can include pageToken&#x3D;2 in order to fetch the next page of the list.
547
- * @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: id, code, firstName, lastName, iban, bankName, accountCode, partnerCode, isActive, billingAddressId, createdAt, updatedAt&lt;/i&gt;
548
- * @param {string} [search] Search the response for matches in any searchable field. Use filter instead where possible for improved performance.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Searchable fields: firstName, lastName, iban, bankName, accountCode, partnerCode&lt;/i&gt;
547
+ * @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: id, code, firstName, lastName, iban, bankName, accountCode, partnerCode, isActive, billingAddressCode, createdAt, updatedAt&lt;/i&gt;
548
+ * @param {string} [search] Search the response for matches in any searchable field. Use filter instead where possible for improved performance.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Searchable fields: firstName, lastName, iban, bankName, accountCode, partnerCode, billingAddressCode&lt;/i&gt;
549
549
  * @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, code, isActive, createdAt, updatedAt&lt;/i&gt;
550
550
  * @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: billingAddress&lt;i&gt;
551
- * @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: id, code, firstName, lastName, iban, bankName, accountCode, partnerCode, isActive, billingAddressId, createdAt, updatedAt&lt;/i&gt;
551
+ * @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: id, code, firstName, lastName, iban, bankName, accountCode, partnerCode, isActive, billingAddressCode, createdAt, updatedAt&lt;/i&gt;
552
552
  * @param {*} [options] Override http request option.
553
553
  * @throws {RequiredError}
554
554
  */
@@ -570,7 +570,7 @@ var PayoutMethodsApi = /** @class */ (function (_super) {
570
570
  return _super !== null && _super.apply(this, arguments) || this;
571
571
  }
572
572
  /**
573
- * Activates a payout method **Required Permissions** \"payment-management.payments.create\"
573
+ * Activates a payout method and deactivates the currently active payout method for the same partner **Required Permissions** \"payment-management.payments.update\"
574
574
  * @summary Create the Payout Method Activation
575
575
  * @param {PayoutMethodsApiActivatePayoutMethodRequest} requestParameters Request parameters.
576
576
  * @param {*} [options] Override http request option.
@@ -65,11 +65,11 @@ export interface PayoutMethodClass {
65
65
  */
66
66
  'isActive': boolean;
67
67
  /**
68
- * Billing address ID
69
- * @type {number}
68
+ * Billing address code
69
+ * @type {string}
70
70
  * @memberof PayoutMethodClass
71
71
  */
72
- 'billingAddressId': number;
72
+ 'billingAddressCode': string;
73
73
  /**
74
74
  * Unique identifier of the account that this object belongs to.
75
75
  * @type {string}
@@ -70,11 +70,11 @@ export interface PayoutMethodClass {
70
70
  */
71
71
  'isActive': boolean;
72
72
  /**
73
- * Billing address ID
74
- * @type {number}
73
+ * Billing address code
74
+ * @type {string}
75
75
  * @memberof PayoutMethodClass
76
76
  */
77
- 'billingAddressId': number;
77
+ 'billingAddressCode': string;
78
78
  /**
79
79
  * Unique identifier of the account that this object belongs to.
80
80
  * @type {string}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@emilgroup/payment-sdk",
3
- "version": "1.14.1-beta.59",
3
+ "version": "1.14.1-beta.60",
4
4
  "description": "OpenAPI client for @emilgroup/payment-sdk",
5
5
  "author": "OpenAPI-Generator Contributors",
6
6
  "keywords": [