@emilgroup/payment-sdk 1.5.0 → 1.5.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 (182) hide show
  1. package/.openapi-generator/FILES +0 -50
  2. package/README.md +2 -2
  3. package/api/bank-accounts-api.ts +12 -20
  4. package/api/bank-transaction-api.ts +10 -20
  5. package/api/payment-methods-api.ts +18 -26
  6. package/api/payment-reminders-api.ts +8 -16
  7. package/api/payment-setup-api.ts +28 -36
  8. package/api/payments-api.ts +6 -12
  9. package/api/refunds-api.ts +6 -12
  10. package/api/webhooks-api.ts +21 -8
  11. package/dist/api/bank-accounts-api.d.ts +18 -22
  12. package/dist/api/bank-transaction-api.d.ts +15 -20
  13. package/dist/api/payment-methods-api.d.ts +15 -19
  14. package/dist/api/payment-methods-api.js +12 -12
  15. package/dist/api/payment-reminders-api.d.ts +12 -16
  16. package/dist/api/payment-setup-api.d.ts +18 -22
  17. package/dist/api/payment-setup-api.js +24 -24
  18. package/dist/api/payments-api.d.ts +9 -12
  19. package/dist/api/refunds-api.d.ts +9 -12
  20. package/dist/api/webhooks-api.d.ts +12 -3
  21. package/dist/api/webhooks-api.js +14 -8
  22. package/dist/models/create-bank-account-request-dto.d.ts +2 -2
  23. package/dist/models/create-payment-request-dto.d.ts +1 -1
  24. package/dist/models/index.d.ts +0 -50
  25. package/dist/models/index.js +0 -50
  26. package/dist/models/validate-pspconfig-request-dto.d.ts +1 -8
  27. package/dist/models/validate-pspconfig-request-dto.js +0 -7
  28. package/models/create-bank-account-request-dto.ts +2 -2
  29. package/models/create-payment-request-dto.ts +1 -1
  30. package/models/index.ts +0 -50
  31. package/models/validate-pspconfig-request-dto.ts +1 -11
  32. package/package.json +1 -1
  33. package/dist/models/bank-account-class-without-expand-properties.d.ts +0 -84
  34. package/dist/models/bank-account-class-without-expand-properties.js +0 -15
  35. package/dist/models/bank-account-class.d.ts +0 -91
  36. package/dist/models/bank-account-class.js +0 -15
  37. package/dist/models/bank-transaction-class.d.ts +0 -140
  38. package/dist/models/bank-transaction-class.js +0 -15
  39. package/dist/models/billing-profile-dto.d.ts +0 -38
  40. package/dist/models/billing-profile-dto.js +0 -15
  41. package/dist/models/billing-profile-limited-response-dto.d.ts +0 -54
  42. package/dist/models/billing-profile-limited-response-dto.js +0 -15
  43. package/dist/models/complete-braintree-payment-setup-request-dto.d.ts +0 -48
  44. package/dist/models/complete-braintree-payment-setup-request-dto.js +0 -15
  45. package/dist/models/complete-payment-setup-request-dto.d.ts +0 -32
  46. package/dist/models/complete-payment-setup-request-dto.js +0 -15
  47. package/dist/models/complete-payment-setup-response-class.d.ts +0 -25
  48. package/dist/models/complete-payment-setup-response-class.js +0 -15
  49. package/dist/models/complete-stripe-payment-setup-request-dto.d.ts +0 -77
  50. package/dist/models/complete-stripe-payment-setup-request-dto.js +0 -32
  51. package/dist/models/create-bank-account-response-class.d.ts +0 -25
  52. package/dist/models/create-bank-account-response-class.js +0 -15
  53. package/dist/models/create-payment-method-response-class.d.ts +0 -25
  54. package/dist/models/create-payment-method-response-class.js +0 -15
  55. package/dist/models/create-payment-reminder-response-class.d.ts +0 -25
  56. package/dist/models/create-payment-reminder-response-class.js +0 -15
  57. package/dist/models/create-payment-response-class.d.ts +0 -25
  58. package/dist/models/create-payment-response-class.js +0 -15
  59. package/dist/models/create-psp-payment-method-request-dto.d.ts +0 -61
  60. package/dist/models/create-psp-payment-method-request-dto.js +0 -32
  61. package/dist/models/create-refund-response-class.d.ts +0 -25
  62. package/dist/models/create-refund-response-class.js +0 -15
  63. package/dist/models/deactivate-payment-reminder-response-class.d.ts +0 -25
  64. package/dist/models/deactivate-payment-reminder-response-class.js +0 -15
  65. package/dist/models/deactivated-payment-reminder-class.d.ts +0 -102
  66. package/dist/models/deactivated-payment-reminder-class.js +0 -15
  67. package/dist/models/get-bank-account-response-class.d.ts +0 -25
  68. package/dist/models/get-bank-account-response-class.js +0 -15
  69. package/dist/models/get-bank-transactions-response-class.d.ts +0 -25
  70. package/dist/models/get-bank-transactions-response-class.js +0 -15
  71. package/dist/models/get-payment-method-response-class.d.ts +0 -25
  72. package/dist/models/get-payment-method-response-class.js +0 -15
  73. package/dist/models/get-payment-reminder-response-class.d.ts +0 -25
  74. package/dist/models/get-payment-reminder-response-class.js +0 -15
  75. package/dist/models/get-payment-response-class.d.ts +0 -25
  76. package/dist/models/get-payment-response-class.js +0 -15
  77. package/dist/models/get-refund-response-class.d.ts +0 -25
  78. package/dist/models/get-refund-response-class.js +0 -15
  79. package/dist/models/import-bank-transactions-response-class.d.ts +0 -25
  80. package/dist/models/import-bank-transactions-response-class.js +0 -15
  81. package/dist/models/initiate-braintree-payment-setup-request-dto.d.ts +0 -30
  82. package/dist/models/initiate-braintree-payment-setup-request-dto.js +0 -15
  83. package/dist/models/initiate-braintree-payment-setup-response-class.d.ts +0 -24
  84. package/dist/models/initiate-braintree-payment-setup-response-class.js +0 -15
  85. package/dist/models/initiate-payment-setup-request-dto.d.ts +0 -44
  86. package/dist/models/initiate-payment-setup-request-dto.js +0 -15
  87. package/dist/models/initiate-payment-setup-response-class.d.ts +0 -32
  88. package/dist/models/initiate-payment-setup-response-class.js +0 -15
  89. package/dist/models/initiate-stripe-payment-setup-request-dto.d.ts +0 -30
  90. package/dist/models/initiate-stripe-payment-setup-request-dto.js +0 -15
  91. package/dist/models/initiate-stripe-payment-setup-response-class.d.ts +0 -30
  92. package/dist/models/initiate-stripe-payment-setup-response-class.js +0 -15
  93. package/dist/models/link-bank-transactions-response-class.d.ts +0 -25
  94. package/dist/models/link-bank-transactions-response-class.js +0 -15
  95. package/dist/models/list-bank-accounts-response-class.d.ts +0 -31
  96. package/dist/models/list-bank-accounts-response-class.js +0 -15
  97. package/dist/models/list-bank-transactions-response-class.d.ts +0 -31
  98. package/dist/models/list-bank-transactions-response-class.js +0 -15
  99. package/dist/models/list-payment-methods-response-class.d.ts +0 -31
  100. package/dist/models/list-payment-methods-response-class.js +0 -15
  101. package/dist/models/list-payment-reminders-response-class.d.ts +0 -31
  102. package/dist/models/list-payment-reminders-response-class.js +0 -15
  103. package/dist/models/list-payments-response-class.d.ts +0 -31
  104. package/dist/models/list-payments-response-class.js +0 -15
  105. package/dist/models/list-refunds-response-class.d.ts +0 -31
  106. package/dist/models/list-refunds-response-class.js +0 -15
  107. package/dist/models/payment-class-without-expand-properties.d.ts +0 -108
  108. package/dist/models/payment-class-without-expand-properties.js +0 -15
  109. package/dist/models/payment-class.d.ts +0 -115
  110. package/dist/models/payment-class.js +0 -15
  111. package/dist/models/payment-method-class.d.ts +0 -78
  112. package/dist/models/payment-method-class.js +0 -15
  113. package/dist/models/payment-reminder-class.d.ts +0 -102
  114. package/dist/models/payment-reminder-class.js +0 -15
  115. package/dist/models/primary-bank-account-response-class.d.ts +0 -54
  116. package/dist/models/primary-bank-account-response-class.js +0 -15
  117. package/dist/models/refund-class.d.ts +0 -118
  118. package/dist/models/refund-class.js +0 -29
  119. package/dist/models/refund-item-class.d.ts +0 -114
  120. package/dist/models/refund-item-class.js +0 -15
  121. package/dist/models/sepa-direct-dto.d.ts +0 -24
  122. package/dist/models/sepa-direct-dto.js +0 -15
  123. package/dist/models/shared-transaction-class.d.ts +0 -72
  124. package/dist/models/shared-transaction-class.js +0 -15
  125. package/dist/models/symphony-profile-limited-response-dto.d.ts +0 -42
  126. package/dist/models/symphony-profile-limited-response-dto.js +0 -15
  127. package/dist/models/unlink-bank-transactions-response-class.d.ts +0 -25
  128. package/dist/models/unlink-bank-transactions-response-class.js +0 -15
  129. package/dist/models/unlinked-bank-transaction-response-class.d.ts +0 -108
  130. package/dist/models/unlinked-bank-transaction-response-class.js +0 -15
  131. package/dist/models/update-bank-account-response-class.d.ts +0 -25
  132. package/dist/models/update-bank-account-response-class.js +0 -15
  133. package/models/bank-account-class-without-expand-properties.ts +0 -90
  134. package/models/bank-account-class.ts +0 -97
  135. package/models/bank-transaction-class.ts +0 -146
  136. package/models/billing-profile-dto.ts +0 -44
  137. package/models/billing-profile-limited-response-dto.ts +0 -60
  138. package/models/complete-braintree-payment-setup-request-dto.ts +0 -54
  139. package/models/complete-payment-setup-request-dto.ts +0 -38
  140. package/models/complete-payment-setup-response-class.ts +0 -31
  141. package/models/complete-stripe-payment-setup-request-dto.ts +0 -86
  142. package/models/create-bank-account-response-class.ts +0 -31
  143. package/models/create-payment-method-response-class.ts +0 -31
  144. package/models/create-payment-reminder-response-class.ts +0 -31
  145. package/models/create-payment-response-class.ts +0 -31
  146. package/models/create-psp-payment-method-request-dto.ts +0 -70
  147. package/models/create-refund-response-class.ts +0 -31
  148. package/models/deactivate-payment-reminder-response-class.ts +0 -31
  149. package/models/deactivated-payment-reminder-class.ts +0 -108
  150. package/models/get-bank-account-response-class.ts +0 -31
  151. package/models/get-bank-transactions-response-class.ts +0 -31
  152. package/models/get-payment-method-response-class.ts +0 -31
  153. package/models/get-payment-reminder-response-class.ts +0 -31
  154. package/models/get-payment-response-class.ts +0 -31
  155. package/models/get-refund-response-class.ts +0 -31
  156. package/models/import-bank-transactions-response-class.ts +0 -31
  157. package/models/initiate-braintree-payment-setup-request-dto.ts +0 -36
  158. package/models/initiate-braintree-payment-setup-response-class.ts +0 -30
  159. package/models/initiate-payment-setup-request-dto.ts +0 -50
  160. package/models/initiate-payment-setup-response-class.ts +0 -38
  161. package/models/initiate-stripe-payment-setup-request-dto.ts +0 -36
  162. package/models/initiate-stripe-payment-setup-response-class.ts +0 -36
  163. package/models/link-bank-transactions-response-class.ts +0 -31
  164. package/models/list-bank-accounts-response-class.ts +0 -37
  165. package/models/list-bank-transactions-response-class.ts +0 -37
  166. package/models/list-payment-methods-response-class.ts +0 -37
  167. package/models/list-payment-reminders-response-class.ts +0 -37
  168. package/models/list-payments-response-class.ts +0 -37
  169. package/models/list-refunds-response-class.ts +0 -37
  170. package/models/payment-class-without-expand-properties.ts +0 -114
  171. package/models/payment-class.ts +0 -121
  172. package/models/payment-method-class.ts +0 -84
  173. package/models/payment-reminder-class.ts +0 -108
  174. package/models/primary-bank-account-response-class.ts +0 -60
  175. package/models/refund-class.ts +0 -128
  176. package/models/refund-item-class.ts +0 -120
  177. package/models/sepa-direct-dto.ts +0 -30
  178. package/models/shared-transaction-class.ts +0 -78
  179. package/models/symphony-profile-limited-response-dto.ts +0 -48
  180. package/models/unlink-bank-transactions-response-class.ts +0 -31
  181. package/models/unlinked-bank-transaction-response-class.ts +0 -114
  182. package/models/update-bank-account-response-class.ts +0 -31
@@ -14,75 +14,25 @@ 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("./bank-account-class-without-expand-properties"), exports);
19
- __exportStar(require("./bank-transaction-class"), exports);
20
17
  __exportStar(require("./bank-transaction-class-without-expand-properties"), exports);
21
- __exportStar(require("./billing-profile-dto"), exports);
22
- __exportStar(require("./billing-profile-limited-response-dto"), exports);
23
- __exportStar(require("./complete-braintree-payment-setup-request-dto"), exports);
24
- __exportStar(require("./complete-payment-setup-request-dto"), exports);
25
- __exportStar(require("./complete-payment-setup-response-class"), exports);
26
- __exportStar(require("./complete-stripe-payment-setup-request-dto"), exports);
27
18
  __exportStar(require("./create-bank-account-request-dto"), exports);
28
- __exportStar(require("./create-bank-account-response-class"), exports);
29
- __exportStar(require("./create-payment-method-response-class"), exports);
30
19
  __exportStar(require("./create-payment-reminder-request-dto"), exports);
31
- __exportStar(require("./create-payment-reminder-response-class"), exports);
32
20
  __exportStar(require("./create-payment-request-dto"), exports);
33
- __exportStar(require("./create-payment-response-class"), exports);
34
- __exportStar(require("./create-psp-payment-method-request-dto"), exports);
35
21
  __exportStar(require("./create-refund-request-dto"), exports);
36
- __exportStar(require("./create-refund-response-class"), exports);
37
22
  __exportStar(require("./create-tenant-bank-account-request-dto"), exports);
38
23
  __exportStar(require("./create-tenant-bank-account-response-class"), exports);
39
24
  __exportStar(require("./deactivate-payment-reminder-request-dto"), exports);
40
- __exportStar(require("./deactivate-payment-reminder-response-class"), exports);
41
- __exportStar(require("./deactivated-payment-reminder-class"), exports);
42
- __exportStar(require("./get-bank-account-response-class"), exports);
43
- __exportStar(require("./get-bank-transactions-response-class"), exports);
44
- __exportStar(require("./get-payment-method-response-class"), exports);
45
- __exportStar(require("./get-payment-reminder-response-class"), exports);
46
- __exportStar(require("./get-payment-response-class"), exports);
47
- __exportStar(require("./get-refund-response-class"), exports);
48
25
  __exportStar(require("./get-tenant-bank-account-response-class"), exports);
49
- __exportStar(require("./import-bank-transactions-response-class"), exports);
50
- __exportStar(require("./initiate-braintree-payment-setup-request-dto"), exports);
51
- __exportStar(require("./initiate-braintree-payment-setup-response-class"), exports);
52
- __exportStar(require("./initiate-payment-setup-request-dto"), exports);
53
- __exportStar(require("./initiate-payment-setup-response-class"), exports);
54
- __exportStar(require("./initiate-stripe-payment-setup-request-dto"), exports);
55
- __exportStar(require("./initiate-stripe-payment-setup-response-class"), exports);
56
26
  __exportStar(require("./inline-response200"), exports);
57
27
  __exportStar(require("./inline-response503"), exports);
58
28
  __exportStar(require("./link-bank-transaction-request-dto-rest"), exports);
59
- __exportStar(require("./link-bank-transactions-response-class"), exports);
60
- __exportStar(require("./list-bank-accounts-response-class"), exports);
61
- __exportStar(require("./list-bank-transactions-response-class"), exports);
62
- __exportStar(require("./list-payment-methods-response-class"), exports);
63
- __exportStar(require("./list-payment-reminders-response-class"), exports);
64
- __exportStar(require("./list-payments-response-class"), exports);
65
- __exportStar(require("./list-refunds-response-class"), exports);
66
29
  __exportStar(require("./list-tenant-bank-account-response-class"), exports);
67
- __exportStar(require("./payment-class"), exports);
68
- __exportStar(require("./payment-class-without-expand-properties"), exports);
69
- __exportStar(require("./payment-method-class"), exports);
70
- __exportStar(require("./payment-reminder-class"), exports);
71
- __exportStar(require("./primary-bank-account-response-class"), exports);
72
- __exportStar(require("./refund-class"), exports);
73
- __exportStar(require("./refund-item-class"), exports);
74
- __exportStar(require("./sepa-direct-dto"), exports);
75
30
  __exportStar(require("./set-primary-bank-account-request-dto-rest"), exports);
76
- __exportStar(require("./shared-transaction-class"), exports);
77
- __exportStar(require("./symphony-profile-limited-response-dto"), exports);
78
31
  __exportStar(require("./tenant-bank-account-class"), exports);
79
32
  __exportStar(require("./tenant-bank-account-class-without-expand-properties"), exports);
80
33
  __exportStar(require("./unlink-bank-transaction-request-dto-rest"), exports);
81
- __exportStar(require("./unlink-bank-transactions-response-class"), exports);
82
- __exportStar(require("./unlinked-bank-transaction-response-class"), exports);
83
34
  __exportStar(require("./update-bank-account-request-dto"), exports);
84
35
  __exportStar(require("./update-bank-account-request-dto-rest"), exports);
85
- __exportStar(require("./update-bank-account-response-class"), exports);
86
36
  __exportStar(require("./update-tenant-bank-account-response-class"), exports);
87
37
  __exportStar(require("./update-tenant-bank-account-rest-request-dto"), exports);
88
38
  __exportStar(require("./validate-pspconfig-request-dto"), exports);
@@ -20,7 +20,7 @@ export interface ValidatePSPConfigRequestDto {
20
20
  * @type {string}
21
21
  * @memberof ValidatePSPConfigRequestDto
22
22
  */
23
- 'type': ValidatePSPConfigRequestDtoTypeEnum;
23
+ 'type': string;
24
24
  /**
25
25
  * Map containing various necessary keys to properly use the payment service provider. In the form of <api key name, api key value>.
26
26
  * @type {object}
@@ -34,10 +34,3 @@ export interface ValidatePSPConfigRequestDto {
34
34
  */
35
35
  'paymentMethods': Array<string>;
36
36
  }
37
- export declare const ValidatePSPConfigRequestDtoTypeEnum: {
38
- readonly Braintree: "braintree";
39
- readonly Stripe: "stripe";
40
- readonly B4u: "b4u";
41
- readonly Eis: "eis";
42
- };
43
- export type ValidatePSPConfigRequestDtoTypeEnum = typeof ValidatePSPConfigRequestDtoTypeEnum[keyof typeof ValidatePSPConfigRequestDtoTypeEnum];
@@ -13,10 +13,3 @@
13
13
  * Do not edit the class manually.
14
14
  */
15
15
  Object.defineProperty(exports, "__esModule", { value: true });
16
- exports.ValidatePSPConfigRequestDtoTypeEnum = void 0;
17
- exports.ValidatePSPConfigRequestDtoTypeEnum = {
18
- Braintree: 'braintree',
19
- Stripe: 'stripe',
20
- B4u: 'b4u',
21
- Eis: 'eis'
22
- };
@@ -25,13 +25,13 @@ export interface CreateBankAccountRequestDto {
25
25
  * @type {string}
26
26
  * @memberof CreateBankAccountRequestDto
27
27
  */
28
- 'accountCode'?: string;
28
+ 'accountCode': string;
29
29
  /**
30
30
  * Partner code associated with bank account.
31
31
  * @type {string}
32
32
  * @memberof CreateBankAccountRequestDto
33
33
  */
34
- 'partnerCode'?: string;
34
+ 'partnerCode': string;
35
35
  /**
36
36
  * IBAN number for the bank account
37
37
  * @type {string}
@@ -55,7 +55,7 @@ export interface CreatePaymentRequestDto {
55
55
  * @type {string}
56
56
  * @memberof CreatePaymentRequestDto
57
57
  */
58
- 'productSlug'?: string;
58
+ 'productSlug': string;
59
59
  /**
60
60
  * Optional payment date.
61
61
  * @type {string}
package/models/index.ts CHANGED
@@ -1,72 +1,22 @@
1
- export * from './bank-account-class';
2
- export * from './bank-account-class-without-expand-properties';
3
- export * from './bank-transaction-class';
4
1
  export * from './bank-transaction-class-without-expand-properties';
5
- export * from './billing-profile-dto';
6
- export * from './billing-profile-limited-response-dto';
7
- export * from './complete-braintree-payment-setup-request-dto';
8
- export * from './complete-payment-setup-request-dto';
9
- export * from './complete-payment-setup-response-class';
10
- export * from './complete-stripe-payment-setup-request-dto';
11
2
  export * from './create-bank-account-request-dto';
12
- export * from './create-bank-account-response-class';
13
- export * from './create-payment-method-response-class';
14
3
  export * from './create-payment-reminder-request-dto';
15
- export * from './create-payment-reminder-response-class';
16
4
  export * from './create-payment-request-dto';
17
- export * from './create-payment-response-class';
18
- export * from './create-psp-payment-method-request-dto';
19
5
  export * from './create-refund-request-dto';
20
- export * from './create-refund-response-class';
21
6
  export * from './create-tenant-bank-account-request-dto';
22
7
  export * from './create-tenant-bank-account-response-class';
23
8
  export * from './deactivate-payment-reminder-request-dto';
24
- export * from './deactivate-payment-reminder-response-class';
25
- export * from './deactivated-payment-reminder-class';
26
- export * from './get-bank-account-response-class';
27
- export * from './get-bank-transactions-response-class';
28
- export * from './get-payment-method-response-class';
29
- export * from './get-payment-reminder-response-class';
30
- export * from './get-payment-response-class';
31
- export * from './get-refund-response-class';
32
9
  export * from './get-tenant-bank-account-response-class';
33
- export * from './import-bank-transactions-response-class';
34
- export * from './initiate-braintree-payment-setup-request-dto';
35
- export * from './initiate-braintree-payment-setup-response-class';
36
- export * from './initiate-payment-setup-request-dto';
37
- export * from './initiate-payment-setup-response-class';
38
- export * from './initiate-stripe-payment-setup-request-dto';
39
- export * from './initiate-stripe-payment-setup-response-class';
40
10
  export * from './inline-response200';
41
11
  export * from './inline-response503';
42
12
  export * from './link-bank-transaction-request-dto-rest';
43
- export * from './link-bank-transactions-response-class';
44
- export * from './list-bank-accounts-response-class';
45
- export * from './list-bank-transactions-response-class';
46
- export * from './list-payment-methods-response-class';
47
- export * from './list-payment-reminders-response-class';
48
- export * from './list-payments-response-class';
49
- export * from './list-refunds-response-class';
50
13
  export * from './list-tenant-bank-account-response-class';
51
- export * from './payment-class';
52
- export * from './payment-class-without-expand-properties';
53
- export * from './payment-method-class';
54
- export * from './payment-reminder-class';
55
- export * from './primary-bank-account-response-class';
56
- export * from './refund-class';
57
- export * from './refund-item-class';
58
- export * from './sepa-direct-dto';
59
14
  export * from './set-primary-bank-account-request-dto-rest';
60
- export * from './shared-transaction-class';
61
- export * from './symphony-profile-limited-response-dto';
62
15
  export * from './tenant-bank-account-class';
63
16
  export * from './tenant-bank-account-class-without-expand-properties';
64
17
  export * from './unlink-bank-transaction-request-dto-rest';
65
- export * from './unlink-bank-transactions-response-class';
66
- export * from './unlinked-bank-transaction-response-class';
67
18
  export * from './update-bank-account-request-dto';
68
19
  export * from './update-bank-account-request-dto-rest';
69
- export * from './update-bank-account-response-class';
70
20
  export * from './update-tenant-bank-account-response-class';
71
21
  export * from './update-tenant-bank-account-rest-request-dto';
72
22
  export * from './validate-pspconfig-request-dto';
@@ -25,7 +25,7 @@ export interface ValidatePSPConfigRequestDto {
25
25
  * @type {string}
26
26
  * @memberof ValidatePSPConfigRequestDto
27
27
  */
28
- 'type': ValidatePSPConfigRequestDtoTypeEnum;
28
+ 'type': string;
29
29
  /**
30
30
  * Map containing various necessary keys to properly use the payment service provider. In the form of <api key name, api key value>.
31
31
  * @type {object}
@@ -40,13 +40,3 @@ export interface ValidatePSPConfigRequestDto {
40
40
  'paymentMethods': Array<string>;
41
41
  }
42
42
 
43
- export const ValidatePSPConfigRequestDtoTypeEnum = {
44
- Braintree: 'braintree',
45
- Stripe: 'stripe',
46
- B4u: 'b4u',
47
- Eis: 'eis'
48
- } as const;
49
-
50
- export type ValidatePSPConfigRequestDtoTypeEnum = typeof ValidatePSPConfigRequestDtoTypeEnum[keyof typeof ValidatePSPConfigRequestDtoTypeEnum];
51
-
52
-
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@emilgroup/payment-sdk",
3
- "version": "1.5.0",
3
+ "version": "1.5.1-beta.0",
4
4
  "description": "OpenAPI client for @emilgroup/payment-sdk",
5
5
  "author": "OpenAPI-Generator Contributors",
6
6
  "keywords": [
@@ -1,84 +0,0 @@
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: kontakt@emil.de
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 BankAccountClassWithoutExpandProperties
16
- */
17
- export interface BankAccountClassWithoutExpandProperties {
18
- /**
19
- * Internal unique identifier for the object. You should not have to use this, use code instead.
20
- * @type {number}
21
- * @memberof BankAccountClassWithoutExpandProperties
22
- */
23
- 'id': number;
24
- /**
25
- * Unique identifier for the object.
26
- * @type {string}
27
- * @memberof BankAccountClassWithoutExpandProperties
28
- */
29
- 'code': string;
30
- /**
31
- * User account code associated with bank account.
32
- * @type {string}
33
- * @memberof BankAccountClassWithoutExpandProperties
34
- */
35
- 'accountCode'?: string;
36
- /**
37
- * International bank account number with witch the bank account is created.
38
- * @type {string}
39
- * @memberof BankAccountClassWithoutExpandProperties
40
- */
41
- 'iban': string;
42
- /**
43
- * Business Identifier Codes.
44
- * @type {string}
45
- * @memberof BankAccountClassWithoutExpandProperties
46
- */
47
- 'bic': string;
48
- /**
49
- * Bank account holder.
50
- * @type {string}
51
- * @memberof BankAccountClassWithoutExpandProperties
52
- */
53
- 'accountHolder': string;
54
- /**
55
- * Time at which the object was created.
56
- * @type {string}
57
- * @memberof BankAccountClassWithoutExpandProperties
58
- */
59
- 'createdAt': string;
60
- /**
61
- * Time at which the object was updated.
62
- * @type {string}
63
- * @memberof BankAccountClassWithoutExpandProperties
64
- */
65
- 'updatedAt': string;
66
- /**
67
- * Partner code associated with bank account.
68
- * @type {string}
69
- * @memberof BankAccountClassWithoutExpandProperties
70
- */
71
- 'partnerCode'?: string;
72
- /**
73
- * Identifier of the user who created the record.
74
- * @type {string}
75
- * @memberof BankAccountClassWithoutExpandProperties
76
- */
77
- 'createdBy': string;
78
- /**
79
- * Identifier of the user who last updated the record.
80
- * @type {string}
81
- * @memberof BankAccountClassWithoutExpandProperties
82
- */
83
- 'updatedBy': string;
84
- }
@@ -1,15 +0,0 @@
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: kontakt@emil.de
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,91 +0,0 @@
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: kontakt@emil.de
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
- import { PrimaryBankAccountResponseClass } from './primary-bank-account-response-class';
13
- /**
14
- *
15
- * @export
16
- * @interface BankAccountClass
17
- */
18
- export interface BankAccountClass {
19
- /**
20
- * Internal unique identifier for the object. You should not have to use this, use code instead.
21
- * @type {number}
22
- * @memberof BankAccountClass
23
- */
24
- 'id': number;
25
- /**
26
- * Unique identifier for the object.
27
- * @type {string}
28
- * @memberof BankAccountClass
29
- */
30
- 'code': string;
31
- /**
32
- * User account code associated with bank account.
33
- * @type {string}
34
- * @memberof BankAccountClass
35
- */
36
- 'accountCode'?: string;
37
- /**
38
- * International bank account number with witch the bank account is created.
39
- * @type {string}
40
- * @memberof BankAccountClass
41
- */
42
- 'iban': string;
43
- /**
44
- * Business Identifier Codes.
45
- * @type {string}
46
- * @memberof BankAccountClass
47
- */
48
- 'bic': string;
49
- /**
50
- * Bank account holder.
51
- * @type {string}
52
- * @memberof BankAccountClass
53
- */
54
- 'accountHolder': string;
55
- /**
56
- * Time at which the object was created.
57
- * @type {string}
58
- * @memberof BankAccountClass
59
- */
60
- 'createdAt': string;
61
- /**
62
- * Time at which the object was updated.
63
- * @type {string}
64
- * @memberof BankAccountClass
65
- */
66
- 'updatedAt': string;
67
- /**
68
- * Partner code associated with bank account.
69
- * @type {string}
70
- * @memberof BankAccountClass
71
- */
72
- 'partnerCode'?: string;
73
- /**
74
- * Primary bank account data
75
- * @type {PrimaryBankAccountResponseClass}
76
- * @memberof BankAccountClass
77
- */
78
- 'primaryBankAccount'?: PrimaryBankAccountResponseClass;
79
- /**
80
- * Identifier of the user who created the record.
81
- * @type {string}
82
- * @memberof BankAccountClass
83
- */
84
- 'createdBy': string;
85
- /**
86
- * Identifier of the user who last updated the record.
87
- * @type {string}
88
- * @memberof BankAccountClass
89
- */
90
- 'updatedBy': string;
91
- }
@@ -1,15 +0,0 @@
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: kontakt@emil.de
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,140 +0,0 @@
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: kontakt@emil.de
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
- import { SharedTransactionClass } from './shared-transaction-class';
13
- import { TenantBankAccountClassWithoutExpandProperties } from './tenant-bank-account-class-without-expand-properties';
14
- /**
15
- *
16
- * @export
17
- * @interface BankTransactionClass
18
- */
19
- export interface BankTransactionClass {
20
- /**
21
- * Internal unique identifier for the object. You should not have to use this, use code instead.
22
- * @type {number}
23
- * @memberof BankTransactionClass
24
- */
25
- 'id': number;
26
- /**
27
- * Unique identifier for the object.
28
- * @type {string}
29
- * @memberof BankTransactionClass
30
- */
31
- 'code': string;
32
- /**
33
- * bank account
34
- * @type {number}
35
- * @memberof BankTransactionClass
36
- */
37
- 'bankAccountId': number;
38
- /**
39
- * Account number of the bank account
40
- * @type {string}
41
- * @memberof BankTransactionClass
42
- */
43
- 'bankAccountNumber': string;
44
- /**
45
- * Reference number derived from the MT940 swift Insturctions
46
- * @type {string}
47
- * @memberof BankTransactionClass
48
- */
49
- 'swiftMessageReference'?: string;
50
- /**
51
- * Currency of the transaction.
52
- * @type {string}
53
- * @memberof BankTransactionClass
54
- */
55
- 'currency': string;
56
- /**
57
- * Amount of the transaction - can be negative or positive
58
- * @type {string}
59
- * @memberof BankTransactionClass
60
- */
61
- 'amount': string;
62
- /**
63
- * Date on which the transaction was executed. Also known as Value Date
64
- * @type {string}
65
- * @memberof BankTransactionClass
66
- */
67
- 'transactionDate': string;
68
- /**
69
- * Date on which the transaction entry was made in the system. Also known as Booking Date
70
- * @type {string}
71
- * @memberof BankTransactionClass
72
- */
73
- 'entryDate': string;
74
- /**
75
- * Optional reference number that can be given by the customer or bank to uniquely identify a transaction. If no transaction reference is provided the value is set to \'NONREF\'
76
- * @type {string}
77
- * @memberof BankTransactionClass
78
- */
79
- 'transactionReference': string;
80
- /**
81
- * Optional metadata that can be provided by the customer or bank to give more context to the transaction
82
- * @type {object}
83
- * @memberof BankTransactionClass
84
- */
85
- 'metadata'?: object;
86
- /**
87
- * The id of the PSP transaction that this bank transaction is linked to
88
- * @type {number}
89
- * @memberof BankTransactionClass
90
- */
91
- 'linkedTransactionId'?: number;
92
- /**
93
- * The code of the invoice that this bank transaction is linked to
94
- * @type {string}
95
- * @memberof BankTransactionClass
96
- */
97
- 'linkedInvoiceCode'?: string;
98
- /**
99
- * The identifying invoice number that this bank transaction is linked to
100
- * @type {string}
101
- * @memberof BankTransactionClass
102
- */
103
- 'linkedInvoiceNumber'?: string;
104
- /**
105
- * Boolean flag to indicate if the bank transaction is linked to an invoice - defaults to false
106
- * @type {boolean}
107
- * @memberof BankTransactionClass
108
- */
109
- 'isLinked': boolean;
110
- /**
111
- * The bank account object that this transaction is belongs to
112
- * @type {TenantBankAccountClassWithoutExpandProperties}
113
- * @memberof BankTransactionClass
114
- */
115
- 'bankAccount'?: TenantBankAccountClassWithoutExpandProperties;
116
- /**
117
- * The linked transaction object
118
- * @type {SharedTransactionClass}
119
- * @memberof BankTransactionClass
120
- */
121
- 'linkedTransaction'?: SharedTransactionClass;
122
- /**
123
- * Time at which the object was created.
124
- * @type {string}
125
- * @memberof BankTransactionClass
126
- */
127
- 'createdAt': string;
128
- /**
129
- * Identifier of the user who created the record.
130
- * @type {string}
131
- * @memberof BankTransactionClass
132
- */
133
- 'createdBy': string;
134
- /**
135
- * Identifier of the user who last updated the record.
136
- * @type {string}
137
- * @memberof BankTransactionClass
138
- */
139
- 'updatedBy': string;
140
- }
@@ -1,15 +0,0 @@
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: kontakt@emil.de
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,38 +0,0 @@
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: kontakt@emil.de
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
- import { BillingProfileLimitedResponseDto } from './billing-profile-limited-response-dto';
13
- import { SymphonyProfileLimitedResponseDto } from './symphony-profile-limited-response-dto';
14
- /**
15
- *
16
- * @export
17
- * @interface BillingProfileDto
18
- */
19
- export interface BillingProfileDto {
20
- /**
21
- *
22
- * @type {string}
23
- * @memberof BillingProfileDto
24
- */
25
- 'billProfileId': string;
26
- /**
27
- *
28
- * @type {SymphonyProfileLimitedResponseDto}
29
- * @memberof BillingProfileDto
30
- */
31
- 'symphonyProfileLimitedResponse': SymphonyProfileLimitedResponseDto;
32
- /**
33
- *
34
- * @type {BillingProfileLimitedResponseDto}
35
- * @memberof BillingProfileDto
36
- */
37
- 'billingProfileLimitedResponse': BillingProfileLimitedResponseDto;
38
- }
@@ -1,15 +0,0 @@
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: kontakt@emil.de
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 });