@emilgroup/payment-sdk-node 1.23.1-beta.98 → 1.23.1-beta.99
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +2 -2
- package/api/payment-requests-api.ts +12 -12
- package/api/webhooks-api.ts +54 -41
- package/dist/api/payment-requests-api.d.ts +12 -12
- package/dist/api/payment-requests-api.js +9 -9
- package/dist/api/webhooks-api.d.ts +36 -27
- package/dist/api/webhooks-api.js +33 -27
- package/dist/models/bank-transaction-entity.d.ts +2 -4
- package/dist/models/create-payment-order-dto.d.ts +2 -4
- package/dist/models/create-payment-order-request-dto.d.ts +2 -4
- package/dist/models/create-payment-request-dto.d.ts +2 -4
- package/dist/models/create-payment-request-request-dto.d.ts +0 -6
- package/dist/models/credit-allocation-class.d.ts +0 -6
- package/dist/models/credit-allocation-entity.d.ts +0 -6
- package/dist/models/invoice-match-suggestion-entity.d.ts +2 -4
- package/dist/models/list-billing-addresses-response-class.d.ts +9 -9
- package/dist/models/list-exceeding-credits-response-class.d.ts +18 -6
- package/dist/models/list-payment-receipts-response-class.d.ts +9 -9
- package/dist/models/list-payment-requests-response-class.d.ts +18 -6
- package/dist/models/list-payout-methods-response-class.d.ts +9 -9
- package/dist/models/list-refunds-response-class.d.ts +18 -6
- package/dist/models/payment-class-without-expand-properties.d.ts +1 -1
- package/dist/models/payment-class.d.ts +1 -1
- package/dist/models/payment-entity.d.ts +3 -5
- package/dist/models/payment-request-class.d.ts +0 -12
- package/dist/models/validate-pspconfig-request-dto.d.ts +2 -4
- package/models/bank-transaction-entity.ts +2 -2
- package/models/create-payment-order-dto.ts +2 -2
- package/models/create-payment-order-request-dto.ts +2 -2
- package/models/create-payment-request-dto.ts +2 -2
- package/models/create-payment-request-request-dto.ts +0 -6
- package/models/credit-allocation-class.ts +0 -6
- package/models/credit-allocation-entity.ts +0 -6
- package/models/invoice-match-suggestion-entity.ts +2 -2
- package/models/list-billing-addresses-response-class.ts +9 -9
- package/models/list-exceeding-credits-response-class.ts +18 -6
- package/models/list-payment-receipts-response-class.ts +9 -9
- package/models/list-payment-requests-response-class.ts +18 -6
- package/models/list-payout-methods-response-class.ts +9 -9
- package/models/list-refunds-response-class.ts +18 -6
- package/models/payment-class-without-expand-properties.ts +1 -1
- package/models/payment-class.ts +1 -1
- package/models/payment-entity.ts +3 -3
- package/models/payment-request-class.ts +0 -12
- package/models/validate-pspconfig-request-dto.ts +2 -2
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -17,11 +17,11 @@ Although this package can be used in both TypeScript and JavaScript, it is inten
|
|
|
17
17
|
Navigate to the folder of your consuming project and run one of the following commands:
|
|
18
18
|
|
|
19
19
|
```
|
|
20
|
-
npm install @emilgroup/payment-sdk-node@1.23.1-beta.
|
|
20
|
+
npm install @emilgroup/payment-sdk-node@1.23.1-beta.99 --save
|
|
21
21
|
```
|
|
22
22
|
or
|
|
23
23
|
```
|
|
24
|
-
yarn add @emilgroup/payment-sdk-node@1.23.1-beta.
|
|
24
|
+
yarn add @emilgroup/payment-sdk-node@1.23.1-beta.99
|
|
25
25
|
```
|
|
26
26
|
|
|
27
27
|
And then you can import `PaymentsApi`.
|
|
@@ -192,11 +192,11 @@ export const PaymentRequestsApiAxiosParamCreator = function (configuration?: Con
|
|
|
192
192
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
193
193
|
* @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
194
194
|
* @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.
|
|
195
|
-
* @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, paymentRequestNumber, status, direction, financialEntityType, domainEntityType, paymentMethodPsp, paymentMethodType, createdAt
|
|
196
|
-
* @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: code, paymentRequestNumber, financialEntityCode, financialEntityNumber, domainEntityCode, domainEntityNumber
|
|
195
|
+
* @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, paymentRequestNumber, status, direction, financialEntityType, domainEntityType, paymentMethodPsp, paymentMethodType, createdAt</i>
|
|
196
|
+
* @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: code, paymentRequestNumber, financialEntityCode, financialEntityNumber, domainEntityCode, domainEntityNumber</i>
|
|
197
197
|
* @param {string} [order] Order allows you to specify the desired order of entities retrieved from the server by ascending (ASC) or descending (DESC) order.<br/> <br/> <i>Allowed values: id, paymentRequestNumber, financialEntityNumber, domainEntityNumber, createdAt, status</i>
|
|
198
198
|
* @param {string} [expand] Expand to fetch additional information about the list items. Expanding resources can reduce the number of API calls required to accomplish a task. Use with discretion as some expanded fields can drastically increase payload size.<br/> <br/> <i>Allowed values: paymentReceipts<i>
|
|
199
|
-
* @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, paymentRequestNumber, status, direction, financialEntityType, domainEntityType, paymentMethodPsp, paymentMethodType, createdAt
|
|
199
|
+
* @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, paymentRequestNumber, status, direction, financialEntityType, domainEntityType, paymentMethodPsp, paymentMethodType, createdAt</i>
|
|
200
200
|
* @param {*} [options] Override http request option.
|
|
201
201
|
* @throws {RequiredError}
|
|
202
202
|
*/
|
|
@@ -366,11 +366,11 @@ export const PaymentRequestsApiFp = function(configuration?: Configuration) {
|
|
|
366
366
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
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, paymentRequestNumber, status, direction, financialEntityType, domainEntityType, paymentMethodPsp, paymentMethodType, createdAt
|
|
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: code, paymentRequestNumber, financialEntityCode, financialEntityNumber, domainEntityCode, domainEntityNumber
|
|
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, paymentRequestNumber, status, direction, financialEntityType, domainEntityType, paymentMethodPsp, paymentMethodType, createdAt</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: code, paymentRequestNumber, financialEntityCode, financialEntityNumber, domainEntityCode, domainEntityNumber</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, paymentRequestNumber, financialEntityNumber, domainEntityNumber, createdAt, status</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: paymentReceipts<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, paymentRequestNumber, status, direction, financialEntityType, domainEntityType, paymentMethodPsp, paymentMethodType, createdAt
|
|
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, paymentRequestNumber, status, direction, financialEntityType, domainEntityType, paymentMethodPsp, paymentMethodType, createdAt</i>
|
|
374
374
|
* @param {*} [options] Override http request option.
|
|
375
375
|
* @throws {RequiredError}
|
|
376
376
|
*/
|
|
@@ -441,11 +441,11 @@ export const PaymentRequestsApiFactory = function (configuration?: Configuration
|
|
|
441
441
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
442
442
|
* @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
443
443
|
* @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.
|
|
444
|
-
* @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, paymentRequestNumber, status, direction, financialEntityType, domainEntityType, paymentMethodPsp, paymentMethodType, createdAt
|
|
445
|
-
* @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: code, paymentRequestNumber, financialEntityCode, financialEntityNumber, domainEntityCode, domainEntityNumber
|
|
444
|
+
* @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, paymentRequestNumber, status, direction, financialEntityType, domainEntityType, paymentMethodPsp, paymentMethodType, createdAt</i>
|
|
445
|
+
* @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: code, paymentRequestNumber, financialEntityCode, financialEntityNumber, domainEntityCode, domainEntityNumber</i>
|
|
446
446
|
* @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, paymentRequestNumber, financialEntityNumber, domainEntityNumber, createdAt, status</i>
|
|
447
447
|
* @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: paymentReceipts<i>
|
|
448
|
-
* @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, paymentRequestNumber, status, direction, financialEntityType, domainEntityType, paymentMethodPsp, paymentMethodType, createdAt
|
|
448
|
+
* @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, paymentRequestNumber, status, direction, financialEntityType, domainEntityType, paymentMethodPsp, paymentMethodType, createdAt</i>
|
|
449
449
|
* @param {*} [options] Override http request option.
|
|
450
450
|
* @throws {RequiredError}
|
|
451
451
|
*/
|
|
@@ -565,14 +565,14 @@ export interface PaymentRequestsApiListPaymentRequestsRequest {
|
|
|
565
565
|
readonly pageToken?: string
|
|
566
566
|
|
|
567
567
|
/**
|
|
568
|
-
* 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, paymentRequestNumber, status, direction, financialEntityType, domainEntityType, paymentMethodPsp, paymentMethodType, createdAt
|
|
568
|
+
* 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, paymentRequestNumber, status, direction, financialEntityType, domainEntityType, paymentMethodPsp, paymentMethodType, createdAt</i>
|
|
569
569
|
* @type {string}
|
|
570
570
|
* @memberof PaymentRequestsApiListPaymentRequests
|
|
571
571
|
*/
|
|
572
572
|
readonly filter?: string
|
|
573
573
|
|
|
574
574
|
/**
|
|
575
|
-
* Search the response for matches in any searchable field. Use filter instead where possible for improved performance.<br/> <br/> <i>Searchable fields: code, paymentRequestNumber, financialEntityCode, financialEntityNumber, domainEntityCode, domainEntityNumber
|
|
575
|
+
* Search the response for matches in any searchable field. Use filter instead where possible for improved performance.<br/> <br/> <i>Searchable fields: code, paymentRequestNumber, financialEntityCode, financialEntityNumber, domainEntityCode, domainEntityNumber</i>
|
|
576
576
|
* @type {string}
|
|
577
577
|
* @memberof PaymentRequestsApiListPaymentRequests
|
|
578
578
|
*/
|
|
@@ -593,7 +593,7 @@ export interface PaymentRequestsApiListPaymentRequestsRequest {
|
|
|
593
593
|
readonly expand?: string
|
|
594
594
|
|
|
595
595
|
/**
|
|
596
|
-
* 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, paymentRequestNumber, status, direction, financialEntityType, domainEntityType, paymentMethodPsp, paymentMethodType, createdAt
|
|
596
|
+
* 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, paymentRequestNumber, status, direction, financialEntityType, domainEntityType, paymentMethodPsp, paymentMethodType, createdAt</i>
|
|
597
597
|
* @type {string}
|
|
598
598
|
* @memberof PaymentRequestsApiListPaymentRequests
|
|
599
599
|
*/
|
package/api/webhooks-api.ts
CHANGED
|
@@ -35,20 +35,24 @@ export const WebhooksApiAxiosParamCreator = function (configuration?: Configurat
|
|
|
35
35
|
* @summary Handle the webhook from PSP
|
|
36
36
|
* @param {string} pspType The type of the payment service provider (PSP).<br/> <br/> <i>Supported PSP: braintree, stripe, b4u, eis, adyen</i>
|
|
37
37
|
* @param {string} tenantSlug Unique slug identifier representing a tenant.
|
|
38
|
+
* @param {string} productSlug
|
|
38
39
|
* @param {object} body Accepts a webhook payload. The structure may vary depending on the payment service provider.
|
|
39
40
|
* @param {*} [options] Override http request option.
|
|
40
41
|
* @throws {RequiredError}
|
|
41
42
|
*/
|
|
42
|
-
|
|
43
|
+
postWebhook0: async (pspType: string, tenantSlug: string, productSlug: string, body: object, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
43
44
|
// verify required parameter 'pspType' is not null or undefined
|
|
44
|
-
assertParamExists('
|
|
45
|
+
assertParamExists('postWebhook0', 'pspType', pspType)
|
|
45
46
|
// verify required parameter 'tenantSlug' is not null or undefined
|
|
46
|
-
assertParamExists('
|
|
47
|
+
assertParamExists('postWebhook0', 'tenantSlug', tenantSlug)
|
|
48
|
+
// verify required parameter 'productSlug' is not null or undefined
|
|
49
|
+
assertParamExists('postWebhook0', 'productSlug', productSlug)
|
|
47
50
|
// verify required parameter 'body' is not null or undefined
|
|
48
|
-
assertParamExists('
|
|
51
|
+
assertParamExists('postWebhook0', 'body', body)
|
|
49
52
|
const localVarPath = `/paymentservice/v1/webhooks/{pspType}/{tenantSlug}`
|
|
50
53
|
.replace(`{${"pspType"}}`, encodeURIComponent(String(pspType)))
|
|
51
|
-
.replace(`{${"tenantSlug"}}`, encodeURIComponent(String(tenantSlug)))
|
|
54
|
+
.replace(`{${"tenantSlug"}}`, encodeURIComponent(String(tenantSlug)))
|
|
55
|
+
.replace(`{${"productSlug"}}`, encodeURIComponent(String(productSlug)));
|
|
52
56
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
53
57
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
54
58
|
let baseOptions;
|
|
@@ -81,20 +85,20 @@ export const WebhooksApiAxiosParamCreator = function (configuration?: Configurat
|
|
|
81
85
|
* @summary Handle the webhook from PSP
|
|
82
86
|
* @param {string} pspType The type of the payment service provider (PSP).<br/> <br/> <i>Supported PSP: braintree, stripe, b4u, eis, adyen</i>
|
|
83
87
|
* @param {string} tenantSlug Unique slug identifier representing a tenant.
|
|
84
|
-
* @param {string} productSlug
|
|
88
|
+
* @param {string} productSlug
|
|
85
89
|
* @param {object} body Accepts a webhook payload. The structure may vary depending on the payment service provider.
|
|
86
90
|
* @param {*} [options] Override http request option.
|
|
87
91
|
* @throws {RequiredError}
|
|
88
92
|
*/
|
|
89
|
-
|
|
93
|
+
postWebhook1: async (pspType: string, tenantSlug: string, productSlug: string, body: object, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
90
94
|
// verify required parameter 'pspType' is not null or undefined
|
|
91
|
-
assertParamExists('
|
|
95
|
+
assertParamExists('postWebhook1', 'pspType', pspType)
|
|
92
96
|
// verify required parameter 'tenantSlug' is not null or undefined
|
|
93
|
-
assertParamExists('
|
|
97
|
+
assertParamExists('postWebhook1', 'tenantSlug', tenantSlug)
|
|
94
98
|
// verify required parameter 'productSlug' is not null or undefined
|
|
95
|
-
assertParamExists('
|
|
99
|
+
assertParamExists('postWebhook1', 'productSlug', productSlug)
|
|
96
100
|
// verify required parameter 'body' is not null or undefined
|
|
97
|
-
assertParamExists('
|
|
101
|
+
assertParamExists('postWebhook1', 'body', body)
|
|
98
102
|
const localVarPath = `/paymentservice/v1/webhooks/{pspType}/{tenantSlug}/{productSlug}`
|
|
99
103
|
.replace(`{${"pspType"}}`, encodeURIComponent(String(pspType)))
|
|
100
104
|
.replace(`{${"tenantSlug"}}`, encodeURIComponent(String(tenantSlug)))
|
|
@@ -141,12 +145,13 @@ export const WebhooksApiFp = function(configuration?: Configuration) {
|
|
|
141
145
|
* @summary Handle the webhook from PSP
|
|
142
146
|
* @param {string} pspType The type of the payment service provider (PSP).<br/> <br/> <i>Supported PSP: braintree, stripe, b4u, eis, adyen</i>
|
|
143
147
|
* @param {string} tenantSlug Unique slug identifier representing a tenant.
|
|
148
|
+
* @param {string} productSlug
|
|
144
149
|
* @param {object} body Accepts a webhook payload. The structure may vary depending on the payment service provider.
|
|
145
150
|
* @param {*} [options] Override http request option.
|
|
146
151
|
* @throws {RequiredError}
|
|
147
152
|
*/
|
|
148
|
-
async
|
|
149
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.
|
|
153
|
+
async postWebhook0(pspType: string, tenantSlug: string, productSlug: string, body: object, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
|
|
154
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.postWebhook0(pspType, tenantSlug, productSlug, body, options);
|
|
150
155
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
151
156
|
},
|
|
152
157
|
/**
|
|
@@ -154,13 +159,13 @@ export const WebhooksApiFp = function(configuration?: Configuration) {
|
|
|
154
159
|
* @summary Handle the webhook from PSP
|
|
155
160
|
* @param {string} pspType The type of the payment service provider (PSP).<br/> <br/> <i>Supported PSP: braintree, stripe, b4u, eis, adyen</i>
|
|
156
161
|
* @param {string} tenantSlug Unique slug identifier representing a tenant.
|
|
157
|
-
* @param {string} productSlug
|
|
162
|
+
* @param {string} productSlug
|
|
158
163
|
* @param {object} body Accepts a webhook payload. The structure may vary depending on the payment service provider.
|
|
159
164
|
* @param {*} [options] Override http request option.
|
|
160
165
|
* @throws {RequiredError}
|
|
161
166
|
*/
|
|
162
|
-
async
|
|
163
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.
|
|
167
|
+
async postWebhook1(pspType: string, tenantSlug: string, productSlug: string, body: object, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
|
|
168
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.postWebhook1(pspType, tenantSlug, productSlug, body, options);
|
|
164
169
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
165
170
|
},
|
|
166
171
|
}
|
|
@@ -178,88 +183,96 @@ export const WebhooksApiFactory = function (configuration?: Configuration, baseP
|
|
|
178
183
|
* @summary Handle the webhook from PSP
|
|
179
184
|
* @param {string} pspType The type of the payment service provider (PSP).<br/> <br/> <i>Supported PSP: braintree, stripe, b4u, eis, adyen</i>
|
|
180
185
|
* @param {string} tenantSlug Unique slug identifier representing a tenant.
|
|
186
|
+
* @param {string} productSlug
|
|
181
187
|
* @param {object} body Accepts a webhook payload. The structure may vary depending on the payment service provider.
|
|
182
188
|
* @param {*} [options] Override http request option.
|
|
183
189
|
* @throws {RequiredError}
|
|
184
190
|
*/
|
|
185
|
-
|
|
186
|
-
return localVarFp.
|
|
191
|
+
postWebhook0(pspType: string, tenantSlug: string, productSlug: string, body: object, options?: any): AxiosPromise<void> {
|
|
192
|
+
return localVarFp.postWebhook0(pspType, tenantSlug, productSlug, body, options).then((request) => request(axios, basePath));
|
|
187
193
|
},
|
|
188
194
|
/**
|
|
189
195
|
* This will processes the webhook from external payment service provider. **Required Permissions** none
|
|
190
196
|
* @summary Handle the webhook from PSP
|
|
191
197
|
* @param {string} pspType The type of the payment service provider (PSP).<br/> <br/> <i>Supported PSP: braintree, stripe, b4u, eis, adyen</i>
|
|
192
198
|
* @param {string} tenantSlug Unique slug identifier representing a tenant.
|
|
193
|
-
* @param {string} productSlug
|
|
199
|
+
* @param {string} productSlug
|
|
194
200
|
* @param {object} body Accepts a webhook payload. The structure may vary depending on the payment service provider.
|
|
195
201
|
* @param {*} [options] Override http request option.
|
|
196
202
|
* @throws {RequiredError}
|
|
197
203
|
*/
|
|
198
|
-
|
|
199
|
-
return localVarFp.
|
|
204
|
+
postWebhook1(pspType: string, tenantSlug: string, productSlug: string, body: object, options?: any): AxiosPromise<void> {
|
|
205
|
+
return localVarFp.postWebhook1(pspType, tenantSlug, productSlug, body, options).then((request) => request(axios, basePath));
|
|
200
206
|
},
|
|
201
207
|
};
|
|
202
208
|
};
|
|
203
209
|
|
|
204
210
|
/**
|
|
205
|
-
* Request parameters for
|
|
211
|
+
* Request parameters for postWebhook0 operation in WebhooksApi.
|
|
206
212
|
* @export
|
|
207
|
-
* @interface
|
|
213
|
+
* @interface WebhooksApiPostWebhook0Request
|
|
208
214
|
*/
|
|
209
|
-
export interface
|
|
215
|
+
export interface WebhooksApiPostWebhook0Request {
|
|
210
216
|
/**
|
|
211
217
|
* The type of the payment service provider (PSP).<br/> <br/> <i>Supported PSP: braintree, stripe, b4u, eis, adyen</i>
|
|
212
218
|
* @type {string}
|
|
213
|
-
* @memberof
|
|
219
|
+
* @memberof WebhooksApiPostWebhook0
|
|
214
220
|
*/
|
|
215
221
|
readonly pspType: string
|
|
216
222
|
|
|
217
223
|
/**
|
|
218
224
|
* Unique slug identifier representing a tenant.
|
|
219
225
|
* @type {string}
|
|
220
|
-
* @memberof
|
|
226
|
+
* @memberof WebhooksApiPostWebhook0
|
|
221
227
|
*/
|
|
222
228
|
readonly tenantSlug: string
|
|
223
229
|
|
|
230
|
+
/**
|
|
231
|
+
*
|
|
232
|
+
* @type {string}
|
|
233
|
+
* @memberof WebhooksApiPostWebhook0
|
|
234
|
+
*/
|
|
235
|
+
readonly productSlug: string
|
|
236
|
+
|
|
224
237
|
/**
|
|
225
238
|
* Accepts a webhook payload. The structure may vary depending on the payment service provider.
|
|
226
239
|
* @type {object}
|
|
227
|
-
* @memberof
|
|
240
|
+
* @memberof WebhooksApiPostWebhook0
|
|
228
241
|
*/
|
|
229
242
|
readonly body: object
|
|
230
243
|
}
|
|
231
244
|
|
|
232
245
|
/**
|
|
233
|
-
* Request parameters for
|
|
246
|
+
* Request parameters for postWebhook1 operation in WebhooksApi.
|
|
234
247
|
* @export
|
|
235
|
-
* @interface
|
|
248
|
+
* @interface WebhooksApiPostWebhook1Request
|
|
236
249
|
*/
|
|
237
|
-
export interface
|
|
250
|
+
export interface WebhooksApiPostWebhook1Request {
|
|
238
251
|
/**
|
|
239
252
|
* The type of the payment service provider (PSP).<br/> <br/> <i>Supported PSP: braintree, stripe, b4u, eis, adyen</i>
|
|
240
253
|
* @type {string}
|
|
241
|
-
* @memberof
|
|
254
|
+
* @memberof WebhooksApiPostWebhook1
|
|
242
255
|
*/
|
|
243
256
|
readonly pspType: string
|
|
244
257
|
|
|
245
258
|
/**
|
|
246
259
|
* Unique slug identifier representing a tenant.
|
|
247
260
|
* @type {string}
|
|
248
|
-
* @memberof
|
|
261
|
+
* @memberof WebhooksApiPostWebhook1
|
|
249
262
|
*/
|
|
250
263
|
readonly tenantSlug: string
|
|
251
264
|
|
|
252
265
|
/**
|
|
253
|
-
*
|
|
266
|
+
*
|
|
254
267
|
* @type {string}
|
|
255
|
-
* @memberof
|
|
268
|
+
* @memberof WebhooksApiPostWebhook1
|
|
256
269
|
*/
|
|
257
270
|
readonly productSlug: string
|
|
258
271
|
|
|
259
272
|
/**
|
|
260
273
|
* Accepts a webhook payload. The structure may vary depending on the payment service provider.
|
|
261
274
|
* @type {object}
|
|
262
|
-
* @memberof
|
|
275
|
+
* @memberof WebhooksApiPostWebhook1
|
|
263
276
|
*/
|
|
264
277
|
readonly body: object
|
|
265
278
|
}
|
|
@@ -274,24 +287,24 @@ export class WebhooksApi extends BaseAPI {
|
|
|
274
287
|
/**
|
|
275
288
|
* This will processes the webhook from external payment service provider. **Required Permissions** none
|
|
276
289
|
* @summary Handle the webhook from PSP
|
|
277
|
-
* @param {
|
|
290
|
+
* @param {WebhooksApiPostWebhook0Request} requestParameters Request parameters.
|
|
278
291
|
* @param {*} [options] Override http request option.
|
|
279
292
|
* @throws {RequiredError}
|
|
280
293
|
* @memberof WebhooksApi
|
|
281
294
|
*/
|
|
282
|
-
public
|
|
283
|
-
return WebhooksApiFp(this.configuration).
|
|
295
|
+
public postWebhook0(requestParameters: WebhooksApiPostWebhook0Request, options?: AxiosRequestConfig) {
|
|
296
|
+
return WebhooksApiFp(this.configuration).postWebhook0(requestParameters.pspType, requestParameters.tenantSlug, requestParameters.productSlug, requestParameters.body, options).then((request) => request(this.axios, this.basePath));
|
|
284
297
|
}
|
|
285
298
|
|
|
286
299
|
/**
|
|
287
300
|
* This will processes the webhook from external payment service provider. **Required Permissions** none
|
|
288
301
|
* @summary Handle the webhook from PSP
|
|
289
|
-
* @param {
|
|
302
|
+
* @param {WebhooksApiPostWebhook1Request} requestParameters Request parameters.
|
|
290
303
|
* @param {*} [options] Override http request option.
|
|
291
304
|
* @throws {RequiredError}
|
|
292
305
|
* @memberof WebhooksApi
|
|
293
306
|
*/
|
|
294
|
-
public
|
|
295
|
-
return WebhooksApiFp(this.configuration).
|
|
307
|
+
public postWebhook1(requestParameters: WebhooksApiPostWebhook1Request, options?: AxiosRequestConfig) {
|
|
308
|
+
return WebhooksApiFp(this.configuration).postWebhook1(requestParameters.pspType, requestParameters.tenantSlug, requestParameters.productSlug, requestParameters.body, options).then((request) => request(this.axios, this.basePath));
|
|
296
309
|
}
|
|
297
310
|
}
|
|
@@ -57,11 +57,11 @@ export declare const PaymentRequestsApiAxiosParamCreator: (configuration?: Confi
|
|
|
57
57
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
58
58
|
* @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
59
59
|
* @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.
|
|
60
|
-
* @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, paymentRequestNumber, status, direction, financialEntityType, domainEntityType, paymentMethodPsp, paymentMethodType, createdAt
|
|
61
|
-
* @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: code, paymentRequestNumber, financialEntityCode, financialEntityNumber, domainEntityCode, domainEntityNumber
|
|
60
|
+
* @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, paymentRequestNumber, status, direction, financialEntityType, domainEntityType, paymentMethodPsp, paymentMethodType, createdAt</i>
|
|
61
|
+
* @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: code, paymentRequestNumber, financialEntityCode, financialEntityNumber, domainEntityCode, domainEntityNumber</i>
|
|
62
62
|
* @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, paymentRequestNumber, financialEntityNumber, domainEntityNumber, createdAt, status</i>
|
|
63
63
|
* @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: paymentReceipts<i>
|
|
64
|
-
* @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, paymentRequestNumber, status, direction, financialEntityType, domainEntityType, paymentMethodPsp, paymentMethodType, createdAt
|
|
64
|
+
* @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, paymentRequestNumber, status, direction, financialEntityType, domainEntityType, paymentMethodPsp, paymentMethodType, createdAt</i>
|
|
65
65
|
* @param {*} [options] Override http request option.
|
|
66
66
|
* @throws {RequiredError}
|
|
67
67
|
*/
|
|
@@ -116,11 +116,11 @@ export declare const PaymentRequestsApiFp: (configuration?: Configuration) => {
|
|
|
116
116
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
117
117
|
* @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
118
118
|
* @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.
|
|
119
|
-
* @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, paymentRequestNumber, status, direction, financialEntityType, domainEntityType, paymentMethodPsp, paymentMethodType, createdAt
|
|
120
|
-
* @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: code, paymentRequestNumber, financialEntityCode, financialEntityNumber, domainEntityCode, domainEntityNumber
|
|
119
|
+
* @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, paymentRequestNumber, status, direction, financialEntityType, domainEntityType, paymentMethodPsp, paymentMethodType, createdAt</i>
|
|
120
|
+
* @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: code, paymentRequestNumber, financialEntityCode, financialEntityNumber, domainEntityCode, domainEntityNumber</i>
|
|
121
121
|
* @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, paymentRequestNumber, financialEntityNumber, domainEntityNumber, createdAt, status</i>
|
|
122
122
|
* @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: paymentReceipts<i>
|
|
123
|
-
* @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, paymentRequestNumber, status, direction, financialEntityType, domainEntityType, paymentMethodPsp, paymentMethodType, createdAt
|
|
123
|
+
* @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, paymentRequestNumber, status, direction, financialEntityType, domainEntityType, paymentMethodPsp, paymentMethodType, createdAt</i>
|
|
124
124
|
* @param {*} [options] Override http request option.
|
|
125
125
|
* @throws {RequiredError}
|
|
126
126
|
*/
|
|
@@ -175,11 +175,11 @@ export declare const PaymentRequestsApiFactory: (configuration?: Configuration,
|
|
|
175
175
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
176
176
|
* @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
177
177
|
* @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.
|
|
178
|
-
* @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, paymentRequestNumber, status, direction, financialEntityType, domainEntityType, paymentMethodPsp, paymentMethodType, createdAt
|
|
179
|
-
* @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: code, paymentRequestNumber, financialEntityCode, financialEntityNumber, domainEntityCode, domainEntityNumber
|
|
178
|
+
* @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, paymentRequestNumber, status, direction, financialEntityType, domainEntityType, paymentMethodPsp, paymentMethodType, createdAt</i>
|
|
179
|
+
* @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: code, paymentRequestNumber, financialEntityCode, financialEntityNumber, domainEntityCode, domainEntityNumber</i>
|
|
180
180
|
* @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, paymentRequestNumber, financialEntityNumber, domainEntityNumber, createdAt, status</i>
|
|
181
181
|
* @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: paymentReceipts<i>
|
|
182
|
-
* @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, paymentRequestNumber, status, direction, financialEntityType, domainEntityType, paymentMethodPsp, paymentMethodType, createdAt
|
|
182
|
+
* @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, paymentRequestNumber, status, direction, financialEntityType, domainEntityType, paymentMethodPsp, paymentMethodType, createdAt</i>
|
|
183
183
|
* @param {*} [options] Override http request option.
|
|
184
184
|
* @throws {RequiredError}
|
|
185
185
|
*/
|
|
@@ -283,13 +283,13 @@ export interface PaymentRequestsApiListPaymentRequestsRequest {
|
|
|
283
283
|
*/
|
|
284
284
|
readonly pageToken?: string;
|
|
285
285
|
/**
|
|
286
|
-
* 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, paymentRequestNumber, status, direction, financialEntityType, domainEntityType, paymentMethodPsp, paymentMethodType, createdAt
|
|
286
|
+
* 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, paymentRequestNumber, status, direction, financialEntityType, domainEntityType, paymentMethodPsp, paymentMethodType, createdAt</i>
|
|
287
287
|
* @type {string}
|
|
288
288
|
* @memberof PaymentRequestsApiListPaymentRequests
|
|
289
289
|
*/
|
|
290
290
|
readonly filter?: string;
|
|
291
291
|
/**
|
|
292
|
-
* Search the response for matches in any searchable field. Use filter instead where possible for improved performance.<br/> <br/> <i>Searchable fields: code, paymentRequestNumber, financialEntityCode, financialEntityNumber, domainEntityCode, domainEntityNumber
|
|
292
|
+
* Search the response for matches in any searchable field. Use filter instead where possible for improved performance.<br/> <br/> <i>Searchable fields: code, paymentRequestNumber, financialEntityCode, financialEntityNumber, domainEntityCode, domainEntityNumber</i>
|
|
293
293
|
* @type {string}
|
|
294
294
|
* @memberof PaymentRequestsApiListPaymentRequests
|
|
295
295
|
*/
|
|
@@ -307,7 +307,7 @@ export interface PaymentRequestsApiListPaymentRequestsRequest {
|
|
|
307
307
|
*/
|
|
308
308
|
readonly expand?: string;
|
|
309
309
|
/**
|
|
310
|
-
* 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, paymentRequestNumber, status, direction, financialEntityType, domainEntityType, paymentMethodPsp, paymentMethodType, createdAt
|
|
310
|
+
* 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, paymentRequestNumber, status, direction, financialEntityType, domainEntityType, paymentMethodPsp, paymentMethodType, createdAt</i>
|
|
311
311
|
* @type {string}
|
|
312
312
|
* @memberof PaymentRequestsApiListPaymentRequests
|
|
313
313
|
*/
|
|
@@ -253,11 +253,11 @@ var PaymentRequestsApiAxiosParamCreator = function (configuration) {
|
|
|
253
253
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
254
254
|
* @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
255
255
|
* @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.
|
|
256
|
-
* @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, paymentRequestNumber, status, direction, financialEntityType, domainEntityType, paymentMethodPsp, paymentMethodType, createdAt
|
|
257
|
-
* @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: code, paymentRequestNumber, financialEntityCode, financialEntityNumber, domainEntityCode, domainEntityNumber
|
|
256
|
+
* @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, paymentRequestNumber, status, direction, financialEntityType, domainEntityType, paymentMethodPsp, paymentMethodType, createdAt</i>
|
|
257
|
+
* @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: code, paymentRequestNumber, financialEntityCode, financialEntityNumber, domainEntityCode, domainEntityNumber</i>
|
|
258
258
|
* @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, paymentRequestNumber, financialEntityNumber, domainEntityNumber, createdAt, status</i>
|
|
259
259
|
* @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: paymentReceipts<i>
|
|
260
|
-
* @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, paymentRequestNumber, status, direction, financialEntityType, domainEntityType, paymentMethodPsp, paymentMethodType, createdAt
|
|
260
|
+
* @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, paymentRequestNumber, status, direction, financialEntityType, domainEntityType, paymentMethodPsp, paymentMethodType, createdAt</i>
|
|
261
261
|
* @param {*} [options] Override http request option.
|
|
262
262
|
* @throws {RequiredError}
|
|
263
263
|
*/
|
|
@@ -452,11 +452,11 @@ var PaymentRequestsApiFp = function (configuration) {
|
|
|
452
452
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
453
453
|
* @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
454
454
|
* @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.
|
|
455
|
-
* @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, paymentRequestNumber, status, direction, financialEntityType, domainEntityType, paymentMethodPsp, paymentMethodType, createdAt
|
|
456
|
-
* @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: code, paymentRequestNumber, financialEntityCode, financialEntityNumber, domainEntityCode, domainEntityNumber
|
|
455
|
+
* @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, paymentRequestNumber, status, direction, financialEntityType, domainEntityType, paymentMethodPsp, paymentMethodType, createdAt</i>
|
|
456
|
+
* @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: code, paymentRequestNumber, financialEntityCode, financialEntityNumber, domainEntityCode, domainEntityNumber</i>
|
|
457
457
|
* @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, paymentRequestNumber, financialEntityNumber, domainEntityNumber, createdAt, status</i>
|
|
458
458
|
* @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: paymentReceipts<i>
|
|
459
|
-
* @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, paymentRequestNumber, status, direction, financialEntityType, domainEntityType, paymentMethodPsp, paymentMethodType, createdAt
|
|
459
|
+
* @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, paymentRequestNumber, status, direction, financialEntityType, domainEntityType, paymentMethodPsp, paymentMethodType, createdAt</i>
|
|
460
460
|
* @param {*} [options] Override http request option.
|
|
461
461
|
* @throws {RequiredError}
|
|
462
462
|
*/
|
|
@@ -545,11 +545,11 @@ var PaymentRequestsApiFactory = function (configuration, basePath, axios) {
|
|
|
545
545
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
546
546
|
* @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
547
547
|
* @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.
|
|
548
|
-
* @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, paymentRequestNumber, status, direction, financialEntityType, domainEntityType, paymentMethodPsp, paymentMethodType, createdAt
|
|
549
|
-
* @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: code, paymentRequestNumber, financialEntityCode, financialEntityNumber, domainEntityCode, domainEntityNumber
|
|
548
|
+
* @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, paymentRequestNumber, status, direction, financialEntityType, domainEntityType, paymentMethodPsp, paymentMethodType, createdAt</i>
|
|
549
|
+
* @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: code, paymentRequestNumber, financialEntityCode, financialEntityNumber, domainEntityCode, domainEntityNumber</i>
|
|
550
550
|
* @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, paymentRequestNumber, financialEntityNumber, domainEntityNumber, createdAt, status</i>
|
|
551
551
|
* @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: paymentReceipts<i>
|
|
552
|
-
* @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, paymentRequestNumber, status, direction, financialEntityType, domainEntityType, paymentMethodPsp, paymentMethodType, createdAt
|
|
552
|
+
* @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, paymentRequestNumber, status, direction, financialEntityType, domainEntityType, paymentMethodPsp, paymentMethodType, createdAt</i>
|
|
553
553
|
* @param {*} [options] Override http request option.
|
|
554
554
|
* @throws {RequiredError}
|
|
555
555
|
*/
|