@emilgroup/public-api-sdk-node 1.12.0 → 1.13.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 +5 -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/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 +5 -0
- package/dist/models/index.js +5 -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/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/get-product-document-download-url-response-class.ts +30 -0
- package/models/index.ts +5 -0
- package/models/initiate-email-verification-dto.ts +36 -0
- package/models/initiate-email-verification-response-class.ts +30 -0
- package/package.json +1 -1
|
@@ -97,7 +97,105 @@ var NotificationsApiAxiosParamCreator = function (configuration) {
|
|
|
97
97
|
var _this = this;
|
|
98
98
|
return {
|
|
99
99
|
/**
|
|
100
|
-
* This
|
|
100
|
+
* This validates a token provided by customer.
|
|
101
|
+
* @summary Complete Email Verification.
|
|
102
|
+
* @param {CompleteEmailVerificationDto} completeEmailVerificationDto
|
|
103
|
+
* @param {string} [authorization] Bearer Token
|
|
104
|
+
* @param {*} [options] Override http request option.
|
|
105
|
+
* @throws {RequiredError}
|
|
106
|
+
*/
|
|
107
|
+
completeEmailVerification: function (completeEmailVerificationDto, authorization, options) {
|
|
108
|
+
if (options === void 0) { options = {}; }
|
|
109
|
+
return __awaiter(_this, void 0, void 0, function () {
|
|
110
|
+
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
111
|
+
return __generator(this, function (_a) {
|
|
112
|
+
switch (_a.label) {
|
|
113
|
+
case 0:
|
|
114
|
+
// verify required parameter 'completeEmailVerificationDto' is not null or undefined
|
|
115
|
+
(0, common_1.assertParamExists)('completeEmailVerification', 'completeEmailVerificationDto', completeEmailVerificationDto);
|
|
116
|
+
localVarPath = "/publicapi/v1/email-verification/complete";
|
|
117
|
+
localVarUrlObj = new url_1.URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
118
|
+
if (configuration) {
|
|
119
|
+
baseOptions = configuration.baseOptions;
|
|
120
|
+
baseAccessToken = configuration.accessToken;
|
|
121
|
+
}
|
|
122
|
+
localVarRequestOptions = __assign(__assign({ method: 'POST' }, baseOptions), options);
|
|
123
|
+
localVarHeaderParameter = {};
|
|
124
|
+
localVarQueryParameter = {};
|
|
125
|
+
// authentication bearer required
|
|
126
|
+
// http bearer authentication required
|
|
127
|
+
return [4 /*yield*/, (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration)];
|
|
128
|
+
case 1:
|
|
129
|
+
// authentication bearer required
|
|
130
|
+
// http bearer authentication required
|
|
131
|
+
_a.sent();
|
|
132
|
+
if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
|
|
133
|
+
localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
|
|
134
|
+
}
|
|
135
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
136
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
137
|
+
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
138
|
+
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
139
|
+
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(completeEmailVerificationDto, localVarRequestOptions, configuration);
|
|
140
|
+
return [2 /*return*/, {
|
|
141
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
142
|
+
options: localVarRequestOptions,
|
|
143
|
+
}];
|
|
144
|
+
}
|
|
145
|
+
});
|
|
146
|
+
});
|
|
147
|
+
},
|
|
148
|
+
/**
|
|
149
|
+
* This sends an email to the specific recipient set to receive verification code.
|
|
150
|
+
* @summary Initiate Email Verification.
|
|
151
|
+
* @param {InitiateEmailVerificationDto} initiateEmailVerificationDto
|
|
152
|
+
* @param {string} [authorization] Bearer Token
|
|
153
|
+
* @param {*} [options] Override http request option.
|
|
154
|
+
* @throws {RequiredError}
|
|
155
|
+
*/
|
|
156
|
+
initiateEmailVerification: function (initiateEmailVerificationDto, authorization, options) {
|
|
157
|
+
if (options === void 0) { options = {}; }
|
|
158
|
+
return __awaiter(_this, void 0, void 0, function () {
|
|
159
|
+
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
160
|
+
return __generator(this, function (_a) {
|
|
161
|
+
switch (_a.label) {
|
|
162
|
+
case 0:
|
|
163
|
+
// verify required parameter 'initiateEmailVerificationDto' is not null or undefined
|
|
164
|
+
(0, common_1.assertParamExists)('initiateEmailVerification', 'initiateEmailVerificationDto', initiateEmailVerificationDto);
|
|
165
|
+
localVarPath = "/publicapi/v1/email-verification/initiate";
|
|
166
|
+
localVarUrlObj = new url_1.URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
167
|
+
if (configuration) {
|
|
168
|
+
baseOptions = configuration.baseOptions;
|
|
169
|
+
baseAccessToken = configuration.accessToken;
|
|
170
|
+
}
|
|
171
|
+
localVarRequestOptions = __assign(__assign({ method: 'POST' }, baseOptions), options);
|
|
172
|
+
localVarHeaderParameter = {};
|
|
173
|
+
localVarQueryParameter = {};
|
|
174
|
+
// authentication bearer required
|
|
175
|
+
// http bearer authentication required
|
|
176
|
+
return [4 /*yield*/, (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration)];
|
|
177
|
+
case 1:
|
|
178
|
+
// authentication bearer required
|
|
179
|
+
// http bearer authentication required
|
|
180
|
+
_a.sent();
|
|
181
|
+
if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
|
|
182
|
+
localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
|
|
183
|
+
}
|
|
184
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
185
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
186
|
+
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
187
|
+
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
188
|
+
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(initiateEmailVerificationDto, localVarRequestOptions, configuration);
|
|
189
|
+
return [2 /*return*/, {
|
|
190
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
191
|
+
options: localVarRequestOptions,
|
|
192
|
+
}];
|
|
193
|
+
}
|
|
194
|
+
});
|
|
195
|
+
});
|
|
196
|
+
},
|
|
197
|
+
/**
|
|
198
|
+
* This sends an email to the specific recipient set to receive customers\' messages.
|
|
101
199
|
* @summary Send an email.
|
|
102
200
|
* @param {SendNotificationRequestDto} sendNotificationRequestDto
|
|
103
201
|
* @param {string} [authorization] Bearer Token
|
|
@@ -156,7 +254,49 @@ var NotificationsApiFp = function (configuration) {
|
|
|
156
254
|
var localVarAxiosParamCreator = (0, exports.NotificationsApiAxiosParamCreator)(configuration);
|
|
157
255
|
return {
|
|
158
256
|
/**
|
|
159
|
-
* This
|
|
257
|
+
* This validates a token provided by customer.
|
|
258
|
+
* @summary Complete Email Verification.
|
|
259
|
+
* @param {CompleteEmailVerificationDto} completeEmailVerificationDto
|
|
260
|
+
* @param {string} [authorization] Bearer Token
|
|
261
|
+
* @param {*} [options] Override http request option.
|
|
262
|
+
* @throws {RequiredError}
|
|
263
|
+
*/
|
|
264
|
+
completeEmailVerification: function (completeEmailVerificationDto, authorization, options) {
|
|
265
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
266
|
+
var localVarAxiosArgs;
|
|
267
|
+
return __generator(this, function (_a) {
|
|
268
|
+
switch (_a.label) {
|
|
269
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.completeEmailVerification(completeEmailVerificationDto, authorization, options)];
|
|
270
|
+
case 1:
|
|
271
|
+
localVarAxiosArgs = _a.sent();
|
|
272
|
+
return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
273
|
+
}
|
|
274
|
+
});
|
|
275
|
+
});
|
|
276
|
+
},
|
|
277
|
+
/**
|
|
278
|
+
* This sends an email to the specific recipient set to receive verification code.
|
|
279
|
+
* @summary Initiate Email Verification.
|
|
280
|
+
* @param {InitiateEmailVerificationDto} initiateEmailVerificationDto
|
|
281
|
+
* @param {string} [authorization] Bearer Token
|
|
282
|
+
* @param {*} [options] Override http request option.
|
|
283
|
+
* @throws {RequiredError}
|
|
284
|
+
*/
|
|
285
|
+
initiateEmailVerification: function (initiateEmailVerificationDto, authorization, options) {
|
|
286
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
287
|
+
var localVarAxiosArgs;
|
|
288
|
+
return __generator(this, function (_a) {
|
|
289
|
+
switch (_a.label) {
|
|
290
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.initiateEmailVerification(initiateEmailVerificationDto, authorization, options)];
|
|
291
|
+
case 1:
|
|
292
|
+
localVarAxiosArgs = _a.sent();
|
|
293
|
+
return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
294
|
+
}
|
|
295
|
+
});
|
|
296
|
+
});
|
|
297
|
+
},
|
|
298
|
+
/**
|
|
299
|
+
* This sends an email to the specific recipient set to receive customers\' messages.
|
|
160
300
|
* @summary Send an email.
|
|
161
301
|
* @param {SendNotificationRequestDto} sendNotificationRequestDto
|
|
162
302
|
* @param {string} [authorization] Bearer Token
|
|
@@ -187,7 +327,29 @@ var NotificationsApiFactory = function (configuration, basePath, axios) {
|
|
|
187
327
|
var localVarFp = (0, exports.NotificationsApiFp)(configuration);
|
|
188
328
|
return {
|
|
189
329
|
/**
|
|
190
|
-
* This
|
|
330
|
+
* This validates a token provided by customer.
|
|
331
|
+
* @summary Complete Email Verification.
|
|
332
|
+
* @param {CompleteEmailVerificationDto} completeEmailVerificationDto
|
|
333
|
+
* @param {string} [authorization] Bearer Token
|
|
334
|
+
* @param {*} [options] Override http request option.
|
|
335
|
+
* @throws {RequiredError}
|
|
336
|
+
*/
|
|
337
|
+
completeEmailVerification: function (completeEmailVerificationDto, authorization, options) {
|
|
338
|
+
return localVarFp.completeEmailVerification(completeEmailVerificationDto, authorization, options).then(function (request) { return request(axios, basePath); });
|
|
339
|
+
},
|
|
340
|
+
/**
|
|
341
|
+
* This sends an email to the specific recipient set to receive verification code.
|
|
342
|
+
* @summary Initiate Email Verification.
|
|
343
|
+
* @param {InitiateEmailVerificationDto} initiateEmailVerificationDto
|
|
344
|
+
* @param {string} [authorization] Bearer Token
|
|
345
|
+
* @param {*} [options] Override http request option.
|
|
346
|
+
* @throws {RequiredError}
|
|
347
|
+
*/
|
|
348
|
+
initiateEmailVerification: function (initiateEmailVerificationDto, authorization, options) {
|
|
349
|
+
return localVarFp.initiateEmailVerification(initiateEmailVerificationDto, authorization, options).then(function (request) { return request(axios, basePath); });
|
|
350
|
+
},
|
|
351
|
+
/**
|
|
352
|
+
* This sends an email to the specific recipient set to receive customers\' messages.
|
|
191
353
|
* @summary Send an email.
|
|
192
354
|
* @param {SendNotificationRequestDto} sendNotificationRequestDto
|
|
193
355
|
* @param {string} [authorization] Bearer Token
|
|
@@ -212,7 +374,31 @@ var NotificationsApi = /** @class */ (function (_super) {
|
|
|
212
374
|
return _super !== null && _super.apply(this, arguments) || this;
|
|
213
375
|
}
|
|
214
376
|
/**
|
|
215
|
-
* This
|
|
377
|
+
* This validates a token provided by customer.
|
|
378
|
+
* @summary Complete Email Verification.
|
|
379
|
+
* @param {NotificationsApiCompleteEmailVerificationRequest} requestParameters Request parameters.
|
|
380
|
+
* @param {*} [options] Override http request option.
|
|
381
|
+
* @throws {RequiredError}
|
|
382
|
+
* @memberof NotificationsApi
|
|
383
|
+
*/
|
|
384
|
+
NotificationsApi.prototype.completeEmailVerification = function (requestParameters, options) {
|
|
385
|
+
var _this = this;
|
|
386
|
+
return (0, exports.NotificationsApiFp)(this.configuration).completeEmailVerification(requestParameters.completeEmailVerificationDto, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
387
|
+
};
|
|
388
|
+
/**
|
|
389
|
+
* This sends an email to the specific recipient set to receive verification code.
|
|
390
|
+
* @summary Initiate Email Verification.
|
|
391
|
+
* @param {NotificationsApiInitiateEmailVerificationRequest} requestParameters Request parameters.
|
|
392
|
+
* @param {*} [options] Override http request option.
|
|
393
|
+
* @throws {RequiredError}
|
|
394
|
+
* @memberof NotificationsApi
|
|
395
|
+
*/
|
|
396
|
+
NotificationsApi.prototype.initiateEmailVerification = function (requestParameters, options) {
|
|
397
|
+
var _this = this;
|
|
398
|
+
return (0, exports.NotificationsApiFp)(this.configuration).initiateEmailVerification(requestParameters.initiateEmailVerificationDto, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
399
|
+
};
|
|
400
|
+
/**
|
|
401
|
+
* This sends an email to the specific recipient set to receive customers\' messages.
|
|
216
402
|
* @summary Send an email.
|
|
217
403
|
* @param {NotificationsApiSendNotificationRequest} requestParameters Request parameters.
|
|
218
404
|
* @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}
|
|
@@ -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';
|
|
@@ -17,9 +19,12 @@ export * from './create-lead-response-class';
|
|
|
17
19
|
export * from './document-class';
|
|
18
20
|
export * from './get-custom-css-response-class';
|
|
19
21
|
export * from './get-lead-response-class';
|
|
22
|
+
export * from './get-product-document-download-url-response-class';
|
|
20
23
|
export * from './get-public-psp-settings-response-class';
|
|
21
24
|
export * from './initiate-braintree-payment-setup-request-dto';
|
|
22
25
|
export * from './initiate-braintree-payment-setup-response-class';
|
|
26
|
+
export * from './initiate-email-verification-dto';
|
|
27
|
+
export * from './initiate-email-verification-response-class';
|
|
23
28
|
export * from './initiate-lead-response-class';
|
|
24
29
|
export * from './initiate-payment-setup-request-dto';
|
|
25
30
|
export * from './initiate-payment-setup-response-class';
|
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);
|
|
@@ -33,9 +35,12 @@ __exportStar(require("./create-lead-response-class"), exports);
|
|
|
33
35
|
__exportStar(require("./document-class"), exports);
|
|
34
36
|
__exportStar(require("./get-custom-css-response-class"), exports);
|
|
35
37
|
__exportStar(require("./get-lead-response-class"), exports);
|
|
38
|
+
__exportStar(require("./get-product-document-download-url-response-class"), exports);
|
|
36
39
|
__exportStar(require("./get-public-psp-settings-response-class"), exports);
|
|
37
40
|
__exportStar(require("./initiate-braintree-payment-setup-request-dto"), exports);
|
|
38
41
|
__exportStar(require("./initiate-braintree-payment-setup-response-class"), exports);
|
|
42
|
+
__exportStar(require("./initiate-email-verification-dto"), exports);
|
|
43
|
+
__exportStar(require("./initiate-email-verification-response-class"), exports);
|
|
39
44
|
__exportStar(require("./initiate-lead-response-class"), exports);
|
|
40
45
|
__exportStar(require("./initiate-payment-setup-request-dto"), exports);
|
|
41
46
|
__exportStar(require("./initiate-payment-setup-response-class"), 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 });
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* Emil PublicAPI
|
|
5
|
+
* The Emil Public API description
|
|
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 CompleteEmailVerificationDto
|
|
21
|
+
*/
|
|
22
|
+
export interface CompleteEmailVerificationDto {
|
|
23
|
+
/**
|
|
24
|
+
* User email
|
|
25
|
+
* @type {string}
|
|
26
|
+
* @memberof CompleteEmailVerificationDto
|
|
27
|
+
*/
|
|
28
|
+
'email': string;
|
|
29
|
+
/**
|
|
30
|
+
* The confirmation token comes from an email sent to the customer.
|
|
31
|
+
* @type {string}
|
|
32
|
+
* @memberof CompleteEmailVerificationDto
|
|
33
|
+
*/
|
|
34
|
+
'token': string;
|
|
35
|
+
}
|
|
36
|
+
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* Emil PublicAPI
|
|
5
|
+
* The Emil Public API description
|
|
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 CompleteEmailVerificationResponseClass
|
|
21
|
+
*/
|
|
22
|
+
export interface CompleteEmailVerificationResponseClass {
|
|
23
|
+
/**
|
|
24
|
+
* Complete verification result
|
|
25
|
+
* @type {boolean}
|
|
26
|
+
* @memberof CompleteEmailVerificationResponseClass
|
|
27
|
+
*/
|
|
28
|
+
'result': boolean;
|
|
29
|
+
}
|
|
30
|
+
|
|
@@ -26,6 +26,12 @@ export interface CreateDocumentRequestDto {
|
|
|
26
26
|
* @memberof CreateDocumentRequestDto
|
|
27
27
|
*/
|
|
28
28
|
'templateSlug': string;
|
|
29
|
+
/**
|
|
30
|
+
* A slug is a human-readable, unique identifier, used to identify a resource instead of a less human-readable identifier like an id.
|
|
31
|
+
* @type {string}
|
|
32
|
+
* @memberof CreateDocumentRequestDto
|
|
33
|
+
*/
|
|
34
|
+
'productSlug'?: string;
|
|
29
35
|
/**
|
|
30
36
|
* Document payload.
|
|
31
37
|
* @type {object}
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* Emil PublicAPI
|
|
5
|
+
* The Emil Public API description
|
|
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 GetProductDocumentDownloadUrlResponseClass
|
|
21
|
+
*/
|
|
22
|
+
export interface GetProductDocumentDownloadUrlResponseClass {
|
|
23
|
+
/**
|
|
24
|
+
* Pre-signed Url
|
|
25
|
+
* @type {string}
|
|
26
|
+
* @memberof GetProductDocumentDownloadUrlResponseClass
|
|
27
|
+
*/
|
|
28
|
+
'url': string;
|
|
29
|
+
}
|
|
30
|
+
|
package/models/index.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';
|
|
@@ -17,9 +19,12 @@ export * from './create-lead-response-class';
|
|
|
17
19
|
export * from './document-class';
|
|
18
20
|
export * from './get-custom-css-response-class';
|
|
19
21
|
export * from './get-lead-response-class';
|
|
22
|
+
export * from './get-product-document-download-url-response-class';
|
|
20
23
|
export * from './get-public-psp-settings-response-class';
|
|
21
24
|
export * from './initiate-braintree-payment-setup-request-dto';
|
|
22
25
|
export * from './initiate-braintree-payment-setup-response-class';
|
|
26
|
+
export * from './initiate-email-verification-dto';
|
|
27
|
+
export * from './initiate-email-verification-response-class';
|
|
23
28
|
export * from './initiate-lead-response-class';
|
|
24
29
|
export * from './initiate-payment-setup-request-dto';
|
|
25
30
|
export * from './initiate-payment-setup-response-class';
|