@emilgroup/payment-sdk 1.13.1-beta.12 → 1.13.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 +632 -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 +617 -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 +5 -5
  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 +3 -3
@@ -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
  };
@@ -109,14 +100,10 @@ var TenantBankAccountApiAxiosParamCreator = function (configuration) {
109
100
  * @param {*} [options] Override http request option.
110
101
  * @throws {RequiredError}
111
102
  */
112
- createTenantBankAccount: function (createTenantBankAccountRequestDto_1, authorization_1) {
113
- var args_1 = [];
114
- for (var _i = 2; _i < arguments.length; _i++) {
115
- args_1[_i - 2] = arguments[_i];
116
- }
117
- return __awaiter(_this, __spreadArray([createTenantBankAccountRequestDto_1, authorization_1], args_1, true), void 0, function (createTenantBankAccountRequestDto, authorization, options) {
103
+ createTenantBankAccount: function (createTenantBankAccountRequestDto, authorization, options) {
104
+ if (options === void 0) { options = {}; }
105
+ return __awaiter(_this, void 0, void 0, function () {
118
106
  var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
119
- if (options === void 0) { options = {}; }
120
107
  return __generator(this, function (_a) {
121
108
  switch (_a.label) {
122
109
  case 0:
@@ -162,14 +149,10 @@ var TenantBankAccountApiAxiosParamCreator = function (configuration) {
162
149
  * @param {*} [options] Override http request option.
163
150
  * @throws {RequiredError}
164
151
  */
165
- deleteTenantBankAccount: function (code_1, authorization_1) {
166
- var args_1 = [];
167
- for (var _i = 2; _i < arguments.length; _i++) {
168
- args_1[_i - 2] = arguments[_i];
169
- }
170
- return __awaiter(_this, __spreadArray([code_1, authorization_1], args_1, true), void 0, function (code, authorization, options) {
152
+ deleteTenantBankAccount: function (code, authorization, options) {
153
+ if (options === void 0) { options = {}; }
154
+ return __awaiter(_this, void 0, void 0, function () {
171
155
  var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
172
- if (options === void 0) { options = {}; }
173
156
  return __generator(this, function (_a) {
174
157
  switch (_a.label) {
175
158
  case 0:
@@ -215,14 +198,10 @@ var TenantBankAccountApiAxiosParamCreator = function (configuration) {
215
198
  * @param {*} [options] Override http request option.
216
199
  * @throws {RequiredError}
217
200
  */
218
- getTenantBankAccount: function (code_1, authorization_1, expand_1) {
219
- var args_1 = [];
220
- for (var _i = 3; _i < arguments.length; _i++) {
221
- args_1[_i - 3] = arguments[_i];
222
- }
223
- return __awaiter(_this, __spreadArray([code_1, authorization_1, expand_1], args_1, true), void 0, function (code, authorization, expand, options) {
201
+ getTenantBankAccount: function (code, authorization, expand, options) {
202
+ if (options === void 0) { options = {}; }
203
+ return __awaiter(_this, void 0, void 0, function () {
224
204
  var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
225
- if (options === void 0) { options = {}; }
226
205
  return __generator(this, function (_a) {
227
206
  switch (_a.label) {
228
207
  case 0:
@@ -274,14 +253,10 @@ var TenantBankAccountApiAxiosParamCreator = function (configuration) {
274
253
  * @param {*} [options] Override http request option.
275
254
  * @throws {RequiredError}
276
255
  */
277
- listTenantBankAccounts: function (authorization_1, filter_1, filters_1, search_1, order_1, expand_1) {
278
- var args_1 = [];
279
- for (var _i = 6; _i < arguments.length; _i++) {
280
- args_1[_i - 6] = arguments[_i];
281
- }
282
- 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) {
256
+ listTenantBankAccounts: function (authorization, filter, filters, search, order, expand, options) {
257
+ if (options === void 0) { options = {}; }
258
+ return __awaiter(_this, void 0, void 0, function () {
283
259
  var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
284
- if (options === void 0) { options = {}; }
285
260
  return __generator(this, function (_a) {
286
261
  switch (_a.label) {
287
262
  case 0:
@@ -339,14 +314,10 @@ var TenantBankAccountApiAxiosParamCreator = function (configuration) {
339
314
  * @param {*} [options] Override http request option.
340
315
  * @throws {RequiredError}
341
316
  */
342
- updateTenantBankAccount: function (code_1, updateTenantBankAccountRestRequestDto_1, authorization_1) {
343
- var args_1 = [];
344
- for (var _i = 3; _i < arguments.length; _i++) {
345
- args_1[_i - 3] = arguments[_i];
346
- }
347
- return __awaiter(_this, __spreadArray([code_1, updateTenantBankAccountRestRequestDto_1, authorization_1], args_1, true), void 0, function (code, updateTenantBankAccountRestRequestDto, authorization, options) {
317
+ updateTenantBankAccount: function (code, updateTenantBankAccountRestRequestDto, authorization, options) {
318
+ if (options === void 0) { options = {}; }
319
+ return __awaiter(_this, void 0, void 0, function () {
348
320
  var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
349
- if (options === void 0) { options = {}; }
350
321
  return __generator(this, function (_a) {
351
322
  switch (_a.label) {
352
323
  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
  };
@@ -111,14 +102,10 @@ var WebhooksApiAxiosParamCreator = function (configuration) {
111
102
  * @param {*} [options] Override http request option.
112
103
  * @throws {RequiredError}
113
104
  */
114
- postWebhook: function (pspType_1, tenantSlug_1, productSlug_1, body_1) {
115
- var args_1 = [];
116
- for (var _i = 4; _i < arguments.length; _i++) {
117
- args_1[_i - 4] = arguments[_i];
118
- }
119
- return __awaiter(_this, __spreadArray([pspType_1, tenantSlug_1, productSlug_1, body_1], args_1, true), void 0, function (pspType, tenantSlug, productSlug, body, options) {
105
+ postWebhook: function (pspType, tenantSlug, productSlug, body, options) {
106
+ if (options === void 0) { options = {}; }
107
+ return __awaiter(_this, void 0, void 0, function () {
120
108
  var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
121
- if (options === void 0) { options = {}; }
122
109
  return __generator(this, function (_a) {
123
110
  // verify required parameter 'pspType' is not null or undefined
124
111
  (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
@@ -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.");
@@ -78,8 +78,7 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
78
78
  return (mod && mod.__esModule) ? mod : { "default": mod };
79
79
  };
80
80
  Object.defineProperty(exports, "__esModule", { value: true });
81
- exports.RequiredError = exports.BaseAPI = exports.Environment = exports.COLLECTION_FORMATS = exports.BASE_PATH = void 0;
82
- exports.resetRetry = resetRetry;
81
+ exports.RequiredError = exports.BaseAPI = exports.resetRetry = exports.Environment = exports.COLLECTION_FORMATS = exports.BASE_PATH = void 0;
83
82
  var configuration_1 = require("./configuration");
84
83
  var common_1 = require("./common");
85
84
  // Some imports not used depending on template conditions
@@ -103,12 +102,13 @@ var Environment;
103
102
  Environment["Staging"] = "https://apiv2-staging.emil.de";
104
103
  Environment["Development"] = "https://apiv2-dev.emil.de";
105
104
  Environment["ProductionZurich"] = "https://eu-central-2.apiv2.emil.de";
106
- })(Environment || (exports.Environment = Environment = {}));
105
+ })(Environment = exports.Environment || (exports.Environment = {}));
107
106
  var _retry_count = 0;
108
107
  var _retry = null;
109
108
  function resetRetry() {
110
109
  _retry_count = 0;
111
110
  }
111
+ exports.resetRetry = resetRetry;
112
112
  var NETWORK_ERROR_MESSAGE = "Network Error";
113
113
  var TOKEN_DATA = 'APP_TOKEN';
114
114
  /**
package/dist/common.d.ts CHANGED
@@ -62,7 +62,7 @@ export declare const toPathString: (url: URL) => string;
62
62
  *
63
63
  * @export
64
64
  */
65
- export declare const createRequestFunction: (axiosArgs: RequestArgs, globalAxios: AxiosInstance, BASE_PATH: string, configuration?: Configuration) => <T = unknown, R = AxiosResponse<T>>(axios?: AxiosInstance, basePath?: string) => Promise<R>;
65
+ 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>;
66
66
  /**
67
67
  * Emil Payment Service
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.
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';
@@ -16,6 +16,7 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
16
16
  Object.defineProperty(exports, "__esModule", { value: true });
17
17
  __exportStar(require("./bank-account-class"), exports);
18
18
  __exportStar(require("./bank-account-class-without-expand-properties"), exports);
19
+ __exportStar(require("./bank-order-class"), exports);
19
20
  __exportStar(require("./bank-transaction-class"), exports);
20
21
  __exportStar(require("./bank-transaction-class-without-expand-properties"), exports);
21
22
  __exportStar(require("./billing-profile-dto"), exports);
@@ -28,6 +29,8 @@ __exportStar(require("./complete-payment-setup-response-class"), exports);
28
29
  __exportStar(require("./complete-stripe-payment-setup-request-dto"), exports);
29
30
  __exportStar(require("./create-bank-account-request-dto"), exports);
30
31
  __exportStar(require("./create-bank-account-response-class"), exports);
32
+ __exportStar(require("./create-bank-order-request-dto"), exports);
33
+ __exportStar(require("./create-bank-order-response-class"), exports);
31
34
  __exportStar(require("./create-payment-method-response-class"), exports);
32
35
  __exportStar(require("./create-payment-reminder-request-dto"), exports);
33
36
  __exportStar(require("./create-payment-reminder-response-class"), exports);
@@ -43,6 +46,7 @@ __exportStar(require("./deactivate-payment-reminder-response-class"), exports);
43
46
  __exportStar(require("./deactivated-payment-reminder-class"), exports);
44
47
  __exportStar(require("./generate-invoice-match-suggestions-response-class"), exports);
45
48
  __exportStar(require("./get-bank-account-response-class"), exports);
49
+ __exportStar(require("./get-bank-order-response-class"), exports);
46
50
  __exportStar(require("./get-bank-transactions-response-class"), exports);
47
51
  __exportStar(require("./get-payment-method-response-class"), exports);
48
52
  __exportStar(require("./get-payment-reminder-response-class"), exports);
@@ -64,6 +68,7 @@ __exportStar(require("./invoice-match-suggestion-class"), exports);
64
68
  __exportStar(require("./link-bank-transaction-request-dto-rest"), exports);
65
69
  __exportStar(require("./link-bank-transactions-response-class"), exports);
66
70
  __exportStar(require("./list-bank-accounts-response-class"), exports);
71
+ __exportStar(require("./list-bank-orders-response-class"), exports);
67
72
  __exportStar(require("./list-bank-transactions-response-class"), exports);
68
73
  __exportStar(require("./list-payment-methods-response-class"), exports);
69
74
  __exportStar(require("./list-payment-reminders-response-class"), exports);
@@ -90,6 +95,8 @@ __exportStar(require("./unlinked-bank-transaction-response-class"), exports);
90
95
  __exportStar(require("./update-bank-account-request-dto"), exports);
91
96
  __exportStar(require("./update-bank-account-request-dto-rest"), exports);
92
97
  __exportStar(require("./update-bank-account-response-class"), exports);
98
+ __exportStar(require("./update-bank-order-request-dto"), exports);
99
+ __exportStar(require("./update-bank-order-response-class"), exports);
93
100
  __exportStar(require("./update-tenant-bank-account-response-class"), exports);
94
101
  __exportStar(require("./update-tenant-bank-account-rest-request-dto"), exports);
95
102
  __exportStar(require("./validate-pspconfig-request-dto"), exports);