@emilgroup/payment-sdk 1.4.1-beta.5 → 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 (138) hide show
  1. package/.openapi-generator/FILES +35 -0
  2. package/README.md +2 -2
  3. package/api/bank-accounts-api.ts +20 -16
  4. package/api/bank-transaction-api.ts +204 -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 +474 -0
  10. package/api.ts +2 -0
  11. package/dist/api/bank-accounts-api.d.ts +14 -12
  12. package/dist/api/bank-accounts-api.js +12 -12
  13. package/dist/api/bank-transaction-api.d.ts +113 -3
  14. package/dist/api/bank-transaction-api.js +184 -0
  15. package/dist/api/payment-methods-api.d.ts +31 -27
  16. package/dist/api/payment-methods-api.js +24 -28
  17. package/dist/api/payment-reminders-api.d.ts +14 -12
  18. package/dist/api/payment-setup-api.d.ts +22 -18
  19. package/dist/api/payment-setup-api.js +24 -24
  20. package/dist/api/payments-api.d.ts +24 -21
  21. package/dist/api/payments-api.js +12 -16
  22. package/dist/api/refunds-api.d.ts +269 -0
  23. package/dist/api/refunds-api.js +447 -0
  24. package/dist/api.d.ts +1 -0
  25. package/dist/api.js +1 -0
  26. package/dist/models/bank-account-class.d.ts +54 -0
  27. package/dist/models/bank-account-class.js +15 -0
  28. package/dist/models/billing-profile-dto.d.ts +38 -0
  29. package/dist/models/billing-profile-dto.js +15 -0
  30. package/dist/models/billing-profile-limited-response-dto.d.ts +54 -0
  31. package/dist/models/billing-profile-limited-response-dto.js +15 -0
  32. package/dist/models/complete-braintree-payment-setup-request-dto.d.ts +48 -0
  33. package/dist/models/complete-braintree-payment-setup-request-dto.js +15 -0
  34. package/dist/models/complete-payment-setup-request-dto.d.ts +32 -0
  35. package/dist/models/complete-payment-setup-request-dto.js +15 -0
  36. package/dist/models/complete-payment-setup-response-class.d.ts +25 -0
  37. package/dist/models/complete-payment-setup-response-class.js +15 -0
  38. package/dist/models/complete-stripe-payment-setup-request-dto.d.ts +60 -0
  39. package/dist/models/complete-stripe-payment-setup-request-dto.js +15 -0
  40. package/dist/models/create-bank-account-request-dto.d.ts +30 -0
  41. package/dist/models/create-bank-account-request-dto.js +15 -0
  42. package/dist/models/create-payment-method-response-class.d.ts +25 -0
  43. package/dist/models/create-payment-method-response-class.js +15 -0
  44. package/dist/models/create-payment-request-dto.d.ts +3 -3
  45. package/dist/models/create-payment-response-class.d.ts +25 -0
  46. package/dist/models/create-payment-response-class.js +15 -0
  47. package/dist/models/create-psp-payment-method-request-dto.d.ts +61 -0
  48. package/dist/models/create-psp-payment-method-request-dto.js +32 -0
  49. package/dist/models/create-refund-request-dto.d.ts +24 -0
  50. package/dist/models/create-refund-request-dto.js +15 -0
  51. package/dist/models/create-refund-response-class.d.ts +25 -0
  52. package/dist/models/create-refund-response-class.js +15 -0
  53. package/dist/models/deactivate-payment-reminder-response-class.d.ts +25 -0
  54. package/dist/models/deactivate-payment-reminder-response-class.js +15 -0
  55. package/dist/models/get-payment-method-response-class.d.ts +25 -0
  56. package/dist/models/get-payment-method-response-class.js +15 -0
  57. package/dist/models/get-payment-response-class.d.ts +25 -0
  58. package/dist/models/get-payment-response-class.js +15 -0
  59. package/dist/models/get-refund-response-class.d.ts +25 -0
  60. package/dist/models/get-refund-response-class.js +15 -0
  61. package/dist/models/get-request-dto.d.ts +1 -1
  62. package/dist/models/index.d.ts +34 -0
  63. package/dist/models/index.js +34 -0
  64. package/dist/models/initiate-braintree-payment-setup-request-dto.d.ts +30 -0
  65. package/dist/models/initiate-braintree-payment-setup-request-dto.js +15 -0
  66. package/dist/models/initiate-braintree-payment-setup-response-class.d.ts +24 -0
  67. package/dist/models/initiate-braintree-payment-setup-response-class.js +15 -0
  68. package/dist/models/initiate-payment-setup-request-dto.d.ts +44 -0
  69. package/dist/models/initiate-payment-setup-request-dto.js +15 -0
  70. package/dist/models/initiate-payment-setup-response-class.d.ts +32 -0
  71. package/dist/models/initiate-payment-setup-response-class.js +15 -0
  72. package/dist/models/initiate-stripe-payment-setup-request-dto.d.ts +30 -0
  73. package/dist/models/initiate-stripe-payment-setup-request-dto.js +15 -0
  74. package/dist/models/initiate-stripe-payment-setup-response-class.d.ts +30 -0
  75. package/dist/models/initiate-stripe-payment-setup-response-class.js +15 -0
  76. package/dist/models/list-bank-accounts-response-class.d.ts +31 -0
  77. package/dist/models/list-bank-accounts-response-class.js +15 -0
  78. package/dist/models/list-payment-methods-response-class.d.ts +31 -0
  79. package/dist/models/list-payment-methods-response-class.js +15 -0
  80. package/dist/models/list-payment-reminders-response-class.d.ts +31 -0
  81. package/dist/models/list-payment-reminders-response-class.js +15 -0
  82. package/dist/models/list-payments-response-class.d.ts +31 -0
  83. package/dist/models/list-payments-response-class.js +15 -0
  84. package/dist/models/list-refunds-response-class.d.ts +31 -0
  85. package/dist/models/list-refunds-response-class.js +15 -0
  86. package/dist/models/payment-class.d.ts +103 -0
  87. package/dist/models/payment-class.js +15 -0
  88. package/dist/models/payment-method-class.d.ts +66 -0
  89. package/dist/models/payment-method-class.js +15 -0
  90. package/dist/models/payment-reminder-class.d.ts +112 -0
  91. package/dist/models/payment-reminder-class.js +36 -0
  92. package/dist/models/refund-class.d.ts +104 -0
  93. package/dist/models/refund-class.js +28 -0
  94. package/dist/models/sepa-direct-dto.d.ts +24 -0
  95. package/dist/models/sepa-direct-dto.js +15 -0
  96. package/dist/models/symphony-profile-limited-response-dto.d.ts +42 -0
  97. package/dist/models/symphony-profile-limited-response-dto.js +15 -0
  98. package/dist/models/validate-pspconfig-request-dto.d.ts +8 -1
  99. package/dist/models/validate-pspconfig-request-dto.js +7 -0
  100. package/models/bank-account-class.ts +60 -0
  101. package/models/billing-profile-dto.ts +44 -0
  102. package/models/billing-profile-limited-response-dto.ts +60 -0
  103. package/models/complete-braintree-payment-setup-request-dto.ts +54 -0
  104. package/models/complete-payment-setup-request-dto.ts +38 -0
  105. package/models/complete-payment-setup-response-class.ts +31 -0
  106. package/models/complete-stripe-payment-setup-request-dto.ts +66 -0
  107. package/models/create-bank-account-request-dto.ts +36 -0
  108. package/models/create-payment-method-response-class.ts +31 -0
  109. package/models/create-payment-request-dto.ts +3 -3
  110. package/models/create-payment-response-class.ts +31 -0
  111. package/models/create-psp-payment-method-request-dto.ts +70 -0
  112. package/models/create-refund-request-dto.ts +30 -0
  113. package/models/create-refund-response-class.ts +31 -0
  114. package/models/deactivate-payment-reminder-response-class.ts +31 -0
  115. package/models/get-payment-method-response-class.ts +31 -0
  116. package/models/get-payment-response-class.ts +31 -0
  117. package/models/get-refund-response-class.ts +31 -0
  118. package/models/get-request-dto.ts +1 -1
  119. package/models/index.ts +34 -0
  120. package/models/initiate-braintree-payment-setup-request-dto.ts +36 -0
  121. package/models/initiate-braintree-payment-setup-response-class.ts +30 -0
  122. package/models/initiate-payment-setup-request-dto.ts +50 -0
  123. package/models/initiate-payment-setup-response-class.ts +38 -0
  124. package/models/initiate-stripe-payment-setup-request-dto.ts +36 -0
  125. package/models/initiate-stripe-payment-setup-response-class.ts +36 -0
  126. package/models/list-bank-accounts-response-class.ts +37 -0
  127. package/models/list-payment-methods-response-class.ts +37 -0
  128. package/models/list-payment-reminders-response-class.ts +37 -0
  129. package/models/list-payments-response-class.ts +37 -0
  130. package/models/list-refunds-response-class.ts +37 -0
  131. package/models/payment-class.ts +109 -0
  132. package/models/payment-method-class.ts +72 -0
  133. package/models/payment-reminder-class.ts +122 -0
  134. package/models/refund-class.ts +114 -0
  135. package/models/sepa-direct-dto.ts +30 -0
  136. package/models/symphony-profile-limited-response-dto.ts +48 -0
  137. package/models/validate-pspconfig-request-dto.ts +11 -1
  138. package/package.json +1 -1
@@ -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,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 { RefundClass } from './refund-class';
17
+
18
+ /**
19
+ *
20
+ * @export
21
+ * @interface GetRefundResponseClass
22
+ */
23
+ export interface GetRefundResponseClass {
24
+ /**
25
+ * Refund
26
+ * @type {RefundClass}
27
+ * @memberof GetRefundResponseClass
28
+ */
29
+ 'refund': RefundClass;
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,14 +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';
15
+ export * from './create-refund-request-dto';
16
+ export * from './create-refund-response-class';
4
17
  export * from './create-tenant-bank-account-request-dto';
5
18
  export * from './deactivate-payment-reminder-request-dto';
19
+ export * from './deactivate-payment-reminder-response-class';
6
20
  export * from './get-bank-transactions-response-class';
21
+ export * from './get-payment-method-response-class';
22
+ export * from './get-payment-response-class';
23
+ export * from './get-refund-response-class';
7
24
  export * from './get-request-dto';
8
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';
9
32
  export * from './inline-response200';
10
33
  export * from './inline-response503';
34
+ export * from './list-bank-accounts-response-class';
11
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';
39
+ export * from './list-refunds-response-class';
40
+ export * from './payment-class';
41
+ export * from './payment-method-class';
42
+ export * from './payment-reminder-class';
43
+ export * from './refund-class';
44
+ export * from './sepa-direct-dto';
45
+ export * from './symphony-profile-limited-response-dto';
12
46
  export * from './tenant-bank-account-response-class';
13
47
  export * from './transaction-class';
14
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
+
@@ -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 { InitiateBraintreePaymentSetupResponseClass } from './initiate-braintree-payment-setup-response-class';
17
+ import { InitiateStripePaymentSetupResponseClass } from './initiate-stripe-payment-setup-response-class';
18
+
19
+ /**
20
+ *
21
+ * @export
22
+ * @interface InitiatePaymentSetupResponseClass
23
+ */
24
+ export interface InitiatePaymentSetupResponseClass {
25
+ /**
26
+ * The stripe response after creating the setup intent.
27
+ * @type {InitiateStripePaymentSetupResponseClass}
28
+ * @memberof InitiatePaymentSetupResponseClass
29
+ */
30
+ 'stripe': InitiateStripePaymentSetupResponseClass;
31
+ /**
32
+ * Braintree response after generating client token.
33
+ * @type {InitiateBraintreePaymentSetupResponseClass}
34
+ * @memberof InitiatePaymentSetupResponseClass
35
+ */
36
+ 'braintree': InitiateBraintreePaymentSetupResponseClass;
37
+ }
38
+
@@ -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 InitiateStripePaymentSetupRequestDto
21
+ */
22
+ export interface InitiateStripePaymentSetupRequestDto {
23
+ /**
24
+ * Lead code.
25
+ * @type {string}
26
+ * @memberof InitiateStripePaymentSetupRequestDto
27
+ */
28
+ 'leadCode'?: string;
29
+ /**
30
+ * Account code.
31
+ * @type {string}
32
+ * @memberof InitiateStripePaymentSetupRequestDto
33
+ */
34
+ 'accountCode'?: string;
35
+ }
36
+
@@ -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 InitiateStripePaymentSetupResponseClass
21
+ */
22
+ export interface InitiateStripePaymentSetupResponseClass {
23
+ /**
24
+ * Identifier used by the payment service provider to create a payment method.
25
+ * @type {string}
26
+ * @memberof InitiateStripePaymentSetupResponseClass
27
+ */
28
+ 'pspSecretToken': string;
29
+ /**
30
+ * Customer identifier for the payment service provider.
31
+ * @type {string}
32
+ * @memberof InitiateStripePaymentSetupResponseClass
33
+ */
34
+ 'pspCustomerId': string;
35
+ }
36
+
@@ -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 { BankAccountClass } from './bank-account-class';
17
+
18
+ /**
19
+ *
20
+ * @export
21
+ * @interface ListBankAccountsResponseClass
22
+ */
23
+ export interface ListBankAccountsResponseClass {
24
+ /**
25
+ * Bank accounts
26
+ * @type {Array<BankAccountClass>}
27
+ * @memberof ListBankAccountsResponseClass
28
+ */
29
+ 'items': Array<BankAccountClass>;
30
+ /**
31
+ * Next page token.
32
+ * @type {string}
33
+ * @memberof ListBankAccountsResponseClass
34
+ */
35
+ 'nextPageToken': string;
36
+ }
37
+
@@ -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 { PaymentMethodClass } from './payment-method-class';
17
+
18
+ /**
19
+ *
20
+ * @export
21
+ * @interface ListPaymentMethodsResponseClass
22
+ */
23
+ export interface ListPaymentMethodsResponseClass {
24
+ /**
25
+ * Payment methods
26
+ * @type {Array<PaymentMethodClass>}
27
+ * @memberof ListPaymentMethodsResponseClass
28
+ */
29
+ 'items': Array<PaymentMethodClass>;
30
+ /**
31
+ * Next page token
32
+ * @type {string}
33
+ * @memberof ListPaymentMethodsResponseClass
34
+ */
35
+ 'nextPageToken': string;
36
+ }
37
+
@@ -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
+
@@ -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 { PaymentClass } from './payment-class';
17
+
18
+ /**
19
+ *
20
+ * @export
21
+ * @interface ListPaymentsResponseClass
22
+ */
23
+ export interface ListPaymentsResponseClass {
24
+ /**
25
+ * Payments
26
+ * @type {Array<PaymentClass>}
27
+ * @memberof ListPaymentsResponseClass
28
+ */
29
+ 'items': Array<PaymentClass>;
30
+ /**
31
+ * Next page token
32
+ * @type {string}
33
+ * @memberof ListPaymentsResponseClass
34
+ */
35
+ 'nextPageToken': string;
36
+ }
37
+
@@ -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 { RefundClass } from './refund-class';
17
+
18
+ /**
19
+ *
20
+ * @export
21
+ * @interface ListRefundsResponseClass
22
+ */
23
+ export interface ListRefundsResponseClass {
24
+ /**
25
+ * The list of refundss.
26
+ * @type {Array<RefundClass>}
27
+ * @memberof ListRefundsResponseClass
28
+ */
29
+ 'items': Array<RefundClass>;
30
+ /**
31
+ * Next page token
32
+ * @type {string}
33
+ * @memberof ListRefundsResponseClass
34
+ */
35
+ 'nextPageToken': string;
36
+ }
37
+
@@ -0,0 +1,109 @@
1
+ /* tslint:disable */
2
+ /* eslint-disable */
3
+ /**
4
+ * Emil Payment Service
5
+ * This service directly communicates with the various Payment Service Providers (PSPs) in order to charge or refund customers. This service will automatically connect to the PSP linked in your admin configuration; meaning if you configured Stripe, it will automatically create a payment on Stripe when you create it in Emil.
6
+ *
7
+ * The version of the OpenAPI document: 1.0
8
+ * Contact: kontakt@emil.de
9
+ *
10
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
+ * https://openapi-generator.tech
12
+ * Do not edit the class manually.
13
+ */
14
+
15
+
16
+ import { TransactionClass } from './transaction-class';
17
+
18
+ /**
19
+ *
20
+ * @export
21
+ * @interface PaymentClass
22
+ */
23
+ export interface PaymentClass {
24
+ /**
25
+ * Internal unique identifier for the object. You should not have to use this, use code instead.
26
+ * @type {number}
27
+ * @memberof PaymentClass
28
+ */
29
+ 'id': number;
30
+ /**
31
+ * Unique identifier for the object.
32
+ * @type {string}
33
+ * @memberof PaymentClass
34
+ */
35
+ 'code': string;
36
+ /**
37
+ * Payment Service Provider with which the payment is done.
38
+ * @type {string}
39
+ * @memberof PaymentClass
40
+ */
41
+ 'psp': string;
42
+ /**
43
+ * User account code associated to that payment.
44
+ * @type {string}
45
+ * @memberof PaymentClass
46
+ */
47
+ 'accountCode': string;
48
+ /**
49
+ * Amount to be paid in cents. 100 to charge 1€.
50
+ * @type {number}
51
+ * @memberof PaymentClass
52
+ */
53
+ 'amount': number;
54
+ /**
55
+ * Invoices referenced in this payment. Usually, one payment has one invoice id but it is possible to pay multiple invoices at once with a single payment.
56
+ * @type {Array<string>}
57
+ * @memberof PaymentClass
58
+ */
59
+ 'invoiceIds': Array<string>;
60
+ /**
61
+ * Time at which the object was created.
62
+ * @type {string}
63
+ * @memberof PaymentClass
64
+ */
65
+ 'createdAt': string;
66
+ /**
67
+ * Transactions referenced by this payment.
68
+ * @type {Array<TransactionClass>}
69
+ * @memberof PaymentClass
70
+ */
71
+ 'transactions'?: Array<TransactionClass>;
72
+ /**
73
+ * Optional field contain extra information.
74
+ * @type {object}
75
+ * @memberof PaymentClass
76
+ */
77
+ 'metadata': object;
78
+ /**
79
+ * A slug is a human-readable, unique identifier, used to identify a resource instead of a less human-readable identifier like an id.
80
+ * @type {string}
81
+ * @memberof PaymentClass
82
+ */
83
+ 'productSlug'?: string;
84
+ /**
85
+ * User who created the payment.
86
+ * @type {string}
87
+ * @memberof PaymentClass
88
+ */
89
+ 'createdBy': string;
90
+ /**
91
+ * Time at which the payment was actually received.
92
+ * @type {string}
93
+ * @memberof PaymentClass
94
+ */
95
+ 'receivedDate': string;
96
+ /**
97
+ * Reference number of the payment.
98
+ * @type {string}
99
+ * @memberof PaymentClass
100
+ */
101
+ 'referenceNumber'?: string;
102
+ /**
103
+ * Comment on this payment
104
+ * @type {string}
105
+ * @memberof PaymentClass
106
+ */
107
+ 'comment'?: string;
108
+ }
109
+