@emilgroup/payment-sdk 1.0.0 → 1.4.1-beta.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 +15 -30
- package/README.md +2 -2
- package/api/bank-accounts-api.ts +21 -25
- package/api/bank-transaction-api.ts +657 -0
- package/api/default-api.ts +1 -1
- package/api/payment-methods-api.ts +42 -46
- package/api/payment-reminders-api.ts +17 -19
- package/api/payment-setup-api.ts +29 -37
- package/api/payments-api.ts +30 -32
- package/api/refunds-api.ts +462 -0
- package/api/tenant-bank-account-api.ts +651 -0
- package/api/webhooks-api.ts +1 -1
- package/api.ts +7 -3
- package/base.ts +2 -1
- package/common.ts +2 -2
- package/configuration.ts +1 -1
- package/dist/api/bank-accounts-api.d.ts +17 -19
- package/dist/api/bank-accounts-api.js +16 -16
- package/dist/api/bank-transaction-api.d.ts +371 -0
- package/dist/api/bank-transaction-api.js +632 -0
- package/dist/api/default-api.d.ts +1 -1
- package/dist/api/default-api.js +1 -1
- package/dist/api/payment-methods-api.d.ts +32 -36
- package/dist/api/payment-methods-api.js +32 -28
- package/dist/api/payment-reminders-api.d.ts +21 -22
- package/dist/api/payment-reminders-api.js +8 -8
- package/dist/api/payment-setup-api.d.ts +19 -23
- package/dist/api/payment-setup-api.js +25 -25
- package/dist/api/payments-api.d.ts +26 -29
- package/dist/api/payments-api.js +20 -16
- package/dist/api/refunds-api.d.ts +260 -0
- package/dist/api/refunds-api.js +443 -0
- package/dist/api/tenant-bank-account-api.d.ts +361 -0
- package/dist/api/tenant-bank-account-api.js +616 -0
- package/dist/api/webhooks-api.d.ts +1 -1
- package/dist/api/webhooks-api.js +1 -1
- package/dist/api.d.ts +4 -2
- package/dist/api.js +4 -2
- package/dist/base.d.ts +1 -1
- package/dist/base.js +2 -1
- package/dist/common.d.ts +2 -2
- package/dist/common.js +1 -1
- 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/bank-transaction-response-class.d.ts +122 -0
- package/dist/models/{bank-account-class.js → bank-transaction-response-class.js} +1 -1
- package/dist/models/create-payment-reminder-request-dto.d.ts +1 -1
- package/dist/models/create-payment-reminder-request-dto.js +1 -1
- package/dist/models/create-payment-request-dto.d.ts +3 -3
- package/dist/models/create-payment-request-dto.js +1 -1
- package/dist/models/{sepa-direct-dto.d.ts → create-refund-request-dto.d.ts} +6 -6
- package/dist/models/{complete-braintree-payment-setup-request-dto.js → create-refund-request-dto.js} +1 -1
- package/dist/models/{validate-pspconfig-response-class.d.ts → create-refund-response-class.d.ts} +8 -7
- package/dist/models/{billing-profile-dto.js → create-refund-response-class.js} +1 -1
- package/dist/models/{billing-profile-limited-response-dto.d.ts → create-tenant-bank-account-request-dto.d.ts} +15 -27
- package/dist/models/{billing-profile-limited-response-dto.js → create-tenant-bank-account-request-dto.js} +1 -1
- package/dist/models/deactivate-payment-reminder-request-dto.d.ts +1 -1
- package/dist/models/deactivate-payment-reminder-request-dto.js +1 -1
- package/dist/models/{get-payment-method-response-class.d.ts → get-bank-transactions-response-class.d.ts} +8 -8
- package/dist/models/get-bank-transactions-response-class.js +15 -0
- package/dist/models/{get-payment-response-class.d.ts → get-refund-response-class.d.ts} +8 -8
- package/dist/models/get-refund-response-class.js +15 -0
- package/dist/models/get-request-dto.d.ts +2 -2
- package/dist/models/get-request-dto.js +1 -1
- package/dist/models/{create-bank-account-request-dto.d.ts → get-tenant-bank-account-response-class.d.ts} +8 -13
- package/dist/models/get-tenant-bank-account-response-class.js +15 -0
- package/dist/models/index.d.ts +12 -29
- package/dist/models/index.js +12 -29
- package/dist/models/inline-response200.d.ts +7 -7
- package/dist/models/inline-response200.js +1 -1
- package/dist/models/inline-response503.d.ts +7 -7
- package/dist/models/inline-response503.js +1 -1
- package/dist/models/{list-payment-methods-response-class.d.ts → list-bank-transactions-response-class.d.ts} +9 -9
- package/dist/models/list-bank-transactions-response-class.js +15 -0
- package/dist/models/{list-payments-response-class.d.ts → list-refunds-response-class.d.ts} +9 -9
- package/dist/models/list-refunds-response-class.js +15 -0
- package/dist/models/refund-class.d.ts +104 -0
- package/dist/models/refund-class.js +28 -0
- package/dist/models/{payment-method-class.d.ts → tenant-bank-account-response-class.d.ts} +25 -19
- package/dist/models/tenant-bank-account-response-class.js +15 -0
- package/dist/models/transaction-class.d.ts +1 -1
- package/dist/models/transaction-class.js +1 -1
- package/dist/models/{symphony-profile-limited-response-dto.d.ts → update-tenant-bank-account-rest-request-dto.d.ts} +12 -18
- package/dist/models/update-tenant-bank-account-rest-request-dto.js +15 -0
- package/dist/models/validate-pspconfig-request-dto.d.ts +2 -9
- package/dist/models/validate-pspconfig-request-dto.js +1 -8
- package/git_push.sh +1 -1
- package/index.ts +1 -1
- package/models/bank-transaction-response-class.ts +128 -0
- package/models/create-payment-reminder-request-dto.ts +1 -1
- package/models/create-payment-request-dto.ts +3 -3
- package/models/{sepa-direct-dto.ts → create-refund-request-dto.ts} +6 -6
- package/models/{validate-pspconfig-response-class.ts → create-refund-response-class.ts} +8 -7
- package/models/{billing-profile-limited-response-dto.ts → create-tenant-bank-account-request-dto.ts} +15 -27
- package/models/deactivate-payment-reminder-request-dto.ts +1 -1
- package/models/{get-payment-method-response-class.ts → get-bank-transactions-response-class.ts} +8 -8
- package/models/{get-payment-response-class.ts → get-refund-response-class.ts} +8 -8
- package/models/get-request-dto.ts +2 -2
- package/models/{create-bank-account-request-dto.ts → get-tenant-bank-account-response-class.ts} +8 -13
- package/models/index.ts +12 -29
- package/models/inline-response200.ts +7 -7
- package/models/inline-response503.ts +7 -7
- package/models/{list-payment-methods-response-class.ts → list-bank-transactions-response-class.ts} +9 -9
- package/models/{list-payments-response-class.ts → list-refunds-response-class.ts} +9 -9
- package/models/refund-class.ts +114 -0
- package/models/{payment-method-class.ts → tenant-bank-account-response-class.ts} +25 -19
- package/models/transaction-class.ts +1 -1
- package/models/{symphony-profile-limited-response-dto.ts → update-tenant-bank-account-rest-request-dto.ts} +12 -18
- package/models/validate-pspconfig-request-dto.ts +2 -12
- package/package.json +1 -2
- package/api/payment-service-providers-api.ts +0 -161
- package/dist/api/payment-service-providers-api.d.ts +0 -93
- package/dist/api/payment-service-providers-api.js +0 -220
- package/dist/models/bank-account-class.d.ts +0 -54
- package/dist/models/billing-profile-dto.d.ts +0 -38
- package/dist/models/complete-braintree-payment-setup-request-dto.d.ts +0 -48
- package/dist/models/complete-payment-setup-request-dto.d.ts +0 -32
- package/dist/models/complete-payment-setup-request-dto.js +0 -15
- package/dist/models/complete-payment-setup-response-class.d.ts +0 -25
- package/dist/models/complete-payment-setup-response-class.js +0 -15
- package/dist/models/complete-stripe-payment-setup-request-dto.d.ts +0 -60
- package/dist/models/complete-stripe-payment-setup-request-dto.js +0 -15
- package/dist/models/create-bank-account-request-dto.js +0 -15
- package/dist/models/create-payment-method-response-class.d.ts +0 -25
- package/dist/models/create-payment-method-response-class.js +0 -15
- package/dist/models/create-payment-response-class.d.ts +0 -25
- package/dist/models/create-payment-response-class.js +0 -15
- package/dist/models/create-psp-payment-method-request-dto.d.ts +0 -61
- package/dist/models/create-psp-payment-method-request-dto.js +0 -32
- package/dist/models/get-payment-method-response-class.js +0 -15
- package/dist/models/get-payment-response-class.js +0 -15
- package/dist/models/initiate-braintree-payment-setup-request-dto.d.ts +0 -30
- package/dist/models/initiate-braintree-payment-setup-request-dto.js +0 -15
- package/dist/models/initiate-braintree-payment-setup-response-class.d.ts +0 -24
- package/dist/models/initiate-braintree-payment-setup-response-class.js +0 -15
- package/dist/models/initiate-payment-setup-request-dto.d.ts +0 -44
- package/dist/models/initiate-payment-setup-request-dto.js +0 -15
- package/dist/models/initiate-payment-setup-response-class.d.ts +0 -32
- package/dist/models/initiate-payment-setup-response-class.js +0 -15
- package/dist/models/initiate-stripe-payment-setup-request-dto.d.ts +0 -30
- package/dist/models/initiate-stripe-payment-setup-request-dto.js +0 -15
- package/dist/models/initiate-stripe-payment-setup-response-class.d.ts +0 -30
- package/dist/models/initiate-stripe-payment-setup-response-class.js +0 -15
- package/dist/models/list-bank-accounts-response-class.d.ts +0 -31
- package/dist/models/list-bank-accounts-response-class.js +0 -15
- package/dist/models/list-payment-methods-response-class.js +0 -15
- package/dist/models/list-payment-reminders-response-class.d.ts +0 -31
- package/dist/models/list-payment-reminders-response-class.js +0 -15
- package/dist/models/list-payments-response-class.js +0 -15
- package/dist/models/payment-class.d.ts +0 -103
- package/dist/models/payment-class.js +0 -15
- package/dist/models/payment-method-class.js +0 -15
- package/dist/models/payment-reminder-class.d.ts +0 -112
- package/dist/models/payment-reminder-class.js +0 -36
- package/dist/models/sepa-direct-dto.js +0 -15
- package/dist/models/symphony-profile-limited-response-dto.js +0 -15
- package/dist/models/validate-pspconfig-response-class.js +0 -15
- package/models/bank-account-class.ts +0 -60
- package/models/billing-profile-dto.ts +0 -44
- package/models/complete-braintree-payment-setup-request-dto.ts +0 -54
- package/models/complete-payment-setup-request-dto.ts +0 -38
- package/models/complete-payment-setup-response-class.ts +0 -31
- package/models/complete-stripe-payment-setup-request-dto.ts +0 -66
- package/models/create-payment-method-response-class.ts +0 -31
- package/models/create-payment-response-class.ts +0 -31
- package/models/create-psp-payment-method-request-dto.ts +0 -70
- package/models/initiate-braintree-payment-setup-request-dto.ts +0 -36
- package/models/initiate-braintree-payment-setup-response-class.ts +0 -30
- package/models/initiate-payment-setup-request-dto.ts +0 -50
- package/models/initiate-payment-setup-response-class.ts +0 -38
- package/models/initiate-stripe-payment-setup-request-dto.ts +0 -36
- package/models/initiate-stripe-payment-setup-response-class.ts +0 -36
- package/models/list-bank-accounts-response-class.ts +0 -37
- package/models/list-payment-reminders-response-class.ts +0 -37
- package/models/payment-class.ts +0 -109
- package/models/payment-reminder-class.ts +0 -122
|
@@ -1,31 +0,0 @@
|
|
|
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 { PaymentClass } from './payment-class';
|
|
17
|
-
|
|
18
|
-
/**
|
|
19
|
-
*
|
|
20
|
-
* @export
|
|
21
|
-
* @interface CreatePaymentResponseClass
|
|
22
|
-
*/
|
|
23
|
-
export interface CreatePaymentResponseClass {
|
|
24
|
-
/**
|
|
25
|
-
* Payment
|
|
26
|
-
* @type {PaymentClass}
|
|
27
|
-
* @memberof CreatePaymentResponseClass
|
|
28
|
-
*/
|
|
29
|
-
'payment': PaymentClass;
|
|
30
|
-
}
|
|
31
|
-
|
|
@@ -1,70 +0,0 @@
|
|
|
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 { BillingProfileDto } from './billing-profile-dto';
|
|
17
|
-
import { SepaDirectDto } from './sepa-direct-dto';
|
|
18
|
-
|
|
19
|
-
/**
|
|
20
|
-
*
|
|
21
|
-
* @export
|
|
22
|
-
* @interface CreatePspPaymentMethodRequestDto
|
|
23
|
-
*/
|
|
24
|
-
export interface CreatePspPaymentMethodRequestDto {
|
|
25
|
-
/**
|
|
26
|
-
*
|
|
27
|
-
* @type {string}
|
|
28
|
-
* @memberof CreatePspPaymentMethodRequestDto
|
|
29
|
-
*/
|
|
30
|
-
'type': CreatePspPaymentMethodRequestDtoTypeEnum;
|
|
31
|
-
/**
|
|
32
|
-
*
|
|
33
|
-
* @type {string}
|
|
34
|
-
* @memberof CreatePspPaymentMethodRequestDto
|
|
35
|
-
*/
|
|
36
|
-
'accountCode': string;
|
|
37
|
-
/**
|
|
38
|
-
*
|
|
39
|
-
* @type {SepaDirectDto}
|
|
40
|
-
* @memberof CreatePspPaymentMethodRequestDto
|
|
41
|
-
*/
|
|
42
|
-
'sepaDebit'?: SepaDirectDto;
|
|
43
|
-
/**
|
|
44
|
-
*
|
|
45
|
-
* @type {BillingProfileDto}
|
|
46
|
-
* @memberof CreatePspPaymentMethodRequestDto
|
|
47
|
-
*/
|
|
48
|
-
'billingProfile'?: BillingProfileDto;
|
|
49
|
-
}
|
|
50
|
-
|
|
51
|
-
export const CreatePspPaymentMethodRequestDtoTypeEnum = {
|
|
52
|
-
Paypal: 'paypal',
|
|
53
|
-
CreditCard: 'credit_card',
|
|
54
|
-
SepaDebit: 'sepa_debit',
|
|
55
|
-
Sofort: 'sofort',
|
|
56
|
-
Card: 'card',
|
|
57
|
-
Giropay: 'giropay',
|
|
58
|
-
Klarna: 'klarna',
|
|
59
|
-
Visa: 'visa',
|
|
60
|
-
ApplePay: 'apple_pay',
|
|
61
|
-
AndroidPay: 'android_pay',
|
|
62
|
-
SamsungPay: 'samsung_pay',
|
|
63
|
-
Venmo: 'venmo',
|
|
64
|
-
Masterpass: 'masterpass',
|
|
65
|
-
B4u: 'b4u'
|
|
66
|
-
} as const;
|
|
67
|
-
|
|
68
|
-
export type CreatePspPaymentMethodRequestDtoTypeEnum = typeof CreatePspPaymentMethodRequestDtoTypeEnum[keyof typeof CreatePspPaymentMethodRequestDtoTypeEnum];
|
|
69
|
-
|
|
70
|
-
|
|
@@ -1,36 +0,0 @@
|
|
|
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 InitiateBraintreePaymentSetupRequestDto
|
|
21
|
-
*/
|
|
22
|
-
export interface InitiateBraintreePaymentSetupRequestDto {
|
|
23
|
-
/**
|
|
24
|
-
* Lead code.
|
|
25
|
-
* @type {string}
|
|
26
|
-
* @memberof InitiateBraintreePaymentSetupRequestDto
|
|
27
|
-
*/
|
|
28
|
-
'leadCode'?: string;
|
|
29
|
-
/**
|
|
30
|
-
* Account code.
|
|
31
|
-
* @type {string}
|
|
32
|
-
* @memberof InitiateBraintreePaymentSetupRequestDto
|
|
33
|
-
*/
|
|
34
|
-
'accountCode'?: string;
|
|
35
|
-
}
|
|
36
|
-
|
|
@@ -1,30 +0,0 @@
|
|
|
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 InitiateBraintreePaymentSetupResponseClass
|
|
21
|
-
*/
|
|
22
|
-
export interface InitiateBraintreePaymentSetupResponseClass {
|
|
23
|
-
/**
|
|
24
|
-
* Identifier used by the PSP to create a payment method.
|
|
25
|
-
* @type {string}
|
|
26
|
-
* @memberof InitiateBraintreePaymentSetupResponseClass
|
|
27
|
-
*/
|
|
28
|
-
'pspSecretToken': string;
|
|
29
|
-
}
|
|
30
|
-
|
|
@@ -1,50 +0,0 @@
|
|
|
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 { InitiateBraintreePaymentSetupRequestDto } from './initiate-braintree-payment-setup-request-dto';
|
|
17
|
-
import { InitiateStripePaymentSetupRequestDto } from './initiate-stripe-payment-setup-request-dto';
|
|
18
|
-
|
|
19
|
-
/**
|
|
20
|
-
*
|
|
21
|
-
* @export
|
|
22
|
-
* @interface InitiatePaymentSetupRequestDto
|
|
23
|
-
*/
|
|
24
|
-
export interface InitiatePaymentSetupRequestDto {
|
|
25
|
-
/**
|
|
26
|
-
*
|
|
27
|
-
* @type {InitiateStripePaymentSetupRequestDto}
|
|
28
|
-
* @memberof InitiatePaymentSetupRequestDto
|
|
29
|
-
*/
|
|
30
|
-
'stripe'?: InitiateStripePaymentSetupRequestDto;
|
|
31
|
-
/**
|
|
32
|
-
*
|
|
33
|
-
* @type {InitiateBraintreePaymentSetupRequestDto}
|
|
34
|
-
* @memberof InitiatePaymentSetupRequestDto
|
|
35
|
-
*/
|
|
36
|
-
'braintree'?: InitiateBraintreePaymentSetupRequestDto;
|
|
37
|
-
/**
|
|
38
|
-
*
|
|
39
|
-
* @type {object}
|
|
40
|
-
* @memberof InitiatePaymentSetupRequestDto
|
|
41
|
-
*/
|
|
42
|
-
'b4u'?: object;
|
|
43
|
-
/**
|
|
44
|
-
*
|
|
45
|
-
* @type {object}
|
|
46
|
-
* @memberof InitiatePaymentSetupRequestDto
|
|
47
|
-
*/
|
|
48
|
-
'eis'?: object;
|
|
49
|
-
}
|
|
50
|
-
|
|
@@ -1,38 +0,0 @@
|
|
|
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 { InitiateBraintreePaymentSetupResponseClass } from './initiate-braintree-payment-setup-response-class';
|
|
17
|
-
import { InitiateStripePaymentSetupResponseClass } from './initiate-stripe-payment-setup-response-class';
|
|
18
|
-
|
|
19
|
-
/**
|
|
20
|
-
*
|
|
21
|
-
* @export
|
|
22
|
-
* @interface InitiatePaymentSetupResponseClass
|
|
23
|
-
*/
|
|
24
|
-
export interface InitiatePaymentSetupResponseClass {
|
|
25
|
-
/**
|
|
26
|
-
* The stripe response after creating the setup intent.
|
|
27
|
-
* @type {InitiateStripePaymentSetupResponseClass}
|
|
28
|
-
* @memberof InitiatePaymentSetupResponseClass
|
|
29
|
-
*/
|
|
30
|
-
'stripe': InitiateStripePaymentSetupResponseClass;
|
|
31
|
-
/**
|
|
32
|
-
* Braintree response after generating client token.
|
|
33
|
-
* @type {InitiateBraintreePaymentSetupResponseClass}
|
|
34
|
-
* @memberof InitiatePaymentSetupResponseClass
|
|
35
|
-
*/
|
|
36
|
-
'braintree': InitiateBraintreePaymentSetupResponseClass;
|
|
37
|
-
}
|
|
38
|
-
|
|
@@ -1,36 +0,0 @@
|
|
|
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 InitiateStripePaymentSetupRequestDto
|
|
21
|
-
*/
|
|
22
|
-
export interface InitiateStripePaymentSetupRequestDto {
|
|
23
|
-
/**
|
|
24
|
-
* Lead code.
|
|
25
|
-
* @type {string}
|
|
26
|
-
* @memberof InitiateStripePaymentSetupRequestDto
|
|
27
|
-
*/
|
|
28
|
-
'leadCode'?: string;
|
|
29
|
-
/**
|
|
30
|
-
* Account code.
|
|
31
|
-
* @type {string}
|
|
32
|
-
* @memberof InitiateStripePaymentSetupRequestDto
|
|
33
|
-
*/
|
|
34
|
-
'accountCode'?: string;
|
|
35
|
-
}
|
|
36
|
-
|
|
@@ -1,36 +0,0 @@
|
|
|
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 InitiateStripePaymentSetupResponseClass
|
|
21
|
-
*/
|
|
22
|
-
export interface InitiateStripePaymentSetupResponseClass {
|
|
23
|
-
/**
|
|
24
|
-
* Identifier used by the payment service provider to create a payment method.
|
|
25
|
-
* @type {string}
|
|
26
|
-
* @memberof InitiateStripePaymentSetupResponseClass
|
|
27
|
-
*/
|
|
28
|
-
'pspSecretToken': string;
|
|
29
|
-
/**
|
|
30
|
-
* Customer identifier for the payment service provider.
|
|
31
|
-
* @type {string}
|
|
32
|
-
* @memberof InitiateStripePaymentSetupResponseClass
|
|
33
|
-
*/
|
|
34
|
-
'pspCustomerId': string;
|
|
35
|
-
}
|
|
36
|
-
|
|
@@ -1,37 +0,0 @@
|
|
|
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
|
-
|
|
@@ -1,37 +0,0 @@
|
|
|
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
|
-
|
package/models/payment-class.ts
DELETED
|
@@ -1,109 +0,0 @@
|
|
|
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 { TransactionClass } from './transaction-class';
|
|
17
|
-
|
|
18
|
-
/**
|
|
19
|
-
*
|
|
20
|
-
* @export
|
|
21
|
-
* @interface PaymentClass
|
|
22
|
-
*/
|
|
23
|
-
export interface PaymentClass {
|
|
24
|
-
/**
|
|
25
|
-
* Internal unique identifier for the object. You should not have to use this, use code instead.
|
|
26
|
-
* @type {number}
|
|
27
|
-
* @memberof PaymentClass
|
|
28
|
-
*/
|
|
29
|
-
'id': number;
|
|
30
|
-
/**
|
|
31
|
-
* Unique identifier for the object.
|
|
32
|
-
* @type {string}
|
|
33
|
-
* @memberof PaymentClass
|
|
34
|
-
*/
|
|
35
|
-
'code': string;
|
|
36
|
-
/**
|
|
37
|
-
* Payment Service Provider with which the payment is done.
|
|
38
|
-
* @type {string}
|
|
39
|
-
* @memberof PaymentClass
|
|
40
|
-
*/
|
|
41
|
-
'psp': string;
|
|
42
|
-
/**
|
|
43
|
-
* User account code associated to that payment.
|
|
44
|
-
* @type {string}
|
|
45
|
-
* @memberof PaymentClass
|
|
46
|
-
*/
|
|
47
|
-
'accountCode': string;
|
|
48
|
-
/**
|
|
49
|
-
* Amount to be paid in cents. 100 to charge 1€.
|
|
50
|
-
* @type {number}
|
|
51
|
-
* @memberof PaymentClass
|
|
52
|
-
*/
|
|
53
|
-
'amount': number;
|
|
54
|
-
/**
|
|
55
|
-
* 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.
|
|
56
|
-
* @type {Array<string>}
|
|
57
|
-
* @memberof PaymentClass
|
|
58
|
-
*/
|
|
59
|
-
'invoiceIds': Array<string>;
|
|
60
|
-
/**
|
|
61
|
-
* Time at which the object was created.
|
|
62
|
-
* @type {string}
|
|
63
|
-
* @memberof PaymentClass
|
|
64
|
-
*/
|
|
65
|
-
'createdAt': string;
|
|
66
|
-
/**
|
|
67
|
-
* Transactions referenced by this payment.
|
|
68
|
-
* @type {Array<TransactionClass>}
|
|
69
|
-
* @memberof PaymentClass
|
|
70
|
-
*/
|
|
71
|
-
'transactions'?: Array<TransactionClass>;
|
|
72
|
-
/**
|
|
73
|
-
* Optional field contain extra information.
|
|
74
|
-
* @type {object}
|
|
75
|
-
* @memberof PaymentClass
|
|
76
|
-
*/
|
|
77
|
-
'metadata': object;
|
|
78
|
-
/**
|
|
79
|
-
* A slug is a human-readable, unique identifier, used to identify a resource instead of a less human-readable identifier like an id.
|
|
80
|
-
* @type {string}
|
|
81
|
-
* @memberof PaymentClass
|
|
82
|
-
*/
|
|
83
|
-
'productSlug'?: string;
|
|
84
|
-
/**
|
|
85
|
-
* User who created the payment.
|
|
86
|
-
* @type {string}
|
|
87
|
-
* @memberof PaymentClass
|
|
88
|
-
*/
|
|
89
|
-
'createdBy': string;
|
|
90
|
-
/**
|
|
91
|
-
* Time at which the payment was actually received.
|
|
92
|
-
* @type {string}
|
|
93
|
-
* @memberof PaymentClass
|
|
94
|
-
*/
|
|
95
|
-
'receivedDate': string;
|
|
96
|
-
/**
|
|
97
|
-
* Reference number of the payment.
|
|
98
|
-
* @type {string}
|
|
99
|
-
* @memberof PaymentClass
|
|
100
|
-
*/
|
|
101
|
-
'referenceNumber'?: string;
|
|
102
|
-
/**
|
|
103
|
-
* Comment on this payment
|
|
104
|
-
* @type {string}
|
|
105
|
-
* @memberof PaymentClass
|
|
106
|
-
*/
|
|
107
|
-
'comment'?: string;
|
|
108
|
-
}
|
|
109
|
-
|
|
@@ -1,122 +0,0 @@
|
|
|
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 PaymentReminderClass
|
|
21
|
-
*/
|
|
22
|
-
export interface PaymentReminderClass {
|
|
23
|
-
/**
|
|
24
|
-
* Internal unique identifier for the object. You should not have to use this, use code instead.
|
|
25
|
-
* @type {number}
|
|
26
|
-
* @memberof PaymentReminderClass
|
|
27
|
-
*/
|
|
28
|
-
'id': number;
|
|
29
|
-
/**
|
|
30
|
-
* Unique identifier for the object.
|
|
31
|
-
* @type {string}
|
|
32
|
-
* @memberof PaymentReminderClass
|
|
33
|
-
*/
|
|
34
|
-
'code': string;
|
|
35
|
-
/**
|
|
36
|
-
* Unique identifier of related policy.
|
|
37
|
-
* @type {string}
|
|
38
|
-
* @memberof PaymentReminderClass
|
|
39
|
-
*/
|
|
40
|
-
'policyCode': string;
|
|
41
|
-
/**
|
|
42
|
-
* Unique identifier of related account.
|
|
43
|
-
* @type {string}
|
|
44
|
-
* @memberof PaymentReminderClass
|
|
45
|
-
*/
|
|
46
|
-
'accountCode': string;
|
|
47
|
-
/**
|
|
48
|
-
* Type of the invoice
|
|
49
|
-
* @type {string}
|
|
50
|
-
* @memberof PaymentReminderClass
|
|
51
|
-
*/
|
|
52
|
-
'invoiceType': PaymentReminderClassInvoiceTypeEnum;
|
|
53
|
-
/**
|
|
54
|
-
* Unique identifier of the payment for which the reminder happened.
|
|
55
|
-
* @type {string}
|
|
56
|
-
* @memberof PaymentReminderClass
|
|
57
|
-
*/
|
|
58
|
-
'paymentCode': PaymentReminderClassPaymentCodeEnum;
|
|
59
|
-
/**
|
|
60
|
-
* The stage of the reminder.
|
|
61
|
-
* @type {number}
|
|
62
|
-
* @memberof PaymentReminderClass
|
|
63
|
-
*/
|
|
64
|
-
'reminderStage': number;
|
|
65
|
-
/**
|
|
66
|
-
* True if the reminder should be triggered on the next reminder date.
|
|
67
|
-
* @type {boolean}
|
|
68
|
-
* @memberof PaymentReminderClass
|
|
69
|
-
*/
|
|
70
|
-
'isActive': boolean;
|
|
71
|
-
/**
|
|
72
|
-
* When a reminder is set to inactive, a reason must be given.
|
|
73
|
-
* @type {string}
|
|
74
|
-
* @memberof PaymentReminderClass
|
|
75
|
-
*/
|
|
76
|
-
'updateReason': string;
|
|
77
|
-
/**
|
|
78
|
-
* Next date at which the reminder should be sent.
|
|
79
|
-
* @type {string}
|
|
80
|
-
* @memberof PaymentReminderClass
|
|
81
|
-
*/
|
|
82
|
-
'nextReminderDate': string;
|
|
83
|
-
/**
|
|
84
|
-
* Time at which the object was created.
|
|
85
|
-
* @type {string}
|
|
86
|
-
* @memberof PaymentReminderClass
|
|
87
|
-
*/
|
|
88
|
-
'createdAt': string;
|
|
89
|
-
/**
|
|
90
|
-
* Time at which the object was updated.
|
|
91
|
-
* @type {string}
|
|
92
|
-
* @memberof PaymentReminderClass
|
|
93
|
-
*/
|
|
94
|
-
'updatedAt': string;
|
|
95
|
-
}
|
|
96
|
-
|
|
97
|
-
export const PaymentReminderClassInvoiceTypeEnum = {
|
|
98
|
-
Initial: 'initial',
|
|
99
|
-
Recurring: 'recurring',
|
|
100
|
-
Correction: 'correction',
|
|
101
|
-
Estimated: 'estimated',
|
|
102
|
-
Penalty: 'penalty',
|
|
103
|
-
Other: 'other',
|
|
104
|
-
Withdraw: 'withdraw',
|
|
105
|
-
Final: 'final'
|
|
106
|
-
} as const;
|
|
107
|
-
|
|
108
|
-
export type PaymentReminderClassInvoiceTypeEnum = typeof PaymentReminderClassInvoiceTypeEnum[keyof typeof PaymentReminderClassInvoiceTypeEnum];
|
|
109
|
-
export const PaymentReminderClassPaymentCodeEnum = {
|
|
110
|
-
Initial: 'initial',
|
|
111
|
-
Recurring: 'recurring',
|
|
112
|
-
Correction: 'correction',
|
|
113
|
-
Estimated: 'estimated',
|
|
114
|
-
Penalty: 'penalty',
|
|
115
|
-
Other: 'other',
|
|
116
|
-
Withdraw: 'withdraw',
|
|
117
|
-
Final: 'final'
|
|
118
|
-
} as const;
|
|
119
|
-
|
|
120
|
-
export type PaymentReminderClassPaymentCodeEnum = typeof PaymentReminderClassPaymentCodeEnum[keyof typeof PaymentReminderClassPaymentCodeEnum];
|
|
121
|
-
|
|
122
|
-
|