@emilgroup/payment-sdk-node 1.3.0 → 1.5.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 +9 -0
- package/README.md +2 -2
- package/api/bank-accounts-api.ts +174 -0
- package/api/default-api.ts +124 -0
- package/api/payment-methods-api.ts +16 -16
- package/api/payment-reminders-api.ts +16 -16
- package/api/payments-api.ts +16 -16
- package/api.ts +2 -0
- package/dist/api/bank-accounts-api.d.ts +101 -0
- package/dist/api/bank-accounts-api.js +123 -0
- package/dist/api/default-api.d.ts +66 -0
- package/dist/api/default-api.js +200 -0
- package/dist/api/payment-methods-api.d.ts +16 -16
- package/dist/api/payment-methods-api.js +12 -12
- package/dist/api/payment-reminders-api.d.ts +16 -16
- package/dist/api/payment-reminders-api.js +12 -12
- package/dist/api/payments-api.d.ts +16 -16
- package/dist/api/payments-api.js +12 -12
- package/dist/api.d.ts +1 -0
- package/dist/api.js +1 -0
- package/dist/models/bank-account-class.d.ts +54 -0
- package/dist/models/bank-account-class.js +15 -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-payment-request-dto.d.ts +7 -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 +8 -0
- package/dist/models/index.js +8 -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/list-bank-accounts-response-class.d.ts +31 -0
- package/dist/models/list-bank-accounts-response-class.js +15 -0
- package/dist/models/payment-class.d.ts +15 -2
- 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/transaction-class.d.ts +54 -0
- package/dist/models/transaction-class.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/bank-account-class.ts +60 -0
- package/models/billing-profile-dto.ts +44 -0
- package/models/billing-profile-limited-response-dto.ts +60 -0
- package/models/create-payment-request-dto.ts +7 -1
- package/models/create-psp-payment-method-request-dto.ts +9 -1
- package/models/index.ts +8 -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/list-bank-accounts-response-class.ts +37 -0
- package/models/payment-class.ts +15 -2
- package/models/symphony-profile-limited-response-dto.ts +48 -0
- package/models/transaction-class.ts +60 -0
- package/models/validate-pspconfig-request-dto.ts +2 -1
- package/package.json +1 -1
|
@@ -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 });
|
|
@@ -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 TransactionClass
|
|
16
|
+
*/
|
|
17
|
+
export interface TransactionClass {
|
|
18
|
+
/**
|
|
19
|
+
* Internal unique identifier for the object. You should not have to use this, use code instead.
|
|
20
|
+
* @type {number}
|
|
21
|
+
* @memberof TransactionClass
|
|
22
|
+
*/
|
|
23
|
+
'id': number;
|
|
24
|
+
/**
|
|
25
|
+
* Unique identifier for transaction.
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof TransactionClass
|
|
28
|
+
*/
|
|
29
|
+
'code': string;
|
|
30
|
+
/**
|
|
31
|
+
* Reference to the payment id.
|
|
32
|
+
* @type {number}
|
|
33
|
+
* @memberof TransactionClass
|
|
34
|
+
*/
|
|
35
|
+
'paymentId': number;
|
|
36
|
+
/**
|
|
37
|
+
* Webhook associated to that transaction. Webhooks
|
|
38
|
+
* @type {number}
|
|
39
|
+
* @memberof TransactionClass
|
|
40
|
+
*/
|
|
41
|
+
'webhookId': number;
|
|
42
|
+
/**
|
|
43
|
+
* Status of the transaction. Can be one of the following: \'succeeded\', \'pending\', \'failed\', \'disputed\'. }
|
|
44
|
+
* @type {string}
|
|
45
|
+
* @memberof TransactionClass
|
|
46
|
+
*/
|
|
47
|
+
'status': string;
|
|
48
|
+
/**
|
|
49
|
+
* Time at which the object was created.
|
|
50
|
+
* @type {string}
|
|
51
|
+
* @memberof TransactionClass
|
|
52
|
+
*/
|
|
53
|
+
'createdAt': string;
|
|
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 });
|
|
@@ -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,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 BankAccountClass
|
|
21
|
+
*/
|
|
22
|
+
export interface BankAccountClass {
|
|
23
|
+
/**
|
|
24
|
+
* Unique identifier for bank account.
|
|
25
|
+
* @type {number}
|
|
26
|
+
* @memberof BankAccountClass
|
|
27
|
+
*/
|
|
28
|
+
'id': number;
|
|
29
|
+
/**
|
|
30
|
+
* Unique identifier for the object.
|
|
31
|
+
* @type {string}
|
|
32
|
+
* @memberof BankAccountClass
|
|
33
|
+
*/
|
|
34
|
+
'code': string;
|
|
35
|
+
/**
|
|
36
|
+
* User account code associated to bank account.
|
|
37
|
+
* @type {string}
|
|
38
|
+
* @memberof BankAccountClass
|
|
39
|
+
*/
|
|
40
|
+
'accountCode': string;
|
|
41
|
+
/**
|
|
42
|
+
* International bank account number with witch the bank account is created
|
|
43
|
+
* @type {string}
|
|
44
|
+
* @memberof BankAccountClass
|
|
45
|
+
*/
|
|
46
|
+
'iban': string;
|
|
47
|
+
/**
|
|
48
|
+
* Time at which the object was created.
|
|
49
|
+
* @type {string}
|
|
50
|
+
* @memberof BankAccountClass
|
|
51
|
+
*/
|
|
52
|
+
'createdAt': string;
|
|
53
|
+
/**
|
|
54
|
+
* Time at which the object was updated.
|
|
55
|
+
* @type {string}
|
|
56
|
+
* @memberof BankAccountClass
|
|
57
|
+
*/
|
|
58
|
+
'updatedAt': string;
|
|
59
|
+
}
|
|
60
|
+
|
|
@@ -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
|
+
|
|
@@ -39,11 +39,17 @@ export interface CreatePaymentRequestDto {
|
|
|
39
39
|
*/
|
|
40
40
|
'currency'?: string;
|
|
41
41
|
/**
|
|
42
|
-
* Invoices referenced in this payment. Usually, one payment has one invoice id
|
|
42
|
+
* Invoices referenced in this payment. Usually, one payment has one invoice id but it is possible to pay multiple invoices at once with a single payment.
|
|
43
43
|
* @type {Array<string>}
|
|
44
44
|
* @memberof CreatePaymentRequestDto
|
|
45
45
|
*/
|
|
46
46
|
'invoiceIds': Array<string>;
|
|
47
|
+
/**
|
|
48
|
+
* Optional field contain extra information.
|
|
49
|
+
* @type {object}
|
|
50
|
+
* @memberof CreatePaymentRequestDto
|
|
51
|
+
*/
|
|
52
|
+
'metadata': object;
|
|
47
53
|
/**
|
|
48
54
|
* A slug is a human-readable, unique identifier, used to identify a resource instead of a less human-readable identifier like an id.
|
|
49
55
|
* @type {string}
|
|
@@ -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,3 +1,6 @@
|
|
|
1
|
+
export * from './bank-account-class';
|
|
2
|
+
export * from './billing-profile-dto';
|
|
3
|
+
export * from './billing-profile-limited-response-dto';
|
|
1
4
|
export * from './complete-braintree-payment-setup-request-dto';
|
|
2
5
|
export * from './complete-payment-setup-request-dto';
|
|
3
6
|
export * from './complete-payment-setup-response-class';
|
|
@@ -18,6 +21,9 @@ export * from './initiate-payment-setup-request-dto';
|
|
|
18
21
|
export * from './initiate-payment-setup-response-class';
|
|
19
22
|
export * from './initiate-stripe-payment-setup-request-dto';
|
|
20
23
|
export * from './initiate-stripe-payment-setup-response-class';
|
|
24
|
+
export * from './inline-response200';
|
|
25
|
+
export * from './inline-response503';
|
|
26
|
+
export * from './list-bank-accounts-response-class';
|
|
21
27
|
export * from './list-payment-methods-response-class';
|
|
22
28
|
export * from './list-payment-reminders-response-class';
|
|
23
29
|
export * from './list-payments-response-class';
|
|
@@ -25,5 +31,7 @@ export * from './payment-class';
|
|
|
25
31
|
export * from './payment-method-class';
|
|
26
32
|
export * from './payment-reminder-class';
|
|
27
33
|
export * from './sepa-direct-dto';
|
|
34
|
+
export * from './symphony-profile-limited-response-dto';
|
|
35
|
+
export * from './transaction-class';
|
|
28
36
|
export * from './validate-pspconfig-request-dto';
|
|
29
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,37 @@
|
|
|
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 { BankAccountClass } from './bank-account-class';
|
|
17
|
+
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @export
|
|
21
|
+
* @interface ListBankAccountsResponseClass
|
|
22
|
+
*/
|
|
23
|
+
export interface ListBankAccountsResponseClass {
|
|
24
|
+
/**
|
|
25
|
+
* Bank accounts
|
|
26
|
+
* @type {Array<BankAccountClass>}
|
|
27
|
+
* @memberof ListBankAccountsResponseClass
|
|
28
|
+
*/
|
|
29
|
+
'items': Array<BankAccountClass>;
|
|
30
|
+
/**
|
|
31
|
+
* Next page token.
|
|
32
|
+
* @type {string}
|
|
33
|
+
* @memberof ListBankAccountsResponseClass
|
|
34
|
+
*/
|
|
35
|
+
'nextPageToken': string;
|
|
36
|
+
}
|
|
37
|
+
|
package/models/payment-class.ts
CHANGED
|
@@ -13,6 +13,7 @@
|
|
|
13
13
|
*/
|
|
14
14
|
|
|
15
15
|
|
|
16
|
+
import { TransactionClass } from './transaction-class';
|
|
16
17
|
|
|
17
18
|
/**
|
|
18
19
|
*
|
|
@@ -70,9 +71,21 @@ export interface PaymentClass {
|
|
|
70
71
|
'updatedAt': string;
|
|
71
72
|
/**
|
|
72
73
|
* Transactions referenced by this payment.
|
|
73
|
-
* @type {Array<
|
|
74
|
+
* @type {Array<TransactionClass>}
|
|
75
|
+
* @memberof PaymentClass
|
|
76
|
+
*/
|
|
77
|
+
'transactions': Array<TransactionClass>;
|
|
78
|
+
/**
|
|
79
|
+
* Optional field contain extra information.
|
|
80
|
+
* @type {object}
|
|
81
|
+
* @memberof PaymentClass
|
|
82
|
+
*/
|
|
83
|
+
'metadata': object;
|
|
84
|
+
/**
|
|
85
|
+
* A slug is a human-readable, unique identifier, used to identify a resource instead of a less human-readable identifier like an id.
|
|
86
|
+
* @type {string}
|
|
74
87
|
* @memberof PaymentClass
|
|
75
88
|
*/
|
|
76
|
-
'
|
|
89
|
+
'productSlug'?: string;
|
|
77
90
|
}
|
|
78
91
|
|
|
@@ -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
|
+
|
|
@@ -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 TransactionClass
|
|
21
|
+
*/
|
|
22
|
+
export interface TransactionClass {
|
|
23
|
+
/**
|
|
24
|
+
* Internal unique identifier for the object. You should not have to use this, use code instead.
|
|
25
|
+
* @type {number}
|
|
26
|
+
* @memberof TransactionClass
|
|
27
|
+
*/
|
|
28
|
+
'id': number;
|
|
29
|
+
/**
|
|
30
|
+
* Unique identifier for transaction.
|
|
31
|
+
* @type {string}
|
|
32
|
+
* @memberof TransactionClass
|
|
33
|
+
*/
|
|
34
|
+
'code': string;
|
|
35
|
+
/**
|
|
36
|
+
* Reference to the payment id.
|
|
37
|
+
* @type {number}
|
|
38
|
+
* @memberof TransactionClass
|
|
39
|
+
*/
|
|
40
|
+
'paymentId': number;
|
|
41
|
+
/**
|
|
42
|
+
* Webhook associated to that transaction. Webhooks
|
|
43
|
+
* @type {number}
|
|
44
|
+
* @memberof TransactionClass
|
|
45
|
+
*/
|
|
46
|
+
'webhookId': number;
|
|
47
|
+
/**
|
|
48
|
+
* Status of the transaction. Can be one of the following: \'succeeded\', \'pending\', \'failed\', \'disputed\'. }
|
|
49
|
+
* @type {string}
|
|
50
|
+
* @memberof TransactionClass
|
|
51
|
+
*/
|
|
52
|
+
'status': string;
|
|
53
|
+
/**
|
|
54
|
+
* Time at which the object was created.
|
|
55
|
+
* @type {string}
|
|
56
|
+
* @memberof TransactionClass
|
|
57
|
+
*/
|
|
58
|
+
'createdAt': string;
|
|
59
|
+
}
|
|
60
|
+
|