@emilgroup/payment-sdk-node 1.21.1-beta.12 → 1.21.1-beta.14

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 (46) hide show
  1. package/.openapi-generator/FILES +8 -0
  2. package/README.md +2 -2
  3. package/api/bank-orders-api.ts +636 -0
  4. package/api.ts +2 -0
  5. package/dist/api/bank-accounts-api.js +20 -53
  6. package/dist/api/bank-orders-api.d.ts +356 -0
  7. package/dist/api/bank-orders-api.js +621 -0
  8. package/dist/api/bank-transaction-api.js +20 -53
  9. package/dist/api/health-check-api.js +5 -18
  10. package/dist/api/payment-methods-api.js +11 -32
  11. package/dist/api/payment-reminders-api.js +14 -39
  12. package/dist/api/payment-setup-api.js +8 -25
  13. package/dist/api/payments-api.js +11 -32
  14. package/dist/api/refunds-api.js +11 -32
  15. package/dist/api/tenant-bank-account-api.js +17 -46
  16. package/dist/api/webhooks-api.js +5 -18
  17. package/dist/api.d.ts +1 -0
  18. package/dist/api.js +1 -0
  19. package/dist/base.js +15 -25
  20. package/dist/common.d.ts +1 -1
  21. package/dist/common.js +2 -2
  22. package/dist/models/bank-order-class.d.ts +115 -0
  23. package/dist/models/bank-order-class.js +15 -0
  24. package/dist/models/create-bank-order-request-dto.d.ts +80 -0
  25. package/dist/models/create-bank-order-request-dto.js +28 -0
  26. package/dist/models/create-bank-order-response-class.d.ts +25 -0
  27. package/dist/models/create-bank-order-response-class.js +15 -0
  28. package/dist/models/get-bank-order-response-class.d.ts +25 -0
  29. package/dist/models/get-bank-order-response-class.js +15 -0
  30. package/dist/models/index.d.ts +7 -0
  31. package/dist/models/index.js +7 -0
  32. package/dist/models/list-bank-orders-response-class.d.ts +31 -0
  33. package/dist/models/list-bank-orders-response-class.js +15 -0
  34. package/dist/models/update-bank-order-request-dto.d.ts +68 -0
  35. package/dist/models/update-bank-order-request-dto.js +23 -0
  36. package/dist/models/update-bank-order-response-class.d.ts +25 -0
  37. package/dist/models/update-bank-order-response-class.js +15 -0
  38. package/models/bank-order-class.ts +121 -0
  39. package/models/create-bank-order-request-dto.ts +90 -0
  40. package/models/create-bank-order-response-class.ts +31 -0
  41. package/models/get-bank-order-response-class.ts +31 -0
  42. package/models/index.ts +7 -0
  43. package/models/list-bank-orders-response-class.ts +37 -0
  44. package/models/update-bank-order-request-dto.ts +77 -0
  45. package/models/update-bank-order-response-class.ts +31 -0
  46. package/package.json +4 -4
@@ -48,8 +48,8 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
48
48
  });
49
49
  };
50
50
  var __generator = (this && this.__generator) || function (thisArg, body) {
51
- var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g = Object.create((typeof Iterator === "function" ? Iterator : Object).prototype);
52
- return g.next = verb(0), g["throw"] = verb(1), g["return"] = verb(2), typeof Symbol === "function" && (g[Symbol.iterator] = function() { return this; }), g;
51
+ var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g;
52
+ return g = { next: verb(0), "throw": verb(1), "return": verb(2) }, typeof Symbol === "function" && (g[Symbol.iterator] = function() { return this; }), g;
53
53
  function verb(n) { return function (v) { return step([n, v]); }; }
54
54
  function step(op) {
55
55
  if (f) throw new TypeError("Generator is already executing.");
@@ -74,15 +74,6 @@ var __generator = (this && this.__generator) || function (thisArg, body) {
74
74
  if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true };
75
75
  }
76
76
  };
77
- var __spreadArray = (this && this.__spreadArray) || function (to, from, pack) {
78
- if (pack || arguments.length === 2) for (var i = 0, l = from.length, ar; i < l; i++) {
79
- if (ar || !(i in from)) {
80
- if (!ar) ar = Array.prototype.slice.call(from, 0, i);
81
- ar[i] = from[i];
82
- }
83
- }
84
- return to.concat(ar || Array.prototype.slice.call(from));
85
- };
86
77
  var __importDefault = (this && this.__importDefault) || function (mod) {
87
78
  return (mod && mod.__esModule) ? mod : { "default": mod };
88
79
  };
@@ -113,14 +104,10 @@ var TenantBankAccountApiAxiosParamCreator = function (configuration) {
113
104
  * @param {*} [options] Override http request option.
114
105
  * @throws {RequiredError}
115
106
  */
116
- createTenantBankAccount: function (createTenantBankAccountRequestDto_1, authorization_1) {
117
- var args_1 = [];
118
- for (var _i = 2; _i < arguments.length; _i++) {
119
- args_1[_i - 2] = arguments[_i];
120
- }
121
- return __awaiter(_this, __spreadArray([createTenantBankAccountRequestDto_1, authorization_1], args_1, true), void 0, function (createTenantBankAccountRequestDto, authorization, options) {
107
+ createTenantBankAccount: function (createTenantBankAccountRequestDto, authorization, options) {
108
+ if (options === void 0) { options = {}; }
109
+ return __awaiter(_this, void 0, void 0, function () {
122
110
  var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
123
- if (options === void 0) { options = {}; }
124
111
  return __generator(this, function (_a) {
125
112
  switch (_a.label) {
126
113
  case 0:
@@ -166,14 +153,10 @@ var TenantBankAccountApiAxiosParamCreator = function (configuration) {
166
153
  * @param {*} [options] Override http request option.
167
154
  * @throws {RequiredError}
168
155
  */
169
- deleteTenantBankAccount: function (code_1, authorization_1) {
170
- var args_1 = [];
171
- for (var _i = 2; _i < arguments.length; _i++) {
172
- args_1[_i - 2] = arguments[_i];
173
- }
174
- return __awaiter(_this, __spreadArray([code_1, authorization_1], args_1, true), void 0, function (code, authorization, options) {
156
+ deleteTenantBankAccount: function (code, authorization, options) {
157
+ if (options === void 0) { options = {}; }
158
+ return __awaiter(_this, void 0, void 0, function () {
175
159
  var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
176
- if (options === void 0) { options = {}; }
177
160
  return __generator(this, function (_a) {
178
161
  switch (_a.label) {
179
162
  case 0:
@@ -219,14 +202,10 @@ var TenantBankAccountApiAxiosParamCreator = function (configuration) {
219
202
  * @param {*} [options] Override http request option.
220
203
  * @throws {RequiredError}
221
204
  */
222
- getTenantBankAccount: function (code_1, authorization_1, expand_1) {
223
- var args_1 = [];
224
- for (var _i = 3; _i < arguments.length; _i++) {
225
- args_1[_i - 3] = arguments[_i];
226
- }
227
- return __awaiter(_this, __spreadArray([code_1, authorization_1, expand_1], args_1, true), void 0, function (code, authorization, expand, options) {
205
+ getTenantBankAccount: function (code, authorization, expand, options) {
206
+ if (options === void 0) { options = {}; }
207
+ return __awaiter(_this, void 0, void 0, function () {
228
208
  var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
229
- if (options === void 0) { options = {}; }
230
209
  return __generator(this, function (_a) {
231
210
  switch (_a.label) {
232
211
  case 0:
@@ -278,14 +257,10 @@ var TenantBankAccountApiAxiosParamCreator = function (configuration) {
278
257
  * @param {*} [options] Override http request option.
279
258
  * @throws {RequiredError}
280
259
  */
281
- listTenantBankAccounts: function (authorization_1, filter_1, filters_1, search_1, order_1, expand_1) {
282
- var args_1 = [];
283
- for (var _i = 6; _i < arguments.length; _i++) {
284
- args_1[_i - 6] = arguments[_i];
285
- }
286
- return __awaiter(_this, __spreadArray([authorization_1, filter_1, filters_1, search_1, order_1, expand_1], args_1, true), void 0, function (authorization, filter, filters, search, order, expand, options) {
260
+ listTenantBankAccounts: function (authorization, filter, filters, search, order, expand, options) {
261
+ if (options === void 0) { options = {}; }
262
+ return __awaiter(_this, void 0, void 0, function () {
287
263
  var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
288
- if (options === void 0) { options = {}; }
289
264
  return __generator(this, function (_a) {
290
265
  switch (_a.label) {
291
266
  case 0:
@@ -343,14 +318,10 @@ var TenantBankAccountApiAxiosParamCreator = function (configuration) {
343
318
  * @param {*} [options] Override http request option.
344
319
  * @throws {RequiredError}
345
320
  */
346
- updateTenantBankAccount: function (code_1, updateTenantBankAccountRestRequestDto_1, authorization_1) {
347
- var args_1 = [];
348
- for (var _i = 3; _i < arguments.length; _i++) {
349
- args_1[_i - 3] = arguments[_i];
350
- }
351
- return __awaiter(_this, __spreadArray([code_1, updateTenantBankAccountRestRequestDto_1, authorization_1], args_1, true), void 0, function (code, updateTenantBankAccountRestRequestDto, authorization, options) {
321
+ updateTenantBankAccount: function (code, updateTenantBankAccountRestRequestDto, authorization, options) {
322
+ if (options === void 0) { options = {}; }
323
+ return __awaiter(_this, void 0, void 0, function () {
352
324
  var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
353
- if (options === void 0) { options = {}; }
354
325
  return __generator(this, function (_a) {
355
326
  switch (_a.label) {
356
327
  case 0:
@@ -48,8 +48,8 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
48
48
  });
49
49
  };
50
50
  var __generator = (this && this.__generator) || function (thisArg, body) {
51
- var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g = Object.create((typeof Iterator === "function" ? Iterator : Object).prototype);
52
- return g.next = verb(0), g["throw"] = verb(1), g["return"] = verb(2), typeof Symbol === "function" && (g[Symbol.iterator] = function() { return this; }), g;
51
+ var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g;
52
+ return g = { next: verb(0), "throw": verb(1), "return": verb(2) }, typeof Symbol === "function" && (g[Symbol.iterator] = function() { return this; }), g;
53
53
  function verb(n) { return function (v) { return step([n, v]); }; }
54
54
  function step(op) {
55
55
  if (f) throw new TypeError("Generator is already executing.");
@@ -74,15 +74,6 @@ var __generator = (this && this.__generator) || function (thisArg, body) {
74
74
  if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true };
75
75
  }
76
76
  };
77
- var __spreadArray = (this && this.__spreadArray) || function (to, from, pack) {
78
- if (pack || arguments.length === 2) for (var i = 0, l = from.length, ar; i < l; i++) {
79
- if (ar || !(i in from)) {
80
- if (!ar) ar = Array.prototype.slice.call(from, 0, i);
81
- ar[i] = from[i];
82
- }
83
- }
84
- return to.concat(ar || Array.prototype.slice.call(from));
85
- };
86
77
  var __importDefault = (this && this.__importDefault) || function (mod) {
87
78
  return (mod && mod.__esModule) ? mod : { "default": mod };
88
79
  };
@@ -115,14 +106,10 @@ var WebhooksApiAxiosParamCreator = function (configuration) {
115
106
  * @param {*} [options] Override http request option.
116
107
  * @throws {RequiredError}
117
108
  */
118
- postWebhook: function (pspType_1, tenantSlug_1, productSlug_1, body_1) {
119
- var args_1 = [];
120
- for (var _i = 4; _i < arguments.length; _i++) {
121
- args_1[_i - 4] = arguments[_i];
122
- }
123
- return __awaiter(_this, __spreadArray([pspType_1, tenantSlug_1, productSlug_1, body_1], args_1, true), void 0, function (pspType, tenantSlug, productSlug, body, options) {
109
+ postWebhook: function (pspType, tenantSlug, productSlug, body, options) {
110
+ if (options === void 0) { options = {}; }
111
+ return __awaiter(_this, void 0, void 0, function () {
124
112
  var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
125
- if (options === void 0) { options = {}; }
126
113
  return __generator(this, function (_a) {
127
114
  // verify required parameter 'pspType' is not null or undefined
128
115
  (0, common_1.assertParamExists)('postWebhook', 'pspType', pspType);
package/dist/api.d.ts CHANGED
@@ -10,6 +10,7 @@
10
10
  * Do not edit the class manually.
11
11
  */
12
12
  export * from './api/bank-accounts-api';
13
+ export * from './api/bank-orders-api';
13
14
  export * from './api/bank-transaction-api';
14
15
  export * from './api/health-check-api';
15
16
  export * from './api/payment-methods-api';
package/dist/api.js CHANGED
@@ -28,6 +28,7 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
28
28
  };
29
29
  Object.defineProperty(exports, "__esModule", { value: true });
30
30
  __exportStar(require("./api/bank-accounts-api"), exports);
31
+ __exportStar(require("./api/bank-orders-api"), exports);
31
32
  __exportStar(require("./api/bank-transaction-api"), exports);
32
33
  __exportStar(require("./api/health-check-api"), exports);
33
34
  __exportStar(require("./api/payment-methods-api"), exports);
package/dist/base.js CHANGED
@@ -54,23 +54,13 @@ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (
54
54
  }) : function(o, v) {
55
55
  o["default"] = v;
56
56
  });
57
- var __importStar = (this && this.__importStar) || (function () {
58
- var ownKeys = function(o) {
59
- ownKeys = Object.getOwnPropertyNames || function (o) {
60
- var ar = [];
61
- for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
62
- return ar;
63
- };
64
- return ownKeys(o);
65
- };
66
- return function (mod) {
67
- if (mod && mod.__esModule) return mod;
68
- var result = {};
69
- if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
70
- __setModuleDefault(result, mod);
71
- return result;
72
- };
73
- })();
57
+ var __importStar = (this && this.__importStar) || function (mod) {
58
+ if (mod && mod.__esModule) return mod;
59
+ var result = {};
60
+ if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
61
+ __setModuleDefault(result, mod);
62
+ return result;
63
+ };
74
64
  var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
75
65
  function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
76
66
  return new (P || (P = Promise))(function (resolve, reject) {
@@ -81,8 +71,8 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
81
71
  });
82
72
  };
83
73
  var __generator = (this && this.__generator) || function (thisArg, body) {
84
- var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g = Object.create((typeof Iterator === "function" ? Iterator : Object).prototype);
85
- return g.next = verb(0), g["throw"] = verb(1), g["return"] = verb(2), typeof Symbol === "function" && (g[Symbol.iterator] = function() { return this; }), g;
74
+ var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g;
75
+ return g = { next: verb(0), "throw": verb(1), "return": verb(2) }, typeof Symbol === "function" && (g[Symbol.iterator] = function() { return this; }), g;
86
76
  function verb(n) { return function (v) { return step([n, v]); }; }
87
77
  function step(op) {
88
78
  if (f) throw new TypeError("Generator is already executing.");
@@ -111,8 +101,7 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
111
101
  return (mod && mod.__esModule) ? mod : { "default": mod };
112
102
  };
113
103
  Object.defineProperty(exports, "__esModule", { value: true });
114
- exports.RequiredError = exports.BaseAPI = exports.Environment = exports.COLLECTION_FORMATS = exports.BASE_PATH = void 0;
115
- exports.resetRetry = resetRetry;
104
+ exports.RequiredError = exports.BaseAPI = exports.resetRetry = exports.Environment = exports.COLLECTION_FORMATS = exports.BASE_PATH = void 0;
116
105
  var configuration_1 = require("./configuration");
117
106
  // Some imports not used depending on template conditions
118
107
  // @ts-ignore
@@ -143,12 +132,13 @@ var Environment;
143
132
  Environment["Staging"] = "https://apiv2-staging.emil.de";
144
133
  Environment["Development"] = "https://apiv2-dev.emil.de";
145
134
  Environment["ProductionZurich"] = "https://eu-central-2.apiv2.emil.de";
146
- })(Environment || (exports.Environment = Environment = {}));
135
+ })(Environment = exports.Environment || (exports.Environment = {}));
147
136
  var _retry_count = 0;
148
137
  var _retry = null;
149
138
  function resetRetry() {
150
139
  _retry_count = 0;
151
140
  }
141
+ exports.resetRetry = resetRetry;
152
142
  var NETWORK_ERROR_MESSAGE = "Network Error";
153
143
  /**
154
144
  *
@@ -172,9 +162,9 @@ var BaseAPI = /** @class */ (function () {
172
162
  }
173
163
  this.attachInterceptor(axios);
174
164
  }
175
- BaseAPI.prototype.initialize = function () {
176
- return __awaiter(this, arguments, void 0, function (env) {
177
- if (env === void 0) { env = Environment.Production; }
165
+ BaseAPI.prototype.initialize = function (env) {
166
+ if (env === void 0) { env = Environment.Production; }
167
+ return __awaiter(this, void 0, void 0, function () {
178
168
  return __generator(this, function (_a) {
179
169
  switch (_a.label) {
180
170
  case 0:
package/dist/common.d.ts CHANGED
@@ -63,7 +63,7 @@ export declare const toPathString: (url: URL) => string;
63
63
  *
64
64
  * @export
65
65
  */
66
- export declare const createRequestFunction: (axiosArgs: RequestArgs, globalAxios: AxiosInstance, BASE_PATH: string, configuration?: Configuration) => <T = unknown, R = AxiosResponse<T>>(axios?: AxiosInstance, basePath?: string) => Promise<R>;
66
+ export declare const createRequestFunction: (axiosArgs: RequestArgs, globalAxios: AxiosInstance, BASE_PATH: string, configuration?: Configuration) => <T = unknown, R = AxiosResponse<T, any>>(axios?: AxiosInstance, basePath?: string) => Promise<R>;
67
67
  /**
68
68
  * Emil Payment Service
69
69
  * 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.
package/dist/common.js CHANGED
@@ -33,8 +33,8 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
33
33
  });
34
34
  };
35
35
  var __generator = (this && this.__generator) || function (thisArg, body) {
36
- var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g = Object.create((typeof Iterator === "function" ? Iterator : Object).prototype);
37
- return g.next = verb(0), g["throw"] = verb(1), g["return"] = verb(2), typeof Symbol === "function" && (g[Symbol.iterator] = function() { return this; }), g;
36
+ var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g;
37
+ return g = { next: verb(0), "throw": verb(1), "return": verb(2) }, typeof Symbol === "function" && (g[Symbol.iterator] = function() { return this; }), g;
38
38
  function verb(n) { return function (v) { return step([n, v]); }; }
39
39
  function step(op) {
40
40
  if (f) throw new TypeError("Generator is already executing.");
@@ -0,0 +1,115 @@
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 { TenantBankAccountClassWithoutExpandProperties } from './tenant-bank-account-class-without-expand-properties';
13
+ /**
14
+ *
15
+ * @export
16
+ * @interface BankOrderClass
17
+ */
18
+ export interface BankOrderClass {
19
+ /**
20
+ * Internal unique identifier for the object. You should not have to use this, use code instead.
21
+ * @type {number}
22
+ * @memberof BankOrderClass
23
+ */
24
+ 'id': number;
25
+ /**
26
+ * Unique identifier for the object.
27
+ * @type {string}
28
+ * @memberof BankOrderClass
29
+ */
30
+ 'code': string;
31
+ /**
32
+ * Bank order type.
33
+ * @type {string}
34
+ * @memberof BankOrderClass
35
+ */
36
+ 'type': string;
37
+ /**
38
+ * Amount associated with bank order.
39
+ * @type {number}
40
+ * @memberof BankOrderClass
41
+ */
42
+ 'amount': number;
43
+ /**
44
+ * Status associated with bank order.
45
+ * @type {string}
46
+ * @memberof BankOrderClass
47
+ */
48
+ 'status': string;
49
+ /**
50
+ * Number associated with bank order.
51
+ * @type {string}
52
+ * @memberof BankOrderClass
53
+ */
54
+ 'orderNumber': string;
55
+ /**
56
+ * Bank order description.
57
+ * @type {string}
58
+ * @memberof BankOrderClass
59
+ */
60
+ 'description'?: string;
61
+ /**
62
+ * Bank account identifier associated with the bank order.
63
+ * @type {number}
64
+ * @memberof BankOrderClass
65
+ */
66
+ 'bankAccountId': number;
67
+ /**
68
+ * List of invoice IDs associated with bank order.
69
+ * @type {Array<number>}
70
+ * @memberof BankOrderClass
71
+ */
72
+ 'invoiceIds': Array<number>;
73
+ /**
74
+ * Day of execution of bank order.
75
+ * @type {string}
76
+ * @memberof BankOrderClass
77
+ */
78
+ 'executionDate': string;
79
+ /**
80
+ * Latest due date.
81
+ * @type {string}
82
+ * @memberof BankOrderClass
83
+ */
84
+ 'dueDate': string;
85
+ /**
86
+ * Time at which the object was created.
87
+ * @type {string}
88
+ * @memberof BankOrderClass
89
+ */
90
+ 'createdAt': string;
91
+ /**
92
+ * Time at which the object was updated.
93
+ * @type {string}
94
+ * @memberof BankOrderClass
95
+ */
96
+ 'updatedAt': string;
97
+ /**
98
+ * Identifier of the user who created the record.
99
+ * @type {string}
100
+ * @memberof BankOrderClass
101
+ */
102
+ 'createdBy': string;
103
+ /**
104
+ * Identifier of the user who last updated the record.
105
+ * @type {string}
106
+ * @memberof BankOrderClass
107
+ */
108
+ 'updatedBy': string;
109
+ /**
110
+ * The bank account object that this bank order is belongs to
111
+ * @type {TenantBankAccountClassWithoutExpandProperties}
112
+ * @memberof BankOrderClass
113
+ */
114
+ 'bankAccount'?: TenantBankAccountClassWithoutExpandProperties;
115
+ }
@@ -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,80 @@
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 CreateBankOrderRequestDto
16
+ */
17
+ export interface CreateBankOrderRequestDto {
18
+ /**
19
+ * Bank order type.
20
+ * @type {string}
21
+ * @memberof CreateBankOrderRequestDto
22
+ */
23
+ 'type': CreateBankOrderRequestDtoTypeEnum;
24
+ /**
25
+ * Amount associated with bank order.
26
+ * @type {number}
27
+ * @memberof CreateBankOrderRequestDto
28
+ */
29
+ 'amount': number;
30
+ /**
31
+ * Status associated with bank order.
32
+ * @type {string}
33
+ * @memberof CreateBankOrderRequestDto
34
+ */
35
+ 'status': CreateBankOrderRequestDtoStatusEnum;
36
+ /**
37
+ * Bank order description.
38
+ * @type {string}
39
+ * @memberof CreateBankOrderRequestDto
40
+ */
41
+ 'description'?: string;
42
+ /**
43
+ * Bank account identifier associated with the bank order.
44
+ * @type {number}
45
+ * @memberof CreateBankOrderRequestDto
46
+ */
47
+ 'bankAccountId': number;
48
+ /**
49
+ * List of invoice IDs associated with bank order.
50
+ * @type {Array<number>}
51
+ * @memberof CreateBankOrderRequestDto
52
+ */
53
+ 'invoiceIds': Array<number>;
54
+ /**
55
+ * Day of execution of bank order.
56
+ * @type {string}
57
+ * @memberof CreateBankOrderRequestDto
58
+ */
59
+ 'executionDate': string;
60
+ /**
61
+ * Latest due date.
62
+ * @type {string}
63
+ * @memberof CreateBankOrderRequestDto
64
+ */
65
+ 'dueDate': string;
66
+ }
67
+ export declare const CreateBankOrderRequestDtoTypeEnum: {
68
+ readonly DirectDebit: "direct_debit";
69
+ readonly PremiumPayment: "premium_payment";
70
+ readonly ClaimPayment: "claim_payment";
71
+ };
72
+ export type CreateBankOrderRequestDtoTypeEnum = typeof CreateBankOrderRequestDtoTypeEnum[keyof typeof CreateBankOrderRequestDtoTypeEnum];
73
+ export declare const CreateBankOrderRequestDtoStatusEnum: {
74
+ readonly Open: "open";
75
+ readonly Draft: "draft";
76
+ readonly Closed: "closed";
77
+ readonly Accepted: "accepted";
78
+ readonly Processing: "processing";
79
+ };
80
+ export type CreateBankOrderRequestDtoStatusEnum = typeof CreateBankOrderRequestDtoStatusEnum[keyof typeof CreateBankOrderRequestDtoStatusEnum];
@@ -0,0 +1,28 @@
1
+ "use strict";
2
+ /* tslint:disable */
3
+ /* eslint-disable */
4
+ /**
5
+ * Emil Payment Service
6
+ * This service directly communicates with the various Payment Service Providers (PSPs) in order to charge or refund customers. This service will automatically connect to the PSP linked in your admin configuration; meaning if you configured Stripe, it will automatically create a payment on Stripe when you create it in Emil.
7
+ *
8
+ * The version of the OpenAPI document: 1.0
9
+ * Contact: 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 });
16
+ exports.CreateBankOrderRequestDtoStatusEnum = exports.CreateBankOrderRequestDtoTypeEnum = void 0;
17
+ exports.CreateBankOrderRequestDtoTypeEnum = {
18
+ DirectDebit: 'direct_debit',
19
+ PremiumPayment: 'premium_payment',
20
+ ClaimPayment: 'claim_payment'
21
+ };
22
+ exports.CreateBankOrderRequestDtoStatusEnum = {
23
+ Open: 'open',
24
+ Draft: 'draft',
25
+ Closed: 'closed',
26
+ Accepted: 'accepted',
27
+ Processing: 'processing'
28
+ };
@@ -0,0 +1,25 @@
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 { BankOrderClass } from './bank-order-class';
13
+ /**
14
+ *
15
+ * @export
16
+ * @interface CreateBankOrderResponseClass
17
+ */
18
+ export interface CreateBankOrderResponseClass {
19
+ /**
20
+ * Bank order
21
+ * @type {BankOrderClass}
22
+ * @memberof CreateBankOrderResponseClass
23
+ */
24
+ 'bankOrder': BankOrderClass;
25
+ }
@@ -0,0 +1,15 @@
1
+ "use strict";
2
+ /* tslint:disable */
3
+ /* eslint-disable */
4
+ /**
5
+ * Emil Payment Service
6
+ * This service directly communicates with the various Payment Service Providers (PSPs) in order to charge or refund customers. This service will automatically connect to the PSP linked in your admin configuration; meaning if you configured Stripe, it will automatically create a payment on Stripe when you create it in Emil.
7
+ *
8
+ * The version of the OpenAPI document: 1.0
9
+ * Contact: 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,25 @@
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 { BankOrderClass } from './bank-order-class';
13
+ /**
14
+ *
15
+ * @export
16
+ * @interface GetBankOrderResponseClass
17
+ */
18
+ export interface GetBankOrderResponseClass {
19
+ /**
20
+ * Bank order
21
+ * @type {BankOrderClass}
22
+ * @memberof GetBankOrderResponseClass
23
+ */
24
+ 'bankOrder': BankOrderClass;
25
+ }
@@ -0,0 +1,15 @@
1
+ "use strict";
2
+ /* tslint:disable */
3
+ /* eslint-disable */
4
+ /**
5
+ * Emil Payment Service
6
+ * This service directly communicates with the various Payment Service Providers (PSPs) in order to charge or refund customers. This service will automatically connect to the PSP linked in your admin configuration; meaning if you configured Stripe, it will automatically create a payment on Stripe when you create it in Emil.
7
+ *
8
+ * The version of the OpenAPI document: 1.0
9
+ * Contact: 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,5 +1,6 @@
1
1
  export * from './bank-account-class';
2
2
  export * from './bank-account-class-without-expand-properties';
3
+ export * from './bank-order-class';
3
4
  export * from './bank-transaction-class';
4
5
  export * from './bank-transaction-class-without-expand-properties';
5
6
  export * from './billing-profile-dto';
@@ -12,6 +13,8 @@ export * from './complete-payment-setup-response-class';
12
13
  export * from './complete-stripe-payment-setup-request-dto';
13
14
  export * from './create-bank-account-request-dto';
14
15
  export * from './create-bank-account-response-class';
16
+ export * from './create-bank-order-request-dto';
17
+ export * from './create-bank-order-response-class';
15
18
  export * from './create-payment-method-response-class';
16
19
  export * from './create-payment-reminder-request-dto';
17
20
  export * from './create-payment-reminder-response-class';
@@ -27,6 +30,7 @@ export * from './deactivate-payment-reminder-response-class';
27
30
  export * from './deactivated-payment-reminder-class';
28
31
  export * from './generate-invoice-match-suggestions-response-class';
29
32
  export * from './get-bank-account-response-class';
33
+ export * from './get-bank-order-response-class';
30
34
  export * from './get-bank-transactions-response-class';
31
35
  export * from './get-payment-method-response-class';
32
36
  export * from './get-payment-reminder-response-class';
@@ -48,6 +52,7 @@ export * from './invoice-match-suggestion-class';
48
52
  export * from './link-bank-transaction-request-dto-rest';
49
53
  export * from './link-bank-transactions-response-class';
50
54
  export * from './list-bank-accounts-response-class';
55
+ export * from './list-bank-orders-response-class';
51
56
  export * from './list-bank-transactions-response-class';
52
57
  export * from './list-payment-methods-response-class';
53
58
  export * from './list-payment-reminders-response-class';
@@ -74,6 +79,8 @@ export * from './unlinked-bank-transaction-response-class';
74
79
  export * from './update-bank-account-request-dto';
75
80
  export * from './update-bank-account-request-dto-rest';
76
81
  export * from './update-bank-account-response-class';
82
+ export * from './update-bank-order-request-dto';
83
+ export * from './update-bank-order-response-class';
77
84
  export * from './update-tenant-bank-account-response-class';
78
85
  export * from './update-tenant-bank-account-rest-request-dto';
79
86
  export * from './validate-pspconfig-request-dto';