@emilgroup/payment-sdk-node 1.22.1-beta.47 → 1.22.1-beta.49
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 +1 -0
- package/README.md +2 -2
- package/api/policy-payment-methods-api.ts +23 -6
- package/dist/api/policy-payment-methods-api.d.ts +13 -3
- package/dist/api/policy-payment-methods-api.js +13 -6
- package/dist/models/activate-policy-payment-method-request-dto.d.ts +24 -0
- package/dist/models/activate-policy-payment-method-request-dto.js +15 -0
- package/dist/models/index.d.ts +1 -0
- package/dist/models/index.js +1 -0
- package/models/activate-policy-payment-method-request-dto.ts +30 -0
- package/models/index.ts +1 -0
- package/package.json +1 -1
package/.openapi-generator/FILES
CHANGED
package/README.md
CHANGED
|
@@ -17,11 +17,11 @@ Although this package can be used in both TypeScript and JavaScript, it is inten
|
|
|
17
17
|
Navigate to the folder of your consuming project and run one of the following commands:
|
|
18
18
|
|
|
19
19
|
```
|
|
20
|
-
npm install @emilgroup/payment-sdk-node@1.22.1-beta.
|
|
20
|
+
npm install @emilgroup/payment-sdk-node@1.22.1-beta.49 --save
|
|
21
21
|
```
|
|
22
22
|
or
|
|
23
23
|
```
|
|
24
|
-
yarn add @emilgroup/payment-sdk-node@1.22.1-beta.
|
|
24
|
+
yarn add @emilgroup/payment-sdk-node@1.22.1-beta.49
|
|
25
25
|
```
|
|
26
26
|
|
|
27
27
|
And then you can import `PaymentsApi`.
|
|
@@ -21,6 +21,8 @@ import { DUMMY_BASE_URL, assertParamExists, setApiKeyToObject, setBasicAuthToObj
|
|
|
21
21
|
// @ts-ignore
|
|
22
22
|
import { BASE_PATH, COLLECTION_FORMATS, RequestArgs, BaseAPI, RequiredError } from '../base';
|
|
23
23
|
// @ts-ignore
|
|
24
|
+
import { ActivatePolicyPaymentMethodRequestDto } from '../models';
|
|
25
|
+
// @ts-ignore
|
|
24
26
|
import { CreatePolicyPaymentMethodRequestDto } from '../models';
|
|
25
27
|
// @ts-ignore
|
|
26
28
|
import { CreatePolicyPaymentMethodResponseClass } from '../models';
|
|
@@ -40,13 +42,16 @@ export const PolicyPaymentMethodsApiAxiosParamCreator = function (configuration?
|
|
|
40
42
|
* Activates the requested policy payment method and automatically deactivates any currently active policy payment method for the same policy. **Required Permissions** \"payment-management.payments.update\"
|
|
41
43
|
* @summary Activate the policy payment method
|
|
42
44
|
* @param {string} code
|
|
45
|
+
* @param {ActivatePolicyPaymentMethodRequestDto} activatePolicyPaymentMethodRequestDto
|
|
43
46
|
* @param {string} [authorization] Bearer Token
|
|
44
47
|
* @param {*} [options] Override http request option.
|
|
45
48
|
* @throws {RequiredError}
|
|
46
49
|
*/
|
|
47
|
-
activatePolicyPaymentMethod: async (code: string, authorization?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
50
|
+
activatePolicyPaymentMethod: async (code: string, activatePolicyPaymentMethodRequestDto: ActivatePolicyPaymentMethodRequestDto, authorization?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
48
51
|
// verify required parameter 'code' is not null or undefined
|
|
49
52
|
assertParamExists('activatePolicyPaymentMethod', 'code', code)
|
|
53
|
+
// verify required parameter 'activatePolicyPaymentMethodRequestDto' is not null or undefined
|
|
54
|
+
assertParamExists('activatePolicyPaymentMethod', 'activatePolicyPaymentMethodRequestDto', activatePolicyPaymentMethodRequestDto)
|
|
50
55
|
const localVarPath = `/paymentservice/v1/policy-payment-methods/activate/{code}`
|
|
51
56
|
.replace(`{${"code"}}`, encodeURIComponent(String(code)));
|
|
52
57
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
@@ -72,9 +77,12 @@ export const PolicyPaymentMethodsApiAxiosParamCreator = function (configuration?
|
|
|
72
77
|
|
|
73
78
|
|
|
74
79
|
|
|
80
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
81
|
+
|
|
75
82
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
76
83
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
77
84
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
85
|
+
localVarRequestOptions.data = serializeDataIfNeeded(activatePolicyPaymentMethodRequestDto, localVarRequestOptions, configuration)
|
|
78
86
|
|
|
79
87
|
return {
|
|
80
88
|
url: toPathString(localVarUrlObj),
|
|
@@ -218,12 +226,13 @@ export const PolicyPaymentMethodsApiFp = function(configuration?: Configuration)
|
|
|
218
226
|
* Activates the requested policy payment method and automatically deactivates any currently active policy payment method for the same policy. **Required Permissions** \"payment-management.payments.update\"
|
|
219
227
|
* @summary Activate the policy payment method
|
|
220
228
|
* @param {string} code
|
|
229
|
+
* @param {ActivatePolicyPaymentMethodRequestDto} activatePolicyPaymentMethodRequestDto
|
|
221
230
|
* @param {string} [authorization] Bearer Token
|
|
222
231
|
* @param {*} [options] Override http request option.
|
|
223
232
|
* @throws {RequiredError}
|
|
224
233
|
*/
|
|
225
|
-
async activatePolicyPaymentMethod(code: string, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<object>> {
|
|
226
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.activatePolicyPaymentMethod(code, authorization, options);
|
|
234
|
+
async activatePolicyPaymentMethod(code: string, activatePolicyPaymentMethodRequestDto: ActivatePolicyPaymentMethodRequestDto, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<object>> {
|
|
235
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.activatePolicyPaymentMethod(code, activatePolicyPaymentMethodRequestDto, authorization, options);
|
|
227
236
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
228
237
|
},
|
|
229
238
|
/**
|
|
@@ -270,12 +279,13 @@ export const PolicyPaymentMethodsApiFactory = function (configuration?: Configur
|
|
|
270
279
|
* Activates the requested policy payment method and automatically deactivates any currently active policy payment method for the same policy. **Required Permissions** \"payment-management.payments.update\"
|
|
271
280
|
* @summary Activate the policy payment method
|
|
272
281
|
* @param {string} code
|
|
282
|
+
* @param {ActivatePolicyPaymentMethodRequestDto} activatePolicyPaymentMethodRequestDto
|
|
273
283
|
* @param {string} [authorization] Bearer Token
|
|
274
284
|
* @param {*} [options] Override http request option.
|
|
275
285
|
* @throws {RequiredError}
|
|
276
286
|
*/
|
|
277
|
-
activatePolicyPaymentMethod(code: string, authorization?: string, options?: any): AxiosPromise<object> {
|
|
278
|
-
return localVarFp.activatePolicyPaymentMethod(code, authorization, options).then((request) => request(axios, basePath));
|
|
287
|
+
activatePolicyPaymentMethod(code: string, activatePolicyPaymentMethodRequestDto: ActivatePolicyPaymentMethodRequestDto, authorization?: string, options?: any): AxiosPromise<object> {
|
|
288
|
+
return localVarFp.activatePolicyPaymentMethod(code, activatePolicyPaymentMethodRequestDto, authorization, options).then((request) => request(axios, basePath));
|
|
279
289
|
},
|
|
280
290
|
/**
|
|
281
291
|
* Attaches a payment method to a policy by creating a policy payment method and setting it as active. Any previous payment method attachment will be deactivated. **Required Permissions** \"payment-management.payments.create\"
|
|
@@ -321,6 +331,13 @@ export interface PolicyPaymentMethodsApiActivatePolicyPaymentMethodRequest {
|
|
|
321
331
|
*/
|
|
322
332
|
readonly code: string
|
|
323
333
|
|
|
334
|
+
/**
|
|
335
|
+
*
|
|
336
|
+
* @type {ActivatePolicyPaymentMethodRequestDto}
|
|
337
|
+
* @memberof PolicyPaymentMethodsApiActivatePolicyPaymentMethod
|
|
338
|
+
*/
|
|
339
|
+
readonly activatePolicyPaymentMethodRequestDto: ActivatePolicyPaymentMethodRequestDto
|
|
340
|
+
|
|
324
341
|
/**
|
|
325
342
|
* Bearer Token
|
|
326
343
|
* @type {string}
|
|
@@ -429,7 +446,7 @@ export class PolicyPaymentMethodsApi extends BaseAPI {
|
|
|
429
446
|
* @memberof PolicyPaymentMethodsApi
|
|
430
447
|
*/
|
|
431
448
|
public activatePolicyPaymentMethod(requestParameters: PolicyPaymentMethodsApiActivatePolicyPaymentMethodRequest, options?: AxiosRequestConfig) {
|
|
432
|
-
return PolicyPaymentMethodsApiFp(this.configuration).activatePolicyPaymentMethod(requestParameters.code, requestParameters.authorization, options).then((request) => request(this.axios, this.basePath));
|
|
449
|
+
return PolicyPaymentMethodsApiFp(this.configuration).activatePolicyPaymentMethod(requestParameters.code, requestParameters.activatePolicyPaymentMethodRequestDto, requestParameters.authorization, options).then((request) => request(this.axios, this.basePath));
|
|
433
450
|
}
|
|
434
451
|
|
|
435
452
|
/**
|
|
@@ -12,6 +12,7 @@
|
|
|
12
12
|
import { AxiosPromise, AxiosInstance, AxiosRequestConfig } from 'axios';
|
|
13
13
|
import { Configuration } from '../configuration';
|
|
14
14
|
import { RequestArgs, BaseAPI } from '../base';
|
|
15
|
+
import { ActivatePolicyPaymentMethodRequestDto } from '../models';
|
|
15
16
|
import { CreatePolicyPaymentMethodRequestDto } from '../models';
|
|
16
17
|
import { CreatePolicyPaymentMethodResponseClass } from '../models';
|
|
17
18
|
import { ListPolicyPaymentMethodsResponseClass } from '../models';
|
|
@@ -24,11 +25,12 @@ export declare const PolicyPaymentMethodsApiAxiosParamCreator: (configuration?:
|
|
|
24
25
|
* Activates the requested policy payment method and automatically deactivates any currently active policy payment method for the same policy. **Required Permissions** \"payment-management.payments.update\"
|
|
25
26
|
* @summary Activate the policy payment method
|
|
26
27
|
* @param {string} code
|
|
28
|
+
* @param {ActivatePolicyPaymentMethodRequestDto} activatePolicyPaymentMethodRequestDto
|
|
27
29
|
* @param {string} [authorization] Bearer Token
|
|
28
30
|
* @param {*} [options] Override http request option.
|
|
29
31
|
* @throws {RequiredError}
|
|
30
32
|
*/
|
|
31
|
-
activatePolicyPaymentMethod: (code: string, authorization?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
33
|
+
activatePolicyPaymentMethod: (code: string, activatePolicyPaymentMethodRequestDto: ActivatePolicyPaymentMethodRequestDto, authorization?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
32
34
|
/**
|
|
33
35
|
* Attaches a payment method to a policy by creating a policy payment method and setting it as active. Any previous payment method attachment will be deactivated. **Required Permissions** \"payment-management.payments.create\"
|
|
34
36
|
* @summary Create the policy payment method
|
|
@@ -63,11 +65,12 @@ export declare const PolicyPaymentMethodsApiFp: (configuration?: Configuration)
|
|
|
63
65
|
* Activates the requested policy payment method and automatically deactivates any currently active policy payment method for the same policy. **Required Permissions** \"payment-management.payments.update\"
|
|
64
66
|
* @summary Activate the policy payment method
|
|
65
67
|
* @param {string} code
|
|
68
|
+
* @param {ActivatePolicyPaymentMethodRequestDto} activatePolicyPaymentMethodRequestDto
|
|
66
69
|
* @param {string} [authorization] Bearer Token
|
|
67
70
|
* @param {*} [options] Override http request option.
|
|
68
71
|
* @throws {RequiredError}
|
|
69
72
|
*/
|
|
70
|
-
activatePolicyPaymentMethod(code: string, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<object>>;
|
|
73
|
+
activatePolicyPaymentMethod(code: string, activatePolicyPaymentMethodRequestDto: ActivatePolicyPaymentMethodRequestDto, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<object>>;
|
|
71
74
|
/**
|
|
72
75
|
* Attaches a payment method to a policy by creating a policy payment method and setting it as active. Any previous payment method attachment will be deactivated. **Required Permissions** \"payment-management.payments.create\"
|
|
73
76
|
* @summary Create the policy payment method
|
|
@@ -102,11 +105,12 @@ export declare const PolicyPaymentMethodsApiFactory: (configuration?: Configurat
|
|
|
102
105
|
* Activates the requested policy payment method and automatically deactivates any currently active policy payment method for the same policy. **Required Permissions** \"payment-management.payments.update\"
|
|
103
106
|
* @summary Activate the policy payment method
|
|
104
107
|
* @param {string} code
|
|
108
|
+
* @param {ActivatePolicyPaymentMethodRequestDto} activatePolicyPaymentMethodRequestDto
|
|
105
109
|
* @param {string} [authorization] Bearer Token
|
|
106
110
|
* @param {*} [options] Override http request option.
|
|
107
111
|
* @throws {RequiredError}
|
|
108
112
|
*/
|
|
109
|
-
activatePolicyPaymentMethod(code: string, authorization?: string, options?: any): AxiosPromise<object>;
|
|
113
|
+
activatePolicyPaymentMethod(code: string, activatePolicyPaymentMethodRequestDto: ActivatePolicyPaymentMethodRequestDto, authorization?: string, options?: any): AxiosPromise<object>;
|
|
110
114
|
/**
|
|
111
115
|
* Attaches a payment method to a policy by creating a policy payment method and setting it as active. Any previous payment method attachment will be deactivated. **Required Permissions** \"payment-management.payments.create\"
|
|
112
116
|
* @summary Create the policy payment method
|
|
@@ -144,6 +148,12 @@ export interface PolicyPaymentMethodsApiActivatePolicyPaymentMethodRequest {
|
|
|
144
148
|
* @memberof PolicyPaymentMethodsApiActivatePolicyPaymentMethod
|
|
145
149
|
*/
|
|
146
150
|
readonly code: string;
|
|
151
|
+
/**
|
|
152
|
+
*
|
|
153
|
+
* @type {ActivatePolicyPaymentMethodRequestDto}
|
|
154
|
+
* @memberof PolicyPaymentMethodsApiActivatePolicyPaymentMethod
|
|
155
|
+
*/
|
|
156
|
+
readonly activatePolicyPaymentMethodRequestDto: ActivatePolicyPaymentMethodRequestDto;
|
|
147
157
|
/**
|
|
148
158
|
* Bearer Token
|
|
149
159
|
* @type {string}
|
|
@@ -100,11 +100,12 @@ var PolicyPaymentMethodsApiAxiosParamCreator = function (configuration) {
|
|
|
100
100
|
* Activates the requested policy payment method and automatically deactivates any currently active policy payment method for the same policy. **Required Permissions** \"payment-management.payments.update\"
|
|
101
101
|
* @summary Activate the policy payment method
|
|
102
102
|
* @param {string} code
|
|
103
|
+
* @param {ActivatePolicyPaymentMethodRequestDto} activatePolicyPaymentMethodRequestDto
|
|
103
104
|
* @param {string} [authorization] Bearer Token
|
|
104
105
|
* @param {*} [options] Override http request option.
|
|
105
106
|
* @throws {RequiredError}
|
|
106
107
|
*/
|
|
107
|
-
activatePolicyPaymentMethod: function (code, authorization, options) {
|
|
108
|
+
activatePolicyPaymentMethod: function (code, activatePolicyPaymentMethodRequestDto, authorization, options) {
|
|
108
109
|
if (options === void 0) { options = {}; }
|
|
109
110
|
return __awaiter(_this, void 0, void 0, function () {
|
|
110
111
|
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
@@ -113,6 +114,8 @@ var PolicyPaymentMethodsApiAxiosParamCreator = function (configuration) {
|
|
|
113
114
|
case 0:
|
|
114
115
|
// verify required parameter 'code' is not null or undefined
|
|
115
116
|
(0, common_1.assertParamExists)('activatePolicyPaymentMethod', 'code', code);
|
|
117
|
+
// verify required parameter 'activatePolicyPaymentMethodRequestDto' is not null or undefined
|
|
118
|
+
(0, common_1.assertParamExists)('activatePolicyPaymentMethod', 'activatePolicyPaymentMethodRequestDto', activatePolicyPaymentMethodRequestDto);
|
|
116
119
|
localVarPath = "/paymentservice/v1/policy-payment-methods/activate/{code}"
|
|
117
120
|
.replace("{".concat("code", "}"), encodeURIComponent(String(code)));
|
|
118
121
|
localVarUrlObj = new url_1.URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
@@ -133,9 +136,11 @@ var PolicyPaymentMethodsApiAxiosParamCreator = function (configuration) {
|
|
|
133
136
|
if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
|
|
134
137
|
localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
|
|
135
138
|
}
|
|
139
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
136
140
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
137
141
|
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
138
142
|
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
143
|
+
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(activatePolicyPaymentMethodRequestDto, localVarRequestOptions, configuration);
|
|
139
144
|
return [2 /*return*/, {
|
|
140
145
|
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
141
146
|
options: localVarRequestOptions,
|
|
@@ -279,16 +284,17 @@ var PolicyPaymentMethodsApiFp = function (configuration) {
|
|
|
279
284
|
* Activates the requested policy payment method and automatically deactivates any currently active policy payment method for the same policy. **Required Permissions** \"payment-management.payments.update\"
|
|
280
285
|
* @summary Activate the policy payment method
|
|
281
286
|
* @param {string} code
|
|
287
|
+
* @param {ActivatePolicyPaymentMethodRequestDto} activatePolicyPaymentMethodRequestDto
|
|
282
288
|
* @param {string} [authorization] Bearer Token
|
|
283
289
|
* @param {*} [options] Override http request option.
|
|
284
290
|
* @throws {RequiredError}
|
|
285
291
|
*/
|
|
286
|
-
activatePolicyPaymentMethod: function (code, authorization, options) {
|
|
292
|
+
activatePolicyPaymentMethod: function (code, activatePolicyPaymentMethodRequestDto, authorization, options) {
|
|
287
293
|
return __awaiter(this, void 0, void 0, function () {
|
|
288
294
|
var localVarAxiosArgs;
|
|
289
295
|
return __generator(this, function (_a) {
|
|
290
296
|
switch (_a.label) {
|
|
291
|
-
case 0: return [4 /*yield*/, localVarAxiosParamCreator.activatePolicyPaymentMethod(code, authorization, options)];
|
|
297
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.activatePolicyPaymentMethod(code, activatePolicyPaymentMethodRequestDto, authorization, options)];
|
|
292
298
|
case 1:
|
|
293
299
|
localVarAxiosArgs = _a.sent();
|
|
294
300
|
return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
@@ -358,12 +364,13 @@ var PolicyPaymentMethodsApiFactory = function (configuration, basePath, axios) {
|
|
|
358
364
|
* Activates the requested policy payment method and automatically deactivates any currently active policy payment method for the same policy. **Required Permissions** \"payment-management.payments.update\"
|
|
359
365
|
* @summary Activate the policy payment method
|
|
360
366
|
* @param {string} code
|
|
367
|
+
* @param {ActivatePolicyPaymentMethodRequestDto} activatePolicyPaymentMethodRequestDto
|
|
361
368
|
* @param {string} [authorization] Bearer Token
|
|
362
369
|
* @param {*} [options] Override http request option.
|
|
363
370
|
* @throws {RequiredError}
|
|
364
371
|
*/
|
|
365
|
-
activatePolicyPaymentMethod: function (code, authorization, options) {
|
|
366
|
-
return localVarFp.activatePolicyPaymentMethod(code, authorization, options).then(function (request) { return request(axios, basePath); });
|
|
372
|
+
activatePolicyPaymentMethod: function (code, activatePolicyPaymentMethodRequestDto, authorization, options) {
|
|
373
|
+
return localVarFp.activatePolicyPaymentMethod(code, activatePolicyPaymentMethodRequestDto, authorization, options).then(function (request) { return request(axios, basePath); });
|
|
367
374
|
},
|
|
368
375
|
/**
|
|
369
376
|
* Attaches a payment method to a policy by creating a policy payment method and setting it as active. Any previous payment method attachment will be deactivated. **Required Permissions** \"payment-management.payments.create\"
|
|
@@ -417,7 +424,7 @@ var PolicyPaymentMethodsApi = /** @class */ (function (_super) {
|
|
|
417
424
|
*/
|
|
418
425
|
PolicyPaymentMethodsApi.prototype.activatePolicyPaymentMethod = function (requestParameters, options) {
|
|
419
426
|
var _this = this;
|
|
420
|
-
return (0, exports.PolicyPaymentMethodsApiFp)(this.configuration).activatePolicyPaymentMethod(requestParameters.code, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
427
|
+
return (0, exports.PolicyPaymentMethodsApiFp)(this.configuration).activatePolicyPaymentMethod(requestParameters.code, requestParameters.activatePolicyPaymentMethodRequestDto, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
421
428
|
};
|
|
422
429
|
/**
|
|
423
430
|
* Attaches a payment method to a policy by creating a policy payment method and setting it as active. Any previous payment method attachment will be deactivated. **Required Permissions** \"payment-management.payments.create\"
|
|
@@ -0,0 +1,24 @@
|
|
|
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 ActivatePolicyPaymentMethodRequestDto
|
|
16
|
+
*/
|
|
17
|
+
export interface ActivatePolicyPaymentMethodRequestDto {
|
|
18
|
+
/**
|
|
19
|
+
* Whether to trigger the Policy Payment Method Activated workflow event.
|
|
20
|
+
* @type {boolean}
|
|
21
|
+
* @memberof ActivatePolicyPaymentMethodRequestDto
|
|
22
|
+
*/
|
|
23
|
+
'shouldTriggerWorkflow'?: boolean;
|
|
24
|
+
}
|
|
@@ -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 });
|
package/dist/models/index.d.ts
CHANGED
package/dist/models/index.js
CHANGED
|
@@ -14,6 +14,7 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
|
14
14
|
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
15
|
};
|
|
16
16
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
+
__exportStar(require("./activate-policy-payment-method-request-dto"), exports);
|
|
17
18
|
__exportStar(require("./bank-account-class"), exports);
|
|
18
19
|
__exportStar(require("./bank-account-class-without-expand-properties"), exports);
|
|
19
20
|
__exportStar(require("./bank-order-class"), exports);
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* Emil Payment Service
|
|
5
|
+
* This service directly communicates with the various Payment Service Providers (PSPs) in order to charge or refund customers. This service will automatically connect to the PSP linked in your admin configuration; meaning if you configured Stripe, it will automatically create a payment on Stripe when you create it in Emil.
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: 1.0
|
|
8
|
+
* Contact: kontakt@emil.de
|
|
9
|
+
*
|
|
10
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
+
* https://openapi-generator.tech
|
|
12
|
+
* Do not edit the class manually.
|
|
13
|
+
*/
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
|
|
17
|
+
/**
|
|
18
|
+
*
|
|
19
|
+
* @export
|
|
20
|
+
* @interface ActivatePolicyPaymentMethodRequestDto
|
|
21
|
+
*/
|
|
22
|
+
export interface ActivatePolicyPaymentMethodRequestDto {
|
|
23
|
+
/**
|
|
24
|
+
* Whether to trigger the Policy Payment Method Activated workflow event.
|
|
25
|
+
* @type {boolean}
|
|
26
|
+
* @memberof ActivatePolicyPaymentMethodRequestDto
|
|
27
|
+
*/
|
|
28
|
+
'shouldTriggerWorkflow'?: boolean;
|
|
29
|
+
}
|
|
30
|
+
|
package/models/index.ts
CHANGED