@emilgroup/payment-sdk-node 1.0.0 → 1.2.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 +5 -0
- package/README.md +3 -3
- package/api/bank-accounts-api.ts +1 -1
- package/api/payment-methods-api.ts +1 -1
- package/api/payment-reminders-api.ts +560 -0
- package/api/payment-service-providers-api.ts +1 -1
- package/api/payment-setup-api.ts +1 -1
- package/api/payments-api.ts +1 -1
- package/api/webhooks-api.ts +1 -1
- package/api.ts +3 -1
- package/base.ts +23 -33
- package/common.ts +62 -1
- package/configuration.ts +1 -1
- package/dist/api/bank-accounts-api.d.ts +1 -1
- package/dist/api/bank-accounts-api.js +2 -2
- package/dist/api/payment-methods-api.d.ts +1 -1
- package/dist/api/payment-methods-api.js +2 -2
- package/dist/api/payment-reminders-api.d.ts +317 -0
- package/dist/api/payment-reminders-api.js +542 -0
- package/dist/api/payment-service-providers-api.d.ts +1 -1
- package/dist/api/payment-service-providers-api.js +2 -2
- package/dist/api/payment-setup-api.d.ts +1 -1
- package/dist/api/payment-setup-api.js +2 -2
- package/dist/api/payments-api.d.ts +1 -1
- package/dist/api/payments-api.js +2 -2
- package/dist/api/webhooks-api.d.ts +1 -1
- package/dist/api/webhooks-api.js +2 -2
- package/dist/api.d.ts +2 -1
- package/dist/api.js +2 -1
- package/dist/base.d.ts +2 -3
- package/dist/base.js +20 -22
- package/dist/common.d.ts +27 -1
- package/dist/common.js +36 -3
- package/dist/configuration.d.ts +1 -1
- package/dist/configuration.js +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.js +1 -1
- package/dist/models/complete-braintree-payment-setup-request-dto.d.ts +1 -1
- package/dist/models/complete-braintree-payment-setup-request-dto.js +1 -1
- package/dist/models/complete-payment-setup-request-dto.d.ts +1 -1
- package/dist/models/complete-payment-setup-request-dto.js +1 -1
- package/dist/models/complete-payment-setup-response-class.d.ts +1 -1
- package/dist/models/complete-payment-setup-response-class.js +1 -1
- package/dist/models/complete-stripe-payment-setup-request-dto.d.ts +9 -3
- package/dist/models/complete-stripe-payment-setup-request-dto.js +1 -1
- package/dist/models/create-bank-account-request-dto.d.ts +1 -1
- package/dist/models/create-bank-account-request-dto.js +1 -1
- package/dist/models/create-payment-method-response-class.d.ts +1 -1
- package/dist/models/create-payment-method-response-class.js +1 -1
- package/dist/models/create-payment-reminder-request-dto.d.ts +63 -0
- package/dist/models/create-payment-reminder-request-dto.js +24 -0
- package/dist/models/create-payment-request-dto.d.ts +7 -1
- package/dist/models/create-payment-request-dto.js +1 -1
- package/dist/models/create-payment-response-class.d.ts +1 -1
- package/dist/models/create-payment-response-class.js +1 -1
- package/dist/models/create-psp-payment-method-request-dto.d.ts +2 -2
- package/dist/models/create-psp-payment-method-request-dto.js +1 -1
- package/dist/models/deactivate-payment-reminder-request-dto.d.ts +30 -0
- package/dist/models/deactivate-payment-reminder-request-dto.js +21 -0
- package/dist/models/get-payment-method-response-class.d.ts +1 -1
- package/dist/models/get-payment-method-response-class.js +1 -1
- package/dist/models/get-payment-response-class.d.ts +1 -1
- package/dist/models/get-payment-response-class.js +1 -1
- package/dist/models/get-request-dto.d.ts +1 -1
- package/dist/models/get-request-dto.js +1 -1
- package/dist/models/index.d.ts +4 -0
- package/dist/models/index.js +4 -0
- package/dist/models/initiate-braintree-payment-setup-request-dto.d.ts +9 -3
- package/dist/models/initiate-braintree-payment-setup-request-dto.js +1 -1
- package/dist/models/initiate-braintree-payment-setup-response-class.d.ts +1 -1
- package/dist/models/initiate-braintree-payment-setup-response-class.js +1 -1
- package/dist/models/initiate-payment-setup-request-dto.d.ts +1 -1
- package/dist/models/initiate-payment-setup-request-dto.js +1 -1
- package/dist/models/initiate-payment-setup-response-class.d.ts +1 -1
- package/dist/models/initiate-payment-setup-response-class.js +1 -1
- package/dist/models/initiate-stripe-payment-setup-request-dto.d.ts +9 -3
- package/dist/models/initiate-stripe-payment-setup-request-dto.js +1 -1
- package/dist/models/initiate-stripe-payment-setup-response-class.d.ts +1 -1
- package/dist/models/initiate-stripe-payment-setup-response-class.js +1 -1
- package/dist/models/list-payment-methods-response-class.d.ts +4 -3
- package/dist/models/list-payment-methods-response-class.js +1 -1
- package/dist/models/list-payment-reminders-response-class.d.ts +31 -0
- package/dist/models/list-payment-reminders-response-class.js +15 -0
- package/dist/models/list-payments-response-class.d.ts +4 -3
- package/dist/models/list-payments-response-class.js +1 -1
- package/dist/models/payment-class.d.ts +1 -1
- package/dist/models/payment-class.js +1 -1
- package/dist/models/payment-method-class.d.ts +1 -1
- package/dist/models/payment-method-class.js +1 -1
- package/dist/models/payment-reminder-class.d.ts +108 -0
- package/dist/models/payment-reminder-class.js +32 -0
- package/dist/models/sepa-direct-dto.d.ts +1 -1
- package/dist/models/sepa-direct-dto.js +1 -1
- package/dist/models/validate-pspconfig-request-dto.d.ts +2 -2
- package/dist/models/validate-pspconfig-request-dto.js +1 -1
- package/dist/models/validate-pspconfig-response-class.d.ts +1 -1
- package/dist/models/validate-pspconfig-response-class.js +1 -1
- package/index.ts +1 -1
- package/models/complete-braintree-payment-setup-request-dto.ts +1 -1
- package/models/complete-payment-setup-request-dto.ts +1 -1
- package/models/complete-payment-setup-response-class.ts +1 -1
- package/models/complete-stripe-payment-setup-request-dto.ts +9 -3
- package/models/create-bank-account-request-dto.ts +1 -1
- package/models/create-payment-method-response-class.ts +1 -1
- package/models/create-payment-reminder-request-dto.ts +72 -0
- package/models/create-payment-request-dto.ts +7 -1
- package/models/create-payment-response-class.ts +1 -1
- package/models/create-psp-payment-method-request-dto.ts +1 -1
- package/models/deactivate-payment-reminder-request-dto.ts +39 -0
- package/models/get-payment-method-response-class.ts +1 -1
- package/models/get-payment-response-class.ts +1 -1
- package/models/get-request-dto.ts +1 -1
- package/models/index.ts +4 -0
- package/models/initiate-braintree-payment-setup-request-dto.ts +9 -3
- package/models/initiate-braintree-payment-setup-response-class.ts +1 -1
- package/models/initiate-payment-setup-request-dto.ts +1 -1
- package/models/initiate-payment-setup-response-class.ts +1 -1
- package/models/initiate-stripe-payment-setup-request-dto.ts +9 -3
- package/models/initiate-stripe-payment-setup-response-class.ts +1 -1
- package/models/list-payment-methods-response-class.ts +4 -3
- package/models/list-payment-reminders-response-class.ts +37 -0
- package/models/list-payments-response-class.ts +4 -3
- package/models/payment-class.ts +1 -1
- package/models/payment-method-class.ts +1 -1
- package/models/payment-reminder-class.ts +118 -0
- package/models/sepa-direct-dto.ts +1 -1
- package/models/validate-pspconfig-request-dto.ts +1 -1
- package/models/validate-pspconfig-response-class.ts +1 -1
- package/package.json +2 -3
|
@@ -3,7 +3,7 @@
|
|
|
3
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
4
|
*
|
|
5
5
|
* The version of the OpenAPI document: 1.0
|
|
6
|
-
*
|
|
6
|
+
* Contact: kontakt@emil.de
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
9
|
* https://openapi-generator.tech
|
|
@@ -6,7 +6,7 @@
|
|
|
6
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
7
|
*
|
|
8
8
|
* The version of the OpenAPI document: 1.0
|
|
9
|
-
*
|
|
9
|
+
* Contact: kontakt@emil.de
|
|
10
10
|
*
|
|
11
11
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
12
12
|
* https://openapi-generator.tech
|
|
@@ -3,7 +3,7 @@
|
|
|
3
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
4
|
*
|
|
5
5
|
* The version of the OpenAPI document: 1.0
|
|
6
|
-
*
|
|
6
|
+
* Contact: kontakt@emil.de
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
9
|
* https://openapi-generator.tech
|
|
@@ -38,4 +38,4 @@ export declare const ValidatePSPConfigRequestDtoTypeEnum: {
|
|
|
38
38
|
readonly Braintree: "braintree";
|
|
39
39
|
readonly Stripe: "stripe";
|
|
40
40
|
};
|
|
41
|
-
export
|
|
41
|
+
export type ValidatePSPConfigRequestDtoTypeEnum = typeof ValidatePSPConfigRequestDtoTypeEnum[keyof typeof ValidatePSPConfigRequestDtoTypeEnum];
|
|
@@ -6,7 +6,7 @@
|
|
|
6
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
7
|
*
|
|
8
8
|
* The version of the OpenAPI document: 1.0
|
|
9
|
-
*
|
|
9
|
+
* Contact: kontakt@emil.de
|
|
10
10
|
*
|
|
11
11
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
12
12
|
* https://openapi-generator.tech
|
|
@@ -3,7 +3,7 @@
|
|
|
3
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
4
|
*
|
|
5
5
|
* The version of the OpenAPI document: 1.0
|
|
6
|
-
*
|
|
6
|
+
* Contact: kontakt@emil.de
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
9
|
* https://openapi-generator.tech
|
|
@@ -6,7 +6,7 @@
|
|
|
6
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
7
|
*
|
|
8
8
|
* The version of the OpenAPI document: 1.0
|
|
9
|
-
*
|
|
9
|
+
* Contact: kontakt@emil.de
|
|
10
10
|
*
|
|
11
11
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
12
12
|
* https://openapi-generator.tech
|
package/index.ts
CHANGED
|
@@ -5,7 +5,7 @@
|
|
|
5
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
6
|
*
|
|
7
7
|
* The version of the OpenAPI document: 1.0
|
|
8
|
-
*
|
|
8
|
+
* Contact: kontakt@emil.de
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
11
|
* https://openapi-generator.tech
|
|
@@ -5,7 +5,7 @@
|
|
|
5
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
6
|
*
|
|
7
7
|
* The version of the OpenAPI document: 1.0
|
|
8
|
-
*
|
|
8
|
+
* Contact: kontakt@emil.de
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
11
|
* https://openapi-generator.tech
|
|
@@ -5,7 +5,7 @@
|
|
|
5
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
6
|
*
|
|
7
7
|
* The version of the OpenAPI document: 1.0
|
|
8
|
-
*
|
|
8
|
+
* Contact: kontakt@emil.de
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
11
|
* https://openapi-generator.tech
|
|
@@ -5,7 +5,7 @@
|
|
|
5
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
6
|
*
|
|
7
7
|
* The version of the OpenAPI document: 1.0
|
|
8
|
-
*
|
|
8
|
+
* Contact: kontakt@emil.de
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
11
|
* https://openapi-generator.tech
|
|
@@ -5,7 +5,7 @@
|
|
|
5
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
6
|
*
|
|
7
7
|
* The version of the OpenAPI document: 1.0
|
|
8
|
-
*
|
|
8
|
+
* Contact: kontakt@emil.de
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
11
|
* https://openapi-generator.tech
|
|
@@ -43,7 +43,7 @@ export interface CompleteStripePaymentSetupRequestDto {
|
|
|
43
43
|
* @type {string}
|
|
44
44
|
* @memberof CompleteStripePaymentSetupRequestDto
|
|
45
45
|
*/
|
|
46
|
-
'leadCode'
|
|
46
|
+
'leadCode'?: string;
|
|
47
47
|
/**
|
|
48
48
|
* Unique identifier for the customer on Stripe.
|
|
49
49
|
* @type {string}
|
|
@@ -55,6 +55,12 @@ export interface CompleteStripePaymentSetupRequestDto {
|
|
|
55
55
|
* @type {string}
|
|
56
56
|
* @memberof CompleteStripePaymentSetupRequestDto
|
|
57
57
|
*/
|
|
58
|
-
'pspPaymentMethodId'
|
|
58
|
+
'pspPaymentMethodId'?: string;
|
|
59
|
+
/**
|
|
60
|
+
* The payment method type on Stripe.
|
|
61
|
+
* @type {string}
|
|
62
|
+
* @memberof CompleteStripePaymentSetupRequestDto
|
|
63
|
+
*/
|
|
64
|
+
'paymentMethodType'?: string;
|
|
59
65
|
}
|
|
60
66
|
|
|
@@ -5,7 +5,7 @@
|
|
|
5
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
6
|
*
|
|
7
7
|
* The version of the OpenAPI document: 1.0
|
|
8
|
-
*
|
|
8
|
+
* Contact: kontakt@emil.de
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
11
|
* https://openapi-generator.tech
|
|
@@ -5,7 +5,7 @@
|
|
|
5
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
6
|
*
|
|
7
7
|
* The version of the OpenAPI document: 1.0
|
|
8
|
-
*
|
|
8
|
+
* Contact: kontakt@emil.de
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
11
|
* https://openapi-generator.tech
|
|
@@ -0,0 +1,72 @@
|
|
|
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 CreatePaymentReminderRequestDto
|
|
21
|
+
*/
|
|
22
|
+
export interface CreatePaymentReminderRequestDto {
|
|
23
|
+
/**
|
|
24
|
+
* Date on which the reminder is triggered.
|
|
25
|
+
* @type {string}
|
|
26
|
+
* @memberof CreatePaymentReminderRequestDto
|
|
27
|
+
*/
|
|
28
|
+
'nextReminderDate': string;
|
|
29
|
+
/**
|
|
30
|
+
* Code referencing the policy for which this reminder is created.
|
|
31
|
+
* @type {string}
|
|
32
|
+
* @memberof CreatePaymentReminderRequestDto
|
|
33
|
+
*/
|
|
34
|
+
'policyCode': string;
|
|
35
|
+
/**
|
|
36
|
+
* Code referencing the account for which this reminder is created.
|
|
37
|
+
* @type {string}
|
|
38
|
+
* @memberof CreatePaymentReminderRequestDto
|
|
39
|
+
*/
|
|
40
|
+
'accountCode': string;
|
|
41
|
+
/**
|
|
42
|
+
* The type of invoice is used to determine the proper workflow.
|
|
43
|
+
* @type {string}
|
|
44
|
+
* @memberof CreatePaymentReminderRequestDto
|
|
45
|
+
*/
|
|
46
|
+
'invoiceType': CreatePaymentReminderRequestDtoInvoiceTypeEnum;
|
|
47
|
+
/**
|
|
48
|
+
* Unique identifier of the payment for which the reminder happened.
|
|
49
|
+
* @type {string}
|
|
50
|
+
* @memberof CreatePaymentReminderRequestDto
|
|
51
|
+
*/
|
|
52
|
+
'paymentCode': string;
|
|
53
|
+
/**
|
|
54
|
+
* The stage of a reminder according to the product definition.
|
|
55
|
+
* @type {number}
|
|
56
|
+
* @memberof CreatePaymentReminderRequestDto
|
|
57
|
+
*/
|
|
58
|
+
'reminderStage': number;
|
|
59
|
+
}
|
|
60
|
+
|
|
61
|
+
export const CreatePaymentReminderRequestDtoInvoiceTypeEnum = {
|
|
62
|
+
Initial: 'initial',
|
|
63
|
+
Recurring: 'recurring',
|
|
64
|
+
Correction: 'correction',
|
|
65
|
+
Estimated: 'estimated',
|
|
66
|
+
Penalty: 'penalty',
|
|
67
|
+
Other: 'other'
|
|
68
|
+
} as const;
|
|
69
|
+
|
|
70
|
+
export type CreatePaymentReminderRequestDtoInvoiceTypeEnum = typeof CreatePaymentReminderRequestDtoInvoiceTypeEnum[keyof typeof CreatePaymentReminderRequestDtoInvoiceTypeEnum];
|
|
71
|
+
|
|
72
|
+
|
|
@@ -5,7 +5,7 @@
|
|
|
5
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
6
|
*
|
|
7
7
|
* The version of the OpenAPI document: 1.0
|
|
8
|
-
*
|
|
8
|
+
* Contact: kontakt@emil.de
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
11
|
* https://openapi-generator.tech
|
|
@@ -44,5 +44,11 @@ export interface CreatePaymentRequestDto {
|
|
|
44
44
|
* @memberof CreatePaymentRequestDto
|
|
45
45
|
*/
|
|
46
46
|
'invoiceIds': Array<string>;
|
|
47
|
+
/**
|
|
48
|
+
* A slug is a human-readable, unique identifier, used to identify a resource instead of a less human-readable identifier like an id.
|
|
49
|
+
* @type {string}
|
|
50
|
+
* @memberof CreatePaymentRequestDto
|
|
51
|
+
*/
|
|
52
|
+
'productSlug'?: string;
|
|
47
53
|
}
|
|
48
54
|
|
|
@@ -5,7 +5,7 @@
|
|
|
5
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
6
|
*
|
|
7
7
|
* The version of the OpenAPI document: 1.0
|
|
8
|
-
*
|
|
8
|
+
* Contact: kontakt@emil.de
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
11
|
* https://openapi-generator.tech
|
|
@@ -5,7 +5,7 @@
|
|
|
5
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
6
|
*
|
|
7
7
|
* The version of the OpenAPI document: 1.0
|
|
8
|
-
*
|
|
8
|
+
* Contact: kontakt@emil.de
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
11
|
* https://openapi-generator.tech
|
|
@@ -0,0 +1,39 @@
|
|
|
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 DeactivatePaymentReminderRequestDto
|
|
21
|
+
*/
|
|
22
|
+
export interface DeactivatePaymentReminderRequestDto {
|
|
23
|
+
/**
|
|
24
|
+
* Reason for the update.
|
|
25
|
+
* @type {string}
|
|
26
|
+
* @memberof DeactivatePaymentReminderRequestDto
|
|
27
|
+
*/
|
|
28
|
+
'updateReason': DeactivatePaymentReminderRequestDtoUpdateReasonEnum;
|
|
29
|
+
}
|
|
30
|
+
|
|
31
|
+
export const DeactivatePaymentReminderRequestDtoUpdateReasonEnum = {
|
|
32
|
+
SystemTriggered: 'system_triggered',
|
|
33
|
+
UserPaid: 'user_paid',
|
|
34
|
+
AdminCanceled: 'admin_canceled'
|
|
35
|
+
} as const;
|
|
36
|
+
|
|
37
|
+
export type DeactivatePaymentReminderRequestDtoUpdateReasonEnum = typeof DeactivatePaymentReminderRequestDtoUpdateReasonEnum[keyof typeof DeactivatePaymentReminderRequestDtoUpdateReasonEnum];
|
|
38
|
+
|
|
39
|
+
|
|
@@ -5,7 +5,7 @@
|
|
|
5
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
6
|
*
|
|
7
7
|
* The version of the OpenAPI document: 1.0
|
|
8
|
-
*
|
|
8
|
+
* Contact: kontakt@emil.de
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
11
|
* https://openapi-generator.tech
|
|
@@ -5,7 +5,7 @@
|
|
|
5
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
6
|
*
|
|
7
7
|
* The version of the OpenAPI document: 1.0
|
|
8
|
-
*
|
|
8
|
+
* Contact: kontakt@emil.de
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
11
|
* https://openapi-generator.tech
|
|
@@ -5,7 +5,7 @@
|
|
|
5
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
6
|
*
|
|
7
7
|
* The version of the OpenAPI document: 1.0
|
|
8
|
-
*
|
|
8
|
+
* Contact: kontakt@emil.de
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
11
|
* https://openapi-generator.tech
|
package/models/index.ts
CHANGED
|
@@ -4,9 +4,11 @@ export * from './complete-payment-setup-response-class';
|
|
|
4
4
|
export * from './complete-stripe-payment-setup-request-dto';
|
|
5
5
|
export * from './create-bank-account-request-dto';
|
|
6
6
|
export * from './create-payment-method-response-class';
|
|
7
|
+
export * from './create-payment-reminder-request-dto';
|
|
7
8
|
export * from './create-payment-request-dto';
|
|
8
9
|
export * from './create-payment-response-class';
|
|
9
10
|
export * from './create-psp-payment-method-request-dto';
|
|
11
|
+
export * from './deactivate-payment-reminder-request-dto';
|
|
10
12
|
export * from './get-payment-method-response-class';
|
|
11
13
|
export * from './get-payment-response-class';
|
|
12
14
|
export * from './get-request-dto';
|
|
@@ -17,9 +19,11 @@ export * from './initiate-payment-setup-response-class';
|
|
|
17
19
|
export * from './initiate-stripe-payment-setup-request-dto';
|
|
18
20
|
export * from './initiate-stripe-payment-setup-response-class';
|
|
19
21
|
export * from './list-payment-methods-response-class';
|
|
22
|
+
export * from './list-payment-reminders-response-class';
|
|
20
23
|
export * from './list-payments-response-class';
|
|
21
24
|
export * from './payment-class';
|
|
22
25
|
export * from './payment-method-class';
|
|
26
|
+
export * from './payment-reminder-class';
|
|
23
27
|
export * from './sepa-direct-dto';
|
|
24
28
|
export * from './validate-pspconfig-request-dto';
|
|
25
29
|
export * from './validate-pspconfig-response-class';
|
|
@@ -5,7 +5,7 @@
|
|
|
5
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
6
|
*
|
|
7
7
|
* The version of the OpenAPI document: 1.0
|
|
8
|
-
*
|
|
8
|
+
* Contact: kontakt@emil.de
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
11
|
* https://openapi-generator.tech
|
|
@@ -21,10 +21,16 @@
|
|
|
21
21
|
*/
|
|
22
22
|
export interface InitiateBraintreePaymentSetupRequestDto {
|
|
23
23
|
/**
|
|
24
|
-
* Lead code
|
|
24
|
+
* Lead code.
|
|
25
|
+
* @type {string}
|
|
26
|
+
* @memberof InitiateBraintreePaymentSetupRequestDto
|
|
27
|
+
*/
|
|
28
|
+
'leadCode'?: string;
|
|
29
|
+
/**
|
|
30
|
+
* Account code.
|
|
25
31
|
* @type {string}
|
|
26
32
|
* @memberof InitiateBraintreePaymentSetupRequestDto
|
|
27
33
|
*/
|
|
28
|
-
'
|
|
34
|
+
'accountCode'?: string;
|
|
29
35
|
}
|
|
30
36
|
|
|
@@ -5,7 +5,7 @@
|
|
|
5
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
6
|
*
|
|
7
7
|
* The version of the OpenAPI document: 1.0
|
|
8
|
-
*
|
|
8
|
+
* Contact: kontakt@emil.de
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
11
|
* https://openapi-generator.tech
|
|
@@ -5,7 +5,7 @@
|
|
|
5
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
6
|
*
|
|
7
7
|
* The version of the OpenAPI document: 1.0
|
|
8
|
-
*
|
|
8
|
+
* Contact: kontakt@emil.de
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
11
|
* https://openapi-generator.tech
|
|
@@ -5,7 +5,7 @@
|
|
|
5
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
6
|
*
|
|
7
7
|
* The version of the OpenAPI document: 1.0
|
|
8
|
-
*
|
|
8
|
+
* Contact: kontakt@emil.de
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
11
|
* https://openapi-generator.tech
|
|
@@ -5,7 +5,7 @@
|
|
|
5
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
6
|
*
|
|
7
7
|
* The version of the OpenAPI document: 1.0
|
|
8
|
-
*
|
|
8
|
+
* Contact: kontakt@emil.de
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
11
|
* https://openapi-generator.tech
|
|
@@ -21,10 +21,16 @@
|
|
|
21
21
|
*/
|
|
22
22
|
export interface InitiateStripePaymentSetupRequestDto {
|
|
23
23
|
/**
|
|
24
|
-
* Lead code
|
|
24
|
+
* Lead code.
|
|
25
|
+
* @type {string}
|
|
26
|
+
* @memberof InitiateStripePaymentSetupRequestDto
|
|
27
|
+
*/
|
|
28
|
+
'leadCode'?: string;
|
|
29
|
+
/**
|
|
30
|
+
* Account code.
|
|
25
31
|
* @type {string}
|
|
26
32
|
* @memberof InitiateStripePaymentSetupRequestDto
|
|
27
33
|
*/
|
|
28
|
-
'
|
|
34
|
+
'accountCode'?: string;
|
|
29
35
|
}
|
|
30
36
|
|
|
@@ -5,7 +5,7 @@
|
|
|
5
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
6
|
*
|
|
7
7
|
* The version of the OpenAPI document: 1.0
|
|
8
|
-
*
|
|
8
|
+
* Contact: kontakt@emil.de
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
11
|
* https://openapi-generator.tech
|
|
@@ -5,7 +5,7 @@
|
|
|
5
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
6
|
*
|
|
7
7
|
* The version of the OpenAPI document: 1.0
|
|
8
|
-
*
|
|
8
|
+
* Contact: kontakt@emil.de
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
11
|
* https://openapi-generator.tech
|
|
@@ -13,6 +13,7 @@
|
|
|
13
13
|
*/
|
|
14
14
|
|
|
15
15
|
|
|
16
|
+
import { PaymentMethodClass } from './payment-method-class';
|
|
16
17
|
|
|
17
18
|
/**
|
|
18
19
|
*
|
|
@@ -22,10 +23,10 @@
|
|
|
22
23
|
export interface ListPaymentMethodsResponseClass {
|
|
23
24
|
/**
|
|
24
25
|
* Payment methods
|
|
25
|
-
* @type {Array<
|
|
26
|
+
* @type {Array<PaymentMethodClass>}
|
|
26
27
|
* @memberof ListPaymentMethodsResponseClass
|
|
27
28
|
*/
|
|
28
|
-
'items': Array<
|
|
29
|
+
'items': Array<PaymentMethodClass>;
|
|
29
30
|
/**
|
|
30
31
|
* Next page token
|
|
31
32
|
* @type {string}
|
|
@@ -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 { PaymentReminderClass } from './payment-reminder-class';
|
|
17
|
+
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @export
|
|
21
|
+
* @interface ListPaymentRemindersResponseClass
|
|
22
|
+
*/
|
|
23
|
+
export interface ListPaymentRemindersResponseClass {
|
|
24
|
+
/**
|
|
25
|
+
* The payment reminders
|
|
26
|
+
* @type {Array<PaymentReminderClass>}
|
|
27
|
+
* @memberof ListPaymentRemindersResponseClass
|
|
28
|
+
*/
|
|
29
|
+
'items': Array<PaymentReminderClass>;
|
|
30
|
+
/**
|
|
31
|
+
* Next page token
|
|
32
|
+
* @type {string}
|
|
33
|
+
* @memberof ListPaymentRemindersResponseClass
|
|
34
|
+
*/
|
|
35
|
+
'nextPageToken': string;
|
|
36
|
+
}
|
|
37
|
+
|
|
@@ -5,7 +5,7 @@
|
|
|
5
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
6
|
*
|
|
7
7
|
* The version of the OpenAPI document: 1.0
|
|
8
|
-
*
|
|
8
|
+
* Contact: kontakt@emil.de
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
11
|
* https://openapi-generator.tech
|
|
@@ -13,6 +13,7 @@
|
|
|
13
13
|
*/
|
|
14
14
|
|
|
15
15
|
|
|
16
|
+
import { PaymentClass } from './payment-class';
|
|
16
17
|
|
|
17
18
|
/**
|
|
18
19
|
*
|
|
@@ -22,10 +23,10 @@
|
|
|
22
23
|
export interface ListPaymentsResponseClass {
|
|
23
24
|
/**
|
|
24
25
|
* Payments
|
|
25
|
-
* @type {Array<
|
|
26
|
+
* @type {Array<PaymentClass>}
|
|
26
27
|
* @memberof ListPaymentsResponseClass
|
|
27
28
|
*/
|
|
28
|
-
'items': Array<
|
|
29
|
+
'items': Array<PaymentClass>;
|
|
29
30
|
/**
|
|
30
31
|
* Next page token
|
|
31
32
|
* @type {string}
|
package/models/payment-class.ts
CHANGED
|
@@ -5,7 +5,7 @@
|
|
|
5
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
6
|
*
|
|
7
7
|
* The version of the OpenAPI document: 1.0
|
|
8
|
-
*
|
|
8
|
+
* Contact: kontakt@emil.de
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
11
|
* https://openapi-generator.tech
|
|
@@ -5,7 +5,7 @@
|
|
|
5
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
6
|
*
|
|
7
7
|
* The version of the OpenAPI document: 1.0
|
|
8
|
-
*
|
|
8
|
+
* Contact: kontakt@emil.de
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
11
|
* https://openapi-generator.tech
|