@emilgroup/public-api-sdk 1.9.0 → 1.11.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.
Files changed (34) hide show
  1. package/.openapi-generator/FILES +5 -0
  2. package/README.md +2 -2
  3. package/api/address-completions-validations-api.ts +38 -10
  4. package/api/documents-api.ts +116 -0
  5. package/api/notifications-api.ts +218 -4
  6. package/dist/api/address-completions-validations-api.d.ts +25 -7
  7. package/dist/api/address-completions-validations-api.js +21 -9
  8. package/dist/api/documents-api.d.ts +65 -0
  9. package/dist/api/documents-api.js +98 -0
  10. package/dist/api/notifications-api.d.ts +118 -4
  11. package/dist/api/notifications-api.js +190 -4
  12. package/dist/models/complete-email-verification-dto.d.ts +30 -0
  13. package/dist/models/complete-email-verification-dto.js +15 -0
  14. package/dist/models/complete-email-verification-response-class.d.ts +24 -0
  15. package/dist/models/complete-email-verification-response-class.js +15 -0
  16. package/dist/models/create-document-request-dto.d.ts +6 -0
  17. package/dist/models/get-product-document-download-url-response-class.d.ts +24 -0
  18. package/dist/models/get-product-document-download-url-response-class.js +15 -0
  19. package/dist/models/index.d.ts +5 -0
  20. package/dist/models/index.js +5 -0
  21. package/dist/models/initiate-email-verification-dto.d.ts +30 -0
  22. package/dist/models/initiate-email-verification-dto.js +15 -0
  23. package/dist/models/initiate-email-verification-response-class.d.ts +24 -0
  24. package/dist/models/initiate-email-verification-response-class.js +15 -0
  25. package/dist/models/invoice-class.d.ts +6 -0
  26. package/models/complete-email-verification-dto.ts +36 -0
  27. package/models/complete-email-verification-response-class.ts +30 -0
  28. package/models/create-document-request-dto.ts +6 -0
  29. package/models/get-product-document-download-url-response-class.ts +30 -0
  30. package/models/index.ts +5 -0
  31. package/models/initiate-email-verification-dto.ts +36 -0
  32. package/models/initiate-email-verification-response-class.ts +30 -0
  33. package/models/invoice-class.ts +6 -0
  34. 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 will send an email to the specific recipient set to receive customers\' messages.
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 will send an email to the specific recipient set to receive customers\' messages.
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 will send an email to the specific recipient set to receive customers\' messages.
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 will send an email to the specific recipient set to receive customers\' messages.
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}
@@ -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 });
@@ -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';
@@ -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 });
@@ -125,4 +125,10 @@ export interface InvoiceClass {
125
125
  * @memberof InvoiceClass
126
126
  */
127
127
  'statuses': Array<InvoiceStatusClass>;
128
+ /**
129
+ * Invoice currency. EUR is used by default.
130
+ * @type {string}
131
+ * @memberof InvoiceClass
132
+ */
133
+ 'currency': string;
128
134
  }
@@ -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';