@emilgroup/payment-sdk 1.4.1-beta.2 → 1.4.1-beta.3

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 (198) hide show
  1. package/.openapi-generator/FILES +29 -0
  2. package/README.md +2 -2
  3. package/api/bank-accounts-api.ts +21 -17
  4. package/api/bank-transaction-api.ts +4 -4
  5. package/api/default-api.ts +1 -1
  6. package/api/payment-methods-api.ts +42 -38
  7. package/api/payment-reminders-api.ts +13 -9
  8. package/api/payment-setup-api.ts +37 -29
  9. package/api/payments-api.ts +28 -26
  10. package/api/refunds-api.ts +14 -16
  11. package/api/tenant-bank-account-api.ts +1 -1
  12. package/api/webhooks-api.ts +1 -1
  13. package/api.ts +1 -1
  14. package/base.ts +1 -1
  15. package/common.ts +2 -2
  16. package/configuration.ts +1 -1
  17. package/dist/api/bank-accounts-api.d.ts +15 -13
  18. package/dist/api/bank-accounts-api.js +13 -13
  19. package/dist/api/bank-transaction-api.d.ts +4 -4
  20. package/dist/api/bank-transaction-api.js +1 -2
  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 -28
  24. package/dist/api/payment-methods-api.js +25 -29
  25. package/dist/api/payment-reminders-api.d.ts +15 -13
  26. package/dist/api/payment-reminders-api.js +1 -1
  27. package/dist/api/payment-setup-api.d.ts +23 -19
  28. package/dist/api/payment-setup-api.js +25 -25
  29. package/dist/api/payments-api.d.ts +25 -22
  30. package/dist/api/payments-api.js +13 -17
  31. package/dist/api/refunds-api.d.ts +11 -11
  32. package/dist/api/refunds-api.js +10 -12
  33. package/dist/api/tenant-bank-account-api.d.ts +1 -1
  34. package/dist/api/tenant-bank-account-api.js +1 -1
  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 +1 -1
  38. package/dist/api.js +1 -1
  39. package/dist/base.d.ts +1 -1
  40. package/dist/base.js +1 -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-account-class.d.ts +54 -0
  48. package/dist/models/bank-account-class.js +15 -0
  49. package/dist/models/bank-transaction-response-class.d.ts +1 -1
  50. package/dist/models/bank-transaction-response-class.js +1 -1
  51. package/dist/models/billing-profile-dto.d.ts +38 -0
  52. package/dist/models/billing-profile-dto.js +15 -0
  53. package/dist/models/billing-profile-limited-response-dto.d.ts +54 -0
  54. package/dist/models/billing-profile-limited-response-dto.js +15 -0
  55. package/dist/models/complete-braintree-payment-setup-request-dto.d.ts +48 -0
  56. package/dist/models/complete-braintree-payment-setup-request-dto.js +15 -0
  57. package/dist/models/complete-payment-setup-request-dto.d.ts +32 -0
  58. package/dist/models/complete-payment-setup-request-dto.js +15 -0
  59. package/dist/models/complete-payment-setup-response-class.d.ts +25 -0
  60. package/dist/models/complete-payment-setup-response-class.js +15 -0
  61. package/dist/models/complete-stripe-payment-setup-request-dto.d.ts +60 -0
  62. package/dist/models/complete-stripe-payment-setup-request-dto.js +15 -0
  63. package/dist/models/create-bank-account-request-dto.d.ts +30 -0
  64. package/dist/models/create-bank-account-request-dto.js +15 -0
  65. package/dist/models/create-payment-method-response-class.d.ts +25 -0
  66. package/dist/models/create-payment-method-response-class.js +15 -0
  67. package/dist/models/create-payment-reminder-request-dto.d.ts +1 -1
  68. package/dist/models/create-payment-reminder-request-dto.js +1 -1
  69. package/dist/models/create-payment-request-dto.d.ts +4 -4
  70. package/dist/models/create-payment-request-dto.js +1 -1
  71. package/dist/models/create-payment-response-class.d.ts +25 -0
  72. package/dist/models/create-payment-response-class.js +15 -0
  73. package/dist/models/create-psp-payment-method-request-dto.d.ts +61 -0
  74. package/dist/models/create-psp-payment-method-request-dto.js +32 -0
  75. package/dist/models/create-refund-request-dto.d.ts +1 -1
  76. package/dist/models/create-refund-request-dto.js +1 -1
  77. package/dist/models/create-refund-response-class.d.ts +1 -1
  78. package/dist/models/create-refund-response-class.js +1 -1
  79. package/dist/models/create-tenant-bank-account-request-dto.d.ts +1 -1
  80. package/dist/models/create-tenant-bank-account-request-dto.js +1 -1
  81. package/dist/models/deactivate-payment-reminder-request-dto.d.ts +1 -1
  82. package/dist/models/deactivate-payment-reminder-request-dto.js +1 -1
  83. package/dist/models/deactivate-payment-reminder-response-class.d.ts +25 -0
  84. package/dist/models/deactivate-payment-reminder-response-class.js +15 -0
  85. package/dist/models/get-bank-transactions-response-class.d.ts +1 -1
  86. package/dist/models/get-bank-transactions-response-class.js +1 -1
  87. package/dist/models/get-payment-method-response-class.d.ts +25 -0
  88. package/dist/models/get-payment-method-response-class.js +15 -0
  89. package/dist/models/get-payment-response-class.d.ts +25 -0
  90. package/dist/models/get-payment-response-class.js +15 -0
  91. package/dist/models/get-refund-response-class.d.ts +1 -1
  92. package/dist/models/get-refund-response-class.js +1 -1
  93. package/dist/models/get-request-dto.d.ts +2 -2
  94. package/dist/models/get-request-dto.js +1 -1
  95. package/dist/models/get-tenant-bank-account-response-class.d.ts +1 -1
  96. package/dist/models/get-tenant-bank-account-response-class.js +1 -1
  97. package/dist/models/index.d.ts +29 -0
  98. package/dist/models/index.js +29 -0
  99. package/dist/models/initiate-braintree-payment-setup-request-dto.d.ts +30 -0
  100. package/dist/models/initiate-braintree-payment-setup-request-dto.js +15 -0
  101. package/dist/models/initiate-braintree-payment-setup-response-class.d.ts +24 -0
  102. package/dist/models/initiate-braintree-payment-setup-response-class.js +15 -0
  103. package/dist/models/initiate-payment-setup-request-dto.d.ts +44 -0
  104. package/dist/models/initiate-payment-setup-request-dto.js +15 -0
  105. package/dist/models/initiate-payment-setup-response-class.d.ts +32 -0
  106. package/dist/models/initiate-payment-setup-response-class.js +15 -0
  107. package/dist/models/initiate-stripe-payment-setup-request-dto.d.ts +30 -0
  108. package/dist/models/initiate-stripe-payment-setup-request-dto.js +15 -0
  109. package/dist/models/initiate-stripe-payment-setup-response-class.d.ts +30 -0
  110. package/dist/models/initiate-stripe-payment-setup-response-class.js +15 -0
  111. package/dist/models/inline-response200.d.ts +1 -1
  112. package/dist/models/inline-response200.js +1 -1
  113. package/dist/models/inline-response503.d.ts +1 -1
  114. package/dist/models/inline-response503.js +1 -1
  115. package/dist/models/list-bank-accounts-response-class.d.ts +31 -0
  116. package/dist/models/list-bank-accounts-response-class.js +15 -0
  117. package/dist/models/list-bank-transactions-response-class.d.ts +1 -1
  118. package/dist/models/list-bank-transactions-response-class.js +1 -1
  119. package/dist/models/list-payment-methods-response-class.d.ts +31 -0
  120. package/dist/models/list-payment-methods-response-class.js +15 -0
  121. package/dist/models/list-payment-reminders-response-class.d.ts +31 -0
  122. package/dist/models/list-payment-reminders-response-class.js +15 -0
  123. package/dist/models/list-payments-response-class.d.ts +31 -0
  124. package/dist/models/list-payments-response-class.js +15 -0
  125. package/dist/models/list-refunds-response-class.d.ts +1 -1
  126. package/dist/models/list-refunds-response-class.js +1 -1
  127. package/dist/models/payment-class.d.ts +103 -0
  128. package/dist/models/payment-class.js +15 -0
  129. package/dist/models/payment-method-class.d.ts +66 -0
  130. package/dist/models/payment-method-class.js +15 -0
  131. package/dist/models/payment-reminder-class.d.ts +112 -0
  132. package/dist/models/payment-reminder-class.js +36 -0
  133. package/dist/models/refund-class.d.ts +1 -1
  134. package/dist/models/refund-class.js +1 -1
  135. package/dist/models/sepa-direct-dto.d.ts +24 -0
  136. package/dist/models/sepa-direct-dto.js +15 -0
  137. package/dist/models/symphony-profile-limited-response-dto.d.ts +42 -0
  138. package/dist/models/symphony-profile-limited-response-dto.js +15 -0
  139. package/dist/models/tenant-bank-account-response-class.d.ts +1 -1
  140. package/dist/models/tenant-bank-account-response-class.js +1 -1
  141. package/dist/models/transaction-class.d.ts +1 -1
  142. package/dist/models/transaction-class.js +1 -1
  143. package/dist/models/update-tenant-bank-account-rest-request-dto.d.ts +1 -1
  144. package/dist/models/update-tenant-bank-account-rest-request-dto.js +1 -1
  145. package/dist/models/validate-pspconfig-request-dto.d.ts +9 -2
  146. package/dist/models/validate-pspconfig-request-dto.js +8 -1
  147. package/index.ts +1 -1
  148. package/models/bank-account-class.ts +60 -0
  149. package/models/bank-transaction-response-class.ts +1 -1
  150. package/models/billing-profile-dto.ts +44 -0
  151. package/models/billing-profile-limited-response-dto.ts +60 -0
  152. package/models/complete-braintree-payment-setup-request-dto.ts +54 -0
  153. package/models/complete-payment-setup-request-dto.ts +38 -0
  154. package/models/complete-payment-setup-response-class.ts +31 -0
  155. package/models/complete-stripe-payment-setup-request-dto.ts +66 -0
  156. package/models/create-bank-account-request-dto.ts +36 -0
  157. package/models/create-payment-method-response-class.ts +31 -0
  158. package/models/create-payment-reminder-request-dto.ts +1 -1
  159. package/models/create-payment-request-dto.ts +4 -4
  160. package/models/create-payment-response-class.ts +31 -0
  161. package/models/create-psp-payment-method-request-dto.ts +70 -0
  162. package/models/create-refund-request-dto.ts +1 -1
  163. package/models/create-refund-response-class.ts +1 -1
  164. package/models/create-tenant-bank-account-request-dto.ts +1 -1
  165. package/models/deactivate-payment-reminder-request-dto.ts +1 -1
  166. package/models/deactivate-payment-reminder-response-class.ts +31 -0
  167. package/models/get-bank-transactions-response-class.ts +1 -1
  168. package/models/get-payment-method-response-class.ts +31 -0
  169. package/models/get-payment-response-class.ts +31 -0
  170. package/models/get-refund-response-class.ts +1 -1
  171. package/models/get-request-dto.ts +2 -2
  172. package/models/get-tenant-bank-account-response-class.ts +1 -1
  173. package/models/index.ts +29 -0
  174. package/models/initiate-braintree-payment-setup-request-dto.ts +36 -0
  175. package/models/initiate-braintree-payment-setup-response-class.ts +30 -0
  176. package/models/initiate-payment-setup-request-dto.ts +50 -0
  177. package/models/initiate-payment-setup-response-class.ts +38 -0
  178. package/models/initiate-stripe-payment-setup-request-dto.ts +36 -0
  179. package/models/initiate-stripe-payment-setup-response-class.ts +36 -0
  180. package/models/inline-response200.ts +1 -1
  181. package/models/inline-response503.ts +1 -1
  182. package/models/list-bank-accounts-response-class.ts +37 -0
  183. package/models/list-bank-transactions-response-class.ts +1 -1
  184. package/models/list-payment-methods-response-class.ts +37 -0
  185. package/models/list-payment-reminders-response-class.ts +37 -0
  186. package/models/list-payments-response-class.ts +37 -0
  187. package/models/list-refunds-response-class.ts +1 -1
  188. package/models/payment-class.ts +109 -0
  189. package/models/payment-method-class.ts +72 -0
  190. package/models/payment-reminder-class.ts +122 -0
  191. package/models/refund-class.ts +1 -1
  192. package/models/sepa-direct-dto.ts +30 -0
  193. package/models/symphony-profile-limited-response-dto.ts +48 -0
  194. package/models/tenant-bank-account-response-class.ts +1 -1
  195. package/models/transaction-class.ts +1 -1
  196. package/models/update-tenant-bank-account-rest-request-dto.ts +1 -1
  197. package/models/validate-pspconfig-request-dto.ts +12 -2
  198. package/package.json +1 -1
@@ -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: z
9
+ * Contact: kontakt@emil.de
10
10
  *
11
11
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
12
12
  * https://openapi-generator.tech
@@ -151,13 +151,13 @@ var PaymentsApiAxiosParamCreator = function (configuration) {
151
151
  * Retrieves the details of a payment that was previously created. Supply the unique payment code that was returned when you created the payment and Emil Api will return the corresponding payment information.
152
152
  * @summary Retrieve a payment
153
153
  * @param {string} code Unique identifier for the object.
154
- * @param {string} expand Fields to expand response by
155
- * @param {string} expand2 Fields to expand response by
156
154
  * @param {string} [authorization] Bearer Token
155
+ * @param {string} [expand] Fields to expand response by
156
+ * @param {string} [expand2] Fields to expand response by
157
157
  * @param {*} [options] Override http request option.
158
158
  * @throws {RequiredError}
159
159
  */
160
- getPayment: function (code, expand, expand2, authorization, options) {
160
+ getPayment: function (code, authorization, expand, expand2, options) {
161
161
  if (options === void 0) { options = {}; }
162
162
  return __awaiter(_this, void 0, void 0, function () {
163
163
  var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
@@ -166,10 +166,6 @@ var PaymentsApiAxiosParamCreator = function (configuration) {
166
166
  case 0:
167
167
  // verify required parameter 'code' is not null or undefined
168
168
  (0, common_1.assertParamExists)('getPayment', 'code', code);
169
- // verify required parameter 'expand' is not null or undefined
170
- (0, common_1.assertParamExists)('getPayment', 'expand', expand);
171
- // verify required parameter 'expand2' is not null or undefined
172
- (0, common_1.assertParamExists)('getPayment', 'expand2', expand2);
173
169
  localVarPath = "/paymentservice/v1/payments/{code}";
174
170
  localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
175
171
  if (configuration) {
@@ -317,18 +313,18 @@ var PaymentsApiFp = function (configuration) {
317
313
  * Retrieves the details of a payment that was previously created. Supply the unique payment code that was returned when you created the payment and Emil Api will return the corresponding payment information.
318
314
  * @summary Retrieve a payment
319
315
  * @param {string} code Unique identifier for the object.
320
- * @param {string} expand Fields to expand response by
321
- * @param {string} expand2 Fields to expand response by
322
316
  * @param {string} [authorization] Bearer Token
317
+ * @param {string} [expand] Fields to expand response by
318
+ * @param {string} [expand2] Fields to expand response by
323
319
  * @param {*} [options] Override http request option.
324
320
  * @throws {RequiredError}
325
321
  */
326
- getPayment: function (code, expand, expand2, authorization, options) {
322
+ getPayment: function (code, authorization, expand, expand2, options) {
327
323
  return __awaiter(this, void 0, void 0, function () {
328
324
  var localVarAxiosArgs;
329
325
  return __generator(this, function (_a) {
330
326
  switch (_a.label) {
331
- case 0: return [4 /*yield*/, localVarAxiosParamCreator.getPayment(code, expand, expand2, authorization, options)];
327
+ case 0: return [4 /*yield*/, localVarAxiosParamCreator.getPayment(code, authorization, expand, expand2, options)];
332
328
  case 1:
333
329
  localVarAxiosArgs = _a.sent();
334
330
  return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
@@ -389,14 +385,14 @@ var PaymentsApiFactory = function (configuration, basePath, axios) {
389
385
  * Retrieves the details of a payment that was previously created. Supply the unique payment code that was returned when you created the payment and Emil Api will return the corresponding payment information.
390
386
  * @summary Retrieve a payment
391
387
  * @param {string} code Unique identifier for the object.
392
- * @param {string} expand Fields to expand response by
393
- * @param {string} expand2 Fields to expand response by
394
388
  * @param {string} [authorization] Bearer Token
389
+ * @param {string} [expand] Fields to expand response by
390
+ * @param {string} [expand2] Fields to expand response by
395
391
  * @param {*} [options] Override http request option.
396
392
  * @throws {RequiredError}
397
393
  */
398
- getPayment: function (code, expand, expand2, authorization, options) {
399
- return localVarFp.getPayment(code, expand, expand2, authorization, options).then(function (request) { return request(axios, basePath); });
394
+ getPayment: function (code, authorization, expand, expand2, options) {
395
+ return localVarFp.getPayment(code, authorization, expand, expand2, options).then(function (request) { return request(axios, basePath); });
400
396
  },
401
397
  /**
402
398
  * Returns a list of payments you’ve previously created. The payments are returned in sorted order, with the oldest payment appearing first. For more information about pagination, read the Pagination documentation.
@@ -451,7 +447,7 @@ var PaymentsApi = /** @class */ (function (_super) {
451
447
  */
452
448
  PaymentsApi.prototype.getPayment = function (requestParameters, options) {
453
449
  var _this = this;
454
- return (0, exports.PaymentsApiFp)(this.configuration).getPayment(requestParameters.code, requestParameters.expand, requestParameters.expand2, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
450
+ return (0, exports.PaymentsApiFp)(this.configuration).getPayment(requestParameters.code, requestParameters.authorization, requestParameters.expand, requestParameters.expand2, options).then(function (request) { return request(_this.axios, _this.basePath); });
455
451
  };
456
452
  /**
457
453
  * Returns a list of payments you’ve previously created. The payments are returned in sorted order, with the oldest payment appearing first. For more information about pagination, read the Pagination documentation.
@@ -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: z
6
+ * Contact: kontakt@emil.de
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
9
  * https://openapi-generator.tech
@@ -33,12 +33,12 @@ export declare const RefundsApiAxiosParamCreator: (configuration?: Configuration
33
33
  *
34
34
  * @param {string} code
35
35
  * @param {string} code2 Unique identifier for the object.
36
- * @param {string} expand Fields to expand response by
37
36
  * @param {string} [authorization] Bearer Token
37
+ * @param {string} [expand] Fields to expand response by
38
38
  * @param {*} [options] Override http request option.
39
39
  * @throws {RequiredError}
40
40
  */
41
- getRefund: (code: string, code2: string, expand: string, authorization?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
41
+ getRefund: (code: string, code2: string, authorization?: string, expand?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
42
42
  /**
43
43
  *
44
44
  * @param {string} [authorization] Bearer Token
@@ -71,12 +71,12 @@ export declare const RefundsApiFp: (configuration?: Configuration) => {
71
71
  *
72
72
  * @param {string} code
73
73
  * @param {string} code2 Unique identifier for the object.
74
- * @param {string} expand Fields to expand response by
75
74
  * @param {string} [authorization] Bearer Token
75
+ * @param {string} [expand] Fields to expand response by
76
76
  * @param {*} [options] Override http request option.
77
77
  * @throws {RequiredError}
78
78
  */
79
- getRefund(code: string, code2: string, expand: string, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetRefundResponseClass>>;
79
+ getRefund(code: string, code2: string, authorization?: string, expand?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetRefundResponseClass>>;
80
80
  /**
81
81
  *
82
82
  * @param {string} [authorization] Bearer Token
@@ -109,12 +109,12 @@ export declare const RefundsApiFactory: (configuration?: Configuration, basePath
109
109
  *
110
110
  * @param {string} code
111
111
  * @param {string} code2 Unique identifier for the object.
112
- * @param {string} expand Fields to expand response by
113
112
  * @param {string} [authorization] Bearer Token
113
+ * @param {string} [expand] Fields to expand response by
114
114
  * @param {*} [options] Override http request option.
115
115
  * @throws {RequiredError}
116
116
  */
117
- getRefund(code: string, code2: string, expand: string, authorization?: string, options?: any): AxiosPromise<GetRefundResponseClass>;
117
+ getRefund(code: string, code2: string, authorization?: string, expand?: string, options?: any): AxiosPromise<GetRefundResponseClass>;
118
118
  /**
119
119
  *
120
120
  * @param {string} [authorization] Bearer Token
@@ -168,17 +168,17 @@ export interface RefundsApiGetRefundRequest {
168
168
  */
169
169
  readonly code2: string;
170
170
  /**
171
- * Fields to expand response by
171
+ * Bearer Token
172
172
  * @type {string}
173
173
  * @memberof RefundsApiGetRefund
174
174
  */
175
- readonly expand: string;
175
+ readonly authorization?: string;
176
176
  /**
177
- * Bearer Token
177
+ * Fields to expand response by
178
178
  * @type {string}
179
179
  * @memberof RefundsApiGetRefund
180
180
  */
181
- readonly authorization?: string;
181
+ readonly expand?: string;
182
182
  }
183
183
  /**
184
184
  * Request parameters for listRefunds operation in RefundsApi.
@@ -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: z
9
+ * Contact: kontakt@emil.de
10
10
  *
11
11
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
12
12
  * https://openapi-generator.tech
@@ -144,12 +144,12 @@ var RefundsApiAxiosParamCreator = function (configuration) {
144
144
  *
145
145
  * @param {string} code
146
146
  * @param {string} code2 Unique identifier for the object.
147
- * @param {string} expand Fields to expand response by
148
147
  * @param {string} [authorization] Bearer Token
148
+ * @param {string} [expand] Fields to expand response by
149
149
  * @param {*} [options] Override http request option.
150
150
  * @throws {RequiredError}
151
151
  */
152
- getRefund: function (code, code2, expand, authorization, options) {
152
+ getRefund: function (code, code2, authorization, expand, options) {
153
153
  if (options === void 0) { options = {}; }
154
154
  return __awaiter(_this, void 0, void 0, function () {
155
155
  var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
@@ -160,8 +160,6 @@ var RefundsApiAxiosParamCreator = function (configuration) {
160
160
  (0, common_1.assertParamExists)('getRefund', 'code', code);
161
161
  // verify required parameter 'code2' is not null or undefined
162
162
  (0, common_1.assertParamExists)('getRefund', 'code2', code2);
163
- // verify required parameter 'expand' is not null or undefined
164
- (0, common_1.assertParamExists)('getRefund', 'expand', expand);
165
163
  localVarPath = "/paymentservice/v1/refunds/{code}"
166
164
  .replace("{".concat("code", "}"), encodeURIComponent(String(code)));
167
165
  localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
@@ -304,17 +302,17 @@ var RefundsApiFp = function (configuration) {
304
302
  *
305
303
  * @param {string} code
306
304
  * @param {string} code2 Unique identifier for the object.
307
- * @param {string} expand Fields to expand response by
308
305
  * @param {string} [authorization] Bearer Token
306
+ * @param {string} [expand] Fields to expand response by
309
307
  * @param {*} [options] Override http request option.
310
308
  * @throws {RequiredError}
311
309
  */
312
- getRefund: function (code, code2, expand, authorization, options) {
310
+ getRefund: function (code, code2, authorization, expand, options) {
313
311
  return __awaiter(this, void 0, void 0, function () {
314
312
  var localVarAxiosArgs;
315
313
  return __generator(this, function (_a) {
316
314
  switch (_a.label) {
317
- case 0: return [4 /*yield*/, localVarAxiosParamCreator.getRefund(code, code2, expand, authorization, options)];
315
+ case 0: return [4 /*yield*/, localVarAxiosParamCreator.getRefund(code, code2, authorization, expand, options)];
318
316
  case 1:
319
317
  localVarAxiosArgs = _a.sent();
320
318
  return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
@@ -372,13 +370,13 @@ var RefundsApiFactory = function (configuration, basePath, axios) {
372
370
  *
373
371
  * @param {string} code
374
372
  * @param {string} code2 Unique identifier for the object.
375
- * @param {string} expand Fields to expand response by
376
373
  * @param {string} [authorization] Bearer Token
374
+ * @param {string} [expand] Fields to expand response by
377
375
  * @param {*} [options] Override http request option.
378
376
  * @throws {RequiredError}
379
377
  */
380
- getRefund: function (code, code2, expand, authorization, options) {
381
- return localVarFp.getRefund(code, code2, expand, authorization, options).then(function (request) { return request(axios, basePath); });
378
+ getRefund: function (code, code2, authorization, expand, options) {
379
+ return localVarFp.getRefund(code, code2, authorization, expand, options).then(function (request) { return request(axios, basePath); });
382
380
  },
383
381
  /**
384
382
  *
@@ -430,7 +428,7 @@ var RefundsApi = /** @class */ (function (_super) {
430
428
  */
431
429
  RefundsApi.prototype.getRefund = function (requestParameters, options) {
432
430
  var _this = this;
433
- return (0, exports.RefundsApiFp)(this.configuration).getRefund(requestParameters.code, requestParameters.code2, requestParameters.expand, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
431
+ return (0, exports.RefundsApiFp)(this.configuration).getRefund(requestParameters.code, requestParameters.code2, requestParameters.authorization, requestParameters.expand, options).then(function (request) { return request(_this.axios, _this.basePath); });
434
432
  };
435
433
  /**
436
434
  *
@@ -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: z
6
+ * Contact: kontakt@emil.de
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
9
  * https://openapi-generator.tech
@@ -6,7 +6,7 @@
6
6
  * This service directly communicates with the various Payment Service Providers (PSPs) in order to charge or refund customers. This service will automatically connect to the PSP linked in your admin configuration; meaning if you configured Stripe, it will automatically create a payment on Stripe when you create it in Emil.
7
7
  *
8
8
  * The version of the OpenAPI document: 1.0
9
- * Contact: z
9
+ * Contact: kontakt@emil.de
10
10
  *
11
11
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
12
12
  * https://openapi-generator.tech
@@ -3,7 +3,7 @@
3
3
  * This service directly communicates with the various Payment Service Providers (PSPs) in order to charge or refund customers. This service will automatically connect to the PSP linked in your admin configuration; meaning if you configured Stripe, it will automatically create a payment on Stripe when you create it in Emil.
4
4
  *
5
5
  * The version of the OpenAPI document: 1.0
6
- * Contact: z
6
+ * Contact: kontakt@emil.de
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
9
  * https://openapi-generator.tech
@@ -6,7 +6,7 @@
6
6
  * This service directly communicates with the various Payment Service Providers (PSPs) in order to charge or refund customers. This service will automatically connect to the PSP linked in your admin configuration; meaning if you configured Stripe, it will automatically create a payment on Stripe when you create it in Emil.
7
7
  *
8
8
  * The version of the OpenAPI document: 1.0
9
- * Contact: z
9
+ * Contact: kontakt@emil.de
10
10
  *
11
11
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
12
12
  * https://openapi-generator.tech
package/dist/api.d.ts CHANGED
@@ -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: z
6
+ * Contact: kontakt@emil.de
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
9
  * https://openapi-generator.tech
package/dist/api.js CHANGED
@@ -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: z
9
+ * Contact: kontakt@emil.de
10
10
  *
11
11
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
12
12
  * https://openapi-generator.tech
package/dist/base.d.ts CHANGED
@@ -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: z
6
+ * Contact: kontakt@emil.de
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
9
  * https://openapi-generator.tech
package/dist/base.js CHANGED
@@ -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: z
9
+ * Contact: kontakt@emil.de
10
10
  *
11
11
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
12
12
  * https://openapi-generator.tech
package/dist/common.d.ts CHANGED
@@ -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: z
6
+ * Contact: kontakt@emil.de
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
9
  * https://openapi-generator.tech
@@ -68,7 +68,7 @@ export declare const createRequestFunction: (axiosArgs: RequestArgs, globalAxios
68
68
  * 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.
69
69
  *
70
70
  * The version of the OpenAPI document: 1.0
71
- * Contact: z
71
+ * Contact: kontakt@emil.de
72
72
  *
73
73
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
74
74
  * https://openapi-generator.tech
package/dist/common.js CHANGED
@@ -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: z
9
+ * Contact: kontakt@emil.de
10
10
  *
11
11
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
12
12
  * https://openapi-generator.tech
@@ -3,7 +3,7 @@
3
3
  * This service directly communicates with the various Payment Service Providers (PSPs) in order to charge or refund customers. This service will automatically connect to the PSP linked in your admin configuration; meaning if you configured Stripe, it will automatically create a payment on Stripe when you create it in Emil.
4
4
  *
5
5
  * The version of the OpenAPI document: 1.0
6
- * Contact: z
6
+ * Contact: kontakt@emil.de
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
9
  * https://openapi-generator.tech
@@ -6,7 +6,7 @@
6
6
  * This service directly communicates with the various Payment Service Providers (PSPs) in order to charge or refund customers. This service will automatically connect to the PSP linked in your admin configuration; meaning if you configured Stripe, it will automatically create a payment on Stripe when you create it in Emil.
7
7
  *
8
8
  * The version of the OpenAPI document: 1.0
9
- * Contact: z
9
+ * Contact: kontakt@emil.de
10
10
  *
11
11
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
12
12
  * https://openapi-generator.tech
package/dist/index.d.ts CHANGED
@@ -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: z
6
+ * Contact: kontakt@emil.de
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
9
  * https://openapi-generator.tech
package/dist/index.js CHANGED
@@ -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: z
9
+ * Contact: kontakt@emil.de
10
10
  *
11
11
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
12
12
  * https://openapi-generator.tech
@@ -0,0 +1,54 @@
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 BankAccountClass
16
+ */
17
+ export interface BankAccountClass {
18
+ /**
19
+ * Unique identifier for bank account.
20
+ * @type {number}
21
+ * @memberof BankAccountClass
22
+ */
23
+ 'id': number;
24
+ /**
25
+ * Unique identifier for the object.
26
+ * @type {string}
27
+ * @memberof BankAccountClass
28
+ */
29
+ 'code': string;
30
+ /**
31
+ * User account code associated to bank account.
32
+ * @type {string}
33
+ * @memberof BankAccountClass
34
+ */
35
+ 'accountCode': string;
36
+ /**
37
+ * International bank account number with witch the bank account is created
38
+ * @type {string}
39
+ * @memberof BankAccountClass
40
+ */
41
+ 'iban': string;
42
+ /**
43
+ * Time at which the object was created.
44
+ * @type {string}
45
+ * @memberof BankAccountClass
46
+ */
47
+ 'createdAt': string;
48
+ /**
49
+ * Time at which the object was updated.
50
+ * @type {string}
51
+ * @memberof BankAccountClass
52
+ */
53
+ 'updatedAt': string;
54
+ }
@@ -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: 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 });
@@ -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: z
6
+ * Contact: kontakt@emil.de
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
9
  * https://openapi-generator.tech
@@ -6,7 +6,7 @@
6
6
  * This service directly communicates with the various Payment Service Providers (PSPs) in order to charge or refund customers. This service will automatically connect to the PSP linked in your admin configuration; meaning if you configured Stripe, it will automatically create a payment on Stripe when you create it in Emil.
7
7
  *
8
8
  * The version of the OpenAPI document: 1.0
9
- * Contact: z
9
+ * Contact: kontakt@emil.de
10
10
  *
11
11
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
12
12
  * https://openapi-generator.tech
@@ -0,0 +1,38 @@
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
+ }
@@ -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: 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 });
@@ -0,0 +1,54 @@
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 BillingProfileLimitedResponseDto
16
+ */
17
+ export interface BillingProfileLimitedResponseDto {
18
+ /**
19
+ *
20
+ * @type {string}
21
+ * @memberof BillingProfileLimitedResponseDto
22
+ */
23
+ 'sourceCode': string;
24
+ /**
25
+ *
26
+ * @type {string}
27
+ * @memberof BillingProfileLimitedResponseDto
28
+ */
29
+ 'status': string;
30
+ /**
31
+ *
32
+ * @type {string}
33
+ * @memberof BillingProfileLimitedResponseDto
34
+ */
35
+ 'brand': string;
36
+ /**
37
+ *
38
+ * @type {string}
39
+ * @memberof BillingProfileLimitedResponseDto
40
+ */
41
+ 'invoiceLanguage'?: string;
42
+ /**
43
+ *
44
+ * @type {string}
45
+ * @memberof BillingProfileLimitedResponseDto
46
+ */
47
+ 'customerSegment': string;
48
+ /**
49
+ *
50
+ * @type {number}
51
+ * @memberof BillingProfileLimitedResponseDto
52
+ */
53
+ 'activeSubsCnt': number;
54
+ }
@@ -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: 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 });