@emilgroup/payment-sdk 1.13.1-beta.98 → 1.14.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.openapi-generator/FILES +1 -0
- package/README.md +2 -2
- package/api/bank-orders-api.ts +12 -12
- package/api/payments-api.ts +4 -8
- package/dist/api/bank-orders-api.d.ts +12 -12
- package/dist/api/bank-orders-api.js +10 -10
- package/dist/api/payments-api.d.ts +4 -8
- package/dist/api/payments-api.js +4 -8
- package/dist/models/bank-order-class.d.ts +7 -0
- package/dist/models/bank-order-xml-file-class.d.ts +72 -0
- package/dist/models/bank-order-xml-file-class.js +15 -0
- package/dist/models/index.d.ts +1 -0
- package/dist/models/index.js +1 -0
- package/models/bank-order-class.ts +7 -0
- package/models/bank-order-xml-file-class.ts +78 -0
- package/models/index.ts +1 -0
- package/package.json +1 -1
package/.openapi-generator/FILES
CHANGED
|
@@ -24,6 +24,7 @@ index.ts
|
|
|
24
24
|
models/bank-account-class-without-expand-properties.ts
|
|
25
25
|
models/bank-account-class.ts
|
|
26
26
|
models/bank-order-class.ts
|
|
27
|
+
models/bank-order-xml-file-class.ts
|
|
27
28
|
models/bank-transaction-class-without-expand-properties.ts
|
|
28
29
|
models/bank-transaction-class.ts
|
|
29
30
|
models/bank-transaction-invoice-class.ts
|
package/README.md
CHANGED
|
@@ -17,11 +17,11 @@ Although this package can be used in both TypeScript and JavaScript, it is inten
|
|
|
17
17
|
Navigate to the folder of your consuming project and run one of the following commands:
|
|
18
18
|
|
|
19
19
|
```
|
|
20
|
-
npm install @emilgroup/payment-sdk@1.
|
|
20
|
+
npm install @emilgroup/payment-sdk@1.14.0 --save
|
|
21
21
|
```
|
|
22
22
|
or
|
|
23
23
|
```
|
|
24
|
-
yarn add @emilgroup/payment-sdk@1.
|
|
24
|
+
yarn add @emilgroup/payment-sdk@1.14.0
|
|
25
25
|
```
|
|
26
26
|
|
|
27
27
|
And then you can import `PaymentsApi`.
|
package/api/bank-orders-api.ts
CHANGED
|
@@ -39,7 +39,7 @@ import { UpdateBankOrderResponseClass } from '../models';
|
|
|
39
39
|
export const BankOrdersApiAxiosParamCreator = function (configuration?: Configuration) {
|
|
40
40
|
return {
|
|
41
41
|
/**
|
|
42
|
-
* This will create a bank order. **Required Permissions** \"payment-management.bank-orders.create\", \"accounting-management.
|
|
42
|
+
* This will create a bank order. **Required Permissions** \"payment-management.bank-orders.create\", \"accounting-management.financial-accounts.view\", \"billing-management.invoices.view\"
|
|
43
43
|
* @summary Create the bank order
|
|
44
44
|
* @param {CreateBankOrderRequestDto} createBankOrderRequestDto
|
|
45
45
|
* @param {string} [authorization] Bearer Token
|
|
@@ -135,7 +135,7 @@ export const BankOrdersApiAxiosParamCreator = function (configuration?: Configur
|
|
|
135
135
|
* @summary Retrieve the bank order
|
|
136
136
|
* @param {string} code
|
|
137
137
|
* @param {string} [authorization] Bearer Token
|
|
138
|
-
* @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: financialAccount<i>
|
|
138
|
+
* @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: financialAccount, xmlFile<i>
|
|
139
139
|
* @param {*} [options] Override http request option.
|
|
140
140
|
* @throws {RequiredError}
|
|
141
141
|
*/
|
|
@@ -189,7 +189,7 @@ export const BankOrdersApiAxiosParamCreator = function (configuration?: Configur
|
|
|
189
189
|
* @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, orderNumber, status, type, financialAccountCode</i>
|
|
190
190
|
* @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, description, orderNumber, financialAccountCode</i>
|
|
191
191
|
* @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, executionDate, dueDate, orderNumber, financialAccountCode, amount, createdAt, updatedAt</i>
|
|
192
|
-
* @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: financialAccount<i>
|
|
192
|
+
* @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: financialAccount, xmlFile<i>
|
|
193
193
|
* @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, orderNumber, status, type, financialAccountCode</i>
|
|
194
194
|
* @param {*} [options] Override http request option.
|
|
195
195
|
* @throws {RequiredError}
|
|
@@ -318,7 +318,7 @@ export const BankOrdersApiFp = function(configuration?: Configuration) {
|
|
|
318
318
|
const localVarAxiosParamCreator = BankOrdersApiAxiosParamCreator(configuration)
|
|
319
319
|
return {
|
|
320
320
|
/**
|
|
321
|
-
* This will create a bank order. **Required Permissions** \"payment-management.bank-orders.create\", \"accounting-management.
|
|
321
|
+
* This will create a bank order. **Required Permissions** \"payment-management.bank-orders.create\", \"accounting-management.financial-accounts.view\", \"billing-management.invoices.view\"
|
|
322
322
|
* @summary Create the bank order
|
|
323
323
|
* @param {CreateBankOrderRequestDto} createBankOrderRequestDto
|
|
324
324
|
* @param {string} [authorization] Bearer Token
|
|
@@ -346,7 +346,7 @@ export const BankOrdersApiFp = function(configuration?: Configuration) {
|
|
|
346
346
|
* @summary Retrieve the bank order
|
|
347
347
|
* @param {string} code
|
|
348
348
|
* @param {string} [authorization] Bearer Token
|
|
349
|
-
* @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: financialAccount<i>
|
|
349
|
+
* @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: financialAccount, xmlFile<i>
|
|
350
350
|
* @param {*} [options] Override http request option.
|
|
351
351
|
* @throws {RequiredError}
|
|
352
352
|
*/
|
|
@@ -363,7 +363,7 @@ export const BankOrdersApiFp = function(configuration?: Configuration) {
|
|
|
363
363
|
* @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, orderNumber, status, type, financialAccountCode</i>
|
|
364
364
|
* @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, description, orderNumber, financialAccountCode</i>
|
|
365
365
|
* @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, executionDate, dueDate, orderNumber, financialAccountCode, amount, createdAt, updatedAt</i>
|
|
366
|
-
* @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: financialAccount<i>
|
|
366
|
+
* @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: financialAccount, xmlFile<i>
|
|
367
367
|
* @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, orderNumber, status, type, financialAccountCode</i>
|
|
368
368
|
* @param {*} [options] Override http request option.
|
|
369
369
|
* @throws {RequiredError}
|
|
@@ -396,7 +396,7 @@ export const BankOrdersApiFactory = function (configuration?: Configuration, bas
|
|
|
396
396
|
const localVarFp = BankOrdersApiFp(configuration)
|
|
397
397
|
return {
|
|
398
398
|
/**
|
|
399
|
-
* This will create a bank order. **Required Permissions** \"payment-management.bank-orders.create\", \"accounting-management.
|
|
399
|
+
* This will create a bank order. **Required Permissions** \"payment-management.bank-orders.create\", \"accounting-management.financial-accounts.view\", \"billing-management.invoices.view\"
|
|
400
400
|
* @summary Create the bank order
|
|
401
401
|
* @param {CreateBankOrderRequestDto} createBankOrderRequestDto
|
|
402
402
|
* @param {string} [authorization] Bearer Token
|
|
@@ -422,7 +422,7 @@ export const BankOrdersApiFactory = function (configuration?: Configuration, bas
|
|
|
422
422
|
* @summary Retrieve the bank order
|
|
423
423
|
* @param {string} code
|
|
424
424
|
* @param {string} [authorization] Bearer Token
|
|
425
|
-
* @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: financialAccount<i>
|
|
425
|
+
* @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: financialAccount, xmlFile<i>
|
|
426
426
|
* @param {*} [options] Override http request option.
|
|
427
427
|
* @throws {RequiredError}
|
|
428
428
|
*/
|
|
@@ -438,7 +438,7 @@ export const BankOrdersApiFactory = function (configuration?: Configuration, bas
|
|
|
438
438
|
* @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, orderNumber, status, type, financialAccountCode</i>
|
|
439
439
|
* @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, description, orderNumber, financialAccountCode</i>
|
|
440
440
|
* @param {string} [order] Order allows you to specify the desired order of entities retrieved from the server by ascending (ASC) or descending (DESC) order.<br/> <br/> <i>Allowed values: id, executionDate, dueDate, orderNumber, financialAccountCode, amount, createdAt, updatedAt</i>
|
|
441
|
-
* @param {string} [expand] Expand to fetch additional information about the list items. Expanding resources can reduce the number of API calls required to accomplish a task. Use with discretion as some expanded fields can drastically increase payload size.<br/> <br/> <i>Allowed values: financialAccount<i>
|
|
441
|
+
* @param {string} [expand] Expand to fetch additional information about the list items. Expanding resources can reduce the number of API calls required to accomplish a task. Use with discretion as some expanded fields can drastically increase payload size.<br/> <br/> <i>Allowed values: financialAccount, xmlFile<i>
|
|
442
442
|
* @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, orderNumber, status, type, financialAccountCode</i>
|
|
443
443
|
* @param {*} [options] Override http request option.
|
|
444
444
|
* @throws {RequiredError}
|
|
@@ -524,7 +524,7 @@ export interface BankOrdersApiGetBankOrderRequest {
|
|
|
524
524
|
readonly authorization?: string
|
|
525
525
|
|
|
526
526
|
/**
|
|
527
|
-
* 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: financialAccount<i>
|
|
527
|
+
* 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: financialAccount, xmlFile<i>
|
|
528
528
|
* @type {string}
|
|
529
529
|
* @memberof BankOrdersApiGetBankOrder
|
|
530
530
|
*/
|
|
@@ -580,7 +580,7 @@ export interface BankOrdersApiListBankOrdersRequest {
|
|
|
580
580
|
readonly order?: string
|
|
581
581
|
|
|
582
582
|
/**
|
|
583
|
-
* 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: financialAccount<i>
|
|
583
|
+
* 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: financialAccount, xmlFile<i>
|
|
584
584
|
* @type {string}
|
|
585
585
|
* @memberof BankOrdersApiListBankOrders
|
|
586
586
|
*/
|
|
@@ -630,7 +630,7 @@ export interface BankOrdersApiUpdateBankOrderRequest {
|
|
|
630
630
|
*/
|
|
631
631
|
export class BankOrdersApi extends BaseAPI {
|
|
632
632
|
/**
|
|
633
|
-
* This will create a bank order. **Required Permissions** \"payment-management.bank-orders.create\", \"accounting-management.
|
|
633
|
+
* This will create a bank order. **Required Permissions** \"payment-management.bank-orders.create\", \"accounting-management.financial-accounts.view\", \"billing-management.invoices.view\"
|
|
634
634
|
* @summary Create the bank order
|
|
635
635
|
* @param {BankOrdersApiCreateBankOrderRequest} requestParameters Request parameters.
|
|
636
636
|
* @param {*} [options] Override http request option.
|
package/api/payments-api.ts
CHANGED
|
@@ -37,13 +37,12 @@ import { ListPaymentsResponseClass } from '../models';
|
|
|
37
37
|
export const PaymentsApiAxiosParamCreator = function (configuration?: Configuration) {
|
|
38
38
|
return {
|
|
39
39
|
/**
|
|
40
|
-
* This will create a payment for a specified account. This function is idempotent.
|
|
40
|
+
* This will create a payment for a specified account. This function is idempotent. **Required Permissions** \"payment-management.payments.create\"
|
|
41
41
|
* @summary Create the payment
|
|
42
42
|
* @param {string} idempotencyKey Idempotency Key used to make the request idempotent. The key should be unique. Usually, a generated v4 UUID is enough.
|
|
43
43
|
* @param {CreatePaymentRequestDto} createPaymentRequestDto
|
|
44
44
|
* @param {string} [authorization] Bearer Token
|
|
45
45
|
* @param {*} [options] Override http request option.
|
|
46
|
-
* @deprecated
|
|
47
46
|
* @throws {RequiredError}
|
|
48
47
|
*/
|
|
49
48
|
createPayment: async (idempotencyKey: string, createPaymentRequestDto: CreatePaymentRequestDto, authorization?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
@@ -282,13 +281,12 @@ export const PaymentsApiFp = function(configuration?: Configuration) {
|
|
|
282
281
|
const localVarAxiosParamCreator = PaymentsApiAxiosParamCreator(configuration)
|
|
283
282
|
return {
|
|
284
283
|
/**
|
|
285
|
-
* This will create a payment for a specified account. This function is idempotent.
|
|
284
|
+
* This will create a payment for a specified account. This function is idempotent. **Required Permissions** \"payment-management.payments.create\"
|
|
286
285
|
* @summary Create the payment
|
|
287
286
|
* @param {string} idempotencyKey Idempotency Key used to make the request idempotent. The key should be unique. Usually, a generated v4 UUID is enough.
|
|
288
287
|
* @param {CreatePaymentRequestDto} createPaymentRequestDto
|
|
289
288
|
* @param {string} [authorization] Bearer Token
|
|
290
289
|
* @param {*} [options] Override http request option.
|
|
291
|
-
* @deprecated
|
|
292
290
|
* @throws {RequiredError}
|
|
293
291
|
*/
|
|
294
292
|
async createPayment(idempotencyKey: string, createPaymentRequestDto: CreatePaymentRequestDto, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CreatePaymentResponseClass>> {
|
|
@@ -350,13 +348,12 @@ export const PaymentsApiFactory = function (configuration?: Configuration, baseP
|
|
|
350
348
|
const localVarFp = PaymentsApiFp(configuration)
|
|
351
349
|
return {
|
|
352
350
|
/**
|
|
353
|
-
* This will create a payment for a specified account. This function is idempotent.
|
|
351
|
+
* This will create a payment for a specified account. This function is idempotent. **Required Permissions** \"payment-management.payments.create\"
|
|
354
352
|
* @summary Create the payment
|
|
355
353
|
* @param {string} idempotencyKey Idempotency Key used to make the request idempotent. The key should be unique. Usually, a generated v4 UUID is enough.
|
|
356
354
|
* @param {CreatePaymentRequestDto} createPaymentRequestDto
|
|
357
355
|
* @param {string} [authorization] Bearer Token
|
|
358
356
|
* @param {*} [options] Override http request option.
|
|
359
|
-
* @deprecated
|
|
360
357
|
* @throws {RequiredError}
|
|
361
358
|
*/
|
|
362
359
|
createPayment(idempotencyKey: string, createPaymentRequestDto: CreatePaymentRequestDto, authorization?: string, options?: any): AxiosPromise<CreatePaymentResponseClass> {
|
|
@@ -561,11 +558,10 @@ export interface PaymentsApiListPaymentsRequest {
|
|
|
561
558
|
*/
|
|
562
559
|
export class PaymentsApi extends BaseAPI {
|
|
563
560
|
/**
|
|
564
|
-
* This will create a payment for a specified account. This function is idempotent.
|
|
561
|
+
* This will create a payment for a specified account. This function is idempotent. **Required Permissions** \"payment-management.payments.create\"
|
|
565
562
|
* @summary Create the payment
|
|
566
563
|
* @param {PaymentsApiCreatePaymentRequest} requestParameters Request parameters.
|
|
567
564
|
* @param {*} [options] Override http request option.
|
|
568
|
-
* @deprecated
|
|
569
565
|
* @throws {RequiredError}
|
|
570
566
|
* @memberof PaymentsApi
|
|
571
567
|
*/
|
|
@@ -24,7 +24,7 @@ import { UpdateBankOrderResponseClass } from '../models';
|
|
|
24
24
|
*/
|
|
25
25
|
export declare const BankOrdersApiAxiosParamCreator: (configuration?: Configuration) => {
|
|
26
26
|
/**
|
|
27
|
-
* This will create a bank order. **Required Permissions** \"payment-management.bank-orders.create\", \"accounting-management.
|
|
27
|
+
* This will create a bank order. **Required Permissions** \"payment-management.bank-orders.create\", \"accounting-management.financial-accounts.view\", \"billing-management.invoices.view\"
|
|
28
28
|
* @summary Create the bank order
|
|
29
29
|
* @param {CreateBankOrderRequestDto} createBankOrderRequestDto
|
|
30
30
|
* @param {string} [authorization] Bearer Token
|
|
@@ -46,7 +46,7 @@ export declare const BankOrdersApiAxiosParamCreator: (configuration?: Configurat
|
|
|
46
46
|
* @summary Retrieve the bank order
|
|
47
47
|
* @param {string} code
|
|
48
48
|
* @param {string} [authorization] Bearer Token
|
|
49
|
-
* @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: financialAccount<i>
|
|
49
|
+
* @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: financialAccount, xmlFile<i>
|
|
50
50
|
* @param {*} [options] Override http request option.
|
|
51
51
|
* @throws {RequiredError}
|
|
52
52
|
*/
|
|
@@ -60,7 +60,7 @@ export declare const BankOrdersApiAxiosParamCreator: (configuration?: Configurat
|
|
|
60
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, orderNumber, status, type, financialAccountCode</i>
|
|
61
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, description, orderNumber, financialAccountCode</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, executionDate, dueDate, orderNumber, financialAccountCode, amount, createdAt, updatedAt</i>
|
|
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: financialAccount<i>
|
|
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: financialAccount, xmlFile<i>
|
|
64
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, orderNumber, status, type, financialAccountCode</i>
|
|
65
65
|
* @param {*} [options] Override http request option.
|
|
66
66
|
* @throws {RequiredError}
|
|
@@ -83,7 +83,7 @@ export declare const BankOrdersApiAxiosParamCreator: (configuration?: Configurat
|
|
|
83
83
|
*/
|
|
84
84
|
export declare const BankOrdersApiFp: (configuration?: Configuration) => {
|
|
85
85
|
/**
|
|
86
|
-
* This will create a bank order. **Required Permissions** \"payment-management.bank-orders.create\", \"accounting-management.
|
|
86
|
+
* This will create a bank order. **Required Permissions** \"payment-management.bank-orders.create\", \"accounting-management.financial-accounts.view\", \"billing-management.invoices.view\"
|
|
87
87
|
* @summary Create the bank order
|
|
88
88
|
* @param {CreateBankOrderRequestDto} createBankOrderRequestDto
|
|
89
89
|
* @param {string} [authorization] Bearer Token
|
|
@@ -105,7 +105,7 @@ export declare const BankOrdersApiFp: (configuration?: Configuration) => {
|
|
|
105
105
|
* @summary Retrieve the bank order
|
|
106
106
|
* @param {string} code
|
|
107
107
|
* @param {string} [authorization] Bearer Token
|
|
108
|
-
* @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: financialAccount<i>
|
|
108
|
+
* @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: financialAccount, xmlFile<i>
|
|
109
109
|
* @param {*} [options] Override http request option.
|
|
110
110
|
* @throws {RequiredError}
|
|
111
111
|
*/
|
|
@@ -119,7 +119,7 @@ export declare const BankOrdersApiFp: (configuration?: Configuration) => {
|
|
|
119
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, orderNumber, status, type, financialAccountCode</i>
|
|
120
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, description, orderNumber, financialAccountCode</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, executionDate, dueDate, orderNumber, financialAccountCode, amount, createdAt, updatedAt</i>
|
|
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: financialAccount<i>
|
|
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: financialAccount, xmlFile<i>
|
|
123
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, orderNumber, status, type, financialAccountCode</i>
|
|
124
124
|
* @param {*} [options] Override http request option.
|
|
125
125
|
* @throws {RequiredError}
|
|
@@ -142,7 +142,7 @@ export declare const BankOrdersApiFp: (configuration?: Configuration) => {
|
|
|
142
142
|
*/
|
|
143
143
|
export declare const BankOrdersApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
|
|
144
144
|
/**
|
|
145
|
-
* This will create a bank order. **Required Permissions** \"payment-management.bank-orders.create\", \"accounting-management.
|
|
145
|
+
* This will create a bank order. **Required Permissions** \"payment-management.bank-orders.create\", \"accounting-management.financial-accounts.view\", \"billing-management.invoices.view\"
|
|
146
146
|
* @summary Create the bank order
|
|
147
147
|
* @param {CreateBankOrderRequestDto} createBankOrderRequestDto
|
|
148
148
|
* @param {string} [authorization] Bearer Token
|
|
@@ -164,7 +164,7 @@ export declare const BankOrdersApiFactory: (configuration?: Configuration, baseP
|
|
|
164
164
|
* @summary Retrieve the bank order
|
|
165
165
|
* @param {string} code
|
|
166
166
|
* @param {string} [authorization] Bearer Token
|
|
167
|
-
* @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: financialAccount<i>
|
|
167
|
+
* @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: financialAccount, xmlFile<i>
|
|
168
168
|
* @param {*} [options] Override http request option.
|
|
169
169
|
* @throws {RequiredError}
|
|
170
170
|
*/
|
|
@@ -178,7 +178,7 @@ export declare const BankOrdersApiFactory: (configuration?: Configuration, baseP
|
|
|
178
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, orderNumber, status, type, financialAccountCode</i>
|
|
179
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, description, orderNumber, financialAccountCode</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, executionDate, dueDate, orderNumber, financialAccountCode, amount, createdAt, updatedAt</i>
|
|
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: financialAccount<i>
|
|
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: financialAccount, xmlFile<i>
|
|
182
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, orderNumber, status, type, financialAccountCode</i>
|
|
183
183
|
* @param {*} [options] Override http request option.
|
|
184
184
|
* @throws {RequiredError}
|
|
@@ -252,7 +252,7 @@ export interface BankOrdersApiGetBankOrderRequest {
|
|
|
252
252
|
*/
|
|
253
253
|
readonly authorization?: string;
|
|
254
254
|
/**
|
|
255
|
-
* 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: financialAccount<i>
|
|
255
|
+
* 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: financialAccount, xmlFile<i>
|
|
256
256
|
* @type {string}
|
|
257
257
|
* @memberof BankOrdersApiGetBankOrder
|
|
258
258
|
*/
|
|
@@ -301,7 +301,7 @@ export interface BankOrdersApiListBankOrdersRequest {
|
|
|
301
301
|
*/
|
|
302
302
|
readonly order?: string;
|
|
303
303
|
/**
|
|
304
|
-
* 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: financialAccount<i>
|
|
304
|
+
* 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: financialAccount, xmlFile<i>
|
|
305
305
|
* @type {string}
|
|
306
306
|
* @memberof BankOrdersApiListBankOrders
|
|
307
307
|
*/
|
|
@@ -346,7 +346,7 @@ export interface BankOrdersApiUpdateBankOrderRequest {
|
|
|
346
346
|
*/
|
|
347
347
|
export declare class BankOrdersApi extends BaseAPI {
|
|
348
348
|
/**
|
|
349
|
-
* This will create a bank order. **Required Permissions** \"payment-management.bank-orders.create\", \"accounting-management.
|
|
349
|
+
* This will create a bank order. **Required Permissions** \"payment-management.bank-orders.create\", \"accounting-management.financial-accounts.view\", \"billing-management.invoices.view\"
|
|
350
350
|
* @summary Create the bank order
|
|
351
351
|
* @param {BankOrdersApiCreateBankOrderRequest} requestParameters Request parameters.
|
|
352
352
|
* @param {*} [options] Override http request option.
|
|
@@ -93,7 +93,7 @@ var BankOrdersApiAxiosParamCreator = function (configuration) {
|
|
|
93
93
|
var _this = this;
|
|
94
94
|
return {
|
|
95
95
|
/**
|
|
96
|
-
* This will create a bank order. **Required Permissions** \"payment-management.bank-orders.create\", \"accounting-management.
|
|
96
|
+
* This will create a bank order. **Required Permissions** \"payment-management.bank-orders.create\", \"accounting-management.financial-accounts.view\", \"billing-management.invoices.view\"
|
|
97
97
|
* @summary Create the bank order
|
|
98
98
|
* @param {CreateBankOrderRequestDto} createBankOrderRequestDto
|
|
99
99
|
* @param {string} [authorization] Bearer Token
|
|
@@ -194,7 +194,7 @@ var BankOrdersApiAxiosParamCreator = function (configuration) {
|
|
|
194
194
|
* @summary Retrieve the bank order
|
|
195
195
|
* @param {string} code
|
|
196
196
|
* @param {string} [authorization] Bearer Token
|
|
197
|
-
* @param {string} [expand] Expand to fetch additional information about the list items. Expanding resources can reduce the number of API calls required to accomplish a task. Use with discretion as some expanded fields can drastically increase payload size.<br/> <br/> <i>Allowed values: financialAccount<i>
|
|
197
|
+
* @param {string} [expand] Expand to fetch additional information about the list items. Expanding resources can reduce the number of API calls required to accomplish a task. Use with discretion as some expanded fields can drastically increase payload size.<br/> <br/> <i>Allowed values: financialAccount, xmlFile<i>
|
|
198
198
|
* @param {*} [options] Override http request option.
|
|
199
199
|
* @throws {RequiredError}
|
|
200
200
|
*/
|
|
@@ -250,7 +250,7 @@ var BankOrdersApiAxiosParamCreator = function (configuration) {
|
|
|
250
250
|
* @param {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.<br/> <br/> <i>Allowed values: id, code, orderNumber, status, type, financialAccountCode</i>
|
|
251
251
|
* @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, description, orderNumber, financialAccountCode</i>
|
|
252
252
|
* @param {string} [order] Order allows you to specify the desired order of entities retrieved from the server by ascending (ASC) or descending (DESC) order.<br/> <br/> <i>Allowed values: id, executionDate, dueDate, orderNumber, financialAccountCode, amount, createdAt, updatedAt</i>
|
|
253
|
-
* @param {string} [expand] Expand to fetch additional information about the list items. Expanding resources can reduce the number of API calls required to accomplish a task. Use with discretion as some expanded fields can drastically increase payload size.<br/> <br/> <i>Allowed values: financialAccount<i>
|
|
253
|
+
* @param {string} [expand] Expand to fetch additional information about the list items. Expanding resources can reduce the number of API calls required to accomplish a task. Use with discretion as some expanded fields can drastically increase payload size.<br/> <br/> <i>Allowed values: financialAccount, xmlFile<i>
|
|
254
254
|
* @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, orderNumber, status, type, financialAccountCode</i>
|
|
255
255
|
* @param {*} [options] Override http request option.
|
|
256
256
|
* @throws {RequiredError}
|
|
@@ -377,7 +377,7 @@ var BankOrdersApiFp = function (configuration) {
|
|
|
377
377
|
var localVarAxiosParamCreator = (0, exports.BankOrdersApiAxiosParamCreator)(configuration);
|
|
378
378
|
return {
|
|
379
379
|
/**
|
|
380
|
-
* This will create a bank order. **Required Permissions** \"payment-management.bank-orders.create\", \"accounting-management.
|
|
380
|
+
* This will create a bank order. **Required Permissions** \"payment-management.bank-orders.create\", \"accounting-management.financial-accounts.view\", \"billing-management.invoices.view\"
|
|
381
381
|
* @summary Create the bank order
|
|
382
382
|
* @param {CreateBankOrderRequestDto} createBankOrderRequestDto
|
|
383
383
|
* @param {string} [authorization] Bearer Token
|
|
@@ -423,7 +423,7 @@ var BankOrdersApiFp = function (configuration) {
|
|
|
423
423
|
* @summary Retrieve the bank order
|
|
424
424
|
* @param {string} code
|
|
425
425
|
* @param {string} [authorization] Bearer Token
|
|
426
|
-
* @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: financialAccount<i>
|
|
426
|
+
* @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: financialAccount, xmlFile<i>
|
|
427
427
|
* @param {*} [options] Override http request option.
|
|
428
428
|
* @throws {RequiredError}
|
|
429
429
|
*/
|
|
@@ -449,7 +449,7 @@ var BankOrdersApiFp = function (configuration) {
|
|
|
449
449
|
* @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, orderNumber, status, type, financialAccountCode</i>
|
|
450
450
|
* @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, description, orderNumber, financialAccountCode</i>
|
|
451
451
|
* @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, executionDate, dueDate, orderNumber, financialAccountCode, amount, createdAt, updatedAt</i>
|
|
452
|
-
* @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: financialAccount<i>
|
|
452
|
+
* @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: financialAccount, xmlFile<i>
|
|
453
453
|
* @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, orderNumber, status, type, financialAccountCode</i>
|
|
454
454
|
* @param {*} [options] Override http request option.
|
|
455
455
|
* @throws {RequiredError}
|
|
@@ -500,7 +500,7 @@ var BankOrdersApiFactory = function (configuration, basePath, axios) {
|
|
|
500
500
|
var localVarFp = (0, exports.BankOrdersApiFp)(configuration);
|
|
501
501
|
return {
|
|
502
502
|
/**
|
|
503
|
-
* This will create a bank order. **Required Permissions** \"payment-management.bank-orders.create\", \"accounting-management.
|
|
503
|
+
* This will create a bank order. **Required Permissions** \"payment-management.bank-orders.create\", \"accounting-management.financial-accounts.view\", \"billing-management.invoices.view\"
|
|
504
504
|
* @summary Create the bank order
|
|
505
505
|
* @param {CreateBankOrderRequestDto} createBankOrderRequestDto
|
|
506
506
|
* @param {string} [authorization] Bearer Token
|
|
@@ -526,7 +526,7 @@ var BankOrdersApiFactory = function (configuration, basePath, axios) {
|
|
|
526
526
|
* @summary Retrieve the bank order
|
|
527
527
|
* @param {string} code
|
|
528
528
|
* @param {string} [authorization] Bearer Token
|
|
529
|
-
* @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: financialAccount<i>
|
|
529
|
+
* @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: financialAccount, xmlFile<i>
|
|
530
530
|
* @param {*} [options] Override http request option.
|
|
531
531
|
* @throws {RequiredError}
|
|
532
532
|
*/
|
|
@@ -542,7 +542,7 @@ var BankOrdersApiFactory = function (configuration, basePath, axios) {
|
|
|
542
542
|
* @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, orderNumber, status, type, financialAccountCode</i>
|
|
543
543
|
* @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, description, orderNumber, financialAccountCode</i>
|
|
544
544
|
* @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, executionDate, dueDate, orderNumber, financialAccountCode, amount, createdAt, updatedAt</i>
|
|
545
|
-
* @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: financialAccount<i>
|
|
545
|
+
* @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: financialAccount, xmlFile<i>
|
|
546
546
|
* @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, orderNumber, status, type, financialAccountCode</i>
|
|
547
547
|
* @param {*} [options] Override http request option.
|
|
548
548
|
* @throws {RequiredError}
|
|
@@ -577,7 +577,7 @@ var BankOrdersApi = /** @class */ (function (_super) {
|
|
|
577
577
|
return _super !== null && _super.apply(this, arguments) || this;
|
|
578
578
|
}
|
|
579
579
|
/**
|
|
580
|
-
* This will create a bank order. **Required Permissions** \"payment-management.bank-orders.create\", \"accounting-management.
|
|
580
|
+
* This will create a bank order. **Required Permissions** \"payment-management.bank-orders.create\", \"accounting-management.financial-accounts.view\", \"billing-management.invoices.view\"
|
|
581
581
|
* @summary Create the bank order
|
|
582
582
|
* @param {BankOrdersApiCreateBankOrderRequest} requestParameters Request parameters.
|
|
583
583
|
* @param {*} [options] Override http request option.
|
|
@@ -23,13 +23,12 @@ import { ListPaymentsResponseClass } from '../models';
|
|
|
23
23
|
*/
|
|
24
24
|
export declare const PaymentsApiAxiosParamCreator: (configuration?: Configuration) => {
|
|
25
25
|
/**
|
|
26
|
-
* This will create a payment for a specified account. This function is idempotent.
|
|
26
|
+
* This will create a payment for a specified account. This function is idempotent. **Required Permissions** \"payment-management.payments.create\"
|
|
27
27
|
* @summary Create the payment
|
|
28
28
|
* @param {string} idempotencyKey Idempotency Key used to make the request idempotent. The key should be unique. Usually, a generated v4 UUID is enough.
|
|
29
29
|
* @param {CreatePaymentRequestDto} createPaymentRequestDto
|
|
30
30
|
* @param {string} [authorization] Bearer Token
|
|
31
31
|
* @param {*} [options] Override http request option.
|
|
32
|
-
* @deprecated
|
|
33
32
|
* @throws {RequiredError}
|
|
34
33
|
*/
|
|
35
34
|
createPayment: (idempotencyKey: string, createPaymentRequestDto: CreatePaymentRequestDto, authorization?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
@@ -75,13 +74,12 @@ export declare const PaymentsApiAxiosParamCreator: (configuration?: Configuratio
|
|
|
75
74
|
*/
|
|
76
75
|
export declare const PaymentsApiFp: (configuration?: Configuration) => {
|
|
77
76
|
/**
|
|
78
|
-
* This will create a payment for a specified account. This function is idempotent.
|
|
77
|
+
* This will create a payment for a specified account. This function is idempotent. **Required Permissions** \"payment-management.payments.create\"
|
|
79
78
|
* @summary Create the payment
|
|
80
79
|
* @param {string} idempotencyKey Idempotency Key used to make the request idempotent. The key should be unique. Usually, a generated v4 UUID is enough.
|
|
81
80
|
* @param {CreatePaymentRequestDto} createPaymentRequestDto
|
|
82
81
|
* @param {string} [authorization] Bearer Token
|
|
83
82
|
* @param {*} [options] Override http request option.
|
|
84
|
-
* @deprecated
|
|
85
83
|
* @throws {RequiredError}
|
|
86
84
|
*/
|
|
87
85
|
createPayment(idempotencyKey: string, createPaymentRequestDto: CreatePaymentRequestDto, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CreatePaymentResponseClass>>;
|
|
@@ -127,13 +125,12 @@ export declare const PaymentsApiFp: (configuration?: Configuration) => {
|
|
|
127
125
|
*/
|
|
128
126
|
export declare const PaymentsApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
|
|
129
127
|
/**
|
|
130
|
-
* This will create a payment for a specified account. This function is idempotent.
|
|
128
|
+
* This will create a payment for a specified account. This function is idempotent. **Required Permissions** \"payment-management.payments.create\"
|
|
131
129
|
* @summary Create the payment
|
|
132
130
|
* @param {string} idempotencyKey Idempotency Key used to make the request idempotent. The key should be unique. Usually, a generated v4 UUID is enough.
|
|
133
131
|
* @param {CreatePaymentRequestDto} createPaymentRequestDto
|
|
134
132
|
* @param {string} [authorization] Bearer Token
|
|
135
133
|
* @param {*} [options] Override http request option.
|
|
136
|
-
* @deprecated
|
|
137
134
|
* @throws {RequiredError}
|
|
138
135
|
*/
|
|
139
136
|
createPayment(idempotencyKey: string, createPaymentRequestDto: CreatePaymentRequestDto, authorization?: string, options?: any): AxiosPromise<CreatePaymentResponseClass>;
|
|
@@ -311,11 +308,10 @@ export interface PaymentsApiListPaymentsRequest {
|
|
|
311
308
|
*/
|
|
312
309
|
export declare class PaymentsApi extends BaseAPI {
|
|
313
310
|
/**
|
|
314
|
-
* This will create a payment for a specified account. This function is idempotent.
|
|
311
|
+
* This will create a payment for a specified account. This function is idempotent. **Required Permissions** \"payment-management.payments.create\"
|
|
315
312
|
* @summary Create the payment
|
|
316
313
|
* @param {PaymentsApiCreatePaymentRequest} requestParameters Request parameters.
|
|
317
314
|
* @param {*} [options] Override http request option.
|
|
318
|
-
* @deprecated
|
|
319
315
|
* @throws {RequiredError}
|
|
320
316
|
* @memberof PaymentsApi
|
|
321
317
|
*/
|
package/dist/api/payments-api.js
CHANGED
|
@@ -93,13 +93,12 @@ var PaymentsApiAxiosParamCreator = function (configuration) {
|
|
|
93
93
|
var _this = this;
|
|
94
94
|
return {
|
|
95
95
|
/**
|
|
96
|
-
* This will create a payment for a specified account. This function is idempotent.
|
|
96
|
+
* This will create a payment for a specified account. This function is idempotent. **Required Permissions** \"payment-management.payments.create\"
|
|
97
97
|
* @summary Create the payment
|
|
98
98
|
* @param {string} idempotencyKey Idempotency Key used to make the request idempotent. The key should be unique. Usually, a generated v4 UUID is enough.
|
|
99
99
|
* @param {CreatePaymentRequestDto} createPaymentRequestDto
|
|
100
100
|
* @param {string} [authorization] Bearer Token
|
|
101
101
|
* @param {*} [options] Override http request option.
|
|
102
|
-
* @deprecated
|
|
103
102
|
* @throws {RequiredError}
|
|
104
103
|
*/
|
|
105
104
|
createPayment: function (idempotencyKey, createPaymentRequestDto, authorization, options) {
|
|
@@ -338,13 +337,12 @@ var PaymentsApiFp = function (configuration) {
|
|
|
338
337
|
var localVarAxiosParamCreator = (0, exports.PaymentsApiAxiosParamCreator)(configuration);
|
|
339
338
|
return {
|
|
340
339
|
/**
|
|
341
|
-
* This will create a payment for a specified account. This function is idempotent.
|
|
340
|
+
* This will create a payment for a specified account. This function is idempotent. **Required Permissions** \"payment-management.payments.create\"
|
|
342
341
|
* @summary Create the payment
|
|
343
342
|
* @param {string} idempotencyKey Idempotency Key used to make the request idempotent. The key should be unique. Usually, a generated v4 UUID is enough.
|
|
344
343
|
* @param {CreatePaymentRequestDto} createPaymentRequestDto
|
|
345
344
|
* @param {string} [authorization] Bearer Token
|
|
346
345
|
* @param {*} [options] Override http request option.
|
|
347
|
-
* @deprecated
|
|
348
346
|
* @throws {RequiredError}
|
|
349
347
|
*/
|
|
350
348
|
createPayment: function (idempotencyKey, createPaymentRequestDto, authorization, options) {
|
|
@@ -442,13 +440,12 @@ var PaymentsApiFactory = function (configuration, basePath, axios) {
|
|
|
442
440
|
var localVarFp = (0, exports.PaymentsApiFp)(configuration);
|
|
443
441
|
return {
|
|
444
442
|
/**
|
|
445
|
-
* This will create a payment for a specified account. This function is idempotent.
|
|
443
|
+
* This will create a payment for a specified account. This function is idempotent. **Required Permissions** \"payment-management.payments.create\"
|
|
446
444
|
* @summary Create the payment
|
|
447
445
|
* @param {string} idempotencyKey Idempotency Key used to make the request idempotent. The key should be unique. Usually, a generated v4 UUID is enough.
|
|
448
446
|
* @param {CreatePaymentRequestDto} createPaymentRequestDto
|
|
449
447
|
* @param {string} [authorization] Bearer Token
|
|
450
448
|
* @param {*} [options] Override http request option.
|
|
451
|
-
* @deprecated
|
|
452
449
|
* @throws {RequiredError}
|
|
453
450
|
*/
|
|
454
451
|
createPayment: function (idempotencyKey, createPaymentRequestDto, authorization, options) {
|
|
@@ -510,11 +507,10 @@ var PaymentsApi = /** @class */ (function (_super) {
|
|
|
510
507
|
return _super !== null && _super.apply(this, arguments) || this;
|
|
511
508
|
}
|
|
512
509
|
/**
|
|
513
|
-
* This will create a payment for a specified account. This function is idempotent.
|
|
510
|
+
* This will create a payment for a specified account. This function is idempotent. **Required Permissions** \"payment-management.payments.create\"
|
|
514
511
|
* @summary Create the payment
|
|
515
512
|
* @param {PaymentsApiCreatePaymentRequest} requestParameters Request parameters.
|
|
516
513
|
* @param {*} [options] Override http request option.
|
|
517
|
-
* @deprecated
|
|
518
514
|
* @throws {RequiredError}
|
|
519
515
|
* @memberof PaymentsApi
|
|
520
516
|
*/
|
|
@@ -9,6 +9,7 @@
|
|
|
9
9
|
* https://openapi-generator.tech
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
|
+
import { BankOrderXmlFileClass } from './bank-order-xml-file-class';
|
|
12
13
|
import { FinancialAccountClass } from './financial-account-class';
|
|
13
14
|
/**
|
|
14
15
|
*
|
|
@@ -112,4 +113,10 @@ export interface BankOrderClass {
|
|
|
112
113
|
* @memberof BankOrderClass
|
|
113
114
|
*/
|
|
114
115
|
'financialAccount'?: FinancialAccountClass;
|
|
116
|
+
/**
|
|
117
|
+
* The XML file associated with this bank order
|
|
118
|
+
* @type {BankOrderXmlFileClass}
|
|
119
|
+
* @memberof BankOrderClass
|
|
120
|
+
*/
|
|
121
|
+
'xmlFile'?: BankOrderXmlFileClass;
|
|
115
122
|
}
|
|
@@ -0,0 +1,72 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Emil Payment Service
|
|
3
|
+
* This service directly communicates with the various Payment Service Providers (PSPs) in order to charge or refund customers. This service will automatically connect to the PSP linked in your admin configuration; meaning if you configured Stripe, it will automatically create a payment on Stripe when you create it in Emil.
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 1.0
|
|
6
|
+
* Contact: kontakt@emil.de
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
/**
|
|
13
|
+
*
|
|
14
|
+
* @export
|
|
15
|
+
* @interface BankOrderXmlFileClass
|
|
16
|
+
*/
|
|
17
|
+
export interface BankOrderXmlFileClass {
|
|
18
|
+
/**
|
|
19
|
+
* Unique identifier for the bank order XML file
|
|
20
|
+
* @type {number}
|
|
21
|
+
* @memberof BankOrderXmlFileClass
|
|
22
|
+
*/
|
|
23
|
+
'id': number;
|
|
24
|
+
/**
|
|
25
|
+
* XML content of the bank order file
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof BankOrderXmlFileClass
|
|
28
|
+
*/
|
|
29
|
+
'xmlContent': string;
|
|
30
|
+
/**
|
|
31
|
+
* Original filename of the XML file
|
|
32
|
+
* @type {string}
|
|
33
|
+
* @memberof BankOrderXmlFileClass
|
|
34
|
+
*/
|
|
35
|
+
'fileName'?: string;
|
|
36
|
+
/**
|
|
37
|
+
* MIME type of the file
|
|
38
|
+
* @type {string}
|
|
39
|
+
* @memberof BankOrderXmlFileClass
|
|
40
|
+
*/
|
|
41
|
+
'mimeType'?: string;
|
|
42
|
+
/**
|
|
43
|
+
* Size of the file in bytes
|
|
44
|
+
* @type {number}
|
|
45
|
+
* @memberof BankOrderXmlFileClass
|
|
46
|
+
*/
|
|
47
|
+
'fileSize'?: number;
|
|
48
|
+
/**
|
|
49
|
+
* Timestamp when the record was created
|
|
50
|
+
* @type {string}
|
|
51
|
+
* @memberof BankOrderXmlFileClass
|
|
52
|
+
*/
|
|
53
|
+
'createdAt': string;
|
|
54
|
+
/**
|
|
55
|
+
* Timestamp when the record was last updated
|
|
56
|
+
* @type {string}
|
|
57
|
+
* @memberof BankOrderXmlFileClass
|
|
58
|
+
*/
|
|
59
|
+
'updatedAt': string;
|
|
60
|
+
/**
|
|
61
|
+
* User ID who created the record
|
|
62
|
+
* @type {string}
|
|
63
|
+
* @memberof BankOrderXmlFileClass
|
|
64
|
+
*/
|
|
65
|
+
'createdBy': string;
|
|
66
|
+
/**
|
|
67
|
+
* User ID who last updated the record
|
|
68
|
+
* @type {string}
|
|
69
|
+
* @memberof BankOrderXmlFileClass
|
|
70
|
+
*/
|
|
71
|
+
'updatedBy': string;
|
|
72
|
+
}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* Emil Payment Service
|
|
6
|
+
* This service directly communicates with the various Payment Service Providers (PSPs) in order to charge or refund customers. This service will automatically connect to the PSP linked in your admin configuration; meaning if you configured Stripe, it will automatically create a payment on Stripe when you create it in Emil.
|
|
7
|
+
*
|
|
8
|
+
* The version of the OpenAPI document: 1.0
|
|
9
|
+
* Contact: kontakt@emil.de
|
|
10
|
+
*
|
|
11
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
12
|
+
* https://openapi-generator.tech
|
|
13
|
+
* Do not edit the class manually.
|
|
14
|
+
*/
|
|
15
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
package/dist/models/index.d.ts
CHANGED
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
export * from './bank-account-class';
|
|
2
2
|
export * from './bank-account-class-without-expand-properties';
|
|
3
3
|
export * from './bank-order-class';
|
|
4
|
+
export * from './bank-order-xml-file-class';
|
|
4
5
|
export * from './bank-transaction-class';
|
|
5
6
|
export * from './bank-transaction-class-without-expand-properties';
|
|
6
7
|
export * from './bank-transaction-invoice-class';
|
package/dist/models/index.js
CHANGED
|
@@ -17,6 +17,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
17
17
|
__exportStar(require("./bank-account-class"), exports);
|
|
18
18
|
__exportStar(require("./bank-account-class-without-expand-properties"), exports);
|
|
19
19
|
__exportStar(require("./bank-order-class"), exports);
|
|
20
|
+
__exportStar(require("./bank-order-xml-file-class"), exports);
|
|
20
21
|
__exportStar(require("./bank-transaction-class"), exports);
|
|
21
22
|
__exportStar(require("./bank-transaction-class-without-expand-properties"), exports);
|
|
22
23
|
__exportStar(require("./bank-transaction-invoice-class"), exports);
|
|
@@ -13,6 +13,7 @@
|
|
|
13
13
|
*/
|
|
14
14
|
|
|
15
15
|
|
|
16
|
+
import { BankOrderXmlFileClass } from './bank-order-xml-file-class';
|
|
16
17
|
import { FinancialAccountClass } from './financial-account-class';
|
|
17
18
|
|
|
18
19
|
/**
|
|
@@ -117,5 +118,11 @@ export interface BankOrderClass {
|
|
|
117
118
|
* @memberof BankOrderClass
|
|
118
119
|
*/
|
|
119
120
|
'financialAccount'?: FinancialAccountClass;
|
|
121
|
+
/**
|
|
122
|
+
* The XML file associated with this bank order
|
|
123
|
+
* @type {BankOrderXmlFileClass}
|
|
124
|
+
* @memberof BankOrderClass
|
|
125
|
+
*/
|
|
126
|
+
'xmlFile'?: BankOrderXmlFileClass;
|
|
120
127
|
}
|
|
121
128
|
|
|
@@ -0,0 +1,78 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* Emil Payment Service
|
|
5
|
+
* This service directly communicates with the various Payment Service Providers (PSPs) in order to charge or refund customers. This service will automatically connect to the PSP linked in your admin configuration; meaning if you configured Stripe, it will automatically create a payment on Stripe when you create it in Emil.
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: 1.0
|
|
8
|
+
* Contact: kontakt@emil.de
|
|
9
|
+
*
|
|
10
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
+
* https://openapi-generator.tech
|
|
12
|
+
* Do not edit the class manually.
|
|
13
|
+
*/
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
|
|
17
|
+
/**
|
|
18
|
+
*
|
|
19
|
+
* @export
|
|
20
|
+
* @interface BankOrderXmlFileClass
|
|
21
|
+
*/
|
|
22
|
+
export interface BankOrderXmlFileClass {
|
|
23
|
+
/**
|
|
24
|
+
* Unique identifier for the bank order XML file
|
|
25
|
+
* @type {number}
|
|
26
|
+
* @memberof BankOrderXmlFileClass
|
|
27
|
+
*/
|
|
28
|
+
'id': number;
|
|
29
|
+
/**
|
|
30
|
+
* XML content of the bank order file
|
|
31
|
+
* @type {string}
|
|
32
|
+
* @memberof BankOrderXmlFileClass
|
|
33
|
+
*/
|
|
34
|
+
'xmlContent': string;
|
|
35
|
+
/**
|
|
36
|
+
* Original filename of the XML file
|
|
37
|
+
* @type {string}
|
|
38
|
+
* @memberof BankOrderXmlFileClass
|
|
39
|
+
*/
|
|
40
|
+
'fileName'?: string;
|
|
41
|
+
/**
|
|
42
|
+
* MIME type of the file
|
|
43
|
+
* @type {string}
|
|
44
|
+
* @memberof BankOrderXmlFileClass
|
|
45
|
+
*/
|
|
46
|
+
'mimeType'?: string;
|
|
47
|
+
/**
|
|
48
|
+
* Size of the file in bytes
|
|
49
|
+
* @type {number}
|
|
50
|
+
* @memberof BankOrderXmlFileClass
|
|
51
|
+
*/
|
|
52
|
+
'fileSize'?: number;
|
|
53
|
+
/**
|
|
54
|
+
* Timestamp when the record was created
|
|
55
|
+
* @type {string}
|
|
56
|
+
* @memberof BankOrderXmlFileClass
|
|
57
|
+
*/
|
|
58
|
+
'createdAt': string;
|
|
59
|
+
/**
|
|
60
|
+
* Timestamp when the record was last updated
|
|
61
|
+
* @type {string}
|
|
62
|
+
* @memberof BankOrderXmlFileClass
|
|
63
|
+
*/
|
|
64
|
+
'updatedAt': string;
|
|
65
|
+
/**
|
|
66
|
+
* User ID who created the record
|
|
67
|
+
* @type {string}
|
|
68
|
+
* @memberof BankOrderXmlFileClass
|
|
69
|
+
*/
|
|
70
|
+
'createdBy': string;
|
|
71
|
+
/**
|
|
72
|
+
* User ID who last updated the record
|
|
73
|
+
* @type {string}
|
|
74
|
+
* @memberof BankOrderXmlFileClass
|
|
75
|
+
*/
|
|
76
|
+
'updatedBy': string;
|
|
77
|
+
}
|
|
78
|
+
|
package/models/index.ts
CHANGED
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
export * from './bank-account-class';
|
|
2
2
|
export * from './bank-account-class-without-expand-properties';
|
|
3
3
|
export * from './bank-order-class';
|
|
4
|
+
export * from './bank-order-xml-file-class';
|
|
4
5
|
export * from './bank-transaction-class';
|
|
5
6
|
export * from './bank-transaction-class-without-expand-properties';
|
|
6
7
|
export * from './bank-transaction-invoice-class';
|