@emilgroup/payment-sdk-node 1.13.1-beta.2 → 1.13.1-beta.4
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 -6
- package/README.md +2 -2
- package/api/bank-accounts-api.ts +1 -1
- package/api/bank-transaction-api.ts +2 -203
- package/api/default-api.ts +1 -1
- package/api/payment-methods-api.ts +1 -1
- package/api/payment-reminders-api.ts +1 -1
- package/api/payment-setup-api.ts +1 -1
- package/api/payments-api.ts +1 -1
- package/api/tenant-bank-account-api.ts +1 -1
- package/api/webhooks-api.ts +1 -1
- package/api.ts +1 -3
- package/base.ts +1 -1
- package/common.ts +2 -2
- package/configuration.ts +1 -1
- package/dist/api/bank-accounts-api.d.ts +1 -1
- package/dist/api/bank-accounts-api.js +1 -1
- package/dist/api/bank-transaction-api.d.ts +1 -111
- package/dist/api/bank-transaction-api.js +1 -185
- package/dist/api/default-api.d.ts +1 -1
- package/dist/api/default-api.js +1 -1
- package/dist/api/payment-methods-api.d.ts +1 -1
- package/dist/api/payment-methods-api.js +1 -1
- package/dist/api/payment-reminders-api.d.ts +1 -1
- package/dist/api/payment-reminders-api.js +1 -1
- package/dist/api/payment-setup-api.d.ts +1 -1
- package/dist/api/payment-setup-api.js +1 -1
- package/dist/api/payments-api.d.ts +1 -1
- package/dist/api/payments-api.js +1 -1
- package/dist/api/tenant-bank-account-api.d.ts +1 -1
- package/dist/api/tenant-bank-account-api.js +1 -1
- package/dist/api/webhooks-api.d.ts +1 -1
- package/dist/api/webhooks-api.js +1 -1
- package/dist/api.d.ts +1 -2
- package/dist/api.js +1 -2
- package/dist/base.d.ts +1 -1
- package/dist/base.js +1 -1
- package/dist/common.d.ts +2 -2
- package/dist/common.js +1 -1
- package/dist/configuration.d.ts +1 -1
- package/dist/configuration.js +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.js +1 -1
- package/dist/models/bank-transaction-response-class.d.ts +7 -1
- package/dist/models/bank-transaction-response-class.js +1 -1
- package/dist/models/create-payment-reminder-request-dto.d.ts +1 -1
- package/dist/models/create-payment-reminder-request-dto.js +1 -1
- package/dist/models/create-payment-request-dto.d.ts +1 -1
- package/dist/models/create-payment-request-dto.js +1 -1
- package/dist/models/create-tenant-bank-account-request-dto.d.ts +1 -1
- package/dist/models/create-tenant-bank-account-request-dto.js +1 -1
- package/dist/models/deactivate-payment-reminder-request-dto.d.ts +1 -1
- package/dist/models/deactivate-payment-reminder-request-dto.js +1 -1
- package/dist/models/get-bank-transactions-response-class.d.ts +1 -1
- package/dist/models/get-bank-transactions-response-class.js +1 -1
- package/dist/models/get-request-dto.d.ts +1 -1
- package/dist/models/get-request-dto.js +1 -1
- package/dist/models/get-tenant-bank-account-response-class.d.ts +1 -1
- package/dist/models/get-tenant-bank-account-response-class.js +1 -1
- package/dist/models/index.d.ts +0 -5
- package/dist/models/index.js +0 -5
- package/dist/models/inline-response200.d.ts +1 -1
- package/dist/models/inline-response200.js +1 -1
- package/dist/models/inline-response503.d.ts +1 -1
- package/dist/models/inline-response503.js +1 -1
- package/dist/models/list-bank-transactions-response-class.d.ts +1 -1
- package/dist/models/list-bank-transactions-response-class.js +1 -1
- package/dist/models/tenant-bank-account-response-class.d.ts +1 -1
- package/dist/models/tenant-bank-account-response-class.js +1 -1
- package/dist/models/transaction-class.d.ts +1 -1
- package/dist/models/transaction-class.js +1 -1
- package/dist/models/update-tenant-bank-account-rest-request-dto.d.ts +1 -1
- package/dist/models/update-tenant-bank-account-rest-request-dto.js +1 -1
- package/dist/models/validate-pspconfig-request-dto.d.ts +1 -1
- package/dist/models/validate-pspconfig-request-dto.js +1 -1
- package/index.ts +1 -1
- package/models/bank-transaction-response-class.ts +7 -1
- package/models/create-payment-reminder-request-dto.ts +1 -1
- package/models/create-payment-request-dto.ts +1 -1
- package/models/create-tenant-bank-account-request-dto.ts +1 -1
- package/models/deactivate-payment-reminder-request-dto.ts +1 -1
- package/models/get-bank-transactions-response-class.ts +1 -1
- package/models/get-request-dto.ts +1 -1
- package/models/get-tenant-bank-account-response-class.ts +1 -1
- package/models/index.ts +0 -5
- package/models/inline-response200.ts +1 -1
- package/models/inline-response503.ts +1 -1
- package/models/list-bank-transactions-response-class.ts +1 -1
- package/models/tenant-bank-account-response-class.ts +1 -1
- package/models/transaction-class.ts +1 -1
- package/models/update-tenant-bank-account-rest-request-dto.ts +1 -1
- package/models/validate-pspconfig-request-dto.ts +1 -1
- package/package.json +1 -1
- package/api/refunds-api.ts +0 -480
- package/dist/api/refunds-api.d.ts +0 -269
- package/dist/api/refunds-api.js +0 -453
- package/dist/models/create-refund-request-dto.d.ts +0 -24
- package/dist/models/create-refund-request-dto.js +0 -15
- package/dist/models/create-refund-response-class.d.ts +0 -25
- package/dist/models/create-refund-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/list-refunds-response-class.d.ts +0 -31
- package/dist/models/list-refunds-response-class.js +0 -15
- package/dist/models/refund-class.d.ts +0 -104
- package/dist/models/refund-class.js +0 -28
- package/models/create-refund-request-dto.ts +0 -30
- package/models/create-refund-response-class.ts +0 -31
- package/models/get-refund-response-class.ts +0 -31
- package/models/list-refunds-response-class.ts +0 -37
- package/models/refund-class.ts +0 -114
package/.openapi-generator/FILES
CHANGED
|
@@ -10,7 +10,6 @@ api/payment-methods-api.ts
|
|
|
10
10
|
api/payment-reminders-api.ts
|
|
11
11
|
api/payment-setup-api.ts
|
|
12
12
|
api/payments-api.ts
|
|
13
|
-
api/refunds-api.ts
|
|
14
13
|
api/tenant-bank-account-api.ts
|
|
15
14
|
api/webhooks-api.ts
|
|
16
15
|
base.ts
|
|
@@ -21,20 +20,15 @@ index.ts
|
|
|
21
20
|
models/bank-transaction-response-class.ts
|
|
22
21
|
models/create-payment-reminder-request-dto.ts
|
|
23
22
|
models/create-payment-request-dto.ts
|
|
24
|
-
models/create-refund-request-dto.ts
|
|
25
|
-
models/create-refund-response-class.ts
|
|
26
23
|
models/create-tenant-bank-account-request-dto.ts
|
|
27
24
|
models/deactivate-payment-reminder-request-dto.ts
|
|
28
25
|
models/get-bank-transactions-response-class.ts
|
|
29
|
-
models/get-refund-response-class.ts
|
|
30
26
|
models/get-request-dto.ts
|
|
31
27
|
models/get-tenant-bank-account-response-class.ts
|
|
32
28
|
models/index.ts
|
|
33
29
|
models/inline-response200.ts
|
|
34
30
|
models/inline-response503.ts
|
|
35
31
|
models/list-bank-transactions-response-class.ts
|
|
36
|
-
models/list-refunds-response-class.ts
|
|
37
|
-
models/refund-class.ts
|
|
38
32
|
models/tenant-bank-account-response-class.ts
|
|
39
33
|
models/transaction-class.ts
|
|
40
34
|
models/update-tenant-bank-account-rest-request-dto.ts
|
package/README.md
CHANGED
|
@@ -17,11 +17,11 @@ Although this package can be used in both TypeScript and JavaScript, it is inten
|
|
|
17
17
|
Navigate to the folder of your consuming project and run one of the following commands:
|
|
18
18
|
|
|
19
19
|
```
|
|
20
|
-
npm install @emilgroup/payment-sdk-node@1.13.1-beta.
|
|
20
|
+
npm install @emilgroup/payment-sdk-node@1.13.1-beta.4 --save
|
|
21
21
|
```
|
|
22
22
|
or
|
|
23
23
|
```
|
|
24
|
-
yarn add @emilgroup/payment-sdk-node@1.13.1-beta.
|
|
24
|
+
yarn add @emilgroup/payment-sdk-node@1.13.1-beta.4
|
|
25
25
|
```
|
|
26
26
|
|
|
27
27
|
And then you can import `PaymentsApi`.
|
package/api/bank-accounts-api.ts
CHANGED
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
* This service directly communicates with the various Payment Service Providers (PSPs) in order to charge or refund customers. This service will automatically connect to the PSP linked in your admin configuration; meaning if you configured Stripe, it will automatically create a payment on Stripe when you create it in Emil.
|
|
6
6
|
*
|
|
7
7
|
* The version of the OpenAPI document: 1.0
|
|
8
|
-
* Contact:
|
|
8
|
+
* Contact: kontakt@emil.de
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
11
|
* https://openapi-generator.tech
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
* This service directly communicates with the various Payment Service Providers (PSPs) in order to charge or refund customers. This service will automatically connect to the PSP linked in your admin configuration; meaning if you configured Stripe, it will automatically create a payment on Stripe when you create it in Emil.
|
|
6
6
|
*
|
|
7
7
|
* The version of the OpenAPI document: 1.0
|
|
8
|
-
* Contact:
|
|
8
|
+
* Contact: kontakt@emil.de
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
11
|
* https://openapi-generator.tech
|
|
@@ -123,6 +123,7 @@ export const BankTransactionApiAxiosParamCreator = function (configuration?: Con
|
|
|
123
123
|
|
|
124
124
|
|
|
125
125
|
localVarHeaderParameter['Content-Type'] = 'multipart/form-data; boundary=' + localVarFormParams.getBoundary();
|
|
126
|
+
|
|
126
127
|
|
|
127
128
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
128
129
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
@@ -134,51 +135,6 @@ export const BankTransactionApiAxiosParamCreator = function (configuration?: Con
|
|
|
134
135
|
options: localVarRequestOptions,
|
|
135
136
|
};
|
|
136
137
|
},
|
|
137
|
-
/**
|
|
138
|
-
* Links a bank transaction with an invoice
|
|
139
|
-
* @summary Link Bank Transaction
|
|
140
|
-
* @param {string} code Code of the bank transaction to link
|
|
141
|
-
* @param {string} [authorization] Bearer Token
|
|
142
|
-
* @param {*} [options] Override http request option.
|
|
143
|
-
* @throws {RequiredError}
|
|
144
|
-
*/
|
|
145
|
-
linkBankTransaction: async (code: string, authorization?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
146
|
-
// verify required parameter 'code' is not null or undefined
|
|
147
|
-
assertParamExists('linkBankTransaction', 'code', code)
|
|
148
|
-
const localVarPath = `/paymentservice/v1/tenant/bank-transactions/{code}/link`
|
|
149
|
-
.replace(`{${"code"}}`, encodeURIComponent(String(code)));
|
|
150
|
-
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
151
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
152
|
-
let baseOptions;
|
|
153
|
-
let baseAccessToken;
|
|
154
|
-
if (configuration) {
|
|
155
|
-
baseOptions = configuration.baseOptions;
|
|
156
|
-
baseAccessToken = configuration.accessToken;
|
|
157
|
-
}
|
|
158
|
-
|
|
159
|
-
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
|
|
160
|
-
const localVarHeaderParameter = {} as any;
|
|
161
|
-
const localVarQueryParameter = {} as any;
|
|
162
|
-
|
|
163
|
-
// authentication bearer required
|
|
164
|
-
// http bearer authentication required
|
|
165
|
-
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
166
|
-
|
|
167
|
-
if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
|
|
168
|
-
localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
|
|
169
|
-
}
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
174
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
175
|
-
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
176
|
-
|
|
177
|
-
return {
|
|
178
|
-
url: toPathString(localVarUrlObj),
|
|
179
|
-
options: localVarRequestOptions,
|
|
180
|
-
};
|
|
181
|
-
},
|
|
182
138
|
/**
|
|
183
139
|
* 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.
|
|
184
140
|
* @summary List bank transactions
|
|
@@ -246,51 +202,6 @@ export const BankTransactionApiAxiosParamCreator = function (configuration?: Con
|
|
|
246
202
|
|
|
247
203
|
|
|
248
204
|
|
|
249
|
-
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
250
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
251
|
-
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
252
|
-
|
|
253
|
-
return {
|
|
254
|
-
url: toPathString(localVarUrlObj),
|
|
255
|
-
options: localVarRequestOptions,
|
|
256
|
-
};
|
|
257
|
-
},
|
|
258
|
-
/**
|
|
259
|
-
* Unlinks an already linked bank transaction
|
|
260
|
-
* @summary Unlink Bank Transaction
|
|
261
|
-
* @param {string} code Code of the bank transaction to unlink
|
|
262
|
-
* @param {string} [authorization] Bearer Token
|
|
263
|
-
* @param {*} [options] Override http request option.
|
|
264
|
-
* @throws {RequiredError}
|
|
265
|
-
*/
|
|
266
|
-
unlinkBankTransaction: async (code: string, authorization?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
267
|
-
// verify required parameter 'code' is not null or undefined
|
|
268
|
-
assertParamExists('unlinkBankTransaction', 'code', code)
|
|
269
|
-
const localVarPath = `/paymentservice/v1/tenant/bank-transactions/{code}/unlink`
|
|
270
|
-
.replace(`{${"code"}}`, encodeURIComponent(String(code)));
|
|
271
|
-
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
272
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
273
|
-
let baseOptions;
|
|
274
|
-
let baseAccessToken;
|
|
275
|
-
if (configuration) {
|
|
276
|
-
baseOptions = configuration.baseOptions;
|
|
277
|
-
baseAccessToken = configuration.accessToken;
|
|
278
|
-
}
|
|
279
|
-
|
|
280
|
-
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
|
|
281
|
-
const localVarHeaderParameter = {} as any;
|
|
282
|
-
const localVarQueryParameter = {} as any;
|
|
283
|
-
|
|
284
|
-
// authentication bearer required
|
|
285
|
-
// http bearer authentication required
|
|
286
|
-
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
287
|
-
|
|
288
|
-
if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
|
|
289
|
-
localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
|
|
290
|
-
}
|
|
291
|
-
|
|
292
|
-
|
|
293
|
-
|
|
294
205
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
295
206
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
296
207
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
@@ -335,18 +246,6 @@ export const BankTransactionApiFp = function(configuration?: Configuration) {
|
|
|
335
246
|
const localVarAxiosArgs = await localVarAxiosParamCreator.importBankTransactions(authorization, file, options);
|
|
336
247
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
337
248
|
},
|
|
338
|
-
/**
|
|
339
|
-
* Links a bank transaction with an invoice
|
|
340
|
-
* @summary Link Bank Transaction
|
|
341
|
-
* @param {string} code Code of the bank transaction to link
|
|
342
|
-
* @param {string} [authorization] Bearer Token
|
|
343
|
-
* @param {*} [options] Override http request option.
|
|
344
|
-
* @throws {RequiredError}
|
|
345
|
-
*/
|
|
346
|
-
async linkBankTransaction(code: string, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetBankTransactionsResponseClass>> {
|
|
347
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.linkBankTransaction(code, authorization, options);
|
|
348
|
-
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
349
|
-
},
|
|
350
249
|
/**
|
|
351
250
|
* 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.
|
|
352
251
|
* @summary List bank transactions
|
|
@@ -365,18 +264,6 @@ export const BankTransactionApiFp = function(configuration?: Configuration) {
|
|
|
365
264
|
const localVarAxiosArgs = await localVarAxiosParamCreator.listBankTransactions(authorization, pageSize, pageToken, filter, search, order, expand, filters, options);
|
|
366
265
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
367
266
|
},
|
|
368
|
-
/**
|
|
369
|
-
* Unlinks an already linked bank transaction
|
|
370
|
-
* @summary Unlink Bank Transaction
|
|
371
|
-
* @param {string} code Code of the bank transaction to unlink
|
|
372
|
-
* @param {string} [authorization] Bearer Token
|
|
373
|
-
* @param {*} [options] Override http request option.
|
|
374
|
-
* @throws {RequiredError}
|
|
375
|
-
*/
|
|
376
|
-
async unlinkBankTransaction(code: string, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetBankTransactionsResponseClass>> {
|
|
377
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.unlinkBankTransaction(code, authorization, options);
|
|
378
|
-
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
379
|
-
},
|
|
380
267
|
}
|
|
381
268
|
};
|
|
382
269
|
|
|
@@ -410,17 +297,6 @@ export const BankTransactionApiFactory = function (configuration?: Configuration
|
|
|
410
297
|
importBankTransactions(authorization?: string, file?: any, options?: any): AxiosPromise<ListBankTransactionsResponseClass> {
|
|
411
298
|
return localVarFp.importBankTransactions(authorization, file, options).then((request) => request(axios, basePath));
|
|
412
299
|
},
|
|
413
|
-
/**
|
|
414
|
-
* Links a bank transaction with an invoice
|
|
415
|
-
* @summary Link Bank Transaction
|
|
416
|
-
* @param {string} code Code of the bank transaction to link
|
|
417
|
-
* @param {string} [authorization] Bearer Token
|
|
418
|
-
* @param {*} [options] Override http request option.
|
|
419
|
-
* @throws {RequiredError}
|
|
420
|
-
*/
|
|
421
|
-
linkBankTransaction(code: string, authorization?: string, options?: any): AxiosPromise<GetBankTransactionsResponseClass> {
|
|
422
|
-
return localVarFp.linkBankTransaction(code, authorization, options).then((request) => request(axios, basePath));
|
|
423
|
-
},
|
|
424
300
|
/**
|
|
425
301
|
* 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.
|
|
426
302
|
* @summary List bank transactions
|
|
@@ -438,17 +314,6 @@ export const BankTransactionApiFactory = function (configuration?: Configuration
|
|
|
438
314
|
listBankTransactions(authorization?: string, pageSize?: any, pageToken?: any, filter?: any, search?: any, order?: any, expand?: string, filters?: any, options?: any): AxiosPromise<void> {
|
|
439
315
|
return localVarFp.listBankTransactions(authorization, pageSize, pageToken, filter, search, order, expand, filters, options).then((request) => request(axios, basePath));
|
|
440
316
|
},
|
|
441
|
-
/**
|
|
442
|
-
* Unlinks an already linked bank transaction
|
|
443
|
-
* @summary Unlink Bank Transaction
|
|
444
|
-
* @param {string} code Code of the bank transaction to unlink
|
|
445
|
-
* @param {string} [authorization] Bearer Token
|
|
446
|
-
* @param {*} [options] Override http request option.
|
|
447
|
-
* @throws {RequiredError}
|
|
448
|
-
*/
|
|
449
|
-
unlinkBankTransaction(code: string, authorization?: string, options?: any): AxiosPromise<GetBankTransactionsResponseClass> {
|
|
450
|
-
return localVarFp.unlinkBankTransaction(code, authorization, options).then((request) => request(axios, basePath));
|
|
451
|
-
},
|
|
452
317
|
};
|
|
453
318
|
};
|
|
454
319
|
|
|
@@ -501,27 +366,6 @@ export interface BankTransactionApiImportBankTransactionsRequest {
|
|
|
501
366
|
readonly file?: any
|
|
502
367
|
}
|
|
503
368
|
|
|
504
|
-
/**
|
|
505
|
-
* Request parameters for linkBankTransaction operation in BankTransactionApi.
|
|
506
|
-
* @export
|
|
507
|
-
* @interface BankTransactionApiLinkBankTransactionRequest
|
|
508
|
-
*/
|
|
509
|
-
export interface BankTransactionApiLinkBankTransactionRequest {
|
|
510
|
-
/**
|
|
511
|
-
* Code of the bank transaction to link
|
|
512
|
-
* @type {string}
|
|
513
|
-
* @memberof BankTransactionApiLinkBankTransaction
|
|
514
|
-
*/
|
|
515
|
-
readonly code: string
|
|
516
|
-
|
|
517
|
-
/**
|
|
518
|
-
* Bearer Token
|
|
519
|
-
* @type {string}
|
|
520
|
-
* @memberof BankTransactionApiLinkBankTransaction
|
|
521
|
-
*/
|
|
522
|
-
readonly authorization?: string
|
|
523
|
-
}
|
|
524
|
-
|
|
525
369
|
/**
|
|
526
370
|
* Request parameters for listBankTransactions operation in BankTransactionApi.
|
|
527
371
|
* @export
|
|
@@ -585,27 +429,6 @@ export interface BankTransactionApiListBankTransactionsRequest {
|
|
|
585
429
|
readonly filters?: any
|
|
586
430
|
}
|
|
587
431
|
|
|
588
|
-
/**
|
|
589
|
-
* Request parameters for unlinkBankTransaction operation in BankTransactionApi.
|
|
590
|
-
* @export
|
|
591
|
-
* @interface BankTransactionApiUnlinkBankTransactionRequest
|
|
592
|
-
*/
|
|
593
|
-
export interface BankTransactionApiUnlinkBankTransactionRequest {
|
|
594
|
-
/**
|
|
595
|
-
* Code of the bank transaction to unlink
|
|
596
|
-
* @type {string}
|
|
597
|
-
* @memberof BankTransactionApiUnlinkBankTransaction
|
|
598
|
-
*/
|
|
599
|
-
readonly code: string
|
|
600
|
-
|
|
601
|
-
/**
|
|
602
|
-
* Bearer Token
|
|
603
|
-
* @type {string}
|
|
604
|
-
* @memberof BankTransactionApiUnlinkBankTransaction
|
|
605
|
-
*/
|
|
606
|
-
readonly authorization?: string
|
|
607
|
-
}
|
|
608
|
-
|
|
609
432
|
/**
|
|
610
433
|
* BankTransactionApi - object-oriented interface
|
|
611
434
|
* @export
|
|
@@ -637,18 +460,6 @@ export class BankTransactionApi extends BaseAPI {
|
|
|
637
460
|
return BankTransactionApiFp(this.configuration).importBankTransactions(requestParameters.authorization, requestParameters.file, options).then((request) => request(this.axios, this.basePath));
|
|
638
461
|
}
|
|
639
462
|
|
|
640
|
-
/**
|
|
641
|
-
* Links a bank transaction with an invoice
|
|
642
|
-
* @summary Link Bank Transaction
|
|
643
|
-
* @param {BankTransactionApiLinkBankTransactionRequest} requestParameters Request parameters.
|
|
644
|
-
* @param {*} [options] Override http request option.
|
|
645
|
-
* @throws {RequiredError}
|
|
646
|
-
* @memberof BankTransactionApi
|
|
647
|
-
*/
|
|
648
|
-
public linkBankTransaction(requestParameters: BankTransactionApiLinkBankTransactionRequest, options?: AxiosRequestConfig) {
|
|
649
|
-
return BankTransactionApiFp(this.configuration).linkBankTransaction(requestParameters.code, requestParameters.authorization, options).then((request) => request(this.axios, this.basePath));
|
|
650
|
-
}
|
|
651
|
-
|
|
652
463
|
/**
|
|
653
464
|
* 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.
|
|
654
465
|
* @summary List bank transactions
|
|
@@ -660,16 +471,4 @@ export class BankTransactionApi extends BaseAPI {
|
|
|
660
471
|
public listBankTransactions(requestParameters: BankTransactionApiListBankTransactionsRequest = {}, options?: AxiosRequestConfig) {
|
|
661
472
|
return BankTransactionApiFp(this.configuration).listBankTransactions(requestParameters.authorization, requestParameters.pageSize, requestParameters.pageToken, requestParameters.filter, requestParameters.search, requestParameters.order, requestParameters.expand, requestParameters.filters, options).then((request) => request(this.axios, this.basePath));
|
|
662
473
|
}
|
|
663
|
-
|
|
664
|
-
/**
|
|
665
|
-
* Unlinks an already linked bank transaction
|
|
666
|
-
* @summary Unlink Bank Transaction
|
|
667
|
-
* @param {BankTransactionApiUnlinkBankTransactionRequest} requestParameters Request parameters.
|
|
668
|
-
* @param {*} [options] Override http request option.
|
|
669
|
-
* @throws {RequiredError}
|
|
670
|
-
* @memberof BankTransactionApi
|
|
671
|
-
*/
|
|
672
|
-
public unlinkBankTransaction(requestParameters: BankTransactionApiUnlinkBankTransactionRequest, options?: AxiosRequestConfig) {
|
|
673
|
-
return BankTransactionApiFp(this.configuration).unlinkBankTransaction(requestParameters.code, requestParameters.authorization, options).then((request) => request(this.axios, this.basePath));
|
|
674
|
-
}
|
|
675
474
|
}
|
package/api/default-api.ts
CHANGED
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
* This service directly communicates with the various Payment Service Providers (PSPs) in order to charge or refund customers. This service will automatically connect to the PSP linked in your admin configuration; meaning if you configured Stripe, it will automatically create a payment on Stripe when you create it in Emil.
|
|
6
6
|
*
|
|
7
7
|
* The version of the OpenAPI document: 1.0
|
|
8
|
-
* Contact:
|
|
8
|
+
* Contact: kontakt@emil.de
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
11
|
* https://openapi-generator.tech
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
* This service directly communicates with the various Payment Service Providers (PSPs) in order to charge or refund customers. This service will automatically connect to the PSP linked in your admin configuration; meaning if you configured Stripe, it will automatically create a payment on Stripe when you create it in Emil.
|
|
6
6
|
*
|
|
7
7
|
* The version of the OpenAPI document: 1.0
|
|
8
|
-
* Contact:
|
|
8
|
+
* Contact: kontakt@emil.de
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
11
|
* https://openapi-generator.tech
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
* This service directly communicates with the various Payment Service Providers (PSPs) in order to charge or refund customers. This service will automatically connect to the PSP linked in your admin configuration; meaning if you configured Stripe, it will automatically create a payment on Stripe when you create it in Emil.
|
|
6
6
|
*
|
|
7
7
|
* The version of the OpenAPI document: 1.0
|
|
8
|
-
* Contact:
|
|
8
|
+
* Contact: kontakt@emil.de
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
11
|
* https://openapi-generator.tech
|
package/api/payment-setup-api.ts
CHANGED
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
* This service directly communicates with the various Payment Service Providers (PSPs) in order to charge or refund customers. This service will automatically connect to the PSP linked in your admin configuration; meaning if you configured Stripe, it will automatically create a payment on Stripe when you create it in Emil.
|
|
6
6
|
*
|
|
7
7
|
* The version of the OpenAPI document: 1.0
|
|
8
|
-
* Contact:
|
|
8
|
+
* Contact: kontakt@emil.de
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
11
|
* https://openapi-generator.tech
|
package/api/payments-api.ts
CHANGED
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
* This service directly communicates with the various Payment Service Providers (PSPs) in order to charge or refund customers. This service will automatically connect to the PSP linked in your admin configuration; meaning if you configured Stripe, it will automatically create a payment on Stripe when you create it in Emil.
|
|
6
6
|
*
|
|
7
7
|
* The version of the OpenAPI document: 1.0
|
|
8
|
-
* Contact:
|
|
8
|
+
* Contact: kontakt@emil.de
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
11
|
* https://openapi-generator.tech
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
* This service directly communicates with the various Payment Service Providers (PSPs) in order to charge or refund customers. This service will automatically connect to the PSP linked in your admin configuration; meaning if you configured Stripe, it will automatically create a payment on Stripe when you create it in Emil.
|
|
6
6
|
*
|
|
7
7
|
* The version of the OpenAPI document: 1.0
|
|
8
|
-
* Contact:
|
|
8
|
+
* Contact: kontakt@emil.de
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
11
|
* https://openapi-generator.tech
|
package/api/webhooks-api.ts
CHANGED
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
* This service directly communicates with the various Payment Service Providers (PSPs) in order to charge or refund customers. This service will automatically connect to the PSP linked in your admin configuration; meaning if you configured Stripe, it will automatically create a payment on Stripe when you create it in Emil.
|
|
6
6
|
*
|
|
7
7
|
* The version of the OpenAPI document: 1.0
|
|
8
|
-
* Contact:
|
|
8
|
+
* Contact: kontakt@emil.de
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
11
|
* https://openapi-generator.tech
|
package/api.ts
CHANGED
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
* This service directly communicates with the various Payment Service Providers (PSPs) in order to charge or refund customers. This service will automatically connect to the PSP linked in your admin configuration; meaning if you configured Stripe, it will automatically create a payment on Stripe when you create it in Emil.
|
|
6
6
|
*
|
|
7
7
|
* The version of the OpenAPI document: 1.0
|
|
8
|
-
* Contact:
|
|
8
|
+
* Contact: kontakt@emil.de
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
11
|
* https://openapi-generator.tech
|
|
@@ -31,7 +31,6 @@ import { PaymentMethodsApi } from './api';
|
|
|
31
31
|
import { PaymentRemindersApi } from './api';
|
|
32
32
|
import { PaymentSetupApi } from './api';
|
|
33
33
|
import { PaymentsApi } from './api';
|
|
34
|
-
import { RefundsApi } from './api';
|
|
35
34
|
import { TenantBankAccountApi } from './api';
|
|
36
35
|
import { WebhooksApi } from './api';
|
|
37
36
|
|
|
@@ -43,7 +42,6 @@ export * from './api/payment-methods-api';
|
|
|
43
42
|
export * from './api/payment-reminders-api';
|
|
44
43
|
export * from './api/payment-setup-api';
|
|
45
44
|
export * from './api/payments-api';
|
|
46
|
-
export * from './api/refunds-api';
|
|
47
45
|
export * from './api/tenant-bank-account-api';
|
|
48
46
|
export * from './api/webhooks-api';
|
|
49
47
|
|
package/base.ts
CHANGED
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
* This service directly communicates with the various Payment Service Providers (PSPs) in order to charge or refund customers. This service will automatically connect to the PSP linked in your admin configuration; meaning if you configured Stripe, it will automatically create a payment on Stripe when you create it in Emil.
|
|
6
6
|
*
|
|
7
7
|
* The version of the OpenAPI document: 1.0
|
|
8
|
-
* Contact:
|
|
8
|
+
* Contact: kontakt@emil.de
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
11
|
* https://openapi-generator.tech
|
package/common.ts
CHANGED
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
* This service directly communicates with the various Payment Service Providers (PSPs) in order to charge or refund customers. This service will automatically connect to the PSP linked in your admin configuration; meaning if you configured Stripe, it will automatically create a payment on Stripe when you create it in Emil.
|
|
6
6
|
*
|
|
7
7
|
* The version of the OpenAPI document: 1.0
|
|
8
|
-
* Contact:
|
|
8
|
+
* Contact: kontakt@emil.de
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
11
|
* https://openapi-generator.tech
|
|
@@ -144,7 +144,7 @@ export const createRequestFunction = function (axiosArgs: RequestArgs, globalAxi
|
|
|
144
144
|
* This service directly communicates with the various Payment Service Providers (PSPs) in order to charge or refund customers. This service will automatically connect to the PSP linked in your admin configuration; meaning if you configured Stripe, it will automatically create a payment on Stripe when you create it in Emil.
|
|
145
145
|
*
|
|
146
146
|
* The version of the OpenAPI document: 1.0
|
|
147
|
-
* Contact:
|
|
147
|
+
* Contact: kontakt@emil.de
|
|
148
148
|
*
|
|
149
149
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
150
150
|
* https://openapi-generator.tech
|
package/configuration.ts
CHANGED
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
* This service directly communicates with the various Payment Service Providers (PSPs) in order to charge or refund customers. This service will automatically connect to the PSP linked in your admin configuration; meaning if you configured Stripe, it will automatically create a payment on Stripe when you create it in Emil.
|
|
6
6
|
*
|
|
7
7
|
* The version of the OpenAPI document: 1.0
|
|
8
|
-
* Contact:
|
|
8
|
+
* Contact: kontakt@emil.de
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
11
|
* https://openapi-generator.tech
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
* This service directly communicates with the various Payment Service Providers (PSPs) in order to charge or refund customers. This service will automatically connect to the PSP linked in your admin configuration; meaning if you configured Stripe, it will automatically create a payment on Stripe when you create it in Emil.
|
|
4
4
|
*
|
|
5
5
|
* The version of the OpenAPI document: 1.0
|
|
6
|
-
* Contact:
|
|
6
|
+
* Contact: kontakt@emil.de
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
9
|
* https://openapi-generator.tech
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
* This service directly communicates with the various Payment Service Providers (PSPs) in order to charge or refund customers. This service will automatically connect to the PSP linked in your admin configuration; meaning if you configured Stripe, it will automatically create a payment on Stripe when you create it in Emil.
|
|
7
7
|
*
|
|
8
8
|
* The version of the OpenAPI document: 1.0
|
|
9
|
-
* Contact:
|
|
9
|
+
* Contact: kontakt@emil.de
|
|
10
10
|
*
|
|
11
11
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
12
12
|
* https://openapi-generator.tech
|