@emilgroup/payment-sdk 1.0.0 → 1.4.1-beta.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (178) hide show
  1. package/.openapi-generator/FILES +15 -30
  2. package/README.md +2 -2
  3. package/api/bank-accounts-api.ts +21 -25
  4. package/api/bank-transaction-api.ts +657 -0
  5. package/api/default-api.ts +1 -1
  6. package/api/payment-methods-api.ts +42 -46
  7. package/api/payment-reminders-api.ts +17 -19
  8. package/api/payment-setup-api.ts +29 -37
  9. package/api/payments-api.ts +30 -32
  10. package/api/refunds-api.ts +462 -0
  11. package/api/tenant-bank-account-api.ts +651 -0
  12. package/api/webhooks-api.ts +1 -1
  13. package/api.ts +7 -3
  14. package/base.ts +2 -1
  15. package/common.ts +2 -2
  16. package/configuration.ts +1 -1
  17. package/dist/api/bank-accounts-api.d.ts +17 -19
  18. package/dist/api/bank-accounts-api.js +16 -16
  19. package/dist/api/bank-transaction-api.d.ts +371 -0
  20. package/dist/api/bank-transaction-api.js +632 -0
  21. package/dist/api/default-api.d.ts +1 -1
  22. package/dist/api/default-api.js +1 -1
  23. package/dist/api/payment-methods-api.d.ts +32 -36
  24. package/dist/api/payment-methods-api.js +32 -28
  25. package/dist/api/payment-reminders-api.d.ts +21 -22
  26. package/dist/api/payment-reminders-api.js +8 -8
  27. package/dist/api/payment-setup-api.d.ts +19 -23
  28. package/dist/api/payment-setup-api.js +25 -25
  29. package/dist/api/payments-api.d.ts +26 -29
  30. package/dist/api/payments-api.js +20 -16
  31. package/dist/api/refunds-api.d.ts +260 -0
  32. package/dist/api/refunds-api.js +443 -0
  33. package/dist/api/tenant-bank-account-api.d.ts +361 -0
  34. package/dist/api/tenant-bank-account-api.js +616 -0
  35. package/dist/api/webhooks-api.d.ts +1 -1
  36. package/dist/api/webhooks-api.js +1 -1
  37. package/dist/api.d.ts +4 -2
  38. package/dist/api.js +4 -2
  39. package/dist/base.d.ts +1 -1
  40. package/dist/base.js +2 -1
  41. package/dist/common.d.ts +2 -2
  42. package/dist/common.js +1 -1
  43. package/dist/configuration.d.ts +1 -1
  44. package/dist/configuration.js +1 -1
  45. package/dist/index.d.ts +1 -1
  46. package/dist/index.js +1 -1
  47. package/dist/models/bank-transaction-response-class.d.ts +122 -0
  48. package/dist/models/{bank-account-class.js → bank-transaction-response-class.js} +1 -1
  49. package/dist/models/create-payment-reminder-request-dto.d.ts +1 -1
  50. package/dist/models/create-payment-reminder-request-dto.js +1 -1
  51. package/dist/models/create-payment-request-dto.d.ts +3 -3
  52. package/dist/models/create-payment-request-dto.js +1 -1
  53. package/dist/models/{sepa-direct-dto.d.ts → create-refund-request-dto.d.ts} +6 -6
  54. package/dist/models/{complete-braintree-payment-setup-request-dto.js → create-refund-request-dto.js} +1 -1
  55. package/dist/models/{validate-pspconfig-response-class.d.ts → create-refund-response-class.d.ts} +8 -7
  56. package/dist/models/{billing-profile-dto.js → create-refund-response-class.js} +1 -1
  57. package/dist/models/{billing-profile-limited-response-dto.d.ts → create-tenant-bank-account-request-dto.d.ts} +15 -27
  58. package/dist/models/{billing-profile-limited-response-dto.js → create-tenant-bank-account-request-dto.js} +1 -1
  59. package/dist/models/deactivate-payment-reminder-request-dto.d.ts +1 -1
  60. package/dist/models/deactivate-payment-reminder-request-dto.js +1 -1
  61. package/dist/models/{get-payment-method-response-class.d.ts → get-bank-transactions-response-class.d.ts} +8 -8
  62. package/dist/models/get-bank-transactions-response-class.js +15 -0
  63. package/dist/models/{get-payment-response-class.d.ts → get-refund-response-class.d.ts} +8 -8
  64. package/dist/models/get-refund-response-class.js +15 -0
  65. package/dist/models/get-request-dto.d.ts +2 -2
  66. package/dist/models/get-request-dto.js +1 -1
  67. package/dist/models/{create-bank-account-request-dto.d.ts → get-tenant-bank-account-response-class.d.ts} +8 -13
  68. package/dist/models/get-tenant-bank-account-response-class.js +15 -0
  69. package/dist/models/index.d.ts +12 -29
  70. package/dist/models/index.js +12 -29
  71. package/dist/models/inline-response200.d.ts +7 -7
  72. package/dist/models/inline-response200.js +1 -1
  73. package/dist/models/inline-response503.d.ts +7 -7
  74. package/dist/models/inline-response503.js +1 -1
  75. package/dist/models/{list-payment-methods-response-class.d.ts → list-bank-transactions-response-class.d.ts} +9 -9
  76. package/dist/models/list-bank-transactions-response-class.js +15 -0
  77. package/dist/models/{list-payments-response-class.d.ts → list-refunds-response-class.d.ts} +9 -9
  78. package/dist/models/list-refunds-response-class.js +15 -0
  79. package/dist/models/refund-class.d.ts +104 -0
  80. package/dist/models/refund-class.js +28 -0
  81. package/dist/models/{payment-method-class.d.ts → tenant-bank-account-response-class.d.ts} +25 -19
  82. package/dist/models/tenant-bank-account-response-class.js +15 -0
  83. package/dist/models/transaction-class.d.ts +1 -1
  84. package/dist/models/transaction-class.js +1 -1
  85. package/dist/models/{symphony-profile-limited-response-dto.d.ts → update-tenant-bank-account-rest-request-dto.d.ts} +12 -18
  86. package/dist/models/update-tenant-bank-account-rest-request-dto.js +15 -0
  87. package/dist/models/validate-pspconfig-request-dto.d.ts +2 -9
  88. package/dist/models/validate-pspconfig-request-dto.js +1 -8
  89. package/git_push.sh +1 -1
  90. package/index.ts +1 -1
  91. package/models/bank-transaction-response-class.ts +128 -0
  92. package/models/create-payment-reminder-request-dto.ts +1 -1
  93. package/models/create-payment-request-dto.ts +3 -3
  94. package/models/{sepa-direct-dto.ts → create-refund-request-dto.ts} +6 -6
  95. package/models/{validate-pspconfig-response-class.ts → create-refund-response-class.ts} +8 -7
  96. package/models/{billing-profile-limited-response-dto.ts → create-tenant-bank-account-request-dto.ts} +15 -27
  97. package/models/deactivate-payment-reminder-request-dto.ts +1 -1
  98. package/models/{get-payment-method-response-class.ts → get-bank-transactions-response-class.ts} +8 -8
  99. package/models/{get-payment-response-class.ts → get-refund-response-class.ts} +8 -8
  100. package/models/get-request-dto.ts +2 -2
  101. package/models/{create-bank-account-request-dto.ts → get-tenant-bank-account-response-class.ts} +8 -13
  102. package/models/index.ts +12 -29
  103. package/models/inline-response200.ts +7 -7
  104. package/models/inline-response503.ts +7 -7
  105. package/models/{list-payment-methods-response-class.ts → list-bank-transactions-response-class.ts} +9 -9
  106. package/models/{list-payments-response-class.ts → list-refunds-response-class.ts} +9 -9
  107. package/models/refund-class.ts +114 -0
  108. package/models/{payment-method-class.ts → tenant-bank-account-response-class.ts} +25 -19
  109. package/models/transaction-class.ts +1 -1
  110. package/models/{symphony-profile-limited-response-dto.ts → update-tenant-bank-account-rest-request-dto.ts} +12 -18
  111. package/models/validate-pspconfig-request-dto.ts +2 -12
  112. package/package.json +1 -2
  113. package/api/payment-service-providers-api.ts +0 -161
  114. package/dist/api/payment-service-providers-api.d.ts +0 -93
  115. package/dist/api/payment-service-providers-api.js +0 -220
  116. package/dist/models/bank-account-class.d.ts +0 -54
  117. package/dist/models/billing-profile-dto.d.ts +0 -38
  118. package/dist/models/complete-braintree-payment-setup-request-dto.d.ts +0 -48
  119. package/dist/models/complete-payment-setup-request-dto.d.ts +0 -32
  120. package/dist/models/complete-payment-setup-request-dto.js +0 -15
  121. package/dist/models/complete-payment-setup-response-class.d.ts +0 -25
  122. package/dist/models/complete-payment-setup-response-class.js +0 -15
  123. package/dist/models/complete-stripe-payment-setup-request-dto.d.ts +0 -60
  124. package/dist/models/complete-stripe-payment-setup-request-dto.js +0 -15
  125. package/dist/models/create-bank-account-request-dto.js +0 -15
  126. package/dist/models/create-payment-method-response-class.d.ts +0 -25
  127. package/dist/models/create-payment-method-response-class.js +0 -15
  128. package/dist/models/create-payment-response-class.d.ts +0 -25
  129. package/dist/models/create-payment-response-class.js +0 -15
  130. package/dist/models/create-psp-payment-method-request-dto.d.ts +0 -61
  131. package/dist/models/create-psp-payment-method-request-dto.js +0 -32
  132. package/dist/models/get-payment-method-response-class.js +0 -15
  133. package/dist/models/get-payment-response-class.js +0 -15
  134. package/dist/models/initiate-braintree-payment-setup-request-dto.d.ts +0 -30
  135. package/dist/models/initiate-braintree-payment-setup-request-dto.js +0 -15
  136. package/dist/models/initiate-braintree-payment-setup-response-class.d.ts +0 -24
  137. package/dist/models/initiate-braintree-payment-setup-response-class.js +0 -15
  138. package/dist/models/initiate-payment-setup-request-dto.d.ts +0 -44
  139. package/dist/models/initiate-payment-setup-request-dto.js +0 -15
  140. package/dist/models/initiate-payment-setup-response-class.d.ts +0 -32
  141. package/dist/models/initiate-payment-setup-response-class.js +0 -15
  142. package/dist/models/initiate-stripe-payment-setup-request-dto.d.ts +0 -30
  143. package/dist/models/initiate-stripe-payment-setup-request-dto.js +0 -15
  144. package/dist/models/initiate-stripe-payment-setup-response-class.d.ts +0 -30
  145. package/dist/models/initiate-stripe-payment-setup-response-class.js +0 -15
  146. package/dist/models/list-bank-accounts-response-class.d.ts +0 -31
  147. package/dist/models/list-bank-accounts-response-class.js +0 -15
  148. package/dist/models/list-payment-methods-response-class.js +0 -15
  149. package/dist/models/list-payment-reminders-response-class.d.ts +0 -31
  150. package/dist/models/list-payment-reminders-response-class.js +0 -15
  151. package/dist/models/list-payments-response-class.js +0 -15
  152. package/dist/models/payment-class.d.ts +0 -103
  153. package/dist/models/payment-class.js +0 -15
  154. package/dist/models/payment-method-class.js +0 -15
  155. package/dist/models/payment-reminder-class.d.ts +0 -112
  156. package/dist/models/payment-reminder-class.js +0 -36
  157. package/dist/models/sepa-direct-dto.js +0 -15
  158. package/dist/models/symphony-profile-limited-response-dto.js +0 -15
  159. package/dist/models/validate-pspconfig-response-class.js +0 -15
  160. package/models/bank-account-class.ts +0 -60
  161. package/models/billing-profile-dto.ts +0 -44
  162. package/models/complete-braintree-payment-setup-request-dto.ts +0 -54
  163. package/models/complete-payment-setup-request-dto.ts +0 -38
  164. package/models/complete-payment-setup-response-class.ts +0 -31
  165. package/models/complete-stripe-payment-setup-request-dto.ts +0 -66
  166. package/models/create-payment-method-response-class.ts +0 -31
  167. package/models/create-payment-response-class.ts +0 -31
  168. package/models/create-psp-payment-method-request-dto.ts +0 -70
  169. package/models/initiate-braintree-payment-setup-request-dto.ts +0 -36
  170. package/models/initiate-braintree-payment-setup-response-class.ts +0 -30
  171. package/models/initiate-payment-setup-request-dto.ts +0 -50
  172. package/models/initiate-payment-setup-response-class.ts +0 -38
  173. package/models/initiate-stripe-payment-setup-request-dto.ts +0 -36
  174. package/models/initiate-stripe-payment-setup-response-class.ts +0 -36
  175. package/models/list-bank-accounts-response-class.ts +0 -37
  176. package/models/list-payment-reminders-response-class.ts +0 -37
  177. package/models/payment-class.ts +0 -109
  178. package/models/payment-reminder-class.ts +0 -122
@@ -3,28 +3,23 @@
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
- * Contact: kontakt@emil.de
6
+ * Contact: z
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
9
  * https://openapi-generator.tech
10
10
  * Do not edit the class manually.
11
11
  */
12
+ import { TenantBankAccountResponseClass } from './tenant-bank-account-response-class';
12
13
  /**
13
14
  *
14
15
  * @export
15
- * @interface CreateBankAccountRequestDto
16
+ * @interface GetTenantBankAccountResponseClass
16
17
  */
17
- export interface CreateBankAccountRequestDto {
18
+ export interface GetTenantBankAccountResponseClass {
18
19
  /**
19
- *
20
- * @type {string}
21
- * @memberof CreateBankAccountRequestDto
20
+ * Tenant Bank Account
21
+ * @type {TenantBankAccountResponseClass}
22
+ * @memberof GetTenantBankAccountResponseClass
22
23
  */
23
- 'accountCode': string;
24
- /**
25
- *
26
- * @type {string}
27
- * @memberof CreateBankAccountRequestDto
28
- */
29
- 'iban': string;
24
+ 'bankAccount': TenantBankAccountResponseClass;
30
25
  }
@@ -0,0 +1,15 @@
1
+ "use strict";
2
+ /* tslint:disable */
3
+ /* eslint-disable */
4
+ /**
5
+ * Emil Payment Service
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
+ *
8
+ * The version of the OpenAPI document: 1.0
9
+ * Contact: z
10
+ *
11
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
12
+ * https://openapi-generator.tech
13
+ * Do not edit the class manually.
14
+ */
15
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -1,37 +1,20 @@
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';
1
+ export * from './bank-transaction-response-class';
10
2
  export * from './create-payment-reminder-request-dto';
11
3
  export * from './create-payment-request-dto';
12
- export * from './create-payment-response-class';
13
- export * from './create-psp-payment-method-request-dto';
4
+ export * from './create-refund-request-dto';
5
+ export * from './create-refund-response-class';
6
+ export * from './create-tenant-bank-account-request-dto';
14
7
  export * from './deactivate-payment-reminder-request-dto';
15
- export * from './get-payment-method-response-class';
16
- export * from './get-payment-response-class';
8
+ export * from './get-bank-transactions-response-class';
9
+ export * from './get-refund-response-class';
17
10
  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';
11
+ export * from './get-tenant-bank-account-response-class';
24
12
  export * from './inline-response200';
25
13
  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';
14
+ export * from './list-bank-transactions-response-class';
15
+ export * from './list-refunds-response-class';
16
+ export * from './refund-class';
17
+ export * from './tenant-bank-account-response-class';
35
18
  export * from './transaction-class';
19
+ export * from './update-tenant-bank-account-rest-request-dto';
36
20
  export * from './validate-pspconfig-request-dto';
37
- export * from './validate-pspconfig-response-class';
@@ -14,40 +14,23 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
14
14
  for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
15
15
  };
16
16
  Object.defineProperty(exports, "__esModule", { value: true });
17
- __exportStar(require("./bank-account-class"), exports);
18
- __exportStar(require("./billing-profile-dto"), exports);
19
- __exportStar(require("./billing-profile-limited-response-dto"), exports);
20
- __exportStar(require("./complete-braintree-payment-setup-request-dto"), exports);
21
- __exportStar(require("./complete-payment-setup-request-dto"), exports);
22
- __exportStar(require("./complete-payment-setup-response-class"), exports);
23
- __exportStar(require("./complete-stripe-payment-setup-request-dto"), exports);
24
- __exportStar(require("./create-bank-account-request-dto"), exports);
25
- __exportStar(require("./create-payment-method-response-class"), exports);
17
+ __exportStar(require("./bank-transaction-response-class"), exports);
26
18
  __exportStar(require("./create-payment-reminder-request-dto"), exports);
27
19
  __exportStar(require("./create-payment-request-dto"), exports);
28
- __exportStar(require("./create-payment-response-class"), exports);
29
- __exportStar(require("./create-psp-payment-method-request-dto"), exports);
20
+ __exportStar(require("./create-refund-request-dto"), exports);
21
+ __exportStar(require("./create-refund-response-class"), exports);
22
+ __exportStar(require("./create-tenant-bank-account-request-dto"), exports);
30
23
  __exportStar(require("./deactivate-payment-reminder-request-dto"), exports);
31
- __exportStar(require("./get-payment-method-response-class"), exports);
32
- __exportStar(require("./get-payment-response-class"), exports);
24
+ __exportStar(require("./get-bank-transactions-response-class"), exports);
25
+ __exportStar(require("./get-refund-response-class"), exports);
33
26
  __exportStar(require("./get-request-dto"), exports);
34
- __exportStar(require("./initiate-braintree-payment-setup-request-dto"), exports);
35
- __exportStar(require("./initiate-braintree-payment-setup-response-class"), exports);
36
- __exportStar(require("./initiate-payment-setup-request-dto"), exports);
37
- __exportStar(require("./initiate-payment-setup-response-class"), exports);
38
- __exportStar(require("./initiate-stripe-payment-setup-request-dto"), exports);
39
- __exportStar(require("./initiate-stripe-payment-setup-response-class"), exports);
27
+ __exportStar(require("./get-tenant-bank-account-response-class"), exports);
40
28
  __exportStar(require("./inline-response200"), exports);
41
29
  __exportStar(require("./inline-response503"), exports);
42
- __exportStar(require("./list-bank-accounts-response-class"), exports);
43
- __exportStar(require("./list-payment-methods-response-class"), exports);
44
- __exportStar(require("./list-payment-reminders-response-class"), exports);
45
- __exportStar(require("./list-payments-response-class"), exports);
46
- __exportStar(require("./payment-class"), exports);
47
- __exportStar(require("./payment-method-class"), exports);
48
- __exportStar(require("./payment-reminder-class"), exports);
49
- __exportStar(require("./sepa-direct-dto"), exports);
50
- __exportStar(require("./symphony-profile-limited-response-dto"), exports);
30
+ __exportStar(require("./list-bank-transactions-response-class"), exports);
31
+ __exportStar(require("./list-refunds-response-class"), exports);
32
+ __exportStar(require("./refund-class"), exports);
33
+ __exportStar(require("./tenant-bank-account-response-class"), exports);
51
34
  __exportStar(require("./transaction-class"), exports);
35
+ __exportStar(require("./update-tenant-bank-account-rest-request-dto"), exports);
52
36
  __exportStar(require("./validate-pspconfig-request-dto"), exports);
53
- __exportStar(require("./validate-pspconfig-response-class"), exports);
@@ -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
- * Contact: kontakt@emil.de
6
+ * Contact: z
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
9
  * https://openapi-generator.tech
@@ -23,32 +23,32 @@ export interface InlineResponse200 {
23
23
  'status'?: string;
24
24
  /**
25
25
  *
26
- * @type {{ [key: string]: { [key: string]: string; }; }}
26
+ * @type {{ [key: string]: { [key: string]: object; }; }}
27
27
  * @memberof InlineResponse200
28
28
  */
29
29
  'info'?: {
30
30
  [key: string]: {
31
- [key: string]: string;
31
+ [key: string]: object;
32
32
  };
33
33
  } | null;
34
34
  /**
35
35
  *
36
- * @type {{ [key: string]: { [key: string]: string; }; }}
36
+ * @type {{ [key: string]: { [key: string]: object; }; }}
37
37
  * @memberof InlineResponse200
38
38
  */
39
39
  'error'?: {
40
40
  [key: string]: {
41
- [key: string]: string;
41
+ [key: string]: object;
42
42
  };
43
43
  } | null;
44
44
  /**
45
45
  *
46
- * @type {{ [key: string]: { [key: string]: string; }; }}
46
+ * @type {{ [key: string]: { [key: string]: object; }; }}
47
47
  * @memberof InlineResponse200
48
48
  */
49
49
  'details'?: {
50
50
  [key: string]: {
51
- [key: string]: string;
51
+ [key: string]: object;
52
52
  };
53
53
  };
54
54
  }
@@ -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
- * Contact: kontakt@emil.de
9
+ * Contact: z
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
- * Contact: kontakt@emil.de
6
+ * Contact: z
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
9
  * https://openapi-generator.tech
@@ -23,32 +23,32 @@ export interface InlineResponse503 {
23
23
  'status'?: string;
24
24
  /**
25
25
  *
26
- * @type {{ [key: string]: { [key: string]: string; }; }}
26
+ * @type {{ [key: string]: { [key: string]: object; }; }}
27
27
  * @memberof InlineResponse503
28
28
  */
29
29
  'info'?: {
30
30
  [key: string]: {
31
- [key: string]: string;
31
+ [key: string]: object;
32
32
  };
33
33
  } | null;
34
34
  /**
35
35
  *
36
- * @type {{ [key: string]: { [key: string]: string; }; }}
36
+ * @type {{ [key: string]: { [key: string]: object; }; }}
37
37
  * @memberof InlineResponse503
38
38
  */
39
39
  'error'?: {
40
40
  [key: string]: {
41
- [key: string]: string;
41
+ [key: string]: object;
42
42
  };
43
43
  } | null;
44
44
  /**
45
45
  *
46
- * @type {{ [key: string]: { [key: string]: string; }; }}
46
+ * @type {{ [key: string]: { [key: string]: object; }; }}
47
47
  * @memberof InlineResponse503
48
48
  */
49
49
  'details'?: {
50
50
  [key: string]: {
51
- [key: string]: string;
51
+ [key: string]: object;
52
52
  };
53
53
  };
54
54
  }
@@ -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
- * Contact: kontakt@emil.de
9
+ * Contact: z
10
10
  *
11
11
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
12
12
  * https://openapi-generator.tech
@@ -3,29 +3,29 @@
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
- * Contact: kontakt@emil.de
6
+ * Contact: z
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
9
  * https://openapi-generator.tech
10
10
  * Do not edit the class manually.
11
11
  */
12
- import { PaymentMethodClass } from './payment-method-class';
12
+ import { BankTransactionResponseClass } from './bank-transaction-response-class';
13
13
  /**
14
14
  *
15
15
  * @export
16
- * @interface ListPaymentMethodsResponseClass
16
+ * @interface ListBankTransactionsResponseClass
17
17
  */
18
- export interface ListPaymentMethodsResponseClass {
18
+ export interface ListBankTransactionsResponseClass {
19
19
  /**
20
- * Payment methods
21
- * @type {Array<PaymentMethodClass>}
22
- * @memberof ListPaymentMethodsResponseClass
20
+ * The list of bankTransactionss.
21
+ * @type {Array<BankTransactionResponseClass>}
22
+ * @memberof ListBankTransactionsResponseClass
23
23
  */
24
- 'items': Array<PaymentMethodClass>;
24
+ 'items': Array<BankTransactionResponseClass>;
25
25
  /**
26
26
  * Next page token
27
27
  * @type {string}
28
- * @memberof ListPaymentMethodsResponseClass
28
+ * @memberof ListBankTransactionsResponseClass
29
29
  */
30
30
  'nextPageToken': string;
31
31
  }
@@ -0,0 +1,15 @@
1
+ "use strict";
2
+ /* tslint:disable */
3
+ /* eslint-disable */
4
+ /**
5
+ * Emil Payment Service
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
+ *
8
+ * The version of the OpenAPI document: 1.0
9
+ * Contact: z
10
+ *
11
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
12
+ * https://openapi-generator.tech
13
+ * Do not edit the class manually.
14
+ */
15
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -3,29 +3,29 @@
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
- * Contact: kontakt@emil.de
6
+ * Contact: z
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
9
  * https://openapi-generator.tech
10
10
  * Do not edit the class manually.
11
11
  */
12
- import { PaymentClass } from './payment-class';
12
+ import { RefundClass } from './refund-class';
13
13
  /**
14
14
  *
15
15
  * @export
16
- * @interface ListPaymentsResponseClass
16
+ * @interface ListRefundsResponseClass
17
17
  */
18
- export interface ListPaymentsResponseClass {
18
+ export interface ListRefundsResponseClass {
19
19
  /**
20
- * Payments
21
- * @type {Array<PaymentClass>}
22
- * @memberof ListPaymentsResponseClass
20
+ * The list of refundss.
21
+ * @type {Array<RefundClass>}
22
+ * @memberof ListRefundsResponseClass
23
23
  */
24
- 'items': Array<PaymentClass>;
24
+ 'items': Array<RefundClass>;
25
25
  /**
26
26
  * Next page token
27
27
  * @type {string}
28
- * @memberof ListPaymentsResponseClass
28
+ * @memberof ListRefundsResponseClass
29
29
  */
30
30
  'nextPageToken': string;
31
31
  }
@@ -0,0 +1,15 @@
1
+ "use strict";
2
+ /* tslint:disable */
3
+ /* eslint-disable */
4
+ /**
5
+ * Emil Payment Service
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
+ *
8
+ * The version of the OpenAPI document: 1.0
9
+ * Contact: z
10
+ *
11
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
12
+ * https://openapi-generator.tech
13
+ * Do not edit the class manually.
14
+ */
15
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,104 @@
1
+ /**
2
+ * Emil Payment Service
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
+ *
5
+ * The version of the OpenAPI document: 1.0
6
+ * Contact: z
7
+ *
8
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
+ * https://openapi-generator.tech
10
+ * Do not edit the class manually.
11
+ */
12
+ /**
13
+ *
14
+ * @export
15
+ * @interface RefundClass
16
+ */
17
+ export interface RefundClass {
18
+ /**
19
+ * Internal unique identifier for the object. You should not have to use this, use code instead.
20
+ * @type {number}
21
+ * @memberof RefundClass
22
+ */
23
+ 'id': number;
24
+ /**
25
+ * Unique identifier for the object.
26
+ * @type {string}
27
+ * @memberof RefundClass
28
+ */
29
+ 'code': string;
30
+ /**
31
+ * Payment Service Provider with which the payment/refund is done.
32
+ * @type {string}
33
+ * @memberof RefundClass
34
+ */
35
+ 'psp': string;
36
+ /**
37
+ * User account code associated with the payment.
38
+ * @type {string}
39
+ * @memberof RefundClass
40
+ */
41
+ 'accountCode': string;
42
+ /**
43
+ * Amount that was refunded in cents. 100 to refund 1€.
44
+ * @type {number}
45
+ * @memberof RefundClass
46
+ */
47
+ 'amount': number;
48
+ /**
49
+ * Invoice referenced in this refund. Usually, one refund is connected to one withdraw/termination/correction invoice .
50
+ * @type {string}
51
+ * @memberof RefundClass
52
+ */
53
+ 'invoiceCode': string;
54
+ /**
55
+ * Time at which the object was created.
56
+ * @type {string}
57
+ * @memberof RefundClass
58
+ */
59
+ 'createdAt': string;
60
+ /**
61
+ * Time at which the object was updated.
62
+ * @type {string}
63
+ * @memberof RefundClass
64
+ */
65
+ 'updatedAt': string;
66
+ /**
67
+ * Currency of the amount refunded.
68
+ * @type {string}
69
+ * @memberof RefundClass
70
+ */
71
+ 'currency': string;
72
+ /**
73
+ * Reason for the refund.
74
+ * @type {string}
75
+ * @memberof RefundClass
76
+ */
77
+ 'reason': RefundClassReasonEnum;
78
+ /**
79
+ * Status of the refund.
80
+ * @type {string}
81
+ * @memberof RefundClass
82
+ */
83
+ 'status': RefundClassStatusEnum;
84
+ /**
85
+ * Items that were refunded.
86
+ * @type {Array<string>}
87
+ * @memberof RefundClass
88
+ */
89
+ 'refundItems': Array<string>;
90
+ }
91
+ export declare const RefundClassReasonEnum: {
92
+ readonly PolicyWithdrawn: "POLICY_WITHDRAWN";
93
+ readonly PolicyTerminated: "POLICY_TERMINATED";
94
+ readonly PolicyCorrected: "POLICY_CORRECTED";
95
+ readonly ManualRefund: "MANUAL_REFUND";
96
+ };
97
+ export type RefundClassReasonEnum = typeof RefundClassReasonEnum[keyof typeof RefundClassReasonEnum];
98
+ export declare const RefundClassStatusEnum: {
99
+ readonly Pending: "pending";
100
+ readonly Succeeded: "succeeded";
101
+ readonly Failed: "failed";
102
+ readonly Canceled: "canceled";
103
+ };
104
+ export type RefundClassStatusEnum = typeof RefundClassStatusEnum[keyof typeof RefundClassStatusEnum];
@@ -0,0 +1,28 @@
1
+ "use strict";
2
+ /* tslint:disable */
3
+ /* eslint-disable */
4
+ /**
5
+ * Emil Payment Service
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
+ *
8
+ * The version of the OpenAPI document: 1.0
9
+ * Contact: z
10
+ *
11
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
12
+ * https://openapi-generator.tech
13
+ * Do not edit the class manually.
14
+ */
15
+ Object.defineProperty(exports, "__esModule", { value: true });
16
+ exports.RefundClassStatusEnum = exports.RefundClassReasonEnum = void 0;
17
+ exports.RefundClassReasonEnum = {
18
+ PolicyWithdrawn: 'POLICY_WITHDRAWN',
19
+ PolicyTerminated: 'POLICY_TERMINATED',
20
+ PolicyCorrected: 'POLICY_CORRECTED',
21
+ ManualRefund: 'MANUAL_REFUND'
22
+ };
23
+ exports.RefundClassStatusEnum = {
24
+ Pending: 'pending',
25
+ Succeeded: 'succeeded',
26
+ Failed: 'failed',
27
+ Canceled: 'canceled'
28
+ };
@@ -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
- * Contact: kontakt@emil.de
6
+ * Contact: z
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
9
  * https://openapi-generator.tech
@@ -12,49 +12,55 @@
12
12
  /**
13
13
  *
14
14
  * @export
15
- * @interface PaymentMethodClass
15
+ * @interface TenantBankAccountResponseClass
16
16
  */
17
- export interface PaymentMethodClass {
17
+ export interface TenantBankAccountResponseClass {
18
18
  /**
19
19
  * Internal unique identifier for the object. You should not have to use this, use code instead.
20
20
  * @type {number}
21
- * @memberof PaymentMethodClass
21
+ * @memberof TenantBankAccountResponseClass
22
22
  */
23
23
  'id': number;
24
24
  /**
25
25
  * Unique identifier for the object.
26
26
  * @type {string}
27
- * @memberof PaymentMethodClass
27
+ * @memberof TenantBankAccountResponseClass
28
28
  */
29
29
  'code': string;
30
30
  /**
31
- * A unique identifier generated by the payment service provider for this payment method.
31
+ * IBAN number for the bank account
32
32
  * @type {string}
33
- * @memberof PaymentMethodClass
33
+ * @memberof TenantBankAccountResponseClass
34
34
  */
35
- 'providerToken': string;
35
+ 'iban': string;
36
36
  /**
37
- * Customer identifier for the payment service provider.
37
+ * Name of the account given by the user - to quickly identify the account
38
38
  * @type {string}
39
- * @memberof PaymentMethodClass
39
+ * @memberof TenantBankAccountResponseClass
40
40
  */
41
- 'pspCustomerId': string;
41
+ 'accountName': string;
42
42
  /**
43
- * The payment service provider used by this payment method.
43
+ * Name of the bank the account belongs to
44
44
  * @type {string}
45
- * @memberof PaymentMethodClass
45
+ * @memberof TenantBankAccountResponseClass
46
46
  */
47
- 'psp': string;
47
+ 'bankName': string;
48
48
  /**
49
- * The payment method type.
49
+ * Number of the booking account this bank account belongs to
50
50
  * @type {string}
51
- * @memberof PaymentMethodClass
51
+ * @memberof TenantBankAccountResponseClass
52
52
  */
53
- 'type': string;
53
+ 'bookingAccount': string;
54
54
  /**
55
- * Created at
55
+ * Time at which the object was created.
56
56
  * @type {string}
57
- * @memberof PaymentMethodClass
57
+ * @memberof TenantBankAccountResponseClass
58
58
  */
59
59
  'createdAt': string;
60
+ /**
61
+ * Time at which the object was updated.
62
+ * @type {string}
63
+ * @memberof TenantBankAccountResponseClass
64
+ */
65
+ 'updatedAt': string;
60
66
  }
@@ -0,0 +1,15 @@
1
+ "use strict";
2
+ /* tslint:disable */
3
+ /* eslint-disable */
4
+ /**
5
+ * Emil Payment Service
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
+ *
8
+ * The version of the OpenAPI document: 1.0
9
+ * Contact: z
10
+ *
11
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
12
+ * https://openapi-generator.tech
13
+ * Do not edit the class manually.
14
+ */
15
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -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
- * Contact: kontakt@emil.de
6
+ * Contact: z
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
- * Contact: kontakt@emil.de
9
+ * Contact: z
10
10
  *
11
11
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
12
12
  * https://openapi-generator.tech