@emilgroup/payment-sdk-node 1.23.1-beta.2 → 1.23.1-beta.4
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.
- package/.openapi-generator/FILES +8 -0
- package/README.md +2 -2
- package/api/payment-requests-api.ts +596 -0
- package/api.ts +2 -0
- package/dist/api/payment-requests-api.d.ts +338 -0
- package/dist/api/payment-requests-api.js +556 -0
- package/dist/api.d.ts +1 -0
- package/dist/api.js +1 -0
- package/dist/models/create-payment-request-request-dto.d.ts +72 -0
- package/dist/models/create-payment-request-request-dto.js +26 -0
- package/dist/models/create-payment-request-response-class.d.ts +25 -0
- package/dist/models/create-payment-request-response-class.js +15 -0
- package/dist/models/get-payment-request-response-class.d.ts +25 -0
- package/dist/models/get-payment-request-response-class.js +15 -0
- package/dist/models/index.d.ts +7 -0
- package/dist/models/index.js +7 -0
- package/dist/models/list-payment-requests-response-class.d.ts +31 -0
- package/dist/models/list-payment-requests-response-class.js +15 -0
- package/dist/models/payment-request-class.d.ts +111 -0
- package/dist/models/payment-request-class.js +34 -0
- package/dist/models/update-payment-request-request-dto.d.ts +39 -0
- package/dist/models/update-payment-request-request-dto.js +24 -0
- package/dist/models/update-payment-request-response-class.d.ts +25 -0
- package/dist/models/update-payment-request-response-class.js +15 -0
- package/models/create-payment-request-request-dto.ts +82 -0
- package/models/create-payment-request-response-class.ts +31 -0
- package/models/get-payment-request-response-class.ts +31 -0
- package/models/index.ts +7 -0
- package/models/list-payment-requests-response-class.ts +37 -0
- package/models/payment-request-class.ts +122 -0
- package/models/update-payment-request-request-dto.ts +48 -0
- package/models/update-payment-request-response-class.ts +31 -0
- package/package.json +1 -1
|
@@ -0,0 +1,556 @@
|
|
|
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
|
+
var __extends = (this && this.__extends) || (function () {
|
|
16
|
+
var extendStatics = function (d, b) {
|
|
17
|
+
extendStatics = Object.setPrototypeOf ||
|
|
18
|
+
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
19
|
+
function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
|
|
20
|
+
return extendStatics(d, b);
|
|
21
|
+
};
|
|
22
|
+
return function (d, b) {
|
|
23
|
+
if (typeof b !== "function" && b !== null)
|
|
24
|
+
throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
|
|
25
|
+
extendStatics(d, b);
|
|
26
|
+
function __() { this.constructor = d; }
|
|
27
|
+
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
|
28
|
+
};
|
|
29
|
+
})();
|
|
30
|
+
var __assign = (this && this.__assign) || function () {
|
|
31
|
+
__assign = Object.assign || function(t) {
|
|
32
|
+
for (var s, i = 1, n = arguments.length; i < n; i++) {
|
|
33
|
+
s = arguments[i];
|
|
34
|
+
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
|
|
35
|
+
t[p] = s[p];
|
|
36
|
+
}
|
|
37
|
+
return t;
|
|
38
|
+
};
|
|
39
|
+
return __assign.apply(this, arguments);
|
|
40
|
+
};
|
|
41
|
+
var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
|
|
42
|
+
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
|
|
43
|
+
return new (P || (P = Promise))(function (resolve, reject) {
|
|
44
|
+
function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
|
|
45
|
+
function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
|
|
46
|
+
function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
|
|
47
|
+
step((generator = generator.apply(thisArg, _arguments || [])).next());
|
|
48
|
+
});
|
|
49
|
+
};
|
|
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;
|
|
52
|
+
return g = { next: verb(0), "throw": verb(1), "return": verb(2) }, typeof Symbol === "function" && (g[Symbol.iterator] = function() { return this; }), g;
|
|
53
|
+
function verb(n) { return function (v) { return step([n, v]); }; }
|
|
54
|
+
function step(op) {
|
|
55
|
+
if (f) throw new TypeError("Generator is already executing.");
|
|
56
|
+
while (g && (g = 0, op[0] && (_ = 0)), _) try {
|
|
57
|
+
if (f = 1, y && (t = op[0] & 2 ? y["return"] : op[0] ? y["throw"] || ((t = y["return"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t;
|
|
58
|
+
if (y = 0, t) op = [op[0] & 2, t.value];
|
|
59
|
+
switch (op[0]) {
|
|
60
|
+
case 0: case 1: t = op; break;
|
|
61
|
+
case 4: _.label++; return { value: op[1], done: false };
|
|
62
|
+
case 5: _.label++; y = op[1]; op = [0]; continue;
|
|
63
|
+
case 7: op = _.ops.pop(); _.trys.pop(); continue;
|
|
64
|
+
default:
|
|
65
|
+
if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) { _ = 0; continue; }
|
|
66
|
+
if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) { _.label = op[1]; break; }
|
|
67
|
+
if (op[0] === 6 && _.label < t[1]) { _.label = t[1]; t = op; break; }
|
|
68
|
+
if (t && _.label < t[2]) { _.label = t[2]; _.ops.push(op); break; }
|
|
69
|
+
if (t[2]) _.ops.pop();
|
|
70
|
+
_.trys.pop(); continue;
|
|
71
|
+
}
|
|
72
|
+
op = body.call(thisArg, _);
|
|
73
|
+
} catch (e) { op = [6, e]; y = 0; } finally { f = t = 0; }
|
|
74
|
+
if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true };
|
|
75
|
+
}
|
|
76
|
+
};
|
|
77
|
+
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
78
|
+
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
79
|
+
};
|
|
80
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
81
|
+
exports.PaymentRequestsApi = exports.PaymentRequestsApiFactory = exports.PaymentRequestsApiFp = exports.PaymentRequestsApiAxiosParamCreator = void 0;
|
|
82
|
+
var axios_1 = __importDefault(require("axios"));
|
|
83
|
+
// Some imports not used depending on template conditions
|
|
84
|
+
// @ts-ignore
|
|
85
|
+
var common_1 = require("../common");
|
|
86
|
+
// @ts-ignore
|
|
87
|
+
var base_1 = require("../base");
|
|
88
|
+
// URLSearchParams not necessarily used
|
|
89
|
+
// @ts-ignore
|
|
90
|
+
var url_1 = require("url");
|
|
91
|
+
var FormData = require('form-data');
|
|
92
|
+
/**
|
|
93
|
+
* PaymentRequestsApi - axios parameter creator
|
|
94
|
+
* @export
|
|
95
|
+
*/
|
|
96
|
+
var PaymentRequestsApiAxiosParamCreator = function (configuration) {
|
|
97
|
+
var _this = this;
|
|
98
|
+
return {
|
|
99
|
+
/**
|
|
100
|
+
* This will create payment request. **Required Permissions** \"payment-management.payments.create\"
|
|
101
|
+
* @summary Create the payment request
|
|
102
|
+
* @param {CreatePaymentRequestRequestDto} createPaymentRequestRequestDto
|
|
103
|
+
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
104
|
+
* @param {*} [options] Override http request option.
|
|
105
|
+
* @throws {RequiredError}
|
|
106
|
+
*/
|
|
107
|
+
createPaymentRequest: function (createPaymentRequestRequestDto, authorization, options) {
|
|
108
|
+
if (options === void 0) { options = {}; }
|
|
109
|
+
return __awaiter(_this, void 0, void 0, function () {
|
|
110
|
+
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
111
|
+
return __generator(this, function (_a) {
|
|
112
|
+
switch (_a.label) {
|
|
113
|
+
case 0:
|
|
114
|
+
// verify required parameter 'createPaymentRequestRequestDto' is not null or undefined
|
|
115
|
+
(0, common_1.assertParamExists)('createPaymentRequest', 'createPaymentRequestRequestDto', createPaymentRequestRequestDto);
|
|
116
|
+
localVarPath = "/paymentservice/v1/payment-requests";
|
|
117
|
+
localVarUrlObj = new url_1.URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
118
|
+
if (configuration) {
|
|
119
|
+
baseOptions = configuration.baseOptions;
|
|
120
|
+
baseAccessToken = configuration.accessToken;
|
|
121
|
+
}
|
|
122
|
+
localVarRequestOptions = __assign(__assign({ method: 'POST' }, baseOptions), options);
|
|
123
|
+
localVarHeaderParameter = {};
|
|
124
|
+
localVarQueryParameter = {};
|
|
125
|
+
// authentication bearer required
|
|
126
|
+
// http bearer authentication required
|
|
127
|
+
return [4 /*yield*/, (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration)];
|
|
128
|
+
case 1:
|
|
129
|
+
// authentication bearer required
|
|
130
|
+
// http bearer authentication required
|
|
131
|
+
_a.sent();
|
|
132
|
+
if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
|
|
133
|
+
localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
|
|
134
|
+
}
|
|
135
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
136
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
137
|
+
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
138
|
+
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
139
|
+
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(createPaymentRequestRequestDto, localVarRequestOptions, configuration);
|
|
140
|
+
return [2 /*return*/, {
|
|
141
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
142
|
+
options: localVarRequestOptions,
|
|
143
|
+
}];
|
|
144
|
+
}
|
|
145
|
+
});
|
|
146
|
+
});
|
|
147
|
+
},
|
|
148
|
+
/**
|
|
149
|
+
* This will get payment request. **Required Permissions** \"payment-management.payments.view\"
|
|
150
|
+
* @summary Retrieve the payment request
|
|
151
|
+
* @param {string} code Unique identifier for the object.
|
|
152
|
+
* @param {string} expand
|
|
153
|
+
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
154
|
+
* @param {*} [options] Override http request option.
|
|
155
|
+
* @throws {RequiredError}
|
|
156
|
+
*/
|
|
157
|
+
getPaymentRequest: function (code, expand, authorization, options) {
|
|
158
|
+
if (options === void 0) { options = {}; }
|
|
159
|
+
return __awaiter(_this, void 0, void 0, function () {
|
|
160
|
+
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
161
|
+
return __generator(this, function (_a) {
|
|
162
|
+
switch (_a.label) {
|
|
163
|
+
case 0:
|
|
164
|
+
// verify required parameter 'code' is not null or undefined
|
|
165
|
+
(0, common_1.assertParamExists)('getPaymentRequest', 'code', code);
|
|
166
|
+
// verify required parameter 'expand' is not null or undefined
|
|
167
|
+
(0, common_1.assertParamExists)('getPaymentRequest', 'expand', expand);
|
|
168
|
+
localVarPath = "/paymentservice/v1/payment-requests/{code}"
|
|
169
|
+
.replace("{".concat("code", "}"), encodeURIComponent(String(code)));
|
|
170
|
+
localVarUrlObj = new url_1.URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
171
|
+
if (configuration) {
|
|
172
|
+
baseOptions = configuration.baseOptions;
|
|
173
|
+
baseAccessToken = configuration.accessToken;
|
|
174
|
+
}
|
|
175
|
+
localVarRequestOptions = __assign(__assign({ method: 'GET' }, baseOptions), options);
|
|
176
|
+
localVarHeaderParameter = {};
|
|
177
|
+
localVarQueryParameter = {};
|
|
178
|
+
// authentication bearer required
|
|
179
|
+
// http bearer authentication required
|
|
180
|
+
return [4 /*yield*/, (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration)];
|
|
181
|
+
case 1:
|
|
182
|
+
// authentication bearer required
|
|
183
|
+
// http bearer authentication required
|
|
184
|
+
_a.sent();
|
|
185
|
+
if (expand !== undefined) {
|
|
186
|
+
localVarQueryParameter['expand'] = expand;
|
|
187
|
+
}
|
|
188
|
+
if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
|
|
189
|
+
localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
|
|
190
|
+
}
|
|
191
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
192
|
+
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
193
|
+
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
194
|
+
return [2 /*return*/, {
|
|
195
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
196
|
+
options: localVarRequestOptions,
|
|
197
|
+
}];
|
|
198
|
+
}
|
|
199
|
+
});
|
|
200
|
+
});
|
|
201
|
+
},
|
|
202
|
+
/**
|
|
203
|
+
* Retrieves a list of paymentrequests. **Required Permissions** \"payment-management.payments.view\"
|
|
204
|
+
* @summary List payment requests
|
|
205
|
+
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
206
|
+
* @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
207
|
+
* @param {string} [pageToken] A cursor for use in pagination. pageToken is an ID that defines your place in the list. For instance, if you make a list request and receive 100 objects and pageToken=1, your subsequent call can include pageToken=2 in order to fetch the next page of the list.
|
|
208
|
+
* @param {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.<br/> <br/> <i>Allowed values: id, code, type, status, direction, paymentMethodPsp, paymentMethodType, createdAt</i>
|
|
209
|
+
* @param {string} [search] To search the list by any field, pass search=xxx to fetch the result.
|
|
210
|
+
* @param {string} [order] Order allows you to specify the desired order of entities retrieved from the server by ascending (ASC) or descending (DESC) order.<br/> <br/> <i>Allowed values: createdAt</i>
|
|
211
|
+
* @param {string} [expand] Expand to fetch additional information about the list items. Expanding resources can reduce the number of API calls required to accomplish a task. Use with discretion as some expanded fields can drastically increase payload size.<br/> <br/>
|
|
212
|
+
* @param {string} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.<br/> <br/> <i>Allowed values: id, code, type, status, direction, paymentMethodPsp, paymentMethodType, createdAt</i>
|
|
213
|
+
* @param {*} [options] Override http request option.
|
|
214
|
+
* @throws {RequiredError}
|
|
215
|
+
*/
|
|
216
|
+
listPaymentRequests: function (authorization, pageSize, pageToken, filter, search, order, expand, filters, options) {
|
|
217
|
+
if (options === void 0) { options = {}; }
|
|
218
|
+
return __awaiter(_this, void 0, void 0, function () {
|
|
219
|
+
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
220
|
+
return __generator(this, function (_a) {
|
|
221
|
+
switch (_a.label) {
|
|
222
|
+
case 0:
|
|
223
|
+
localVarPath = "/paymentservice/v1/payment-requests";
|
|
224
|
+
localVarUrlObj = new url_1.URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
225
|
+
if (configuration) {
|
|
226
|
+
baseOptions = configuration.baseOptions;
|
|
227
|
+
baseAccessToken = configuration.accessToken;
|
|
228
|
+
}
|
|
229
|
+
localVarRequestOptions = __assign(__assign({ method: 'GET' }, baseOptions), options);
|
|
230
|
+
localVarHeaderParameter = {};
|
|
231
|
+
localVarQueryParameter = {};
|
|
232
|
+
// authentication bearer required
|
|
233
|
+
// http bearer authentication required
|
|
234
|
+
return [4 /*yield*/, (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration)];
|
|
235
|
+
case 1:
|
|
236
|
+
// authentication bearer required
|
|
237
|
+
// http bearer authentication required
|
|
238
|
+
_a.sent();
|
|
239
|
+
if (pageSize !== undefined) {
|
|
240
|
+
localVarQueryParameter['pageSize'] = pageSize;
|
|
241
|
+
}
|
|
242
|
+
if (pageToken !== undefined) {
|
|
243
|
+
localVarQueryParameter['pageToken'] = pageToken;
|
|
244
|
+
}
|
|
245
|
+
if (filter !== undefined) {
|
|
246
|
+
localVarQueryParameter['filter'] = filter;
|
|
247
|
+
}
|
|
248
|
+
if (search !== undefined) {
|
|
249
|
+
localVarQueryParameter['search'] = search;
|
|
250
|
+
}
|
|
251
|
+
if (order !== undefined) {
|
|
252
|
+
localVarQueryParameter['order'] = order;
|
|
253
|
+
}
|
|
254
|
+
if (expand !== undefined) {
|
|
255
|
+
localVarQueryParameter['expand'] = expand;
|
|
256
|
+
}
|
|
257
|
+
if (filters !== undefined) {
|
|
258
|
+
localVarQueryParameter['filters'] = filters;
|
|
259
|
+
}
|
|
260
|
+
if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
|
|
261
|
+
localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
|
|
262
|
+
}
|
|
263
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
264
|
+
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
265
|
+
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
266
|
+
return [2 /*return*/, {
|
|
267
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
268
|
+
options: localVarRequestOptions,
|
|
269
|
+
}];
|
|
270
|
+
}
|
|
271
|
+
});
|
|
272
|
+
});
|
|
273
|
+
},
|
|
274
|
+
/**
|
|
275
|
+
* This will update payment request. **Required Permissions** \"payment-management.payments.update\"
|
|
276
|
+
* @summary Update the payment request
|
|
277
|
+
* @param {string} code Unique identifier for the object.
|
|
278
|
+
* @param {UpdatePaymentRequestRequestDto} updatePaymentRequestRequestDto
|
|
279
|
+
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
280
|
+
* @param {*} [options] Override http request option.
|
|
281
|
+
* @throws {RequiredError}
|
|
282
|
+
*/
|
|
283
|
+
updatePaymentRequest: function (code, updatePaymentRequestRequestDto, authorization, options) {
|
|
284
|
+
if (options === void 0) { options = {}; }
|
|
285
|
+
return __awaiter(_this, void 0, void 0, function () {
|
|
286
|
+
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
287
|
+
return __generator(this, function (_a) {
|
|
288
|
+
switch (_a.label) {
|
|
289
|
+
case 0:
|
|
290
|
+
// verify required parameter 'code' is not null or undefined
|
|
291
|
+
(0, common_1.assertParamExists)('updatePaymentRequest', 'code', code);
|
|
292
|
+
// verify required parameter 'updatePaymentRequestRequestDto' is not null or undefined
|
|
293
|
+
(0, common_1.assertParamExists)('updatePaymentRequest', 'updatePaymentRequestRequestDto', updatePaymentRequestRequestDto);
|
|
294
|
+
localVarPath = "/paymentservice/v1/payment-requests/{code}"
|
|
295
|
+
.replace("{".concat("code", "}"), encodeURIComponent(String(code)));
|
|
296
|
+
localVarUrlObj = new url_1.URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
297
|
+
if (configuration) {
|
|
298
|
+
baseOptions = configuration.baseOptions;
|
|
299
|
+
baseAccessToken = configuration.accessToken;
|
|
300
|
+
}
|
|
301
|
+
localVarRequestOptions = __assign(__assign({ method: 'PUT' }, baseOptions), options);
|
|
302
|
+
localVarHeaderParameter = {};
|
|
303
|
+
localVarQueryParameter = {};
|
|
304
|
+
// authentication bearer required
|
|
305
|
+
// http bearer authentication required
|
|
306
|
+
return [4 /*yield*/, (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration)];
|
|
307
|
+
case 1:
|
|
308
|
+
// authentication bearer required
|
|
309
|
+
// http bearer authentication required
|
|
310
|
+
_a.sent();
|
|
311
|
+
if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
|
|
312
|
+
localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
|
|
313
|
+
}
|
|
314
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
315
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
316
|
+
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
317
|
+
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
318
|
+
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(updatePaymentRequestRequestDto, localVarRequestOptions, configuration);
|
|
319
|
+
return [2 /*return*/, {
|
|
320
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
321
|
+
options: localVarRequestOptions,
|
|
322
|
+
}];
|
|
323
|
+
}
|
|
324
|
+
});
|
|
325
|
+
});
|
|
326
|
+
},
|
|
327
|
+
};
|
|
328
|
+
};
|
|
329
|
+
exports.PaymentRequestsApiAxiosParamCreator = PaymentRequestsApiAxiosParamCreator;
|
|
330
|
+
/**
|
|
331
|
+
* PaymentRequestsApi - functional programming interface
|
|
332
|
+
* @export
|
|
333
|
+
*/
|
|
334
|
+
var PaymentRequestsApiFp = function (configuration) {
|
|
335
|
+
var localVarAxiosParamCreator = (0, exports.PaymentRequestsApiAxiosParamCreator)(configuration);
|
|
336
|
+
return {
|
|
337
|
+
/**
|
|
338
|
+
* This will create payment request. **Required Permissions** \"payment-management.payments.create\"
|
|
339
|
+
* @summary Create the payment request
|
|
340
|
+
* @param {CreatePaymentRequestRequestDto} createPaymentRequestRequestDto
|
|
341
|
+
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
342
|
+
* @param {*} [options] Override http request option.
|
|
343
|
+
* @throws {RequiredError}
|
|
344
|
+
*/
|
|
345
|
+
createPaymentRequest: function (createPaymentRequestRequestDto, authorization, options) {
|
|
346
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
347
|
+
var localVarAxiosArgs;
|
|
348
|
+
return __generator(this, function (_a) {
|
|
349
|
+
switch (_a.label) {
|
|
350
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.createPaymentRequest(createPaymentRequestRequestDto, authorization, options)];
|
|
351
|
+
case 1:
|
|
352
|
+
localVarAxiosArgs = _a.sent();
|
|
353
|
+
return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
354
|
+
}
|
|
355
|
+
});
|
|
356
|
+
});
|
|
357
|
+
},
|
|
358
|
+
/**
|
|
359
|
+
* This will get payment request. **Required Permissions** \"payment-management.payments.view\"
|
|
360
|
+
* @summary Retrieve the payment request
|
|
361
|
+
* @param {string} code Unique identifier for the object.
|
|
362
|
+
* @param {string} expand
|
|
363
|
+
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
364
|
+
* @param {*} [options] Override http request option.
|
|
365
|
+
* @throws {RequiredError}
|
|
366
|
+
*/
|
|
367
|
+
getPaymentRequest: function (code, expand, authorization, options) {
|
|
368
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
369
|
+
var localVarAxiosArgs;
|
|
370
|
+
return __generator(this, function (_a) {
|
|
371
|
+
switch (_a.label) {
|
|
372
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.getPaymentRequest(code, expand, authorization, options)];
|
|
373
|
+
case 1:
|
|
374
|
+
localVarAxiosArgs = _a.sent();
|
|
375
|
+
return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
376
|
+
}
|
|
377
|
+
});
|
|
378
|
+
});
|
|
379
|
+
},
|
|
380
|
+
/**
|
|
381
|
+
* Retrieves a list of paymentrequests. **Required Permissions** \"payment-management.payments.view\"
|
|
382
|
+
* @summary List payment requests
|
|
383
|
+
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
384
|
+
* @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
385
|
+
* @param {string} [pageToken] A cursor for use in pagination. pageToken is an ID that defines your place in the list. For instance, if you make a list request and receive 100 objects and pageToken=1, your subsequent call can include pageToken=2 in order to fetch the next page of the list.
|
|
386
|
+
* @param {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.<br/> <br/> <i>Allowed values: id, code, type, status, direction, paymentMethodPsp, paymentMethodType, createdAt</i>
|
|
387
|
+
* @param {string} [search] To search the list by any field, pass search=xxx to fetch the result.
|
|
388
|
+
* @param {string} [order] Order allows you to specify the desired order of entities retrieved from the server by ascending (ASC) or descending (DESC) order.<br/> <br/> <i>Allowed values: createdAt</i>
|
|
389
|
+
* @param {string} [expand] Expand to fetch additional information about the list items. Expanding resources can reduce the number of API calls required to accomplish a task. Use with discretion as some expanded fields can drastically increase payload size.<br/> <br/>
|
|
390
|
+
* @param {string} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.<br/> <br/> <i>Allowed values: id, code, type, status, direction, paymentMethodPsp, paymentMethodType, createdAt</i>
|
|
391
|
+
* @param {*} [options] Override http request option.
|
|
392
|
+
* @throws {RequiredError}
|
|
393
|
+
*/
|
|
394
|
+
listPaymentRequests: function (authorization, pageSize, pageToken, filter, search, order, expand, filters, options) {
|
|
395
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
396
|
+
var localVarAxiosArgs;
|
|
397
|
+
return __generator(this, function (_a) {
|
|
398
|
+
switch (_a.label) {
|
|
399
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.listPaymentRequests(authorization, pageSize, pageToken, filter, search, order, expand, filters, options)];
|
|
400
|
+
case 1:
|
|
401
|
+
localVarAxiosArgs = _a.sent();
|
|
402
|
+
return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
403
|
+
}
|
|
404
|
+
});
|
|
405
|
+
});
|
|
406
|
+
},
|
|
407
|
+
/**
|
|
408
|
+
* This will update payment request. **Required Permissions** \"payment-management.payments.update\"
|
|
409
|
+
* @summary Update the payment request
|
|
410
|
+
* @param {string} code Unique identifier for the object.
|
|
411
|
+
* @param {UpdatePaymentRequestRequestDto} updatePaymentRequestRequestDto
|
|
412
|
+
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
413
|
+
* @param {*} [options] Override http request option.
|
|
414
|
+
* @throws {RequiredError}
|
|
415
|
+
*/
|
|
416
|
+
updatePaymentRequest: function (code, updatePaymentRequestRequestDto, authorization, options) {
|
|
417
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
418
|
+
var localVarAxiosArgs;
|
|
419
|
+
return __generator(this, function (_a) {
|
|
420
|
+
switch (_a.label) {
|
|
421
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.updatePaymentRequest(code, updatePaymentRequestRequestDto, authorization, options)];
|
|
422
|
+
case 1:
|
|
423
|
+
localVarAxiosArgs = _a.sent();
|
|
424
|
+
return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
425
|
+
}
|
|
426
|
+
});
|
|
427
|
+
});
|
|
428
|
+
},
|
|
429
|
+
};
|
|
430
|
+
};
|
|
431
|
+
exports.PaymentRequestsApiFp = PaymentRequestsApiFp;
|
|
432
|
+
/**
|
|
433
|
+
* PaymentRequestsApi - factory interface
|
|
434
|
+
* @export
|
|
435
|
+
*/
|
|
436
|
+
var PaymentRequestsApiFactory = function (configuration, basePath, axios) {
|
|
437
|
+
var localVarFp = (0, exports.PaymentRequestsApiFp)(configuration);
|
|
438
|
+
return {
|
|
439
|
+
/**
|
|
440
|
+
* This will create payment request. **Required Permissions** \"payment-management.payments.create\"
|
|
441
|
+
* @summary Create the payment request
|
|
442
|
+
* @param {CreatePaymentRequestRequestDto} createPaymentRequestRequestDto
|
|
443
|
+
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
444
|
+
* @param {*} [options] Override http request option.
|
|
445
|
+
* @throws {RequiredError}
|
|
446
|
+
*/
|
|
447
|
+
createPaymentRequest: function (createPaymentRequestRequestDto, authorization, options) {
|
|
448
|
+
return localVarFp.createPaymentRequest(createPaymentRequestRequestDto, authorization, options).then(function (request) { return request(axios, basePath); });
|
|
449
|
+
},
|
|
450
|
+
/**
|
|
451
|
+
* This will get payment request. **Required Permissions** \"payment-management.payments.view\"
|
|
452
|
+
* @summary Retrieve the payment request
|
|
453
|
+
* @param {string} code Unique identifier for the object.
|
|
454
|
+
* @param {string} expand
|
|
455
|
+
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
456
|
+
* @param {*} [options] Override http request option.
|
|
457
|
+
* @throws {RequiredError}
|
|
458
|
+
*/
|
|
459
|
+
getPaymentRequest: function (code, expand, authorization, options) {
|
|
460
|
+
return localVarFp.getPaymentRequest(code, expand, authorization, options).then(function (request) { return request(axios, basePath); });
|
|
461
|
+
},
|
|
462
|
+
/**
|
|
463
|
+
* Retrieves a list of paymentrequests. **Required Permissions** \"payment-management.payments.view\"
|
|
464
|
+
* @summary List payment requests
|
|
465
|
+
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
466
|
+
* @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
467
|
+
* @param {string} [pageToken] A cursor for use in pagination. pageToken is an ID that defines your place in the list. For instance, if you make a list request and receive 100 objects and pageToken=1, your subsequent call can include pageToken=2 in order to fetch the next page of the list.
|
|
468
|
+
* @param {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.<br/> <br/> <i>Allowed values: id, code, type, status, direction, paymentMethodPsp, paymentMethodType, createdAt</i>
|
|
469
|
+
* @param {string} [search] To search the list by any field, pass search=xxx to fetch the result.
|
|
470
|
+
* @param {string} [order] Order allows you to specify the desired order of entities retrieved from the server by ascending (ASC) or descending (DESC) order.<br/> <br/> <i>Allowed values: createdAt</i>
|
|
471
|
+
* @param {string} [expand] Expand to fetch additional information about the list items. Expanding resources can reduce the number of API calls required to accomplish a task. Use with discretion as some expanded fields can drastically increase payload size.<br/> <br/>
|
|
472
|
+
* @param {string} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.<br/> <br/> <i>Allowed values: id, code, type, status, direction, paymentMethodPsp, paymentMethodType, createdAt</i>
|
|
473
|
+
* @param {*} [options] Override http request option.
|
|
474
|
+
* @throws {RequiredError}
|
|
475
|
+
*/
|
|
476
|
+
listPaymentRequests: function (authorization, pageSize, pageToken, filter, search, order, expand, filters, options) {
|
|
477
|
+
return localVarFp.listPaymentRequests(authorization, pageSize, pageToken, filter, search, order, expand, filters, options).then(function (request) { return request(axios, basePath); });
|
|
478
|
+
},
|
|
479
|
+
/**
|
|
480
|
+
* This will update payment request. **Required Permissions** \"payment-management.payments.update\"
|
|
481
|
+
* @summary Update the payment request
|
|
482
|
+
* @param {string} code Unique identifier for the object.
|
|
483
|
+
* @param {UpdatePaymentRequestRequestDto} updatePaymentRequestRequestDto
|
|
484
|
+
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
485
|
+
* @param {*} [options] Override http request option.
|
|
486
|
+
* @throws {RequiredError}
|
|
487
|
+
*/
|
|
488
|
+
updatePaymentRequest: function (code, updatePaymentRequestRequestDto, authorization, options) {
|
|
489
|
+
return localVarFp.updatePaymentRequest(code, updatePaymentRequestRequestDto, authorization, options).then(function (request) { return request(axios, basePath); });
|
|
490
|
+
},
|
|
491
|
+
};
|
|
492
|
+
};
|
|
493
|
+
exports.PaymentRequestsApiFactory = PaymentRequestsApiFactory;
|
|
494
|
+
/**
|
|
495
|
+
* PaymentRequestsApi - object-oriented interface
|
|
496
|
+
* @export
|
|
497
|
+
* @class PaymentRequestsApi
|
|
498
|
+
* @extends {BaseAPI}
|
|
499
|
+
*/
|
|
500
|
+
var PaymentRequestsApi = /** @class */ (function (_super) {
|
|
501
|
+
__extends(PaymentRequestsApi, _super);
|
|
502
|
+
function PaymentRequestsApi() {
|
|
503
|
+
return _super !== null && _super.apply(this, arguments) || this;
|
|
504
|
+
}
|
|
505
|
+
/**
|
|
506
|
+
* This will create payment request. **Required Permissions** \"payment-management.payments.create\"
|
|
507
|
+
* @summary Create the payment request
|
|
508
|
+
* @param {PaymentRequestsApiCreatePaymentRequestRequest} requestParameters Request parameters.
|
|
509
|
+
* @param {*} [options] Override http request option.
|
|
510
|
+
* @throws {RequiredError}
|
|
511
|
+
* @memberof PaymentRequestsApi
|
|
512
|
+
*/
|
|
513
|
+
PaymentRequestsApi.prototype.createPaymentRequest = function (requestParameters, options) {
|
|
514
|
+
var _this = this;
|
|
515
|
+
return (0, exports.PaymentRequestsApiFp)(this.configuration).createPaymentRequest(requestParameters.createPaymentRequestRequestDto, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
516
|
+
};
|
|
517
|
+
/**
|
|
518
|
+
* This will get payment request. **Required Permissions** \"payment-management.payments.view\"
|
|
519
|
+
* @summary Retrieve the payment request
|
|
520
|
+
* @param {PaymentRequestsApiGetPaymentRequestRequest} requestParameters Request parameters.
|
|
521
|
+
* @param {*} [options] Override http request option.
|
|
522
|
+
* @throws {RequiredError}
|
|
523
|
+
* @memberof PaymentRequestsApi
|
|
524
|
+
*/
|
|
525
|
+
PaymentRequestsApi.prototype.getPaymentRequest = function (requestParameters, options) {
|
|
526
|
+
var _this = this;
|
|
527
|
+
return (0, exports.PaymentRequestsApiFp)(this.configuration).getPaymentRequest(requestParameters.code, requestParameters.expand, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
528
|
+
};
|
|
529
|
+
/**
|
|
530
|
+
* Retrieves a list of paymentrequests. **Required Permissions** \"payment-management.payments.view\"
|
|
531
|
+
* @summary List payment requests
|
|
532
|
+
* @param {PaymentRequestsApiListPaymentRequestsRequest} requestParameters Request parameters.
|
|
533
|
+
* @param {*} [options] Override http request option.
|
|
534
|
+
* @throws {RequiredError}
|
|
535
|
+
* @memberof PaymentRequestsApi
|
|
536
|
+
*/
|
|
537
|
+
PaymentRequestsApi.prototype.listPaymentRequests = function (requestParameters, options) {
|
|
538
|
+
var _this = this;
|
|
539
|
+
if (requestParameters === void 0) { requestParameters = {}; }
|
|
540
|
+
return (0, exports.PaymentRequestsApiFp)(this.configuration).listPaymentRequests(requestParameters.authorization, requestParameters.pageSize, requestParameters.pageToken, requestParameters.filter, requestParameters.search, requestParameters.order, requestParameters.expand, requestParameters.filters, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
541
|
+
};
|
|
542
|
+
/**
|
|
543
|
+
* This will update payment request. **Required Permissions** \"payment-management.payments.update\"
|
|
544
|
+
* @summary Update the payment request
|
|
545
|
+
* @param {PaymentRequestsApiUpdatePaymentRequestRequest} requestParameters Request parameters.
|
|
546
|
+
* @param {*} [options] Override http request option.
|
|
547
|
+
* @throws {RequiredError}
|
|
548
|
+
* @memberof PaymentRequestsApi
|
|
549
|
+
*/
|
|
550
|
+
PaymentRequestsApi.prototype.updatePaymentRequest = function (requestParameters, options) {
|
|
551
|
+
var _this = this;
|
|
552
|
+
return (0, exports.PaymentRequestsApiFp)(this.configuration).updatePaymentRequest(requestParameters.code, requestParameters.updatePaymentRequestRequestDto, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
553
|
+
};
|
|
554
|
+
return PaymentRequestsApi;
|
|
555
|
+
}(base_1.BaseAPI));
|
|
556
|
+
exports.PaymentRequestsApi = PaymentRequestsApi;
|
package/dist/api.d.ts
CHANGED
|
@@ -18,6 +18,7 @@ export * from './api/exceeding-credits-api';
|
|
|
18
18
|
export * from './api/health-check-api';
|
|
19
19
|
export * from './api/payment-methods-api';
|
|
20
20
|
export * from './api/payment-reminders-api';
|
|
21
|
+
export * from './api/payment-requests-api';
|
|
21
22
|
export * from './api/payment-setup-api';
|
|
22
23
|
export * from './api/payments-api';
|
|
23
24
|
export * from './api/payout-methods-api';
|
package/dist/api.js
CHANGED
|
@@ -36,6 +36,7 @@ __exportStar(require("./api/exceeding-credits-api"), exports);
|
|
|
36
36
|
__exportStar(require("./api/health-check-api"), exports);
|
|
37
37
|
__exportStar(require("./api/payment-methods-api"), exports);
|
|
38
38
|
__exportStar(require("./api/payment-reminders-api"), exports);
|
|
39
|
+
__exportStar(require("./api/payment-requests-api"), exports);
|
|
39
40
|
__exportStar(require("./api/payment-setup-api"), exports);
|
|
40
41
|
__exportStar(require("./api/payments-api"), exports);
|
|
41
42
|
__exportStar(require("./api/payout-methods-api"), exports);
|
|
@@ -0,0 +1,72 @@
|
|
|
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 CreatePaymentRequestRequestDto
|
|
16
|
+
*/
|
|
17
|
+
export interface CreatePaymentRequestRequestDto {
|
|
18
|
+
/**
|
|
19
|
+
* Payment amount in cents. 100 to charge 1€.
|
|
20
|
+
* @type {number}
|
|
21
|
+
* @memberof CreatePaymentRequestRequestDto
|
|
22
|
+
*/
|
|
23
|
+
'amount': number;
|
|
24
|
+
/**
|
|
25
|
+
* Currency code for the payment request.
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof CreatePaymentRequestRequestDto
|
|
28
|
+
*/
|
|
29
|
+
'currency': string;
|
|
30
|
+
/**
|
|
31
|
+
* Direction of the payment request. Collect for incoming payments, Disburse for outgoing payments.
|
|
32
|
+
* @type {string}
|
|
33
|
+
* @memberof CreatePaymentRequestRequestDto
|
|
34
|
+
*/
|
|
35
|
+
'direction': CreatePaymentRequestRequestDtoDirectionEnum;
|
|
36
|
+
/**
|
|
37
|
+
* Code of the source entity (e.g., invoice code, claim code) that this payment request is associated with.
|
|
38
|
+
* @type {string}
|
|
39
|
+
* @memberof CreatePaymentRequestRequestDto
|
|
40
|
+
*/
|
|
41
|
+
'sourceEntityCode'?: string;
|
|
42
|
+
/**
|
|
43
|
+
* Type of the payment request. Defines the business context or purpose of the payment.
|
|
44
|
+
* @type {string}
|
|
45
|
+
* @memberof CreatePaymentRequestRequestDto
|
|
46
|
+
*/
|
|
47
|
+
'type': CreatePaymentRequestRequestDtoTypeEnum;
|
|
48
|
+
/**
|
|
49
|
+
* Code of the payment method to be used for this payment request. If not provided, a default payment method may be selected.
|
|
50
|
+
* @type {string}
|
|
51
|
+
* @memberof CreatePaymentRequestRequestDto
|
|
52
|
+
*/
|
|
53
|
+
'paymentMethodCode'?: string;
|
|
54
|
+
/**
|
|
55
|
+
* Optional field containing extra information about the payment request.
|
|
56
|
+
* @type {object}
|
|
57
|
+
* @memberof CreatePaymentRequestRequestDto
|
|
58
|
+
*/
|
|
59
|
+
'metadata'?: object;
|
|
60
|
+
}
|
|
61
|
+
export declare const CreatePaymentRequestRequestDtoDirectionEnum: {
|
|
62
|
+
readonly Collect: "collect";
|
|
63
|
+
readonly Disburse: "disburse";
|
|
64
|
+
};
|
|
65
|
+
export type CreatePaymentRequestRequestDtoDirectionEnum = typeof CreatePaymentRequestRequestDtoDirectionEnum[keyof typeof CreatePaymentRequestRequestDtoDirectionEnum];
|
|
66
|
+
export declare const CreatePaymentRequestRequestDtoTypeEnum: {
|
|
67
|
+
readonly Other: "other";
|
|
68
|
+
readonly Claim: "claim";
|
|
69
|
+
readonly Premium: "premium";
|
|
70
|
+
readonly Commission: "commission";
|
|
71
|
+
};
|
|
72
|
+
export type CreatePaymentRequestRequestDtoTypeEnum = typeof CreatePaymentRequestRequestDtoTypeEnum[keyof typeof CreatePaymentRequestRequestDtoTypeEnum];
|