@emilgroup/payment-sdk 1.5.1-beta.2 → 1.6.1-beta.1
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 +52 -0
- package/README.md +2 -2
- package/api/bank-accounts-api.ts +20 -12
- package/api/bank-transaction-api.ts +20 -10
- package/api/payment-methods-api.ts +26 -18
- package/api/payment-reminders-api.ts +16 -8
- package/api/payment-setup-api.ts +36 -28
- package/api/payments-api.ts +12 -6
- package/api/refunds-api.ts +12 -6
- package/api/webhooks-api.ts +4 -4
- package/dist/api/bank-accounts-api.d.ts +22 -18
- package/dist/api/bank-transaction-api.d.ts +20 -15
- package/dist/api/payment-methods-api.d.ts +19 -15
- package/dist/api/payment-methods-api.js +12 -12
- package/dist/api/payment-reminders-api.d.ts +16 -12
- package/dist/api/payment-setup-api.d.ts +22 -18
- package/dist/api/payment-setup-api.js +24 -24
- package/dist/api/payments-api.d.ts +12 -9
- package/dist/api/refunds-api.d.ts +12 -9
- package/dist/api/webhooks-api.d.ts +4 -4
- package/dist/api/webhooks-api.js +3 -3
- package/dist/models/bank-account-class-without-expand-properties.d.ts +84 -0
- package/dist/models/bank-account-class-without-expand-properties.js +15 -0
- package/dist/models/bank-account-class.d.ts +91 -0
- package/dist/models/bank-account-class.js +15 -0
- package/dist/models/bank-transaction-class.d.ts +140 -0
- package/dist/models/bank-transaction-class.js +15 -0
- package/dist/models/billing-profile-dto.d.ts +38 -0
- package/dist/models/billing-profile-dto.js +15 -0
- package/dist/models/billing-profile-limited-response-dto.d.ts +54 -0
- package/dist/models/billing-profile-limited-response-dto.js +15 -0
- package/dist/models/complete-adyen-payment-setup-request-dto.d.ts +77 -0
- package/dist/models/complete-adyen-payment-setup-request-dto.js +32 -0
- package/dist/models/complete-braintree-payment-setup-request-dto.d.ts +48 -0
- package/dist/models/complete-braintree-payment-setup-request-dto.js +15 -0
- package/dist/models/complete-payment-setup-request-dto.d.ts +45 -0
- package/dist/models/complete-payment-setup-request-dto.js +15 -0
- package/dist/models/complete-payment-setup-response-class.d.ts +25 -0
- package/dist/models/complete-payment-setup-response-class.js +15 -0
- package/dist/models/complete-stripe-payment-setup-request-dto.d.ts +77 -0
- package/dist/models/complete-stripe-payment-setup-request-dto.js +32 -0
- package/dist/models/create-bank-account-request-dto.d.ts +2 -2
- package/dist/models/create-bank-account-response-class.d.ts +25 -0
- package/dist/models/create-bank-account-response-class.js +15 -0
- package/dist/models/create-payment-method-response-class.d.ts +25 -0
- package/dist/models/create-payment-method-response-class.js +15 -0
- package/dist/models/create-payment-reminder-response-class.d.ts +25 -0
- package/dist/models/create-payment-reminder-response-class.js +15 -0
- package/dist/models/create-payment-request-dto.d.ts +1 -1
- package/dist/models/create-payment-response-class.d.ts +25 -0
- package/dist/models/create-payment-response-class.js +15 -0
- package/dist/models/create-psp-payment-method-request-dto.d.ts +67 -0
- package/dist/models/create-psp-payment-method-request-dto.js +32 -0
- package/dist/models/create-refund-response-class.d.ts +25 -0
- package/dist/models/create-refund-response-class.js +15 -0
- package/dist/models/deactivate-payment-reminder-response-class.d.ts +25 -0
- package/dist/models/deactivate-payment-reminder-response-class.js +15 -0
- package/dist/models/deactivated-payment-reminder-class.d.ts +102 -0
- package/dist/models/deactivated-payment-reminder-class.js +15 -0
- package/dist/models/get-bank-account-response-class.d.ts +25 -0
- package/dist/models/get-bank-account-response-class.js +15 -0
- package/dist/models/get-bank-transactions-response-class.d.ts +25 -0
- package/dist/models/get-bank-transactions-response-class.js +15 -0
- package/dist/models/get-payment-method-response-class.d.ts +25 -0
- package/dist/models/get-payment-method-response-class.js +15 -0
- package/dist/models/get-payment-reminder-response-class.d.ts +25 -0
- package/dist/models/get-payment-reminder-response-class.js +15 -0
- package/dist/models/get-payment-response-class.d.ts +25 -0
- package/dist/models/get-payment-response-class.js +15 -0
- package/dist/models/get-refund-response-class.d.ts +25 -0
- package/dist/models/get-refund-response-class.js +15 -0
- package/dist/models/import-bank-transactions-response-class.d.ts +25 -0
- package/dist/models/import-bank-transactions-response-class.js +15 -0
- package/dist/models/index.d.ts +52 -0
- package/dist/models/index.js +52 -0
- package/dist/models/initiate-adyen-payment-setup-request-dto.d.ts +30 -0
- package/dist/models/initiate-adyen-payment-setup-request-dto.js +15 -0
- package/dist/models/initiate-braintree-payment-setup-request-dto.d.ts +30 -0
- package/dist/models/initiate-braintree-payment-setup-request-dto.js +15 -0
- package/dist/models/initiate-braintree-payment-setup-response-class.d.ts +24 -0
- package/dist/models/initiate-braintree-payment-setup-response-class.js +15 -0
- package/dist/models/initiate-payment-setup-request-dto.d.ts +57 -0
- package/dist/models/initiate-payment-setup-request-dto.js +15 -0
- package/dist/models/initiate-payment-setup-response-class.d.ts +32 -0
- package/dist/models/initiate-payment-setup-response-class.js +15 -0
- package/dist/models/initiate-stripe-payment-setup-request-dto.d.ts +30 -0
- package/dist/models/initiate-stripe-payment-setup-request-dto.js +15 -0
- package/dist/models/initiate-stripe-payment-setup-response-class.d.ts +30 -0
- package/dist/models/initiate-stripe-payment-setup-response-class.js +15 -0
- package/dist/models/link-bank-transactions-response-class.d.ts +25 -0
- package/dist/models/link-bank-transactions-response-class.js +15 -0
- package/dist/models/list-bank-accounts-response-class.d.ts +31 -0
- package/dist/models/list-bank-accounts-response-class.js +15 -0
- package/dist/models/list-bank-transactions-response-class.d.ts +31 -0
- package/dist/models/list-bank-transactions-response-class.js +15 -0
- package/dist/models/list-payment-methods-response-class.d.ts +31 -0
- package/dist/models/list-payment-methods-response-class.js +15 -0
- package/dist/models/list-payment-reminders-response-class.d.ts +31 -0
- package/dist/models/list-payment-reminders-response-class.js +15 -0
- package/dist/models/list-payments-response-class.d.ts +31 -0
- package/dist/models/list-payments-response-class.js +15 -0
- package/dist/models/list-refunds-response-class.d.ts +31 -0
- package/dist/models/list-refunds-response-class.js +15 -0
- package/dist/models/payment-class-without-expand-properties.d.ts +108 -0
- package/dist/models/payment-class-without-expand-properties.js +15 -0
- package/dist/models/payment-class.d.ts +115 -0
- package/dist/models/payment-class.js +15 -0
- package/dist/models/payment-method-class.d.ts +84 -0
- package/dist/models/payment-method-class.js +15 -0
- package/dist/models/payment-reminder-class.d.ts +102 -0
- package/dist/models/payment-reminder-class.js +15 -0
- package/dist/models/primary-bank-account-response-class.d.ts +54 -0
- package/dist/models/primary-bank-account-response-class.js +15 -0
- package/dist/models/refund-class.d.ts +118 -0
- package/dist/models/refund-class.js +29 -0
- package/dist/models/refund-item-class.d.ts +114 -0
- package/dist/models/refund-item-class.js +15 -0
- package/dist/models/sepa-direct-dto.d.ts +24 -0
- package/dist/models/sepa-direct-dto.js +15 -0
- package/dist/models/shared-transaction-class.d.ts +72 -0
- package/dist/models/shared-transaction-class.js +15 -0
- package/dist/models/symphony-profile-limited-response-dto.d.ts +42 -0
- package/dist/models/symphony-profile-limited-response-dto.js +15 -0
- package/dist/models/unlink-bank-transactions-response-class.d.ts +25 -0
- package/dist/models/unlink-bank-transactions-response-class.js +15 -0
- package/dist/models/unlinked-bank-transaction-response-class.d.ts +108 -0
- package/dist/models/unlinked-bank-transaction-response-class.js +15 -0
- package/dist/models/update-bank-account-response-class.d.ts +25 -0
- package/dist/models/update-bank-account-response-class.js +15 -0
- package/dist/models/validate-pspconfig-request-dto.d.ts +9 -1
- package/dist/models/validate-pspconfig-request-dto.js +8 -0
- package/models/bank-account-class-without-expand-properties.ts +90 -0
- package/models/bank-account-class.ts +97 -0
- package/models/bank-transaction-class.ts +146 -0
- package/models/billing-profile-dto.ts +44 -0
- package/models/billing-profile-limited-response-dto.ts +60 -0
- package/models/complete-adyen-payment-setup-request-dto.ts +86 -0
- package/models/complete-braintree-payment-setup-request-dto.ts +54 -0
- package/models/complete-payment-setup-request-dto.ts +51 -0
- package/models/complete-payment-setup-response-class.ts +31 -0
- package/models/complete-stripe-payment-setup-request-dto.ts +86 -0
- package/models/create-bank-account-request-dto.ts +2 -2
- package/models/create-bank-account-response-class.ts +31 -0
- package/models/create-payment-method-response-class.ts +31 -0
- package/models/create-payment-reminder-response-class.ts +31 -0
- package/models/create-payment-request-dto.ts +1 -1
- package/models/create-payment-response-class.ts +31 -0
- package/models/create-psp-payment-method-request-dto.ts +76 -0
- package/models/create-refund-response-class.ts +31 -0
- package/models/deactivate-payment-reminder-response-class.ts +31 -0
- package/models/deactivated-payment-reminder-class.ts +108 -0
- package/models/get-bank-account-response-class.ts +31 -0
- package/models/get-bank-transactions-response-class.ts +31 -0
- package/models/get-payment-method-response-class.ts +31 -0
- package/models/get-payment-reminder-response-class.ts +31 -0
- package/models/get-payment-response-class.ts +31 -0
- package/models/get-refund-response-class.ts +31 -0
- package/models/import-bank-transactions-response-class.ts +31 -0
- package/models/index.ts +52 -0
- package/models/initiate-adyen-payment-setup-request-dto.ts +36 -0
- package/models/initiate-braintree-payment-setup-request-dto.ts +36 -0
- package/models/initiate-braintree-payment-setup-response-class.ts +30 -0
- package/models/initiate-payment-setup-request-dto.ts +63 -0
- package/models/initiate-payment-setup-response-class.ts +38 -0
- package/models/initiate-stripe-payment-setup-request-dto.ts +36 -0
- package/models/initiate-stripe-payment-setup-response-class.ts +36 -0
- package/models/link-bank-transactions-response-class.ts +31 -0
- package/models/list-bank-accounts-response-class.ts +37 -0
- package/models/list-bank-transactions-response-class.ts +37 -0
- package/models/list-payment-methods-response-class.ts +37 -0
- package/models/list-payment-reminders-response-class.ts +37 -0
- package/models/list-payments-response-class.ts +37 -0
- package/models/list-refunds-response-class.ts +37 -0
- package/models/payment-class-without-expand-properties.ts +114 -0
- package/models/payment-class.ts +121 -0
- package/models/payment-method-class.ts +90 -0
- package/models/payment-reminder-class.ts +108 -0
- package/models/primary-bank-account-response-class.ts +60 -0
- package/models/refund-class.ts +128 -0
- package/models/refund-item-class.ts +120 -0
- package/models/sepa-direct-dto.ts +30 -0
- package/models/shared-transaction-class.ts +78 -0
- package/models/symphony-profile-limited-response-dto.ts +48 -0
- package/models/unlink-bank-transactions-response-class.ts +31 -0
- package/models/unlinked-bank-transaction-response-class.ts +114 -0
- package/models/update-bank-account-response-class.ts +31 -0
- package/models/validate-pspconfig-request-dto.ts +12 -1
- package/package.json +1 -1
|
@@ -12,8 +12,13 @@
|
|
|
12
12
|
import { AxiosPromise, AxiosInstance, AxiosRequestConfig } from 'axios';
|
|
13
13
|
import { Configuration } from '../configuration';
|
|
14
14
|
import { RequestArgs, BaseAPI } from '../base';
|
|
15
|
+
import { GetBankTransactionsResponseClass } from '../models';
|
|
16
|
+
import { ImportBankTransactionsResponseClass } from '../models';
|
|
15
17
|
import { LinkBankTransactionRequestDtoRest } from '../models';
|
|
18
|
+
import { LinkBankTransactionsResponseClass } from '../models';
|
|
19
|
+
import { ListBankTransactionsResponseClass } from '../models';
|
|
16
20
|
import { UnlinkBankTransactionRequestDtoRest } from '../models';
|
|
21
|
+
import { UnlinkBankTransactionsResponseClass } from '../models';
|
|
17
22
|
/**
|
|
18
23
|
* BankTransactionApi - axios parameter creator
|
|
19
24
|
* @export
|
|
@@ -86,7 +91,7 @@ export declare const BankTransactionApiFp: (configuration?: Configuration) => {
|
|
|
86
91
|
* @param {*} [options] Override http request option.
|
|
87
92
|
* @throws {RequiredError}
|
|
88
93
|
*/
|
|
89
|
-
getBankTransaction(code: string, authorization?: string, expand?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<
|
|
94
|
+
getBankTransaction(code: string, authorization?: string, expand?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetBankTransactionsResponseClass>>;
|
|
90
95
|
/**
|
|
91
96
|
* This will import bank transactions from a swift MT940 file
|
|
92
97
|
* @summary Create the bank transactions
|
|
@@ -95,7 +100,7 @@ export declare const BankTransactionApiFp: (configuration?: Configuration) => {
|
|
|
95
100
|
* @param {*} [options] Override http request option.
|
|
96
101
|
* @throws {RequiredError}
|
|
97
102
|
*/
|
|
98
|
-
importBankTransactions(file: any, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<
|
|
103
|
+
importBankTransactions(file: any, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ImportBankTransactionsResponseClass>>;
|
|
99
104
|
/**
|
|
100
105
|
* Links a bank transaction with an invoice
|
|
101
106
|
* @summary Link bank transaction
|
|
@@ -105,7 +110,7 @@ export declare const BankTransactionApiFp: (configuration?: Configuration) => {
|
|
|
105
110
|
* @param {*} [options] Override http request option.
|
|
106
111
|
* @throws {RequiredError}
|
|
107
112
|
*/
|
|
108
|
-
linkBankTransaction(code: string, linkBankTransactionRequestDtoRest: LinkBankTransactionRequestDtoRest, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<
|
|
113
|
+
linkBankTransaction(code: string, linkBankTransactionRequestDtoRest: LinkBankTransactionRequestDtoRest, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<LinkBankTransactionsResponseClass>>;
|
|
109
114
|
/**
|
|
110
115
|
* Returns a list of bank transactions you have previously created. The bank transactions are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
|
|
111
116
|
* @summary List bank transactions
|
|
@@ -118,7 +123,7 @@ export declare const BankTransactionApiFp: (configuration?: Configuration) => {
|
|
|
118
123
|
* @param {*} [options] Override http request option.
|
|
119
124
|
* @throws {RequiredError}
|
|
120
125
|
*/
|
|
121
|
-
listBankTransactions(authorization?: string, filter?: string, filters?: string, search?: string, order?: string, expand?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<
|
|
126
|
+
listBankTransactions(authorization?: string, filter?: string, filters?: string, search?: string, order?: string, expand?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ListBankTransactionsResponseClass>>;
|
|
122
127
|
/**
|
|
123
128
|
* Unlinks an already linked bank transaction
|
|
124
129
|
* @summary Unlink bank transaction
|
|
@@ -128,7 +133,7 @@ export declare const BankTransactionApiFp: (configuration?: Configuration) => {
|
|
|
128
133
|
* @param {*} [options] Override http request option.
|
|
129
134
|
* @throws {RequiredError}
|
|
130
135
|
*/
|
|
131
|
-
unlinkBankTransaction(code: string, unlinkBankTransactionRequestDtoRest: UnlinkBankTransactionRequestDtoRest, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<
|
|
136
|
+
unlinkBankTransaction(code: string, unlinkBankTransactionRequestDtoRest: UnlinkBankTransactionRequestDtoRest, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<UnlinkBankTransactionsResponseClass>>;
|
|
132
137
|
};
|
|
133
138
|
/**
|
|
134
139
|
* BankTransactionApi - factory interface
|
|
@@ -144,7 +149,7 @@ export declare const BankTransactionApiFactory: (configuration?: Configuration,
|
|
|
144
149
|
* @param {*} [options] Override http request option.
|
|
145
150
|
* @throws {RequiredError}
|
|
146
151
|
*/
|
|
147
|
-
getBankTransaction(code: string, authorization?: string, expand?: string, options?: any): AxiosPromise<
|
|
152
|
+
getBankTransaction(code: string, authorization?: string, expand?: string, options?: any): AxiosPromise<GetBankTransactionsResponseClass>;
|
|
148
153
|
/**
|
|
149
154
|
* This will import bank transactions from a swift MT940 file
|
|
150
155
|
* @summary Create the bank transactions
|
|
@@ -153,7 +158,7 @@ export declare const BankTransactionApiFactory: (configuration?: Configuration,
|
|
|
153
158
|
* @param {*} [options] Override http request option.
|
|
154
159
|
* @throws {RequiredError}
|
|
155
160
|
*/
|
|
156
|
-
importBankTransactions(file: any, authorization?: string, options?: any): AxiosPromise<
|
|
161
|
+
importBankTransactions(file: any, authorization?: string, options?: any): AxiosPromise<ImportBankTransactionsResponseClass>;
|
|
157
162
|
/**
|
|
158
163
|
* Links a bank transaction with an invoice
|
|
159
164
|
* @summary Link bank transaction
|
|
@@ -163,7 +168,7 @@ export declare const BankTransactionApiFactory: (configuration?: Configuration,
|
|
|
163
168
|
* @param {*} [options] Override http request option.
|
|
164
169
|
* @throws {RequiredError}
|
|
165
170
|
*/
|
|
166
|
-
linkBankTransaction(code: string, linkBankTransactionRequestDtoRest: LinkBankTransactionRequestDtoRest, authorization?: string, options?: any): AxiosPromise<
|
|
171
|
+
linkBankTransaction(code: string, linkBankTransactionRequestDtoRest: LinkBankTransactionRequestDtoRest, authorization?: string, options?: any): AxiosPromise<LinkBankTransactionsResponseClass>;
|
|
167
172
|
/**
|
|
168
173
|
* Returns a list of bank transactions you have previously created. The bank transactions are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
|
|
169
174
|
* @summary List bank transactions
|
|
@@ -176,7 +181,7 @@ export declare const BankTransactionApiFactory: (configuration?: Configuration,
|
|
|
176
181
|
* @param {*} [options] Override http request option.
|
|
177
182
|
* @throws {RequiredError}
|
|
178
183
|
*/
|
|
179
|
-
listBankTransactions(authorization?: string, filter?: string, filters?: string, search?: string, order?: string, expand?: string, options?: any): AxiosPromise<
|
|
184
|
+
listBankTransactions(authorization?: string, filter?: string, filters?: string, search?: string, order?: string, expand?: string, options?: any): AxiosPromise<ListBankTransactionsResponseClass>;
|
|
180
185
|
/**
|
|
181
186
|
* Unlinks an already linked bank transaction
|
|
182
187
|
* @summary Unlink bank transaction
|
|
@@ -186,7 +191,7 @@ export declare const BankTransactionApiFactory: (configuration?: Configuration,
|
|
|
186
191
|
* @param {*} [options] Override http request option.
|
|
187
192
|
* @throws {RequiredError}
|
|
188
193
|
*/
|
|
189
|
-
unlinkBankTransaction(code: string, unlinkBankTransactionRequestDtoRest: UnlinkBankTransactionRequestDtoRest, authorization?: string, options?: any): AxiosPromise<
|
|
194
|
+
unlinkBankTransaction(code: string, unlinkBankTransactionRequestDtoRest: UnlinkBankTransactionRequestDtoRest, authorization?: string, options?: any): AxiosPromise<UnlinkBankTransactionsResponseClass>;
|
|
190
195
|
};
|
|
191
196
|
/**
|
|
192
197
|
* Request parameters for getBankTransaction operation in BankTransactionApi.
|
|
@@ -340,7 +345,7 @@ export declare class BankTransactionApi extends BaseAPI {
|
|
|
340
345
|
* @throws {RequiredError}
|
|
341
346
|
* @memberof BankTransactionApi
|
|
342
347
|
*/
|
|
343
|
-
getBankTransaction(requestParameters: BankTransactionApiGetBankTransactionRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<
|
|
348
|
+
getBankTransaction(requestParameters: BankTransactionApiGetBankTransactionRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<GetBankTransactionsResponseClass, any>>;
|
|
344
349
|
/**
|
|
345
350
|
* This will import bank transactions from a swift MT940 file
|
|
346
351
|
* @summary Create the bank transactions
|
|
@@ -349,7 +354,7 @@ export declare class BankTransactionApi extends BaseAPI {
|
|
|
349
354
|
* @throws {RequiredError}
|
|
350
355
|
* @memberof BankTransactionApi
|
|
351
356
|
*/
|
|
352
|
-
importBankTransactions(requestParameters: BankTransactionApiImportBankTransactionsRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<
|
|
357
|
+
importBankTransactions(requestParameters: BankTransactionApiImportBankTransactionsRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<ImportBankTransactionsResponseClass, any>>;
|
|
353
358
|
/**
|
|
354
359
|
* Links a bank transaction with an invoice
|
|
355
360
|
* @summary Link bank transaction
|
|
@@ -358,7 +363,7 @@ export declare class BankTransactionApi extends BaseAPI {
|
|
|
358
363
|
* @throws {RequiredError}
|
|
359
364
|
* @memberof BankTransactionApi
|
|
360
365
|
*/
|
|
361
|
-
linkBankTransaction(requestParameters: BankTransactionApiLinkBankTransactionRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<
|
|
366
|
+
linkBankTransaction(requestParameters: BankTransactionApiLinkBankTransactionRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<LinkBankTransactionsResponseClass, any>>;
|
|
362
367
|
/**
|
|
363
368
|
* Returns a list of bank transactions you have previously created. The bank transactions are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
|
|
364
369
|
* @summary List bank transactions
|
|
@@ -367,7 +372,7 @@ export declare class BankTransactionApi extends BaseAPI {
|
|
|
367
372
|
* @throws {RequiredError}
|
|
368
373
|
* @memberof BankTransactionApi
|
|
369
374
|
*/
|
|
370
|
-
listBankTransactions(requestParameters?: BankTransactionApiListBankTransactionsRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<
|
|
375
|
+
listBankTransactions(requestParameters?: BankTransactionApiListBankTransactionsRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<ListBankTransactionsResponseClass, any>>;
|
|
371
376
|
/**
|
|
372
377
|
* Unlinks an already linked bank transaction
|
|
373
378
|
* @summary Unlink bank transaction
|
|
@@ -376,5 +381,5 @@ export declare class BankTransactionApi extends BaseAPI {
|
|
|
376
381
|
* @throws {RequiredError}
|
|
377
382
|
* @memberof BankTransactionApi
|
|
378
383
|
*/
|
|
379
|
-
unlinkBankTransaction(requestParameters: BankTransactionApiUnlinkBankTransactionRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<
|
|
384
|
+
unlinkBankTransaction(requestParameters: BankTransactionApiUnlinkBankTransactionRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<UnlinkBankTransactionsResponseClass, any>>;
|
|
380
385
|
}
|
|
@@ -12,6 +12,10 @@
|
|
|
12
12
|
import { AxiosPromise, AxiosInstance, AxiosRequestConfig } from 'axios';
|
|
13
13
|
import { Configuration } from '../configuration';
|
|
14
14
|
import { RequestArgs, BaseAPI } from '../base';
|
|
15
|
+
import { CreatePaymentMethodResponseClass } from '../models';
|
|
16
|
+
import { CreatePspPaymentMethodRequestDto } from '../models';
|
|
17
|
+
import { GetPaymentMethodResponseClass } from '../models';
|
|
18
|
+
import { ListPaymentMethodsResponseClass } from '../models';
|
|
15
19
|
/**
|
|
16
20
|
* PaymentMethodsApi - axios parameter creator
|
|
17
21
|
* @export
|
|
@@ -20,12 +24,12 @@ export declare const PaymentMethodsApiAxiosParamCreator: (configuration?: Config
|
|
|
20
24
|
/**
|
|
21
25
|
* This will create payment method in the database as well as in the PSP. The newly created payment method will be set as default payment method will be used by the customer to pay or receive a refund.
|
|
22
26
|
* @summary Create the payment method
|
|
23
|
-
* @param {
|
|
27
|
+
* @param {CreatePspPaymentMethodRequestDto} createPspPaymentMethodRequestDto
|
|
24
28
|
* @param {string} [authorization] Bearer Token
|
|
25
29
|
* @param {*} [options] Override http request option.
|
|
26
30
|
* @throws {RequiredError}
|
|
27
31
|
*/
|
|
28
|
-
createPaymentMethod: (
|
|
32
|
+
createPaymentMethod: (createPspPaymentMethodRequestDto: CreatePspPaymentMethodRequestDto, authorization?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
29
33
|
/**
|
|
30
34
|
* Retrieves the details of the payment method that was previously created. Supply the unique payment method code that was returned when you created it and Emil Api will return the corresponding payment method information.
|
|
31
35
|
* @summary Retrieve the payment method
|
|
@@ -56,12 +60,12 @@ export declare const PaymentMethodsApiFp: (configuration?: Configuration) => {
|
|
|
56
60
|
/**
|
|
57
61
|
* This will create payment method in the database as well as in the PSP. The newly created payment method will be set as default payment method will be used by the customer to pay or receive a refund.
|
|
58
62
|
* @summary Create the payment method
|
|
59
|
-
* @param {
|
|
63
|
+
* @param {CreatePspPaymentMethodRequestDto} createPspPaymentMethodRequestDto
|
|
60
64
|
* @param {string} [authorization] Bearer Token
|
|
61
65
|
* @param {*} [options] Override http request option.
|
|
62
66
|
* @throws {RequiredError}
|
|
63
67
|
*/
|
|
64
|
-
createPaymentMethod(
|
|
68
|
+
createPaymentMethod(createPspPaymentMethodRequestDto: CreatePspPaymentMethodRequestDto, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CreatePaymentMethodResponseClass>>;
|
|
65
69
|
/**
|
|
66
70
|
* Retrieves the details of the payment method that was previously created. Supply the unique payment method code that was returned when you created it and Emil Api will return the corresponding payment method information.
|
|
67
71
|
* @summary Retrieve the payment method
|
|
@@ -70,7 +74,7 @@ export declare const PaymentMethodsApiFp: (configuration?: Configuration) => {
|
|
|
70
74
|
* @param {*} [options] Override http request option.
|
|
71
75
|
* @throws {RequiredError}
|
|
72
76
|
*/
|
|
73
|
-
getPaymentMethod(code: string, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<
|
|
77
|
+
getPaymentMethod(code: string, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetPaymentMethodResponseClass>>;
|
|
74
78
|
/**
|
|
75
79
|
* Returns a list of payment methods you have previously created. The payment methods are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
|
|
76
80
|
* @summary List payment methods
|
|
@@ -82,7 +86,7 @@ export declare const PaymentMethodsApiFp: (configuration?: Configuration) => {
|
|
|
82
86
|
* @param {*} [options] Override http request option.
|
|
83
87
|
* @throws {RequiredError}
|
|
84
88
|
*/
|
|
85
|
-
listPaymentMethods(authorization?: string, filter?: string, filters?: string, order?: string, expand?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<
|
|
89
|
+
listPaymentMethods(authorization?: string, filter?: string, filters?: string, order?: string, expand?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ListPaymentMethodsResponseClass>>;
|
|
86
90
|
};
|
|
87
91
|
/**
|
|
88
92
|
* PaymentMethodsApi - factory interface
|
|
@@ -92,12 +96,12 @@ export declare const PaymentMethodsApiFactory: (configuration?: Configuration, b
|
|
|
92
96
|
/**
|
|
93
97
|
* This will create payment method in the database as well as in the PSP. The newly created payment method will be set as default payment method will be used by the customer to pay or receive a refund.
|
|
94
98
|
* @summary Create the payment method
|
|
95
|
-
* @param {
|
|
99
|
+
* @param {CreatePspPaymentMethodRequestDto} createPspPaymentMethodRequestDto
|
|
96
100
|
* @param {string} [authorization] Bearer Token
|
|
97
101
|
* @param {*} [options] Override http request option.
|
|
98
102
|
* @throws {RequiredError}
|
|
99
103
|
*/
|
|
100
|
-
createPaymentMethod(
|
|
104
|
+
createPaymentMethod(createPspPaymentMethodRequestDto: CreatePspPaymentMethodRequestDto, authorization?: string, options?: any): AxiosPromise<CreatePaymentMethodResponseClass>;
|
|
101
105
|
/**
|
|
102
106
|
* Retrieves the details of the payment method that was previously created. Supply the unique payment method code that was returned when you created it and Emil Api will return the corresponding payment method information.
|
|
103
107
|
* @summary Retrieve the payment method
|
|
@@ -106,7 +110,7 @@ export declare const PaymentMethodsApiFactory: (configuration?: Configuration, b
|
|
|
106
110
|
* @param {*} [options] Override http request option.
|
|
107
111
|
* @throws {RequiredError}
|
|
108
112
|
*/
|
|
109
|
-
getPaymentMethod(code: string, authorization?: string, options?: any): AxiosPromise<
|
|
113
|
+
getPaymentMethod(code: string, authorization?: string, options?: any): AxiosPromise<GetPaymentMethodResponseClass>;
|
|
110
114
|
/**
|
|
111
115
|
* Returns a list of payment methods you have previously created. The payment methods are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
|
|
112
116
|
* @summary List payment methods
|
|
@@ -118,7 +122,7 @@ export declare const PaymentMethodsApiFactory: (configuration?: Configuration, b
|
|
|
118
122
|
* @param {*} [options] Override http request option.
|
|
119
123
|
* @throws {RequiredError}
|
|
120
124
|
*/
|
|
121
|
-
listPaymentMethods(authorization?: string, filter?: string, filters?: string, order?: string, expand?: string, options?: any): AxiosPromise<
|
|
125
|
+
listPaymentMethods(authorization?: string, filter?: string, filters?: string, order?: string, expand?: string, options?: any): AxiosPromise<ListPaymentMethodsResponseClass>;
|
|
122
126
|
};
|
|
123
127
|
/**
|
|
124
128
|
* Request parameters for createPaymentMethod operation in PaymentMethodsApi.
|
|
@@ -128,10 +132,10 @@ export declare const PaymentMethodsApiFactory: (configuration?: Configuration, b
|
|
|
128
132
|
export interface PaymentMethodsApiCreatePaymentMethodRequest {
|
|
129
133
|
/**
|
|
130
134
|
*
|
|
131
|
-
* @type {
|
|
135
|
+
* @type {CreatePspPaymentMethodRequestDto}
|
|
132
136
|
* @memberof PaymentMethodsApiCreatePaymentMethod
|
|
133
137
|
*/
|
|
134
|
-
readonly
|
|
138
|
+
readonly createPspPaymentMethodRequestDto: CreatePspPaymentMethodRequestDto;
|
|
135
139
|
/**
|
|
136
140
|
* Bearer Token
|
|
137
141
|
* @type {string}
|
|
@@ -210,7 +214,7 @@ export declare class PaymentMethodsApi extends BaseAPI {
|
|
|
210
214
|
* @throws {RequiredError}
|
|
211
215
|
* @memberof PaymentMethodsApi
|
|
212
216
|
*/
|
|
213
|
-
createPaymentMethod(requestParameters: PaymentMethodsApiCreatePaymentMethodRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<
|
|
217
|
+
createPaymentMethod(requestParameters: PaymentMethodsApiCreatePaymentMethodRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<CreatePaymentMethodResponseClass, any>>;
|
|
214
218
|
/**
|
|
215
219
|
* Retrieves the details of the payment method that was previously created. Supply the unique payment method code that was returned when you created it and Emil Api will return the corresponding payment method information.
|
|
216
220
|
* @summary Retrieve the payment method
|
|
@@ -219,7 +223,7 @@ export declare class PaymentMethodsApi extends BaseAPI {
|
|
|
219
223
|
* @throws {RequiredError}
|
|
220
224
|
* @memberof PaymentMethodsApi
|
|
221
225
|
*/
|
|
222
|
-
getPaymentMethod(requestParameters: PaymentMethodsApiGetPaymentMethodRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<
|
|
226
|
+
getPaymentMethod(requestParameters: PaymentMethodsApiGetPaymentMethodRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<GetPaymentMethodResponseClass, any>>;
|
|
223
227
|
/**
|
|
224
228
|
* Returns a list of payment methods you have previously created. The payment methods are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
|
|
225
229
|
* @summary List payment methods
|
|
@@ -228,5 +232,5 @@ export declare class PaymentMethodsApi extends BaseAPI {
|
|
|
228
232
|
* @throws {RequiredError}
|
|
229
233
|
* @memberof PaymentMethodsApi
|
|
230
234
|
*/
|
|
231
|
-
listPaymentMethods(requestParameters?: PaymentMethodsApiListPaymentMethodsRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<
|
|
235
|
+
listPaymentMethods(requestParameters?: PaymentMethodsApiListPaymentMethodsRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<ListPaymentMethodsResponseClass, any>>;
|
|
232
236
|
}
|
|
@@ -95,20 +95,20 @@ var PaymentMethodsApiAxiosParamCreator = function (configuration) {
|
|
|
95
95
|
/**
|
|
96
96
|
* This will create payment method in the database as well as in the PSP. The newly created payment method will be set as default payment method will be used by the customer to pay or receive a refund.
|
|
97
97
|
* @summary Create the payment method
|
|
98
|
-
* @param {
|
|
98
|
+
* @param {CreatePspPaymentMethodRequestDto} createPspPaymentMethodRequestDto
|
|
99
99
|
* @param {string} [authorization] Bearer Token
|
|
100
100
|
* @param {*} [options] Override http request option.
|
|
101
101
|
* @throws {RequiredError}
|
|
102
102
|
*/
|
|
103
|
-
createPaymentMethod: function (
|
|
103
|
+
createPaymentMethod: function (createPspPaymentMethodRequestDto, authorization, options) {
|
|
104
104
|
if (options === void 0) { options = {}; }
|
|
105
105
|
return __awaiter(_this, void 0, void 0, function () {
|
|
106
106
|
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
107
107
|
return __generator(this, function (_a) {
|
|
108
108
|
switch (_a.label) {
|
|
109
109
|
case 0:
|
|
110
|
-
// verify required parameter '
|
|
111
|
-
(0, common_1.assertParamExists)('createPaymentMethod', '
|
|
110
|
+
// verify required parameter 'createPspPaymentMethodRequestDto' is not null or undefined
|
|
111
|
+
(0, common_1.assertParamExists)('createPaymentMethod', 'createPspPaymentMethodRequestDto', createPspPaymentMethodRequestDto);
|
|
112
112
|
localVarPath = "/paymentservice/v1/payment-methods";
|
|
113
113
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
114
114
|
if (configuration) {
|
|
@@ -132,7 +132,7 @@ var PaymentMethodsApiAxiosParamCreator = function (configuration) {
|
|
|
132
132
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
133
133
|
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
134
134
|
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
135
|
-
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(
|
|
135
|
+
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(createPspPaymentMethodRequestDto, localVarRequestOptions, configuration);
|
|
136
136
|
return [2 /*return*/, {
|
|
137
137
|
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
138
138
|
options: localVarRequestOptions,
|
|
@@ -262,17 +262,17 @@ var PaymentMethodsApiFp = function (configuration) {
|
|
|
262
262
|
/**
|
|
263
263
|
* This will create payment method in the database as well as in the PSP. The newly created payment method will be set as default payment method will be used by the customer to pay or receive a refund.
|
|
264
264
|
* @summary Create the payment method
|
|
265
|
-
* @param {
|
|
265
|
+
* @param {CreatePspPaymentMethodRequestDto} createPspPaymentMethodRequestDto
|
|
266
266
|
* @param {string} [authorization] Bearer Token
|
|
267
267
|
* @param {*} [options] Override http request option.
|
|
268
268
|
* @throws {RequiredError}
|
|
269
269
|
*/
|
|
270
|
-
createPaymentMethod: function (
|
|
270
|
+
createPaymentMethod: function (createPspPaymentMethodRequestDto, authorization, options) {
|
|
271
271
|
return __awaiter(this, void 0, void 0, function () {
|
|
272
272
|
var localVarAxiosArgs;
|
|
273
273
|
return __generator(this, function (_a) {
|
|
274
274
|
switch (_a.label) {
|
|
275
|
-
case 0: return [4 /*yield*/, localVarAxiosParamCreator.createPaymentMethod(
|
|
275
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.createPaymentMethod(createPspPaymentMethodRequestDto, authorization, options)];
|
|
276
276
|
case 1:
|
|
277
277
|
localVarAxiosArgs = _a.sent();
|
|
278
278
|
return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
@@ -338,13 +338,13 @@ var PaymentMethodsApiFactory = function (configuration, basePath, axios) {
|
|
|
338
338
|
/**
|
|
339
339
|
* This will create payment method in the database as well as in the PSP. The newly created payment method will be set as default payment method will be used by the customer to pay or receive a refund.
|
|
340
340
|
* @summary Create the payment method
|
|
341
|
-
* @param {
|
|
341
|
+
* @param {CreatePspPaymentMethodRequestDto} createPspPaymentMethodRequestDto
|
|
342
342
|
* @param {string} [authorization] Bearer Token
|
|
343
343
|
* @param {*} [options] Override http request option.
|
|
344
344
|
* @throws {RequiredError}
|
|
345
345
|
*/
|
|
346
|
-
createPaymentMethod: function (
|
|
347
|
-
return localVarFp.createPaymentMethod(
|
|
346
|
+
createPaymentMethod: function (createPspPaymentMethodRequestDto, authorization, options) {
|
|
347
|
+
return localVarFp.createPaymentMethod(createPspPaymentMethodRequestDto, authorization, options).then(function (request) { return request(axios, basePath); });
|
|
348
348
|
},
|
|
349
349
|
/**
|
|
350
350
|
* Retrieves the details of the payment method that was previously created. Supply the unique payment method code that was returned when you created it and Emil Api will return the corresponding payment method information.
|
|
@@ -395,7 +395,7 @@ var PaymentMethodsApi = /** @class */ (function (_super) {
|
|
|
395
395
|
*/
|
|
396
396
|
PaymentMethodsApi.prototype.createPaymentMethod = function (requestParameters, options) {
|
|
397
397
|
var _this = this;
|
|
398
|
-
return (0, exports.PaymentMethodsApiFp)(this.configuration).createPaymentMethod(requestParameters.
|
|
398
|
+
return (0, exports.PaymentMethodsApiFp)(this.configuration).createPaymentMethod(requestParameters.createPspPaymentMethodRequestDto, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
399
399
|
};
|
|
400
400
|
/**
|
|
401
401
|
* Retrieves the details of the payment method that was previously created. Supply the unique payment method code that was returned when you created it and Emil Api will return the corresponding payment method information.
|
|
@@ -13,7 +13,11 @@ import { AxiosPromise, AxiosInstance, AxiosRequestConfig } from 'axios';
|
|
|
13
13
|
import { Configuration } from '../configuration';
|
|
14
14
|
import { RequestArgs, BaseAPI } from '../base';
|
|
15
15
|
import { CreatePaymentReminderRequestDto } from '../models';
|
|
16
|
+
import { CreatePaymentReminderResponseClass } from '../models';
|
|
16
17
|
import { DeactivatePaymentReminderRequestDto } from '../models';
|
|
18
|
+
import { DeactivatePaymentReminderResponseClass } from '../models';
|
|
19
|
+
import { GetPaymentReminderResponseClass } from '../models';
|
|
20
|
+
import { ListPaymentRemindersResponseClass } from '../models';
|
|
17
21
|
/**
|
|
18
22
|
* PaymentRemindersApi - axios parameter creator
|
|
19
23
|
* @export
|
|
@@ -73,7 +77,7 @@ export declare const PaymentRemindersApiFp: (configuration?: Configuration) => {
|
|
|
73
77
|
* @param {*} [options] Override http request option.
|
|
74
78
|
* @throws {RequiredError}
|
|
75
79
|
*/
|
|
76
|
-
createPaymentReminder(createPaymentReminderRequestDto: CreatePaymentReminderRequestDto, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<
|
|
80
|
+
createPaymentReminder(createPaymentReminderRequestDto: CreatePaymentReminderRequestDto, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CreatePaymentReminderResponseClass>>;
|
|
77
81
|
/**
|
|
78
82
|
* This will deactivate the payment reminder
|
|
79
83
|
* @summary Deactivate payment reminder
|
|
@@ -83,7 +87,7 @@ export declare const PaymentRemindersApiFp: (configuration?: Configuration) => {
|
|
|
83
87
|
* @param {*} [options] Override http request option.
|
|
84
88
|
* @throws {RequiredError}
|
|
85
89
|
*/
|
|
86
|
-
deactivatePaymentReminder(code: string, deactivatePaymentReminderRequestDto: DeactivatePaymentReminderRequestDto, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<
|
|
90
|
+
deactivatePaymentReminder(code: string, deactivatePaymentReminderRequestDto: DeactivatePaymentReminderRequestDto, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DeactivatePaymentReminderResponseClass>>;
|
|
87
91
|
/**
|
|
88
92
|
* Retrieves the details of the payment reminder that was previously created. Supply the unique payment reminder code that was returned when you created it and Emil Api will return the corresponding payment reminder information.
|
|
89
93
|
* @summary Retrieve the payment reminder
|
|
@@ -92,7 +96,7 @@ export declare const PaymentRemindersApiFp: (configuration?: Configuration) => {
|
|
|
92
96
|
* @param {*} [options] Override http request option.
|
|
93
97
|
* @throws {RequiredError}
|
|
94
98
|
*/
|
|
95
|
-
getPolicy(code: string, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<
|
|
99
|
+
getPolicy(code: string, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetPaymentReminderResponseClass>>;
|
|
96
100
|
/**
|
|
97
101
|
* Returns a list of payment reminders you have previously created. The payment reminders are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
|
|
98
102
|
* @summary List payment reminders
|
|
@@ -104,7 +108,7 @@ export declare const PaymentRemindersApiFp: (configuration?: Configuration) => {
|
|
|
104
108
|
* @param {*} [options] Override http request option.
|
|
105
109
|
* @throws {RequiredError}
|
|
106
110
|
*/
|
|
107
|
-
listPaymentReminders(authorization?: string, filter?: string, filters?: string, order?: string, expand?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<
|
|
111
|
+
listPaymentReminders(authorization?: string, filter?: string, filters?: string, order?: string, expand?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ListPaymentRemindersResponseClass>>;
|
|
108
112
|
};
|
|
109
113
|
/**
|
|
110
114
|
* PaymentRemindersApi - factory interface
|
|
@@ -119,7 +123,7 @@ export declare const PaymentRemindersApiFactory: (configuration?: Configuration,
|
|
|
119
123
|
* @param {*} [options] Override http request option.
|
|
120
124
|
* @throws {RequiredError}
|
|
121
125
|
*/
|
|
122
|
-
createPaymentReminder(createPaymentReminderRequestDto: CreatePaymentReminderRequestDto, authorization?: string, options?: any): AxiosPromise<
|
|
126
|
+
createPaymentReminder(createPaymentReminderRequestDto: CreatePaymentReminderRequestDto, authorization?: string, options?: any): AxiosPromise<CreatePaymentReminderResponseClass>;
|
|
123
127
|
/**
|
|
124
128
|
* This will deactivate the payment reminder
|
|
125
129
|
* @summary Deactivate payment reminder
|
|
@@ -129,7 +133,7 @@ export declare const PaymentRemindersApiFactory: (configuration?: Configuration,
|
|
|
129
133
|
* @param {*} [options] Override http request option.
|
|
130
134
|
* @throws {RequiredError}
|
|
131
135
|
*/
|
|
132
|
-
deactivatePaymentReminder(code: string, deactivatePaymentReminderRequestDto: DeactivatePaymentReminderRequestDto, authorization?: string, options?: any): AxiosPromise<
|
|
136
|
+
deactivatePaymentReminder(code: string, deactivatePaymentReminderRequestDto: DeactivatePaymentReminderRequestDto, authorization?: string, options?: any): AxiosPromise<DeactivatePaymentReminderResponseClass>;
|
|
133
137
|
/**
|
|
134
138
|
* Retrieves the details of the payment reminder that was previously created. Supply the unique payment reminder code that was returned when you created it and Emil Api will return the corresponding payment reminder information.
|
|
135
139
|
* @summary Retrieve the payment reminder
|
|
@@ -138,7 +142,7 @@ export declare const PaymentRemindersApiFactory: (configuration?: Configuration,
|
|
|
138
142
|
* @param {*} [options] Override http request option.
|
|
139
143
|
* @throws {RequiredError}
|
|
140
144
|
*/
|
|
141
|
-
getPolicy(code: string, authorization?: string, options?: any): AxiosPromise<
|
|
145
|
+
getPolicy(code: string, authorization?: string, options?: any): AxiosPromise<GetPaymentReminderResponseClass>;
|
|
142
146
|
/**
|
|
143
147
|
* Returns a list of payment reminders you have previously created. The payment reminders are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
|
|
144
148
|
* @summary List payment reminders
|
|
@@ -150,7 +154,7 @@ export declare const PaymentRemindersApiFactory: (configuration?: Configuration,
|
|
|
150
154
|
* @param {*} [options] Override http request option.
|
|
151
155
|
* @throws {RequiredError}
|
|
152
156
|
*/
|
|
153
|
-
listPaymentReminders(authorization?: string, filter?: string, filters?: string, order?: string, expand?: string, options?: any): AxiosPromise<
|
|
157
|
+
listPaymentReminders(authorization?: string, filter?: string, filters?: string, order?: string, expand?: string, options?: any): AxiosPromise<ListPaymentRemindersResponseClass>;
|
|
154
158
|
};
|
|
155
159
|
/**
|
|
156
160
|
* Request parameters for createPaymentReminder operation in PaymentRemindersApi.
|
|
@@ -267,7 +271,7 @@ export declare class PaymentRemindersApi extends BaseAPI {
|
|
|
267
271
|
* @throws {RequiredError}
|
|
268
272
|
* @memberof PaymentRemindersApi
|
|
269
273
|
*/
|
|
270
|
-
createPaymentReminder(requestParameters: PaymentRemindersApiCreatePaymentReminderRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<
|
|
274
|
+
createPaymentReminder(requestParameters: PaymentRemindersApiCreatePaymentReminderRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<CreatePaymentReminderResponseClass, any>>;
|
|
271
275
|
/**
|
|
272
276
|
* This will deactivate the payment reminder
|
|
273
277
|
* @summary Deactivate payment reminder
|
|
@@ -276,7 +280,7 @@ export declare class PaymentRemindersApi extends BaseAPI {
|
|
|
276
280
|
* @throws {RequiredError}
|
|
277
281
|
* @memberof PaymentRemindersApi
|
|
278
282
|
*/
|
|
279
|
-
deactivatePaymentReminder(requestParameters: PaymentRemindersApiDeactivatePaymentReminderRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<
|
|
283
|
+
deactivatePaymentReminder(requestParameters: PaymentRemindersApiDeactivatePaymentReminderRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<DeactivatePaymentReminderResponseClass, any>>;
|
|
280
284
|
/**
|
|
281
285
|
* Retrieves the details of the payment reminder that was previously created. Supply the unique payment reminder code that was returned when you created it and Emil Api will return the corresponding payment reminder information.
|
|
282
286
|
* @summary Retrieve the payment reminder
|
|
@@ -285,7 +289,7 @@ export declare class PaymentRemindersApi extends BaseAPI {
|
|
|
285
289
|
* @throws {RequiredError}
|
|
286
290
|
* @memberof PaymentRemindersApi
|
|
287
291
|
*/
|
|
288
|
-
getPolicy(requestParameters: PaymentRemindersApiGetPolicyRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<
|
|
292
|
+
getPolicy(requestParameters: PaymentRemindersApiGetPolicyRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<GetPaymentReminderResponseClass, any>>;
|
|
289
293
|
/**
|
|
290
294
|
* Returns a list of payment reminders you have previously created. The payment reminders are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
|
|
291
295
|
* @summary List payment reminders
|
|
@@ -294,5 +298,5 @@ export declare class PaymentRemindersApi extends BaseAPI {
|
|
|
294
298
|
* @throws {RequiredError}
|
|
295
299
|
* @memberof PaymentRemindersApi
|
|
296
300
|
*/
|
|
297
|
-
listPaymentReminders(requestParameters?: PaymentRemindersApiListPaymentRemindersRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<
|
|
301
|
+
listPaymentReminders(requestParameters?: PaymentRemindersApiListPaymentRemindersRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<ListPaymentRemindersResponseClass, any>>;
|
|
298
302
|
}
|
|
@@ -12,6 +12,10 @@
|
|
|
12
12
|
import { AxiosPromise, AxiosInstance, AxiosRequestConfig } from 'axios';
|
|
13
13
|
import { Configuration } from '../configuration';
|
|
14
14
|
import { RequestArgs, BaseAPI } from '../base';
|
|
15
|
+
import { CompletePaymentSetupRequestDto } from '../models';
|
|
16
|
+
import { CompletePaymentSetupResponseClass } from '../models';
|
|
17
|
+
import { InitiatePaymentSetupRequestDto } from '../models';
|
|
18
|
+
import { InitiatePaymentSetupResponseClass } from '../models';
|
|
15
19
|
/**
|
|
16
20
|
* PaymentSetupApi - axios parameter creator
|
|
17
21
|
* @export
|
|
@@ -20,21 +24,21 @@ export declare const PaymentSetupApiAxiosParamCreator: (configuration?: Configur
|
|
|
20
24
|
/**
|
|
21
25
|
* This endpoint is used to save user-provided payment information. The service will send a request to the configured PSP to securely store the payment data.
|
|
22
26
|
* @summary Complete a payment setup
|
|
23
|
-
* @param {
|
|
27
|
+
* @param {CompletePaymentSetupRequestDto} completePaymentSetupRequestDto
|
|
24
28
|
* @param {string} [authorization] Bearer Token
|
|
25
29
|
* @param {*} [options] Override http request option.
|
|
26
30
|
* @throws {RequiredError}
|
|
27
31
|
*/
|
|
28
|
-
completePaymentSetup: (
|
|
32
|
+
completePaymentSetup: (completePaymentSetupRequestDto: CompletePaymentSetupRequestDto, authorization?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
29
33
|
/**
|
|
30
34
|
* This initiates an account within the configured payment service provider, whichgenerates a secret token, allowing the user to add their payment information.
|
|
31
35
|
* @summary Initiate a payment setup
|
|
32
|
-
* @param {
|
|
36
|
+
* @param {InitiatePaymentSetupRequestDto} initiatePaymentSetupRequestDto
|
|
33
37
|
* @param {string} [authorization] Bearer Token
|
|
34
38
|
* @param {*} [options] Override http request option.
|
|
35
39
|
* @throws {RequiredError}
|
|
36
40
|
*/
|
|
37
|
-
initiatePaymentSetup: (
|
|
41
|
+
initiatePaymentSetup: (initiatePaymentSetupRequestDto: InitiatePaymentSetupRequestDto, authorization?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
38
42
|
};
|
|
39
43
|
/**
|
|
40
44
|
* PaymentSetupApi - functional programming interface
|
|
@@ -44,21 +48,21 @@ export declare const PaymentSetupApiFp: (configuration?: Configuration) => {
|
|
|
44
48
|
/**
|
|
45
49
|
* This endpoint is used to save user-provided payment information. The service will send a request to the configured PSP to securely store the payment data.
|
|
46
50
|
* @summary Complete a payment setup
|
|
47
|
-
* @param {
|
|
51
|
+
* @param {CompletePaymentSetupRequestDto} completePaymentSetupRequestDto
|
|
48
52
|
* @param {string} [authorization] Bearer Token
|
|
49
53
|
* @param {*} [options] Override http request option.
|
|
50
54
|
* @throws {RequiredError}
|
|
51
55
|
*/
|
|
52
|
-
completePaymentSetup(
|
|
56
|
+
completePaymentSetup(completePaymentSetupRequestDto: CompletePaymentSetupRequestDto, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CompletePaymentSetupResponseClass>>;
|
|
53
57
|
/**
|
|
54
58
|
* This initiates an account within the configured payment service provider, whichgenerates a secret token, allowing the user to add their payment information.
|
|
55
59
|
* @summary Initiate a payment setup
|
|
56
|
-
* @param {
|
|
60
|
+
* @param {InitiatePaymentSetupRequestDto} initiatePaymentSetupRequestDto
|
|
57
61
|
* @param {string} [authorization] Bearer Token
|
|
58
62
|
* @param {*} [options] Override http request option.
|
|
59
63
|
* @throws {RequiredError}
|
|
60
64
|
*/
|
|
61
|
-
initiatePaymentSetup(
|
|
65
|
+
initiatePaymentSetup(initiatePaymentSetupRequestDto: InitiatePaymentSetupRequestDto, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<InitiatePaymentSetupResponseClass>>;
|
|
62
66
|
};
|
|
63
67
|
/**
|
|
64
68
|
* PaymentSetupApi - factory interface
|
|
@@ -68,21 +72,21 @@ export declare const PaymentSetupApiFactory: (configuration?: Configuration, bas
|
|
|
68
72
|
/**
|
|
69
73
|
* This endpoint is used to save user-provided payment information. The service will send a request to the configured PSP to securely store the payment data.
|
|
70
74
|
* @summary Complete a payment setup
|
|
71
|
-
* @param {
|
|
75
|
+
* @param {CompletePaymentSetupRequestDto} completePaymentSetupRequestDto
|
|
72
76
|
* @param {string} [authorization] Bearer Token
|
|
73
77
|
* @param {*} [options] Override http request option.
|
|
74
78
|
* @throws {RequiredError}
|
|
75
79
|
*/
|
|
76
|
-
completePaymentSetup(
|
|
80
|
+
completePaymentSetup(completePaymentSetupRequestDto: CompletePaymentSetupRequestDto, authorization?: string, options?: any): AxiosPromise<CompletePaymentSetupResponseClass>;
|
|
77
81
|
/**
|
|
78
82
|
* This initiates an account within the configured payment service provider, whichgenerates a secret token, allowing the user to add their payment information.
|
|
79
83
|
* @summary Initiate a payment setup
|
|
80
|
-
* @param {
|
|
84
|
+
* @param {InitiatePaymentSetupRequestDto} initiatePaymentSetupRequestDto
|
|
81
85
|
* @param {string} [authorization] Bearer Token
|
|
82
86
|
* @param {*} [options] Override http request option.
|
|
83
87
|
* @throws {RequiredError}
|
|
84
88
|
*/
|
|
85
|
-
initiatePaymentSetup(
|
|
89
|
+
initiatePaymentSetup(initiatePaymentSetupRequestDto: InitiatePaymentSetupRequestDto, authorization?: string, options?: any): AxiosPromise<InitiatePaymentSetupResponseClass>;
|
|
86
90
|
};
|
|
87
91
|
/**
|
|
88
92
|
* Request parameters for completePaymentSetup operation in PaymentSetupApi.
|
|
@@ -92,10 +96,10 @@ export declare const PaymentSetupApiFactory: (configuration?: Configuration, bas
|
|
|
92
96
|
export interface PaymentSetupApiCompletePaymentSetupRequest {
|
|
93
97
|
/**
|
|
94
98
|
*
|
|
95
|
-
* @type {
|
|
99
|
+
* @type {CompletePaymentSetupRequestDto}
|
|
96
100
|
* @memberof PaymentSetupApiCompletePaymentSetup
|
|
97
101
|
*/
|
|
98
|
-
readonly
|
|
102
|
+
readonly completePaymentSetupRequestDto: CompletePaymentSetupRequestDto;
|
|
99
103
|
/**
|
|
100
104
|
* Bearer Token
|
|
101
105
|
* @type {string}
|
|
@@ -111,10 +115,10 @@ export interface PaymentSetupApiCompletePaymentSetupRequest {
|
|
|
111
115
|
export interface PaymentSetupApiInitiatePaymentSetupRequest {
|
|
112
116
|
/**
|
|
113
117
|
*
|
|
114
|
-
* @type {
|
|
118
|
+
* @type {InitiatePaymentSetupRequestDto}
|
|
115
119
|
* @memberof PaymentSetupApiInitiatePaymentSetup
|
|
116
120
|
*/
|
|
117
|
-
readonly
|
|
121
|
+
readonly initiatePaymentSetupRequestDto: InitiatePaymentSetupRequestDto;
|
|
118
122
|
/**
|
|
119
123
|
* Bearer Token
|
|
120
124
|
* @type {string}
|
|
@@ -137,7 +141,7 @@ export declare class PaymentSetupApi extends BaseAPI {
|
|
|
137
141
|
* @throws {RequiredError}
|
|
138
142
|
* @memberof PaymentSetupApi
|
|
139
143
|
*/
|
|
140
|
-
completePaymentSetup(requestParameters: PaymentSetupApiCompletePaymentSetupRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<
|
|
144
|
+
completePaymentSetup(requestParameters: PaymentSetupApiCompletePaymentSetupRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<CompletePaymentSetupResponseClass, any>>;
|
|
141
145
|
/**
|
|
142
146
|
* This initiates an account within the configured payment service provider, whichgenerates a secret token, allowing the user to add their payment information.
|
|
143
147
|
* @summary Initiate a payment setup
|
|
@@ -146,5 +150,5 @@ export declare class PaymentSetupApi extends BaseAPI {
|
|
|
146
150
|
* @throws {RequiredError}
|
|
147
151
|
* @memberof PaymentSetupApi
|
|
148
152
|
*/
|
|
149
|
-
initiatePaymentSetup(requestParameters: PaymentSetupApiInitiatePaymentSetupRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<
|
|
153
|
+
initiatePaymentSetup(requestParameters: PaymentSetupApiInitiatePaymentSetupRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<InitiatePaymentSetupResponseClass, any>>;
|
|
150
154
|
}
|