@emilgroup/payment-sdk 1.14.1-beta.48 → 1.14.1-beta.50
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@1.14.1-beta.
|
|
20
|
+
npm install @emilgroup/payment-sdk@1.14.1-beta.50 --save
|
|
21
21
|
```
|
|
22
22
|
or
|
|
23
23
|
```
|
|
24
|
-
yarn add @emilgroup/payment-sdk@1.14.1-beta.
|
|
24
|
+
yarn add @emilgroup/payment-sdk@1.14.1-beta.50
|
|
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';
|
|
@@ -36,13 +38,16 @@ export const PolicyPaymentMethodsApiAxiosParamCreator = function (configuration?
|
|
|
36
38
|
* 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\"
|
|
37
39
|
* @summary Activate the policy payment method
|
|
38
40
|
* @param {string} code
|
|
41
|
+
* @param {ActivatePolicyPaymentMethodRequestDto} activatePolicyPaymentMethodRequestDto
|
|
39
42
|
* @param {string} [authorization] Bearer Token
|
|
40
43
|
* @param {*} [options] Override http request option.
|
|
41
44
|
* @throws {RequiredError}
|
|
42
45
|
*/
|
|
43
|
-
activatePolicyPaymentMethod: async (code: string, authorization?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
46
|
+
activatePolicyPaymentMethod: async (code: string, activatePolicyPaymentMethodRequestDto: ActivatePolicyPaymentMethodRequestDto, authorization?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
44
47
|
// verify required parameter 'code' is not null or undefined
|
|
45
48
|
assertParamExists('activatePolicyPaymentMethod', 'code', code)
|
|
49
|
+
// verify required parameter 'activatePolicyPaymentMethodRequestDto' is not null or undefined
|
|
50
|
+
assertParamExists('activatePolicyPaymentMethod', 'activatePolicyPaymentMethodRequestDto', activatePolicyPaymentMethodRequestDto)
|
|
46
51
|
const localVarPath = `/paymentservice/v1/policy-payment-methods/activate/{code}`
|
|
47
52
|
.replace(`{${"code"}}`, encodeURIComponent(String(code)));
|
|
48
53
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
@@ -68,9 +73,12 @@ export const PolicyPaymentMethodsApiAxiosParamCreator = function (configuration?
|
|
|
68
73
|
|
|
69
74
|
|
|
70
75
|
|
|
76
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
77
|
+
|
|
71
78
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
72
79
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
73
80
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
81
|
+
localVarRequestOptions.data = serializeDataIfNeeded(activatePolicyPaymentMethodRequestDto, localVarRequestOptions, configuration)
|
|
74
82
|
|
|
75
83
|
return {
|
|
76
84
|
url: toPathString(localVarUrlObj),
|
|
@@ -214,12 +222,13 @@ export const PolicyPaymentMethodsApiFp = function(configuration?: Configuration)
|
|
|
214
222
|
* 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\"
|
|
215
223
|
* @summary Activate the policy payment method
|
|
216
224
|
* @param {string} code
|
|
225
|
+
* @param {ActivatePolicyPaymentMethodRequestDto} activatePolicyPaymentMethodRequestDto
|
|
217
226
|
* @param {string} [authorization] Bearer Token
|
|
218
227
|
* @param {*} [options] Override http request option.
|
|
219
228
|
* @throws {RequiredError}
|
|
220
229
|
*/
|
|
221
|
-
async activatePolicyPaymentMethod(code: string, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<object>> {
|
|
222
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.activatePolicyPaymentMethod(code, authorization, options);
|
|
230
|
+
async activatePolicyPaymentMethod(code: string, activatePolicyPaymentMethodRequestDto: ActivatePolicyPaymentMethodRequestDto, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<object>> {
|
|
231
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.activatePolicyPaymentMethod(code, activatePolicyPaymentMethodRequestDto, authorization, options);
|
|
223
232
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
224
233
|
},
|
|
225
234
|
/**
|
|
@@ -266,12 +275,13 @@ export const PolicyPaymentMethodsApiFactory = function (configuration?: Configur
|
|
|
266
275
|
* 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\"
|
|
267
276
|
* @summary Activate the policy payment method
|
|
268
277
|
* @param {string} code
|
|
278
|
+
* @param {ActivatePolicyPaymentMethodRequestDto} activatePolicyPaymentMethodRequestDto
|
|
269
279
|
* @param {string} [authorization] Bearer Token
|
|
270
280
|
* @param {*} [options] Override http request option.
|
|
271
281
|
* @throws {RequiredError}
|
|
272
282
|
*/
|
|
273
|
-
activatePolicyPaymentMethod(code: string, authorization?: string, options?: any): AxiosPromise<object> {
|
|
274
|
-
return localVarFp.activatePolicyPaymentMethod(code, authorization, options).then((request) => request(axios, basePath));
|
|
283
|
+
activatePolicyPaymentMethod(code: string, activatePolicyPaymentMethodRequestDto: ActivatePolicyPaymentMethodRequestDto, authorization?: string, options?: any): AxiosPromise<object> {
|
|
284
|
+
return localVarFp.activatePolicyPaymentMethod(code, activatePolicyPaymentMethodRequestDto, authorization, options).then((request) => request(axios, basePath));
|
|
275
285
|
},
|
|
276
286
|
/**
|
|
277
287
|
* 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\"
|
|
@@ -317,6 +327,13 @@ export interface PolicyPaymentMethodsApiActivatePolicyPaymentMethodRequest {
|
|
|
317
327
|
*/
|
|
318
328
|
readonly code: string
|
|
319
329
|
|
|
330
|
+
/**
|
|
331
|
+
*
|
|
332
|
+
* @type {ActivatePolicyPaymentMethodRequestDto}
|
|
333
|
+
* @memberof PolicyPaymentMethodsApiActivatePolicyPaymentMethod
|
|
334
|
+
*/
|
|
335
|
+
readonly activatePolicyPaymentMethodRequestDto: ActivatePolicyPaymentMethodRequestDto
|
|
336
|
+
|
|
320
337
|
/**
|
|
321
338
|
* Bearer Token
|
|
322
339
|
* @type {string}
|
|
@@ -425,7 +442,7 @@ export class PolicyPaymentMethodsApi extends BaseAPI {
|
|
|
425
442
|
* @memberof PolicyPaymentMethodsApi
|
|
426
443
|
*/
|
|
427
444
|
public activatePolicyPaymentMethod(requestParameters: PolicyPaymentMethodsApiActivatePolicyPaymentMethodRequest, options?: AxiosRequestConfig) {
|
|
428
|
-
return PolicyPaymentMethodsApiFp(this.configuration).activatePolicyPaymentMethod(requestParameters.code, requestParameters.authorization, options).then((request) => request(this.axios, this.basePath));
|
|
445
|
+
return PolicyPaymentMethodsApiFp(this.configuration).activatePolicyPaymentMethod(requestParameters.code, requestParameters.activatePolicyPaymentMethodRequestDto, requestParameters.authorization, options).then((request) => request(this.axios, this.basePath));
|
|
429
446
|
}
|
|
430
447
|
|
|
431
448
|
/**
|
|
@@ -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}
|
|
@@ -96,11 +96,12 @@ var PolicyPaymentMethodsApiAxiosParamCreator = function (configuration) {
|
|
|
96
96
|
* 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\"
|
|
97
97
|
* @summary Activate the policy payment method
|
|
98
98
|
* @param {string} code
|
|
99
|
+
* @param {ActivatePolicyPaymentMethodRequestDto} activatePolicyPaymentMethodRequestDto
|
|
99
100
|
* @param {string} [authorization] Bearer Token
|
|
100
101
|
* @param {*} [options] Override http request option.
|
|
101
102
|
* @throws {RequiredError}
|
|
102
103
|
*/
|
|
103
|
-
activatePolicyPaymentMethod: function (code, authorization, options) {
|
|
104
|
+
activatePolicyPaymentMethod: function (code, activatePolicyPaymentMethodRequestDto, authorization, options) {
|
|
104
105
|
if (options === void 0) { options = {}; }
|
|
105
106
|
return __awaiter(_this, void 0, void 0, function () {
|
|
106
107
|
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
@@ -109,6 +110,8 @@ var PolicyPaymentMethodsApiAxiosParamCreator = function (configuration) {
|
|
|
109
110
|
case 0:
|
|
110
111
|
// verify required parameter 'code' is not null or undefined
|
|
111
112
|
(0, common_1.assertParamExists)('activatePolicyPaymentMethod', 'code', code);
|
|
113
|
+
// verify required parameter 'activatePolicyPaymentMethodRequestDto' is not null or undefined
|
|
114
|
+
(0, common_1.assertParamExists)('activatePolicyPaymentMethod', 'activatePolicyPaymentMethodRequestDto', activatePolicyPaymentMethodRequestDto);
|
|
112
115
|
localVarPath = "/paymentservice/v1/policy-payment-methods/activate/{code}"
|
|
113
116
|
.replace("{".concat("code", "}"), encodeURIComponent(String(code)));
|
|
114
117
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
@@ -129,9 +132,11 @@ var PolicyPaymentMethodsApiAxiosParamCreator = function (configuration) {
|
|
|
129
132
|
if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
|
|
130
133
|
localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
|
|
131
134
|
}
|
|
135
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
132
136
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
133
137
|
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
134
138
|
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
139
|
+
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(activatePolicyPaymentMethodRequestDto, localVarRequestOptions, configuration);
|
|
135
140
|
return [2 /*return*/, {
|
|
136
141
|
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
137
142
|
options: localVarRequestOptions,
|
|
@@ -275,16 +280,17 @@ var PolicyPaymentMethodsApiFp = function (configuration) {
|
|
|
275
280
|
* 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\"
|
|
276
281
|
* @summary Activate the policy payment method
|
|
277
282
|
* @param {string} code
|
|
283
|
+
* @param {ActivatePolicyPaymentMethodRequestDto} activatePolicyPaymentMethodRequestDto
|
|
278
284
|
* @param {string} [authorization] Bearer Token
|
|
279
285
|
* @param {*} [options] Override http request option.
|
|
280
286
|
* @throws {RequiredError}
|
|
281
287
|
*/
|
|
282
|
-
activatePolicyPaymentMethod: function (code, authorization, options) {
|
|
288
|
+
activatePolicyPaymentMethod: function (code, activatePolicyPaymentMethodRequestDto, authorization, options) {
|
|
283
289
|
return __awaiter(this, void 0, void 0, function () {
|
|
284
290
|
var localVarAxiosArgs;
|
|
285
291
|
return __generator(this, function (_a) {
|
|
286
292
|
switch (_a.label) {
|
|
287
|
-
case 0: return [4 /*yield*/, localVarAxiosParamCreator.activatePolicyPaymentMethod(code, authorization, options)];
|
|
293
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.activatePolicyPaymentMethod(code, activatePolicyPaymentMethodRequestDto, authorization, options)];
|
|
288
294
|
case 1:
|
|
289
295
|
localVarAxiosArgs = _a.sent();
|
|
290
296
|
return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
@@ -354,12 +360,13 @@ var PolicyPaymentMethodsApiFactory = function (configuration, basePath, axios) {
|
|
|
354
360
|
* 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\"
|
|
355
361
|
* @summary Activate the policy payment method
|
|
356
362
|
* @param {string} code
|
|
363
|
+
* @param {ActivatePolicyPaymentMethodRequestDto} activatePolicyPaymentMethodRequestDto
|
|
357
364
|
* @param {string} [authorization] Bearer Token
|
|
358
365
|
* @param {*} [options] Override http request option.
|
|
359
366
|
* @throws {RequiredError}
|
|
360
367
|
*/
|
|
361
|
-
activatePolicyPaymentMethod: function (code, authorization, options) {
|
|
362
|
-
return localVarFp.activatePolicyPaymentMethod(code, authorization, options).then(function (request) { return request(axios, basePath); });
|
|
368
|
+
activatePolicyPaymentMethod: function (code, activatePolicyPaymentMethodRequestDto, authorization, options) {
|
|
369
|
+
return localVarFp.activatePolicyPaymentMethod(code, activatePolicyPaymentMethodRequestDto, authorization, options).then(function (request) { return request(axios, basePath); });
|
|
363
370
|
},
|
|
364
371
|
/**
|
|
365
372
|
* 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\"
|
|
@@ -413,7 +420,7 @@ var PolicyPaymentMethodsApi = /** @class */ (function (_super) {
|
|
|
413
420
|
*/
|
|
414
421
|
PolicyPaymentMethodsApi.prototype.activatePolicyPaymentMethod = function (requestParameters, options) {
|
|
415
422
|
var _this = this;
|
|
416
|
-
return (0, exports.PolicyPaymentMethodsApiFp)(this.configuration).activatePolicyPaymentMethod(requestParameters.code, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
423
|
+
return (0, exports.PolicyPaymentMethodsApiFp)(this.configuration).activatePolicyPaymentMethod(requestParameters.code, requestParameters.activatePolicyPaymentMethodRequestDto, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
417
424
|
};
|
|
418
425
|
/**
|
|
419
426
|
* 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