@emilgroup/payment-sdk-node 1.22.1-beta.6 → 1.22.1-beta.61
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 +21 -0
- package/README.md +2 -2
- package/api/billing-addresses-api.ts +695 -0
- package/api/credit-allocation-api.ts +460 -0
- package/api/payout-methods-api.ts +676 -0
- package/api/policy-payment-methods-api.ts +118 -0
- package/api.ts +6 -0
- package/base.ts +0 -1
- package/dist/api/bank-accounts-api.d.ts +6 -6
- package/dist/api/bank-orders-api.d.ts +5 -5
- package/dist/api/bank-transaction-api.d.ts +6 -6
- package/dist/api/billing-addresses-api.d.ts +393 -0
- package/dist/api/billing-addresses-api.js +646 -0
- package/dist/api/credit-allocation-api.d.ts +263 -0
- package/dist/api/credit-allocation-api.js +449 -0
- package/dist/api/exceeding-credits-api.d.ts +2 -2
- package/dist/api/health-check-api.d.ts +1 -1
- package/dist/api/payment-methods-api.d.ts +3 -3
- package/dist/api/payment-reminders-api.d.ts +4 -4
- package/dist/api/payment-setup-api.d.ts +2 -2
- package/dist/api/payments-api.d.ts +4 -4
- package/dist/api/payout-methods-api.d.ts +382 -0
- package/dist/api/payout-methods-api.js +639 -0
- package/dist/api/policy-payment-methods-api.d.ts +67 -2
- package/dist/api/policy-payment-methods-api.js +99 -0
- package/dist/api/refunds-api.d.ts +3 -3
- package/dist/api/tenant-bank-account-api.d.ts +5 -5
- package/dist/api/webhooks-api.d.ts +1 -1
- package/dist/api.d.ts +3 -0
- package/dist/api.js +3 -0
- package/dist/common.d.ts +1 -1
- 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/bank-order-class.d.ts +3 -3
- package/dist/models/billing-address-class.d.ts +108 -0
- package/dist/models/billing-address-class.js +15 -0
- package/dist/models/billing-address-dto.d.ts +6 -0
- package/dist/models/create-bank-order-request-dto.d.ts +3 -3
- package/dist/models/create-billing-address-request-dto.d.ts +66 -0
- package/dist/models/create-billing-address-request-dto.js +15 -0
- package/dist/models/create-billing-address-response-class.d.ts +25 -0
- package/dist/models/create-billing-address-response-class.js +15 -0
- package/dist/models/create-credit-allocation-request-dto.d.ts +54 -0
- package/dist/models/create-credit-allocation-request-dto.js +21 -0
- package/dist/models/create-credit-allocation-response-class.d.ts +25 -0
- package/dist/models/create-credit-allocation-response-class.js +15 -0
- package/dist/models/create-payout-method-request-dto.d.ts +60 -0
- package/dist/models/create-payout-method-request-dto.js +15 -0
- package/dist/models/create-payout-method-response-class.d.ts +25 -0
- package/dist/models/create-payout-method-response-class.js +15 -0
- package/dist/models/create-tenant-bank-account-request-dto.d.ts +30 -0
- package/dist/models/credit-allocation-class.d.ts +115 -0
- package/dist/models/credit-allocation-class.js +21 -0
- package/dist/models/exceeding-credit-class.d.ts +6 -0
- package/dist/models/get-billing-address-response-class.d.ts +25 -0
- package/dist/models/get-billing-address-response-class.js +15 -0
- package/dist/models/get-credit-allocation-response-class.d.ts +25 -0
- package/dist/models/get-credit-allocation-response-class.js +15 -0
- package/dist/models/get-payout-method-response-class.d.ts +25 -0
- package/dist/models/get-payout-method-response-class.js +15 -0
- package/dist/models/index.d.ts +18 -0
- package/dist/models/index.js +18 -0
- package/dist/models/list-billing-addresses-response-class.d.ts +43 -0
- package/dist/models/list-billing-addresses-response-class.js +15 -0
- package/dist/models/list-credit-allocations-response-class.d.ts +43 -0
- package/dist/models/list-credit-allocations-response-class.js +15 -0
- package/dist/models/list-payout-methods-response-class.d.ts +43 -0
- package/dist/models/list-payout-methods-response-class.js +15 -0
- package/dist/models/payout-method-class.d.ts +115 -0
- package/dist/models/payout-method-class.js +15 -0
- package/dist/models/tenant-bank-account-class-without-expand-properties.d.ts +30 -0
- package/dist/models/tenant-bank-account-class.d.ts +30 -0
- package/dist/models/update-bank-order-request-dto.d.ts +3 -3
- package/dist/models/update-billing-address-request-dto.d.ts +66 -0
- package/dist/models/update-billing-address-request-dto.js +15 -0
- package/dist/models/update-billing-address-response-class.d.ts +25 -0
- package/dist/models/update-billing-address-response-class.js +15 -0
- package/dist/models/update-tenant-bank-account-rest-request-dto.d.ts +30 -0
- package/models/activate-policy-payment-method-request-dto.ts +30 -0
- package/models/bank-order-class.ts +3 -3
- package/models/billing-address-class.ts +114 -0
- package/models/billing-address-dto.ts +6 -0
- package/models/create-bank-order-request-dto.ts +3 -3
- package/models/create-billing-address-request-dto.ts +72 -0
- package/models/create-billing-address-response-class.ts +31 -0
- package/models/create-credit-allocation-request-dto.ts +63 -0
- package/models/create-credit-allocation-response-class.ts +31 -0
- package/models/create-payout-method-request-dto.ts +66 -0
- package/models/create-payout-method-response-class.ts +31 -0
- package/models/create-tenant-bank-account-request-dto.ts +30 -0
- package/models/credit-allocation-class.ts +124 -0
- package/models/exceeding-credit-class.ts +6 -0
- package/models/get-billing-address-response-class.ts +31 -0
- package/models/get-credit-allocation-response-class.ts +31 -0
- package/models/get-payout-method-response-class.ts +31 -0
- package/models/index.ts +18 -0
- package/models/list-billing-addresses-response-class.ts +49 -0
- package/models/list-credit-allocations-response-class.ts +49 -0
- package/models/list-payout-methods-response-class.ts +49 -0
- package/models/payout-method-class.ts +121 -0
- package/models/tenant-bank-account-class-without-expand-properties.ts +30 -0
- package/models/tenant-bank-account-class.ts +30 -0
- package/models/update-bank-order-request-dto.ts +3 -3
- package/models/update-billing-address-request-dto.ts +72 -0
- package/models/update-billing-address-response-class.ts +31 -0
- package/models/update-tenant-bank-account-rest-request-dto.ts +30 -0
- package/package.json +2 -2
|
@@ -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';
|
|
@@ -20,6 +21,16 @@ import { ListPolicyPaymentMethodsResponseClass } from '../models';
|
|
|
20
21
|
* @export
|
|
21
22
|
*/
|
|
22
23
|
export declare const PolicyPaymentMethodsApiAxiosParamCreator: (configuration?: 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\"
|
|
26
|
+
* @summary Activate the policy payment method
|
|
27
|
+
* @param {string} code
|
|
28
|
+
* @param {ActivatePolicyPaymentMethodRequestDto} activatePolicyPaymentMethodRequestDto
|
|
29
|
+
* @param {string} [authorization] Bearer Token
|
|
30
|
+
* @param {*} [options] Override http request option.
|
|
31
|
+
* @throws {RequiredError}
|
|
32
|
+
*/
|
|
33
|
+
activatePolicyPaymentMethod: (code: string, activatePolicyPaymentMethodRequestDto: ActivatePolicyPaymentMethodRequestDto, authorization?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
23
34
|
/**
|
|
24
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\"
|
|
25
36
|
* @summary Create the policy payment method
|
|
@@ -50,6 +61,16 @@ export declare const PolicyPaymentMethodsApiAxiosParamCreator: (configuration?:
|
|
|
50
61
|
* @export
|
|
51
62
|
*/
|
|
52
63
|
export declare const PolicyPaymentMethodsApiFp: (configuration?: Configuration) => {
|
|
64
|
+
/**
|
|
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\"
|
|
66
|
+
* @summary Activate the policy payment method
|
|
67
|
+
* @param {string} code
|
|
68
|
+
* @param {ActivatePolicyPaymentMethodRequestDto} activatePolicyPaymentMethodRequestDto
|
|
69
|
+
* @param {string} [authorization] Bearer Token
|
|
70
|
+
* @param {*} [options] Override http request option.
|
|
71
|
+
* @throws {RequiredError}
|
|
72
|
+
*/
|
|
73
|
+
activatePolicyPaymentMethod(code: string, activatePolicyPaymentMethodRequestDto: ActivatePolicyPaymentMethodRequestDto, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<object>>;
|
|
53
74
|
/**
|
|
54
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\"
|
|
55
76
|
* @summary Create the policy payment method
|
|
@@ -80,6 +101,16 @@ export declare const PolicyPaymentMethodsApiFp: (configuration?: Configuration)
|
|
|
80
101
|
* @export
|
|
81
102
|
*/
|
|
82
103
|
export declare const PolicyPaymentMethodsApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
|
|
104
|
+
/**
|
|
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\"
|
|
106
|
+
* @summary Activate the policy payment method
|
|
107
|
+
* @param {string} code
|
|
108
|
+
* @param {ActivatePolicyPaymentMethodRequestDto} activatePolicyPaymentMethodRequestDto
|
|
109
|
+
* @param {string} [authorization] Bearer Token
|
|
110
|
+
* @param {*} [options] Override http request option.
|
|
111
|
+
* @throws {RequiredError}
|
|
112
|
+
*/
|
|
113
|
+
activatePolicyPaymentMethod(code: string, activatePolicyPaymentMethodRequestDto: ActivatePolicyPaymentMethodRequestDto, authorization?: string, options?: any): AxiosPromise<object>;
|
|
83
114
|
/**
|
|
84
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\"
|
|
85
116
|
* @summary Create the policy payment method
|
|
@@ -105,6 +136,31 @@ export declare const PolicyPaymentMethodsApiFactory: (configuration?: Configurat
|
|
|
105
136
|
*/
|
|
106
137
|
listPolicyPaymentMethods(authorization?: string, pageSize?: number, pageToken?: string, filter?: string, search?: string, order?: string, expand?: string, filters?: string, options?: any): AxiosPromise<ListPolicyPaymentMethodsResponseClass>;
|
|
107
138
|
};
|
|
139
|
+
/**
|
|
140
|
+
* Request parameters for activatePolicyPaymentMethod operation in PolicyPaymentMethodsApi.
|
|
141
|
+
* @export
|
|
142
|
+
* @interface PolicyPaymentMethodsApiActivatePolicyPaymentMethodRequest
|
|
143
|
+
*/
|
|
144
|
+
export interface PolicyPaymentMethodsApiActivatePolicyPaymentMethodRequest {
|
|
145
|
+
/**
|
|
146
|
+
*
|
|
147
|
+
* @type {string}
|
|
148
|
+
* @memberof PolicyPaymentMethodsApiActivatePolicyPaymentMethod
|
|
149
|
+
*/
|
|
150
|
+
readonly code: string;
|
|
151
|
+
/**
|
|
152
|
+
*
|
|
153
|
+
* @type {ActivatePolicyPaymentMethodRequestDto}
|
|
154
|
+
* @memberof PolicyPaymentMethodsApiActivatePolicyPaymentMethod
|
|
155
|
+
*/
|
|
156
|
+
readonly activatePolicyPaymentMethodRequestDto: ActivatePolicyPaymentMethodRequestDto;
|
|
157
|
+
/**
|
|
158
|
+
* Bearer Token
|
|
159
|
+
* @type {string}
|
|
160
|
+
* @memberof PolicyPaymentMethodsApiActivatePolicyPaymentMethod
|
|
161
|
+
*/
|
|
162
|
+
readonly authorization?: string;
|
|
163
|
+
}
|
|
108
164
|
/**
|
|
109
165
|
* Request parameters for createPolicyPaymentMethod operation in PolicyPaymentMethodsApi.
|
|
110
166
|
* @export
|
|
@@ -186,6 +242,15 @@ export interface PolicyPaymentMethodsApiListPolicyPaymentMethodsRequest {
|
|
|
186
242
|
* @extends {BaseAPI}
|
|
187
243
|
*/
|
|
188
244
|
export declare class PolicyPaymentMethodsApi extends BaseAPI {
|
|
245
|
+
/**
|
|
246
|
+
* 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\"
|
|
247
|
+
* @summary Activate the policy payment method
|
|
248
|
+
* @param {PolicyPaymentMethodsApiActivatePolicyPaymentMethodRequest} requestParameters Request parameters.
|
|
249
|
+
* @param {*} [options] Override http request option.
|
|
250
|
+
* @throws {RequiredError}
|
|
251
|
+
* @memberof PolicyPaymentMethodsApi
|
|
252
|
+
*/
|
|
253
|
+
activatePolicyPaymentMethod(requestParameters: PolicyPaymentMethodsApiActivatePolicyPaymentMethodRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<object, any, {}>>;
|
|
189
254
|
/**
|
|
190
255
|
* 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\"
|
|
191
256
|
* @summary Create the policy payment method
|
|
@@ -194,7 +259,7 @@ export declare class PolicyPaymentMethodsApi extends BaseAPI {
|
|
|
194
259
|
* @throws {RequiredError}
|
|
195
260
|
* @memberof PolicyPaymentMethodsApi
|
|
196
261
|
*/
|
|
197
|
-
createPolicyPaymentMethod(requestParameters: PolicyPaymentMethodsApiCreatePolicyPaymentMethodRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<CreatePolicyPaymentMethodResponseClass, any>>;
|
|
262
|
+
createPolicyPaymentMethod(requestParameters: PolicyPaymentMethodsApiCreatePolicyPaymentMethodRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<CreatePolicyPaymentMethodResponseClass, any, {}>>;
|
|
198
263
|
/**
|
|
199
264
|
* List policy payment methods **Required Permissions** \"payment-management.payments.view\"
|
|
200
265
|
* @summary Retrieve the policy payment methods
|
|
@@ -203,5 +268,5 @@ export declare class PolicyPaymentMethodsApi extends BaseAPI {
|
|
|
203
268
|
* @throws {RequiredError}
|
|
204
269
|
* @memberof PolicyPaymentMethodsApi
|
|
205
270
|
*/
|
|
206
|
-
listPolicyPaymentMethods(requestParameters?: PolicyPaymentMethodsApiListPolicyPaymentMethodsRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<ListPolicyPaymentMethodsResponseClass, any>>;
|
|
271
|
+
listPolicyPaymentMethods(requestParameters?: PolicyPaymentMethodsApiListPolicyPaymentMethodsRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<ListPolicyPaymentMethodsResponseClass, any, {}>>;
|
|
207
272
|
}
|
|
@@ -96,6 +96,59 @@ var FormData = require('form-data');
|
|
|
96
96
|
var PolicyPaymentMethodsApiAxiosParamCreator = function (configuration) {
|
|
97
97
|
var _this = this;
|
|
98
98
|
return {
|
|
99
|
+
/**
|
|
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
|
+
* @summary Activate the policy payment method
|
|
102
|
+
* @param {string} code
|
|
103
|
+
* @param {ActivatePolicyPaymentMethodRequestDto} activatePolicyPaymentMethodRequestDto
|
|
104
|
+
* @param {string} [authorization] Bearer Token
|
|
105
|
+
* @param {*} [options] Override http request option.
|
|
106
|
+
* @throws {RequiredError}
|
|
107
|
+
*/
|
|
108
|
+
activatePolicyPaymentMethod: function (code, activatePolicyPaymentMethodRequestDto, authorization, options) {
|
|
109
|
+
if (options === void 0) { options = {}; }
|
|
110
|
+
return __awaiter(_this, void 0, void 0, function () {
|
|
111
|
+
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
112
|
+
return __generator(this, function (_a) {
|
|
113
|
+
switch (_a.label) {
|
|
114
|
+
case 0:
|
|
115
|
+
// verify required parameter 'code' is not null or undefined
|
|
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);
|
|
119
|
+
localVarPath = "/paymentservice/v1/policy-payment-methods/activate/{code}"
|
|
120
|
+
.replace("{".concat("code", "}"), encodeURIComponent(String(code)));
|
|
121
|
+
localVarUrlObj = new url_1.URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
122
|
+
if (configuration) {
|
|
123
|
+
baseOptions = configuration.baseOptions;
|
|
124
|
+
baseAccessToken = configuration.accessToken;
|
|
125
|
+
}
|
|
126
|
+
localVarRequestOptions = __assign(__assign({ method: 'POST' }, baseOptions), options);
|
|
127
|
+
localVarHeaderParameter = {};
|
|
128
|
+
localVarQueryParameter = {};
|
|
129
|
+
// authentication bearer required
|
|
130
|
+
// http bearer authentication required
|
|
131
|
+
return [4 /*yield*/, (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration)];
|
|
132
|
+
case 1:
|
|
133
|
+
// authentication bearer required
|
|
134
|
+
// http bearer authentication required
|
|
135
|
+
_a.sent();
|
|
136
|
+
if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
|
|
137
|
+
localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
|
|
138
|
+
}
|
|
139
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
140
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
141
|
+
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
142
|
+
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
143
|
+
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(activatePolicyPaymentMethodRequestDto, localVarRequestOptions, configuration);
|
|
144
|
+
return [2 /*return*/, {
|
|
145
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
146
|
+
options: localVarRequestOptions,
|
|
147
|
+
}];
|
|
148
|
+
}
|
|
149
|
+
});
|
|
150
|
+
});
|
|
151
|
+
},
|
|
99
152
|
/**
|
|
100
153
|
* 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\"
|
|
101
154
|
* @summary Create the policy payment method
|
|
@@ -227,6 +280,28 @@ exports.PolicyPaymentMethodsApiAxiosParamCreator = PolicyPaymentMethodsApiAxiosP
|
|
|
227
280
|
var PolicyPaymentMethodsApiFp = function (configuration) {
|
|
228
281
|
var localVarAxiosParamCreator = (0, exports.PolicyPaymentMethodsApiAxiosParamCreator)(configuration);
|
|
229
282
|
return {
|
|
283
|
+
/**
|
|
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\"
|
|
285
|
+
* @summary Activate the policy payment method
|
|
286
|
+
* @param {string} code
|
|
287
|
+
* @param {ActivatePolicyPaymentMethodRequestDto} activatePolicyPaymentMethodRequestDto
|
|
288
|
+
* @param {string} [authorization] Bearer Token
|
|
289
|
+
* @param {*} [options] Override http request option.
|
|
290
|
+
* @throws {RequiredError}
|
|
291
|
+
*/
|
|
292
|
+
activatePolicyPaymentMethod: function (code, activatePolicyPaymentMethodRequestDto, authorization, options) {
|
|
293
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
294
|
+
var localVarAxiosArgs;
|
|
295
|
+
return __generator(this, function (_a) {
|
|
296
|
+
switch (_a.label) {
|
|
297
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.activatePolicyPaymentMethod(code, activatePolicyPaymentMethodRequestDto, authorization, options)];
|
|
298
|
+
case 1:
|
|
299
|
+
localVarAxiosArgs = _a.sent();
|
|
300
|
+
return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
301
|
+
}
|
|
302
|
+
});
|
|
303
|
+
});
|
|
304
|
+
},
|
|
230
305
|
/**
|
|
231
306
|
* 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\"
|
|
232
307
|
* @summary Create the policy payment method
|
|
@@ -285,6 +360,18 @@ exports.PolicyPaymentMethodsApiFp = PolicyPaymentMethodsApiFp;
|
|
|
285
360
|
var PolicyPaymentMethodsApiFactory = function (configuration, basePath, axios) {
|
|
286
361
|
var localVarFp = (0, exports.PolicyPaymentMethodsApiFp)(configuration);
|
|
287
362
|
return {
|
|
363
|
+
/**
|
|
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\"
|
|
365
|
+
* @summary Activate the policy payment method
|
|
366
|
+
* @param {string} code
|
|
367
|
+
* @param {ActivatePolicyPaymentMethodRequestDto} activatePolicyPaymentMethodRequestDto
|
|
368
|
+
* @param {string} [authorization] Bearer Token
|
|
369
|
+
* @param {*} [options] Override http request option.
|
|
370
|
+
* @throws {RequiredError}
|
|
371
|
+
*/
|
|
372
|
+
activatePolicyPaymentMethod: function (code, activatePolicyPaymentMethodRequestDto, authorization, options) {
|
|
373
|
+
return localVarFp.activatePolicyPaymentMethod(code, activatePolicyPaymentMethodRequestDto, authorization, options).then(function (request) { return request(axios, basePath); });
|
|
374
|
+
},
|
|
288
375
|
/**
|
|
289
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\"
|
|
290
377
|
* @summary Create the policy payment method
|
|
@@ -327,6 +414,18 @@ var PolicyPaymentMethodsApi = /** @class */ (function (_super) {
|
|
|
327
414
|
function PolicyPaymentMethodsApi() {
|
|
328
415
|
return _super !== null && _super.apply(this, arguments) || this;
|
|
329
416
|
}
|
|
417
|
+
/**
|
|
418
|
+
* 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\"
|
|
419
|
+
* @summary Activate the policy payment method
|
|
420
|
+
* @param {PolicyPaymentMethodsApiActivatePolicyPaymentMethodRequest} requestParameters Request parameters.
|
|
421
|
+
* @param {*} [options] Override http request option.
|
|
422
|
+
* @throws {RequiredError}
|
|
423
|
+
* @memberof PolicyPaymentMethodsApi
|
|
424
|
+
*/
|
|
425
|
+
PolicyPaymentMethodsApi.prototype.activatePolicyPaymentMethod = function (requestParameters, options) {
|
|
426
|
+
var _this = this;
|
|
427
|
+
return (0, exports.PolicyPaymentMethodsApiFp)(this.configuration).activatePolicyPaymentMethod(requestParameters.code, requestParameters.activatePolicyPaymentMethodRequestDto, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
428
|
+
};
|
|
330
429
|
/**
|
|
331
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\"
|
|
332
431
|
* @summary Create the policy payment method
|
|
@@ -250,7 +250,7 @@ export declare class RefundsApi extends BaseAPI {
|
|
|
250
250
|
* @throws {RequiredError}
|
|
251
251
|
* @memberof RefundsApi
|
|
252
252
|
*/
|
|
253
|
-
createRefund(requestParameters: RefundsApiCreateRefundRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<CreateRefundResponseClass, any>>;
|
|
253
|
+
createRefund(requestParameters: RefundsApiCreateRefundRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<CreateRefundResponseClass, any, {}>>;
|
|
254
254
|
/**
|
|
255
255
|
* Retrieves the details of the refund that was previously created. Supply the unique refund code that was returned when you created it and Emil Api will return the corresponding refund information. **Required Permissions** \"payment-management.payments.view\"
|
|
256
256
|
* @summary Retrieve the refund
|
|
@@ -259,7 +259,7 @@ export declare class RefundsApi extends BaseAPI {
|
|
|
259
259
|
* @throws {RequiredError}
|
|
260
260
|
* @memberof RefundsApi
|
|
261
261
|
*/
|
|
262
|
-
getRefund(requestParameters: RefundsApiGetRefundRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<GetRefundResponseClass, any>>;
|
|
262
|
+
getRefund(requestParameters: RefundsApiGetRefundRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<GetRefundResponseClass, any, {}>>;
|
|
263
263
|
/**
|
|
264
264
|
* Returns a list of refunds you have previously created. The refunds are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation. **Required Permissions** \"payment-management.payments.view\"
|
|
265
265
|
* @summary List refunds
|
|
@@ -268,5 +268,5 @@ export declare class RefundsApi extends BaseAPI {
|
|
|
268
268
|
* @throws {RequiredError}
|
|
269
269
|
* @memberof RefundsApi
|
|
270
270
|
*/
|
|
271
|
-
listRefunds(requestParameters?: RefundsApiListRefundsRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<ListRefundsResponseClass, any>>;
|
|
271
|
+
listRefunds(requestParameters?: RefundsApiListRefundsRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<ListRefundsResponseClass, any, {}>>;
|
|
272
272
|
}
|
|
@@ -353,7 +353,7 @@ export declare class TenantBankAccountApi extends BaseAPI {
|
|
|
353
353
|
* @throws {RequiredError}
|
|
354
354
|
* @memberof TenantBankAccountApi
|
|
355
355
|
*/
|
|
356
|
-
createTenantBankAccount(requestParameters: TenantBankAccountApiCreateTenantBankAccountRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<CreateTenantBankAccountResponseClass, any>>;
|
|
356
|
+
createTenantBankAccount(requestParameters: TenantBankAccountApiCreateTenantBankAccountRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<CreateTenantBankAccountResponseClass, any, {}>>;
|
|
357
357
|
/**
|
|
358
358
|
* Deletes a tenant bank account by code
|
|
359
359
|
* @summary Delete the tenant bank account
|
|
@@ -362,7 +362,7 @@ export declare class TenantBankAccountApi extends BaseAPI {
|
|
|
362
362
|
* @throws {RequiredError}
|
|
363
363
|
* @memberof TenantBankAccountApi
|
|
364
364
|
*/
|
|
365
|
-
deleteTenantBankAccount(requestParameters: TenantBankAccountApiDeleteTenantBankAccountRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<object, any>>;
|
|
365
|
+
deleteTenantBankAccount(requestParameters: TenantBankAccountApiDeleteTenantBankAccountRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<object, any, {}>>;
|
|
366
366
|
/**
|
|
367
367
|
* Retrieves the details of the tenant bank account that was previously created. Supply the unique tenant bank account code that was returned when you created it and Emil Api will return the corresponding tenant bank account information.
|
|
368
368
|
* @summary Retrieve the tenant bank account
|
|
@@ -371,7 +371,7 @@ export declare class TenantBankAccountApi extends BaseAPI {
|
|
|
371
371
|
* @throws {RequiredError}
|
|
372
372
|
* @memberof TenantBankAccountApi
|
|
373
373
|
*/
|
|
374
|
-
getTenantBankAccount(requestParameters: TenantBankAccountApiGetTenantBankAccountRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<GetTenantBankAccountResponseClass, any>>;
|
|
374
|
+
getTenantBankAccount(requestParameters: TenantBankAccountApiGetTenantBankAccountRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<GetTenantBankAccountResponseClass, any, {}>>;
|
|
375
375
|
/**
|
|
376
376
|
* Returns a list of tenant bank accounts you have previously created. The tenant bank accounts are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
|
|
377
377
|
* @summary List tenant bank accounts
|
|
@@ -380,7 +380,7 @@ export declare class TenantBankAccountApi extends BaseAPI {
|
|
|
380
380
|
* @throws {RequiredError}
|
|
381
381
|
* @memberof TenantBankAccountApi
|
|
382
382
|
*/
|
|
383
|
-
listTenantBankAccounts(requestParameters?: TenantBankAccountApiListTenantBankAccountsRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<ListTenantBankAccountResponseClass, any>>;
|
|
383
|
+
listTenantBankAccounts(requestParameters?: TenantBankAccountApiListTenantBankAccountsRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<ListTenantBankAccountResponseClass, any, {}>>;
|
|
384
384
|
/**
|
|
385
385
|
* Update a tenant bank account by code
|
|
386
386
|
* @summary Update the tenant bank account
|
|
@@ -389,5 +389,5 @@ export declare class TenantBankAccountApi extends BaseAPI {
|
|
|
389
389
|
* @throws {RequiredError}
|
|
390
390
|
* @memberof TenantBankAccountApi
|
|
391
391
|
*/
|
|
392
|
-
updateTenantBankAccount(requestParameters: TenantBankAccountApiUpdateTenantBankAccountRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<UpdateTenantBankAccountResponseClass, any>>;
|
|
392
|
+
updateTenantBankAccount(requestParameters: TenantBankAccountApiUpdateTenantBankAccountRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<UpdateTenantBankAccountResponseClass, any, {}>>;
|
|
393
393
|
}
|
|
@@ -109,5 +109,5 @@ export declare class WebhooksApi extends BaseAPI {
|
|
|
109
109
|
* @throws {RequiredError}
|
|
110
110
|
* @memberof WebhooksApi
|
|
111
111
|
*/
|
|
112
|
-
postWebhook(requestParameters: WebhooksApiPostWebhookRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any>>;
|
|
112
|
+
postWebhook(requestParameters: WebhooksApiPostWebhookRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any, {}>>;
|
|
113
113
|
}
|
package/dist/api.d.ts
CHANGED
|
@@ -12,12 +12,15 @@
|
|
|
12
12
|
export * from './api/bank-accounts-api';
|
|
13
13
|
export * from './api/bank-orders-api';
|
|
14
14
|
export * from './api/bank-transaction-api';
|
|
15
|
+
export * from './api/billing-addresses-api';
|
|
16
|
+
export * from './api/credit-allocation-api';
|
|
15
17
|
export * from './api/exceeding-credits-api';
|
|
16
18
|
export * from './api/health-check-api';
|
|
17
19
|
export * from './api/payment-methods-api';
|
|
18
20
|
export * from './api/payment-reminders-api';
|
|
19
21
|
export * from './api/payment-setup-api';
|
|
20
22
|
export * from './api/payments-api';
|
|
23
|
+
export * from './api/payout-methods-api';
|
|
21
24
|
export * from './api/policy-payment-methods-api';
|
|
22
25
|
export * from './api/refunds-api';
|
|
23
26
|
export * from './api/tenant-bank-account-api';
|
package/dist/api.js
CHANGED
|
@@ -30,12 +30,15 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
30
30
|
__exportStar(require("./api/bank-accounts-api"), exports);
|
|
31
31
|
__exportStar(require("./api/bank-orders-api"), exports);
|
|
32
32
|
__exportStar(require("./api/bank-transaction-api"), exports);
|
|
33
|
+
__exportStar(require("./api/billing-addresses-api"), exports);
|
|
34
|
+
__exportStar(require("./api/credit-allocation-api"), exports);
|
|
33
35
|
__exportStar(require("./api/exceeding-credits-api"), exports);
|
|
34
36
|
__exportStar(require("./api/health-check-api"), exports);
|
|
35
37
|
__exportStar(require("./api/payment-methods-api"), exports);
|
|
36
38
|
__exportStar(require("./api/payment-reminders-api"), exports);
|
|
37
39
|
__exportStar(require("./api/payment-setup-api"), exports);
|
|
38
40
|
__exportStar(require("./api/payments-api"), exports);
|
|
41
|
+
__exportStar(require("./api/payout-methods-api"), exports);
|
|
39
42
|
__exportStar(require("./api/policy-payment-methods-api"), exports);
|
|
40
43
|
__exportStar(require("./api/refunds-api"), exports);
|
|
41
44
|
__exportStar(require("./api/tenant-bank-account-api"), exports);
|
package/dist/common.d.ts
CHANGED
|
@@ -63,7 +63,7 @@ export declare const toPathString: (url: URL) => string;
|
|
|
63
63
|
*
|
|
64
64
|
* @export
|
|
65
65
|
*/
|
|
66
|
-
export declare const createRequestFunction: (axiosArgs: RequestArgs, globalAxios: AxiosInstance, BASE_PATH: string, configuration?: Configuration) => <T = unknown, R = AxiosResponse<T, any>>(axios?: AxiosInstance, basePath?: string) => Promise<R>;
|
|
66
|
+
export declare const createRequestFunction: (axiosArgs: RequestArgs, globalAxios: AxiosInstance, BASE_PATH: string, configuration?: Configuration) => <T = unknown, R = AxiosResponse<T, any, {}>>(axios?: AxiosInstance, basePath?: string) => Promise<R>;
|
|
67
67
|
/**
|
|
68
68
|
* Emil Payment Service
|
|
69
69
|
* This service directly communicates with the various Payment Service Providers (PSPs) in order to charge or refund customers. This service will automatically connect to the PSP linked in your admin configuration; meaning if you configured Stripe, it will automatically create a payment on Stripe when you create it in Emil.
|
|
@@ -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 });
|
|
@@ -66,11 +66,11 @@ export interface BankOrderClass {
|
|
|
66
66
|
*/
|
|
67
67
|
'financialAccountCode': string;
|
|
68
68
|
/**
|
|
69
|
-
* List of
|
|
70
|
-
* @type {Array<
|
|
69
|
+
* List of entity codes associated with bank order.
|
|
70
|
+
* @type {Array<string>}
|
|
71
71
|
* @memberof BankOrderClass
|
|
72
72
|
*/
|
|
73
|
-
'
|
|
73
|
+
'entityCodes': Array<string>;
|
|
74
74
|
/**
|
|
75
75
|
* Day of execution of bank order.
|
|
76
76
|
* @type {string}
|
|
@@ -0,0 +1,108 @@
|
|
|
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 BillingAddressClass
|
|
16
|
+
*/
|
|
17
|
+
export interface BillingAddressClass {
|
|
18
|
+
/**
|
|
19
|
+
* Internal unique identifier for the object. You should not have to use this, use code instead.
|
|
20
|
+
* @type {number}
|
|
21
|
+
* @memberof BillingAddressClass
|
|
22
|
+
*/
|
|
23
|
+
'id': number;
|
|
24
|
+
/**
|
|
25
|
+
* Unique identifier for the object.
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof BillingAddressClass
|
|
28
|
+
*/
|
|
29
|
+
'code': string;
|
|
30
|
+
/**
|
|
31
|
+
* First name
|
|
32
|
+
* @type {string}
|
|
33
|
+
* @memberof BillingAddressClass
|
|
34
|
+
*/
|
|
35
|
+
'firstName': string;
|
|
36
|
+
/**
|
|
37
|
+
* Last name
|
|
38
|
+
* @type {string}
|
|
39
|
+
* @memberof BillingAddressClass
|
|
40
|
+
*/
|
|
41
|
+
'lastName': string;
|
|
42
|
+
/**
|
|
43
|
+
* Street name
|
|
44
|
+
* @type {string}
|
|
45
|
+
* @memberof BillingAddressClass
|
|
46
|
+
*/
|
|
47
|
+
'street': string;
|
|
48
|
+
/**
|
|
49
|
+
* House number
|
|
50
|
+
* @type {string}
|
|
51
|
+
* @memberof BillingAddressClass
|
|
52
|
+
*/
|
|
53
|
+
'houseNumber': string;
|
|
54
|
+
/**
|
|
55
|
+
* ZIP code
|
|
56
|
+
* @type {string}
|
|
57
|
+
* @memberof BillingAddressClass
|
|
58
|
+
*/
|
|
59
|
+
'zipCode': string;
|
|
60
|
+
/**
|
|
61
|
+
* City
|
|
62
|
+
* @type {string}
|
|
63
|
+
* @memberof BillingAddressClass
|
|
64
|
+
*/
|
|
65
|
+
'city': string;
|
|
66
|
+
/**
|
|
67
|
+
* Country code
|
|
68
|
+
* @type {string}
|
|
69
|
+
* @memberof BillingAddressClass
|
|
70
|
+
*/
|
|
71
|
+
'countryCode'?: string;
|
|
72
|
+
/**
|
|
73
|
+
* Unique identifier of the account that this object belongs to.
|
|
74
|
+
* @type {string}
|
|
75
|
+
* @memberof BillingAddressClass
|
|
76
|
+
*/
|
|
77
|
+
'accountCode': string;
|
|
78
|
+
/**
|
|
79
|
+
* Unique identifier of the partner that this object belongs to.
|
|
80
|
+
* @type {string}
|
|
81
|
+
* @memberof BillingAddressClass
|
|
82
|
+
*/
|
|
83
|
+
'partnerCode': string;
|
|
84
|
+
/**
|
|
85
|
+
* Time at which the object was created.
|
|
86
|
+
* @type {string}
|
|
87
|
+
* @memberof BillingAddressClass
|
|
88
|
+
*/
|
|
89
|
+
'createdAt': string;
|
|
90
|
+
/**
|
|
91
|
+
* Time at which the object was updated.
|
|
92
|
+
* @type {string}
|
|
93
|
+
* @memberof BillingAddressClass
|
|
94
|
+
*/
|
|
95
|
+
'updatedAt': string;
|
|
96
|
+
/**
|
|
97
|
+
* Identifier of the user who created the record.
|
|
98
|
+
* @type {string}
|
|
99
|
+
* @memberof BillingAddressClass
|
|
100
|
+
*/
|
|
101
|
+
'createdBy': string;
|
|
102
|
+
/**
|
|
103
|
+
* Identifier of the user who last updated the record.
|
|
104
|
+
* @type {string}
|
|
105
|
+
* @memberof BillingAddressClass
|
|
106
|
+
*/
|
|
107
|
+
'updatedBy': string;
|
|
108
|
+
}
|
|
@@ -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 });
|
|
@@ -40,11 +40,11 @@ export interface CreateBankOrderRequestDto {
|
|
|
40
40
|
*/
|
|
41
41
|
'financialAccountCode': string;
|
|
42
42
|
/**
|
|
43
|
-
* List of
|
|
44
|
-
* @type {Array<
|
|
43
|
+
* List of entity codes associated with bank order.
|
|
44
|
+
* @type {Array<string>}
|
|
45
45
|
* @memberof CreateBankOrderRequestDto
|
|
46
46
|
*/
|
|
47
|
-
'
|
|
47
|
+
'entityCodes': Array<string>;
|
|
48
48
|
/**
|
|
49
49
|
* Day of execution of bank order.
|
|
50
50
|
* @type {string}
|
|
@@ -0,0 +1,66 @@
|
|
|
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 CreateBillingAddressRequestDto
|
|
16
|
+
*/
|
|
17
|
+
export interface CreateBillingAddressRequestDto {
|
|
18
|
+
/**
|
|
19
|
+
* First name
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof CreateBillingAddressRequestDto
|
|
22
|
+
*/
|
|
23
|
+
'firstName': string;
|
|
24
|
+
/**
|
|
25
|
+
* Last name
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof CreateBillingAddressRequestDto
|
|
28
|
+
*/
|
|
29
|
+
'lastName': string;
|
|
30
|
+
/**
|
|
31
|
+
* Street name
|
|
32
|
+
* @type {string}
|
|
33
|
+
* @memberof CreateBillingAddressRequestDto
|
|
34
|
+
*/
|
|
35
|
+
'street': string;
|
|
36
|
+
/**
|
|
37
|
+
* House number
|
|
38
|
+
* @type {string}
|
|
39
|
+
* @memberof CreateBillingAddressRequestDto
|
|
40
|
+
*/
|
|
41
|
+
'houseNumber': string;
|
|
42
|
+
/**
|
|
43
|
+
* ZIP code
|
|
44
|
+
* @type {string}
|
|
45
|
+
* @memberof CreateBillingAddressRequestDto
|
|
46
|
+
*/
|
|
47
|
+
'zipCode': string;
|
|
48
|
+
/**
|
|
49
|
+
* City
|
|
50
|
+
* @type {string}
|
|
51
|
+
* @memberof CreateBillingAddressRequestDto
|
|
52
|
+
*/
|
|
53
|
+
'city': string;
|
|
54
|
+
/**
|
|
55
|
+
* Country code
|
|
56
|
+
* @type {string}
|
|
57
|
+
* @memberof CreateBillingAddressRequestDto
|
|
58
|
+
*/
|
|
59
|
+
'countryCode'?: string;
|
|
60
|
+
/**
|
|
61
|
+
* Unique identifier of the partner that this object belongs to.
|
|
62
|
+
* @type {string}
|
|
63
|
+
* @memberof CreateBillingAddressRequestDto
|
|
64
|
+
*/
|
|
65
|
+
'partnerCode': string;
|
|
66
|
+
}
|