@emilgroup/payment-sdk 1.5.0 → 1.5.1-beta.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.openapi-generator/FILES +0 -50
- package/README.md +2 -2
- package/api/bank-accounts-api.ts +12 -20
- package/api/bank-transaction-api.ts +10 -20
- package/api/payment-methods-api.ts +18 -26
- package/api/payment-reminders-api.ts +8 -16
- package/api/payment-setup-api.ts +28 -36
- package/api/payments-api.ts +6 -12
- package/api/refunds-api.ts +6 -12
- package/api/webhooks-api.ts +21 -8
- package/dist/api/bank-accounts-api.d.ts +18 -22
- package/dist/api/bank-transaction-api.d.ts +15 -20
- package/dist/api/payment-methods-api.d.ts +15 -19
- package/dist/api/payment-methods-api.js +12 -12
- package/dist/api/payment-reminders-api.d.ts +12 -16
- 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 +9 -12
- package/dist/api/refunds-api.d.ts +9 -12
- package/dist/api/webhooks-api.d.ts +12 -3
- package/dist/api/webhooks-api.js +14 -8
- package/dist/models/create-bank-account-request-dto.d.ts +2 -2
- package/dist/models/create-payment-request-dto.d.ts +1 -1
- package/dist/models/index.d.ts +0 -50
- package/dist/models/index.js +0 -50
- package/dist/models/validate-pspconfig-request-dto.d.ts +1 -8
- package/dist/models/validate-pspconfig-request-dto.js +0 -7
- package/models/create-bank-account-request-dto.ts +2 -2
- package/models/create-payment-request-dto.ts +1 -1
- package/models/index.ts +0 -50
- 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 -84
- package/dist/models/bank-account-class-without-expand-properties.js +0 -15
- package/dist/models/bank-account-class.d.ts +0 -91
- package/dist/models/bank-account-class.js +0 -15
- package/dist/models/bank-transaction-class.d.ts +0 -140
- 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 -77
- package/dist/models/complete-stripe-payment-setup-request-dto.js +0 -32
- 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 -102
- 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 -44
- 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 -108
- package/dist/models/payment-class-without-expand-properties.js +0 -15
- package/dist/models/payment-class.d.ts +0 -115
- package/dist/models/payment-class.js +0 -15
- package/dist/models/payment-method-class.d.ts +0 -78
- package/dist/models/payment-method-class.js +0 -15
- package/dist/models/payment-reminder-class.d.ts +0 -102
- package/dist/models/payment-reminder-class.js +0 -15
- package/dist/models/primary-bank-account-response-class.d.ts +0 -54
- package/dist/models/primary-bank-account-response-class.js +0 -15
- package/dist/models/refund-class.d.ts +0 -118
- package/dist/models/refund-class.js +0 -29
- package/dist/models/refund-item-class.d.ts +0 -114
- 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/shared-transaction-class.d.ts +0 -72
- package/dist/models/shared-transaction-class.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/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 -108
- 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 -90
- package/models/bank-account-class.ts +0 -97
- package/models/bank-transaction-class.ts +0 -146
- 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 -86
- 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 -108
- 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 -50
- 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 -114
- package/models/payment-class.ts +0 -121
- package/models/payment-method-class.ts +0 -84
- package/models/payment-reminder-class.ts +0 -108
- package/models/primary-bank-account-response-class.ts +0 -60
- package/models/refund-class.ts +0 -128
- package/models/refund-item-class.ts +0 -120
- package/models/sepa-direct-dto.ts +0 -30
- package/models/shared-transaction-class.ts +0 -78
- package/models/symphony-profile-limited-response-dto.ts +0 -48
- package/models/unlink-bank-transactions-response-class.ts +0 -31
- package/models/unlinked-bank-transaction-response-class.ts +0 -114
- package/models/update-bank-account-response-class.ts +0 -31
|
@@ -12,13 +12,8 @@
|
|
|
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';
|
|
17
15
|
import { LinkBankTransactionRequestDtoRest } from '../models';
|
|
18
|
-
import { LinkBankTransactionsResponseClass } from '../models';
|
|
19
|
-
import { ListBankTransactionsResponseClass } from '../models';
|
|
20
16
|
import { UnlinkBankTransactionRequestDtoRest } from '../models';
|
|
21
|
-
import { UnlinkBankTransactionsResponseClass } from '../models';
|
|
22
17
|
/**
|
|
23
18
|
* BankTransactionApi - axios parameter creator
|
|
24
19
|
* @export
|
|
@@ -91,7 +86,7 @@ export declare const BankTransactionApiFp: (configuration?: Configuration) => {
|
|
|
91
86
|
* @param {*} [options] Override http request option.
|
|
92
87
|
* @throws {RequiredError}
|
|
93
88
|
*/
|
|
94
|
-
getBankTransaction(code: string, authorization?: string, expand?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<
|
|
89
|
+
getBankTransaction(code: string, authorization?: string, expand?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
|
|
95
90
|
/**
|
|
96
91
|
* This will import bank transactions from a swift MT940 file
|
|
97
92
|
* @summary Create the bank transactions
|
|
@@ -100,7 +95,7 @@ export declare const BankTransactionApiFp: (configuration?: Configuration) => {
|
|
|
100
95
|
* @param {*} [options] Override http request option.
|
|
101
96
|
* @throws {RequiredError}
|
|
102
97
|
*/
|
|
103
|
-
importBankTransactions(file: any, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<
|
|
98
|
+
importBankTransactions(file: any, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
|
|
104
99
|
/**
|
|
105
100
|
* Links a bank transaction with an invoice
|
|
106
101
|
* @summary Link bank transaction
|
|
@@ -110,7 +105,7 @@ export declare const BankTransactionApiFp: (configuration?: Configuration) => {
|
|
|
110
105
|
* @param {*} [options] Override http request option.
|
|
111
106
|
* @throws {RequiredError}
|
|
112
107
|
*/
|
|
113
|
-
linkBankTransaction(code: string, linkBankTransactionRequestDtoRest: LinkBankTransactionRequestDtoRest, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<
|
|
108
|
+
linkBankTransaction(code: string, linkBankTransactionRequestDtoRest: LinkBankTransactionRequestDtoRest, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
|
|
114
109
|
/**
|
|
115
110
|
* 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.
|
|
116
111
|
* @summary List bank transactions
|
|
@@ -123,7 +118,7 @@ export declare const BankTransactionApiFp: (configuration?: Configuration) => {
|
|
|
123
118
|
* @param {*} [options] Override http request option.
|
|
124
119
|
* @throws {RequiredError}
|
|
125
120
|
*/
|
|
126
|
-
listBankTransactions(authorization?: string, filter?: string, filters?: string, search?: string, order?: string, expand?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<
|
|
121
|
+
listBankTransactions(authorization?: string, filter?: string, filters?: string, search?: string, order?: string, expand?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
|
|
127
122
|
/**
|
|
128
123
|
* Unlinks an already linked bank transaction
|
|
129
124
|
* @summary Unlink bank transaction
|
|
@@ -133,7 +128,7 @@ export declare const BankTransactionApiFp: (configuration?: Configuration) => {
|
|
|
133
128
|
* @param {*} [options] Override http request option.
|
|
134
129
|
* @throws {RequiredError}
|
|
135
130
|
*/
|
|
136
|
-
unlinkBankTransaction(code: string, unlinkBankTransactionRequestDtoRest: UnlinkBankTransactionRequestDtoRest, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<
|
|
131
|
+
unlinkBankTransaction(code: string, unlinkBankTransactionRequestDtoRest: UnlinkBankTransactionRequestDtoRest, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
|
|
137
132
|
};
|
|
138
133
|
/**
|
|
139
134
|
* BankTransactionApi - factory interface
|
|
@@ -149,7 +144,7 @@ export declare const BankTransactionApiFactory: (configuration?: Configuration,
|
|
|
149
144
|
* @param {*} [options] Override http request option.
|
|
150
145
|
* @throws {RequiredError}
|
|
151
146
|
*/
|
|
152
|
-
getBankTransaction(code: string, authorization?: string, expand?: string, options?: any): AxiosPromise<
|
|
147
|
+
getBankTransaction(code: string, authorization?: string, expand?: string, options?: any): AxiosPromise<void>;
|
|
153
148
|
/**
|
|
154
149
|
* This will import bank transactions from a swift MT940 file
|
|
155
150
|
* @summary Create the bank transactions
|
|
@@ -158,7 +153,7 @@ export declare const BankTransactionApiFactory: (configuration?: Configuration,
|
|
|
158
153
|
* @param {*} [options] Override http request option.
|
|
159
154
|
* @throws {RequiredError}
|
|
160
155
|
*/
|
|
161
|
-
importBankTransactions(file: any, authorization?: string, options?: any): AxiosPromise<
|
|
156
|
+
importBankTransactions(file: any, authorization?: string, options?: any): AxiosPromise<void>;
|
|
162
157
|
/**
|
|
163
158
|
* Links a bank transaction with an invoice
|
|
164
159
|
* @summary Link bank transaction
|
|
@@ -168,7 +163,7 @@ export declare const BankTransactionApiFactory: (configuration?: Configuration,
|
|
|
168
163
|
* @param {*} [options] Override http request option.
|
|
169
164
|
* @throws {RequiredError}
|
|
170
165
|
*/
|
|
171
|
-
linkBankTransaction(code: string, linkBankTransactionRequestDtoRest: LinkBankTransactionRequestDtoRest, authorization?: string, options?: any): AxiosPromise<
|
|
166
|
+
linkBankTransaction(code: string, linkBankTransactionRequestDtoRest: LinkBankTransactionRequestDtoRest, authorization?: string, options?: any): AxiosPromise<void>;
|
|
172
167
|
/**
|
|
173
168
|
* 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.
|
|
174
169
|
* @summary List bank transactions
|
|
@@ -181,7 +176,7 @@ export declare const BankTransactionApiFactory: (configuration?: Configuration,
|
|
|
181
176
|
* @param {*} [options] Override http request option.
|
|
182
177
|
* @throws {RequiredError}
|
|
183
178
|
*/
|
|
184
|
-
listBankTransactions(authorization?: string, filter?: string, filters?: string, search?: string, order?: string, expand?: string, options?: any): AxiosPromise<
|
|
179
|
+
listBankTransactions(authorization?: string, filter?: string, filters?: string, search?: string, order?: string, expand?: string, options?: any): AxiosPromise<void>;
|
|
185
180
|
/**
|
|
186
181
|
* Unlinks an already linked bank transaction
|
|
187
182
|
* @summary Unlink bank transaction
|
|
@@ -191,7 +186,7 @@ export declare const BankTransactionApiFactory: (configuration?: Configuration,
|
|
|
191
186
|
* @param {*} [options] Override http request option.
|
|
192
187
|
* @throws {RequiredError}
|
|
193
188
|
*/
|
|
194
|
-
unlinkBankTransaction(code: string, unlinkBankTransactionRequestDtoRest: UnlinkBankTransactionRequestDtoRest, authorization?: string, options?: any): AxiosPromise<
|
|
189
|
+
unlinkBankTransaction(code: string, unlinkBankTransactionRequestDtoRest: UnlinkBankTransactionRequestDtoRest, authorization?: string, options?: any): AxiosPromise<void>;
|
|
195
190
|
};
|
|
196
191
|
/**
|
|
197
192
|
* Request parameters for getBankTransaction operation in BankTransactionApi.
|
|
@@ -345,7 +340,7 @@ export declare class BankTransactionApi extends BaseAPI {
|
|
|
345
340
|
* @throws {RequiredError}
|
|
346
341
|
* @memberof BankTransactionApi
|
|
347
342
|
*/
|
|
348
|
-
getBankTransaction(requestParameters: BankTransactionApiGetBankTransactionRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<
|
|
343
|
+
getBankTransaction(requestParameters: BankTransactionApiGetBankTransactionRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any>>;
|
|
349
344
|
/**
|
|
350
345
|
* This will import bank transactions from a swift MT940 file
|
|
351
346
|
* @summary Create the bank transactions
|
|
@@ -354,7 +349,7 @@ export declare class BankTransactionApi extends BaseAPI {
|
|
|
354
349
|
* @throws {RequiredError}
|
|
355
350
|
* @memberof BankTransactionApi
|
|
356
351
|
*/
|
|
357
|
-
importBankTransactions(requestParameters: BankTransactionApiImportBankTransactionsRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<
|
|
352
|
+
importBankTransactions(requestParameters: BankTransactionApiImportBankTransactionsRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any>>;
|
|
358
353
|
/**
|
|
359
354
|
* Links a bank transaction with an invoice
|
|
360
355
|
* @summary Link bank transaction
|
|
@@ -363,7 +358,7 @@ export declare class BankTransactionApi extends BaseAPI {
|
|
|
363
358
|
* @throws {RequiredError}
|
|
364
359
|
* @memberof BankTransactionApi
|
|
365
360
|
*/
|
|
366
|
-
linkBankTransaction(requestParameters: BankTransactionApiLinkBankTransactionRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<
|
|
361
|
+
linkBankTransaction(requestParameters: BankTransactionApiLinkBankTransactionRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any>>;
|
|
367
362
|
/**
|
|
368
363
|
* 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.
|
|
369
364
|
* @summary List bank transactions
|
|
@@ -372,7 +367,7 @@ export declare class BankTransactionApi extends BaseAPI {
|
|
|
372
367
|
* @throws {RequiredError}
|
|
373
368
|
* @memberof BankTransactionApi
|
|
374
369
|
*/
|
|
375
|
-
listBankTransactions(requestParameters?: BankTransactionApiListBankTransactionsRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<
|
|
370
|
+
listBankTransactions(requestParameters?: BankTransactionApiListBankTransactionsRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any>>;
|
|
376
371
|
/**
|
|
377
372
|
* Unlinks an already linked bank transaction
|
|
378
373
|
* @summary Unlink bank transaction
|
|
@@ -381,5 +376,5 @@ export declare class BankTransactionApi extends BaseAPI {
|
|
|
381
376
|
* @throws {RequiredError}
|
|
382
377
|
* @memberof BankTransactionApi
|
|
383
378
|
*/
|
|
384
|
-
unlinkBankTransaction(requestParameters: BankTransactionApiUnlinkBankTransactionRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<
|
|
379
|
+
unlinkBankTransaction(requestParameters: BankTransactionApiUnlinkBankTransactionRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any>>;
|
|
385
380
|
}
|
|
@@ -12,10 +12,6 @@
|
|
|
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';
|
|
19
15
|
/**
|
|
20
16
|
* PaymentMethodsApi - axios parameter creator
|
|
21
17
|
* @export
|
|
@@ -24,12 +20,12 @@ export declare const PaymentMethodsApiAxiosParamCreator: (configuration?: Config
|
|
|
24
20
|
/**
|
|
25
21
|
* 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.
|
|
26
22
|
* @summary Create the payment method
|
|
27
|
-
* @param {
|
|
23
|
+
* @param {object} body
|
|
28
24
|
* @param {string} [authorization] Bearer Token
|
|
29
25
|
* @param {*} [options] Override http request option.
|
|
30
26
|
* @throws {RequiredError}
|
|
31
27
|
*/
|
|
32
|
-
createPaymentMethod: (
|
|
28
|
+
createPaymentMethod: (body: object, authorization?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
33
29
|
/**
|
|
34
30
|
* 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.
|
|
35
31
|
* @summary Retrieve the payment method
|
|
@@ -60,12 +56,12 @@ export declare const PaymentMethodsApiFp: (configuration?: Configuration) => {
|
|
|
60
56
|
/**
|
|
61
57
|
* 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.
|
|
62
58
|
* @summary Create the payment method
|
|
63
|
-
* @param {
|
|
59
|
+
* @param {object} body
|
|
64
60
|
* @param {string} [authorization] Bearer Token
|
|
65
61
|
* @param {*} [options] Override http request option.
|
|
66
62
|
* @throws {RequiredError}
|
|
67
63
|
*/
|
|
68
|
-
createPaymentMethod(
|
|
64
|
+
createPaymentMethod(body: object, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
|
|
69
65
|
/**
|
|
70
66
|
* 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.
|
|
71
67
|
* @summary Retrieve the payment method
|
|
@@ -74,7 +70,7 @@ export declare const PaymentMethodsApiFp: (configuration?: Configuration) => {
|
|
|
74
70
|
* @param {*} [options] Override http request option.
|
|
75
71
|
* @throws {RequiredError}
|
|
76
72
|
*/
|
|
77
|
-
getPaymentMethod(code: string, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<
|
|
73
|
+
getPaymentMethod(code: string, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
|
|
78
74
|
/**
|
|
79
75
|
* 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.
|
|
80
76
|
* @summary List payment methods
|
|
@@ -86,7 +82,7 @@ export declare const PaymentMethodsApiFp: (configuration?: Configuration) => {
|
|
|
86
82
|
* @param {*} [options] Override http request option.
|
|
87
83
|
* @throws {RequiredError}
|
|
88
84
|
*/
|
|
89
|
-
listPaymentMethods(authorization?: string, filter?: string, filters?: string, order?: string, expand?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<
|
|
85
|
+
listPaymentMethods(authorization?: string, filter?: string, filters?: string, order?: string, expand?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
|
|
90
86
|
};
|
|
91
87
|
/**
|
|
92
88
|
* PaymentMethodsApi - factory interface
|
|
@@ -96,12 +92,12 @@ export declare const PaymentMethodsApiFactory: (configuration?: Configuration, b
|
|
|
96
92
|
/**
|
|
97
93
|
* 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.
|
|
98
94
|
* @summary Create the payment method
|
|
99
|
-
* @param {
|
|
95
|
+
* @param {object} body
|
|
100
96
|
* @param {string} [authorization] Bearer Token
|
|
101
97
|
* @param {*} [options] Override http request option.
|
|
102
98
|
* @throws {RequiredError}
|
|
103
99
|
*/
|
|
104
|
-
createPaymentMethod(
|
|
100
|
+
createPaymentMethod(body: object, authorization?: string, options?: any): AxiosPromise<void>;
|
|
105
101
|
/**
|
|
106
102
|
* 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.
|
|
107
103
|
* @summary Retrieve the payment method
|
|
@@ -110,7 +106,7 @@ export declare const PaymentMethodsApiFactory: (configuration?: Configuration, b
|
|
|
110
106
|
* @param {*} [options] Override http request option.
|
|
111
107
|
* @throws {RequiredError}
|
|
112
108
|
*/
|
|
113
|
-
getPaymentMethod(code: string, authorization?: string, options?: any): AxiosPromise<
|
|
109
|
+
getPaymentMethod(code: string, authorization?: string, options?: any): AxiosPromise<void>;
|
|
114
110
|
/**
|
|
115
111
|
* 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.
|
|
116
112
|
* @summary List payment methods
|
|
@@ -122,7 +118,7 @@ export declare const PaymentMethodsApiFactory: (configuration?: Configuration, b
|
|
|
122
118
|
* @param {*} [options] Override http request option.
|
|
123
119
|
* @throws {RequiredError}
|
|
124
120
|
*/
|
|
125
|
-
listPaymentMethods(authorization?: string, filter?: string, filters?: string, order?: string, expand?: string, options?: any): AxiosPromise<
|
|
121
|
+
listPaymentMethods(authorization?: string, filter?: string, filters?: string, order?: string, expand?: string, options?: any): AxiosPromise<void>;
|
|
126
122
|
};
|
|
127
123
|
/**
|
|
128
124
|
* Request parameters for createPaymentMethod operation in PaymentMethodsApi.
|
|
@@ -132,10 +128,10 @@ export declare const PaymentMethodsApiFactory: (configuration?: Configuration, b
|
|
|
132
128
|
export interface PaymentMethodsApiCreatePaymentMethodRequest {
|
|
133
129
|
/**
|
|
134
130
|
*
|
|
135
|
-
* @type {
|
|
131
|
+
* @type {object}
|
|
136
132
|
* @memberof PaymentMethodsApiCreatePaymentMethod
|
|
137
133
|
*/
|
|
138
|
-
readonly
|
|
134
|
+
readonly body: object;
|
|
139
135
|
/**
|
|
140
136
|
* Bearer Token
|
|
141
137
|
* @type {string}
|
|
@@ -214,7 +210,7 @@ export declare class PaymentMethodsApi extends BaseAPI {
|
|
|
214
210
|
* @throws {RequiredError}
|
|
215
211
|
* @memberof PaymentMethodsApi
|
|
216
212
|
*/
|
|
217
|
-
createPaymentMethod(requestParameters: PaymentMethodsApiCreatePaymentMethodRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<
|
|
213
|
+
createPaymentMethod(requestParameters: PaymentMethodsApiCreatePaymentMethodRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any>>;
|
|
218
214
|
/**
|
|
219
215
|
* 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.
|
|
220
216
|
* @summary Retrieve the payment method
|
|
@@ -223,7 +219,7 @@ export declare class PaymentMethodsApi extends BaseAPI {
|
|
|
223
219
|
* @throws {RequiredError}
|
|
224
220
|
* @memberof PaymentMethodsApi
|
|
225
221
|
*/
|
|
226
|
-
getPaymentMethod(requestParameters: PaymentMethodsApiGetPaymentMethodRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<
|
|
222
|
+
getPaymentMethod(requestParameters: PaymentMethodsApiGetPaymentMethodRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any>>;
|
|
227
223
|
/**
|
|
228
224
|
* 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.
|
|
229
225
|
* @summary List payment methods
|
|
@@ -232,5 +228,5 @@ export declare class PaymentMethodsApi extends BaseAPI {
|
|
|
232
228
|
* @throws {RequiredError}
|
|
233
229
|
* @memberof PaymentMethodsApi
|
|
234
230
|
*/
|
|
235
|
-
listPaymentMethods(requestParameters?: PaymentMethodsApiListPaymentMethodsRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<
|
|
231
|
+
listPaymentMethods(requestParameters?: PaymentMethodsApiListPaymentMethodsRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any>>;
|
|
236
232
|
}
|
|
@@ -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 {object} body
|
|
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 (body, 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 'body' is not null or undefined
|
|
111
|
+
(0, common_1.assertParamExists)('createPaymentMethod', 'body', body);
|
|
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)(body, 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 {object} body
|
|
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 (body, 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(body, 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 {object} body
|
|
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 (body, authorization, options) {
|
|
347
|
+
return localVarFp.createPaymentMethod(body, 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.body, 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,11 +13,7 @@ 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';
|
|
17
16
|
import { DeactivatePaymentReminderRequestDto } from '../models';
|
|
18
|
-
import { DeactivatePaymentReminderResponseClass } from '../models';
|
|
19
|
-
import { GetPaymentReminderResponseClass } from '../models';
|
|
20
|
-
import { ListPaymentRemindersResponseClass } from '../models';
|
|
21
17
|
/**
|
|
22
18
|
* PaymentRemindersApi - axios parameter creator
|
|
23
19
|
* @export
|
|
@@ -77,7 +73,7 @@ export declare const PaymentRemindersApiFp: (configuration?: Configuration) => {
|
|
|
77
73
|
* @param {*} [options] Override http request option.
|
|
78
74
|
* @throws {RequiredError}
|
|
79
75
|
*/
|
|
80
|
-
createPaymentReminder(createPaymentReminderRequestDto: CreatePaymentReminderRequestDto, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<
|
|
76
|
+
createPaymentReminder(createPaymentReminderRequestDto: CreatePaymentReminderRequestDto, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
|
|
81
77
|
/**
|
|
82
78
|
* This will deactivate the payment reminder
|
|
83
79
|
* @summary Deactivate payment reminder
|
|
@@ -87,7 +83,7 @@ export declare const PaymentRemindersApiFp: (configuration?: Configuration) => {
|
|
|
87
83
|
* @param {*} [options] Override http request option.
|
|
88
84
|
* @throws {RequiredError}
|
|
89
85
|
*/
|
|
90
|
-
deactivatePaymentReminder(code: string, deactivatePaymentReminderRequestDto: DeactivatePaymentReminderRequestDto, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<
|
|
86
|
+
deactivatePaymentReminder(code: string, deactivatePaymentReminderRequestDto: DeactivatePaymentReminderRequestDto, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
|
|
91
87
|
/**
|
|
92
88
|
* 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.
|
|
93
89
|
* @summary Retrieve the payment reminder
|
|
@@ -96,7 +92,7 @@ export declare const PaymentRemindersApiFp: (configuration?: Configuration) => {
|
|
|
96
92
|
* @param {*} [options] Override http request option.
|
|
97
93
|
* @throws {RequiredError}
|
|
98
94
|
*/
|
|
99
|
-
getPolicy(code: string, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<
|
|
95
|
+
getPolicy(code: string, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
|
|
100
96
|
/**
|
|
101
97
|
* 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.
|
|
102
98
|
* @summary List payment reminders
|
|
@@ -108,7 +104,7 @@ export declare const PaymentRemindersApiFp: (configuration?: Configuration) => {
|
|
|
108
104
|
* @param {*} [options] Override http request option.
|
|
109
105
|
* @throws {RequiredError}
|
|
110
106
|
*/
|
|
111
|
-
listPaymentReminders(authorization?: string, filter?: string, filters?: string, order?: string, expand?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<
|
|
107
|
+
listPaymentReminders(authorization?: string, filter?: string, filters?: string, order?: string, expand?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
|
|
112
108
|
};
|
|
113
109
|
/**
|
|
114
110
|
* PaymentRemindersApi - factory interface
|
|
@@ -123,7 +119,7 @@ export declare const PaymentRemindersApiFactory: (configuration?: Configuration,
|
|
|
123
119
|
* @param {*} [options] Override http request option.
|
|
124
120
|
* @throws {RequiredError}
|
|
125
121
|
*/
|
|
126
|
-
createPaymentReminder(createPaymentReminderRequestDto: CreatePaymentReminderRequestDto, authorization?: string, options?: any): AxiosPromise<
|
|
122
|
+
createPaymentReminder(createPaymentReminderRequestDto: CreatePaymentReminderRequestDto, authorization?: string, options?: any): AxiosPromise<void>;
|
|
127
123
|
/**
|
|
128
124
|
* This will deactivate the payment reminder
|
|
129
125
|
* @summary Deactivate payment reminder
|
|
@@ -133,7 +129,7 @@ export declare const PaymentRemindersApiFactory: (configuration?: Configuration,
|
|
|
133
129
|
* @param {*} [options] Override http request option.
|
|
134
130
|
* @throws {RequiredError}
|
|
135
131
|
*/
|
|
136
|
-
deactivatePaymentReminder(code: string, deactivatePaymentReminderRequestDto: DeactivatePaymentReminderRequestDto, authorization?: string, options?: any): AxiosPromise<
|
|
132
|
+
deactivatePaymentReminder(code: string, deactivatePaymentReminderRequestDto: DeactivatePaymentReminderRequestDto, authorization?: string, options?: any): AxiosPromise<void>;
|
|
137
133
|
/**
|
|
138
134
|
* 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.
|
|
139
135
|
* @summary Retrieve the payment reminder
|
|
@@ -142,7 +138,7 @@ export declare const PaymentRemindersApiFactory: (configuration?: Configuration,
|
|
|
142
138
|
* @param {*} [options] Override http request option.
|
|
143
139
|
* @throws {RequiredError}
|
|
144
140
|
*/
|
|
145
|
-
getPolicy(code: string, authorization?: string, options?: any): AxiosPromise<
|
|
141
|
+
getPolicy(code: string, authorization?: string, options?: any): AxiosPromise<void>;
|
|
146
142
|
/**
|
|
147
143
|
* 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.
|
|
148
144
|
* @summary List payment reminders
|
|
@@ -154,7 +150,7 @@ export declare const PaymentRemindersApiFactory: (configuration?: Configuration,
|
|
|
154
150
|
* @param {*} [options] Override http request option.
|
|
155
151
|
* @throws {RequiredError}
|
|
156
152
|
*/
|
|
157
|
-
listPaymentReminders(authorization?: string, filter?: string, filters?: string, order?: string, expand?: string, options?: any): AxiosPromise<
|
|
153
|
+
listPaymentReminders(authorization?: string, filter?: string, filters?: string, order?: string, expand?: string, options?: any): AxiosPromise<void>;
|
|
158
154
|
};
|
|
159
155
|
/**
|
|
160
156
|
* Request parameters for createPaymentReminder operation in PaymentRemindersApi.
|
|
@@ -271,7 +267,7 @@ export declare class PaymentRemindersApi extends BaseAPI {
|
|
|
271
267
|
* @throws {RequiredError}
|
|
272
268
|
* @memberof PaymentRemindersApi
|
|
273
269
|
*/
|
|
274
|
-
createPaymentReminder(requestParameters: PaymentRemindersApiCreatePaymentReminderRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<
|
|
270
|
+
createPaymentReminder(requestParameters: PaymentRemindersApiCreatePaymentReminderRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any>>;
|
|
275
271
|
/**
|
|
276
272
|
* This will deactivate the payment reminder
|
|
277
273
|
* @summary Deactivate payment reminder
|
|
@@ -280,7 +276,7 @@ export declare class PaymentRemindersApi extends BaseAPI {
|
|
|
280
276
|
* @throws {RequiredError}
|
|
281
277
|
* @memberof PaymentRemindersApi
|
|
282
278
|
*/
|
|
283
|
-
deactivatePaymentReminder(requestParameters: PaymentRemindersApiDeactivatePaymentReminderRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<
|
|
279
|
+
deactivatePaymentReminder(requestParameters: PaymentRemindersApiDeactivatePaymentReminderRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any>>;
|
|
284
280
|
/**
|
|
285
281
|
* 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.
|
|
286
282
|
* @summary Retrieve the payment reminder
|
|
@@ -289,7 +285,7 @@ export declare class PaymentRemindersApi extends BaseAPI {
|
|
|
289
285
|
* @throws {RequiredError}
|
|
290
286
|
* @memberof PaymentRemindersApi
|
|
291
287
|
*/
|
|
292
|
-
getPolicy(requestParameters: PaymentRemindersApiGetPolicyRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<
|
|
288
|
+
getPolicy(requestParameters: PaymentRemindersApiGetPolicyRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any>>;
|
|
293
289
|
/**
|
|
294
290
|
* 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.
|
|
295
291
|
* @summary List payment reminders
|
|
@@ -298,5 +294,5 @@ export declare class PaymentRemindersApi extends BaseAPI {
|
|
|
298
294
|
* @throws {RequiredError}
|
|
299
295
|
* @memberof PaymentRemindersApi
|
|
300
296
|
*/
|
|
301
|
-
listPaymentReminders(requestParameters?: PaymentRemindersApiListPaymentRemindersRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<
|
|
297
|
+
listPaymentReminders(requestParameters?: PaymentRemindersApiListPaymentRemindersRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any>>;
|
|
302
298
|
}
|
|
@@ -12,10 +12,6 @@
|
|
|
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';
|
|
19
15
|
/**
|
|
20
16
|
* PaymentSetupApi - axios parameter creator
|
|
21
17
|
* @export
|
|
@@ -24,21 +20,21 @@ export declare const PaymentSetupApiAxiosParamCreator: (configuration?: Configur
|
|
|
24
20
|
/**
|
|
25
21
|
* 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.
|
|
26
22
|
* @summary Complete a payment setup
|
|
27
|
-
* @param {
|
|
23
|
+
* @param {object} body
|
|
28
24
|
* @param {string} [authorization] Bearer Token
|
|
29
25
|
* @param {*} [options] Override http request option.
|
|
30
26
|
* @throws {RequiredError}
|
|
31
27
|
*/
|
|
32
|
-
completePaymentSetup: (
|
|
28
|
+
completePaymentSetup: (body: object, authorization?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
33
29
|
/**
|
|
34
30
|
* This initiates an account within the configured payment service provider, whichgenerates a secret token, allowing the user to add their payment information.
|
|
35
31
|
* @summary Initiate a payment setup
|
|
36
|
-
* @param {
|
|
32
|
+
* @param {object} body
|
|
37
33
|
* @param {string} [authorization] Bearer Token
|
|
38
34
|
* @param {*} [options] Override http request option.
|
|
39
35
|
* @throws {RequiredError}
|
|
40
36
|
*/
|
|
41
|
-
initiatePaymentSetup: (
|
|
37
|
+
initiatePaymentSetup: (body: object, authorization?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
42
38
|
};
|
|
43
39
|
/**
|
|
44
40
|
* PaymentSetupApi - functional programming interface
|
|
@@ -48,21 +44,21 @@ export declare const PaymentSetupApiFp: (configuration?: Configuration) => {
|
|
|
48
44
|
/**
|
|
49
45
|
* 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.
|
|
50
46
|
* @summary Complete a payment setup
|
|
51
|
-
* @param {
|
|
47
|
+
* @param {object} body
|
|
52
48
|
* @param {string} [authorization] Bearer Token
|
|
53
49
|
* @param {*} [options] Override http request option.
|
|
54
50
|
* @throws {RequiredError}
|
|
55
51
|
*/
|
|
56
|
-
completePaymentSetup(
|
|
52
|
+
completePaymentSetup(body: object, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
|
|
57
53
|
/**
|
|
58
54
|
* This initiates an account within the configured payment service provider, whichgenerates a secret token, allowing the user to add their payment information.
|
|
59
55
|
* @summary Initiate a payment setup
|
|
60
|
-
* @param {
|
|
56
|
+
* @param {object} body
|
|
61
57
|
* @param {string} [authorization] Bearer Token
|
|
62
58
|
* @param {*} [options] Override http request option.
|
|
63
59
|
* @throws {RequiredError}
|
|
64
60
|
*/
|
|
65
|
-
initiatePaymentSetup(
|
|
61
|
+
initiatePaymentSetup(body: object, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
|
|
66
62
|
};
|
|
67
63
|
/**
|
|
68
64
|
* PaymentSetupApi - factory interface
|
|
@@ -72,21 +68,21 @@ export declare const PaymentSetupApiFactory: (configuration?: Configuration, bas
|
|
|
72
68
|
/**
|
|
73
69
|
* 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.
|
|
74
70
|
* @summary Complete a payment setup
|
|
75
|
-
* @param {
|
|
71
|
+
* @param {object} body
|
|
76
72
|
* @param {string} [authorization] Bearer Token
|
|
77
73
|
* @param {*} [options] Override http request option.
|
|
78
74
|
* @throws {RequiredError}
|
|
79
75
|
*/
|
|
80
|
-
completePaymentSetup(
|
|
76
|
+
completePaymentSetup(body: object, authorization?: string, options?: any): AxiosPromise<void>;
|
|
81
77
|
/**
|
|
82
78
|
* This initiates an account within the configured payment service provider, whichgenerates a secret token, allowing the user to add their payment information.
|
|
83
79
|
* @summary Initiate a payment setup
|
|
84
|
-
* @param {
|
|
80
|
+
* @param {object} body
|
|
85
81
|
* @param {string} [authorization] Bearer Token
|
|
86
82
|
* @param {*} [options] Override http request option.
|
|
87
83
|
* @throws {RequiredError}
|
|
88
84
|
*/
|
|
89
|
-
initiatePaymentSetup(
|
|
85
|
+
initiatePaymentSetup(body: object, authorization?: string, options?: any): AxiosPromise<void>;
|
|
90
86
|
};
|
|
91
87
|
/**
|
|
92
88
|
* Request parameters for completePaymentSetup operation in PaymentSetupApi.
|
|
@@ -96,10 +92,10 @@ export declare const PaymentSetupApiFactory: (configuration?: Configuration, bas
|
|
|
96
92
|
export interface PaymentSetupApiCompletePaymentSetupRequest {
|
|
97
93
|
/**
|
|
98
94
|
*
|
|
99
|
-
* @type {
|
|
95
|
+
* @type {object}
|
|
100
96
|
* @memberof PaymentSetupApiCompletePaymentSetup
|
|
101
97
|
*/
|
|
102
|
-
readonly
|
|
98
|
+
readonly body: object;
|
|
103
99
|
/**
|
|
104
100
|
* Bearer Token
|
|
105
101
|
* @type {string}
|
|
@@ -115,10 +111,10 @@ export interface PaymentSetupApiCompletePaymentSetupRequest {
|
|
|
115
111
|
export interface PaymentSetupApiInitiatePaymentSetupRequest {
|
|
116
112
|
/**
|
|
117
113
|
*
|
|
118
|
-
* @type {
|
|
114
|
+
* @type {object}
|
|
119
115
|
* @memberof PaymentSetupApiInitiatePaymentSetup
|
|
120
116
|
*/
|
|
121
|
-
readonly
|
|
117
|
+
readonly body: object;
|
|
122
118
|
/**
|
|
123
119
|
* Bearer Token
|
|
124
120
|
* @type {string}
|
|
@@ -141,7 +137,7 @@ export declare class PaymentSetupApi extends BaseAPI {
|
|
|
141
137
|
* @throws {RequiredError}
|
|
142
138
|
* @memberof PaymentSetupApi
|
|
143
139
|
*/
|
|
144
|
-
completePaymentSetup(requestParameters: PaymentSetupApiCompletePaymentSetupRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<
|
|
140
|
+
completePaymentSetup(requestParameters: PaymentSetupApiCompletePaymentSetupRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any>>;
|
|
145
141
|
/**
|
|
146
142
|
* This initiates an account within the configured payment service provider, whichgenerates a secret token, allowing the user to add their payment information.
|
|
147
143
|
* @summary Initiate a payment setup
|
|
@@ -150,5 +146,5 @@ export declare class PaymentSetupApi extends BaseAPI {
|
|
|
150
146
|
* @throws {RequiredError}
|
|
151
147
|
* @memberof PaymentSetupApi
|
|
152
148
|
*/
|
|
153
|
-
initiatePaymentSetup(requestParameters: PaymentSetupApiInitiatePaymentSetupRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<
|
|
149
|
+
initiatePaymentSetup(requestParameters: PaymentSetupApiInitiatePaymentSetupRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any>>;
|
|
154
150
|
}
|