@emilgroup/payment-sdk 1.4.1-beta.17 → 1.4.1-beta.18
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/README.md +2 -2
- package/api/bank-accounts-api.ts +8 -8
- package/dist/api/bank-accounts-api.d.ts +8 -8
- package/dist/api/bank-accounts-api.js +8 -8
- package/dist/models/bank-account-class.d.ts +2 -2
- package/dist/models/create-bank-account-request-dto.d.ts +2 -2
- package/dist/models/get-bank-account-response-class.d.ts +1 -1
- package/dist/models/primary-bank-account-response-class.d.ts +1 -1
- package/dist/models/set-primary-bank-account-request-dto-rest.d.ts +1 -1
- package/models/bank-account-class.ts +2 -2
- package/models/create-bank-account-request-dto.ts +2 -2
- package/models/get-bank-account-response-class.ts +1 -1
- package/models/primary-bank-account-response-class.ts +1 -1
- package/models/set-primary-bank-account-request-dto-rest.ts +1 -1
- package/package.json +1 -1
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.18 --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.18
|
|
25
25
|
```
|
|
26
26
|
|
|
27
27
|
And then you can import `PaymentsApi`.
|
package/api/bank-accounts-api.ts
CHANGED
|
@@ -246,8 +246,8 @@ export const BankAccountsApiAxiosParamCreator = function (configuration?: Config
|
|
|
246
246
|
};
|
|
247
247
|
},
|
|
248
248
|
/**
|
|
249
|
-
* Set
|
|
250
|
-
* @summary Set
|
|
249
|
+
* Set primary bank account
|
|
250
|
+
* @summary Set primary bank account
|
|
251
251
|
* @param {string} code Code of the bank account to set primary
|
|
252
252
|
* @param {SetPrimaryBankAccountRequestDtoRest} setPrimaryBankAccountRequestDtoRest
|
|
253
253
|
* @param {string} [authorization] Bearer Token
|
|
@@ -361,8 +361,8 @@ export const BankAccountsApiFp = function(configuration?: Configuration) {
|
|
|
361
361
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
362
362
|
},
|
|
363
363
|
/**
|
|
364
|
-
* Set
|
|
365
|
-
* @summary Set
|
|
364
|
+
* Set primary bank account
|
|
365
|
+
* @summary Set primary bank account
|
|
366
366
|
* @param {string} code Code of the bank account to set primary
|
|
367
367
|
* @param {SetPrimaryBankAccountRequestDtoRest} setPrimaryBankAccountRequestDtoRest
|
|
368
368
|
* @param {string} [authorization] Bearer Token
|
|
@@ -434,8 +434,8 @@ export const BankAccountsApiFactory = function (configuration?: Configuration, b
|
|
|
434
434
|
return localVarFp.listBankAccounts(authorization, pageSize, pageToken, filter, search, order, expand, filters, options).then((request) => request(axios, basePath));
|
|
435
435
|
},
|
|
436
436
|
/**
|
|
437
|
-
* Set
|
|
438
|
-
* @summary Set
|
|
437
|
+
* Set primary bank account
|
|
438
|
+
* @summary Set primary bank account
|
|
439
439
|
* @param {string} code Code of the bank account to set primary
|
|
440
440
|
* @param {SetPrimaryBankAccountRequestDtoRest} setPrimaryBankAccountRequestDtoRest
|
|
441
441
|
* @param {string} [authorization] Bearer Token
|
|
@@ -658,8 +658,8 @@ export class BankAccountsApi extends BaseAPI {
|
|
|
658
658
|
}
|
|
659
659
|
|
|
660
660
|
/**
|
|
661
|
-
* Set
|
|
662
|
-
* @summary Set
|
|
661
|
+
* Set primary bank account
|
|
662
|
+
* @summary Set primary bank account
|
|
663
663
|
* @param {BankAccountsApiSetPrimaryBankAccountRequest} requestParameters Request parameters.
|
|
664
664
|
* @param {*} [options] Override http request option.
|
|
665
665
|
* @throws {RequiredError}
|
|
@@ -63,8 +63,8 @@ export declare const BankAccountsApiAxiosParamCreator: (configuration?: Configur
|
|
|
63
63
|
*/
|
|
64
64
|
listBankAccounts: (authorization?: string, pageSize?: any, pageToken?: any, filter?: any, search?: any, order?: any, expand?: any, filters?: any, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
65
65
|
/**
|
|
66
|
-
* Set
|
|
67
|
-
* @summary Set
|
|
66
|
+
* Set primary bank account
|
|
67
|
+
* @summary Set primary bank account
|
|
68
68
|
* @param {string} code Code of the bank account to set primary
|
|
69
69
|
* @param {SetPrimaryBankAccountRequestDtoRest} setPrimaryBankAccountRequestDtoRest
|
|
70
70
|
* @param {string} [authorization] Bearer Token
|
|
@@ -121,8 +121,8 @@ export declare const BankAccountsApiFp: (configuration?: Configuration) => {
|
|
|
121
121
|
*/
|
|
122
122
|
listBankAccounts(authorization?: string, pageSize?: any, pageToken?: any, filter?: any, search?: any, order?: any, expand?: any, filters?: any, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
|
|
123
123
|
/**
|
|
124
|
-
* Set
|
|
125
|
-
* @summary Set
|
|
124
|
+
* Set primary bank account
|
|
125
|
+
* @summary Set primary bank account
|
|
126
126
|
* @param {string} code Code of the bank account to set primary
|
|
127
127
|
* @param {SetPrimaryBankAccountRequestDtoRest} setPrimaryBankAccountRequestDtoRest
|
|
128
128
|
* @param {string} [authorization] Bearer Token
|
|
@@ -179,8 +179,8 @@ export declare const BankAccountsApiFactory: (configuration?: Configuration, bas
|
|
|
179
179
|
*/
|
|
180
180
|
listBankAccounts(authorization?: string, pageSize?: any, pageToken?: any, filter?: any, search?: any, order?: any, expand?: any, filters?: any, options?: any): AxiosPromise<void>;
|
|
181
181
|
/**
|
|
182
|
-
* Set
|
|
183
|
-
* @summary Set
|
|
182
|
+
* Set primary bank account
|
|
183
|
+
* @summary Set primary bank account
|
|
184
184
|
* @param {string} code Code of the bank account to set primary
|
|
185
185
|
* @param {SetPrimaryBankAccountRequestDtoRest} setPrimaryBankAccountRequestDtoRest
|
|
186
186
|
* @param {string} [authorization] Bearer Token
|
|
@@ -370,8 +370,8 @@ export declare class BankAccountsApi extends BaseAPI {
|
|
|
370
370
|
*/
|
|
371
371
|
listBankAccounts(requestParameters?: BankAccountsApiListBankAccountsRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any>>;
|
|
372
372
|
/**
|
|
373
|
-
* Set
|
|
374
|
-
* @summary Set
|
|
373
|
+
* Set primary bank account
|
|
374
|
+
* @summary Set primary bank account
|
|
375
375
|
* @param {BankAccountsApiSetPrimaryBankAccountRequest} requestParameters Request parameters.
|
|
376
376
|
* @param {*} [options] Override http request option.
|
|
377
377
|
* @throws {RequiredError}
|
|
@@ -310,8 +310,8 @@ var BankAccountsApiAxiosParamCreator = function (configuration) {
|
|
|
310
310
|
});
|
|
311
311
|
},
|
|
312
312
|
/**
|
|
313
|
-
* Set
|
|
314
|
-
* @summary Set
|
|
313
|
+
* Set primary bank account
|
|
314
|
+
* @summary Set primary bank account
|
|
315
315
|
* @param {string} code Code of the bank account to set primary
|
|
316
316
|
* @param {SetPrimaryBankAccountRequestDtoRest} setPrimaryBankAccountRequestDtoRest
|
|
317
317
|
* @param {string} [authorization] Bearer Token
|
|
@@ -463,8 +463,8 @@ var BankAccountsApiFp = function (configuration) {
|
|
|
463
463
|
});
|
|
464
464
|
},
|
|
465
465
|
/**
|
|
466
|
-
* Set
|
|
467
|
-
* @summary Set
|
|
466
|
+
* Set primary bank account
|
|
467
|
+
* @summary Set primary bank account
|
|
468
468
|
* @param {string} code Code of the bank account to set primary
|
|
469
469
|
* @param {SetPrimaryBankAccountRequestDtoRest} setPrimaryBankAccountRequestDtoRest
|
|
470
470
|
* @param {string} [authorization] Bearer Token
|
|
@@ -545,8 +545,8 @@ var BankAccountsApiFactory = function (configuration, basePath, axios) {
|
|
|
545
545
|
return localVarFp.listBankAccounts(authorization, pageSize, pageToken, filter, search, order, expand, filters, options).then(function (request) { return request(axios, basePath); });
|
|
546
546
|
},
|
|
547
547
|
/**
|
|
548
|
-
* Set
|
|
549
|
-
* @summary Set
|
|
548
|
+
* Set primary bank account
|
|
549
|
+
* @summary Set primary bank account
|
|
550
550
|
* @param {string} code Code of the bank account to set primary
|
|
551
551
|
* @param {SetPrimaryBankAccountRequestDtoRest} setPrimaryBankAccountRequestDtoRest
|
|
552
552
|
* @param {string} [authorization] Bearer Token
|
|
@@ -620,8 +620,8 @@ var BankAccountsApi = /** @class */ (function (_super) {
|
|
|
620
620
|
return (0, exports.BankAccountsApiFp)(this.configuration).listBankAccounts(requestParameters.authorization, requestParameters.pageSize, requestParameters.pageToken, requestParameters.filter, requestParameters.search, requestParameters.order, requestParameters.expand, requestParameters.filters, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
621
621
|
};
|
|
622
622
|
/**
|
|
623
|
-
* Set
|
|
624
|
-
* @summary Set
|
|
623
|
+
* Set primary bank account
|
|
624
|
+
* @summary Set primary bank account
|
|
625
625
|
* @param {BankAccountsApiSetPrimaryBankAccountRequest} requestParameters Request parameters.
|
|
626
626
|
* @param {*} [options] Override http request option.
|
|
627
627
|
* @throws {RequiredError}
|
|
@@ -29,7 +29,7 @@ export interface BankAccountClass {
|
|
|
29
29
|
*/
|
|
30
30
|
'code': string;
|
|
31
31
|
/**
|
|
32
|
-
* User account code associated
|
|
32
|
+
* User account code associated with bank account.
|
|
33
33
|
* @type {string}
|
|
34
34
|
* @memberof BankAccountClass
|
|
35
35
|
*/
|
|
@@ -53,7 +53,7 @@ export interface BankAccountClass {
|
|
|
53
53
|
*/
|
|
54
54
|
'updatedAt': string;
|
|
55
55
|
/**
|
|
56
|
-
* Partner code associated
|
|
56
|
+
* Partner code associated with bank account.
|
|
57
57
|
* @type {string}
|
|
58
58
|
* @memberof BankAccountClass
|
|
59
59
|
*/
|
|
@@ -16,13 +16,13 @@
|
|
|
16
16
|
*/
|
|
17
17
|
export interface CreateBankAccountRequestDto {
|
|
18
18
|
/**
|
|
19
|
-
* User account code associated
|
|
19
|
+
* User account code associated with bank account.
|
|
20
20
|
* @type {object}
|
|
21
21
|
* @memberof CreateBankAccountRequestDto
|
|
22
22
|
*/
|
|
23
23
|
'accountCode': object;
|
|
24
24
|
/**
|
|
25
|
-
* Partner code associated
|
|
25
|
+
* Partner code associated with bank account.
|
|
26
26
|
* @type {object}
|
|
27
27
|
* @memberof CreateBankAccountRequestDto
|
|
28
28
|
*/
|
|
@@ -16,7 +16,7 @@
|
|
|
16
16
|
*/
|
|
17
17
|
export interface SetPrimaryBankAccountRequestDtoRest {
|
|
18
18
|
/**
|
|
19
|
-
* The code of the
|
|
19
|
+
* The code of the partner/user account that the primary bank account will be set to.
|
|
20
20
|
* @type {string}
|
|
21
21
|
* @memberof SetPrimaryBankAccountRequestDtoRest
|
|
22
22
|
*/
|
|
@@ -34,7 +34,7 @@ export interface BankAccountClass {
|
|
|
34
34
|
*/
|
|
35
35
|
'code': string;
|
|
36
36
|
/**
|
|
37
|
-
* User account code associated
|
|
37
|
+
* User account code associated with bank account.
|
|
38
38
|
* @type {string}
|
|
39
39
|
* @memberof BankAccountClass
|
|
40
40
|
*/
|
|
@@ -58,7 +58,7 @@ export interface BankAccountClass {
|
|
|
58
58
|
*/
|
|
59
59
|
'updatedAt': string;
|
|
60
60
|
/**
|
|
61
|
-
* Partner code associated
|
|
61
|
+
* Partner code associated with bank account.
|
|
62
62
|
* @type {string}
|
|
63
63
|
* @memberof BankAccountClass
|
|
64
64
|
*/
|
|
@@ -21,13 +21,13 @@
|
|
|
21
21
|
*/
|
|
22
22
|
export interface CreateBankAccountRequestDto {
|
|
23
23
|
/**
|
|
24
|
-
* User account code associated
|
|
24
|
+
* User account code associated with bank account.
|
|
25
25
|
* @type {object}
|
|
26
26
|
* @memberof CreateBankAccountRequestDto
|
|
27
27
|
*/
|
|
28
28
|
'accountCode': object;
|
|
29
29
|
/**
|
|
30
|
-
* Partner code associated
|
|
30
|
+
* Partner code associated with bank account.
|
|
31
31
|
* @type {object}
|
|
32
32
|
* @memberof CreateBankAccountRequestDto
|
|
33
33
|
*/
|
|
@@ -21,7 +21,7 @@
|
|
|
21
21
|
*/
|
|
22
22
|
export interface SetPrimaryBankAccountRequestDtoRest {
|
|
23
23
|
/**
|
|
24
|
-
* The code of the
|
|
24
|
+
* The code of the partner/user account that the primary bank account will be set to.
|
|
25
25
|
* @type {string}
|
|
26
26
|
* @memberof SetPrimaryBankAccountRequestDtoRest
|
|
27
27
|
*/
|