@emilgroup/payment-sdk 1.4.1-beta.38 → 1.4.1-beta.39
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 +0 -51
- package/README.md +2 -2
- package/api/bank-accounts-api.ts +24 -74
- package/api/bank-transaction-api.ts +26 -64
- package/api/payment-methods-api.ts +30 -80
- package/api/payment-reminders-api.ts +20 -70
- package/api/payment-setup-api.ts +28 -36
- package/api/payments-api.ts +18 -66
- package/api/refunds-api.ts +22 -56
- package/api/tenant-bank-account-api.ts +18 -46
- package/dist/api/bank-accounts-api.d.ts +25 -56
- package/dist/api/bank-accounts-api.js +11 -29
- package/dist/api/bank-transaction-api.d.ts +24 -47
- package/dist/api/bank-transaction-api.js +12 -24
- package/dist/api/payment-methods-api.d.ts +22 -53
- package/dist/api/payment-methods-api.js +23 -41
- package/dist/api/payment-reminders-api.d.ts +19 -50
- package/dist/api/payment-reminders-api.js +11 -29
- package/dist/api/payment-setup-api.d.ts +18 -22
- package/dist/api/payment-setup-api.js +24 -24
- package/dist/api/payments-api.d.ts +16 -46
- package/dist/api/payments-api.js +11 -29
- package/dist/api/refunds-api.d.ts +18 -39
- package/dist/api/refunds-api.js +12 -24
- package/dist/api/tenant-bank-account-api.d.ts +11 -29
- package/dist/api/tenant-bank-account-api.js +12 -24
- package/dist/models/bank-transaction-class-without-expand-properties.d.ts +12 -0
- package/dist/models/create-bank-account-request-dto.d.ts +2 -2
- package/dist/models/create-payment-request-dto.d.ts +3 -3
- package/dist/models/index.d.ts +0 -51
- package/dist/models/index.js +0 -51
- package/dist/models/tenant-bank-account-class-without-expand-properties.d.ts +12 -0
- package/dist/models/tenant-bank-account-class.d.ts +12 -0
- package/dist/models/validate-pspconfig-request-dto.d.ts +1 -8
- package/dist/models/validate-pspconfig-request-dto.js +0 -7
- package/models/bank-transaction-class-without-expand-properties.ts +12 -0
- package/models/create-bank-account-request-dto.ts +2 -2
- package/models/create-payment-request-dto.ts +3 -3
- package/models/index.ts +0 -51
- package/models/tenant-bank-account-class-without-expand-properties.ts +12 -0
- package/models/tenant-bank-account-class.ts +12 -0
- package/models/validate-pspconfig-request-dto.ts +1 -11
- package/package.json +1 -1
- package/dist/models/bank-account-class-without-expand-properties.d.ts +0 -72
- package/dist/models/bank-account-class-without-expand-properties.js +0 -15
- package/dist/models/bank-account-class.d.ts +0 -79
- package/dist/models/bank-account-class.js +0 -15
- package/dist/models/bank-transaction-class.d.ts +0 -128
- package/dist/models/bank-transaction-class.js +0 -15
- package/dist/models/billing-profile-dto.d.ts +0 -38
- package/dist/models/billing-profile-dto.js +0 -15
- package/dist/models/billing-profile-limited-response-dto.d.ts +0 -54
- package/dist/models/billing-profile-limited-response-dto.js +0 -15
- package/dist/models/complete-braintree-payment-setup-request-dto.d.ts +0 -48
- package/dist/models/complete-braintree-payment-setup-request-dto.js +0 -15
- package/dist/models/complete-payment-setup-request-dto.d.ts +0 -32
- package/dist/models/complete-payment-setup-request-dto.js +0 -15
- package/dist/models/complete-payment-setup-response-class.d.ts +0 -25
- package/dist/models/complete-payment-setup-response-class.js +0 -15
- package/dist/models/complete-stripe-payment-setup-request-dto.d.ts +0 -60
- package/dist/models/complete-stripe-payment-setup-request-dto.js +0 -15
- package/dist/models/create-bank-account-response-class.d.ts +0 -25
- package/dist/models/create-bank-account-response-class.js +0 -15
- package/dist/models/create-payment-method-response-class.d.ts +0 -25
- package/dist/models/create-payment-method-response-class.js +0 -15
- package/dist/models/create-payment-reminder-response-class.d.ts +0 -25
- package/dist/models/create-payment-reminder-response-class.js +0 -15
- package/dist/models/create-payment-response-class.d.ts +0 -25
- package/dist/models/create-payment-response-class.js +0 -15
- package/dist/models/create-psp-payment-method-request-dto.d.ts +0 -61
- package/dist/models/create-psp-payment-method-request-dto.js +0 -32
- package/dist/models/create-refund-response-class.d.ts +0 -25
- package/dist/models/create-refund-response-class.js +0 -15
- package/dist/models/deactivate-payment-reminder-response-class.d.ts +0 -25
- package/dist/models/deactivate-payment-reminder-response-class.js +0 -15
- package/dist/models/deactivated-payment-reminder-class.d.ts +0 -90
- package/dist/models/deactivated-payment-reminder-class.js +0 -15
- package/dist/models/get-bank-account-response-class.d.ts +0 -25
- package/dist/models/get-bank-account-response-class.js +0 -15
- package/dist/models/get-bank-transactions-response-class.d.ts +0 -25
- package/dist/models/get-bank-transactions-response-class.js +0 -15
- package/dist/models/get-payment-method-response-class.d.ts +0 -25
- package/dist/models/get-payment-method-response-class.js +0 -15
- package/dist/models/get-payment-reminder-response-class.d.ts +0 -25
- package/dist/models/get-payment-reminder-response-class.js +0 -15
- package/dist/models/get-payment-response-class.d.ts +0 -25
- package/dist/models/get-payment-response-class.js +0 -15
- package/dist/models/get-refund-response-class.d.ts +0 -25
- package/dist/models/get-refund-response-class.js +0 -15
- package/dist/models/import-bank-transactions-response-class.d.ts +0 -25
- package/dist/models/import-bank-transactions-response-class.js +0 -15
- package/dist/models/initiate-braintree-payment-setup-request-dto.d.ts +0 -30
- package/dist/models/initiate-braintree-payment-setup-request-dto.js +0 -15
- package/dist/models/initiate-braintree-payment-setup-response-class.d.ts +0 -24
- package/dist/models/initiate-braintree-payment-setup-response-class.js +0 -15
- package/dist/models/initiate-payment-setup-request-dto.d.ts +0 -50
- package/dist/models/initiate-payment-setup-request-dto.js +0 -15
- package/dist/models/initiate-payment-setup-response-class.d.ts +0 -32
- package/dist/models/initiate-payment-setup-response-class.js +0 -15
- package/dist/models/initiate-stripe-payment-setup-request-dto.d.ts +0 -30
- package/dist/models/initiate-stripe-payment-setup-request-dto.js +0 -15
- package/dist/models/initiate-stripe-payment-setup-response-class.d.ts +0 -30
- package/dist/models/initiate-stripe-payment-setup-response-class.js +0 -15
- package/dist/models/link-bank-transactions-response-class.d.ts +0 -25
- package/dist/models/link-bank-transactions-response-class.js +0 -15
- package/dist/models/list-bank-accounts-response-class.d.ts +0 -31
- package/dist/models/list-bank-accounts-response-class.js +0 -15
- package/dist/models/list-bank-transactions-response-class.d.ts +0 -31
- package/dist/models/list-bank-transactions-response-class.js +0 -15
- package/dist/models/list-payment-methods-response-class.d.ts +0 -31
- package/dist/models/list-payment-methods-response-class.js +0 -15
- package/dist/models/list-payment-reminders-response-class.d.ts +0 -31
- package/dist/models/list-payment-reminders-response-class.js +0 -15
- package/dist/models/list-payments-response-class.d.ts +0 -31
- package/dist/models/list-payments-response-class.js +0 -15
- package/dist/models/list-refunds-response-class.d.ts +0 -31
- package/dist/models/list-refunds-response-class.js +0 -15
- package/dist/models/payment-class-without-expand-properties.d.ts +0 -102
- package/dist/models/payment-class-without-expand-properties.js +0 -15
- package/dist/models/payment-class.d.ts +0 -109
- package/dist/models/payment-class.js +0 -15
- package/dist/models/payment-method-class.d.ts +0 -66
- package/dist/models/payment-method-class.js +0 -15
- package/dist/models/payment-reminder-class.d.ts +0 -90
- package/dist/models/payment-reminder-class.js +0 -15
- package/dist/models/primary-bank-account-response-class.d.ts +0 -42
- package/dist/models/primary-bank-account-response-class.js +0 -15
- package/dist/models/refund-class-without-expand-properties.d.ts +0 -99
- package/dist/models/refund-class-without-expand-properties.js +0 -29
- package/dist/models/refund-class.d.ts +0 -106
- package/dist/models/refund-class.js +0 -29
- package/dist/models/refund-item-class.d.ts +0 -102
- package/dist/models/refund-item-class.js +0 -15
- package/dist/models/sepa-direct-dto.d.ts +0 -24
- package/dist/models/sepa-direct-dto.js +0 -15
- package/dist/models/symphony-profile-limited-response-dto.d.ts +0 -42
- package/dist/models/symphony-profile-limited-response-dto.js +0 -15
- package/dist/models/transaction-class.d.ts +0 -54
- package/dist/models/transaction-class.js +0 -15
- package/dist/models/unlink-bank-transactions-response-class.d.ts +0 -25
- package/dist/models/unlink-bank-transactions-response-class.js +0 -15
- package/dist/models/unlinked-bank-transaction-response-class.d.ts +0 -96
- package/dist/models/unlinked-bank-transaction-response-class.js +0 -15
- package/dist/models/update-bank-account-response-class.d.ts +0 -25
- package/dist/models/update-bank-account-response-class.js +0 -15
- package/models/bank-account-class-without-expand-properties.ts +0 -78
- package/models/bank-account-class.ts +0 -85
- package/models/bank-transaction-class.ts +0 -134
- package/models/billing-profile-dto.ts +0 -44
- package/models/billing-profile-limited-response-dto.ts +0 -60
- package/models/complete-braintree-payment-setup-request-dto.ts +0 -54
- package/models/complete-payment-setup-request-dto.ts +0 -38
- package/models/complete-payment-setup-response-class.ts +0 -31
- package/models/complete-stripe-payment-setup-request-dto.ts +0 -66
- package/models/create-bank-account-response-class.ts +0 -31
- package/models/create-payment-method-response-class.ts +0 -31
- package/models/create-payment-reminder-response-class.ts +0 -31
- package/models/create-payment-response-class.ts +0 -31
- package/models/create-psp-payment-method-request-dto.ts +0 -70
- package/models/create-refund-response-class.ts +0 -31
- package/models/deactivate-payment-reminder-response-class.ts +0 -31
- package/models/deactivated-payment-reminder-class.ts +0 -96
- package/models/get-bank-account-response-class.ts +0 -31
- package/models/get-bank-transactions-response-class.ts +0 -31
- package/models/get-payment-method-response-class.ts +0 -31
- package/models/get-payment-reminder-response-class.ts +0 -31
- package/models/get-payment-response-class.ts +0 -31
- package/models/get-refund-response-class.ts +0 -31
- package/models/import-bank-transactions-response-class.ts +0 -31
- package/models/initiate-braintree-payment-setup-request-dto.ts +0 -36
- package/models/initiate-braintree-payment-setup-response-class.ts +0 -30
- package/models/initiate-payment-setup-request-dto.ts +0 -56
- package/models/initiate-payment-setup-response-class.ts +0 -38
- package/models/initiate-stripe-payment-setup-request-dto.ts +0 -36
- package/models/initiate-stripe-payment-setup-response-class.ts +0 -36
- package/models/link-bank-transactions-response-class.ts +0 -31
- package/models/list-bank-accounts-response-class.ts +0 -37
- package/models/list-bank-transactions-response-class.ts +0 -37
- package/models/list-payment-methods-response-class.ts +0 -37
- package/models/list-payment-reminders-response-class.ts +0 -37
- package/models/list-payments-response-class.ts +0 -37
- package/models/list-refunds-response-class.ts +0 -37
- package/models/payment-class-without-expand-properties.ts +0 -108
- package/models/payment-class.ts +0 -115
- package/models/payment-method-class.ts +0 -72
- package/models/payment-reminder-class.ts +0 -96
- package/models/primary-bank-account-response-class.ts +0 -48
- package/models/refund-class-without-expand-properties.ts +0 -109
- package/models/refund-class.ts +0 -116
- package/models/refund-item-class.ts +0 -108
- package/models/sepa-direct-dto.ts +0 -30
- package/models/symphony-profile-limited-response-dto.ts +0 -48
- package/models/transaction-class.ts +0 -60
- package/models/unlink-bank-transactions-response-class.ts +0 -31
- package/models/unlinked-bank-transaction-response-class.ts +0 -102
- package/models/update-bank-account-response-class.ts +0 -31
|
@@ -13,9 +13,6 @@ import { AxiosPromise, AxiosInstance, AxiosRequestConfig } from 'axios';
|
|
|
13
13
|
import { Configuration } from '../configuration';
|
|
14
14
|
import { RequestArgs, BaseAPI } from '../base';
|
|
15
15
|
import { CreateRefundRequestDto } from '../models';
|
|
16
|
-
import { CreateRefundResponseClass } from '../models';
|
|
17
|
-
import { GetRefundResponseClass } from '../models';
|
|
18
|
-
import { ListRefundsResponseClass } from '../models';
|
|
19
16
|
/**
|
|
20
17
|
* RefundsApi - axios parameter creator
|
|
21
18
|
* @export
|
|
@@ -44,17 +41,15 @@ export declare const RefundsApiAxiosParamCreator: (configuration?: Configuration
|
|
|
44
41
|
* Returns a list of refunds you have previously created. The refunds are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
|
|
45
42
|
* @summary List refunds
|
|
46
43
|
* @param {string} [authorization] Bearer Token
|
|
47
|
-
* @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
48
|
-
* @param {any} [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.
|
|
49
44
|
* @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: code, id, status, reason, psp, accountCode, invoiceCode</i>
|
|
45
|
+
* @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: code, id, status, reason, psp, accountCode, invoiceCode</i>
|
|
50
46
|
* @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: id, createdAt, updatedAt, amount, psp, accountCode, invoiceCode, reason, status</i>
|
|
51
47
|
* @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, createdAt, updatedAt, amount</i>
|
|
52
48
|
* @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: refundItems<i>
|
|
53
|
-
* @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: code, id, status, reason, psp, accountCode, invoiceCode</i>
|
|
54
49
|
* @param {*} [options] Override http request option.
|
|
55
50
|
* @throws {RequiredError}
|
|
56
51
|
*/
|
|
57
|
-
listRefunds: (authorization?: string,
|
|
52
|
+
listRefunds: (authorization?: string, filter?: string, filters?: string, search?: string, order?: string, expand?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
58
53
|
};
|
|
59
54
|
/**
|
|
60
55
|
* RefundsApi - functional programming interface
|
|
@@ -69,7 +64,7 @@ export declare const RefundsApiFp: (configuration?: Configuration) => {
|
|
|
69
64
|
* @param {*} [options] Override http request option.
|
|
70
65
|
* @throws {RequiredError}
|
|
71
66
|
*/
|
|
72
|
-
createRefund(createRefundRequestDto: CreateRefundRequestDto, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<
|
|
67
|
+
createRefund(createRefundRequestDto: CreateRefundRequestDto, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
|
|
73
68
|
/**
|
|
74
69
|
* Retrieves the details of the refund that was previously created. Supply the unique refund code that was returned when you created it and Emil Api will return the corresponding refund information.
|
|
75
70
|
* @summary Retrieve the refund
|
|
@@ -79,22 +74,20 @@ export declare const RefundsApiFp: (configuration?: Configuration) => {
|
|
|
79
74
|
* @param {*} [options] Override http request option.
|
|
80
75
|
* @throws {RequiredError}
|
|
81
76
|
*/
|
|
82
|
-
getRefund(code: string, authorization?: string, expand?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<
|
|
77
|
+
getRefund(code: string, authorization?: string, expand?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
|
|
83
78
|
/**
|
|
84
79
|
* Returns a list of refunds you have previously created. The refunds are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
|
|
85
80
|
* @summary List refunds
|
|
86
81
|
* @param {string} [authorization] Bearer Token
|
|
87
|
-
* @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
88
|
-
* @param {any} [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.
|
|
89
82
|
* @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: code, id, status, reason, psp, accountCode, invoiceCode</i>
|
|
83
|
+
* @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: code, id, status, reason, psp, accountCode, invoiceCode</i>
|
|
90
84
|
* @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: id, createdAt, updatedAt, amount, psp, accountCode, invoiceCode, reason, status</i>
|
|
91
85
|
* @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, createdAt, updatedAt, amount</i>
|
|
92
86
|
* @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: refundItems<i>
|
|
93
|
-
* @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: code, id, status, reason, psp, accountCode, invoiceCode</i>
|
|
94
87
|
* @param {*} [options] Override http request option.
|
|
95
88
|
* @throws {RequiredError}
|
|
96
89
|
*/
|
|
97
|
-
listRefunds(authorization?: string,
|
|
90
|
+
listRefunds(authorization?: string, filter?: string, filters?: string, search?: string, order?: string, expand?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
|
|
98
91
|
};
|
|
99
92
|
/**
|
|
100
93
|
* RefundsApi - factory interface
|
|
@@ -109,7 +102,7 @@ export declare const RefundsApiFactory: (configuration?: Configuration, basePath
|
|
|
109
102
|
* @param {*} [options] Override http request option.
|
|
110
103
|
* @throws {RequiredError}
|
|
111
104
|
*/
|
|
112
|
-
createRefund(createRefundRequestDto: CreateRefundRequestDto, authorization?: string, options?: any): AxiosPromise<
|
|
105
|
+
createRefund(createRefundRequestDto: CreateRefundRequestDto, authorization?: string, options?: any): AxiosPromise<void>;
|
|
113
106
|
/**
|
|
114
107
|
* Retrieves the details of the refund that was previously created. Supply the unique refund code that was returned when you created it and Emil Api will return the corresponding refund information.
|
|
115
108
|
* @summary Retrieve the refund
|
|
@@ -119,22 +112,20 @@ export declare const RefundsApiFactory: (configuration?: Configuration, basePath
|
|
|
119
112
|
* @param {*} [options] Override http request option.
|
|
120
113
|
* @throws {RequiredError}
|
|
121
114
|
*/
|
|
122
|
-
getRefund(code: string, authorization?: string, expand?: string, options?: any): AxiosPromise<
|
|
115
|
+
getRefund(code: string, authorization?: string, expand?: string, options?: any): AxiosPromise<void>;
|
|
123
116
|
/**
|
|
124
117
|
* Returns a list of refunds you have previously created. The refunds are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
|
|
125
118
|
* @summary List refunds
|
|
126
119
|
* @param {string} [authorization] Bearer Token
|
|
127
|
-
* @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
128
|
-
* @param {any} [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.
|
|
129
120
|
* @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: code, id, status, reason, psp, accountCode, invoiceCode</i>
|
|
121
|
+
* @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: code, id, status, reason, psp, accountCode, invoiceCode</i>
|
|
130
122
|
* @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: id, createdAt, updatedAt, amount, psp, accountCode, invoiceCode, reason, status</i>
|
|
131
123
|
* @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, createdAt, updatedAt, amount</i>
|
|
132
124
|
* @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: refundItems<i>
|
|
133
|
-
* @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: code, id, status, reason, psp, accountCode, invoiceCode</i>
|
|
134
125
|
* @param {*} [options] Override http request option.
|
|
135
126
|
* @throws {RequiredError}
|
|
136
127
|
*/
|
|
137
|
-
listRefunds(authorization?: string,
|
|
128
|
+
listRefunds(authorization?: string, filter?: string, filters?: string, search?: string, order?: string, expand?: string, options?: any): AxiosPromise<void>;
|
|
138
129
|
};
|
|
139
130
|
/**
|
|
140
131
|
* Request parameters for createRefund operation in RefundsApi.
|
|
@@ -193,23 +184,17 @@ export interface RefundsApiListRefundsRequest {
|
|
|
193
184
|
*/
|
|
194
185
|
readonly authorization?: string;
|
|
195
186
|
/**
|
|
196
|
-
*
|
|
197
|
-
* @type {
|
|
198
|
-
* @memberof RefundsApiListRefunds
|
|
199
|
-
*/
|
|
200
|
-
readonly pageSize?: any;
|
|
201
|
-
/**
|
|
202
|
-
* 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.
|
|
203
|
-
* @type {any}
|
|
187
|
+
* 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: code, id, status, reason, psp, accountCode, invoiceCode</i>
|
|
188
|
+
* @type {string}
|
|
204
189
|
* @memberof RefundsApiListRefunds
|
|
205
190
|
*/
|
|
206
|
-
readonly
|
|
191
|
+
readonly filter?: string;
|
|
207
192
|
/**
|
|
208
|
-
*
|
|
193
|
+
* Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.<br/> <br/> <i>Allowed values: code, id, status, reason, psp, accountCode, invoiceCode</i>
|
|
209
194
|
* @type {string}
|
|
210
195
|
* @memberof RefundsApiListRefunds
|
|
211
196
|
*/
|
|
212
|
-
readonly
|
|
197
|
+
readonly filters?: string;
|
|
213
198
|
/**
|
|
214
199
|
* Search the response for matches in any searchable field. Use filter instead where possible for improved performance.<br/> <br/> <i>Searchable fields: id, createdAt, updatedAt, amount, psp, accountCode, invoiceCode, reason, status</i>
|
|
215
200
|
* @type {string}
|
|
@@ -228,12 +213,6 @@ export interface RefundsApiListRefundsRequest {
|
|
|
228
213
|
* @memberof RefundsApiListRefunds
|
|
229
214
|
*/
|
|
230
215
|
readonly expand?: string;
|
|
231
|
-
/**
|
|
232
|
-
* Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.<br/> <br/> <i>Allowed values: code, id, status, reason, psp, accountCode, invoiceCode</i>
|
|
233
|
-
* @type {string}
|
|
234
|
-
* @memberof RefundsApiListRefunds
|
|
235
|
-
*/
|
|
236
|
-
readonly filters?: string;
|
|
237
216
|
}
|
|
238
217
|
/**
|
|
239
218
|
* RefundsApi - object-oriented interface
|
|
@@ -250,7 +229,7 @@ export declare class RefundsApi extends BaseAPI {
|
|
|
250
229
|
* @throws {RequiredError}
|
|
251
230
|
* @memberof RefundsApi
|
|
252
231
|
*/
|
|
253
|
-
createRefund(requestParameters: RefundsApiCreateRefundRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<
|
|
232
|
+
createRefund(requestParameters: RefundsApiCreateRefundRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any>>;
|
|
254
233
|
/**
|
|
255
234
|
* Retrieves the details of the refund that was previously created. Supply the unique refund code that was returned when you created it and Emil Api will return the corresponding refund information.
|
|
256
235
|
* @summary Retrieve the refund
|
|
@@ -259,7 +238,7 @@ export declare class RefundsApi extends BaseAPI {
|
|
|
259
238
|
* @throws {RequiredError}
|
|
260
239
|
* @memberof RefundsApi
|
|
261
240
|
*/
|
|
262
|
-
getRefund(requestParameters: RefundsApiGetRefundRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<
|
|
241
|
+
getRefund(requestParameters: RefundsApiGetRefundRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any>>;
|
|
263
242
|
/**
|
|
264
243
|
* Returns a list of refunds you have previously created. The refunds are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
|
|
265
244
|
* @summary List refunds
|
|
@@ -268,5 +247,5 @@ export declare class RefundsApi extends BaseAPI {
|
|
|
268
247
|
* @throws {RequiredError}
|
|
269
248
|
* @memberof RefundsApi
|
|
270
249
|
*/
|
|
271
|
-
listRefunds(requestParameters?: RefundsApiListRefundsRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<
|
|
250
|
+
listRefunds(requestParameters?: RefundsApiListRefundsRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any>>;
|
|
272
251
|
}
|
package/dist/api/refunds-api.js
CHANGED
|
@@ -197,17 +197,15 @@ var RefundsApiAxiosParamCreator = function (configuration) {
|
|
|
197
197
|
* Returns a list of refunds you have previously created. The refunds are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
|
|
198
198
|
* @summary List refunds
|
|
199
199
|
* @param {string} [authorization] Bearer Token
|
|
200
|
-
* @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
201
|
-
* @param {any} [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.
|
|
202
200
|
* @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: code, id, status, reason, psp, accountCode, invoiceCode</i>
|
|
201
|
+
* @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: code, id, status, reason, psp, accountCode, invoiceCode</i>
|
|
203
202
|
* @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: id, createdAt, updatedAt, amount, psp, accountCode, invoiceCode, reason, status</i>
|
|
204
203
|
* @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, createdAt, updatedAt, amount</i>
|
|
205
204
|
* @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: refundItems<i>
|
|
206
|
-
* @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: code, id, status, reason, psp, accountCode, invoiceCode</i>
|
|
207
205
|
* @param {*} [options] Override http request option.
|
|
208
206
|
* @throws {RequiredError}
|
|
209
207
|
*/
|
|
210
|
-
listRefunds: function (authorization,
|
|
208
|
+
listRefunds: function (authorization, filter, filters, search, order, expand, options) {
|
|
211
209
|
if (options === void 0) { options = {}; }
|
|
212
210
|
return __awaiter(_this, void 0, void 0, function () {
|
|
213
211
|
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
@@ -230,15 +228,12 @@ var RefundsApiAxiosParamCreator = function (configuration) {
|
|
|
230
228
|
// authentication bearer required
|
|
231
229
|
// http bearer authentication required
|
|
232
230
|
_a.sent();
|
|
233
|
-
if (pageSize !== undefined) {
|
|
234
|
-
localVarQueryParameter['pageSize'] = pageSize;
|
|
235
|
-
}
|
|
236
|
-
if (pageToken !== undefined) {
|
|
237
|
-
localVarQueryParameter['pageToken'] = pageToken;
|
|
238
|
-
}
|
|
239
231
|
if (filter !== undefined) {
|
|
240
232
|
localVarQueryParameter['filter'] = filter;
|
|
241
233
|
}
|
|
234
|
+
if (filters !== undefined) {
|
|
235
|
+
localVarQueryParameter['filters'] = filters;
|
|
236
|
+
}
|
|
242
237
|
if (search !== undefined) {
|
|
243
238
|
localVarQueryParameter['search'] = search;
|
|
244
239
|
}
|
|
@@ -248,9 +243,6 @@ var RefundsApiAxiosParamCreator = function (configuration) {
|
|
|
248
243
|
if (expand !== undefined) {
|
|
249
244
|
localVarQueryParameter['expand'] = expand;
|
|
250
245
|
}
|
|
251
|
-
if (filters !== undefined) {
|
|
252
|
-
localVarQueryParameter['filters'] = filters;
|
|
253
|
-
}
|
|
254
246
|
if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
|
|
255
247
|
localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
|
|
256
248
|
}
|
|
@@ -322,22 +314,20 @@ var RefundsApiFp = function (configuration) {
|
|
|
322
314
|
* Returns a list of refunds you have previously created. The refunds are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
|
|
323
315
|
* @summary List refunds
|
|
324
316
|
* @param {string} [authorization] Bearer Token
|
|
325
|
-
* @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
326
|
-
* @param {any} [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.
|
|
327
317
|
* @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: code, id, status, reason, psp, accountCode, invoiceCode</i>
|
|
318
|
+
* @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: code, id, status, reason, psp, accountCode, invoiceCode</i>
|
|
328
319
|
* @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: id, createdAt, updatedAt, amount, psp, accountCode, invoiceCode, reason, status</i>
|
|
329
320
|
* @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, createdAt, updatedAt, amount</i>
|
|
330
321
|
* @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: refundItems<i>
|
|
331
|
-
* @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: code, id, status, reason, psp, accountCode, invoiceCode</i>
|
|
332
322
|
* @param {*} [options] Override http request option.
|
|
333
323
|
* @throws {RequiredError}
|
|
334
324
|
*/
|
|
335
|
-
listRefunds: function (authorization,
|
|
325
|
+
listRefunds: function (authorization, filter, filters, search, order, expand, options) {
|
|
336
326
|
return __awaiter(this, void 0, void 0, function () {
|
|
337
327
|
var localVarAxiosArgs;
|
|
338
328
|
return __generator(this, function (_a) {
|
|
339
329
|
switch (_a.label) {
|
|
340
|
-
case 0: return [4 /*yield*/, localVarAxiosParamCreator.listRefunds(authorization,
|
|
330
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.listRefunds(authorization, filter, filters, search, order, expand, options)];
|
|
341
331
|
case 1:
|
|
342
332
|
localVarAxiosArgs = _a.sent();
|
|
343
333
|
return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
@@ -382,18 +372,16 @@ var RefundsApiFactory = function (configuration, basePath, axios) {
|
|
|
382
372
|
* Returns a list of refunds you have previously created. The refunds are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
|
|
383
373
|
* @summary List refunds
|
|
384
374
|
* @param {string} [authorization] Bearer Token
|
|
385
|
-
* @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
386
|
-
* @param {any} [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.
|
|
387
375
|
* @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: code, id, status, reason, psp, accountCode, invoiceCode</i>
|
|
376
|
+
* @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: code, id, status, reason, psp, accountCode, invoiceCode</i>
|
|
388
377
|
* @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: id, createdAt, updatedAt, amount, psp, accountCode, invoiceCode, reason, status</i>
|
|
389
378
|
* @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, createdAt, updatedAt, amount</i>
|
|
390
379
|
* @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: refundItems<i>
|
|
391
|
-
* @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: code, id, status, reason, psp, accountCode, invoiceCode</i>
|
|
392
380
|
* @param {*} [options] Override http request option.
|
|
393
381
|
* @throws {RequiredError}
|
|
394
382
|
*/
|
|
395
|
-
listRefunds: function (authorization,
|
|
396
|
-
return localVarFp.listRefunds(authorization,
|
|
383
|
+
listRefunds: function (authorization, filter, filters, search, order, expand, options) {
|
|
384
|
+
return localVarFp.listRefunds(authorization, filter, filters, search, order, expand, options).then(function (request) { return request(axios, basePath); });
|
|
397
385
|
},
|
|
398
386
|
};
|
|
399
387
|
};
|
|
@@ -444,7 +432,7 @@ var RefundsApi = /** @class */ (function (_super) {
|
|
|
444
432
|
RefundsApi.prototype.listRefunds = function (requestParameters, options) {
|
|
445
433
|
var _this = this;
|
|
446
434
|
if (requestParameters === void 0) { requestParameters = {}; }
|
|
447
|
-
return (0, exports.RefundsApiFp)(this.configuration).listRefunds(requestParameters.authorization, requestParameters.
|
|
435
|
+
return (0, exports.RefundsApiFp)(this.configuration).listRefunds(requestParameters.authorization, requestParameters.filter, requestParameters.filters, requestParameters.search, requestParameters.order, requestParameters.expand, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
448
436
|
};
|
|
449
437
|
return RefundsApi;
|
|
450
438
|
}(base_1.BaseAPI));
|
|
@@ -55,17 +55,15 @@ export declare const TenantBankAccountApiAxiosParamCreator: (configuration?: Con
|
|
|
55
55
|
* Returns a list of tenant bank accounts you have previously created. The tenant bank accounts are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
|
|
56
56
|
* @summary List tenant bank accounts
|
|
57
57
|
* @param {string} [authorization] Bearer Token
|
|
58
|
-
* @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
59
|
-
* @param {any} [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
58
|
* @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, iban, bankName, accountName</i>
|
|
59
|
+
* @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, iban, bankName, accountName</i>
|
|
61
60
|
* @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: id, iban, bankName, accountName</i>
|
|
62
61
|
* @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, createdAt</i>
|
|
63
62
|
* @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: bankTransactions<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, iban, bankName, accountName</i>
|
|
65
63
|
* @param {*} [options] Override http request option.
|
|
66
64
|
* @throws {RequiredError}
|
|
67
65
|
*/
|
|
68
|
-
listTenantBankAccounts: (authorization?: string,
|
|
66
|
+
listTenantBankAccounts: (authorization?: string, filter?: string, filters?: string, search?: string, order?: string, expand?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
69
67
|
/**
|
|
70
68
|
* Update a tenant bank account by code
|
|
71
69
|
* @summary Update the tenant bank account
|
|
@@ -114,17 +112,15 @@ export declare const TenantBankAccountApiFp: (configuration?: Configuration) =>
|
|
|
114
112
|
* Returns a list of tenant bank accounts you have previously created. The tenant bank accounts are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
|
|
115
113
|
* @summary List tenant bank accounts
|
|
116
114
|
* @param {string} [authorization] Bearer Token
|
|
117
|
-
* @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
118
|
-
* @param {any} [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
115
|
* @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, iban, bankName, accountName</i>
|
|
116
|
+
* @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, iban, bankName, accountName</i>
|
|
120
117
|
* @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: id, iban, bankName, accountName</i>
|
|
121
118
|
* @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, createdAt</i>
|
|
122
119
|
* @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: bankTransactions<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, iban, bankName, accountName</i>
|
|
124
120
|
* @param {*} [options] Override http request option.
|
|
125
121
|
* @throws {RequiredError}
|
|
126
122
|
*/
|
|
127
|
-
listTenantBankAccounts(authorization?: string,
|
|
123
|
+
listTenantBankAccounts(authorization?: string, filter?: string, filters?: string, search?: string, order?: string, expand?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ListTenantBankAccountResponseClass>>;
|
|
128
124
|
/**
|
|
129
125
|
* Update a tenant bank account by code
|
|
130
126
|
* @summary Update the tenant bank account
|
|
@@ -173,17 +169,15 @@ export declare const TenantBankAccountApiFactory: (configuration?: Configuration
|
|
|
173
169
|
* Returns a list of tenant bank accounts you have previously created. The tenant bank accounts are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
|
|
174
170
|
* @summary List tenant bank accounts
|
|
175
171
|
* @param {string} [authorization] Bearer Token
|
|
176
|
-
* @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
177
|
-
* @param {any} [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
172
|
* @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, iban, bankName, accountName</i>
|
|
173
|
+
* @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, iban, bankName, accountName</i>
|
|
179
174
|
* @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: id, iban, bankName, accountName</i>
|
|
180
175
|
* @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, createdAt</i>
|
|
181
176
|
* @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: bankTransactions<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, iban, bankName, accountName</i>
|
|
183
177
|
* @param {*} [options] Override http request option.
|
|
184
178
|
* @throws {RequiredError}
|
|
185
179
|
*/
|
|
186
|
-
listTenantBankAccounts(authorization?: string,
|
|
180
|
+
listTenantBankAccounts(authorization?: string, filter?: string, filters?: string, search?: string, order?: string, expand?: string, options?: any): AxiosPromise<ListTenantBankAccountResponseClass>;
|
|
187
181
|
/**
|
|
188
182
|
* Update a tenant bank account by code
|
|
189
183
|
* @summary Update the tenant bank account
|
|
@@ -271,23 +265,17 @@ export interface TenantBankAccountApiListTenantBankAccountsRequest {
|
|
|
271
265
|
*/
|
|
272
266
|
readonly authorization?: string;
|
|
273
267
|
/**
|
|
274
|
-
*
|
|
275
|
-
* @type {
|
|
276
|
-
* @memberof TenantBankAccountApiListTenantBankAccounts
|
|
277
|
-
*/
|
|
278
|
-
readonly pageSize?: any;
|
|
279
|
-
/**
|
|
280
|
-
* 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.
|
|
281
|
-
* @type {any}
|
|
268
|
+
* 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, iban, bankName, accountName</i>
|
|
269
|
+
* @type {string}
|
|
282
270
|
* @memberof TenantBankAccountApiListTenantBankAccounts
|
|
283
271
|
*/
|
|
284
|
-
readonly
|
|
272
|
+
readonly filter?: string;
|
|
285
273
|
/**
|
|
286
|
-
*
|
|
274
|
+
* 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, iban, bankName, accountName</i>
|
|
287
275
|
* @type {string}
|
|
288
276
|
* @memberof TenantBankAccountApiListTenantBankAccounts
|
|
289
277
|
*/
|
|
290
|
-
readonly
|
|
278
|
+
readonly filters?: string;
|
|
291
279
|
/**
|
|
292
280
|
* Search the response for matches in any searchable field. Use filter instead where possible for improved performance.<br/> <br/> <i>Searchable fields: id, iban, bankName, accountName</i>
|
|
293
281
|
* @type {string}
|
|
@@ -306,12 +294,6 @@ export interface TenantBankAccountApiListTenantBankAccountsRequest {
|
|
|
306
294
|
* @memberof TenantBankAccountApiListTenantBankAccounts
|
|
307
295
|
*/
|
|
308
296
|
readonly expand?: string;
|
|
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, iban, bankName, accountName</i>
|
|
311
|
-
* @type {string}
|
|
312
|
-
* @memberof TenantBankAccountApiListTenantBankAccounts
|
|
313
|
-
*/
|
|
314
|
-
readonly filters?: string;
|
|
315
297
|
}
|
|
316
298
|
/**
|
|
317
299
|
* Request parameters for updateTenantBankAccount operation in TenantBankAccountApi.
|
|
@@ -245,17 +245,15 @@ var TenantBankAccountApiAxiosParamCreator = function (configuration) {
|
|
|
245
245
|
* Returns a list of tenant bank accounts you have previously created. The tenant bank accounts are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
|
|
246
246
|
* @summary List tenant bank accounts
|
|
247
247
|
* @param {string} [authorization] Bearer Token
|
|
248
|
-
* @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
249
|
-
* @param {any} [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.
|
|
250
248
|
* @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, iban, bankName, accountName</i>
|
|
249
|
+
* @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, iban, bankName, accountName</i>
|
|
251
250
|
* @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: id, iban, bankName, accountName</i>
|
|
252
251
|
* @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, createdAt</i>
|
|
253
252
|
* @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: bankTransactions<i>
|
|
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, iban, bankName, accountName</i>
|
|
255
253
|
* @param {*} [options] Override http request option.
|
|
256
254
|
* @throws {RequiredError}
|
|
257
255
|
*/
|
|
258
|
-
listTenantBankAccounts: function (authorization,
|
|
256
|
+
listTenantBankAccounts: function (authorization, filter, filters, search, order, expand, options) {
|
|
259
257
|
if (options === void 0) { options = {}; }
|
|
260
258
|
return __awaiter(_this, void 0, void 0, function () {
|
|
261
259
|
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
@@ -278,15 +276,12 @@ var TenantBankAccountApiAxiosParamCreator = function (configuration) {
|
|
|
278
276
|
// authentication bearer required
|
|
279
277
|
// http bearer authentication required
|
|
280
278
|
_a.sent();
|
|
281
|
-
if (pageSize !== undefined) {
|
|
282
|
-
localVarQueryParameter['pageSize'] = pageSize;
|
|
283
|
-
}
|
|
284
|
-
if (pageToken !== undefined) {
|
|
285
|
-
localVarQueryParameter['pageToken'] = pageToken;
|
|
286
|
-
}
|
|
287
279
|
if (filter !== undefined) {
|
|
288
280
|
localVarQueryParameter['filter'] = filter;
|
|
289
281
|
}
|
|
282
|
+
if (filters !== undefined) {
|
|
283
|
+
localVarQueryParameter['filters'] = filters;
|
|
284
|
+
}
|
|
290
285
|
if (search !== undefined) {
|
|
291
286
|
localVarQueryParameter['search'] = search;
|
|
292
287
|
}
|
|
@@ -296,9 +291,6 @@ var TenantBankAccountApiAxiosParamCreator = function (configuration) {
|
|
|
296
291
|
if (expand !== undefined) {
|
|
297
292
|
localVarQueryParameter['expand'] = expand;
|
|
298
293
|
}
|
|
299
|
-
if (filters !== undefined) {
|
|
300
|
-
localVarQueryParameter['filters'] = filters;
|
|
301
|
-
}
|
|
302
294
|
if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
|
|
303
295
|
localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
|
|
304
296
|
}
|
|
@@ -444,22 +436,20 @@ var TenantBankAccountApiFp = function (configuration) {
|
|
|
444
436
|
* Returns a list of tenant bank accounts you have previously created. The tenant bank accounts are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
|
|
445
437
|
* @summary List tenant bank accounts
|
|
446
438
|
* @param {string} [authorization] Bearer Token
|
|
447
|
-
* @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
448
|
-
* @param {any} [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.
|
|
449
439
|
* @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, iban, bankName, accountName</i>
|
|
440
|
+
* @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, iban, bankName, accountName</i>
|
|
450
441
|
* @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: id, iban, bankName, accountName</i>
|
|
451
442
|
* @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, createdAt</i>
|
|
452
443
|
* @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: bankTransactions<i>
|
|
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, iban, bankName, accountName</i>
|
|
454
444
|
* @param {*} [options] Override http request option.
|
|
455
445
|
* @throws {RequiredError}
|
|
456
446
|
*/
|
|
457
|
-
listTenantBankAccounts: function (authorization,
|
|
447
|
+
listTenantBankAccounts: function (authorization, filter, filters, search, order, expand, options) {
|
|
458
448
|
return __awaiter(this, void 0, void 0, function () {
|
|
459
449
|
var localVarAxiosArgs;
|
|
460
450
|
return __generator(this, function (_a) {
|
|
461
451
|
switch (_a.label) {
|
|
462
|
-
case 0: return [4 /*yield*/, localVarAxiosParamCreator.listTenantBankAccounts(authorization,
|
|
452
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.listTenantBankAccounts(authorization, filter, filters, search, order, expand, options)];
|
|
463
453
|
case 1:
|
|
464
454
|
localVarAxiosArgs = _a.sent();
|
|
465
455
|
return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
@@ -537,18 +527,16 @@ var TenantBankAccountApiFactory = function (configuration, basePath, axios) {
|
|
|
537
527
|
* Returns a list of tenant bank accounts you have previously created. The tenant bank accounts are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
|
|
538
528
|
* @summary List tenant bank accounts
|
|
539
529
|
* @param {string} [authorization] Bearer Token
|
|
540
|
-
* @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
541
|
-
* @param {any} [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.
|
|
542
530
|
* @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, iban, bankName, accountName</i>
|
|
531
|
+
* @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, iban, bankName, accountName</i>
|
|
543
532
|
* @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: id, iban, bankName, accountName</i>
|
|
544
533
|
* @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, createdAt</i>
|
|
545
534
|
* @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: bankTransactions<i>
|
|
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, iban, bankName, accountName</i>
|
|
547
535
|
* @param {*} [options] Override http request option.
|
|
548
536
|
* @throws {RequiredError}
|
|
549
537
|
*/
|
|
550
|
-
listTenantBankAccounts: function (authorization,
|
|
551
|
-
return localVarFp.listTenantBankAccounts(authorization,
|
|
538
|
+
listTenantBankAccounts: function (authorization, filter, filters, search, order, expand, options) {
|
|
539
|
+
return localVarFp.listTenantBankAccounts(authorization, filter, filters, search, order, expand, options).then(function (request) { return request(axios, basePath); });
|
|
552
540
|
},
|
|
553
541
|
/**
|
|
554
542
|
* Update a tenant bank account by code
|
|
@@ -623,7 +611,7 @@ var TenantBankAccountApi = /** @class */ (function (_super) {
|
|
|
623
611
|
TenantBankAccountApi.prototype.listTenantBankAccounts = function (requestParameters, options) {
|
|
624
612
|
var _this = this;
|
|
625
613
|
if (requestParameters === void 0) { requestParameters = {}; }
|
|
626
|
-
return (0, exports.TenantBankAccountApiFp)(this.configuration).listTenantBankAccounts(requestParameters.authorization, requestParameters.
|
|
614
|
+
return (0, exports.TenantBankAccountApiFp)(this.configuration).listTenantBankAccounts(requestParameters.authorization, requestParameters.filter, requestParameters.filters, requestParameters.search, requestParameters.order, requestParameters.expand, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
627
615
|
};
|
|
628
616
|
/**
|
|
629
617
|
* Update a tenant bank account by code
|
|
@@ -111,4 +111,16 @@ export interface BankTransactionClassWithoutExpandProperties {
|
|
|
111
111
|
* @memberof BankTransactionClassWithoutExpandProperties
|
|
112
112
|
*/
|
|
113
113
|
'createdAt': string;
|
|
114
|
+
/**
|
|
115
|
+
* Identifier of the user who created the record.
|
|
116
|
+
* @type {string}
|
|
117
|
+
* @memberof BankTransactionClassWithoutExpandProperties
|
|
118
|
+
*/
|
|
119
|
+
'createdBy': string;
|
|
120
|
+
/**
|
|
121
|
+
* Identifier of the user who last updated the record.
|
|
122
|
+
* @type {string}
|
|
123
|
+
* @memberof BankTransactionClassWithoutExpandProperties
|
|
124
|
+
*/
|
|
125
|
+
'updatedBy': string;
|
|
114
126
|
}
|
|
@@ -20,13 +20,13 @@ export interface CreateBankAccountRequestDto {
|
|
|
20
20
|
* @type {string}
|
|
21
21
|
* @memberof CreateBankAccountRequestDto
|
|
22
22
|
*/
|
|
23
|
-
'accountCode'
|
|
23
|
+
'accountCode': string;
|
|
24
24
|
/**
|
|
25
25
|
* Partner code associated with bank account.
|
|
26
26
|
* @type {string}
|
|
27
27
|
* @memberof CreateBankAccountRequestDto
|
|
28
28
|
*/
|
|
29
|
-
'partnerCode'
|
|
29
|
+
'partnerCode': string;
|
|
30
30
|
/**
|
|
31
31
|
* IBAN number for the bank account
|
|
32
32
|
* @type {string}
|
|
@@ -35,10 +35,10 @@ export interface CreatePaymentRequestDto {
|
|
|
35
35
|
'currency'?: string;
|
|
36
36
|
/**
|
|
37
37
|
* Invoices referenced in this payment. Usually, one payment has one invoice id but it is possible to pay multiple invoices at once with a single payment.
|
|
38
|
-
* @type {Array<
|
|
38
|
+
* @type {Array<string>}
|
|
39
39
|
* @memberof CreatePaymentRequestDto
|
|
40
40
|
*/
|
|
41
|
-
'invoiceIds': Array<
|
|
41
|
+
'invoiceIds': Array<string>;
|
|
42
42
|
/**
|
|
43
43
|
* Optional field contain extra information.
|
|
44
44
|
* @type {object}
|
|
@@ -50,7 +50,7 @@ export interface CreatePaymentRequestDto {
|
|
|
50
50
|
* @type {string}
|
|
51
51
|
* @memberof CreatePaymentRequestDto
|
|
52
52
|
*/
|
|
53
|
-
'productSlug'
|
|
53
|
+
'productSlug': string;
|
|
54
54
|
/**
|
|
55
55
|
* Optional payment date.
|
|
56
56
|
* @type {string}
|