@emilgroup/payment-sdk-node 1.4.0 → 1.6.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.openapi-generator/FILES +6 -0
- package/README.md +2 -2
- package/api/default-api.ts +124 -0
- package/api.ts +2 -0
- package/base.ts +1 -0
- package/dist/api/default-api.d.ts +66 -0
- package/dist/api/default-api.js +200 -0
- package/dist/api.d.ts +1 -0
- package/dist/api.js +1 -0
- package/dist/base.d.ts +2 -1
- package/dist/base.js +1 -0
- package/dist/models/billing-profile-dto.d.ts +38 -0
- package/dist/models/billing-profile-dto.js +15 -0
- package/dist/models/billing-profile-limited-response-dto.d.ts +54 -0
- package/dist/models/billing-profile-limited-response-dto.js +15 -0
- package/dist/models/create-psp-payment-method-request-dto.d.ts +8 -0
- package/dist/models/create-psp-payment-method-request-dto.js +2 -1
- package/dist/models/index.d.ts +5 -0
- package/dist/models/index.js +5 -0
- package/dist/models/initiate-payment-setup-request-dto.d.ts +6 -0
- package/dist/models/inline-response200.d.ts +54 -0
- package/dist/models/inline-response200.js +15 -0
- package/dist/models/inline-response503.d.ts +54 -0
- package/dist/models/inline-response503.js +15 -0
- package/dist/models/symphony-profile-limited-response-dto.d.ts +42 -0
- package/dist/models/symphony-profile-limited-response-dto.js +15 -0
- package/dist/models/validate-pspconfig-request-dto.d.ts +1 -0
- package/dist/models/validate-pspconfig-request-dto.js +2 -1
- package/models/billing-profile-dto.ts +44 -0
- package/models/billing-profile-limited-response-dto.ts +60 -0
- package/models/create-psp-payment-method-request-dto.ts +9 -1
- package/models/index.ts +5 -0
- package/models/initiate-payment-setup-request-dto.ts +6 -0
- package/models/inline-response200.ts +48 -0
- package/models/inline-response503.ts +48 -0
- package/models/symphony-profile-limited-response-dto.ts +48 -0
- package/models/validate-pspconfig-request-dto.ts +2 -1
- package/package.json +2 -2
package/dist/models/index.d.ts
CHANGED
|
@@ -1,4 +1,6 @@
|
|
|
1
1
|
export * from './bank-account-class';
|
|
2
|
+
export * from './billing-profile-dto';
|
|
3
|
+
export * from './billing-profile-limited-response-dto';
|
|
2
4
|
export * from './complete-braintree-payment-setup-request-dto';
|
|
3
5
|
export * from './complete-payment-setup-request-dto';
|
|
4
6
|
export * from './complete-payment-setup-response-class';
|
|
@@ -19,6 +21,8 @@ export * from './initiate-payment-setup-request-dto';
|
|
|
19
21
|
export * from './initiate-payment-setup-response-class';
|
|
20
22
|
export * from './initiate-stripe-payment-setup-request-dto';
|
|
21
23
|
export * from './initiate-stripe-payment-setup-response-class';
|
|
24
|
+
export * from './inline-response200';
|
|
25
|
+
export * from './inline-response503';
|
|
22
26
|
export * from './list-bank-accounts-response-class';
|
|
23
27
|
export * from './list-payment-methods-response-class';
|
|
24
28
|
export * from './list-payment-reminders-response-class';
|
|
@@ -27,6 +31,7 @@ export * from './payment-class';
|
|
|
27
31
|
export * from './payment-method-class';
|
|
28
32
|
export * from './payment-reminder-class';
|
|
29
33
|
export * from './sepa-direct-dto';
|
|
34
|
+
export * from './symphony-profile-limited-response-dto';
|
|
30
35
|
export * from './transaction-class';
|
|
31
36
|
export * from './validate-pspconfig-request-dto';
|
|
32
37
|
export * from './validate-pspconfig-response-class';
|
package/dist/models/index.js
CHANGED
|
@@ -15,6 +15,8 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
|
15
15
|
};
|
|
16
16
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
17
|
__exportStar(require("./bank-account-class"), exports);
|
|
18
|
+
__exportStar(require("./billing-profile-dto"), exports);
|
|
19
|
+
__exportStar(require("./billing-profile-limited-response-dto"), exports);
|
|
18
20
|
__exportStar(require("./complete-braintree-payment-setup-request-dto"), exports);
|
|
19
21
|
__exportStar(require("./complete-payment-setup-request-dto"), exports);
|
|
20
22
|
__exportStar(require("./complete-payment-setup-response-class"), exports);
|
|
@@ -35,6 +37,8 @@ __exportStar(require("./initiate-payment-setup-request-dto"), exports);
|
|
|
35
37
|
__exportStar(require("./initiate-payment-setup-response-class"), exports);
|
|
36
38
|
__exportStar(require("./initiate-stripe-payment-setup-request-dto"), exports);
|
|
37
39
|
__exportStar(require("./initiate-stripe-payment-setup-response-class"), exports);
|
|
40
|
+
__exportStar(require("./inline-response200"), exports);
|
|
41
|
+
__exportStar(require("./inline-response503"), exports);
|
|
38
42
|
__exportStar(require("./list-bank-accounts-response-class"), exports);
|
|
39
43
|
__exportStar(require("./list-payment-methods-response-class"), exports);
|
|
40
44
|
__exportStar(require("./list-payment-reminders-response-class"), exports);
|
|
@@ -43,6 +47,7 @@ __exportStar(require("./payment-class"), exports);
|
|
|
43
47
|
__exportStar(require("./payment-method-class"), exports);
|
|
44
48
|
__exportStar(require("./payment-reminder-class"), exports);
|
|
45
49
|
__exportStar(require("./sepa-direct-dto"), exports);
|
|
50
|
+
__exportStar(require("./symphony-profile-limited-response-dto"), exports);
|
|
46
51
|
__exportStar(require("./transaction-class"), exports);
|
|
47
52
|
__exportStar(require("./validate-pspconfig-request-dto"), exports);
|
|
48
53
|
__exportStar(require("./validate-pspconfig-response-class"), exports);
|
|
@@ -29,4 +29,10 @@ export interface InitiatePaymentSetupRequestDto {
|
|
|
29
29
|
* @memberof InitiatePaymentSetupRequestDto
|
|
30
30
|
*/
|
|
31
31
|
'braintree'?: InitiateBraintreePaymentSetupRequestDto;
|
|
32
|
+
/**
|
|
33
|
+
*
|
|
34
|
+
* @type {object}
|
|
35
|
+
* @memberof InitiatePaymentSetupRequestDto
|
|
36
|
+
*/
|
|
37
|
+
'b4u'?: object;
|
|
32
38
|
}
|
|
@@ -0,0 +1,54 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Emil Payment Service
|
|
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
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 1.0
|
|
6
|
+
* Contact: kontakt@emil.de
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
/**
|
|
13
|
+
*
|
|
14
|
+
* @export
|
|
15
|
+
* @interface InlineResponse200
|
|
16
|
+
*/
|
|
17
|
+
export interface InlineResponse200 {
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof InlineResponse200
|
|
22
|
+
*/
|
|
23
|
+
'status'?: string;
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
* @type {{ [key: string]: { [key: string]: string; }; }}
|
|
27
|
+
* @memberof InlineResponse200
|
|
28
|
+
*/
|
|
29
|
+
'info'?: {
|
|
30
|
+
[key: string]: {
|
|
31
|
+
[key: string]: string;
|
|
32
|
+
};
|
|
33
|
+
} | null;
|
|
34
|
+
/**
|
|
35
|
+
*
|
|
36
|
+
* @type {{ [key: string]: { [key: string]: string; }; }}
|
|
37
|
+
* @memberof InlineResponse200
|
|
38
|
+
*/
|
|
39
|
+
'error'?: {
|
|
40
|
+
[key: string]: {
|
|
41
|
+
[key: string]: string;
|
|
42
|
+
};
|
|
43
|
+
} | null;
|
|
44
|
+
/**
|
|
45
|
+
*
|
|
46
|
+
* @type {{ [key: string]: { [key: string]: string; }; }}
|
|
47
|
+
* @memberof InlineResponse200
|
|
48
|
+
*/
|
|
49
|
+
'details'?: {
|
|
50
|
+
[key: string]: {
|
|
51
|
+
[key: string]: string;
|
|
52
|
+
};
|
|
53
|
+
};
|
|
54
|
+
}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* Emil Payment Service
|
|
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
|
+
*
|
|
8
|
+
* The version of the OpenAPI document: 1.0
|
|
9
|
+
* Contact: kontakt@emil.de
|
|
10
|
+
*
|
|
11
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
12
|
+
* https://openapi-generator.tech
|
|
13
|
+
* Do not edit the class manually.
|
|
14
|
+
*/
|
|
15
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
@@ -0,0 +1,54 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Emil Payment Service
|
|
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
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 1.0
|
|
6
|
+
* Contact: kontakt@emil.de
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
/**
|
|
13
|
+
*
|
|
14
|
+
* @export
|
|
15
|
+
* @interface InlineResponse503
|
|
16
|
+
*/
|
|
17
|
+
export interface InlineResponse503 {
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof InlineResponse503
|
|
22
|
+
*/
|
|
23
|
+
'status'?: string;
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
* @type {{ [key: string]: { [key: string]: string; }; }}
|
|
27
|
+
* @memberof InlineResponse503
|
|
28
|
+
*/
|
|
29
|
+
'info'?: {
|
|
30
|
+
[key: string]: {
|
|
31
|
+
[key: string]: string;
|
|
32
|
+
};
|
|
33
|
+
} | null;
|
|
34
|
+
/**
|
|
35
|
+
*
|
|
36
|
+
* @type {{ [key: string]: { [key: string]: string; }; }}
|
|
37
|
+
* @memberof InlineResponse503
|
|
38
|
+
*/
|
|
39
|
+
'error'?: {
|
|
40
|
+
[key: string]: {
|
|
41
|
+
[key: string]: string;
|
|
42
|
+
};
|
|
43
|
+
} | null;
|
|
44
|
+
/**
|
|
45
|
+
*
|
|
46
|
+
* @type {{ [key: string]: { [key: string]: string; }; }}
|
|
47
|
+
* @memberof InlineResponse503
|
|
48
|
+
*/
|
|
49
|
+
'details'?: {
|
|
50
|
+
[key: string]: {
|
|
51
|
+
[key: string]: string;
|
|
52
|
+
};
|
|
53
|
+
};
|
|
54
|
+
}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* Emil Payment Service
|
|
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
|
+
*
|
|
8
|
+
* The version of the OpenAPI document: 1.0
|
|
9
|
+
* Contact: kontakt@emil.de
|
|
10
|
+
*
|
|
11
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
12
|
+
* https://openapi-generator.tech
|
|
13
|
+
* Do not edit the class manually.
|
|
14
|
+
*/
|
|
15
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Emil Payment Service
|
|
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
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 1.0
|
|
6
|
+
* Contact: kontakt@emil.de
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
/**
|
|
13
|
+
*
|
|
14
|
+
* @export
|
|
15
|
+
* @interface SymphonyProfileLimitedResponseDto
|
|
16
|
+
*/
|
|
17
|
+
export interface SymphonyProfileLimitedResponseDto {
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof SymphonyProfileLimitedResponseDto
|
|
22
|
+
*/
|
|
23
|
+
'scn': string;
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof SymphonyProfileLimitedResponseDto
|
|
28
|
+
*/
|
|
29
|
+
'billSource': string;
|
|
30
|
+
/**
|
|
31
|
+
*
|
|
32
|
+
* @type {string}
|
|
33
|
+
* @memberof SymphonyProfileLimitedResponseDto
|
|
34
|
+
*/
|
|
35
|
+
'parentScn'?: string;
|
|
36
|
+
/**
|
|
37
|
+
*
|
|
38
|
+
* @type {boolean}
|
|
39
|
+
* @memberof SymphonyProfileLimitedResponseDto
|
|
40
|
+
*/
|
|
41
|
+
'deathCaseFlag': boolean;
|
|
42
|
+
}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* Emil Payment Service
|
|
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
|
+
*
|
|
8
|
+
* The version of the OpenAPI document: 1.0
|
|
9
|
+
* Contact: kontakt@emil.de
|
|
10
|
+
*
|
|
11
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
12
|
+
* https://openapi-generator.tech
|
|
13
|
+
* Do not edit the class manually.
|
|
14
|
+
*/
|
|
15
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
@@ -37,5 +37,6 @@ export interface ValidatePSPConfigRequestDto {
|
|
|
37
37
|
export declare const ValidatePSPConfigRequestDtoTypeEnum: {
|
|
38
38
|
readonly Braintree: "braintree";
|
|
39
39
|
readonly Stripe: "stripe";
|
|
40
|
+
readonly B4u: "b4u";
|
|
40
41
|
};
|
|
41
42
|
export type ValidatePSPConfigRequestDtoTypeEnum = typeof ValidatePSPConfigRequestDtoTypeEnum[keyof typeof ValidatePSPConfigRequestDtoTypeEnum];
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* Emil Payment Service
|
|
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
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: 1.0
|
|
8
|
+
* Contact: kontakt@emil.de
|
|
9
|
+
*
|
|
10
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
+
* https://openapi-generator.tech
|
|
12
|
+
* Do not edit the class manually.
|
|
13
|
+
*/
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
import { BillingProfileLimitedResponseDto } from './billing-profile-limited-response-dto';
|
|
17
|
+
import { SymphonyProfileLimitedResponseDto } from './symphony-profile-limited-response-dto';
|
|
18
|
+
|
|
19
|
+
/**
|
|
20
|
+
*
|
|
21
|
+
* @export
|
|
22
|
+
* @interface BillingProfileDto
|
|
23
|
+
*/
|
|
24
|
+
export interface BillingProfileDto {
|
|
25
|
+
/**
|
|
26
|
+
*
|
|
27
|
+
* @type {string}
|
|
28
|
+
* @memberof BillingProfileDto
|
|
29
|
+
*/
|
|
30
|
+
'billProfileId': string;
|
|
31
|
+
/**
|
|
32
|
+
*
|
|
33
|
+
* @type {SymphonyProfileLimitedResponseDto}
|
|
34
|
+
* @memberof BillingProfileDto
|
|
35
|
+
*/
|
|
36
|
+
'symphonyProfileLimitedResponse': SymphonyProfileLimitedResponseDto;
|
|
37
|
+
/**
|
|
38
|
+
*
|
|
39
|
+
* @type {BillingProfileLimitedResponseDto}
|
|
40
|
+
* @memberof BillingProfileDto
|
|
41
|
+
*/
|
|
42
|
+
'billingProfileLimitedResponse': BillingProfileLimitedResponseDto;
|
|
43
|
+
}
|
|
44
|
+
|
|
@@ -0,0 +1,60 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* Emil Payment Service
|
|
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
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: 1.0
|
|
8
|
+
* Contact: kontakt@emil.de
|
|
9
|
+
*
|
|
10
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
+
* https://openapi-generator.tech
|
|
12
|
+
* Do not edit the class manually.
|
|
13
|
+
*/
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
|
|
17
|
+
/**
|
|
18
|
+
*
|
|
19
|
+
* @export
|
|
20
|
+
* @interface BillingProfileLimitedResponseDto
|
|
21
|
+
*/
|
|
22
|
+
export interface BillingProfileLimitedResponseDto {
|
|
23
|
+
/**
|
|
24
|
+
*
|
|
25
|
+
* @type {string}
|
|
26
|
+
* @memberof BillingProfileLimitedResponseDto
|
|
27
|
+
*/
|
|
28
|
+
'sourceCode': string;
|
|
29
|
+
/**
|
|
30
|
+
*
|
|
31
|
+
* @type {string}
|
|
32
|
+
* @memberof BillingProfileLimitedResponseDto
|
|
33
|
+
*/
|
|
34
|
+
'status': string;
|
|
35
|
+
/**
|
|
36
|
+
*
|
|
37
|
+
* @type {string}
|
|
38
|
+
* @memberof BillingProfileLimitedResponseDto
|
|
39
|
+
*/
|
|
40
|
+
'brand': string;
|
|
41
|
+
/**
|
|
42
|
+
*
|
|
43
|
+
* @type {string}
|
|
44
|
+
* @memberof BillingProfileLimitedResponseDto
|
|
45
|
+
*/
|
|
46
|
+
'invoiceLanguage'?: string;
|
|
47
|
+
/**
|
|
48
|
+
*
|
|
49
|
+
* @type {string}
|
|
50
|
+
* @memberof BillingProfileLimitedResponseDto
|
|
51
|
+
*/
|
|
52
|
+
'customerSegment': string;
|
|
53
|
+
/**
|
|
54
|
+
*
|
|
55
|
+
* @type {number}
|
|
56
|
+
* @memberof BillingProfileLimitedResponseDto
|
|
57
|
+
*/
|
|
58
|
+
'activeSubsCnt': number;
|
|
59
|
+
}
|
|
60
|
+
|
|
@@ -13,6 +13,7 @@
|
|
|
13
13
|
*/
|
|
14
14
|
|
|
15
15
|
|
|
16
|
+
import { BillingProfileDto } from './billing-profile-dto';
|
|
16
17
|
import { SepaDirectDto } from './sepa-direct-dto';
|
|
17
18
|
|
|
18
19
|
/**
|
|
@@ -39,6 +40,12 @@ export interface CreatePspPaymentMethodRequestDto {
|
|
|
39
40
|
* @memberof CreatePspPaymentMethodRequestDto
|
|
40
41
|
*/
|
|
41
42
|
'sepaDebit'?: SepaDirectDto;
|
|
43
|
+
/**
|
|
44
|
+
*
|
|
45
|
+
* @type {BillingProfileDto}
|
|
46
|
+
* @memberof CreatePspPaymentMethodRequestDto
|
|
47
|
+
*/
|
|
48
|
+
'billingProfile'?: BillingProfileDto;
|
|
42
49
|
}
|
|
43
50
|
|
|
44
51
|
export const CreatePspPaymentMethodRequestDtoTypeEnum = {
|
|
@@ -54,7 +61,8 @@ export const CreatePspPaymentMethodRequestDtoTypeEnum = {
|
|
|
54
61
|
AndroidPay: 'android_pay',
|
|
55
62
|
SamsungPay: 'samsung_pay',
|
|
56
63
|
Venmo: 'venmo',
|
|
57
|
-
Masterpass: 'masterpass'
|
|
64
|
+
Masterpass: 'masterpass',
|
|
65
|
+
B4u: 'b4u'
|
|
58
66
|
} as const;
|
|
59
67
|
|
|
60
68
|
export type CreatePspPaymentMethodRequestDtoTypeEnum = typeof CreatePspPaymentMethodRequestDtoTypeEnum[keyof typeof CreatePspPaymentMethodRequestDtoTypeEnum];
|
package/models/index.ts
CHANGED
|
@@ -1,4 +1,6 @@
|
|
|
1
1
|
export * from './bank-account-class';
|
|
2
|
+
export * from './billing-profile-dto';
|
|
3
|
+
export * from './billing-profile-limited-response-dto';
|
|
2
4
|
export * from './complete-braintree-payment-setup-request-dto';
|
|
3
5
|
export * from './complete-payment-setup-request-dto';
|
|
4
6
|
export * from './complete-payment-setup-response-class';
|
|
@@ -19,6 +21,8 @@ export * from './initiate-payment-setup-request-dto';
|
|
|
19
21
|
export * from './initiate-payment-setup-response-class';
|
|
20
22
|
export * from './initiate-stripe-payment-setup-request-dto';
|
|
21
23
|
export * from './initiate-stripe-payment-setup-response-class';
|
|
24
|
+
export * from './inline-response200';
|
|
25
|
+
export * from './inline-response503';
|
|
22
26
|
export * from './list-bank-accounts-response-class';
|
|
23
27
|
export * from './list-payment-methods-response-class';
|
|
24
28
|
export * from './list-payment-reminders-response-class';
|
|
@@ -27,6 +31,7 @@ export * from './payment-class';
|
|
|
27
31
|
export * from './payment-method-class';
|
|
28
32
|
export * from './payment-reminder-class';
|
|
29
33
|
export * from './sepa-direct-dto';
|
|
34
|
+
export * from './symphony-profile-limited-response-dto';
|
|
30
35
|
export * from './transaction-class';
|
|
31
36
|
export * from './validate-pspconfig-request-dto';
|
|
32
37
|
export * from './validate-pspconfig-response-class';
|
|
@@ -34,5 +34,11 @@ export interface InitiatePaymentSetupRequestDto {
|
|
|
34
34
|
* @memberof InitiatePaymentSetupRequestDto
|
|
35
35
|
*/
|
|
36
36
|
'braintree'?: InitiateBraintreePaymentSetupRequestDto;
|
|
37
|
+
/**
|
|
38
|
+
*
|
|
39
|
+
* @type {object}
|
|
40
|
+
* @memberof InitiatePaymentSetupRequestDto
|
|
41
|
+
*/
|
|
42
|
+
'b4u'?: object;
|
|
37
43
|
}
|
|
38
44
|
|
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* Emil Payment Service
|
|
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
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: 1.0
|
|
8
|
+
* Contact: kontakt@emil.de
|
|
9
|
+
*
|
|
10
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
+
* https://openapi-generator.tech
|
|
12
|
+
* Do not edit the class manually.
|
|
13
|
+
*/
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
|
|
17
|
+
/**
|
|
18
|
+
*
|
|
19
|
+
* @export
|
|
20
|
+
* @interface InlineResponse200
|
|
21
|
+
*/
|
|
22
|
+
export interface InlineResponse200 {
|
|
23
|
+
/**
|
|
24
|
+
*
|
|
25
|
+
* @type {string}
|
|
26
|
+
* @memberof InlineResponse200
|
|
27
|
+
*/
|
|
28
|
+
'status'?: string;
|
|
29
|
+
/**
|
|
30
|
+
*
|
|
31
|
+
* @type {{ [key: string]: { [key: string]: string; }; }}
|
|
32
|
+
* @memberof InlineResponse200
|
|
33
|
+
*/
|
|
34
|
+
'info'?: { [key: string]: { [key: string]: string; }; } | null;
|
|
35
|
+
/**
|
|
36
|
+
*
|
|
37
|
+
* @type {{ [key: string]: { [key: string]: string; }; }}
|
|
38
|
+
* @memberof InlineResponse200
|
|
39
|
+
*/
|
|
40
|
+
'error'?: { [key: string]: { [key: string]: string; }; } | null;
|
|
41
|
+
/**
|
|
42
|
+
*
|
|
43
|
+
* @type {{ [key: string]: { [key: string]: string; }; }}
|
|
44
|
+
* @memberof InlineResponse200
|
|
45
|
+
*/
|
|
46
|
+
'details'?: { [key: string]: { [key: string]: string; }; };
|
|
47
|
+
}
|
|
48
|
+
|
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* Emil Payment Service
|
|
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
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: 1.0
|
|
8
|
+
* Contact: kontakt@emil.de
|
|
9
|
+
*
|
|
10
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
+
* https://openapi-generator.tech
|
|
12
|
+
* Do not edit the class manually.
|
|
13
|
+
*/
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
|
|
17
|
+
/**
|
|
18
|
+
*
|
|
19
|
+
* @export
|
|
20
|
+
* @interface InlineResponse503
|
|
21
|
+
*/
|
|
22
|
+
export interface InlineResponse503 {
|
|
23
|
+
/**
|
|
24
|
+
*
|
|
25
|
+
* @type {string}
|
|
26
|
+
* @memberof InlineResponse503
|
|
27
|
+
*/
|
|
28
|
+
'status'?: string;
|
|
29
|
+
/**
|
|
30
|
+
*
|
|
31
|
+
* @type {{ [key: string]: { [key: string]: string; }; }}
|
|
32
|
+
* @memberof InlineResponse503
|
|
33
|
+
*/
|
|
34
|
+
'info'?: { [key: string]: { [key: string]: string; }; } | null;
|
|
35
|
+
/**
|
|
36
|
+
*
|
|
37
|
+
* @type {{ [key: string]: { [key: string]: string; }; }}
|
|
38
|
+
* @memberof InlineResponse503
|
|
39
|
+
*/
|
|
40
|
+
'error'?: { [key: string]: { [key: string]: string; }; } | null;
|
|
41
|
+
/**
|
|
42
|
+
*
|
|
43
|
+
* @type {{ [key: string]: { [key: string]: string; }; }}
|
|
44
|
+
* @memberof InlineResponse503
|
|
45
|
+
*/
|
|
46
|
+
'details'?: { [key: string]: { [key: string]: string; }; };
|
|
47
|
+
}
|
|
48
|
+
|
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* Emil Payment Service
|
|
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
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: 1.0
|
|
8
|
+
* Contact: kontakt@emil.de
|
|
9
|
+
*
|
|
10
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
+
* https://openapi-generator.tech
|
|
12
|
+
* Do not edit the class manually.
|
|
13
|
+
*/
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
|
|
17
|
+
/**
|
|
18
|
+
*
|
|
19
|
+
* @export
|
|
20
|
+
* @interface SymphonyProfileLimitedResponseDto
|
|
21
|
+
*/
|
|
22
|
+
export interface SymphonyProfileLimitedResponseDto {
|
|
23
|
+
/**
|
|
24
|
+
*
|
|
25
|
+
* @type {string}
|
|
26
|
+
* @memberof SymphonyProfileLimitedResponseDto
|
|
27
|
+
*/
|
|
28
|
+
'scn': string;
|
|
29
|
+
/**
|
|
30
|
+
*
|
|
31
|
+
* @type {string}
|
|
32
|
+
* @memberof SymphonyProfileLimitedResponseDto
|
|
33
|
+
*/
|
|
34
|
+
'billSource': string;
|
|
35
|
+
/**
|
|
36
|
+
*
|
|
37
|
+
* @type {string}
|
|
38
|
+
* @memberof SymphonyProfileLimitedResponseDto
|
|
39
|
+
*/
|
|
40
|
+
'parentScn'?: string;
|
|
41
|
+
/**
|
|
42
|
+
*
|
|
43
|
+
* @type {boolean}
|
|
44
|
+
* @memberof SymphonyProfileLimitedResponseDto
|
|
45
|
+
*/
|
|
46
|
+
'deathCaseFlag': boolean;
|
|
47
|
+
}
|
|
48
|
+
|
|
@@ -42,7 +42,8 @@ export interface ValidatePSPConfigRequestDto {
|
|
|
42
42
|
|
|
43
43
|
export const ValidatePSPConfigRequestDtoTypeEnum = {
|
|
44
44
|
Braintree: 'braintree',
|
|
45
|
-
Stripe: 'stripe'
|
|
45
|
+
Stripe: 'stripe',
|
|
46
|
+
B4u: 'b4u'
|
|
46
47
|
} as const;
|
|
47
48
|
|
|
48
49
|
export type ValidatePSPConfigRequestDtoTypeEnum = typeof ValidatePSPConfigRequestDtoTypeEnum[keyof typeof ValidatePSPConfigRequestDtoTypeEnum];
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@emilgroup/payment-sdk-node",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.6.0",
|
|
4
4
|
"description": "OpenAPI client for @emilgroup/payment-sdk-node",
|
|
5
5
|
"author": "OpenAPI-Generator Contributors",
|
|
6
6
|
"keywords": [
|
|
@@ -23,7 +23,7 @@
|
|
|
23
23
|
"url": "^0.11.0"
|
|
24
24
|
},
|
|
25
25
|
"devDependencies": {
|
|
26
|
-
|
|
26
|
+
"@types/node": "^12.11.5",
|
|
27
27
|
"typescript": "^4.0"
|
|
28
28
|
}
|
|
29
29
|
}
|