@emilgroup/payment-sdk 1.13.1-beta.79 → 1.13.1-beta.80
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 +2 -0
- package/README.md +2 -2
- package/dist/models/bank-transfer-dto.d.ts +25 -0
- package/dist/models/bank-transfer-dto.js +15 -0
- package/dist/models/billing-address-dto.d.ts +48 -0
- package/dist/models/billing-address-dto.js +15 -0
- package/dist/models/complete-adyen-payment-setup-request-dto.d.ts +1 -0
- package/dist/models/complete-adyen-payment-setup-request-dto.js +2 -1
- package/dist/models/complete-stripe-payment-setup-request-dto.d.ts +1 -0
- package/dist/models/complete-stripe-payment-setup-request-dto.js +2 -1
- 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 +2 -0
- package/dist/models/index.js +2 -0
- package/models/bank-transfer-dto.ts +31 -0
- package/models/billing-address-dto.ts +54 -0
- package/models/complete-adyen-payment-setup-request-dto.ts +2 -1
- package/models/complete-stripe-payment-setup-request-dto.ts +2 -1
- package/models/create-psp-payment-method-request-dto.ts +9 -1
- package/models/index.ts +2 -0
- package/package.json +1 -1
package/.openapi-generator/FILES
CHANGED
|
@@ -25,6 +25,8 @@ models/bank-order-class.ts
|
|
|
25
25
|
models/bank-transaction-class-without-expand-properties.ts
|
|
26
26
|
models/bank-transaction-class.ts
|
|
27
27
|
models/bank-transaction-invoice-class.ts
|
|
28
|
+
models/bank-transfer-dto.ts
|
|
29
|
+
models/billing-address-dto.ts
|
|
28
30
|
models/billing-profile-dto.ts
|
|
29
31
|
models/billing-profile-limited-response-dto.ts
|
|
30
32
|
models/card-details-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.13.1-beta.
|
|
20
|
+
npm install @emilgroup/payment-sdk@1.13.1-beta.80 --save
|
|
21
21
|
```
|
|
22
22
|
or
|
|
23
23
|
```
|
|
24
|
-
yarn add @emilgroup/payment-sdk@1.13.1-beta.
|
|
24
|
+
yarn add @emilgroup/payment-sdk@1.13.1-beta.80
|
|
25
25
|
```
|
|
26
26
|
|
|
27
27
|
And then you can import `PaymentsApi`.
|
|
@@ -0,0 +1,25 @@
|
|
|
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
|
+
import { BillingAddressDto } from './billing-address-dto';
|
|
13
|
+
/**
|
|
14
|
+
*
|
|
15
|
+
* @export
|
|
16
|
+
* @interface BankTransferDto
|
|
17
|
+
*/
|
|
18
|
+
export interface BankTransferDto {
|
|
19
|
+
/**
|
|
20
|
+
* Billing address for the bank transfer payment method
|
|
21
|
+
* @type {BillingAddressDto}
|
|
22
|
+
* @memberof BankTransferDto
|
|
23
|
+
*/
|
|
24
|
+
'billingAddress': BillingAddressDto;
|
|
25
|
+
}
|
|
@@ -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,48 @@
|
|
|
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 BillingAddressDto
|
|
16
|
+
*/
|
|
17
|
+
export interface BillingAddressDto {
|
|
18
|
+
/**
|
|
19
|
+
* Full name for billing address
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof BillingAddressDto
|
|
22
|
+
*/
|
|
23
|
+
'name': string;
|
|
24
|
+
/**
|
|
25
|
+
* Street name for billing address
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof BillingAddressDto
|
|
28
|
+
*/
|
|
29
|
+
'street': string;
|
|
30
|
+
/**
|
|
31
|
+
* House number for billing address
|
|
32
|
+
* @type {string}
|
|
33
|
+
* @memberof BillingAddressDto
|
|
34
|
+
*/
|
|
35
|
+
'houseNumber': string;
|
|
36
|
+
/**
|
|
37
|
+
* ZIP/Postal code for billing address
|
|
38
|
+
* @type {string}
|
|
39
|
+
* @memberof BillingAddressDto
|
|
40
|
+
*/
|
|
41
|
+
'zipCode': string;
|
|
42
|
+
/**
|
|
43
|
+
* City name for billing address
|
|
44
|
+
* @type {string}
|
|
45
|
+
* @memberof BillingAddressDto
|
|
46
|
+
*/
|
|
47
|
+
'city': string;
|
|
48
|
+
}
|
|
@@ -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 });
|
|
@@ -94,5 +94,6 @@ export declare const CompleteAdyenPaymentSetupRequestDtoPaymentMethodTypeEnum: {
|
|
|
94
94
|
readonly Masterpass: "masterpass";
|
|
95
95
|
readonly B4u: "b4u";
|
|
96
96
|
readonly Invoice: "invoice";
|
|
97
|
+
readonly BankTransfer: "bank_transfer";
|
|
97
98
|
};
|
|
98
99
|
export type CompleteAdyenPaymentSetupRequestDtoPaymentMethodTypeEnum = typeof CompleteAdyenPaymentSetupRequestDtoPaymentMethodTypeEnum[keyof typeof CompleteAdyenPaymentSetupRequestDtoPaymentMethodTypeEnum];
|
|
@@ -93,5 +93,6 @@ export declare const CompleteStripePaymentSetupRequestDtoPaymentMethodTypeEnum:
|
|
|
93
93
|
readonly Masterpass: "masterpass";
|
|
94
94
|
readonly B4u: "b4u";
|
|
95
95
|
readonly Invoice: "invoice";
|
|
96
|
+
readonly BankTransfer: "bank_transfer";
|
|
96
97
|
};
|
|
97
98
|
export type CompleteStripePaymentSetupRequestDtoPaymentMethodTypeEnum = typeof CompleteStripePaymentSetupRequestDtoPaymentMethodTypeEnum[keyof typeof CompleteStripePaymentSetupRequestDtoPaymentMethodTypeEnum];
|
|
@@ -9,6 +9,7 @@
|
|
|
9
9
|
* https://openapi-generator.tech
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
|
+
import { BankTransferDto } from './bank-transfer-dto';
|
|
12
13
|
import { BillingProfileDto } from './billing-profile-dto';
|
|
13
14
|
import { SepaDirectDto } from './sepa-direct-dto';
|
|
14
15
|
/**
|
|
@@ -47,6 +48,12 @@ export interface CreatePspPaymentMethodRequestDto {
|
|
|
47
48
|
* @memberof CreatePspPaymentMethodRequestDto
|
|
48
49
|
*/
|
|
49
50
|
'billingProfile'?: BillingProfileDto;
|
|
51
|
+
/**
|
|
52
|
+
*
|
|
53
|
+
* @type {BankTransferDto}
|
|
54
|
+
* @memberof CreatePspPaymentMethodRequestDto
|
|
55
|
+
*/
|
|
56
|
+
'bankTransfer'?: BankTransferDto;
|
|
50
57
|
/**
|
|
51
58
|
*
|
|
52
59
|
* @type {string}
|
|
@@ -76,5 +83,6 @@ export declare const CreatePspPaymentMethodRequestDtoTypeEnum: {
|
|
|
76
83
|
readonly Masterpass: "masterpass";
|
|
77
84
|
readonly B4u: "b4u";
|
|
78
85
|
readonly Invoice: "invoice";
|
|
86
|
+
readonly BankTransfer: "bank_transfer";
|
|
79
87
|
};
|
|
80
88
|
export type CreatePspPaymentMethodRequestDtoTypeEnum = typeof CreatePspPaymentMethodRequestDtoTypeEnum[keyof typeof CreatePspPaymentMethodRequestDtoTypeEnum];
|
package/dist/models/index.d.ts
CHANGED
|
@@ -4,6 +4,8 @@ export * from './bank-order-class';
|
|
|
4
4
|
export * from './bank-transaction-class';
|
|
5
5
|
export * from './bank-transaction-class-without-expand-properties';
|
|
6
6
|
export * from './bank-transaction-invoice-class';
|
|
7
|
+
export * from './bank-transfer-dto';
|
|
8
|
+
export * from './billing-address-dto';
|
|
7
9
|
export * from './billing-profile-dto';
|
|
8
10
|
export * from './billing-profile-limited-response-dto';
|
|
9
11
|
export * from './card-details-dto';
|
package/dist/models/index.js
CHANGED
|
@@ -20,6 +20,8 @@ __exportStar(require("./bank-order-class"), exports);
|
|
|
20
20
|
__exportStar(require("./bank-transaction-class"), exports);
|
|
21
21
|
__exportStar(require("./bank-transaction-class-without-expand-properties"), exports);
|
|
22
22
|
__exportStar(require("./bank-transaction-invoice-class"), exports);
|
|
23
|
+
__exportStar(require("./bank-transfer-dto"), exports);
|
|
24
|
+
__exportStar(require("./billing-address-dto"), exports);
|
|
23
25
|
__exportStar(require("./billing-profile-dto"), exports);
|
|
24
26
|
__exportStar(require("./billing-profile-limited-response-dto"), exports);
|
|
25
27
|
__exportStar(require("./card-details-dto"), exports);
|
|
@@ -0,0 +1,31 @@
|
|
|
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 { BillingAddressDto } from './billing-address-dto';
|
|
17
|
+
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @export
|
|
21
|
+
* @interface BankTransferDto
|
|
22
|
+
*/
|
|
23
|
+
export interface BankTransferDto {
|
|
24
|
+
/**
|
|
25
|
+
* Billing address for the bank transfer payment method
|
|
26
|
+
* @type {BillingAddressDto}
|
|
27
|
+
* @memberof BankTransferDto
|
|
28
|
+
*/
|
|
29
|
+
'billingAddress': BillingAddressDto;
|
|
30
|
+
}
|
|
31
|
+
|
|
@@ -0,0 +1,54 @@
|
|
|
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 BillingAddressDto
|
|
21
|
+
*/
|
|
22
|
+
export interface BillingAddressDto {
|
|
23
|
+
/**
|
|
24
|
+
* Full name for billing address
|
|
25
|
+
* @type {string}
|
|
26
|
+
* @memberof BillingAddressDto
|
|
27
|
+
*/
|
|
28
|
+
'name': string;
|
|
29
|
+
/**
|
|
30
|
+
* Street name for billing address
|
|
31
|
+
* @type {string}
|
|
32
|
+
* @memberof BillingAddressDto
|
|
33
|
+
*/
|
|
34
|
+
'street': string;
|
|
35
|
+
/**
|
|
36
|
+
* House number for billing address
|
|
37
|
+
* @type {string}
|
|
38
|
+
* @memberof BillingAddressDto
|
|
39
|
+
*/
|
|
40
|
+
'houseNumber': string;
|
|
41
|
+
/**
|
|
42
|
+
* ZIP/Postal code for billing address
|
|
43
|
+
* @type {string}
|
|
44
|
+
* @memberof BillingAddressDto
|
|
45
|
+
*/
|
|
46
|
+
'zipCode': string;
|
|
47
|
+
/**
|
|
48
|
+
* City name for billing address
|
|
49
|
+
* @type {string}
|
|
50
|
+
* @memberof BillingAddressDto
|
|
51
|
+
*/
|
|
52
|
+
'city': string;
|
|
53
|
+
}
|
|
54
|
+
|
|
@@ -99,7 +99,8 @@ export const CompleteAdyenPaymentSetupRequestDtoPaymentMethodTypeEnum = {
|
|
|
99
99
|
Venmo: 'venmo',
|
|
100
100
|
Masterpass: 'masterpass',
|
|
101
101
|
B4u: 'b4u',
|
|
102
|
-
Invoice: 'invoice'
|
|
102
|
+
Invoice: 'invoice',
|
|
103
|
+
BankTransfer: 'bank_transfer'
|
|
103
104
|
} as const;
|
|
104
105
|
|
|
105
106
|
export type CompleteAdyenPaymentSetupRequestDtoPaymentMethodTypeEnum = typeof CompleteAdyenPaymentSetupRequestDtoPaymentMethodTypeEnum[keyof typeof CompleteAdyenPaymentSetupRequestDtoPaymentMethodTypeEnum];
|
|
@@ -98,7 +98,8 @@ export const CompleteStripePaymentSetupRequestDtoPaymentMethodTypeEnum = {
|
|
|
98
98
|
Venmo: 'venmo',
|
|
99
99
|
Masterpass: 'masterpass',
|
|
100
100
|
B4u: 'b4u',
|
|
101
|
-
Invoice: 'invoice'
|
|
101
|
+
Invoice: 'invoice',
|
|
102
|
+
BankTransfer: 'bank_transfer'
|
|
102
103
|
} as const;
|
|
103
104
|
|
|
104
105
|
export type CompleteStripePaymentSetupRequestDtoPaymentMethodTypeEnum = typeof CompleteStripePaymentSetupRequestDtoPaymentMethodTypeEnum[keyof typeof CompleteStripePaymentSetupRequestDtoPaymentMethodTypeEnum];
|
|
@@ -13,6 +13,7 @@
|
|
|
13
13
|
*/
|
|
14
14
|
|
|
15
15
|
|
|
16
|
+
import { BankTransferDto } from './bank-transfer-dto';
|
|
16
17
|
import { BillingProfileDto } from './billing-profile-dto';
|
|
17
18
|
import { SepaDirectDto } from './sepa-direct-dto';
|
|
18
19
|
|
|
@@ -52,6 +53,12 @@ export interface CreatePspPaymentMethodRequestDto {
|
|
|
52
53
|
* @memberof CreatePspPaymentMethodRequestDto
|
|
53
54
|
*/
|
|
54
55
|
'billingProfile'?: BillingProfileDto;
|
|
56
|
+
/**
|
|
57
|
+
*
|
|
58
|
+
* @type {BankTransferDto}
|
|
59
|
+
* @memberof CreatePspPaymentMethodRequestDto
|
|
60
|
+
*/
|
|
61
|
+
'bankTransfer'?: BankTransferDto;
|
|
55
62
|
/**
|
|
56
63
|
*
|
|
57
64
|
* @type {string}
|
|
@@ -81,7 +88,8 @@ export const CreatePspPaymentMethodRequestDtoTypeEnum = {
|
|
|
81
88
|
Venmo: 'venmo',
|
|
82
89
|
Masterpass: 'masterpass',
|
|
83
90
|
B4u: 'b4u',
|
|
84
|
-
Invoice: 'invoice'
|
|
91
|
+
Invoice: 'invoice',
|
|
92
|
+
BankTransfer: 'bank_transfer'
|
|
85
93
|
} as const;
|
|
86
94
|
|
|
87
95
|
export type CreatePspPaymentMethodRequestDtoTypeEnum = typeof CreatePspPaymentMethodRequestDtoTypeEnum[keyof typeof CreatePspPaymentMethodRequestDtoTypeEnum];
|
package/models/index.ts
CHANGED
|
@@ -4,6 +4,8 @@ export * from './bank-order-class';
|
|
|
4
4
|
export * from './bank-transaction-class';
|
|
5
5
|
export * from './bank-transaction-class-without-expand-properties';
|
|
6
6
|
export * from './bank-transaction-invoice-class';
|
|
7
|
+
export * from './bank-transfer-dto';
|
|
8
|
+
export * from './billing-address-dto';
|
|
7
9
|
export * from './billing-profile-dto';
|
|
8
10
|
export * from './billing-profile-limited-response-dto';
|
|
9
11
|
export * from './card-details-dto';
|