@emilgroup/payment-sdk-node 1.0.0 → 1.2.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (129) hide show
  1. package/.openapi-generator/FILES +5 -0
  2. package/README.md +3 -3
  3. package/api/bank-accounts-api.ts +1 -1
  4. package/api/payment-methods-api.ts +1 -1
  5. package/api/payment-reminders-api.ts +560 -0
  6. package/api/payment-service-providers-api.ts +1 -1
  7. package/api/payment-setup-api.ts +1 -1
  8. package/api/payments-api.ts +1 -1
  9. package/api/webhooks-api.ts +1 -1
  10. package/api.ts +3 -1
  11. package/base.ts +23 -33
  12. package/common.ts +62 -1
  13. package/configuration.ts +1 -1
  14. package/dist/api/bank-accounts-api.d.ts +1 -1
  15. package/dist/api/bank-accounts-api.js +2 -2
  16. package/dist/api/payment-methods-api.d.ts +1 -1
  17. package/dist/api/payment-methods-api.js +2 -2
  18. package/dist/api/payment-reminders-api.d.ts +317 -0
  19. package/dist/api/payment-reminders-api.js +542 -0
  20. package/dist/api/payment-service-providers-api.d.ts +1 -1
  21. package/dist/api/payment-service-providers-api.js +2 -2
  22. package/dist/api/payment-setup-api.d.ts +1 -1
  23. package/dist/api/payment-setup-api.js +2 -2
  24. package/dist/api/payments-api.d.ts +1 -1
  25. package/dist/api/payments-api.js +2 -2
  26. package/dist/api/webhooks-api.d.ts +1 -1
  27. package/dist/api/webhooks-api.js +2 -2
  28. package/dist/api.d.ts +2 -1
  29. package/dist/api.js +2 -1
  30. package/dist/base.d.ts +2 -3
  31. package/dist/base.js +20 -22
  32. package/dist/common.d.ts +27 -1
  33. package/dist/common.js +36 -3
  34. package/dist/configuration.d.ts +1 -1
  35. package/dist/configuration.js +1 -1
  36. package/dist/index.d.ts +1 -1
  37. package/dist/index.js +1 -1
  38. package/dist/models/complete-braintree-payment-setup-request-dto.d.ts +1 -1
  39. package/dist/models/complete-braintree-payment-setup-request-dto.js +1 -1
  40. package/dist/models/complete-payment-setup-request-dto.d.ts +1 -1
  41. package/dist/models/complete-payment-setup-request-dto.js +1 -1
  42. package/dist/models/complete-payment-setup-response-class.d.ts +1 -1
  43. package/dist/models/complete-payment-setup-response-class.js +1 -1
  44. package/dist/models/complete-stripe-payment-setup-request-dto.d.ts +9 -3
  45. package/dist/models/complete-stripe-payment-setup-request-dto.js +1 -1
  46. package/dist/models/create-bank-account-request-dto.d.ts +1 -1
  47. package/dist/models/create-bank-account-request-dto.js +1 -1
  48. package/dist/models/create-payment-method-response-class.d.ts +1 -1
  49. package/dist/models/create-payment-method-response-class.js +1 -1
  50. package/dist/models/create-payment-reminder-request-dto.d.ts +63 -0
  51. package/dist/models/create-payment-reminder-request-dto.js +24 -0
  52. package/dist/models/create-payment-request-dto.d.ts +7 -1
  53. package/dist/models/create-payment-request-dto.js +1 -1
  54. package/dist/models/create-payment-response-class.d.ts +1 -1
  55. package/dist/models/create-payment-response-class.js +1 -1
  56. package/dist/models/create-psp-payment-method-request-dto.d.ts +2 -2
  57. package/dist/models/create-psp-payment-method-request-dto.js +1 -1
  58. package/dist/models/deactivate-payment-reminder-request-dto.d.ts +30 -0
  59. package/dist/models/deactivate-payment-reminder-request-dto.js +21 -0
  60. package/dist/models/get-payment-method-response-class.d.ts +1 -1
  61. package/dist/models/get-payment-method-response-class.js +1 -1
  62. package/dist/models/get-payment-response-class.d.ts +1 -1
  63. package/dist/models/get-payment-response-class.js +1 -1
  64. package/dist/models/get-request-dto.d.ts +1 -1
  65. package/dist/models/get-request-dto.js +1 -1
  66. package/dist/models/index.d.ts +4 -0
  67. package/dist/models/index.js +4 -0
  68. package/dist/models/initiate-braintree-payment-setup-request-dto.d.ts +9 -3
  69. package/dist/models/initiate-braintree-payment-setup-request-dto.js +1 -1
  70. package/dist/models/initiate-braintree-payment-setup-response-class.d.ts +1 -1
  71. package/dist/models/initiate-braintree-payment-setup-response-class.js +1 -1
  72. package/dist/models/initiate-payment-setup-request-dto.d.ts +1 -1
  73. package/dist/models/initiate-payment-setup-request-dto.js +1 -1
  74. package/dist/models/initiate-payment-setup-response-class.d.ts +1 -1
  75. package/dist/models/initiate-payment-setup-response-class.js +1 -1
  76. package/dist/models/initiate-stripe-payment-setup-request-dto.d.ts +9 -3
  77. package/dist/models/initiate-stripe-payment-setup-request-dto.js +1 -1
  78. package/dist/models/initiate-stripe-payment-setup-response-class.d.ts +1 -1
  79. package/dist/models/initiate-stripe-payment-setup-response-class.js +1 -1
  80. package/dist/models/list-payment-methods-response-class.d.ts +4 -3
  81. package/dist/models/list-payment-methods-response-class.js +1 -1
  82. package/dist/models/list-payment-reminders-response-class.d.ts +31 -0
  83. package/dist/models/list-payment-reminders-response-class.js +15 -0
  84. package/dist/models/list-payments-response-class.d.ts +4 -3
  85. package/dist/models/list-payments-response-class.js +1 -1
  86. package/dist/models/payment-class.d.ts +1 -1
  87. package/dist/models/payment-class.js +1 -1
  88. package/dist/models/payment-method-class.d.ts +1 -1
  89. package/dist/models/payment-method-class.js +1 -1
  90. package/dist/models/payment-reminder-class.d.ts +108 -0
  91. package/dist/models/payment-reminder-class.js +32 -0
  92. package/dist/models/sepa-direct-dto.d.ts +1 -1
  93. package/dist/models/sepa-direct-dto.js +1 -1
  94. package/dist/models/validate-pspconfig-request-dto.d.ts +2 -2
  95. package/dist/models/validate-pspconfig-request-dto.js +1 -1
  96. package/dist/models/validate-pspconfig-response-class.d.ts +1 -1
  97. package/dist/models/validate-pspconfig-response-class.js +1 -1
  98. package/index.ts +1 -1
  99. package/models/complete-braintree-payment-setup-request-dto.ts +1 -1
  100. package/models/complete-payment-setup-request-dto.ts +1 -1
  101. package/models/complete-payment-setup-response-class.ts +1 -1
  102. package/models/complete-stripe-payment-setup-request-dto.ts +9 -3
  103. package/models/create-bank-account-request-dto.ts +1 -1
  104. package/models/create-payment-method-response-class.ts +1 -1
  105. package/models/create-payment-reminder-request-dto.ts +72 -0
  106. package/models/create-payment-request-dto.ts +7 -1
  107. package/models/create-payment-response-class.ts +1 -1
  108. package/models/create-psp-payment-method-request-dto.ts +1 -1
  109. package/models/deactivate-payment-reminder-request-dto.ts +39 -0
  110. package/models/get-payment-method-response-class.ts +1 -1
  111. package/models/get-payment-response-class.ts +1 -1
  112. package/models/get-request-dto.ts +1 -1
  113. package/models/index.ts +4 -0
  114. package/models/initiate-braintree-payment-setup-request-dto.ts +9 -3
  115. package/models/initiate-braintree-payment-setup-response-class.ts +1 -1
  116. package/models/initiate-payment-setup-request-dto.ts +1 -1
  117. package/models/initiate-payment-setup-response-class.ts +1 -1
  118. package/models/initiate-stripe-payment-setup-request-dto.ts +9 -3
  119. package/models/initiate-stripe-payment-setup-response-class.ts +1 -1
  120. package/models/list-payment-methods-response-class.ts +4 -3
  121. package/models/list-payment-reminders-response-class.ts +37 -0
  122. package/models/list-payments-response-class.ts +4 -3
  123. package/models/payment-class.ts +1 -1
  124. package/models/payment-method-class.ts +1 -1
  125. package/models/payment-reminder-class.ts +118 -0
  126. package/models/sepa-direct-dto.ts +1 -1
  127. package/models/validate-pspconfig-request-dto.ts +1 -1
  128. package/models/validate-pspconfig-response-class.ts +1 -1
  129. package/package.json +2 -3
@@ -3,7 +3,7 @@
3
3
  * This service directly communicates with the various Payment Service Providers (PSPs) in order to charge or refund customers. This service will automatically connect to the PSP linked in your admin configuration; meaning if you configured Stripe, it will automatically create a payment on Stripe when you create it in Emil.
4
4
  *
5
5
  * The version of the OpenAPI document: 1.0
6
- *
6
+ * Contact: kontakt@emil.de
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
9
  * https://openapi-generator.tech
@@ -6,7 +6,7 @@
6
6
  * This service directly communicates with the various Payment Service Providers (PSPs) in order to charge or refund customers. This service will automatically connect to the PSP linked in your admin configuration; meaning if you configured Stripe, it will automatically create a payment on Stripe when you create it in Emil.
7
7
  *
8
8
  * The version of the OpenAPI document: 1.0
9
- *
9
+ * Contact: kontakt@emil.de
10
10
  *
11
11
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
12
12
  * https://openapi-generator.tech
@@ -3,7 +3,7 @@
3
3
  * This service directly communicates with the various Payment Service Providers (PSPs) in order to charge or refund customers. This service will automatically connect to the PSP linked in your admin configuration; meaning if you configured Stripe, it will automatically create a payment on Stripe when you create it in Emil.
4
4
  *
5
5
  * The version of the OpenAPI document: 1.0
6
- *
6
+ * Contact: kontakt@emil.de
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
9
  * https://openapi-generator.tech
@@ -38,4 +38,4 @@ export declare const ValidatePSPConfigRequestDtoTypeEnum: {
38
38
  readonly Braintree: "braintree";
39
39
  readonly Stripe: "stripe";
40
40
  };
41
- export declare type ValidatePSPConfigRequestDtoTypeEnum = typeof ValidatePSPConfigRequestDtoTypeEnum[keyof typeof ValidatePSPConfigRequestDtoTypeEnum];
41
+ export type ValidatePSPConfigRequestDtoTypeEnum = typeof ValidatePSPConfigRequestDtoTypeEnum[keyof typeof ValidatePSPConfigRequestDtoTypeEnum];
@@ -6,7 +6,7 @@
6
6
  * This service directly communicates with the various Payment Service Providers (PSPs) in order to charge or refund customers. This service will automatically connect to the PSP linked in your admin configuration; meaning if you configured Stripe, it will automatically create a payment on Stripe when you create it in Emil.
7
7
  *
8
8
  * The version of the OpenAPI document: 1.0
9
- *
9
+ * Contact: kontakt@emil.de
10
10
  *
11
11
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
12
12
  * https://openapi-generator.tech
@@ -3,7 +3,7 @@
3
3
  * This service directly communicates with the various Payment Service Providers (PSPs) in order to charge or refund customers. This service will automatically connect to the PSP linked in your admin configuration; meaning if you configured Stripe, it will automatically create a payment on Stripe when you create it in Emil.
4
4
  *
5
5
  * The version of the OpenAPI document: 1.0
6
- *
6
+ * Contact: kontakt@emil.de
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
9
  * https://openapi-generator.tech
@@ -6,7 +6,7 @@
6
6
  * This service directly communicates with the various Payment Service Providers (PSPs) in order to charge or refund customers. This service will automatically connect to the PSP linked in your admin configuration; meaning if you configured Stripe, it will automatically create a payment on Stripe when you create it in Emil.
7
7
  *
8
8
  * The version of the OpenAPI document: 1.0
9
- *
9
+ * Contact: kontakt@emil.de
10
10
  *
11
11
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
12
12
  * https://openapi-generator.tech
package/index.ts CHANGED
@@ -5,7 +5,7 @@
5
5
  * This service directly communicates with the various Payment Service Providers (PSPs) in order to charge or refund customers. This service will automatically connect to the PSP linked in your admin configuration; meaning if you configured Stripe, it will automatically create a payment on Stripe when you create it in Emil.
6
6
  *
7
7
  * The version of the OpenAPI document: 1.0
8
- *
8
+ * Contact: kontakt@emil.de
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
11
  * https://openapi-generator.tech
@@ -5,7 +5,7 @@
5
5
  * This service directly communicates with the various Payment Service Providers (PSPs) in order to charge or refund customers. This service will automatically connect to the PSP linked in your admin configuration; meaning if you configured Stripe, it will automatically create a payment on Stripe when you create it in Emil.
6
6
  *
7
7
  * The version of the OpenAPI document: 1.0
8
- *
8
+ * Contact: kontakt@emil.de
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
11
  * https://openapi-generator.tech
@@ -5,7 +5,7 @@
5
5
  * This service directly communicates with the various Payment Service Providers (PSPs) in order to charge or refund customers. This service will automatically connect to the PSP linked in your admin configuration; meaning if you configured Stripe, it will automatically create a payment on Stripe when you create it in Emil.
6
6
  *
7
7
  * The version of the OpenAPI document: 1.0
8
- *
8
+ * Contact: kontakt@emil.de
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
11
  * https://openapi-generator.tech
@@ -5,7 +5,7 @@
5
5
  * This service directly communicates with the various Payment Service Providers (PSPs) in order to charge or refund customers. This service will automatically connect to the PSP linked in your admin configuration; meaning if you configured Stripe, it will automatically create a payment on Stripe when you create it in Emil.
6
6
  *
7
7
  * The version of the OpenAPI document: 1.0
8
- *
8
+ * Contact: kontakt@emil.de
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
11
  * https://openapi-generator.tech
@@ -5,7 +5,7 @@
5
5
  * This service directly communicates with the various Payment Service Providers (PSPs) in order to charge or refund customers. This service will automatically connect to the PSP linked in your admin configuration; meaning if you configured Stripe, it will automatically create a payment on Stripe when you create it in Emil.
6
6
  *
7
7
  * The version of the OpenAPI document: 1.0
8
- *
8
+ * Contact: kontakt@emil.de
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
11
  * https://openapi-generator.tech
@@ -43,7 +43,7 @@ export interface CompleteStripePaymentSetupRequestDto {
43
43
  * @type {string}
44
44
  * @memberof CompleteStripePaymentSetupRequestDto
45
45
  */
46
- 'leadCode': string;
46
+ 'leadCode'?: string;
47
47
  /**
48
48
  * Unique identifier for the customer on Stripe.
49
49
  * @type {string}
@@ -55,6 +55,12 @@ export interface CompleteStripePaymentSetupRequestDto {
55
55
  * @type {string}
56
56
  * @memberof CompleteStripePaymentSetupRequestDto
57
57
  */
58
- 'pspPaymentMethodId': string;
58
+ 'pspPaymentMethodId'?: string;
59
+ /**
60
+ * The payment method type on Stripe.
61
+ * @type {string}
62
+ * @memberof CompleteStripePaymentSetupRequestDto
63
+ */
64
+ 'paymentMethodType'?: string;
59
65
  }
60
66
 
@@ -5,7 +5,7 @@
5
5
  * This service directly communicates with the various Payment Service Providers (PSPs) in order to charge or refund customers. This service will automatically connect to the PSP linked in your admin configuration; meaning if you configured Stripe, it will automatically create a payment on Stripe when you create it in Emil.
6
6
  *
7
7
  * The version of the OpenAPI document: 1.0
8
- *
8
+ * Contact: kontakt@emil.de
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
11
  * https://openapi-generator.tech
@@ -5,7 +5,7 @@
5
5
  * This service directly communicates with the various Payment Service Providers (PSPs) in order to charge or refund customers. This service will automatically connect to the PSP linked in your admin configuration; meaning if you configured Stripe, it will automatically create a payment on Stripe when you create it in Emil.
6
6
  *
7
7
  * The version of the OpenAPI document: 1.0
8
- *
8
+ * Contact: kontakt@emil.de
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
11
  * https://openapi-generator.tech
@@ -0,0 +1,72 @@
1
+ /* tslint:disable */
2
+ /* eslint-disable */
3
+ /**
4
+ * Emil Payment Service
5
+ * This service directly communicates with the various Payment Service Providers (PSPs) in order to charge or refund customers. This service will automatically connect to the PSP linked in your admin configuration; meaning if you configured Stripe, it will automatically create a payment on Stripe when you create it in Emil.
6
+ *
7
+ * The version of the OpenAPI document: 1.0
8
+ * Contact: kontakt@emil.de
9
+ *
10
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
+ * https://openapi-generator.tech
12
+ * Do not edit the class manually.
13
+ */
14
+
15
+
16
+
17
+ /**
18
+ *
19
+ * @export
20
+ * @interface CreatePaymentReminderRequestDto
21
+ */
22
+ export interface CreatePaymentReminderRequestDto {
23
+ /**
24
+ * Date on which the reminder is triggered.
25
+ * @type {string}
26
+ * @memberof CreatePaymentReminderRequestDto
27
+ */
28
+ 'nextReminderDate': string;
29
+ /**
30
+ * Code referencing the policy for which this reminder is created.
31
+ * @type {string}
32
+ * @memberof CreatePaymentReminderRequestDto
33
+ */
34
+ 'policyCode': string;
35
+ /**
36
+ * Code referencing the account for which this reminder is created.
37
+ * @type {string}
38
+ * @memberof CreatePaymentReminderRequestDto
39
+ */
40
+ 'accountCode': string;
41
+ /**
42
+ * The type of invoice is used to determine the proper workflow.
43
+ * @type {string}
44
+ * @memberof CreatePaymentReminderRequestDto
45
+ */
46
+ 'invoiceType': CreatePaymentReminderRequestDtoInvoiceTypeEnum;
47
+ /**
48
+ * Unique identifier of the payment for which the reminder happened.
49
+ * @type {string}
50
+ * @memberof CreatePaymentReminderRequestDto
51
+ */
52
+ 'paymentCode': string;
53
+ /**
54
+ * The stage of a reminder according to the product definition.
55
+ * @type {number}
56
+ * @memberof CreatePaymentReminderRequestDto
57
+ */
58
+ 'reminderStage': number;
59
+ }
60
+
61
+ export const CreatePaymentReminderRequestDtoInvoiceTypeEnum = {
62
+ Initial: 'initial',
63
+ Recurring: 'recurring',
64
+ Correction: 'correction',
65
+ Estimated: 'estimated',
66
+ Penalty: 'penalty',
67
+ Other: 'other'
68
+ } as const;
69
+
70
+ export type CreatePaymentReminderRequestDtoInvoiceTypeEnum = typeof CreatePaymentReminderRequestDtoInvoiceTypeEnum[keyof typeof CreatePaymentReminderRequestDtoInvoiceTypeEnum];
71
+
72
+
@@ -5,7 +5,7 @@
5
5
  * This service directly communicates with the various Payment Service Providers (PSPs) in order to charge or refund customers. This service will automatically connect to the PSP linked in your admin configuration; meaning if you configured Stripe, it will automatically create a payment on Stripe when you create it in Emil.
6
6
  *
7
7
  * The version of the OpenAPI document: 1.0
8
- *
8
+ * Contact: kontakt@emil.de
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
11
  * https://openapi-generator.tech
@@ -44,5 +44,11 @@ export interface CreatePaymentRequestDto {
44
44
  * @memberof CreatePaymentRequestDto
45
45
  */
46
46
  'invoiceIds': Array<string>;
47
+ /**
48
+ * A slug is a human-readable, unique identifier, used to identify a resource instead of a less human-readable identifier like an id.
49
+ * @type {string}
50
+ * @memberof CreatePaymentRequestDto
51
+ */
52
+ 'productSlug'?: string;
47
53
  }
48
54
 
@@ -5,7 +5,7 @@
5
5
  * This service directly communicates with the various Payment Service Providers (PSPs) in order to charge or refund customers. This service will automatically connect to the PSP linked in your admin configuration; meaning if you configured Stripe, it will automatically create a payment on Stripe when you create it in Emil.
6
6
  *
7
7
  * The version of the OpenAPI document: 1.0
8
- *
8
+ * Contact: kontakt@emil.de
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
11
  * https://openapi-generator.tech
@@ -5,7 +5,7 @@
5
5
  * This service directly communicates with the various Payment Service Providers (PSPs) in order to charge or refund customers. This service will automatically connect to the PSP linked in your admin configuration; meaning if you configured Stripe, it will automatically create a payment on Stripe when you create it in Emil.
6
6
  *
7
7
  * The version of the OpenAPI document: 1.0
8
- *
8
+ * Contact: kontakt@emil.de
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
11
  * https://openapi-generator.tech
@@ -0,0 +1,39 @@
1
+ /* tslint:disable */
2
+ /* eslint-disable */
3
+ /**
4
+ * Emil Payment Service
5
+ * This service directly communicates with the various Payment Service Providers (PSPs) in order to charge or refund customers. This service will automatically connect to the PSP linked in your admin configuration; meaning if you configured Stripe, it will automatically create a payment on Stripe when you create it in Emil.
6
+ *
7
+ * The version of the OpenAPI document: 1.0
8
+ * Contact: kontakt@emil.de
9
+ *
10
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
+ * https://openapi-generator.tech
12
+ * Do not edit the class manually.
13
+ */
14
+
15
+
16
+
17
+ /**
18
+ *
19
+ * @export
20
+ * @interface DeactivatePaymentReminderRequestDto
21
+ */
22
+ export interface DeactivatePaymentReminderRequestDto {
23
+ /**
24
+ * Reason for the update.
25
+ * @type {string}
26
+ * @memberof DeactivatePaymentReminderRequestDto
27
+ */
28
+ 'updateReason': DeactivatePaymentReminderRequestDtoUpdateReasonEnum;
29
+ }
30
+
31
+ export const DeactivatePaymentReminderRequestDtoUpdateReasonEnum = {
32
+ SystemTriggered: 'system_triggered',
33
+ UserPaid: 'user_paid',
34
+ AdminCanceled: 'admin_canceled'
35
+ } as const;
36
+
37
+ export type DeactivatePaymentReminderRequestDtoUpdateReasonEnum = typeof DeactivatePaymentReminderRequestDtoUpdateReasonEnum[keyof typeof DeactivatePaymentReminderRequestDtoUpdateReasonEnum];
38
+
39
+
@@ -5,7 +5,7 @@
5
5
  * This service directly communicates with the various Payment Service Providers (PSPs) in order to charge or refund customers. This service will automatically connect to the PSP linked in your admin configuration; meaning if you configured Stripe, it will automatically create a payment on Stripe when you create it in Emil.
6
6
  *
7
7
  * The version of the OpenAPI document: 1.0
8
- *
8
+ * Contact: kontakt@emil.de
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
11
  * https://openapi-generator.tech
@@ -5,7 +5,7 @@
5
5
  * This service directly communicates with the various Payment Service Providers (PSPs) in order to charge or refund customers. This service will automatically connect to the PSP linked in your admin configuration; meaning if you configured Stripe, it will automatically create a payment on Stripe when you create it in Emil.
6
6
  *
7
7
  * The version of the OpenAPI document: 1.0
8
- *
8
+ * Contact: kontakt@emil.de
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
11
  * https://openapi-generator.tech
@@ -5,7 +5,7 @@
5
5
  * This service directly communicates with the various Payment Service Providers (PSPs) in order to charge or refund customers. This service will automatically connect to the PSP linked in your admin configuration; meaning if you configured Stripe, it will automatically create a payment on Stripe when you create it in Emil.
6
6
  *
7
7
  * The version of the OpenAPI document: 1.0
8
- *
8
+ * Contact: kontakt@emil.de
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
11
  * https://openapi-generator.tech
package/models/index.ts CHANGED
@@ -4,9 +4,11 @@ export * from './complete-payment-setup-response-class';
4
4
  export * from './complete-stripe-payment-setup-request-dto';
5
5
  export * from './create-bank-account-request-dto';
6
6
  export * from './create-payment-method-response-class';
7
+ export * from './create-payment-reminder-request-dto';
7
8
  export * from './create-payment-request-dto';
8
9
  export * from './create-payment-response-class';
9
10
  export * from './create-psp-payment-method-request-dto';
11
+ export * from './deactivate-payment-reminder-request-dto';
10
12
  export * from './get-payment-method-response-class';
11
13
  export * from './get-payment-response-class';
12
14
  export * from './get-request-dto';
@@ -17,9 +19,11 @@ export * from './initiate-payment-setup-response-class';
17
19
  export * from './initiate-stripe-payment-setup-request-dto';
18
20
  export * from './initiate-stripe-payment-setup-response-class';
19
21
  export * from './list-payment-methods-response-class';
22
+ export * from './list-payment-reminders-response-class';
20
23
  export * from './list-payments-response-class';
21
24
  export * from './payment-class';
22
25
  export * from './payment-method-class';
26
+ export * from './payment-reminder-class';
23
27
  export * from './sepa-direct-dto';
24
28
  export * from './validate-pspconfig-request-dto';
25
29
  export * from './validate-pspconfig-response-class';
@@ -5,7 +5,7 @@
5
5
  * This service directly communicates with the various Payment Service Providers (PSPs) in order to charge or refund customers. This service will automatically connect to the PSP linked in your admin configuration; meaning if you configured Stripe, it will automatically create a payment on Stripe when you create it in Emil.
6
6
  *
7
7
  * The version of the OpenAPI document: 1.0
8
- *
8
+ * Contact: kontakt@emil.de
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
11
  * https://openapi-generator.tech
@@ -21,10 +21,16 @@
21
21
  */
22
22
  export interface InitiateBraintreePaymentSetupRequestDto {
23
23
  /**
24
- * Lead code
24
+ * Lead code.
25
+ * @type {string}
26
+ * @memberof InitiateBraintreePaymentSetupRequestDto
27
+ */
28
+ 'leadCode'?: string;
29
+ /**
30
+ * Account code.
25
31
  * @type {string}
26
32
  * @memberof InitiateBraintreePaymentSetupRequestDto
27
33
  */
28
- 'leadCode': string;
34
+ 'accountCode'?: string;
29
35
  }
30
36
 
@@ -5,7 +5,7 @@
5
5
  * This service directly communicates with the various Payment Service Providers (PSPs) in order to charge or refund customers. This service will automatically connect to the PSP linked in your admin configuration; meaning if you configured Stripe, it will automatically create a payment on Stripe when you create it in Emil.
6
6
  *
7
7
  * The version of the OpenAPI document: 1.0
8
- *
8
+ * Contact: kontakt@emil.de
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
11
  * https://openapi-generator.tech
@@ -5,7 +5,7 @@
5
5
  * This service directly communicates with the various Payment Service Providers (PSPs) in order to charge or refund customers. This service will automatically connect to the PSP linked in your admin configuration; meaning if you configured Stripe, it will automatically create a payment on Stripe when you create it in Emil.
6
6
  *
7
7
  * The version of the OpenAPI document: 1.0
8
- *
8
+ * Contact: kontakt@emil.de
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
11
  * https://openapi-generator.tech
@@ -5,7 +5,7 @@
5
5
  * This service directly communicates with the various Payment Service Providers (PSPs) in order to charge or refund customers. This service will automatically connect to the PSP linked in your admin configuration; meaning if you configured Stripe, it will automatically create a payment on Stripe when you create it in Emil.
6
6
  *
7
7
  * The version of the OpenAPI document: 1.0
8
- *
8
+ * Contact: kontakt@emil.de
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
11
  * https://openapi-generator.tech
@@ -5,7 +5,7 @@
5
5
  * This service directly communicates with the various Payment Service Providers (PSPs) in order to charge or refund customers. This service will automatically connect to the PSP linked in your admin configuration; meaning if you configured Stripe, it will automatically create a payment on Stripe when you create it in Emil.
6
6
  *
7
7
  * The version of the OpenAPI document: 1.0
8
- *
8
+ * Contact: kontakt@emil.de
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
11
  * https://openapi-generator.tech
@@ -21,10 +21,16 @@
21
21
  */
22
22
  export interface InitiateStripePaymentSetupRequestDto {
23
23
  /**
24
- * Lead code
24
+ * Lead code.
25
+ * @type {string}
26
+ * @memberof InitiateStripePaymentSetupRequestDto
27
+ */
28
+ 'leadCode'?: string;
29
+ /**
30
+ * Account code.
25
31
  * @type {string}
26
32
  * @memberof InitiateStripePaymentSetupRequestDto
27
33
  */
28
- 'leadCode': string;
34
+ 'accountCode'?: string;
29
35
  }
30
36
 
@@ -5,7 +5,7 @@
5
5
  * This service directly communicates with the various Payment Service Providers (PSPs) in order to charge or refund customers. This service will automatically connect to the PSP linked in your admin configuration; meaning if you configured Stripe, it will automatically create a payment on Stripe when you create it in Emil.
6
6
  *
7
7
  * The version of the OpenAPI document: 1.0
8
- *
8
+ * Contact: kontakt@emil.de
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
11
  * https://openapi-generator.tech
@@ -5,7 +5,7 @@
5
5
  * This service directly communicates with the various Payment Service Providers (PSPs) in order to charge or refund customers. This service will automatically connect to the PSP linked in your admin configuration; meaning if you configured Stripe, it will automatically create a payment on Stripe when you create it in Emil.
6
6
  *
7
7
  * The version of the OpenAPI document: 1.0
8
- *
8
+ * Contact: kontakt@emil.de
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
11
  * https://openapi-generator.tech
@@ -13,6 +13,7 @@
13
13
  */
14
14
 
15
15
 
16
+ import { PaymentMethodClass } from './payment-method-class';
16
17
 
17
18
  /**
18
19
  *
@@ -22,10 +23,10 @@
22
23
  export interface ListPaymentMethodsResponseClass {
23
24
  /**
24
25
  * Payment methods
25
- * @type {Array<string>}
26
+ * @type {Array<PaymentMethodClass>}
26
27
  * @memberof ListPaymentMethodsResponseClass
27
28
  */
28
- 'items': Array<string>;
29
+ 'items': Array<PaymentMethodClass>;
29
30
  /**
30
31
  * Next page token
31
32
  * @type {string}
@@ -0,0 +1,37 @@
1
+ /* tslint:disable */
2
+ /* eslint-disable */
3
+ /**
4
+ * Emil Payment Service
5
+ * This service directly communicates with the various Payment Service Providers (PSPs) in order to charge or refund customers. This service will automatically connect to the PSP linked in your admin configuration; meaning if you configured Stripe, it will automatically create a payment on Stripe when you create it in Emil.
6
+ *
7
+ * The version of the OpenAPI document: 1.0
8
+ * Contact: kontakt@emil.de
9
+ *
10
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
+ * https://openapi-generator.tech
12
+ * Do not edit the class manually.
13
+ */
14
+
15
+
16
+ import { PaymentReminderClass } from './payment-reminder-class';
17
+
18
+ /**
19
+ *
20
+ * @export
21
+ * @interface ListPaymentRemindersResponseClass
22
+ */
23
+ export interface ListPaymentRemindersResponseClass {
24
+ /**
25
+ * The payment reminders
26
+ * @type {Array<PaymentReminderClass>}
27
+ * @memberof ListPaymentRemindersResponseClass
28
+ */
29
+ 'items': Array<PaymentReminderClass>;
30
+ /**
31
+ * Next page token
32
+ * @type {string}
33
+ * @memberof ListPaymentRemindersResponseClass
34
+ */
35
+ 'nextPageToken': string;
36
+ }
37
+
@@ -5,7 +5,7 @@
5
5
  * This service directly communicates with the various Payment Service Providers (PSPs) in order to charge or refund customers. This service will automatically connect to the PSP linked in your admin configuration; meaning if you configured Stripe, it will automatically create a payment on Stripe when you create it in Emil.
6
6
  *
7
7
  * The version of the OpenAPI document: 1.0
8
- *
8
+ * Contact: kontakt@emil.de
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
11
  * https://openapi-generator.tech
@@ -13,6 +13,7 @@
13
13
  */
14
14
 
15
15
 
16
+ import { PaymentClass } from './payment-class';
16
17
 
17
18
  /**
18
19
  *
@@ -22,10 +23,10 @@
22
23
  export interface ListPaymentsResponseClass {
23
24
  /**
24
25
  * Payments
25
- * @type {Array<string>}
26
+ * @type {Array<PaymentClass>}
26
27
  * @memberof ListPaymentsResponseClass
27
28
  */
28
- 'items': Array<string>;
29
+ 'items': Array<PaymentClass>;
29
30
  /**
30
31
  * Next page token
31
32
  * @type {string}
@@ -5,7 +5,7 @@
5
5
  * This service directly communicates with the various Payment Service Providers (PSPs) in order to charge or refund customers. This service will automatically connect to the PSP linked in your admin configuration; meaning if you configured Stripe, it will automatically create a payment on Stripe when you create it in Emil.
6
6
  *
7
7
  * The version of the OpenAPI document: 1.0
8
- *
8
+ * Contact: kontakt@emil.de
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
11
  * https://openapi-generator.tech
@@ -5,7 +5,7 @@
5
5
  * This service directly communicates with the various Payment Service Providers (PSPs) in order to charge or refund customers. This service will automatically connect to the PSP linked in your admin configuration; meaning if you configured Stripe, it will automatically create a payment on Stripe when you create it in Emil.
6
6
  *
7
7
  * The version of the OpenAPI document: 1.0
8
- *
8
+ * Contact: kontakt@emil.de
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
11
  * https://openapi-generator.tech