@emilgroup/payment-sdk 1.4.1-beta.33 → 1.4.1-beta.34
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/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/models/create-bank-account-request-dto.d.ts +2 -2
- package/dist/models/create-payment-request-dto.d.ts +3 -3
- package/dist/models/index.d.ts +0 -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 +3 -3
- 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 -72
- package/dist/models/bank-account-class-without-expand-properties.js +0 -15
- package/dist/models/bank-account-class.d.ts +0 -79
- package/dist/models/bank-account-class.js +0 -15
- package/dist/models/bank-transaction-class.d.ts +0 -128
- package/dist/models/bank-transaction-class.js +0 -15
- package/dist/models/billing-profile-dto.d.ts +0 -38
- package/dist/models/billing-profile-dto.js +0 -15
- package/dist/models/billing-profile-limited-response-dto.d.ts +0 -54
- package/dist/models/billing-profile-limited-response-dto.js +0 -15
- package/dist/models/complete-braintree-payment-setup-request-dto.d.ts +0 -48
- package/dist/models/complete-braintree-payment-setup-request-dto.js +0 -15
- package/dist/models/complete-payment-setup-request-dto.d.ts +0 -32
- package/dist/models/complete-payment-setup-request-dto.js +0 -15
- package/dist/models/complete-payment-setup-response-class.d.ts +0 -25
- package/dist/models/complete-payment-setup-response-class.js +0 -15
- package/dist/models/complete-stripe-payment-setup-request-dto.d.ts +0 -60
- package/dist/models/complete-stripe-payment-setup-request-dto.js +0 -15
- package/dist/models/create-bank-account-response-class.d.ts +0 -25
- package/dist/models/create-bank-account-response-class.js +0 -15
- package/dist/models/create-payment-method-response-class.d.ts +0 -25
- package/dist/models/create-payment-method-response-class.js +0 -15
- package/dist/models/create-payment-reminder-response-class.d.ts +0 -25
- package/dist/models/create-payment-reminder-response-class.js +0 -15
- package/dist/models/create-payment-response-class.d.ts +0 -25
- package/dist/models/create-payment-response-class.js +0 -15
- package/dist/models/create-psp-payment-method-request-dto.d.ts +0 -61
- package/dist/models/create-psp-payment-method-request-dto.js +0 -32
- package/dist/models/create-refund-response-class.d.ts +0 -25
- package/dist/models/create-refund-response-class.js +0 -15
- package/dist/models/deactivate-payment-reminder-response-class.d.ts +0 -25
- package/dist/models/deactivate-payment-reminder-response-class.js +0 -15
- package/dist/models/deactivated-payment-reminder-class.d.ts +0 -90
- package/dist/models/deactivated-payment-reminder-class.js +0 -15
- package/dist/models/get-bank-account-response-class.d.ts +0 -25
- package/dist/models/get-bank-account-response-class.js +0 -15
- package/dist/models/get-bank-transactions-response-class.d.ts +0 -25
- package/dist/models/get-bank-transactions-response-class.js +0 -15
- package/dist/models/get-payment-method-response-class.d.ts +0 -25
- package/dist/models/get-payment-method-response-class.js +0 -15
- package/dist/models/get-payment-reminder-response-class.d.ts +0 -25
- package/dist/models/get-payment-reminder-response-class.js +0 -15
- package/dist/models/get-payment-response-class.d.ts +0 -25
- package/dist/models/get-payment-response-class.js +0 -15
- package/dist/models/get-refund-response-class.d.ts +0 -25
- package/dist/models/get-refund-response-class.js +0 -15
- package/dist/models/import-bank-transactions-response-class.d.ts +0 -25
- package/dist/models/import-bank-transactions-response-class.js +0 -15
- package/dist/models/initiate-braintree-payment-setup-request-dto.d.ts +0 -30
- package/dist/models/initiate-braintree-payment-setup-request-dto.js +0 -15
- package/dist/models/initiate-braintree-payment-setup-response-class.d.ts +0 -24
- package/dist/models/initiate-braintree-payment-setup-response-class.js +0 -15
- package/dist/models/initiate-payment-setup-request-dto.d.ts +0 -50
- package/dist/models/initiate-payment-setup-request-dto.js +0 -15
- package/dist/models/initiate-payment-setup-response-class.d.ts +0 -32
- package/dist/models/initiate-payment-setup-response-class.js +0 -15
- package/dist/models/initiate-stripe-payment-setup-request-dto.d.ts +0 -30
- package/dist/models/initiate-stripe-payment-setup-request-dto.js +0 -15
- package/dist/models/initiate-stripe-payment-setup-response-class.d.ts +0 -30
- package/dist/models/initiate-stripe-payment-setup-response-class.js +0 -15
- package/dist/models/link-bank-transactions-response-class.d.ts +0 -25
- package/dist/models/link-bank-transactions-response-class.js +0 -15
- package/dist/models/list-bank-accounts-response-class.d.ts +0 -31
- package/dist/models/list-bank-accounts-response-class.js +0 -15
- package/dist/models/list-bank-transactions-response-class.d.ts +0 -31
- package/dist/models/list-bank-transactions-response-class.js +0 -15
- package/dist/models/list-payment-methods-response-class.d.ts +0 -31
- package/dist/models/list-payment-methods-response-class.js +0 -15
- package/dist/models/list-payment-reminders-response-class.d.ts +0 -31
- package/dist/models/list-payment-reminders-response-class.js +0 -15
- package/dist/models/list-payments-response-class.d.ts +0 -31
- package/dist/models/list-payments-response-class.js +0 -15
- package/dist/models/list-refunds-response-class.d.ts +0 -31
- package/dist/models/list-refunds-response-class.js +0 -15
- package/dist/models/payment-class-without-expand-properties.d.ts +0 -102
- package/dist/models/payment-class-without-expand-properties.js +0 -15
- package/dist/models/payment-class.d.ts +0 -109
- package/dist/models/payment-class.js +0 -15
- package/dist/models/payment-method-class.d.ts +0 -66
- package/dist/models/payment-method-class.js +0 -15
- package/dist/models/payment-reminder-class.d.ts +0 -90
- package/dist/models/payment-reminder-class.js +0 -15
- package/dist/models/primary-bank-account-response-class.d.ts +0 -42
- package/dist/models/primary-bank-account-response-class.js +0 -15
- package/dist/models/refund-class-without-expand-properties.d.ts +0 -99
- package/dist/models/refund-class-without-expand-properties.js +0 -29
- package/dist/models/refund-class.d.ts +0 -99
- package/dist/models/refund-class.js +0 -29
- package/dist/models/sepa-direct-dto.d.ts +0 -24
- package/dist/models/sepa-direct-dto.js +0 -15
- package/dist/models/symphony-profile-limited-response-dto.d.ts +0 -42
- package/dist/models/symphony-profile-limited-response-dto.js +0 -15
- package/dist/models/transaction-class.d.ts +0 -54
- package/dist/models/transaction-class.js +0 -15
- package/dist/models/unlink-bank-transactions-response-class.d.ts +0 -25
- package/dist/models/unlink-bank-transactions-response-class.js +0 -15
- package/dist/models/unlinked-bank-transaction-response-class.d.ts +0 -96
- package/dist/models/unlinked-bank-transaction-response-class.js +0 -15
- package/dist/models/update-bank-account-response-class.d.ts +0 -25
- package/dist/models/update-bank-account-response-class.js +0 -15
- package/models/bank-account-class-without-expand-properties.ts +0 -78
- package/models/bank-account-class.ts +0 -85
- package/models/bank-transaction-class.ts +0 -134
- package/models/billing-profile-dto.ts +0 -44
- package/models/billing-profile-limited-response-dto.ts +0 -60
- package/models/complete-braintree-payment-setup-request-dto.ts +0 -54
- package/models/complete-payment-setup-request-dto.ts +0 -38
- package/models/complete-payment-setup-response-class.ts +0 -31
- package/models/complete-stripe-payment-setup-request-dto.ts +0 -66
- package/models/create-bank-account-response-class.ts +0 -31
- package/models/create-payment-method-response-class.ts +0 -31
- package/models/create-payment-reminder-response-class.ts +0 -31
- package/models/create-payment-response-class.ts +0 -31
- package/models/create-psp-payment-method-request-dto.ts +0 -70
- package/models/create-refund-response-class.ts +0 -31
- package/models/deactivate-payment-reminder-response-class.ts +0 -31
- package/models/deactivated-payment-reminder-class.ts +0 -96
- package/models/get-bank-account-response-class.ts +0 -31
- package/models/get-bank-transactions-response-class.ts +0 -31
- package/models/get-payment-method-response-class.ts +0 -31
- package/models/get-payment-reminder-response-class.ts +0 -31
- package/models/get-payment-response-class.ts +0 -31
- package/models/get-refund-response-class.ts +0 -31
- package/models/import-bank-transactions-response-class.ts +0 -31
- package/models/initiate-braintree-payment-setup-request-dto.ts +0 -36
- package/models/initiate-braintree-payment-setup-response-class.ts +0 -30
- package/models/initiate-payment-setup-request-dto.ts +0 -56
- package/models/initiate-payment-setup-response-class.ts +0 -38
- package/models/initiate-stripe-payment-setup-request-dto.ts +0 -36
- package/models/initiate-stripe-payment-setup-response-class.ts +0 -36
- package/models/link-bank-transactions-response-class.ts +0 -31
- package/models/list-bank-accounts-response-class.ts +0 -37
- package/models/list-bank-transactions-response-class.ts +0 -37
- package/models/list-payment-methods-response-class.ts +0 -37
- package/models/list-payment-reminders-response-class.ts +0 -37
- package/models/list-payments-response-class.ts +0 -37
- package/models/list-refunds-response-class.ts +0 -37
- package/models/payment-class-without-expand-properties.ts +0 -108
- package/models/payment-class.ts +0 -115
- package/models/payment-method-class.ts +0 -72
- package/models/payment-reminder-class.ts +0 -96
- package/models/primary-bank-account-response-class.ts +0 -48
- package/models/refund-class-without-expand-properties.ts +0 -109
- package/models/refund-class.ts +0 -109
- package/models/sepa-direct-dto.ts +0 -30
- package/models/symphony-profile-limited-response-dto.ts +0 -48
- package/models/transaction-class.ts +0 -60
- package/models/unlink-bank-transactions-response-class.ts +0 -31
- package/models/unlinked-bank-transaction-response-class.ts +0 -102
- package/models/update-bank-account-response-class.ts +0 -31
package/.openapi-generator/FILES
CHANGED
|
@@ -18,76 +18,26 @@ common.ts
|
|
|
18
18
|
configuration.ts
|
|
19
19
|
git_push.sh
|
|
20
20
|
index.ts
|
|
21
|
-
models/bank-account-class-without-expand-properties.ts
|
|
22
|
-
models/bank-account-class.ts
|
|
23
21
|
models/bank-transaction-class-without-expand-properties.ts
|
|
24
|
-
models/bank-transaction-class.ts
|
|
25
|
-
models/billing-profile-dto.ts
|
|
26
|
-
models/billing-profile-limited-response-dto.ts
|
|
27
|
-
models/complete-braintree-payment-setup-request-dto.ts
|
|
28
|
-
models/complete-payment-setup-request-dto.ts
|
|
29
|
-
models/complete-payment-setup-response-class.ts
|
|
30
|
-
models/complete-stripe-payment-setup-request-dto.ts
|
|
31
22
|
models/create-bank-account-request-dto.ts
|
|
32
|
-
models/create-bank-account-response-class.ts
|
|
33
|
-
models/create-payment-method-response-class.ts
|
|
34
23
|
models/create-payment-reminder-request-dto.ts
|
|
35
|
-
models/create-payment-reminder-response-class.ts
|
|
36
24
|
models/create-payment-request-dto.ts
|
|
37
|
-
models/create-payment-response-class.ts
|
|
38
|
-
models/create-psp-payment-method-request-dto.ts
|
|
39
25
|
models/create-refund-request-dto.ts
|
|
40
|
-
models/create-refund-response-class.ts
|
|
41
26
|
models/create-tenant-bank-account-request-dto.ts
|
|
42
27
|
models/create-tenant-bank-account-response-class.ts
|
|
43
28
|
models/deactivate-payment-reminder-request-dto.ts
|
|
44
|
-
models/deactivate-payment-reminder-response-class.ts
|
|
45
|
-
models/deactivated-payment-reminder-class.ts
|
|
46
|
-
models/get-bank-account-response-class.ts
|
|
47
|
-
models/get-bank-transactions-response-class.ts
|
|
48
|
-
models/get-payment-method-response-class.ts
|
|
49
|
-
models/get-payment-reminder-response-class.ts
|
|
50
|
-
models/get-payment-response-class.ts
|
|
51
|
-
models/get-refund-response-class.ts
|
|
52
29
|
models/get-tenant-bank-account-response-class.ts
|
|
53
|
-
models/import-bank-transactions-response-class.ts
|
|
54
30
|
models/index.ts
|
|
55
|
-
models/initiate-braintree-payment-setup-request-dto.ts
|
|
56
|
-
models/initiate-braintree-payment-setup-response-class.ts
|
|
57
|
-
models/initiate-payment-setup-request-dto.ts
|
|
58
|
-
models/initiate-payment-setup-response-class.ts
|
|
59
|
-
models/initiate-stripe-payment-setup-request-dto.ts
|
|
60
|
-
models/initiate-stripe-payment-setup-response-class.ts
|
|
61
31
|
models/inline-response200.ts
|
|
62
32
|
models/inline-response503.ts
|
|
63
33
|
models/link-bank-transaction-request-dto-rest.ts
|
|
64
|
-
models/link-bank-transactions-response-class.ts
|
|
65
|
-
models/list-bank-accounts-response-class.ts
|
|
66
|
-
models/list-bank-transactions-response-class.ts
|
|
67
|
-
models/list-payment-methods-response-class.ts
|
|
68
|
-
models/list-payment-reminders-response-class.ts
|
|
69
|
-
models/list-payments-response-class.ts
|
|
70
|
-
models/list-refunds-response-class.ts
|
|
71
34
|
models/list-tenant-bank-account-response-class.ts
|
|
72
|
-
models/payment-class-without-expand-properties.ts
|
|
73
|
-
models/payment-class.ts
|
|
74
|
-
models/payment-method-class.ts
|
|
75
|
-
models/payment-reminder-class.ts
|
|
76
|
-
models/primary-bank-account-response-class.ts
|
|
77
|
-
models/refund-class-without-expand-properties.ts
|
|
78
|
-
models/refund-class.ts
|
|
79
|
-
models/sepa-direct-dto.ts
|
|
80
35
|
models/set-primary-bank-account-request-dto-rest.ts
|
|
81
|
-
models/symphony-profile-limited-response-dto.ts
|
|
82
36
|
models/tenant-bank-account-class-without-expand-properties.ts
|
|
83
37
|
models/tenant-bank-account-class.ts
|
|
84
|
-
models/transaction-class.ts
|
|
85
38
|
models/unlink-bank-transaction-request-dto-rest.ts
|
|
86
|
-
models/unlink-bank-transactions-response-class.ts
|
|
87
|
-
models/unlinked-bank-transaction-response-class.ts
|
|
88
39
|
models/update-bank-account-request-dto-rest.ts
|
|
89
40
|
models/update-bank-account-request-dto.ts
|
|
90
|
-
models/update-bank-account-response-class.ts
|
|
91
41
|
models/update-tenant-bank-account-response-class.ts
|
|
92
42
|
models/update-tenant-bank-account-rest-request-dto.ts
|
|
93
43
|
models/validate-pspconfig-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@1.4.1-beta.
|
|
20
|
+
npm install @emilgroup/payment-sdk@1.4.1-beta.34 --save
|
|
21
21
|
```
|
|
22
22
|
or
|
|
23
23
|
```
|
|
24
|
-
yarn add @emilgroup/payment-sdk@1.4.1-beta.
|
|
24
|
+
yarn add @emilgroup/payment-sdk@1.4.1-beta.34
|
|
25
25
|
```
|
|
26
26
|
|
|
27
27
|
And then you can import `PaymentsApi`.
|
package/api/bank-accounts-api.ts
CHANGED
|
@@ -23,17 +23,9 @@ import { BASE_PATH, COLLECTION_FORMATS, RequestArgs, BaseAPI, RequiredError } fr
|
|
|
23
23
|
// @ts-ignore
|
|
24
24
|
import { CreateBankAccountRequestDto } from '../models';
|
|
25
25
|
// @ts-ignore
|
|
26
|
-
import { CreateBankAccountResponseClass } from '../models';
|
|
27
|
-
// @ts-ignore
|
|
28
|
-
import { GetBankAccountResponseClass } from '../models';
|
|
29
|
-
// @ts-ignore
|
|
30
|
-
import { ListBankAccountsResponseClass } from '../models';
|
|
31
|
-
// @ts-ignore
|
|
32
26
|
import { SetPrimaryBankAccountRequestDtoRest } from '../models';
|
|
33
27
|
// @ts-ignore
|
|
34
28
|
import { UpdateBankAccountRequestDtoRest } from '../models';
|
|
35
|
-
// @ts-ignore
|
|
36
|
-
import { UpdateBankAccountResponseClass } from '../models';
|
|
37
29
|
/**
|
|
38
30
|
* BankAccountsApi - axios parameter creator
|
|
39
31
|
* @export
|
|
@@ -378,7 +370,7 @@ export const BankAccountsApiFp = function(configuration?: Configuration) {
|
|
|
378
370
|
* @param {*} [options] Override http request option.
|
|
379
371
|
* @throws {RequiredError}
|
|
380
372
|
*/
|
|
381
|
-
async createBankAccount(createBankAccountRequestDto: CreateBankAccountRequestDto, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<
|
|
373
|
+
async createBankAccount(createBankAccountRequestDto: CreateBankAccountRequestDto, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
|
|
382
374
|
const localVarAxiosArgs = await localVarAxiosParamCreator.createBankAccount(createBankAccountRequestDto, authorization, options);
|
|
383
375
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
384
376
|
},
|
|
@@ -390,7 +382,7 @@ export const BankAccountsApiFp = function(configuration?: Configuration) {
|
|
|
390
382
|
* @param {*} [options] Override http request option.
|
|
391
383
|
* @throws {RequiredError}
|
|
392
384
|
*/
|
|
393
|
-
async deleteBankAccount(code: string, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<
|
|
385
|
+
async deleteBankAccount(code: string, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
|
|
394
386
|
const localVarAxiosArgs = await localVarAxiosParamCreator.deleteBankAccount(code, authorization, options);
|
|
395
387
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
396
388
|
},
|
|
@@ -403,7 +395,7 @@ export const BankAccountsApiFp = function(configuration?: Configuration) {
|
|
|
403
395
|
* @param {*} [options] Override http request option.
|
|
404
396
|
* @throws {RequiredError}
|
|
405
397
|
*/
|
|
406
|
-
async getBankAccount(code: string, authorization?: string, expand?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<
|
|
398
|
+
async getBankAccount(code: string, authorization?: string, expand?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
|
|
407
399
|
const localVarAxiosArgs = await localVarAxiosParamCreator.getBankAccount(code, authorization, expand, options);
|
|
408
400
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
409
401
|
},
|
|
@@ -421,7 +413,7 @@ export const BankAccountsApiFp = function(configuration?: Configuration) {
|
|
|
421
413
|
* @param {*} [options] Override http request option.
|
|
422
414
|
* @throws {RequiredError}
|
|
423
415
|
*/
|
|
424
|
-
async listBankAccounts(authorization?: string, pageSize?: any, pageToken?: any, filter?: string, search?: any, order?: string, expand?: string, filters?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<
|
|
416
|
+
async listBankAccounts(authorization?: string, pageSize?: any, pageToken?: any, filter?: string, search?: any, order?: string, expand?: string, filters?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
|
|
425
417
|
const localVarAxiosArgs = await localVarAxiosParamCreator.listBankAccounts(authorization, pageSize, pageToken, filter, search, order, expand, filters, options);
|
|
426
418
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
427
419
|
},
|
|
@@ -434,7 +426,7 @@ export const BankAccountsApiFp = function(configuration?: Configuration) {
|
|
|
434
426
|
* @param {*} [options] Override http request option.
|
|
435
427
|
* @throws {RequiredError}
|
|
436
428
|
*/
|
|
437
|
-
async setPrimaryBankAccount(code: string, setPrimaryBankAccountRequestDtoRest: SetPrimaryBankAccountRequestDtoRest, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<
|
|
429
|
+
async setPrimaryBankAccount(code: string, setPrimaryBankAccountRequestDtoRest: SetPrimaryBankAccountRequestDtoRest, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
|
|
438
430
|
const localVarAxiosArgs = await localVarAxiosParamCreator.setPrimaryBankAccount(code, setPrimaryBankAccountRequestDtoRest, authorization, options);
|
|
439
431
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
440
432
|
},
|
|
@@ -447,7 +439,7 @@ export const BankAccountsApiFp = function(configuration?: Configuration) {
|
|
|
447
439
|
* @param {*} [options] Override http request option.
|
|
448
440
|
* @throws {RequiredError}
|
|
449
441
|
*/
|
|
450
|
-
async updateBankAccount(code: string, updateBankAccountRequestDtoRest: UpdateBankAccountRequestDtoRest, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<
|
|
442
|
+
async updateBankAccount(code: string, updateBankAccountRequestDtoRest: UpdateBankAccountRequestDtoRest, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
|
|
451
443
|
const localVarAxiosArgs = await localVarAxiosParamCreator.updateBankAccount(code, updateBankAccountRequestDtoRest, authorization, options);
|
|
452
444
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
453
445
|
},
|
|
@@ -469,7 +461,7 @@ export const BankAccountsApiFactory = function (configuration?: Configuration, b
|
|
|
469
461
|
* @param {*} [options] Override http request option.
|
|
470
462
|
* @throws {RequiredError}
|
|
471
463
|
*/
|
|
472
|
-
createBankAccount(createBankAccountRequestDto: CreateBankAccountRequestDto, authorization?: string, options?: any): AxiosPromise<
|
|
464
|
+
createBankAccount(createBankAccountRequestDto: CreateBankAccountRequestDto, authorization?: string, options?: any): AxiosPromise<void> {
|
|
473
465
|
return localVarFp.createBankAccount(createBankAccountRequestDto, authorization, options).then((request) => request(axios, basePath));
|
|
474
466
|
},
|
|
475
467
|
/**
|
|
@@ -480,7 +472,7 @@ export const BankAccountsApiFactory = function (configuration?: Configuration, b
|
|
|
480
472
|
* @param {*} [options] Override http request option.
|
|
481
473
|
* @throws {RequiredError}
|
|
482
474
|
*/
|
|
483
|
-
deleteBankAccount(code: string, authorization?: string, options?: any): AxiosPromise<
|
|
475
|
+
deleteBankAccount(code: string, authorization?: string, options?: any): AxiosPromise<void> {
|
|
484
476
|
return localVarFp.deleteBankAccount(code, authorization, options).then((request) => request(axios, basePath));
|
|
485
477
|
},
|
|
486
478
|
/**
|
|
@@ -492,7 +484,7 @@ export const BankAccountsApiFactory = function (configuration?: Configuration, b
|
|
|
492
484
|
* @param {*} [options] Override http request option.
|
|
493
485
|
* @throws {RequiredError}
|
|
494
486
|
*/
|
|
495
|
-
getBankAccount(code: string, authorization?: string, expand?: string, options?: any): AxiosPromise<
|
|
487
|
+
getBankAccount(code: string, authorization?: string, expand?: string, options?: any): AxiosPromise<void> {
|
|
496
488
|
return localVarFp.getBankAccount(code, authorization, expand, options).then((request) => request(axios, basePath));
|
|
497
489
|
},
|
|
498
490
|
/**
|
|
@@ -509,7 +501,7 @@ export const BankAccountsApiFactory = function (configuration?: Configuration, b
|
|
|
509
501
|
* @param {*} [options] Override http request option.
|
|
510
502
|
* @throws {RequiredError}
|
|
511
503
|
*/
|
|
512
|
-
listBankAccounts(authorization?: string, pageSize?: any, pageToken?: any, filter?: string, search?: any, order?: string, expand?: string, filters?: string, options?: any): AxiosPromise<
|
|
504
|
+
listBankAccounts(authorization?: string, pageSize?: any, pageToken?: any, filter?: string, search?: any, order?: string, expand?: string, filters?: string, options?: any): AxiosPromise<void> {
|
|
513
505
|
return localVarFp.listBankAccounts(authorization, pageSize, pageToken, filter, search, order, expand, filters, options).then((request) => request(axios, basePath));
|
|
514
506
|
},
|
|
515
507
|
/**
|
|
@@ -521,7 +513,7 @@ export const BankAccountsApiFactory = function (configuration?: Configuration, b
|
|
|
521
513
|
* @param {*} [options] Override http request option.
|
|
522
514
|
* @throws {RequiredError}
|
|
523
515
|
*/
|
|
524
|
-
setPrimaryBankAccount(code: string, setPrimaryBankAccountRequestDtoRest: SetPrimaryBankAccountRequestDtoRest, authorization?: string, options?: any): AxiosPromise<
|
|
516
|
+
setPrimaryBankAccount(code: string, setPrimaryBankAccountRequestDtoRest: SetPrimaryBankAccountRequestDtoRest, authorization?: string, options?: any): AxiosPromise<void> {
|
|
525
517
|
return localVarFp.setPrimaryBankAccount(code, setPrimaryBankAccountRequestDtoRest, authorization, options).then((request) => request(axios, basePath));
|
|
526
518
|
},
|
|
527
519
|
/**
|
|
@@ -533,7 +525,7 @@ export const BankAccountsApiFactory = function (configuration?: Configuration, b
|
|
|
533
525
|
* @param {*} [options] Override http request option.
|
|
534
526
|
* @throws {RequiredError}
|
|
535
527
|
*/
|
|
536
|
-
updateBankAccount(code: string, updateBankAccountRequestDtoRest: UpdateBankAccountRequestDtoRest, authorization?: string, options?: any): AxiosPromise<
|
|
528
|
+
updateBankAccount(code: string, updateBankAccountRequestDtoRest: UpdateBankAccountRequestDtoRest, authorization?: string, options?: any): AxiosPromise<void> {
|
|
537
529
|
return localVarFp.updateBankAccount(code, updateBankAccountRequestDtoRest, authorization, options).then((request) => request(axios, basePath));
|
|
538
530
|
},
|
|
539
531
|
};
|
|
@@ -21,19 +21,9 @@ import { DUMMY_BASE_URL, assertParamExists, setApiKeyToObject, setBasicAuthToObj
|
|
|
21
21
|
// @ts-ignore
|
|
22
22
|
import { BASE_PATH, COLLECTION_FORMATS, RequestArgs, BaseAPI, RequiredError } from '../base';
|
|
23
23
|
// @ts-ignore
|
|
24
|
-
import { GetBankTransactionsResponseClass } from '../models';
|
|
25
|
-
// @ts-ignore
|
|
26
|
-
import { ImportBankTransactionsResponseClass } from '../models';
|
|
27
|
-
// @ts-ignore
|
|
28
24
|
import { LinkBankTransactionRequestDtoRest } from '../models';
|
|
29
25
|
// @ts-ignore
|
|
30
|
-
import { LinkBankTransactionsResponseClass } from '../models';
|
|
31
|
-
// @ts-ignore
|
|
32
|
-
import { ListBankTransactionsResponseClass } from '../models';
|
|
33
|
-
// @ts-ignore
|
|
34
26
|
import { UnlinkBankTransactionRequestDtoRest } from '../models';
|
|
35
|
-
// @ts-ignore
|
|
36
|
-
import { UnlinkBankTransactionsResponseClass } from '../models';
|
|
37
27
|
/**
|
|
38
28
|
* BankTransactionApi - axios parameter creator
|
|
39
29
|
* @export
|
|
@@ -339,7 +329,7 @@ export const BankTransactionApiFp = function(configuration?: Configuration) {
|
|
|
339
329
|
* @param {*} [options] Override http request option.
|
|
340
330
|
* @throws {RequiredError}
|
|
341
331
|
*/
|
|
342
|
-
async getBankTransaction(code: string, authorization?: string, expand?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<
|
|
332
|
+
async getBankTransaction(code: string, authorization?: string, expand?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
|
|
343
333
|
const localVarAxiosArgs = await localVarAxiosParamCreator.getBankTransaction(code, authorization, expand, options);
|
|
344
334
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
345
335
|
},
|
|
@@ -351,7 +341,7 @@ export const BankTransactionApiFp = function(configuration?: Configuration) {
|
|
|
351
341
|
* @param {*} [options] Override http request option.
|
|
352
342
|
* @throws {RequiredError}
|
|
353
343
|
*/
|
|
354
|
-
async importBankTransactions(file: any, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<
|
|
344
|
+
async importBankTransactions(file: any, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
|
|
355
345
|
const localVarAxiosArgs = await localVarAxiosParamCreator.importBankTransactions(file, authorization, options);
|
|
356
346
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
357
347
|
},
|
|
@@ -364,7 +354,7 @@ export const BankTransactionApiFp = function(configuration?: Configuration) {
|
|
|
364
354
|
* @param {*} [options] Override http request option.
|
|
365
355
|
* @throws {RequiredError}
|
|
366
356
|
*/
|
|
367
|
-
async linkBankTransaction(code: string, linkBankTransactionRequestDtoRest: LinkBankTransactionRequestDtoRest, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<
|
|
357
|
+
async linkBankTransaction(code: string, linkBankTransactionRequestDtoRest: LinkBankTransactionRequestDtoRest, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
|
|
368
358
|
const localVarAxiosArgs = await localVarAxiosParamCreator.linkBankTransaction(code, linkBankTransactionRequestDtoRest, authorization, options);
|
|
369
359
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
370
360
|
},
|
|
@@ -382,7 +372,7 @@ export const BankTransactionApiFp = function(configuration?: Configuration) {
|
|
|
382
372
|
* @param {*} [options] Override http request option.
|
|
383
373
|
* @throws {RequiredError}
|
|
384
374
|
*/
|
|
385
|
-
async listBankTransactions(authorization?: string, pageSize?: any, pageToken?: any, filter?: string, search?: string, order?: string, expand?: string, filters?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<
|
|
375
|
+
async listBankTransactions(authorization?: string, pageSize?: any, pageToken?: any, filter?: string, search?: string, order?: string, expand?: string, filters?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
|
|
386
376
|
const localVarAxiosArgs = await localVarAxiosParamCreator.listBankTransactions(authorization, pageSize, pageToken, filter, search, order, expand, filters, options);
|
|
387
377
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
388
378
|
},
|
|
@@ -395,7 +385,7 @@ export const BankTransactionApiFp = function(configuration?: Configuration) {
|
|
|
395
385
|
* @param {*} [options] Override http request option.
|
|
396
386
|
* @throws {RequiredError}
|
|
397
387
|
*/
|
|
398
|
-
async unlinkBankTransaction(code: string, unlinkBankTransactionRequestDtoRest: UnlinkBankTransactionRequestDtoRest, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<
|
|
388
|
+
async unlinkBankTransaction(code: string, unlinkBankTransactionRequestDtoRest: UnlinkBankTransactionRequestDtoRest, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
|
|
399
389
|
const localVarAxiosArgs = await localVarAxiosParamCreator.unlinkBankTransaction(code, unlinkBankTransactionRequestDtoRest, authorization, options);
|
|
400
390
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
401
391
|
},
|
|
@@ -418,7 +408,7 @@ export const BankTransactionApiFactory = function (configuration?: Configuration
|
|
|
418
408
|
* @param {*} [options] Override http request option.
|
|
419
409
|
* @throws {RequiredError}
|
|
420
410
|
*/
|
|
421
|
-
getBankTransaction(code: string, authorization?: string, expand?: string, options?: any): AxiosPromise<
|
|
411
|
+
getBankTransaction(code: string, authorization?: string, expand?: string, options?: any): AxiosPromise<void> {
|
|
422
412
|
return localVarFp.getBankTransaction(code, authorization, expand, options).then((request) => request(axios, basePath));
|
|
423
413
|
},
|
|
424
414
|
/**
|
|
@@ -429,7 +419,7 @@ export const BankTransactionApiFactory = function (configuration?: Configuration
|
|
|
429
419
|
* @param {*} [options] Override http request option.
|
|
430
420
|
* @throws {RequiredError}
|
|
431
421
|
*/
|
|
432
|
-
importBankTransactions(file: any, authorization?: string, options?: any): AxiosPromise<
|
|
422
|
+
importBankTransactions(file: any, authorization?: string, options?: any): AxiosPromise<void> {
|
|
433
423
|
return localVarFp.importBankTransactions(file, authorization, options).then((request) => request(axios, basePath));
|
|
434
424
|
},
|
|
435
425
|
/**
|
|
@@ -441,7 +431,7 @@ export const BankTransactionApiFactory = function (configuration?: Configuration
|
|
|
441
431
|
* @param {*} [options] Override http request option.
|
|
442
432
|
* @throws {RequiredError}
|
|
443
433
|
*/
|
|
444
|
-
linkBankTransaction(code: string, linkBankTransactionRequestDtoRest: LinkBankTransactionRequestDtoRest, authorization?: string, options?: any): AxiosPromise<
|
|
434
|
+
linkBankTransaction(code: string, linkBankTransactionRequestDtoRest: LinkBankTransactionRequestDtoRest, authorization?: string, options?: any): AxiosPromise<void> {
|
|
445
435
|
return localVarFp.linkBankTransaction(code, linkBankTransactionRequestDtoRest, authorization, options).then((request) => request(axios, basePath));
|
|
446
436
|
},
|
|
447
437
|
/**
|
|
@@ -458,7 +448,7 @@ export const BankTransactionApiFactory = function (configuration?: Configuration
|
|
|
458
448
|
* @param {*} [options] Override http request option.
|
|
459
449
|
* @throws {RequiredError}
|
|
460
450
|
*/
|
|
461
|
-
listBankTransactions(authorization?: string, pageSize?: any, pageToken?: any, filter?: string, search?: string, order?: string, expand?: string, filters?: string, options?: any): AxiosPromise<
|
|
451
|
+
listBankTransactions(authorization?: string, pageSize?: any, pageToken?: any, filter?: string, search?: string, order?: string, expand?: string, filters?: string, options?: any): AxiosPromise<void> {
|
|
462
452
|
return localVarFp.listBankTransactions(authorization, pageSize, pageToken, filter, search, order, expand, filters, options).then((request) => request(axios, basePath));
|
|
463
453
|
},
|
|
464
454
|
/**
|
|
@@ -470,7 +460,7 @@ export const BankTransactionApiFactory = function (configuration?: Configuration
|
|
|
470
460
|
* @param {*} [options] Override http request option.
|
|
471
461
|
* @throws {RequiredError}
|
|
472
462
|
*/
|
|
473
|
-
unlinkBankTransaction(code: string, unlinkBankTransactionRequestDtoRest: UnlinkBankTransactionRequestDtoRest, authorization?: string, options?: any): AxiosPromise<
|
|
463
|
+
unlinkBankTransaction(code: string, unlinkBankTransactionRequestDtoRest: UnlinkBankTransactionRequestDtoRest, authorization?: string, options?: any): AxiosPromise<void> {
|
|
474
464
|
return localVarFp.unlinkBankTransaction(code, unlinkBankTransactionRequestDtoRest, authorization, options).then((request) => request(axios, basePath));
|
|
475
465
|
},
|
|
476
466
|
};
|
|
@@ -20,14 +20,6 @@ import { Configuration } from '../configuration';
|
|
|
20
20
|
import { DUMMY_BASE_URL, assertParamExists, setApiKeyToObject, setBasicAuthToObject, setBearerAuthToObject, setOAuthToObject, setSearchParams, serializeDataIfNeeded, toPathString, createRequestFunction } from '../common';
|
|
21
21
|
// @ts-ignore
|
|
22
22
|
import { BASE_PATH, COLLECTION_FORMATS, RequestArgs, BaseAPI, RequiredError } from '../base';
|
|
23
|
-
// @ts-ignore
|
|
24
|
-
import { CreatePaymentMethodResponseClass } from '../models';
|
|
25
|
-
// @ts-ignore
|
|
26
|
-
import { CreatePspPaymentMethodRequestDto } from '../models';
|
|
27
|
-
// @ts-ignore
|
|
28
|
-
import { GetPaymentMethodResponseClass } from '../models';
|
|
29
|
-
// @ts-ignore
|
|
30
|
-
import { ListPaymentMethodsResponseClass } from '../models';
|
|
31
23
|
/**
|
|
32
24
|
* PaymentMethodsApi - axios parameter creator
|
|
33
25
|
* @export
|
|
@@ -37,14 +29,14 @@ export const PaymentMethodsApiAxiosParamCreator = function (configuration?: Conf
|
|
|
37
29
|
/**
|
|
38
30
|
* 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.
|
|
39
31
|
* @summary Create the payment method
|
|
40
|
-
* @param {
|
|
32
|
+
* @param {object} body
|
|
41
33
|
* @param {string} [authorization] Bearer Token
|
|
42
34
|
* @param {*} [options] Override http request option.
|
|
43
35
|
* @throws {RequiredError}
|
|
44
36
|
*/
|
|
45
|
-
createPaymentMethod: async (
|
|
46
|
-
// verify required parameter '
|
|
47
|
-
assertParamExists('createPaymentMethod', '
|
|
37
|
+
createPaymentMethod: async (body: object, authorization?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
38
|
+
// verify required parameter 'body' is not null or undefined
|
|
39
|
+
assertParamExists('createPaymentMethod', 'body', body)
|
|
48
40
|
const localVarPath = `/paymentservice/v1/payment-methods`;
|
|
49
41
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
50
42
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
@@ -74,7 +66,7 @@ export const PaymentMethodsApiAxiosParamCreator = function (configuration?: Conf
|
|
|
74
66
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
75
67
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
76
68
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
77
|
-
localVarRequestOptions.data = serializeDataIfNeeded(
|
|
69
|
+
localVarRequestOptions.data = serializeDataIfNeeded(body, localVarRequestOptions, configuration)
|
|
78
70
|
|
|
79
71
|
return {
|
|
80
72
|
url: toPathString(localVarUrlObj),
|
|
@@ -220,13 +212,13 @@ export const PaymentMethodsApiFp = function(configuration?: Configuration) {
|
|
|
220
212
|
/**
|
|
221
213
|
* 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.
|
|
222
214
|
* @summary Create the payment method
|
|
223
|
-
* @param {
|
|
215
|
+
* @param {object} body
|
|
224
216
|
* @param {string} [authorization] Bearer Token
|
|
225
217
|
* @param {*} [options] Override http request option.
|
|
226
218
|
* @throws {RequiredError}
|
|
227
219
|
*/
|
|
228
|
-
async createPaymentMethod(
|
|
229
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.createPaymentMethod(
|
|
220
|
+
async createPaymentMethod(body: object, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
|
|
221
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.createPaymentMethod(body, authorization, options);
|
|
230
222
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
231
223
|
},
|
|
232
224
|
/**
|
|
@@ -238,7 +230,7 @@ export const PaymentMethodsApiFp = function(configuration?: Configuration) {
|
|
|
238
230
|
* @param {*} [options] Override http request option.
|
|
239
231
|
* @throws {RequiredError}
|
|
240
232
|
*/
|
|
241
|
-
async getPaymentMethod(code: string, authorization?: string, expand?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<
|
|
233
|
+
async getPaymentMethod(code: string, authorization?: string, expand?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
|
|
242
234
|
const localVarAxiosArgs = await localVarAxiosParamCreator.getPaymentMethod(code, authorization, expand, options);
|
|
243
235
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
244
236
|
},
|
|
@@ -256,7 +248,7 @@ export const PaymentMethodsApiFp = function(configuration?: Configuration) {
|
|
|
256
248
|
* @param {*} [options] Override http request option.
|
|
257
249
|
* @throws {RequiredError}
|
|
258
250
|
*/
|
|
259
|
-
async listPaymentMethods(authorization?: string, pageSize?: any, pageToken?: any, filter?: string, search?: any, order?: string, expand?: string, filters?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<
|
|
251
|
+
async listPaymentMethods(authorization?: string, pageSize?: any, pageToken?: any, filter?: string, search?: any, order?: string, expand?: string, filters?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
|
|
260
252
|
const localVarAxiosArgs = await localVarAxiosParamCreator.listPaymentMethods(authorization, pageSize, pageToken, filter, search, order, expand, filters, options);
|
|
261
253
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
262
254
|
},
|
|
@@ -273,13 +265,13 @@ export const PaymentMethodsApiFactory = function (configuration?: Configuration,
|
|
|
273
265
|
/**
|
|
274
266
|
* 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.
|
|
275
267
|
* @summary Create the payment method
|
|
276
|
-
* @param {
|
|
268
|
+
* @param {object} body
|
|
277
269
|
* @param {string} [authorization] Bearer Token
|
|
278
270
|
* @param {*} [options] Override http request option.
|
|
279
271
|
* @throws {RequiredError}
|
|
280
272
|
*/
|
|
281
|
-
createPaymentMethod(
|
|
282
|
-
return localVarFp.createPaymentMethod(
|
|
273
|
+
createPaymentMethod(body: object, authorization?: string, options?: any): AxiosPromise<void> {
|
|
274
|
+
return localVarFp.createPaymentMethod(body, authorization, options).then((request) => request(axios, basePath));
|
|
283
275
|
},
|
|
284
276
|
/**
|
|
285
277
|
* 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.
|
|
@@ -290,7 +282,7 @@ export const PaymentMethodsApiFactory = function (configuration?: Configuration,
|
|
|
290
282
|
* @param {*} [options] Override http request option.
|
|
291
283
|
* @throws {RequiredError}
|
|
292
284
|
*/
|
|
293
|
-
getPaymentMethod(code: string, authorization?: string, expand?: string, options?: any): AxiosPromise<
|
|
285
|
+
getPaymentMethod(code: string, authorization?: string, expand?: string, options?: any): AxiosPromise<void> {
|
|
294
286
|
return localVarFp.getPaymentMethod(code, authorization, expand, options).then((request) => request(axios, basePath));
|
|
295
287
|
},
|
|
296
288
|
/**
|
|
@@ -307,7 +299,7 @@ export const PaymentMethodsApiFactory = function (configuration?: Configuration,
|
|
|
307
299
|
* @param {*} [options] Override http request option.
|
|
308
300
|
* @throws {RequiredError}
|
|
309
301
|
*/
|
|
310
|
-
listPaymentMethods(authorization?: string, pageSize?: any, pageToken?: any, filter?: string, search?: any, order?: string, expand?: string, filters?: string, options?: any): AxiosPromise<
|
|
302
|
+
listPaymentMethods(authorization?: string, pageSize?: any, pageToken?: any, filter?: string, search?: any, order?: string, expand?: string, filters?: string, options?: any): AxiosPromise<void> {
|
|
311
303
|
return localVarFp.listPaymentMethods(authorization, pageSize, pageToken, filter, search, order, expand, filters, options).then((request) => request(axios, basePath));
|
|
312
304
|
},
|
|
313
305
|
};
|
|
@@ -321,10 +313,10 @@ export const PaymentMethodsApiFactory = function (configuration?: Configuration,
|
|
|
321
313
|
export interface PaymentMethodsApiCreatePaymentMethodRequest {
|
|
322
314
|
/**
|
|
323
315
|
*
|
|
324
|
-
* @type {
|
|
316
|
+
* @type {object}
|
|
325
317
|
* @memberof PaymentMethodsApiCreatePaymentMethod
|
|
326
318
|
*/
|
|
327
|
-
readonly
|
|
319
|
+
readonly body: object
|
|
328
320
|
|
|
329
321
|
/**
|
|
330
322
|
* Bearer Token
|
|
@@ -441,7 +433,7 @@ export class PaymentMethodsApi extends BaseAPI {
|
|
|
441
433
|
* @memberof PaymentMethodsApi
|
|
442
434
|
*/
|
|
443
435
|
public createPaymentMethod(requestParameters: PaymentMethodsApiCreatePaymentMethodRequest, options?: AxiosRequestConfig) {
|
|
444
|
-
return PaymentMethodsApiFp(this.configuration).createPaymentMethod(requestParameters.
|
|
436
|
+
return PaymentMethodsApiFp(this.configuration).createPaymentMethod(requestParameters.body, requestParameters.authorization, options).then((request) => request(this.axios, this.basePath));
|
|
445
437
|
}
|
|
446
438
|
|
|
447
439
|
/**
|
|
@@ -23,15 +23,7 @@ import { BASE_PATH, COLLECTION_FORMATS, RequestArgs, BaseAPI, RequiredError } fr
|
|
|
23
23
|
// @ts-ignore
|
|
24
24
|
import { CreatePaymentReminderRequestDto } from '../models';
|
|
25
25
|
// @ts-ignore
|
|
26
|
-
import { CreatePaymentReminderResponseClass } from '../models';
|
|
27
|
-
// @ts-ignore
|
|
28
26
|
import { DeactivatePaymentReminderRequestDto } from '../models';
|
|
29
|
-
// @ts-ignore
|
|
30
|
-
import { DeactivatePaymentReminderResponseClass } from '../models';
|
|
31
|
-
// @ts-ignore
|
|
32
|
-
import { GetPaymentReminderResponseClass } from '../models';
|
|
33
|
-
// @ts-ignore
|
|
34
|
-
import { ListPaymentRemindersResponseClass } from '../models';
|
|
35
27
|
/**
|
|
36
28
|
* PaymentRemindersApi - axios parameter creator
|
|
37
29
|
* @export
|
|
@@ -280,7 +272,7 @@ export const PaymentRemindersApiFp = function(configuration?: Configuration) {
|
|
|
280
272
|
* @param {*} [options] Override http request option.
|
|
281
273
|
* @throws {RequiredError}
|
|
282
274
|
*/
|
|
283
|
-
async createPaymentReminder(createPaymentReminderRequestDto: CreatePaymentReminderRequestDto, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<
|
|
275
|
+
async createPaymentReminder(createPaymentReminderRequestDto: CreatePaymentReminderRequestDto, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
|
|
284
276
|
const localVarAxiosArgs = await localVarAxiosParamCreator.createPaymentReminder(createPaymentReminderRequestDto, authorization, options);
|
|
285
277
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
286
278
|
},
|
|
@@ -293,7 +285,7 @@ export const PaymentRemindersApiFp = function(configuration?: Configuration) {
|
|
|
293
285
|
* @param {*} [options] Override http request option.
|
|
294
286
|
* @throws {RequiredError}
|
|
295
287
|
*/
|
|
296
|
-
async deactivatePaymentReminder(code: string, deactivatePaymentReminderRequestDto: DeactivatePaymentReminderRequestDto, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<
|
|
288
|
+
async deactivatePaymentReminder(code: string, deactivatePaymentReminderRequestDto: DeactivatePaymentReminderRequestDto, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
|
|
297
289
|
const localVarAxiosArgs = await localVarAxiosParamCreator.deactivatePaymentReminder(code, deactivatePaymentReminderRequestDto, authorization, options);
|
|
298
290
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
299
291
|
},
|
|
@@ -306,7 +298,7 @@ export const PaymentRemindersApiFp = function(configuration?: Configuration) {
|
|
|
306
298
|
* @param {*} [options] Override http request option.
|
|
307
299
|
* @throws {RequiredError}
|
|
308
300
|
*/
|
|
309
|
-
async getPolicy(code: string, authorization?: string, expand?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<
|
|
301
|
+
async getPolicy(code: string, authorization?: string, expand?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
|
|
310
302
|
const localVarAxiosArgs = await localVarAxiosParamCreator.getPolicy(code, authorization, expand, options);
|
|
311
303
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
312
304
|
},
|
|
@@ -324,7 +316,7 @@ export const PaymentRemindersApiFp = function(configuration?: Configuration) {
|
|
|
324
316
|
* @param {*} [options] Override http request option.
|
|
325
317
|
* @throws {RequiredError}
|
|
326
318
|
*/
|
|
327
|
-
async listPaymentReminders(authorization?: string, pageSize?: any, pageToken?: any, filter?: string, search?: any, order?: string, expand?: string, filters?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<
|
|
319
|
+
async listPaymentReminders(authorization?: string, pageSize?: any, pageToken?: any, filter?: string, search?: any, order?: string, expand?: string, filters?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
|
|
328
320
|
const localVarAxiosArgs = await localVarAxiosParamCreator.listPaymentReminders(authorization, pageSize, pageToken, filter, search, order, expand, filters, options);
|
|
329
321
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
330
322
|
},
|
|
@@ -346,7 +338,7 @@ export const PaymentRemindersApiFactory = function (configuration?: Configuratio
|
|
|
346
338
|
* @param {*} [options] Override http request option.
|
|
347
339
|
* @throws {RequiredError}
|
|
348
340
|
*/
|
|
349
|
-
createPaymentReminder(createPaymentReminderRequestDto: CreatePaymentReminderRequestDto, authorization?: string, options?: any): AxiosPromise<
|
|
341
|
+
createPaymentReminder(createPaymentReminderRequestDto: CreatePaymentReminderRequestDto, authorization?: string, options?: any): AxiosPromise<void> {
|
|
350
342
|
return localVarFp.createPaymentReminder(createPaymentReminderRequestDto, authorization, options).then((request) => request(axios, basePath));
|
|
351
343
|
},
|
|
352
344
|
/**
|
|
@@ -358,7 +350,7 @@ export const PaymentRemindersApiFactory = function (configuration?: Configuratio
|
|
|
358
350
|
* @param {*} [options] Override http request option.
|
|
359
351
|
* @throws {RequiredError}
|
|
360
352
|
*/
|
|
361
|
-
deactivatePaymentReminder(code: string, deactivatePaymentReminderRequestDto: DeactivatePaymentReminderRequestDto, authorization?: string, options?: any): AxiosPromise<
|
|
353
|
+
deactivatePaymentReminder(code: string, deactivatePaymentReminderRequestDto: DeactivatePaymentReminderRequestDto, authorization?: string, options?: any): AxiosPromise<void> {
|
|
362
354
|
return localVarFp.deactivatePaymentReminder(code, deactivatePaymentReminderRequestDto, authorization, options).then((request) => request(axios, basePath));
|
|
363
355
|
},
|
|
364
356
|
/**
|
|
@@ -370,7 +362,7 @@ export const PaymentRemindersApiFactory = function (configuration?: Configuratio
|
|
|
370
362
|
* @param {*} [options] Override http request option.
|
|
371
363
|
* @throws {RequiredError}
|
|
372
364
|
*/
|
|
373
|
-
getPolicy(code: string, authorization?: string, expand?: string, options?: any): AxiosPromise<
|
|
365
|
+
getPolicy(code: string, authorization?: string, expand?: string, options?: any): AxiosPromise<void> {
|
|
374
366
|
return localVarFp.getPolicy(code, authorization, expand, options).then((request) => request(axios, basePath));
|
|
375
367
|
},
|
|
376
368
|
/**
|
|
@@ -387,7 +379,7 @@ export const PaymentRemindersApiFactory = function (configuration?: Configuratio
|
|
|
387
379
|
* @param {*} [options] Override http request option.
|
|
388
380
|
* @throws {RequiredError}
|
|
389
381
|
*/
|
|
390
|
-
listPaymentReminders(authorization?: string, pageSize?: any, pageToken?: any, filter?: string, search?: any, order?: string, expand?: string, filters?: string, options?: any): AxiosPromise<
|
|
382
|
+
listPaymentReminders(authorization?: string, pageSize?: any, pageToken?: any, filter?: string, search?: any, order?: string, expand?: string, filters?: string, options?: any): AxiosPromise<void> {
|
|
391
383
|
return localVarFp.listPaymentReminders(authorization, pageSize, pageToken, filter, search, order, expand, filters, options).then((request) => request(axios, basePath));
|
|
392
384
|
},
|
|
393
385
|
};
|