@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.
Files changed (160) hide show
  1. package/.openapi-generator/FILES +58 -0
  2. package/.openapi-generator/VERSION +1 -0
  3. package/.openapi-generator-ignore +23 -0
  4. package/README.md +51 -0
  5. package/api/bank-accounts-api.ts +337 -0
  6. package/api/default-api.ts +120 -0
  7. package/api/payment-methods-api.ts +577 -0
  8. package/api/payment-reminders-api.ts +556 -0
  9. package/api/payment-service-providers-api.ts +161 -0
  10. package/api/payment-setup-api.ts +264 -0
  11. package/api/payments-api.ts +489 -0
  12. package/api/webhooks-api.ts +150 -0
  13. package/api.ts +41 -0
  14. package/base.ts +251 -0
  15. package/common.ts +198 -0
  16. package/configuration.ts +101 -0
  17. package/dist/api/bank-accounts-api.d.ts +197 -0
  18. package/dist/api/bank-accounts-api.js +347 -0
  19. package/dist/api/default-api.d.ts +66 -0
  20. package/dist/api/default-api.js +196 -0
  21. package/dist/api/payment-methods-api.d.ts +327 -0
  22. package/dist/api/payment-methods-api.js +547 -0
  23. package/dist/api/payment-reminders-api.d.ts +317 -0
  24. package/dist/api/payment-reminders-api.js +538 -0
  25. package/dist/api/payment-service-providers-api.d.ts +93 -0
  26. package/dist/api/payment-service-providers-api.js +220 -0
  27. package/dist/api/payment-setup-api.d.ts +146 -0
  28. package/dist/api/payment-setup-api.js +309 -0
  29. package/dist/api/payments-api.d.ts +281 -0
  30. package/dist/api/payments-api.js +461 -0
  31. package/dist/api/webhooks-api.d.ts +91 -0
  32. package/dist/api/webhooks-api.js +209 -0
  33. package/dist/api.d.ts +19 -0
  34. package/dist/api.js +37 -0
  35. package/dist/base.d.ts +74 -0
  36. package/dist/base.js +298 -0
  37. package/dist/common.d.ts +91 -0
  38. package/dist/common.js +276 -0
  39. package/dist/configuration.d.ts +83 -0
  40. package/dist/configuration.js +44 -0
  41. package/dist/index.d.ts +15 -0
  42. package/dist/index.js +36 -0
  43. package/dist/models/bank-account-class.d.ts +54 -0
  44. package/dist/models/bank-account-class.js +15 -0
  45. package/dist/models/billing-profile-dto.d.ts +38 -0
  46. package/dist/models/billing-profile-dto.js +15 -0
  47. package/dist/models/billing-profile-limited-response-dto.d.ts +54 -0
  48. package/dist/models/billing-profile-limited-response-dto.js +15 -0
  49. package/dist/models/complete-braintree-payment-setup-request-dto.d.ts +48 -0
  50. package/dist/models/complete-braintree-payment-setup-request-dto.js +15 -0
  51. package/dist/models/complete-payment-setup-request-dto.d.ts +32 -0
  52. package/dist/models/complete-payment-setup-request-dto.js +15 -0
  53. package/dist/models/complete-payment-setup-response-class.d.ts +25 -0
  54. package/dist/models/complete-payment-setup-response-class.js +15 -0
  55. package/dist/models/complete-stripe-payment-setup-request-dto.d.ts +60 -0
  56. package/dist/models/complete-stripe-payment-setup-request-dto.js +15 -0
  57. package/dist/models/create-bank-account-request-dto.d.ts +30 -0
  58. package/dist/models/create-bank-account-request-dto.js +15 -0
  59. package/dist/models/create-payment-method-response-class.d.ts +25 -0
  60. package/dist/models/create-payment-method-response-class.js +15 -0
  61. package/dist/models/create-payment-reminder-request-dto.d.ts +65 -0
  62. package/dist/models/create-payment-reminder-request-dto.js +26 -0
  63. package/dist/models/create-payment-request-dto.d.ts +72 -0
  64. package/dist/models/create-payment-request-dto.js +15 -0
  65. package/dist/models/create-payment-response-class.d.ts +25 -0
  66. package/dist/models/create-payment-response-class.js +15 -0
  67. package/dist/models/create-psp-payment-method-request-dto.d.ts +61 -0
  68. package/dist/models/create-psp-payment-method-request-dto.js +32 -0
  69. package/dist/models/deactivate-payment-reminder-request-dto.d.ts +30 -0
  70. package/dist/models/deactivate-payment-reminder-request-dto.js +21 -0
  71. package/dist/models/get-payment-method-response-class.d.ts +25 -0
  72. package/dist/models/get-payment-method-response-class.js +15 -0
  73. package/dist/models/get-payment-response-class.d.ts +25 -0
  74. package/dist/models/get-payment-response-class.js +15 -0
  75. package/dist/models/get-request-dto.d.ts +30 -0
  76. package/dist/models/get-request-dto.js +15 -0
  77. package/dist/models/index.d.ts +37 -0
  78. package/dist/models/index.js +53 -0
  79. package/dist/models/initiate-braintree-payment-setup-request-dto.d.ts +30 -0
  80. package/dist/models/initiate-braintree-payment-setup-request-dto.js +15 -0
  81. package/dist/models/initiate-braintree-payment-setup-response-class.d.ts +24 -0
  82. package/dist/models/initiate-braintree-payment-setup-response-class.js +15 -0
  83. package/dist/models/initiate-payment-setup-request-dto.d.ts +44 -0
  84. package/dist/models/initiate-payment-setup-request-dto.js +15 -0
  85. package/dist/models/initiate-payment-setup-response-class.d.ts +32 -0
  86. package/dist/models/initiate-payment-setup-response-class.js +15 -0
  87. package/dist/models/initiate-stripe-payment-setup-request-dto.d.ts +30 -0
  88. package/dist/models/initiate-stripe-payment-setup-request-dto.js +15 -0
  89. package/dist/models/initiate-stripe-payment-setup-response-class.d.ts +30 -0
  90. package/dist/models/initiate-stripe-payment-setup-response-class.js +15 -0
  91. package/dist/models/inline-response200.d.ts +54 -0
  92. package/dist/models/inline-response200.js +15 -0
  93. package/dist/models/inline-response503.d.ts +54 -0
  94. package/dist/models/inline-response503.js +15 -0
  95. package/dist/models/list-bank-accounts-response-class.d.ts +31 -0
  96. package/dist/models/list-bank-accounts-response-class.js +15 -0
  97. package/dist/models/list-payment-methods-response-class.d.ts +31 -0
  98. package/dist/models/list-payment-methods-response-class.js +15 -0
  99. package/dist/models/list-payment-reminders-response-class.d.ts +31 -0
  100. package/dist/models/list-payment-reminders-response-class.js +15 -0
  101. package/dist/models/list-payments-response-class.d.ts +31 -0
  102. package/dist/models/list-payments-response-class.js +15 -0
  103. package/dist/models/payment-class.d.ts +103 -0
  104. package/dist/models/payment-class.js +15 -0
  105. package/dist/models/payment-method-class.d.ts +60 -0
  106. package/dist/models/payment-method-class.js +15 -0
  107. package/dist/models/payment-reminder-class.d.ts +112 -0
  108. package/dist/models/payment-reminder-class.js +36 -0
  109. package/dist/models/sepa-direct-dto.d.ts +24 -0
  110. package/dist/models/sepa-direct-dto.js +15 -0
  111. package/dist/models/symphony-profile-limited-response-dto.d.ts +42 -0
  112. package/dist/models/symphony-profile-limited-response-dto.js +15 -0
  113. package/dist/models/transaction-class.d.ts +54 -0
  114. package/dist/models/transaction-class.js +15 -0
  115. package/dist/models/validate-pspconfig-request-dto.d.ts +43 -0
  116. package/dist/models/validate-pspconfig-request-dto.js +22 -0
  117. package/dist/models/validate-pspconfig-response-class.d.ts +24 -0
  118. package/dist/models/validate-pspconfig-response-class.js +15 -0
  119. package/git_push.sh +57 -0
  120. package/index.ts +19 -0
  121. package/models/bank-account-class.ts +60 -0
  122. package/models/billing-profile-dto.ts +44 -0
  123. package/models/billing-profile-limited-response-dto.ts +60 -0
  124. package/models/complete-braintree-payment-setup-request-dto.ts +54 -0
  125. package/models/complete-payment-setup-request-dto.ts +38 -0
  126. package/models/complete-payment-setup-response-class.ts +31 -0
  127. package/models/complete-stripe-payment-setup-request-dto.ts +66 -0
  128. package/models/create-bank-account-request-dto.ts +36 -0
  129. package/models/create-payment-method-response-class.ts +31 -0
  130. package/models/create-payment-reminder-request-dto.ts +74 -0
  131. package/models/create-payment-request-dto.ts +78 -0
  132. package/models/create-payment-response-class.ts +31 -0
  133. package/models/create-psp-payment-method-request-dto.ts +70 -0
  134. package/models/deactivate-payment-reminder-request-dto.ts +39 -0
  135. package/models/get-payment-method-response-class.ts +31 -0
  136. package/models/get-payment-response-class.ts +31 -0
  137. package/models/get-request-dto.ts +36 -0
  138. package/models/index.ts +37 -0
  139. package/models/initiate-braintree-payment-setup-request-dto.ts +36 -0
  140. package/models/initiate-braintree-payment-setup-response-class.ts +30 -0
  141. package/models/initiate-payment-setup-request-dto.ts +50 -0
  142. package/models/initiate-payment-setup-response-class.ts +38 -0
  143. package/models/initiate-stripe-payment-setup-request-dto.ts +36 -0
  144. package/models/initiate-stripe-payment-setup-response-class.ts +36 -0
  145. package/models/inline-response200.ts +48 -0
  146. package/models/inline-response503.ts +48 -0
  147. package/models/list-bank-accounts-response-class.ts +37 -0
  148. package/models/list-payment-methods-response-class.ts +37 -0
  149. package/models/list-payment-reminders-response-class.ts +37 -0
  150. package/models/list-payments-response-class.ts +37 -0
  151. package/models/payment-class.ts +109 -0
  152. package/models/payment-method-class.ts +66 -0
  153. package/models/payment-reminder-class.ts +122 -0
  154. package/models/sepa-direct-dto.ts +30 -0
  155. package/models/symphony-profile-limited-response-dto.ts +48 -0
  156. package/models/transaction-class.ts +60 -0
  157. package/models/validate-pspconfig-request-dto.ts +52 -0
  158. package/models/validate-pspconfig-response-class.ts +30 -0
  159. package/package.json +27 -0
  160. package/tsconfig.json +22 -0
@@ -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
+
@@ -0,0 +1,74 @@
1
+ /* tslint:disable */
2
+ /* eslint-disable */
3
+ /**
4
+ * Emil Payment Service
5
+ * This service directly communicates with the various Payment Service Providers (PSPs) in order to charge or refund customers. This service will automatically connect to the PSP linked in your admin configuration; meaning if you configured Stripe, it will automatically create a payment on Stripe when you create it in Emil.
6
+ *
7
+ * The version of the OpenAPI document: 1.0
8
+ * Contact: kontakt@emil.de
9
+ *
10
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
+ * https://openapi-generator.tech
12
+ * Do not edit the class manually.
13
+ */
14
+
15
+
16
+
17
+ /**
18
+ *
19
+ * @export
20
+ * @interface CreatePaymentReminderRequestDto
21
+ */
22
+ export interface CreatePaymentReminderRequestDto {
23
+ /**
24
+ * Date on which the reminder is triggered.
25
+ * @type {string}
26
+ * @memberof CreatePaymentReminderRequestDto
27
+ */
28
+ 'nextReminderDate': string;
29
+ /**
30
+ * Code referencing the policy for which this reminder is created.
31
+ * @type {string}
32
+ * @memberof CreatePaymentReminderRequestDto
33
+ */
34
+ 'policyCode': string;
35
+ /**
36
+ * Code referencing the account for which this reminder is created.
37
+ * @type {string}
38
+ * @memberof CreatePaymentReminderRequestDto
39
+ */
40
+ 'accountCode': string;
41
+ /**
42
+ * The type of invoice is used to determine the proper workflow.
43
+ * @type {string}
44
+ * @memberof CreatePaymentReminderRequestDto
45
+ */
46
+ 'invoiceType': CreatePaymentReminderRequestDtoInvoiceTypeEnum;
47
+ /**
48
+ * Unique identifier of the payment for which the reminder happened.
49
+ * @type {string}
50
+ * @memberof CreatePaymentReminderRequestDto
51
+ */
52
+ 'paymentCode': string;
53
+ /**
54
+ * The stage of a reminder according to the product definition.
55
+ * @type {number}
56
+ * @memberof CreatePaymentReminderRequestDto
57
+ */
58
+ 'reminderStage': number;
59
+ }
60
+
61
+ export const CreatePaymentReminderRequestDtoInvoiceTypeEnum = {
62
+ Initial: 'initial',
63
+ Recurring: 'recurring',
64
+ Correction: 'correction',
65
+ Estimated: 'estimated',
66
+ Penalty: 'penalty',
67
+ Other: 'other',
68
+ Withdraw: 'withdraw',
69
+ Final: 'final'
70
+ } as const;
71
+
72
+ export type CreatePaymentReminderRequestDtoInvoiceTypeEnum = typeof CreatePaymentReminderRequestDtoInvoiceTypeEnum[keyof typeof CreatePaymentReminderRequestDtoInvoiceTypeEnum];
73
+
74
+
@@ -0,0 +1,78 @@
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 CreatePaymentRequestDto
21
+ */
22
+ export interface CreatePaymentRequestDto {
23
+ /**
24
+ * User account code associated to that payment.
25
+ * @type {string}
26
+ * @memberof CreatePaymentRequestDto
27
+ */
28
+ 'accountCode': string;
29
+ /**
30
+ * Amount to be paid in cents. 100 to charge 1€.
31
+ * @type {number}
32
+ * @memberof CreatePaymentRequestDto
33
+ */
34
+ 'amount': number;
35
+ /**
36
+ * Currency of the payment. Optional. Default EUR.
37
+ * @type {string}
38
+ * @memberof CreatePaymentRequestDto
39
+ */
40
+ 'currency'?: string;
41
+ /**
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>}
44
+ * @memberof CreatePaymentRequestDto
45
+ */
46
+ 'invoiceIds': Array<string>;
47
+ /**
48
+ * Optional field contain extra information.
49
+ * @type {object}
50
+ * @memberof CreatePaymentRequestDto
51
+ */
52
+ 'metadata': object;
53
+ /**
54
+ * A slug is a human-readable, unique identifier, used to identify a resource instead of a less human-readable identifier like an id.
55
+ * @type {string}
56
+ * @memberof CreatePaymentRequestDto
57
+ */
58
+ 'productSlug'?: string;
59
+ /**
60
+ * Optional payment date.
61
+ * @type {string}
62
+ * @memberof CreatePaymentRequestDto
63
+ */
64
+ 'receivedDate'?: string;
65
+ /**
66
+ * Optional reference number.
67
+ * @type {string}
68
+ * @memberof CreatePaymentRequestDto
69
+ */
70
+ 'referenceNumber'?: string;
71
+ /**
72
+ * Optional comment.
73
+ * @type {string}
74
+ * @memberof CreatePaymentRequestDto
75
+ */
76
+ 'comment'?: string;
77
+ }
78
+
@@ -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,39 @@
1
+ /* tslint:disable */
2
+ /* eslint-disable */
3
+ /**
4
+ * Emil Payment Service
5
+ * This service directly communicates with the various Payment Service Providers (PSPs) in order to charge or refund customers. This service will automatically connect to the PSP linked in your admin configuration; meaning if you configured Stripe, it will automatically create a payment on Stripe when you create it in Emil.
6
+ *
7
+ * The version of the OpenAPI document: 1.0
8
+ * Contact: kontakt@emil.de
9
+ *
10
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
+ * https://openapi-generator.tech
12
+ * Do not edit the class manually.
13
+ */
14
+
15
+
16
+
17
+ /**
18
+ *
19
+ * @export
20
+ * @interface DeactivatePaymentReminderRequestDto
21
+ */
22
+ export interface DeactivatePaymentReminderRequestDto {
23
+ /**
24
+ * Reason for the update.
25
+ * @type {string}
26
+ * @memberof DeactivatePaymentReminderRequestDto
27
+ */
28
+ 'updateReason': DeactivatePaymentReminderRequestDtoUpdateReasonEnum;
29
+ }
30
+
31
+ export const DeactivatePaymentReminderRequestDtoUpdateReasonEnum = {
32
+ SystemTriggered: 'system_triggered',
33
+ UserPaid: 'user_paid',
34
+ AdminCanceled: 'admin_canceled'
35
+ } as const;
36
+
37
+ export type DeactivatePaymentReminderRequestDtoUpdateReasonEnum = typeof DeactivatePaymentReminderRequestDtoUpdateReasonEnum[keyof typeof DeactivatePaymentReminderRequestDtoUpdateReasonEnum];
38
+
39
+
@@ -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
+
@@ -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 GetRequestDto
21
+ */
22
+ export interface GetRequestDto {
23
+ /**
24
+ * Unique identifier for the object.
25
+ * @type {string}
26
+ * @memberof GetRequestDto
27
+ */
28
+ 'code': string;
29
+ /**
30
+ * Fields to expand response by
31
+ * @type {string}
32
+ * @memberof GetRequestDto
33
+ */
34
+ 'expand'?: string;
35
+ }
36
+
@@ -0,0 +1,37 @@
1
+ export * from './bank-account-class';
2
+ export * from './billing-profile-dto';
3
+ export * from './billing-profile-limited-response-dto';
4
+ export * from './complete-braintree-payment-setup-request-dto';
5
+ export * from './complete-payment-setup-request-dto';
6
+ export * from './complete-payment-setup-response-class';
7
+ export * from './complete-stripe-payment-setup-request-dto';
8
+ export * from './create-bank-account-request-dto';
9
+ export * from './create-payment-method-response-class';
10
+ export * from './create-payment-reminder-request-dto';
11
+ export * from './create-payment-request-dto';
12
+ export * from './create-payment-response-class';
13
+ export * from './create-psp-payment-method-request-dto';
14
+ export * from './deactivate-payment-reminder-request-dto';
15
+ export * from './get-payment-method-response-class';
16
+ export * from './get-payment-response-class';
17
+ export * from './get-request-dto';
18
+ export * from './initiate-braintree-payment-setup-request-dto';
19
+ export * from './initiate-braintree-payment-setup-response-class';
20
+ export * from './initiate-payment-setup-request-dto';
21
+ export * from './initiate-payment-setup-response-class';
22
+ export * from './initiate-stripe-payment-setup-request-dto';
23
+ export * from './initiate-stripe-payment-setup-response-class';
24
+ export * from './inline-response200';
25
+ export * from './inline-response503';
26
+ export * from './list-bank-accounts-response-class';
27
+ export * from './list-payment-methods-response-class';
28
+ export * from './list-payment-reminders-response-class';
29
+ export * from './list-payments-response-class';
30
+ export * from './payment-class';
31
+ export * from './payment-method-class';
32
+ export * from './payment-reminder-class';
33
+ export * from './sepa-direct-dto';
34
+ export * from './symphony-profile-limited-response-dto';
35
+ export * from './transaction-class';
36
+ export * from './validate-pspconfig-request-dto';
37
+ export * from './validate-pspconfig-response-class';
@@ -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
+