@emilgroup/payment-sdk 1.0.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 +58 -0
- package/.openapi-generator/VERSION +1 -0
- package/.openapi-generator-ignore +23 -0
- package/README.md +51 -0
- package/api/bank-accounts-api.ts +337 -0
- package/api/default-api.ts +120 -0
- package/api/payment-methods-api.ts +577 -0
- package/api/payment-reminders-api.ts +556 -0
- package/api/payment-service-providers-api.ts +161 -0
- package/api/payment-setup-api.ts +264 -0
- package/api/payments-api.ts +489 -0
- package/api/webhooks-api.ts +150 -0
- package/api.ts +41 -0
- package/base.ts +251 -0
- package/common.ts +198 -0
- package/configuration.ts +101 -0
- package/dist/api/bank-accounts-api.d.ts +197 -0
- package/dist/api/bank-accounts-api.js +347 -0
- package/dist/api/default-api.d.ts +66 -0
- package/dist/api/default-api.js +196 -0
- package/dist/api/payment-methods-api.d.ts +327 -0
- package/dist/api/payment-methods-api.js +547 -0
- package/dist/api/payment-reminders-api.d.ts +317 -0
- package/dist/api/payment-reminders-api.js +538 -0
- package/dist/api/payment-service-providers-api.d.ts +93 -0
- package/dist/api/payment-service-providers-api.js +220 -0
- package/dist/api/payment-setup-api.d.ts +146 -0
- package/dist/api/payment-setup-api.js +309 -0
- package/dist/api/payments-api.d.ts +281 -0
- package/dist/api/payments-api.js +461 -0
- package/dist/api/webhooks-api.d.ts +91 -0
- package/dist/api/webhooks-api.js +209 -0
- package/dist/api.d.ts +19 -0
- package/dist/api.js +37 -0
- package/dist/base.d.ts +74 -0
- package/dist/base.js +298 -0
- package/dist/common.d.ts +91 -0
- package/dist/common.js +276 -0
- package/dist/configuration.d.ts +83 -0
- package/dist/configuration.js +44 -0
- package/dist/index.d.ts +15 -0
- package/dist/index.js +36 -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/complete-braintree-payment-setup-request-dto.d.ts +48 -0
- package/dist/models/complete-braintree-payment-setup-request-dto.js +15 -0
- package/dist/models/complete-payment-setup-request-dto.d.ts +32 -0
- package/dist/models/complete-payment-setup-request-dto.js +15 -0
- package/dist/models/complete-payment-setup-response-class.d.ts +25 -0
- package/dist/models/complete-payment-setup-response-class.js +15 -0
- package/dist/models/complete-stripe-payment-setup-request-dto.d.ts +60 -0
- package/dist/models/complete-stripe-payment-setup-request-dto.js +15 -0
- package/dist/models/create-bank-account-request-dto.d.ts +30 -0
- package/dist/models/create-bank-account-request-dto.js +15 -0
- package/dist/models/create-payment-method-response-class.d.ts +25 -0
- package/dist/models/create-payment-method-response-class.js +15 -0
- package/dist/models/create-payment-reminder-request-dto.d.ts +65 -0
- package/dist/models/create-payment-reminder-request-dto.js +26 -0
- package/dist/models/create-payment-request-dto.d.ts +72 -0
- package/dist/models/create-payment-request-dto.js +15 -0
- package/dist/models/create-payment-response-class.d.ts +25 -0
- package/dist/models/create-payment-response-class.js +15 -0
- package/dist/models/create-psp-payment-method-request-dto.d.ts +61 -0
- package/dist/models/create-psp-payment-method-request-dto.js +32 -0
- 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 +25 -0
- package/dist/models/get-payment-method-response-class.js +15 -0
- package/dist/models/get-payment-response-class.d.ts +25 -0
- package/dist/models/get-payment-response-class.js +15 -0
- package/dist/models/get-request-dto.d.ts +30 -0
- package/dist/models/get-request-dto.js +15 -0
- package/dist/models/index.d.ts +37 -0
- package/dist/models/index.js +53 -0
- package/dist/models/initiate-braintree-payment-setup-request-dto.d.ts +30 -0
- package/dist/models/initiate-braintree-payment-setup-request-dto.js +15 -0
- package/dist/models/initiate-braintree-payment-setup-response-class.d.ts +24 -0
- package/dist/models/initiate-braintree-payment-setup-response-class.js +15 -0
- package/dist/models/initiate-payment-setup-request-dto.d.ts +44 -0
- package/dist/models/initiate-payment-setup-request-dto.js +15 -0
- package/dist/models/initiate-payment-setup-response-class.d.ts +32 -0
- package/dist/models/initiate-payment-setup-response-class.js +15 -0
- package/dist/models/initiate-stripe-payment-setup-request-dto.d.ts +30 -0
- package/dist/models/initiate-stripe-payment-setup-request-dto.js +15 -0
- package/dist/models/initiate-stripe-payment-setup-response-class.d.ts +30 -0
- package/dist/models/initiate-stripe-payment-setup-response-class.js +15 -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/list-payment-methods-response-class.d.ts +31 -0
- package/dist/models/list-payment-methods-response-class.js +15 -0
- 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 +31 -0
- package/dist/models/list-payments-response-class.js +15 -0
- package/dist/models/payment-class.d.ts +103 -0
- package/dist/models/payment-class.js +15 -0
- package/dist/models/payment-method-class.d.ts +60 -0
- package/dist/models/payment-method-class.js +15 -0
- package/dist/models/payment-reminder-class.d.ts +112 -0
- package/dist/models/payment-reminder-class.js +36 -0
- package/dist/models/sepa-direct-dto.d.ts +24 -0
- package/dist/models/sepa-direct-dto.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/transaction-class.d.ts +54 -0
- package/dist/models/transaction-class.js +15 -0
- package/dist/models/validate-pspconfig-request-dto.d.ts +43 -0
- package/dist/models/validate-pspconfig-request-dto.js +22 -0
- package/dist/models/validate-pspconfig-response-class.d.ts +24 -0
- package/dist/models/validate-pspconfig-response-class.js +15 -0
- package/git_push.sh +57 -0
- package/index.ts +19 -0
- 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/complete-braintree-payment-setup-request-dto.ts +54 -0
- package/models/complete-payment-setup-request-dto.ts +38 -0
- package/models/complete-payment-setup-response-class.ts +31 -0
- package/models/complete-stripe-payment-setup-request-dto.ts +66 -0
- package/models/create-bank-account-request-dto.ts +36 -0
- package/models/create-payment-method-response-class.ts +31 -0
- package/models/create-payment-reminder-request-dto.ts +74 -0
- package/models/create-payment-request-dto.ts +78 -0
- package/models/create-payment-response-class.ts +31 -0
- package/models/create-psp-payment-method-request-dto.ts +70 -0
- package/models/deactivate-payment-reminder-request-dto.ts +39 -0
- package/models/get-payment-method-response-class.ts +31 -0
- package/models/get-payment-response-class.ts +31 -0
- package/models/get-request-dto.ts +36 -0
- package/models/index.ts +37 -0
- package/models/initiate-braintree-payment-setup-request-dto.ts +36 -0
- package/models/initiate-braintree-payment-setup-response-class.ts +30 -0
- package/models/initiate-payment-setup-request-dto.ts +50 -0
- package/models/initiate-payment-setup-response-class.ts +38 -0
- package/models/initiate-stripe-payment-setup-request-dto.ts +36 -0
- package/models/initiate-stripe-payment-setup-response-class.ts +36 -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/list-payment-methods-response-class.ts +37 -0
- package/models/list-payment-reminders-response-class.ts +37 -0
- package/models/list-payments-response-class.ts +37 -0
- package/models/payment-class.ts +109 -0
- package/models/payment-method-class.ts +66 -0
- package/models/payment-reminder-class.ts +122 -0
- package/models/sepa-direct-dto.ts +30 -0
- package/models/symphony-profile-limited-response-dto.ts +48 -0
- package/models/transaction-class.ts +60 -0
- package/models/validate-pspconfig-request-dto.ts +52 -0
- package/models/validate-pspconfig-response-class.ts +30 -0
- package/package.json +27 -0
- package/tsconfig.json +22 -0
|
@@ -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 BillingProfileLimitedResponseDto
|
|
16
|
+
*/
|
|
17
|
+
export interface BillingProfileLimitedResponseDto {
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof BillingProfileLimitedResponseDto
|
|
22
|
+
*/
|
|
23
|
+
'sourceCode': string;
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof BillingProfileLimitedResponseDto
|
|
28
|
+
*/
|
|
29
|
+
'status': string;
|
|
30
|
+
/**
|
|
31
|
+
*
|
|
32
|
+
* @type {string}
|
|
33
|
+
* @memberof BillingProfileLimitedResponseDto
|
|
34
|
+
*/
|
|
35
|
+
'brand': string;
|
|
36
|
+
/**
|
|
37
|
+
*
|
|
38
|
+
* @type {string}
|
|
39
|
+
* @memberof BillingProfileLimitedResponseDto
|
|
40
|
+
*/
|
|
41
|
+
'invoiceLanguage'?: string;
|
|
42
|
+
/**
|
|
43
|
+
*
|
|
44
|
+
* @type {string}
|
|
45
|
+
* @memberof BillingProfileLimitedResponseDto
|
|
46
|
+
*/
|
|
47
|
+
'customerSegment': string;
|
|
48
|
+
/**
|
|
49
|
+
*
|
|
50
|
+
* @type {number}
|
|
51
|
+
* @memberof BillingProfileLimitedResponseDto
|
|
52
|
+
*/
|
|
53
|
+
'activeSubsCnt': number;
|
|
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,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 CompleteBraintreePaymentSetupRequestDto
|
|
16
|
+
*/
|
|
17
|
+
export interface CompleteBraintreePaymentSetupRequestDto {
|
|
18
|
+
/**
|
|
19
|
+
* Account email address
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof CompleteBraintreePaymentSetupRequestDto
|
|
22
|
+
*/
|
|
23
|
+
'email': string;
|
|
24
|
+
/**
|
|
25
|
+
* Account first name
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof CompleteBraintreePaymentSetupRequestDto
|
|
28
|
+
*/
|
|
29
|
+
'firstName': string;
|
|
30
|
+
/**
|
|
31
|
+
* Account last name
|
|
32
|
+
* @type {string}
|
|
33
|
+
* @memberof CompleteBraintreePaymentSetupRequestDto
|
|
34
|
+
*/
|
|
35
|
+
'lastName': string;
|
|
36
|
+
/**
|
|
37
|
+
* Lead code
|
|
38
|
+
* @type {string}
|
|
39
|
+
* @memberof CompleteBraintreePaymentSetupRequestDto
|
|
40
|
+
*/
|
|
41
|
+
'leadCode': string;
|
|
42
|
+
/**
|
|
43
|
+
* Braintree nonce generated by the client through the frontend component.
|
|
44
|
+
* @type {string}
|
|
45
|
+
* @memberof CompleteBraintreePaymentSetupRequestDto
|
|
46
|
+
*/
|
|
47
|
+
'nonce': 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 });
|
|
@@ -0,0 +1,32 @@
|
|
|
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 { CompleteBraintreePaymentSetupRequestDto } from './complete-braintree-payment-setup-request-dto';
|
|
13
|
+
import { CompleteStripePaymentSetupRequestDto } from './complete-stripe-payment-setup-request-dto';
|
|
14
|
+
/**
|
|
15
|
+
*
|
|
16
|
+
* @export
|
|
17
|
+
* @interface CompletePaymentSetupRequestDto
|
|
18
|
+
*/
|
|
19
|
+
export interface CompletePaymentSetupRequestDto {
|
|
20
|
+
/**
|
|
21
|
+
*
|
|
22
|
+
* @type {CompleteStripePaymentSetupRequestDto}
|
|
23
|
+
* @memberof CompletePaymentSetupRequestDto
|
|
24
|
+
*/
|
|
25
|
+
'stripe'?: CompleteStripePaymentSetupRequestDto;
|
|
26
|
+
/**
|
|
27
|
+
*
|
|
28
|
+
* @type {CompleteBraintreePaymentSetupRequestDto}
|
|
29
|
+
* @memberof CompletePaymentSetupRequestDto
|
|
30
|
+
*/
|
|
31
|
+
'braintree'?: CompleteBraintreePaymentSetupRequestDto;
|
|
32
|
+
}
|
|
@@ -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,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 { PaymentMethodClass } from './payment-method-class';
|
|
13
|
+
/**
|
|
14
|
+
*
|
|
15
|
+
* @export
|
|
16
|
+
* @interface CompletePaymentSetupResponseClass
|
|
17
|
+
*/
|
|
18
|
+
export interface CompletePaymentSetupResponseClass {
|
|
19
|
+
/**
|
|
20
|
+
* The payment method resulting of the completion of the setup.
|
|
21
|
+
* @type {PaymentMethodClass}
|
|
22
|
+
* @memberof CompletePaymentSetupResponseClass
|
|
23
|
+
*/
|
|
24
|
+
'paymentMethod': PaymentMethodClass;
|
|
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,60 @@
|
|
|
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 CompleteStripePaymentSetupRequestDto
|
|
16
|
+
*/
|
|
17
|
+
export interface CompleteStripePaymentSetupRequestDto {
|
|
18
|
+
/**
|
|
19
|
+
* Account email address
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof CompleteStripePaymentSetupRequestDto
|
|
22
|
+
*/
|
|
23
|
+
'email': string;
|
|
24
|
+
/**
|
|
25
|
+
* Account first name
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof CompleteStripePaymentSetupRequestDto
|
|
28
|
+
*/
|
|
29
|
+
'firstName': string;
|
|
30
|
+
/**
|
|
31
|
+
* Account last name
|
|
32
|
+
* @type {string}
|
|
33
|
+
* @memberof CompleteStripePaymentSetupRequestDto
|
|
34
|
+
*/
|
|
35
|
+
'lastName': string;
|
|
36
|
+
/**
|
|
37
|
+
* Lead code
|
|
38
|
+
* @type {string}
|
|
39
|
+
* @memberof CompleteStripePaymentSetupRequestDto
|
|
40
|
+
*/
|
|
41
|
+
'leadCode'?: string;
|
|
42
|
+
/**
|
|
43
|
+
* Unique identifier for the customer on Stripe.
|
|
44
|
+
* @type {string}
|
|
45
|
+
* @memberof CompleteStripePaymentSetupRequestDto
|
|
46
|
+
*/
|
|
47
|
+
'pspCustomerId': string;
|
|
48
|
+
/**
|
|
49
|
+
* Unique identifier for payment method on Stripe.
|
|
50
|
+
* @type {string}
|
|
51
|
+
* @memberof CompleteStripePaymentSetupRequestDto
|
|
52
|
+
*/
|
|
53
|
+
'pspPaymentMethodId'?: string;
|
|
54
|
+
/**
|
|
55
|
+
* The payment method type on Stripe.
|
|
56
|
+
* @type {string}
|
|
57
|
+
* @memberof CompleteStripePaymentSetupRequestDto
|
|
58
|
+
*/
|
|
59
|
+
'paymentMethodType'?: string;
|
|
60
|
+
}
|
|
@@ -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,30 @@
|
|
|
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 CreateBankAccountRequestDto
|
|
16
|
+
*/
|
|
17
|
+
export interface CreateBankAccountRequestDto {
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof CreateBankAccountRequestDto
|
|
22
|
+
*/
|
|
23
|
+
'accountCode': string;
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof CreateBankAccountRequestDto
|
|
28
|
+
*/
|
|
29
|
+
'iban': string;
|
|
30
|
+
}
|
|
@@ -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,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 { PaymentMethodClass } from './payment-method-class';
|
|
13
|
+
/**
|
|
14
|
+
*
|
|
15
|
+
* @export
|
|
16
|
+
* @interface CreatePaymentMethodResponseClass
|
|
17
|
+
*/
|
|
18
|
+
export interface CreatePaymentMethodResponseClass {
|
|
19
|
+
/**
|
|
20
|
+
* The created payment method.
|
|
21
|
+
* @type {PaymentMethodClass}
|
|
22
|
+
* @memberof CreatePaymentMethodResponseClass
|
|
23
|
+
*/
|
|
24
|
+
'paymentMethod': PaymentMethodClass;
|
|
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,65 @@
|
|
|
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 CreatePaymentReminderRequestDto
|
|
16
|
+
*/
|
|
17
|
+
export interface CreatePaymentReminderRequestDto {
|
|
18
|
+
/**
|
|
19
|
+
* Date on which the reminder is triggered.
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof CreatePaymentReminderRequestDto
|
|
22
|
+
*/
|
|
23
|
+
'nextReminderDate': string;
|
|
24
|
+
/**
|
|
25
|
+
* Code referencing the policy for which this reminder is created.
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof CreatePaymentReminderRequestDto
|
|
28
|
+
*/
|
|
29
|
+
'policyCode': string;
|
|
30
|
+
/**
|
|
31
|
+
* Code referencing the account for which this reminder is created.
|
|
32
|
+
* @type {string}
|
|
33
|
+
* @memberof CreatePaymentReminderRequestDto
|
|
34
|
+
*/
|
|
35
|
+
'accountCode': string;
|
|
36
|
+
/**
|
|
37
|
+
* The type of invoice is used to determine the proper workflow.
|
|
38
|
+
* @type {string}
|
|
39
|
+
* @memberof CreatePaymentReminderRequestDto
|
|
40
|
+
*/
|
|
41
|
+
'invoiceType': CreatePaymentReminderRequestDtoInvoiceTypeEnum;
|
|
42
|
+
/**
|
|
43
|
+
* Unique identifier of the payment for which the reminder happened.
|
|
44
|
+
* @type {string}
|
|
45
|
+
* @memberof CreatePaymentReminderRequestDto
|
|
46
|
+
*/
|
|
47
|
+
'paymentCode': string;
|
|
48
|
+
/**
|
|
49
|
+
* The stage of a reminder according to the product definition.
|
|
50
|
+
* @type {number}
|
|
51
|
+
* @memberof CreatePaymentReminderRequestDto
|
|
52
|
+
*/
|
|
53
|
+
'reminderStage': number;
|
|
54
|
+
}
|
|
55
|
+
export declare const CreatePaymentReminderRequestDtoInvoiceTypeEnum: {
|
|
56
|
+
readonly Initial: "initial";
|
|
57
|
+
readonly Recurring: "recurring";
|
|
58
|
+
readonly Correction: "correction";
|
|
59
|
+
readonly Estimated: "estimated";
|
|
60
|
+
readonly Penalty: "penalty";
|
|
61
|
+
readonly Other: "other";
|
|
62
|
+
readonly Withdraw: "withdraw";
|
|
63
|
+
readonly Final: "final";
|
|
64
|
+
};
|
|
65
|
+
export type CreatePaymentReminderRequestDtoInvoiceTypeEnum = typeof CreatePaymentReminderRequestDtoInvoiceTypeEnum[keyof typeof CreatePaymentReminderRequestDtoInvoiceTypeEnum];
|
|
@@ -0,0 +1,26 @@
|
|
|
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 });
|
|
16
|
+
exports.CreatePaymentReminderRequestDtoInvoiceTypeEnum = void 0;
|
|
17
|
+
exports.CreatePaymentReminderRequestDtoInvoiceTypeEnum = {
|
|
18
|
+
Initial: 'initial',
|
|
19
|
+
Recurring: 'recurring',
|
|
20
|
+
Correction: 'correction',
|
|
21
|
+
Estimated: 'estimated',
|
|
22
|
+
Penalty: 'penalty',
|
|
23
|
+
Other: 'other',
|
|
24
|
+
Withdraw: 'withdraw',
|
|
25
|
+
Final: 'final'
|
|
26
|
+
};
|
|
@@ -0,0 +1,72 @@
|
|
|
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 CreatePaymentRequestDto
|
|
16
|
+
*/
|
|
17
|
+
export interface CreatePaymentRequestDto {
|
|
18
|
+
/**
|
|
19
|
+
* User account code associated to that payment.
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof CreatePaymentRequestDto
|
|
22
|
+
*/
|
|
23
|
+
'accountCode': string;
|
|
24
|
+
/**
|
|
25
|
+
* Amount to be paid in cents. 100 to charge 1€.
|
|
26
|
+
* @type {number}
|
|
27
|
+
* @memberof CreatePaymentRequestDto
|
|
28
|
+
*/
|
|
29
|
+
'amount': number;
|
|
30
|
+
/**
|
|
31
|
+
* Currency of the payment. Optional. Default EUR.
|
|
32
|
+
* @type {string}
|
|
33
|
+
* @memberof CreatePaymentRequestDto
|
|
34
|
+
*/
|
|
35
|
+
'currency'?: string;
|
|
36
|
+
/**
|
|
37
|
+
* 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.
|
|
38
|
+
* @type {Array<string>}
|
|
39
|
+
* @memberof CreatePaymentRequestDto
|
|
40
|
+
*/
|
|
41
|
+
'invoiceIds': Array<string>;
|
|
42
|
+
/**
|
|
43
|
+
* Optional field contain extra information.
|
|
44
|
+
* @type {object}
|
|
45
|
+
* @memberof CreatePaymentRequestDto
|
|
46
|
+
*/
|
|
47
|
+
'metadata': object;
|
|
48
|
+
/**
|
|
49
|
+
* A slug is a human-readable, unique identifier, used to identify a resource instead of a less human-readable identifier like an id.
|
|
50
|
+
* @type {string}
|
|
51
|
+
* @memberof CreatePaymentRequestDto
|
|
52
|
+
*/
|
|
53
|
+
'productSlug'?: string;
|
|
54
|
+
/**
|
|
55
|
+
* Optional payment date.
|
|
56
|
+
* @type {string}
|
|
57
|
+
* @memberof CreatePaymentRequestDto
|
|
58
|
+
*/
|
|
59
|
+
'receivedDate'?: string;
|
|
60
|
+
/**
|
|
61
|
+
* Optional reference number.
|
|
62
|
+
* @type {string}
|
|
63
|
+
* @memberof CreatePaymentRequestDto
|
|
64
|
+
*/
|
|
65
|
+
'referenceNumber'?: string;
|
|
66
|
+
/**
|
|
67
|
+
* Optional comment.
|
|
68
|
+
* @type {string}
|
|
69
|
+
* @memberof CreatePaymentRequestDto
|
|
70
|
+
*/
|
|
71
|
+
'comment'?: string;
|
|
72
|
+
}
|
|
@@ -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,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 { PaymentClass } from './payment-class';
|
|
13
|
+
/**
|
|
14
|
+
*
|
|
15
|
+
* @export
|
|
16
|
+
* @interface CreatePaymentResponseClass
|
|
17
|
+
*/
|
|
18
|
+
export interface CreatePaymentResponseClass {
|
|
19
|
+
/**
|
|
20
|
+
* Payment
|
|
21
|
+
* @type {PaymentClass}
|
|
22
|
+
* @memberof CreatePaymentResponseClass
|
|
23
|
+
*/
|
|
24
|
+
'payment': PaymentClass;
|
|
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 });
|