@emilgroup/public-api-sdk 1.10.0 → 1.12.0
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 +7 -0
- package/README.md +2 -2
- package/api/address-completions-validations-api.ts +38 -10
- package/api/documents-api.ts +116 -0
- package/api/notifications-api.ts +218 -4
- package/dist/api/address-completions-validations-api.d.ts +25 -7
- package/dist/api/address-completions-validations-api.js +21 -9
- package/dist/api/documents-api.d.ts +65 -0
- package/dist/api/documents-api.js +98 -0
- package/dist/api/notifications-api.d.ts +118 -4
- package/dist/api/notifications-api.js +190 -4
- package/dist/models/complete-email-verification-dto.d.ts +30 -0
- package/dist/models/complete-email-verification-dto.js +15 -0
- package/dist/models/complete-email-verification-response-class.d.ts +24 -0
- package/dist/models/complete-email-verification-response-class.js +15 -0
- package/dist/models/create-document-request-dto.d.ts +6 -0
- package/dist/models/create-lead-request-dto.d.ts +7 -0
- package/dist/models/create-payment-method-request-dto.d.ts +36 -0
- package/dist/models/create-payment-method-request-dto.js +20 -0
- package/dist/models/get-product-document-download-url-response-class.d.ts +24 -0
- package/dist/models/get-product-document-download-url-response-class.js +15 -0
- package/dist/models/index.d.ts +7 -0
- package/dist/models/index.js +7 -0
- package/dist/models/initiate-email-verification-dto.d.ts +30 -0
- package/dist/models/initiate-email-verification-dto.js +15 -0
- package/dist/models/initiate-email-verification-response-class.d.ts +24 -0
- package/dist/models/initiate-email-verification-response-class.js +15 -0
- package/dist/models/invoice-item-class.d.ts +12 -0
- package/dist/models/lead-class.d.ts +7 -0
- package/dist/models/premium-override-dto.d.ts +1 -0
- package/dist/models/premium-override-dto.js +1 -0
- package/dist/models/sepa-dto.d.ts +30 -0
- package/dist/models/sepa-dto.js +15 -0
- package/dist/models/update-lead-request-dto.d.ts +7 -0
- package/models/complete-email-verification-dto.ts +36 -0
- package/models/complete-email-verification-response-class.ts +30 -0
- package/models/create-document-request-dto.ts +6 -0
- package/models/create-lead-request-dto.ts +7 -0
- package/models/create-payment-method-request-dto.ts +45 -0
- package/models/get-product-document-download-url-response-class.ts +30 -0
- package/models/index.ts +7 -0
- package/models/initiate-email-verification-dto.ts +36 -0
- package/models/initiate-email-verification-response-class.ts +30 -0
- package/models/invoice-item-class.ts +12 -0
- package/models/lead-class.ts +7 -0
- package/models/premium-override-dto.ts +1 -0
- package/models/sepa-dto.ts +36 -0
- package/models/update-lead-request-dto.ts +7 -0
- package/package.json +1 -1
|
@@ -93,7 +93,105 @@ var NotificationsApiAxiosParamCreator = function (configuration) {
|
|
|
93
93
|
var _this = this;
|
|
94
94
|
return {
|
|
95
95
|
/**
|
|
96
|
-
* This
|
|
96
|
+
* This validates a token provided by customer.
|
|
97
|
+
* @summary Complete Email Verification.
|
|
98
|
+
* @param {CompleteEmailVerificationDto} completeEmailVerificationDto
|
|
99
|
+
* @param {string} [authorization] Bearer Token
|
|
100
|
+
* @param {*} [options] Override http request option.
|
|
101
|
+
* @throws {RequiredError}
|
|
102
|
+
*/
|
|
103
|
+
completeEmailVerification: function (completeEmailVerificationDto, authorization, options) {
|
|
104
|
+
if (options === void 0) { options = {}; }
|
|
105
|
+
return __awaiter(_this, void 0, void 0, function () {
|
|
106
|
+
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
107
|
+
return __generator(this, function (_a) {
|
|
108
|
+
switch (_a.label) {
|
|
109
|
+
case 0:
|
|
110
|
+
// verify required parameter 'completeEmailVerificationDto' is not null or undefined
|
|
111
|
+
(0, common_1.assertParamExists)('completeEmailVerification', 'completeEmailVerificationDto', completeEmailVerificationDto);
|
|
112
|
+
localVarPath = "/publicapi/v1/email-verification/complete";
|
|
113
|
+
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
114
|
+
if (configuration) {
|
|
115
|
+
baseOptions = configuration.baseOptions;
|
|
116
|
+
baseAccessToken = configuration.accessToken;
|
|
117
|
+
}
|
|
118
|
+
localVarRequestOptions = __assign(__assign({ method: 'POST' }, baseOptions), options);
|
|
119
|
+
localVarHeaderParameter = {};
|
|
120
|
+
localVarQueryParameter = {};
|
|
121
|
+
// authentication bearer required
|
|
122
|
+
// http bearer authentication required
|
|
123
|
+
return [4 /*yield*/, (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration)];
|
|
124
|
+
case 1:
|
|
125
|
+
// authentication bearer required
|
|
126
|
+
// http bearer authentication required
|
|
127
|
+
_a.sent();
|
|
128
|
+
if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
|
|
129
|
+
localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
|
|
130
|
+
}
|
|
131
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
132
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
133
|
+
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
134
|
+
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
135
|
+
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(completeEmailVerificationDto, localVarRequestOptions, configuration);
|
|
136
|
+
return [2 /*return*/, {
|
|
137
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
138
|
+
options: localVarRequestOptions,
|
|
139
|
+
}];
|
|
140
|
+
}
|
|
141
|
+
});
|
|
142
|
+
});
|
|
143
|
+
},
|
|
144
|
+
/**
|
|
145
|
+
* This sends an email to the specific recipient set to receive verification code.
|
|
146
|
+
* @summary Initiate Email Verification.
|
|
147
|
+
* @param {InitiateEmailVerificationDto} initiateEmailVerificationDto
|
|
148
|
+
* @param {string} [authorization] Bearer Token
|
|
149
|
+
* @param {*} [options] Override http request option.
|
|
150
|
+
* @throws {RequiredError}
|
|
151
|
+
*/
|
|
152
|
+
initiateEmailVerification: function (initiateEmailVerificationDto, authorization, options) {
|
|
153
|
+
if (options === void 0) { options = {}; }
|
|
154
|
+
return __awaiter(_this, void 0, void 0, function () {
|
|
155
|
+
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
156
|
+
return __generator(this, function (_a) {
|
|
157
|
+
switch (_a.label) {
|
|
158
|
+
case 0:
|
|
159
|
+
// verify required parameter 'initiateEmailVerificationDto' is not null or undefined
|
|
160
|
+
(0, common_1.assertParamExists)('initiateEmailVerification', 'initiateEmailVerificationDto', initiateEmailVerificationDto);
|
|
161
|
+
localVarPath = "/publicapi/v1/email-verification/initiate";
|
|
162
|
+
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
163
|
+
if (configuration) {
|
|
164
|
+
baseOptions = configuration.baseOptions;
|
|
165
|
+
baseAccessToken = configuration.accessToken;
|
|
166
|
+
}
|
|
167
|
+
localVarRequestOptions = __assign(__assign({ method: 'POST' }, baseOptions), options);
|
|
168
|
+
localVarHeaderParameter = {};
|
|
169
|
+
localVarQueryParameter = {};
|
|
170
|
+
// authentication bearer required
|
|
171
|
+
// http bearer authentication required
|
|
172
|
+
return [4 /*yield*/, (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration)];
|
|
173
|
+
case 1:
|
|
174
|
+
// authentication bearer required
|
|
175
|
+
// http bearer authentication required
|
|
176
|
+
_a.sent();
|
|
177
|
+
if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
|
|
178
|
+
localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
|
|
179
|
+
}
|
|
180
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
181
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
182
|
+
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
183
|
+
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
184
|
+
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(initiateEmailVerificationDto, localVarRequestOptions, configuration);
|
|
185
|
+
return [2 /*return*/, {
|
|
186
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
187
|
+
options: localVarRequestOptions,
|
|
188
|
+
}];
|
|
189
|
+
}
|
|
190
|
+
});
|
|
191
|
+
});
|
|
192
|
+
},
|
|
193
|
+
/**
|
|
194
|
+
* This sends an email to the specific recipient set to receive customers\' messages.
|
|
97
195
|
* @summary Send an email.
|
|
98
196
|
* @param {SendNotificationRequestDto} sendNotificationRequestDto
|
|
99
197
|
* @param {string} [authorization] Bearer Token
|
|
@@ -152,7 +250,49 @@ var NotificationsApiFp = function (configuration) {
|
|
|
152
250
|
var localVarAxiosParamCreator = (0, exports.NotificationsApiAxiosParamCreator)(configuration);
|
|
153
251
|
return {
|
|
154
252
|
/**
|
|
155
|
-
* This
|
|
253
|
+
* This validates a token provided by customer.
|
|
254
|
+
* @summary Complete Email Verification.
|
|
255
|
+
* @param {CompleteEmailVerificationDto} completeEmailVerificationDto
|
|
256
|
+
* @param {string} [authorization] Bearer Token
|
|
257
|
+
* @param {*} [options] Override http request option.
|
|
258
|
+
* @throws {RequiredError}
|
|
259
|
+
*/
|
|
260
|
+
completeEmailVerification: function (completeEmailVerificationDto, authorization, options) {
|
|
261
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
262
|
+
var localVarAxiosArgs;
|
|
263
|
+
return __generator(this, function (_a) {
|
|
264
|
+
switch (_a.label) {
|
|
265
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.completeEmailVerification(completeEmailVerificationDto, authorization, options)];
|
|
266
|
+
case 1:
|
|
267
|
+
localVarAxiosArgs = _a.sent();
|
|
268
|
+
return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
269
|
+
}
|
|
270
|
+
});
|
|
271
|
+
});
|
|
272
|
+
},
|
|
273
|
+
/**
|
|
274
|
+
* This sends an email to the specific recipient set to receive verification code.
|
|
275
|
+
* @summary Initiate Email Verification.
|
|
276
|
+
* @param {InitiateEmailVerificationDto} initiateEmailVerificationDto
|
|
277
|
+
* @param {string} [authorization] Bearer Token
|
|
278
|
+
* @param {*} [options] Override http request option.
|
|
279
|
+
* @throws {RequiredError}
|
|
280
|
+
*/
|
|
281
|
+
initiateEmailVerification: function (initiateEmailVerificationDto, authorization, options) {
|
|
282
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
283
|
+
var localVarAxiosArgs;
|
|
284
|
+
return __generator(this, function (_a) {
|
|
285
|
+
switch (_a.label) {
|
|
286
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.initiateEmailVerification(initiateEmailVerificationDto, authorization, options)];
|
|
287
|
+
case 1:
|
|
288
|
+
localVarAxiosArgs = _a.sent();
|
|
289
|
+
return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
290
|
+
}
|
|
291
|
+
});
|
|
292
|
+
});
|
|
293
|
+
},
|
|
294
|
+
/**
|
|
295
|
+
* This sends an email to the specific recipient set to receive customers\' messages.
|
|
156
296
|
* @summary Send an email.
|
|
157
297
|
* @param {SendNotificationRequestDto} sendNotificationRequestDto
|
|
158
298
|
* @param {string} [authorization] Bearer Token
|
|
@@ -183,7 +323,29 @@ var NotificationsApiFactory = function (configuration, basePath, axios) {
|
|
|
183
323
|
var localVarFp = (0, exports.NotificationsApiFp)(configuration);
|
|
184
324
|
return {
|
|
185
325
|
/**
|
|
186
|
-
* This
|
|
326
|
+
* This validates a token provided by customer.
|
|
327
|
+
* @summary Complete Email Verification.
|
|
328
|
+
* @param {CompleteEmailVerificationDto} completeEmailVerificationDto
|
|
329
|
+
* @param {string} [authorization] Bearer Token
|
|
330
|
+
* @param {*} [options] Override http request option.
|
|
331
|
+
* @throws {RequiredError}
|
|
332
|
+
*/
|
|
333
|
+
completeEmailVerification: function (completeEmailVerificationDto, authorization, options) {
|
|
334
|
+
return localVarFp.completeEmailVerification(completeEmailVerificationDto, authorization, options).then(function (request) { return request(axios, basePath); });
|
|
335
|
+
},
|
|
336
|
+
/**
|
|
337
|
+
* This sends an email to the specific recipient set to receive verification code.
|
|
338
|
+
* @summary Initiate Email Verification.
|
|
339
|
+
* @param {InitiateEmailVerificationDto} initiateEmailVerificationDto
|
|
340
|
+
* @param {string} [authorization] Bearer Token
|
|
341
|
+
* @param {*} [options] Override http request option.
|
|
342
|
+
* @throws {RequiredError}
|
|
343
|
+
*/
|
|
344
|
+
initiateEmailVerification: function (initiateEmailVerificationDto, authorization, options) {
|
|
345
|
+
return localVarFp.initiateEmailVerification(initiateEmailVerificationDto, authorization, options).then(function (request) { return request(axios, basePath); });
|
|
346
|
+
},
|
|
347
|
+
/**
|
|
348
|
+
* This sends an email to the specific recipient set to receive customers\' messages.
|
|
187
349
|
* @summary Send an email.
|
|
188
350
|
* @param {SendNotificationRequestDto} sendNotificationRequestDto
|
|
189
351
|
* @param {string} [authorization] Bearer Token
|
|
@@ -208,7 +370,31 @@ var NotificationsApi = /** @class */ (function (_super) {
|
|
|
208
370
|
return _super !== null && _super.apply(this, arguments) || this;
|
|
209
371
|
}
|
|
210
372
|
/**
|
|
211
|
-
* This
|
|
373
|
+
* This validates a token provided by customer.
|
|
374
|
+
* @summary Complete Email Verification.
|
|
375
|
+
* @param {NotificationsApiCompleteEmailVerificationRequest} requestParameters Request parameters.
|
|
376
|
+
* @param {*} [options] Override http request option.
|
|
377
|
+
* @throws {RequiredError}
|
|
378
|
+
* @memberof NotificationsApi
|
|
379
|
+
*/
|
|
380
|
+
NotificationsApi.prototype.completeEmailVerification = function (requestParameters, options) {
|
|
381
|
+
var _this = this;
|
|
382
|
+
return (0, exports.NotificationsApiFp)(this.configuration).completeEmailVerification(requestParameters.completeEmailVerificationDto, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
383
|
+
};
|
|
384
|
+
/**
|
|
385
|
+
* This sends an email to the specific recipient set to receive verification code.
|
|
386
|
+
* @summary Initiate Email Verification.
|
|
387
|
+
* @param {NotificationsApiInitiateEmailVerificationRequest} requestParameters Request parameters.
|
|
388
|
+
* @param {*} [options] Override http request option.
|
|
389
|
+
* @throws {RequiredError}
|
|
390
|
+
* @memberof NotificationsApi
|
|
391
|
+
*/
|
|
392
|
+
NotificationsApi.prototype.initiateEmailVerification = function (requestParameters, options) {
|
|
393
|
+
var _this = this;
|
|
394
|
+
return (0, exports.NotificationsApiFp)(this.configuration).initiateEmailVerification(requestParameters.initiateEmailVerificationDto, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
395
|
+
};
|
|
396
|
+
/**
|
|
397
|
+
* This sends an email to the specific recipient set to receive customers\' messages.
|
|
212
398
|
* @summary Send an email.
|
|
213
399
|
* @param {NotificationsApiSendNotificationRequest} requestParameters Request parameters.
|
|
214
400
|
* @param {*} [options] Override http request option.
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Emil PublicAPI
|
|
3
|
+
* The Emil Public API description
|
|
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 CompleteEmailVerificationDto
|
|
16
|
+
*/
|
|
17
|
+
export interface CompleteEmailVerificationDto {
|
|
18
|
+
/**
|
|
19
|
+
* User email
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof CompleteEmailVerificationDto
|
|
22
|
+
*/
|
|
23
|
+
'email': string;
|
|
24
|
+
/**
|
|
25
|
+
* The confirmation token comes from an email sent to the customer.
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof CompleteEmailVerificationDto
|
|
28
|
+
*/
|
|
29
|
+
'token': string;
|
|
30
|
+
}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* Emil PublicAPI
|
|
6
|
+
* The Emil Public API description
|
|
7
|
+
*
|
|
8
|
+
* The version of the OpenAPI document: 1.0
|
|
9
|
+
* Contact: kontakt@emil.de
|
|
10
|
+
*
|
|
11
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
12
|
+
* https://openapi-generator.tech
|
|
13
|
+
* Do not edit the class manually.
|
|
14
|
+
*/
|
|
15
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Emil PublicAPI
|
|
3
|
+
* The Emil Public API description
|
|
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 CompleteEmailVerificationResponseClass
|
|
16
|
+
*/
|
|
17
|
+
export interface CompleteEmailVerificationResponseClass {
|
|
18
|
+
/**
|
|
19
|
+
* Complete verification result
|
|
20
|
+
* @type {boolean}
|
|
21
|
+
* @memberof CompleteEmailVerificationResponseClass
|
|
22
|
+
*/
|
|
23
|
+
'result': boolean;
|
|
24
|
+
}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* Emil PublicAPI
|
|
6
|
+
* The Emil Public API description
|
|
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 });
|
|
@@ -21,6 +21,12 @@ export interface CreateDocumentRequestDto {
|
|
|
21
21
|
* @memberof CreateDocumentRequestDto
|
|
22
22
|
*/
|
|
23
23
|
'templateSlug': string;
|
|
24
|
+
/**
|
|
25
|
+
* A slug is a human-readable, unique identifier, used to identify a resource instead of a less human-readable identifier like an id.
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof CreateDocumentRequestDto
|
|
28
|
+
*/
|
|
29
|
+
'productSlug'?: string;
|
|
24
30
|
/**
|
|
25
31
|
* Document payload.
|
|
26
32
|
* @type {object}
|
|
@@ -11,6 +11,7 @@
|
|
|
11
11
|
*/
|
|
12
12
|
import { CreateAccountRequestDto } from './create-account-request-dto';
|
|
13
13
|
import { CreateBankAccountRequestDto } from './create-bank-account-request-dto';
|
|
14
|
+
import { CreatePaymentMethodRequestDto } from './create-payment-method-request-dto';
|
|
14
15
|
import { PolicyObjectRequestDto } from './policy-object-request-dto';
|
|
15
16
|
import { PremiumOverrideRequestDto } from './premium-override-request-dto';
|
|
16
17
|
import { UploadedDocumentDto } from './uploaded-document-dto';
|
|
@@ -86,4 +87,10 @@ export interface CreateLeadRequestDto {
|
|
|
86
87
|
* @memberof CreateLeadRequestDto
|
|
87
88
|
*/
|
|
88
89
|
'premiumOverride'?: PremiumOverrideRequestDto;
|
|
90
|
+
/**
|
|
91
|
+
* Payment Method.
|
|
92
|
+
* @type {CreatePaymentMethodRequestDto}
|
|
93
|
+
* @memberof CreateLeadRequestDto
|
|
94
|
+
*/
|
|
95
|
+
'paymentMethod'?: CreatePaymentMethodRequestDto;
|
|
89
96
|
}
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Emil PublicAPI
|
|
3
|
+
* The Emil Public API description
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 1.0
|
|
6
|
+
* Contact: kontakt@emil.de
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
import { SepaDto } from './sepa-dto';
|
|
13
|
+
/**
|
|
14
|
+
*
|
|
15
|
+
* @export
|
|
16
|
+
* @interface CreatePaymentMethodRequestDto
|
|
17
|
+
*/
|
|
18
|
+
export interface CreatePaymentMethodRequestDto {
|
|
19
|
+
/**
|
|
20
|
+
*
|
|
21
|
+
* @type {string}
|
|
22
|
+
* @memberof CreatePaymentMethodRequestDto
|
|
23
|
+
*/
|
|
24
|
+
'type': CreatePaymentMethodRequestDtoTypeEnum;
|
|
25
|
+
/**
|
|
26
|
+
*
|
|
27
|
+
* @type {SepaDto}
|
|
28
|
+
* @memberof CreatePaymentMethodRequestDto
|
|
29
|
+
*/
|
|
30
|
+
'sepa'?: SepaDto;
|
|
31
|
+
}
|
|
32
|
+
export declare const CreatePaymentMethodRequestDtoTypeEnum: {
|
|
33
|
+
readonly Sepa: "sepa";
|
|
34
|
+
readonly Invoice: "invoice";
|
|
35
|
+
};
|
|
36
|
+
export type CreatePaymentMethodRequestDtoTypeEnum = typeof CreatePaymentMethodRequestDtoTypeEnum[keyof typeof CreatePaymentMethodRequestDtoTypeEnum];
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* Emil PublicAPI
|
|
6
|
+
* The Emil Public API description
|
|
7
|
+
*
|
|
8
|
+
* The version of the OpenAPI document: 1.0
|
|
9
|
+
* Contact: kontakt@emil.de
|
|
10
|
+
*
|
|
11
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
12
|
+
* https://openapi-generator.tech
|
|
13
|
+
* Do not edit the class manually.
|
|
14
|
+
*/
|
|
15
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
+
exports.CreatePaymentMethodRequestDtoTypeEnum = void 0;
|
|
17
|
+
exports.CreatePaymentMethodRequestDtoTypeEnum = {
|
|
18
|
+
Sepa: 'sepa',
|
|
19
|
+
Invoice: 'invoice'
|
|
20
|
+
};
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Emil PublicAPI
|
|
3
|
+
* The Emil Public API description
|
|
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 GetProductDocumentDownloadUrlResponseClass
|
|
16
|
+
*/
|
|
17
|
+
export interface GetProductDocumentDownloadUrlResponseClass {
|
|
18
|
+
/**
|
|
19
|
+
* Pre-signed Url
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof GetProductDocumentDownloadUrlResponseClass
|
|
22
|
+
*/
|
|
23
|
+
'url': string;
|
|
24
|
+
}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* Emil PublicAPI
|
|
6
|
+
* The Emil Public API description
|
|
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
|
@@ -2,6 +2,8 @@ export * from './address-completion-item-class';
|
|
|
2
2
|
export * from './address-completion-response-class';
|
|
3
3
|
export * from './address-field-score-class';
|
|
4
4
|
export * from './complete-braintree-payment-setup-request-dto';
|
|
5
|
+
export * from './complete-email-verification-dto';
|
|
6
|
+
export * from './complete-email-verification-response-class';
|
|
5
7
|
export * from './complete-payment-setup-request-dto';
|
|
6
8
|
export * from './complete-payment-setup-response-class';
|
|
7
9
|
export * from './complete-stripe-payment-setup-request-dto';
|
|
@@ -14,12 +16,16 @@ export * from './create-estimated-invoice-request-dto';
|
|
|
14
16
|
export * from './create-estimated-invoice-response-class';
|
|
15
17
|
export * from './create-lead-request-dto';
|
|
16
18
|
export * from './create-lead-response-class';
|
|
19
|
+
export * from './create-payment-method-request-dto';
|
|
17
20
|
export * from './document-class';
|
|
18
21
|
export * from './get-custom-css-response-class';
|
|
19
22
|
export * from './get-lead-response-class';
|
|
23
|
+
export * from './get-product-document-download-url-response-class';
|
|
20
24
|
export * from './get-public-psp-settings-response-class';
|
|
21
25
|
export * from './initiate-braintree-payment-setup-request-dto';
|
|
22
26
|
export * from './initiate-braintree-payment-setup-response-class';
|
|
27
|
+
export * from './initiate-email-verification-dto';
|
|
28
|
+
export * from './initiate-email-verification-response-class';
|
|
23
29
|
export * from './initiate-lead-response-class';
|
|
24
30
|
export * from './initiate-payment-setup-request-dto';
|
|
25
31
|
export * from './initiate-payment-setup-response-class';
|
|
@@ -49,6 +55,7 @@ export * from './product-field-class';
|
|
|
49
55
|
export * from './product-version-class';
|
|
50
56
|
export * from './send-notification-request-dto';
|
|
51
57
|
export * from './send-notification-response-class';
|
|
58
|
+
export * from './sepa-dto';
|
|
52
59
|
export * from './structured-address-class';
|
|
53
60
|
export * from './suggested-address-details-class';
|
|
54
61
|
export * from './update-lead-request-dto';
|
package/dist/models/index.js
CHANGED
|
@@ -18,6 +18,8 @@ __exportStar(require("./address-completion-item-class"), exports);
|
|
|
18
18
|
__exportStar(require("./address-completion-response-class"), exports);
|
|
19
19
|
__exportStar(require("./address-field-score-class"), exports);
|
|
20
20
|
__exportStar(require("./complete-braintree-payment-setup-request-dto"), exports);
|
|
21
|
+
__exportStar(require("./complete-email-verification-dto"), exports);
|
|
22
|
+
__exportStar(require("./complete-email-verification-response-class"), exports);
|
|
21
23
|
__exportStar(require("./complete-payment-setup-request-dto"), exports);
|
|
22
24
|
__exportStar(require("./complete-payment-setup-response-class"), exports);
|
|
23
25
|
__exportStar(require("./complete-stripe-payment-setup-request-dto"), exports);
|
|
@@ -30,12 +32,16 @@ __exportStar(require("./create-estimated-invoice-request-dto"), exports);
|
|
|
30
32
|
__exportStar(require("./create-estimated-invoice-response-class"), exports);
|
|
31
33
|
__exportStar(require("./create-lead-request-dto"), exports);
|
|
32
34
|
__exportStar(require("./create-lead-response-class"), exports);
|
|
35
|
+
__exportStar(require("./create-payment-method-request-dto"), exports);
|
|
33
36
|
__exportStar(require("./document-class"), exports);
|
|
34
37
|
__exportStar(require("./get-custom-css-response-class"), exports);
|
|
35
38
|
__exportStar(require("./get-lead-response-class"), exports);
|
|
39
|
+
__exportStar(require("./get-product-document-download-url-response-class"), exports);
|
|
36
40
|
__exportStar(require("./get-public-psp-settings-response-class"), exports);
|
|
37
41
|
__exportStar(require("./initiate-braintree-payment-setup-request-dto"), exports);
|
|
38
42
|
__exportStar(require("./initiate-braintree-payment-setup-response-class"), exports);
|
|
43
|
+
__exportStar(require("./initiate-email-verification-dto"), exports);
|
|
44
|
+
__exportStar(require("./initiate-email-verification-response-class"), exports);
|
|
39
45
|
__exportStar(require("./initiate-lead-response-class"), exports);
|
|
40
46
|
__exportStar(require("./initiate-payment-setup-request-dto"), exports);
|
|
41
47
|
__exportStar(require("./initiate-payment-setup-response-class"), exports);
|
|
@@ -65,6 +71,7 @@ __exportStar(require("./product-field-class"), exports);
|
|
|
65
71
|
__exportStar(require("./product-version-class"), exports);
|
|
66
72
|
__exportStar(require("./send-notification-request-dto"), exports);
|
|
67
73
|
__exportStar(require("./send-notification-response-class"), exports);
|
|
74
|
+
__exportStar(require("./sepa-dto"), exports);
|
|
68
75
|
__exportStar(require("./structured-address-class"), exports);
|
|
69
76
|
__exportStar(require("./suggested-address-details-class"), exports);
|
|
70
77
|
__exportStar(require("./update-lead-request-dto"), exports);
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Emil PublicAPI
|
|
3
|
+
* The Emil Public API description
|
|
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 InitiateEmailVerificationDto
|
|
16
|
+
*/
|
|
17
|
+
export interface InitiateEmailVerificationDto {
|
|
18
|
+
/**
|
|
19
|
+
* User email
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof InitiateEmailVerificationDto
|
|
22
|
+
*/
|
|
23
|
+
'email': string;
|
|
24
|
+
/**
|
|
25
|
+
* A slug is a human-readable, unique identifier, used to identify a resource instead of a less human-readable identifier like an id.
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof InitiateEmailVerificationDto
|
|
28
|
+
*/
|
|
29
|
+
'templateSlug'?: string;
|
|
30
|
+
}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* Emil PublicAPI
|
|
6
|
+
* The Emil Public API description
|
|
7
|
+
*
|
|
8
|
+
* The version of the OpenAPI document: 1.0
|
|
9
|
+
* Contact: kontakt@emil.de
|
|
10
|
+
*
|
|
11
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
12
|
+
* https://openapi-generator.tech
|
|
13
|
+
* Do not edit the class manually.
|
|
14
|
+
*/
|
|
15
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Emil PublicAPI
|
|
3
|
+
* The Emil Public API description
|
|
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 InitiateEmailVerificationResponseClass
|
|
16
|
+
*/
|
|
17
|
+
export interface InitiateEmailVerificationResponseClass {
|
|
18
|
+
/**
|
|
19
|
+
* Initiate verification result
|
|
20
|
+
* @type {boolean}
|
|
21
|
+
* @memberof InitiateEmailVerificationResponseClass
|
|
22
|
+
*/
|
|
23
|
+
'result': boolean;
|
|
24
|
+
}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* Emil PublicAPI
|
|
6
|
+
* The Emil Public API description
|
|
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 });
|
|
@@ -105,4 +105,16 @@ export interface InvoiceItemClass {
|
|
|
105
105
|
* @memberof InvoiceItemClass
|
|
106
106
|
*/
|
|
107
107
|
'billingIntervalTo': string;
|
|
108
|
+
/**
|
|
109
|
+
* Type of Premium item.
|
|
110
|
+
* @type {string}
|
|
111
|
+
* @memberof InvoiceItemClass
|
|
112
|
+
*/
|
|
113
|
+
'itemType'?: string;
|
|
114
|
+
/**
|
|
115
|
+
* Visibility of Premium item.
|
|
116
|
+
* @type {string}
|
|
117
|
+
* @memberof InvoiceItemClass
|
|
118
|
+
*/
|
|
119
|
+
'visibility'?: string;
|
|
108
120
|
}
|
|
@@ -9,6 +9,7 @@
|
|
|
9
9
|
* https://openapi-generator.tech
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
|
+
import { CreatePaymentMethodRequestDto } from './create-payment-method-request-dto';
|
|
12
13
|
import { InvoiceClass } from './invoice-class';
|
|
13
14
|
import { LeadAccountClass } from './lead-account-class';
|
|
14
15
|
import { LeadBankAccountClass } from './lead-bank-account-class';
|
|
@@ -87,6 +88,12 @@ export interface LeadClass {
|
|
|
87
88
|
* @memberof LeadClass
|
|
88
89
|
*/
|
|
89
90
|
'ern': string;
|
|
91
|
+
/**
|
|
92
|
+
* Payment method. When a payment method is provided, it needs to be handled in the workflow based on its type.
|
|
93
|
+
* @type {CreatePaymentMethodRequestDto}
|
|
94
|
+
* @memberof LeadClass
|
|
95
|
+
*/
|
|
96
|
+
'paymentMethod': CreatePaymentMethodRequestDto;
|
|
90
97
|
/**
|
|
91
98
|
* Time at which the object was created.
|
|
92
99
|
* @type {string}
|