@emilgroup/payment-sdk-node 1.22.1-beta.58 → 1.22.1-beta.59
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-node@1.22.1-beta.
|
|
20
|
+
npm install @emilgroup/payment-sdk-node@1.22.1-beta.59 --save
|
|
21
21
|
```
|
|
22
22
|
or
|
|
23
23
|
```
|
|
24
|
-
yarn add @emilgroup/payment-sdk-node@1.22.1-beta.
|
|
24
|
+
yarn add @emilgroup/payment-sdk-node@1.22.1-beta.59
|
|
25
25
|
```
|
|
26
26
|
|
|
27
27
|
And then you can import `PaymentsApi`.
|
|
@@ -39,9 +39,9 @@ const FormData = require('form-data');
|
|
|
39
39
|
export const PayoutMethodsApiAxiosParamCreator = function (configuration?: Configuration) {
|
|
40
40
|
return {
|
|
41
41
|
/**
|
|
42
|
-
* Activates a payout method **Required Permissions** \"payment-management.payments.
|
|
42
|
+
* Activates a payout method and deactivates the currently active payout method for the same partner **Required Permissions** \"payment-management.payments.update\"
|
|
43
43
|
* @summary Create the Payout Method Activation
|
|
44
|
-
* @param {string} code
|
|
44
|
+
* @param {string} code Unique identifier for the object.
|
|
45
45
|
* @param {string} [authorization] Bearer Token
|
|
46
46
|
* @param {*} [options] Override http request option.
|
|
47
47
|
* @throws {RequiredError}
|
|
@@ -231,11 +231,11 @@ export const PayoutMethodsApiAxiosParamCreator = function (configuration?: Confi
|
|
|
231
231
|
* @param {string} [authorization] Bearer Token
|
|
232
232
|
* @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
233
233
|
* @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.
|
|
234
|
-
* @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,
|
|
235
|
-
* @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>
|
|
234
|
+
* @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>
|
|
235
|
+
* @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>
|
|
236
236
|
* @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>
|
|
237
237
|
* @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>
|
|
238
|
-
* @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,
|
|
238
|
+
* @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>
|
|
239
239
|
* @param {*} [options] Override http request option.
|
|
240
240
|
* @throws {RequiredError}
|
|
241
241
|
*/
|
|
@@ -312,14 +312,14 @@ export const PayoutMethodsApiFp = function(configuration?: Configuration) {
|
|
|
312
312
|
const localVarAxiosParamCreator = PayoutMethodsApiAxiosParamCreator(configuration)
|
|
313
313
|
return {
|
|
314
314
|
/**
|
|
315
|
-
* Activates a payout method **Required Permissions** \"payment-management.payments.
|
|
315
|
+
* Activates a payout method and deactivates the currently active payout method for the same partner **Required Permissions** \"payment-management.payments.update\"
|
|
316
316
|
* @summary Create the Payout Method Activation
|
|
317
|
-
* @param {string} code
|
|
317
|
+
* @param {string} code Unique identifier for the object.
|
|
318
318
|
* @param {string} [authorization] Bearer Token
|
|
319
319
|
* @param {*} [options] Override http request option.
|
|
320
320
|
* @throws {RequiredError}
|
|
321
321
|
*/
|
|
322
|
-
async activatePayoutMethod(code: string, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<
|
|
322
|
+
async activatePayoutMethod(code: string, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<object>> {
|
|
323
323
|
const localVarAxiosArgs = await localVarAxiosParamCreator.activatePayoutMethod(code, authorization, options);
|
|
324
324
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
325
325
|
},
|
|
@@ -366,11 +366,11 @@ export const PayoutMethodsApiFp = function(configuration?: Configuration) {
|
|
|
366
366
|
* @param {string} [authorization] Bearer Token
|
|
367
367
|
* @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
368
368
|
* @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.
|
|
369
|
-
* @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,
|
|
370
|
-
* @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>
|
|
369
|
+
* @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>
|
|
370
|
+
* @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>
|
|
371
371
|
* @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>
|
|
372
372
|
* @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>
|
|
373
|
-
* @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,
|
|
373
|
+
* @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>
|
|
374
374
|
* @param {*} [options] Override http request option.
|
|
375
375
|
* @throws {RequiredError}
|
|
376
376
|
*/
|
|
@@ -389,14 +389,14 @@ export const PayoutMethodsApiFactory = function (configuration?: Configuration,
|
|
|
389
389
|
const localVarFp = PayoutMethodsApiFp(configuration)
|
|
390
390
|
return {
|
|
391
391
|
/**
|
|
392
|
-
* Activates a payout method **Required Permissions** \"payment-management.payments.
|
|
392
|
+
* Activates a payout method and deactivates the currently active payout method for the same partner **Required Permissions** \"payment-management.payments.update\"
|
|
393
393
|
* @summary Create the Payout Method Activation
|
|
394
|
-
* @param {string} code
|
|
394
|
+
* @param {string} code Unique identifier for the object.
|
|
395
395
|
* @param {string} [authorization] Bearer Token
|
|
396
396
|
* @param {*} [options] Override http request option.
|
|
397
397
|
* @throws {RequiredError}
|
|
398
398
|
*/
|
|
399
|
-
activatePayoutMethod(code: string, authorization?: string, options?: any): AxiosPromise<
|
|
399
|
+
activatePayoutMethod(code: string, authorization?: string, options?: any): AxiosPromise<object> {
|
|
400
400
|
return localVarFp.activatePayoutMethod(code, authorization, options).then((request) => request(axios, basePath));
|
|
401
401
|
},
|
|
402
402
|
/**
|
|
@@ -439,11 +439,11 @@ export const PayoutMethodsApiFactory = function (configuration?: Configuration,
|
|
|
439
439
|
* @param {string} [authorization] Bearer Token
|
|
440
440
|
* @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
441
441
|
* @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.
|
|
442
|
-
* @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,
|
|
443
|
-
* @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>
|
|
442
|
+
* @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>
|
|
443
|
+
* @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>
|
|
444
444
|
* @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>
|
|
445
445
|
* @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>
|
|
446
|
-
* @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,
|
|
446
|
+
* @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>
|
|
447
447
|
* @param {*} [options] Override http request option.
|
|
448
448
|
* @throws {RequiredError}
|
|
449
449
|
*/
|
|
@@ -460,7 +460,7 @@ export const PayoutMethodsApiFactory = function (configuration?: Configuration,
|
|
|
460
460
|
*/
|
|
461
461
|
export interface PayoutMethodsApiActivatePayoutMethodRequest {
|
|
462
462
|
/**
|
|
463
|
-
*
|
|
463
|
+
* Unique identifier for the object.
|
|
464
464
|
* @type {string}
|
|
465
465
|
* @memberof PayoutMethodsApiActivatePayoutMethod
|
|
466
466
|
*/
|
|
@@ -572,14 +572,14 @@ export interface PayoutMethodsApiListPayoutMethodsRequest {
|
|
|
572
572
|
readonly pageToken?: string
|
|
573
573
|
|
|
574
574
|
/**
|
|
575
|
-
* 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,
|
|
575
|
+
* 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>
|
|
576
576
|
* @type {string}
|
|
577
577
|
* @memberof PayoutMethodsApiListPayoutMethods
|
|
578
578
|
*/
|
|
579
579
|
readonly filter?: string
|
|
580
580
|
|
|
581
581
|
/**
|
|
582
|
-
* 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>
|
|
582
|
+
* 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>
|
|
583
583
|
* @type {string}
|
|
584
584
|
* @memberof PayoutMethodsApiListPayoutMethods
|
|
585
585
|
*/
|
|
@@ -600,7 +600,7 @@ export interface PayoutMethodsApiListPayoutMethodsRequest {
|
|
|
600
600
|
readonly expand?: string
|
|
601
601
|
|
|
602
602
|
/**
|
|
603
|
-
* 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,
|
|
603
|
+
* 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>
|
|
604
604
|
* @type {string}
|
|
605
605
|
* @memberof PayoutMethodsApiListPayoutMethods
|
|
606
606
|
*/
|
|
@@ -615,7 +615,7 @@ export interface PayoutMethodsApiListPayoutMethodsRequest {
|
|
|
615
615
|
*/
|
|
616
616
|
export class PayoutMethodsApi extends BaseAPI {
|
|
617
617
|
/**
|
|
618
|
-
* Activates a payout method **Required Permissions** \"payment-management.payments.
|
|
618
|
+
* Activates a payout method and deactivates the currently active payout method for the same partner **Required Permissions** \"payment-management.payments.update\"
|
|
619
619
|
* @summary Create the Payout Method Activation
|
|
620
620
|
* @param {PayoutMethodsApiActivatePayoutMethodRequest} requestParameters Request parameters.
|
|
621
621
|
* @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.
|
|
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=1, your subsequent call can include pageToken=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.<br/> <br/> <i>Allowed values: id, code, firstName, lastName, iban, bankName, accountCode, partnerCode, isActive,
|
|
68
|
-
* @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>
|
|
67
|
+
* @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>
|
|
68
|
+
* @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>
|
|
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.<br/> <br/> <i>Allowed values: id, code, isActive, createdAt, updatedAt</i>
|
|
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.<br/> <br/> <i>Allowed values: billingAddress<i>
|
|
71
|
-
* @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,
|
|
71
|
+
* @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>
|
|
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.
|
|
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<
|
|
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=1, your subsequent call can include pageToken=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.<br/> <br/> <i>Allowed values: id, code, firstName, lastName, iban, bankName, accountCode, partnerCode, isActive,
|
|
126
|
-
* @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>
|
|
125
|
+
* @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>
|
|
126
|
+
* @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>
|
|
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.<br/> <br/> <i>Allowed values: id, code, isActive, createdAt, updatedAt</i>
|
|
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.<br/> <br/> <i>Allowed values: billingAddress<i>
|
|
129
|
-
* @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,
|
|
129
|
+
* @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>
|
|
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.
|
|
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<
|
|
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=1, your subsequent call can include pageToken=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.<br/> <br/> <i>Allowed values: id, code, firstName, lastName, iban, bankName, accountCode, partnerCode, isActive,
|
|
184
|
-
* @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>
|
|
183
|
+
* @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>
|
|
184
|
+
* @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>
|
|
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.<br/> <br/> <i>Allowed values: id, code, isActive, createdAt, updatedAt</i>
|
|
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.<br/> <br/> <i>Allowed values: billingAddress<i>
|
|
187
|
-
* @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,
|
|
187
|
+
* @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>
|
|
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.<br/> <br/> <i>Allowed values: id, code, firstName, lastName, iban, bankName, accountCode, partnerCode, isActive,
|
|
300
|
+
* 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>
|
|
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.<br/> <br/> <i>Searchable fields: firstName, lastName, iban, bankName, accountCode, partnerCode</i>
|
|
306
|
+
* 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>
|
|
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.<br/> <br/> <i>Allowed values: id, code, firstName, lastName, iban, bankName, accountCode, partnerCode, isActive,
|
|
324
|
+
* 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>
|
|
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.
|
|
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<
|
|
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
|
|
@@ -97,9 +97,9 @@ var PayoutMethodsApiAxiosParamCreator = function (configuration) {
|
|
|
97
97
|
var _this = this;
|
|
98
98
|
return {
|
|
99
99
|
/**
|
|
100
|
-
* Activates a payout method **Required Permissions** \"payment-management.payments.
|
|
100
|
+
* Activates a payout method and deactivates the currently active payout method for the same partner **Required Permissions** \"payment-management.payments.update\"
|
|
101
101
|
* @summary Create the Payout Method Activation
|
|
102
|
-
* @param {string} code
|
|
102
|
+
* @param {string} code Unique identifier for the object.
|
|
103
103
|
* @param {string} [authorization] Bearer Token
|
|
104
104
|
* @param {*} [options] Override http request option.
|
|
105
105
|
* @throws {RequiredError}
|
|
@@ -299,11 +299,11 @@ var PayoutMethodsApiAxiosParamCreator = function (configuration) {
|
|
|
299
299
|
* @param {string} [authorization] Bearer Token
|
|
300
300
|
* @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
301
301
|
* @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.
|
|
302
|
-
* @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,
|
|
303
|
-
* @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>
|
|
302
|
+
* @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>
|
|
303
|
+
* @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>
|
|
304
304
|
* @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>
|
|
305
305
|
* @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>
|
|
306
|
-
* @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,
|
|
306
|
+
* @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>
|
|
307
307
|
* @param {*} [options] Override http request option.
|
|
308
308
|
* @throws {RequiredError}
|
|
309
309
|
*/
|
|
@@ -376,9 +376,9 @@ var PayoutMethodsApiFp = function (configuration) {
|
|
|
376
376
|
var localVarAxiosParamCreator = (0, exports.PayoutMethodsApiAxiosParamCreator)(configuration);
|
|
377
377
|
return {
|
|
378
378
|
/**
|
|
379
|
-
* Activates a payout method **Required Permissions** \"payment-management.payments.
|
|
379
|
+
* Activates a payout method and deactivates the currently active payout method for the same partner **Required Permissions** \"payment-management.payments.update\"
|
|
380
380
|
* @summary Create the Payout Method Activation
|
|
381
|
-
* @param {string} code
|
|
381
|
+
* @param {string} code Unique identifier for the object.
|
|
382
382
|
* @param {string} [authorization] Bearer Token
|
|
383
383
|
* @param {*} [options] Override http request option.
|
|
384
384
|
* @throws {RequiredError}
|
|
@@ -466,11 +466,11 @@ var PayoutMethodsApiFp = function (configuration) {
|
|
|
466
466
|
* @param {string} [authorization] Bearer Token
|
|
467
467
|
* @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
468
468
|
* @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.
|
|
469
|
-
* @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,
|
|
470
|
-
* @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>
|
|
469
|
+
* @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>
|
|
470
|
+
* @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>
|
|
471
471
|
* @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>
|
|
472
472
|
* @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>
|
|
473
|
-
* @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,
|
|
473
|
+
* @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>
|
|
474
474
|
* @param {*} [options] Override http request option.
|
|
475
475
|
* @throws {RequiredError}
|
|
476
476
|
*/
|
|
@@ -498,9 +498,9 @@ var PayoutMethodsApiFactory = function (configuration, basePath, axios) {
|
|
|
498
498
|
var localVarFp = (0, exports.PayoutMethodsApiFp)(configuration);
|
|
499
499
|
return {
|
|
500
500
|
/**
|
|
501
|
-
* Activates a payout method **Required Permissions** \"payment-management.payments.
|
|
501
|
+
* Activates a payout method and deactivates the currently active payout method for the same partner **Required Permissions** \"payment-management.payments.update\"
|
|
502
502
|
* @summary Create the Payout Method Activation
|
|
503
|
-
* @param {string} code
|
|
503
|
+
* @param {string} code Unique identifier for the object.
|
|
504
504
|
* @param {string} [authorization] Bearer Token
|
|
505
505
|
* @param {*} [options] Override http request option.
|
|
506
506
|
* @throws {RequiredError}
|
|
@@ -548,11 +548,11 @@ var PayoutMethodsApiFactory = function (configuration, basePath, axios) {
|
|
|
548
548
|
* @param {string} [authorization] Bearer Token
|
|
549
549
|
* @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
550
550
|
* @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.
|
|
551
|
-
* @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,
|
|
552
|
-
* @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>
|
|
551
|
+
* @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>
|
|
552
|
+
* @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>
|
|
553
553
|
* @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>
|
|
554
554
|
* @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>
|
|
555
|
-
* @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,
|
|
555
|
+
* @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>
|
|
556
556
|
* @param {*} [options] Override http request option.
|
|
557
557
|
* @throws {RequiredError}
|
|
558
558
|
*/
|
|
@@ -574,7 +574,7 @@ var PayoutMethodsApi = /** @class */ (function (_super) {
|
|
|
574
574
|
return _super !== null && _super.apply(this, arguments) || this;
|
|
575
575
|
}
|
|
576
576
|
/**
|
|
577
|
-
* Activates a payout method **Required Permissions** \"payment-management.payments.
|
|
577
|
+
* Activates a payout method and deactivates the currently active payout method for the same partner **Required Permissions** \"payment-management.payments.update\"
|
|
578
578
|
* @summary Create the Payout Method Activation
|
|
579
579
|
* @param {PayoutMethodsApiActivatePayoutMethodRequest} requestParameters Request parameters.
|
|
580
580
|
* @param {*} [options] Override http request option.
|
|
@@ -65,11 +65,11 @@ export interface PayoutMethodClass {
|
|
|
65
65
|
*/
|
|
66
66
|
'isActive': boolean;
|
|
67
67
|
/**
|
|
68
|
-
* Billing address
|
|
69
|
-
* @type {
|
|
68
|
+
* Billing address code
|
|
69
|
+
* @type {string}
|
|
70
70
|
* @memberof PayoutMethodClass
|
|
71
71
|
*/
|
|
72
|
-
'
|
|
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
|
|
74
|
-
* @type {
|
|
73
|
+
* Billing address code
|
|
74
|
+
* @type {string}
|
|
75
75
|
* @memberof PayoutMethodClass
|
|
76
76
|
*/
|
|
77
|
-
'
|
|
77
|
+
'billingAddressCode': string;
|
|
78
78
|
/**
|
|
79
79
|
* Unique identifier of the account that this object belongs to.
|
|
80
80
|
* @type {string}
|