@emilgroup/payment-sdk 1.4.1-beta.6 → 1.4.1-beta.7

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.
Files changed (119) hide show
  1. package/.openapi-generator/FILES +29 -0
  2. package/README.md +2 -2
  3. package/api/bank-accounts-api.ts +20 -16
  4. package/api/bank-transaction-api.ts +2 -2
  5. package/api/payment-methods-api.ts +41 -37
  6. package/api/payment-reminders-api.ts +12 -8
  7. package/api/payment-setup-api.ts +36 -28
  8. package/api/payments-api.ts +27 -25
  9. package/api/refunds-api.ts +13 -15
  10. package/dist/api/bank-accounts-api.d.ts +14 -12
  11. package/dist/api/bank-accounts-api.js +12 -12
  12. package/dist/api/bank-transaction-api.d.ts +3 -3
  13. package/dist/api/payment-methods-api.d.ts +31 -27
  14. package/dist/api/payment-methods-api.js +24 -28
  15. package/dist/api/payment-reminders-api.d.ts +14 -12
  16. package/dist/api/payment-setup-api.d.ts +22 -18
  17. package/dist/api/payment-setup-api.js +24 -24
  18. package/dist/api/payments-api.d.ts +24 -21
  19. package/dist/api/payments-api.js +12 -16
  20. package/dist/api/refunds-api.d.ts +10 -10
  21. package/dist/api/refunds-api.js +9 -11
  22. package/dist/models/bank-account-class.d.ts +54 -0
  23. package/dist/models/bank-account-class.js +15 -0
  24. package/dist/models/billing-profile-dto.d.ts +38 -0
  25. package/dist/models/billing-profile-dto.js +15 -0
  26. package/dist/models/billing-profile-limited-response-dto.d.ts +54 -0
  27. package/dist/models/billing-profile-limited-response-dto.js +15 -0
  28. package/dist/models/complete-braintree-payment-setup-request-dto.d.ts +48 -0
  29. package/dist/models/complete-braintree-payment-setup-request-dto.js +15 -0
  30. package/dist/models/complete-payment-setup-request-dto.d.ts +32 -0
  31. package/dist/models/complete-payment-setup-request-dto.js +15 -0
  32. package/dist/models/complete-payment-setup-response-class.d.ts +25 -0
  33. package/dist/models/complete-payment-setup-response-class.js +15 -0
  34. package/dist/models/complete-stripe-payment-setup-request-dto.d.ts +60 -0
  35. package/dist/models/complete-stripe-payment-setup-request-dto.js +15 -0
  36. package/dist/models/create-bank-account-request-dto.d.ts +30 -0
  37. package/dist/models/create-bank-account-request-dto.js +15 -0
  38. package/dist/models/create-payment-method-response-class.d.ts +25 -0
  39. package/dist/models/create-payment-method-response-class.js +15 -0
  40. package/dist/models/create-payment-request-dto.d.ts +3 -3
  41. package/dist/models/create-payment-response-class.d.ts +25 -0
  42. package/dist/models/create-payment-response-class.js +15 -0
  43. package/dist/models/create-psp-payment-method-request-dto.d.ts +61 -0
  44. package/dist/models/create-psp-payment-method-request-dto.js +32 -0
  45. package/dist/models/deactivate-payment-reminder-response-class.d.ts +25 -0
  46. package/dist/models/deactivate-payment-reminder-response-class.js +15 -0
  47. package/dist/models/get-payment-method-response-class.d.ts +25 -0
  48. package/dist/models/get-payment-method-response-class.js +15 -0
  49. package/dist/models/get-payment-response-class.d.ts +25 -0
  50. package/dist/models/get-payment-response-class.js +15 -0
  51. package/dist/models/get-request-dto.d.ts +1 -1
  52. package/dist/models/index.d.ts +29 -0
  53. package/dist/models/index.js +29 -0
  54. package/dist/models/initiate-braintree-payment-setup-request-dto.d.ts +30 -0
  55. package/dist/models/initiate-braintree-payment-setup-request-dto.js +15 -0
  56. package/dist/models/initiate-braintree-payment-setup-response-class.d.ts +24 -0
  57. package/dist/models/initiate-braintree-payment-setup-response-class.js +15 -0
  58. package/dist/models/initiate-payment-setup-request-dto.d.ts +44 -0
  59. package/dist/models/initiate-payment-setup-request-dto.js +15 -0
  60. package/dist/models/initiate-payment-setup-response-class.d.ts +32 -0
  61. package/dist/models/initiate-payment-setup-response-class.js +15 -0
  62. package/dist/models/initiate-stripe-payment-setup-request-dto.d.ts +30 -0
  63. package/dist/models/initiate-stripe-payment-setup-request-dto.js +15 -0
  64. package/dist/models/initiate-stripe-payment-setup-response-class.d.ts +30 -0
  65. package/dist/models/initiate-stripe-payment-setup-response-class.js +15 -0
  66. package/dist/models/list-bank-accounts-response-class.d.ts +31 -0
  67. package/dist/models/list-bank-accounts-response-class.js +15 -0
  68. package/dist/models/list-payment-methods-response-class.d.ts +31 -0
  69. package/dist/models/list-payment-methods-response-class.js +15 -0
  70. package/dist/models/list-payment-reminders-response-class.d.ts +31 -0
  71. package/dist/models/list-payment-reminders-response-class.js +15 -0
  72. package/dist/models/list-payments-response-class.d.ts +31 -0
  73. package/dist/models/list-payments-response-class.js +15 -0
  74. package/dist/models/payment-class.d.ts +103 -0
  75. package/dist/models/payment-class.js +15 -0
  76. package/dist/models/payment-method-class.d.ts +66 -0
  77. package/dist/models/payment-method-class.js +15 -0
  78. package/dist/models/payment-reminder-class.d.ts +112 -0
  79. package/dist/models/payment-reminder-class.js +36 -0
  80. package/dist/models/sepa-direct-dto.d.ts +24 -0
  81. package/dist/models/sepa-direct-dto.js +15 -0
  82. package/dist/models/symphony-profile-limited-response-dto.d.ts +42 -0
  83. package/dist/models/symphony-profile-limited-response-dto.js +15 -0
  84. package/dist/models/validate-pspconfig-request-dto.d.ts +8 -1
  85. package/dist/models/validate-pspconfig-request-dto.js +7 -0
  86. package/models/bank-account-class.ts +60 -0
  87. package/models/billing-profile-dto.ts +44 -0
  88. package/models/billing-profile-limited-response-dto.ts +60 -0
  89. package/models/complete-braintree-payment-setup-request-dto.ts +54 -0
  90. package/models/complete-payment-setup-request-dto.ts +38 -0
  91. package/models/complete-payment-setup-response-class.ts +31 -0
  92. package/models/complete-stripe-payment-setup-request-dto.ts +66 -0
  93. package/models/create-bank-account-request-dto.ts +36 -0
  94. package/models/create-payment-method-response-class.ts +31 -0
  95. package/models/create-payment-request-dto.ts +3 -3
  96. package/models/create-payment-response-class.ts +31 -0
  97. package/models/create-psp-payment-method-request-dto.ts +70 -0
  98. package/models/deactivate-payment-reminder-response-class.ts +31 -0
  99. package/models/get-payment-method-response-class.ts +31 -0
  100. package/models/get-payment-response-class.ts +31 -0
  101. package/models/get-request-dto.ts +1 -1
  102. package/models/index.ts +29 -0
  103. package/models/initiate-braintree-payment-setup-request-dto.ts +36 -0
  104. package/models/initiate-braintree-payment-setup-response-class.ts +30 -0
  105. package/models/initiate-payment-setup-request-dto.ts +50 -0
  106. package/models/initiate-payment-setup-response-class.ts +38 -0
  107. package/models/initiate-stripe-payment-setup-request-dto.ts +36 -0
  108. package/models/initiate-stripe-payment-setup-response-class.ts +36 -0
  109. package/models/list-bank-accounts-response-class.ts +37 -0
  110. package/models/list-payment-methods-response-class.ts +37 -0
  111. package/models/list-payment-reminders-response-class.ts +37 -0
  112. package/models/list-payments-response-class.ts +37 -0
  113. package/models/payment-class.ts +109 -0
  114. package/models/payment-method-class.ts +72 -0
  115. package/models/payment-reminder-class.ts +122 -0
  116. package/models/sepa-direct-dto.ts +30 -0
  117. package/models/symphony-profile-limited-response-dto.ts +48 -0
  118. package/models/validate-pspconfig-request-dto.ts +11 -1
  119. package/package.json +1 -1
@@ -0,0 +1,54 @@
1
+ /* tslint:disable */
2
+ /* eslint-disable */
3
+ /**
4
+ * Emil Payment Service
5
+ * This service directly communicates with the various Payment Service Providers (PSPs) in order to charge or refund customers. This service will automatically connect to the PSP linked in your admin configuration; meaning if you configured Stripe, it will automatically create a payment on Stripe when you create it in Emil.
6
+ *
7
+ * The version of the OpenAPI document: 1.0
8
+ * Contact: kontakt@emil.de
9
+ *
10
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
+ * https://openapi-generator.tech
12
+ * Do not edit the class manually.
13
+ */
14
+
15
+
16
+
17
+ /**
18
+ *
19
+ * @export
20
+ * @interface CompleteBraintreePaymentSetupRequestDto
21
+ */
22
+ export interface CompleteBraintreePaymentSetupRequestDto {
23
+ /**
24
+ * Account email address
25
+ * @type {string}
26
+ * @memberof CompleteBraintreePaymentSetupRequestDto
27
+ */
28
+ 'email': string;
29
+ /**
30
+ * Account first name
31
+ * @type {string}
32
+ * @memberof CompleteBraintreePaymentSetupRequestDto
33
+ */
34
+ 'firstName': string;
35
+ /**
36
+ * Account last name
37
+ * @type {string}
38
+ * @memberof CompleteBraintreePaymentSetupRequestDto
39
+ */
40
+ 'lastName': string;
41
+ /**
42
+ * Lead code
43
+ * @type {string}
44
+ * @memberof CompleteBraintreePaymentSetupRequestDto
45
+ */
46
+ 'leadCode': string;
47
+ /**
48
+ * Braintree nonce generated by the client through the frontend component.
49
+ * @type {string}
50
+ * @memberof CompleteBraintreePaymentSetupRequestDto
51
+ */
52
+ 'nonce': string;
53
+ }
54
+
@@ -0,0 +1,38 @@
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 { CompleteBraintreePaymentSetupRequestDto } from './complete-braintree-payment-setup-request-dto';
17
+ import { CompleteStripePaymentSetupRequestDto } from './complete-stripe-payment-setup-request-dto';
18
+
19
+ /**
20
+ *
21
+ * @export
22
+ * @interface CompletePaymentSetupRequestDto
23
+ */
24
+ export interface CompletePaymentSetupRequestDto {
25
+ /**
26
+ *
27
+ * @type {CompleteStripePaymentSetupRequestDto}
28
+ * @memberof CompletePaymentSetupRequestDto
29
+ */
30
+ 'stripe'?: CompleteStripePaymentSetupRequestDto;
31
+ /**
32
+ *
33
+ * @type {CompleteBraintreePaymentSetupRequestDto}
34
+ * @memberof CompletePaymentSetupRequestDto
35
+ */
36
+ 'braintree'?: CompleteBraintreePaymentSetupRequestDto;
37
+ }
38
+
@@ -0,0 +1,31 @@
1
+ /* tslint:disable */
2
+ /* eslint-disable */
3
+ /**
4
+ * Emil Payment Service
5
+ * This service directly communicates with the various Payment Service Providers (PSPs) in order to charge or refund customers. This service will automatically connect to the PSP linked in your admin configuration; meaning if you configured Stripe, it will automatically create a payment on Stripe when you create it in Emil.
6
+ *
7
+ * The version of the OpenAPI document: 1.0
8
+ * Contact: kontakt@emil.de
9
+ *
10
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
+ * https://openapi-generator.tech
12
+ * Do not edit the class manually.
13
+ */
14
+
15
+
16
+ import { PaymentMethodClass } from './payment-method-class';
17
+
18
+ /**
19
+ *
20
+ * @export
21
+ * @interface CompletePaymentSetupResponseClass
22
+ */
23
+ export interface CompletePaymentSetupResponseClass {
24
+ /**
25
+ * The payment method resulting of the completion of the setup.
26
+ * @type {PaymentMethodClass}
27
+ * @memberof CompletePaymentSetupResponseClass
28
+ */
29
+ 'paymentMethod': PaymentMethodClass;
30
+ }
31
+
@@ -0,0 +1,66 @@
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 CompleteStripePaymentSetupRequestDto
21
+ */
22
+ export interface CompleteStripePaymentSetupRequestDto {
23
+ /**
24
+ * Account email address
25
+ * @type {string}
26
+ * @memberof CompleteStripePaymentSetupRequestDto
27
+ */
28
+ 'email': string;
29
+ /**
30
+ * Account first name
31
+ * @type {string}
32
+ * @memberof CompleteStripePaymentSetupRequestDto
33
+ */
34
+ 'firstName': string;
35
+ /**
36
+ * Account last name
37
+ * @type {string}
38
+ * @memberof CompleteStripePaymentSetupRequestDto
39
+ */
40
+ 'lastName': string;
41
+ /**
42
+ * Lead code
43
+ * @type {string}
44
+ * @memberof CompleteStripePaymentSetupRequestDto
45
+ */
46
+ 'leadCode'?: string;
47
+ /**
48
+ * Unique identifier for the customer on Stripe.
49
+ * @type {string}
50
+ * @memberof CompleteStripePaymentSetupRequestDto
51
+ */
52
+ 'pspCustomerId': string;
53
+ /**
54
+ * Unique identifier for payment method on Stripe.
55
+ * @type {string}
56
+ * @memberof CompleteStripePaymentSetupRequestDto
57
+ */
58
+ 'pspPaymentMethodId'?: string;
59
+ /**
60
+ * The payment method type on Stripe.
61
+ * @type {string}
62
+ * @memberof CompleteStripePaymentSetupRequestDto
63
+ */
64
+ 'paymentMethodType'?: string;
65
+ }
66
+
@@ -0,0 +1,36 @@
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 CreateBankAccountRequestDto
21
+ */
22
+ export interface CreateBankAccountRequestDto {
23
+ /**
24
+ *
25
+ * @type {string}
26
+ * @memberof CreateBankAccountRequestDto
27
+ */
28
+ 'accountCode': string;
29
+ /**
30
+ *
31
+ * @type {string}
32
+ * @memberof CreateBankAccountRequestDto
33
+ */
34
+ 'iban': string;
35
+ }
36
+
@@ -0,0 +1,31 @@
1
+ /* tslint:disable */
2
+ /* eslint-disable */
3
+ /**
4
+ * Emil Payment Service
5
+ * This service directly communicates with the various Payment Service Providers (PSPs) in order to charge or refund customers. This service will automatically connect to the PSP linked in your admin configuration; meaning if you configured Stripe, it will automatically create a payment on Stripe when you create it in Emil.
6
+ *
7
+ * The version of the OpenAPI document: 1.0
8
+ * Contact: kontakt@emil.de
9
+ *
10
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
+ * https://openapi-generator.tech
12
+ * Do not edit the class manually.
13
+ */
14
+
15
+
16
+ import { PaymentMethodClass } from './payment-method-class';
17
+
18
+ /**
19
+ *
20
+ * @export
21
+ * @interface CreatePaymentMethodResponseClass
22
+ */
23
+ export interface CreatePaymentMethodResponseClass {
24
+ /**
25
+ * The created payment method.
26
+ * @type {PaymentMethodClass}
27
+ * @memberof CreatePaymentMethodResponseClass
28
+ */
29
+ 'paymentMethod': PaymentMethodClass;
30
+ }
31
+
@@ -40,10 +40,10 @@ export interface CreatePaymentRequestDto {
40
40
  'currency'?: string;
41
41
  /**
42
42
  * Invoices referenced in this payment. Usually, one payment has one invoice id but it is possible to pay multiple invoices at once with a single payment.
43
- * @type {Array<string>}
43
+ * @type {Array<number>}
44
44
  * @memberof CreatePaymentRequestDto
45
45
  */
46
- 'invoiceIds': Array<string>;
46
+ 'invoiceIds': Array<number>;
47
47
  /**
48
48
  * Optional field contain extra information.
49
49
  * @type {object}
@@ -55,7 +55,7 @@ export interface CreatePaymentRequestDto {
55
55
  * @type {string}
56
56
  * @memberof CreatePaymentRequestDto
57
57
  */
58
- 'productSlug': string;
58
+ 'productSlug'?: string;
59
59
  /**
60
60
  * Optional payment date.
61
61
  * @type {string}
@@ -0,0 +1,31 @@
1
+ /* tslint:disable */
2
+ /* eslint-disable */
3
+ /**
4
+ * Emil Payment Service
5
+ * This service directly communicates with the various Payment Service Providers (PSPs) in order to charge or refund customers. This service will automatically connect to the PSP linked in your admin configuration; meaning if you configured Stripe, it will automatically create a payment on Stripe when you create it in Emil.
6
+ *
7
+ * The version of the OpenAPI document: 1.0
8
+ * Contact: kontakt@emil.de
9
+ *
10
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
+ * https://openapi-generator.tech
12
+ * Do not edit the class manually.
13
+ */
14
+
15
+
16
+ import { 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
+
@@ -0,0 +1,70 @@
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
+
@@ -0,0 +1,31 @@
1
+ /* tslint:disable */
2
+ /* eslint-disable */
3
+ /**
4
+ * Emil Payment Service
5
+ * This service directly communicates with the various Payment Service Providers (PSPs) in order to charge or refund customers. This service will automatically connect to the PSP linked in your admin configuration; meaning if you configured Stripe, it will automatically create a payment on Stripe when you create it in Emil.
6
+ *
7
+ * The version of the OpenAPI document: 1.0
8
+ * Contact: kontakt@emil.de
9
+ *
10
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
+ * https://openapi-generator.tech
12
+ * Do not edit the class manually.
13
+ */
14
+
15
+
16
+ import { PaymentReminderClass } from './payment-reminder-class';
17
+
18
+ /**
19
+ *
20
+ * @export
21
+ * @interface DeactivatePaymentReminderResponseClass
22
+ */
23
+ export interface DeactivatePaymentReminderResponseClass {
24
+ /**
25
+ * The payment reminder
26
+ * @type {PaymentReminderClass}
27
+ * @memberof DeactivatePaymentReminderResponseClass
28
+ */
29
+ 'paymentReminder': PaymentReminderClass;
30
+ }
31
+
@@ -0,0 +1,31 @@
1
+ /* tslint:disable */
2
+ /* eslint-disable */
3
+ /**
4
+ * Emil Payment Service
5
+ * This service directly communicates with the various Payment Service Providers (PSPs) in order to charge or refund customers. This service will automatically connect to the PSP linked in your admin configuration; meaning if you configured Stripe, it will automatically create a payment on Stripe when you create it in Emil.
6
+ *
7
+ * The version of the OpenAPI document: 1.0
8
+ * Contact: kontakt@emil.de
9
+ *
10
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
+ * https://openapi-generator.tech
12
+ * Do not edit the class manually.
13
+ */
14
+
15
+
16
+ import { PaymentMethodClass } from './payment-method-class';
17
+
18
+ /**
19
+ *
20
+ * @export
21
+ * @interface GetPaymentMethodResponseClass
22
+ */
23
+ export interface GetPaymentMethodResponseClass {
24
+ /**
25
+ * Payment method
26
+ * @type {PaymentMethodClass}
27
+ * @memberof GetPaymentMethodResponseClass
28
+ */
29
+ 'paymentMethod': PaymentMethodClass;
30
+ }
31
+
@@ -0,0 +1,31 @@
1
+ /* tslint:disable */
2
+ /* eslint-disable */
3
+ /**
4
+ * Emil Payment Service
5
+ * This service directly communicates with the various Payment Service Providers (PSPs) in order to charge or refund customers. This service will automatically connect to the PSP linked in your admin configuration; meaning if you configured Stripe, it will automatically create a payment on Stripe when you create it in Emil.
6
+ *
7
+ * The version of the OpenAPI document: 1.0
8
+ * Contact: kontakt@emil.de
9
+ *
10
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
+ * https://openapi-generator.tech
12
+ * Do not edit the class manually.
13
+ */
14
+
15
+
16
+ import { PaymentClass } from './payment-class';
17
+
18
+ /**
19
+ *
20
+ * @export
21
+ * @interface GetPaymentResponseClass
22
+ */
23
+ export interface GetPaymentResponseClass {
24
+ /**
25
+ * Payment
26
+ * @type {PaymentClass}
27
+ * @memberof GetPaymentResponseClass
28
+ */
29
+ 'payment': PaymentClass;
30
+ }
31
+
@@ -31,6 +31,6 @@ export interface GetRequestDto {
31
31
  * @type {string}
32
32
  * @memberof GetRequestDto
33
33
  */
34
- 'expand': string;
34
+ 'expand'?: string;
35
35
  }
36
36
 
package/models/index.ts CHANGED
@@ -1,19 +1,48 @@
1
+ export * from './bank-account-class';
1
2
  export * from './bank-transaction-response-class';
3
+ export * from './billing-profile-dto';
4
+ export * from './billing-profile-limited-response-dto';
5
+ export * from './complete-braintree-payment-setup-request-dto';
6
+ export * from './complete-payment-setup-request-dto';
7
+ export * from './complete-payment-setup-response-class';
8
+ export * from './complete-stripe-payment-setup-request-dto';
9
+ export * from './create-bank-account-request-dto';
10
+ export * from './create-payment-method-response-class';
2
11
  export * from './create-payment-reminder-request-dto';
3
12
  export * from './create-payment-request-dto';
13
+ export * from './create-payment-response-class';
14
+ export * from './create-psp-payment-method-request-dto';
4
15
  export * from './create-refund-request-dto';
5
16
  export * from './create-refund-response-class';
6
17
  export * from './create-tenant-bank-account-request-dto';
7
18
  export * from './deactivate-payment-reminder-request-dto';
19
+ export * from './deactivate-payment-reminder-response-class';
8
20
  export * from './get-bank-transactions-response-class';
21
+ export * from './get-payment-method-response-class';
22
+ export * from './get-payment-response-class';
9
23
  export * from './get-refund-response-class';
10
24
  export * from './get-request-dto';
11
25
  export * from './get-tenant-bank-account-response-class';
26
+ export * from './initiate-braintree-payment-setup-request-dto';
27
+ export * from './initiate-braintree-payment-setup-response-class';
28
+ export * from './initiate-payment-setup-request-dto';
29
+ export * from './initiate-payment-setup-response-class';
30
+ export * from './initiate-stripe-payment-setup-request-dto';
31
+ export * from './initiate-stripe-payment-setup-response-class';
12
32
  export * from './inline-response200';
13
33
  export * from './inline-response503';
34
+ export * from './list-bank-accounts-response-class';
14
35
  export * from './list-bank-transactions-response-class';
36
+ export * from './list-payment-methods-response-class';
37
+ export * from './list-payment-reminders-response-class';
38
+ export * from './list-payments-response-class';
15
39
  export * from './list-refunds-response-class';
40
+ export * from './payment-class';
41
+ export * from './payment-method-class';
42
+ export * from './payment-reminder-class';
16
43
  export * from './refund-class';
44
+ export * from './sepa-direct-dto';
45
+ export * from './symphony-profile-limited-response-dto';
17
46
  export * from './tenant-bank-account-response-class';
18
47
  export * from './transaction-class';
19
48
  export * from './update-tenant-bank-account-rest-request-dto';
@@ -0,0 +1,36 @@
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
+
@@ -0,0 +1,30 @@
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
+
@@ -0,0 +1,50 @@
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
+