@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,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,31 +12,25 @@
12
12
  /**
13
13
  *
14
14
  * @export
15
- * @interface SymphonyProfileLimitedResponseDto
15
+ * @interface UpdateTenantBankAccountRestRequestDto
16
16
  */
17
- export interface SymphonyProfileLimitedResponseDto {
17
+ export interface UpdateTenantBankAccountRestRequestDto {
18
18
  /**
19
- *
19
+ * Name of the account given by the user - to quickly identify the account
20
20
  * @type {string}
21
- * @memberof SymphonyProfileLimitedResponseDto
21
+ * @memberof UpdateTenantBankAccountRestRequestDto
22
22
  */
23
- 'scn': string;
23
+ 'accountName': string;
24
24
  /**
25
- *
25
+ * Name of the bank the account belongs to
26
26
  * @type {string}
27
- * @memberof SymphonyProfileLimitedResponseDto
27
+ * @memberof UpdateTenantBankAccountRestRequestDto
28
28
  */
29
- 'billSource': string;
29
+ 'bankName': string;
30
30
  /**
31
- *
31
+ * The name of the account
32
32
  * @type {string}
33
- * @memberof SymphonyProfileLimitedResponseDto
33
+ * @memberof UpdateTenantBankAccountRestRequestDto
34
34
  */
35
- 'parentScn'?: string;
36
- /**
37
- *
38
- * @type {boolean}
39
- * @memberof SymphonyProfileLimitedResponseDto
40
- */
41
- 'deathCaseFlag': boolean;
35
+ 'bookingAccount': string;
42
36
  }
@@ -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
@@ -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];
@@ -6,17 +6,10 @@
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
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
- };
package/git_push.sh CHANGED
@@ -14,7 +14,7 @@ if [ "$git_host" = "" ]; then
14
14
  fi
15
15
 
16
16
  if [ "$git_user_id" = "" ]; then
17
- git_user_id="GIT_USER_ID"
17
+ git_user_id="Emil"
18
18
  echo "[INFO] No command line input provided. Set \$git_user_id to $git_user_id"
19
19
  fi
20
20
 
package/index.ts CHANGED
@@ -5,7 +5,7 @@
5
5
  * This service directly communicates with the various Payment Service Providers (PSPs) in order to charge or refund customers. This service will automatically connect to the PSP linked in your admin configuration; meaning if you configured Stripe, it will automatically create a payment on Stripe when you create it in Emil.
6
6
  *
7
7
  * The version of the OpenAPI document: 1.0
8
- * Contact: kontakt@emil.de
8
+ * Contact: z
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
11
  * https://openapi-generator.tech
@@ -0,0 +1,128 @@
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: z
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 { TenantBankAccountResponseClass } from './tenant-bank-account-response-class';
17
+ import { TransactionClass } from './transaction-class';
18
+
19
+ /**
20
+ *
21
+ * @export
22
+ * @interface BankTransactionResponseClass
23
+ */
24
+ export interface BankTransactionResponseClass {
25
+ /**
26
+ * Internal unique identifier for the object. You should not have to use this, use code instead.
27
+ * @type {number}
28
+ * @memberof BankTransactionResponseClass
29
+ */
30
+ 'id': number;
31
+ /**
32
+ * Unique identifier for the object.
33
+ * @type {string}
34
+ * @memberof BankTransactionResponseClass
35
+ */
36
+ 'code': string;
37
+ /**
38
+ * Bank account ID associated with the transaction.
39
+ * @type {number}
40
+ * @memberof BankTransactionResponseClass
41
+ */
42
+ 'bankAccountId': number;
43
+ /**
44
+ * Account number of the bank account
45
+ * @type {string}
46
+ * @memberof BankTransactionResponseClass
47
+ */
48
+ 'bankAccountNumber': string;
49
+ /**
50
+ * Reference number derived from the MT940 swift Insturctions
51
+ * @type {string}
52
+ * @memberof BankTransactionResponseClass
53
+ */
54
+ 'swiftMessageReference'?: string;
55
+ /**
56
+ * Currency of the transaction.
57
+ * @type {string}
58
+ * @memberof BankTransactionResponseClass
59
+ */
60
+ 'currency': string;
61
+ /**
62
+ * Amount of the transaction - can be negative or positive
63
+ * @type {string}
64
+ * @memberof BankTransactionResponseClass
65
+ */
66
+ 'amount': string;
67
+ /**
68
+ * Date on which the transaction was executed. Also known as Value Date
69
+ * @type {string}
70
+ * @memberof BankTransactionResponseClass
71
+ */
72
+ 'transactionDate': string;
73
+ /**
74
+ * Date on which the transaction entry was made in the system. Also known as Booking Date
75
+ * @type {string}
76
+ * @memberof BankTransactionResponseClass
77
+ */
78
+ 'entryDate': string;
79
+ /**
80
+ * 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\'
81
+ * @type {string}
82
+ * @memberof BankTransactionResponseClass
83
+ */
84
+ 'transactionReference': string;
85
+ /**
86
+ * Optional metadata that can be provided by the customer or bank to give more context to the transaction
87
+ * @type {object}
88
+ * @memberof BankTransactionResponseClass
89
+ */
90
+ 'metadata'?: object;
91
+ /**
92
+ * The id of the PSP transaction that this bank transaction is linked to
93
+ * @type {number}
94
+ * @memberof BankTransactionResponseClass
95
+ */
96
+ 'linkedTransactionId': number;
97
+ /**
98
+ * The code of the invoice that this bank transaction is linked to
99
+ * @type {string}
100
+ * @memberof BankTransactionResponseClass
101
+ */
102
+ 'linkedInvoiceCode'?: string;
103
+ /**
104
+ * Boolean flag to indicate if the bank transaction is linked to an invoice - defaults to false
105
+ * @type {boolean}
106
+ * @memberof BankTransactionResponseClass
107
+ */
108
+ 'isLinked': boolean;
109
+ /**
110
+ * The bank account object that this transaction is belongs to
111
+ * @type {TenantBankAccountResponseClass}
112
+ * @memberof BankTransactionResponseClass
113
+ */
114
+ 'bankAccount': TenantBankAccountResponseClass;
115
+ /**
116
+ * The linked transaction object
117
+ * @type {TransactionClass}
118
+ * @memberof BankTransactionResponseClass
119
+ */
120
+ 'linkedTransaction': TransactionClass;
121
+ /**
122
+ * Time at which the object was created.
123
+ * @type {string}
124
+ * @memberof BankTransactionResponseClass
125
+ */
126
+ 'createdAt': string;
127
+ }
128
+
@@ -5,7 +5,7 @@
5
5
  * This service directly communicates with the various Payment Service Providers (PSPs) in order to charge or refund customers. This service will automatically connect to the PSP linked in your admin configuration; meaning if you configured Stripe, it will automatically create a payment on Stripe when you create it in Emil.
6
6
  *
7
7
  * The version of the OpenAPI document: 1.0
8
- * Contact: kontakt@emil.de
8
+ * Contact: z
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
11
  * https://openapi-generator.tech
@@ -5,7 +5,7 @@
5
5
  * This service directly communicates with the various Payment Service Providers (PSPs) in order to charge or refund customers. This service will automatically connect to the PSP linked in your admin configuration; meaning if you configured Stripe, it will automatically create a payment on Stripe when you create it in Emil.
6
6
  *
7
7
  * The version of the OpenAPI document: 1.0
8
- * Contact: kontakt@emil.de
8
+ * Contact: z
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
11
  * https://openapi-generator.tech
@@ -51,11 +51,11 @@ export interface CreatePaymentRequestDto {
51
51
  */
52
52
  'metadata': object;
53
53
  /**
54
- * A slug is a human-readable, unique identifier, used to identify a resource instead of a less human-readable identifier like an id.
54
+ * A slug is a human-readable, unique identifier, used to identify a resource instead of a less human-readable identifier like an id.
55
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}
@@ -5,7 +5,7 @@
5
5
  * This service directly communicates with the various Payment Service Providers (PSPs) in order to charge or refund customers. This service will automatically connect to the PSP linked in your admin configuration; meaning if you configured Stripe, it will automatically create a payment on Stripe when you create it in Emil.
6
6
  *
7
7
  * The version of the OpenAPI document: 1.0
8
- * Contact: kontakt@emil.de
8
+ * Contact: z
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
11
  * https://openapi-generator.tech
@@ -17,14 +17,14 @@
17
17
  /**
18
18
  *
19
19
  * @export
20
- * @interface SepaDirectDto
20
+ * @interface CreateRefundRequestDto
21
21
  */
22
- export interface SepaDirectDto {
22
+ export interface CreateRefundRequestDto {
23
23
  /**
24
- *
24
+ * The code of the invoice to refund, must be of type Withdraw or Final or Correction
25
25
  * @type {string}
26
- * @memberof SepaDirectDto
26
+ * @memberof CreateRefundRequestDto
27
27
  */
28
- 'iban': string;
28
+ 'invoiceCode': string;
29
29
  }
30
30
 
@@ -5,7 +5,7 @@
5
5
  * This service directly communicates with the various Payment Service Providers (PSPs) in order to charge or refund customers. This service will automatically connect to the PSP linked in your admin configuration; meaning if you configured Stripe, it will automatically create a payment on Stripe when you create it in Emil.
6
6
  *
7
7
  * The version of the OpenAPI document: 1.0
8
- * Contact: kontakt@emil.de
8
+ * Contact: z
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
11
  * https://openapi-generator.tech
@@ -13,18 +13,19 @@
13
13
  */
14
14
 
15
15
 
16
+ import { RefundClass } from './refund-class';
16
17
 
17
18
  /**
18
19
  *
19
20
  * @export
20
- * @interface ValidatePSPConfigResponseClass
21
+ * @interface CreateRefundResponseClass
21
22
  */
22
- export interface ValidatePSPConfigResponseClass {
23
+ export interface CreateRefundResponseClass {
23
24
  /**
24
- * Returns if configuration is valid or not.
25
- * @type {boolean}
26
- * @memberof ValidatePSPConfigResponseClass
25
+ * Refund
26
+ * @type {RefundClass}
27
+ * @memberof CreateRefundResponseClass
27
28
  */
28
- 'valid': boolean;
29
+ 'refund': RefundClass;
29
30
  }
30
31
 
@@ -5,7 +5,7 @@
5
5
  * This service directly communicates with the various Payment Service Providers (PSPs) in order to charge or refund customers. This service will automatically connect to the PSP linked in your admin configuration; meaning if you configured Stripe, it will automatically create a payment on Stripe when you create it in Emil.
6
6
  *
7
7
  * The version of the OpenAPI document: 1.0
8
- * Contact: kontakt@emil.de
8
+ * Contact: z
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
11
  * https://openapi-generator.tech
@@ -17,44 +17,32 @@
17
17
  /**
18
18
  *
19
19
  * @export
20
- * @interface BillingProfileLimitedResponseDto
20
+ * @interface CreateTenantBankAccountRequestDto
21
21
  */
22
- export interface BillingProfileLimitedResponseDto {
22
+ export interface CreateTenantBankAccountRequestDto {
23
23
  /**
24
- *
24
+ * Name of the account given by the user - to quickly identify the account
25
25
  * @type {string}
26
- * @memberof BillingProfileLimitedResponseDto
26
+ * @memberof CreateTenantBankAccountRequestDto
27
27
  */
28
- 'sourceCode': string;
28
+ 'accountName': string;
29
29
  /**
30
- *
30
+ * Name of the bank the account belongs to
31
31
  * @type {string}
32
- * @memberof BillingProfileLimitedResponseDto
32
+ * @memberof CreateTenantBankAccountRequestDto
33
33
  */
34
- 'status': string;
34
+ 'bankName': string;
35
35
  /**
36
- *
36
+ * IBAN number for the bank account
37
37
  * @type {string}
38
- * @memberof BillingProfileLimitedResponseDto
38
+ * @memberof CreateTenantBankAccountRequestDto
39
39
  */
40
- 'brand': string;
40
+ 'iban': string;
41
41
  /**
42
- *
42
+ * The name of the account
43
43
  * @type {string}
44
- * @memberof BillingProfileLimitedResponseDto
44
+ * @memberof CreateTenantBankAccountRequestDto
45
45
  */
46
- 'invoiceLanguage'?: string;
47
- /**
48
- *
49
- * @type {string}
50
- * @memberof BillingProfileLimitedResponseDto
51
- */
52
- 'customerSegment': string;
53
- /**
54
- *
55
- * @type {number}
56
- * @memberof BillingProfileLimitedResponseDto
57
- */
58
- 'activeSubsCnt': number;
46
+ 'bookingAccount': string;
59
47
  }
60
48
 
@@ -5,7 +5,7 @@
5
5
  * This service directly communicates with the various Payment Service Providers (PSPs) in order to charge or refund customers. This service will automatically connect to the PSP linked in your admin configuration; meaning if you configured Stripe, it will automatically create a payment on Stripe when you create it in Emil.
6
6
  *
7
7
  * The version of the OpenAPI document: 1.0
8
- * Contact: kontakt@emil.de
8
+ * Contact: z
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
11
  * https://openapi-generator.tech
@@ -5,7 +5,7 @@
5
5
  * This service directly communicates with the various Payment Service Providers (PSPs) in order to charge or refund customers. This service will automatically connect to the PSP linked in your admin configuration; meaning if you configured Stripe, it will automatically create a payment on Stripe when you create it in Emil.
6
6
  *
7
7
  * The version of the OpenAPI document: 1.0
8
- * Contact: kontakt@emil.de
8
+ * Contact: z
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
11
  * https://openapi-generator.tech
@@ -13,19 +13,19 @@
13
13
  */
14
14
 
15
15
 
16
- import { PaymentMethodClass } from './payment-method-class';
16
+ import { BankTransactionResponseClass } from './bank-transaction-response-class';
17
17
 
18
18
  /**
19
19
  *
20
20
  * @export
21
- * @interface GetPaymentMethodResponseClass
21
+ * @interface GetBankTransactionsResponseClass
22
22
  */
23
- export interface GetPaymentMethodResponseClass {
23
+ export interface GetBankTransactionsResponseClass {
24
24
  /**
25
- * Payment method
26
- * @type {PaymentMethodClass}
27
- * @memberof GetPaymentMethodResponseClass
25
+ * Bank transaction
26
+ * @type {BankTransactionResponseClass}
27
+ * @memberof GetBankTransactionsResponseClass
28
28
  */
29
- 'paymentMethod': PaymentMethodClass;
29
+ 'bankTransaction': BankTransactionResponseClass;
30
30
  }
31
31
 
@@ -5,7 +5,7 @@
5
5
  * This service directly communicates with the various Payment Service Providers (PSPs) in order to charge or refund customers. This service will automatically connect to the PSP linked in your admin configuration; meaning if you configured Stripe, it will automatically create a payment on Stripe when you create it in Emil.
6
6
  *
7
7
  * The version of the OpenAPI document: 1.0
8
- * Contact: kontakt@emil.de
8
+ * Contact: z
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
11
  * https://openapi-generator.tech
@@ -13,19 +13,19 @@
13
13
  */
14
14
 
15
15
 
16
- import { PaymentClass } from './payment-class';
16
+ import { RefundClass } from './refund-class';
17
17
 
18
18
  /**
19
19
  *
20
20
  * @export
21
- * @interface GetPaymentResponseClass
21
+ * @interface GetRefundResponseClass
22
22
  */
23
- export interface GetPaymentResponseClass {
23
+ export interface GetRefundResponseClass {
24
24
  /**
25
- * Payment
26
- * @type {PaymentClass}
27
- * @memberof GetPaymentResponseClass
25
+ * Refund
26
+ * @type {RefundClass}
27
+ * @memberof GetRefundResponseClass
28
28
  */
29
- 'payment': PaymentClass;
29
+ 'refund': RefundClass;
30
30
  }
31
31
 
@@ -5,7 +5,7 @@
5
5
  * This service directly communicates with the various Payment Service Providers (PSPs) in order to charge or refund customers. This service will automatically connect to the PSP linked in your admin configuration; meaning if you configured Stripe, it will automatically create a payment on Stripe when you create it in Emil.
6
6
  *
7
7
  * The version of the OpenAPI document: 1.0
8
- * Contact: kontakt@emil.de
8
+ * Contact: z
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
11
  * https://openapi-generator.tech
@@ -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
 
@@ -5,7 +5,7 @@
5
5
  * This service directly communicates with the various Payment Service Providers (PSPs) in order to charge or refund customers. This service will automatically connect to the PSP linked in your admin configuration; meaning if you configured Stripe, it will automatically create a payment on Stripe when you create it in Emil.
6
6
  *
7
7
  * The version of the OpenAPI document: 1.0
8
- * Contact: kontakt@emil.de
8
+ * Contact: z
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
11
  * https://openapi-generator.tech
@@ -13,24 +13,19 @@
13
13
  */
14
14
 
15
15
 
16
+ import { TenantBankAccountResponseClass } from './tenant-bank-account-response-class';
16
17
 
17
18
  /**
18
19
  *
19
20
  * @export
20
- * @interface CreateBankAccountRequestDto
21
+ * @interface GetTenantBankAccountResponseClass
21
22
  */
22
- export interface CreateBankAccountRequestDto {
23
+ export interface GetTenantBankAccountResponseClass {
23
24
  /**
24
- *
25
- * @type {string}
26
- * @memberof CreateBankAccountRequestDto
25
+ * Tenant Bank Account
26
+ * @type {TenantBankAccountResponseClass}
27
+ * @memberof GetTenantBankAccountResponseClass
27
28
  */
28
- 'accountCode': string;
29
- /**
30
- *
31
- * @type {string}
32
- * @memberof CreateBankAccountRequestDto
33
- */
34
- 'iban': string;
29
+ 'bankAccount': TenantBankAccountResponseClass;
35
30
  }
36
31
 
package/models/index.ts CHANGED
@@ -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';