@emilgroup/public-api-sdk-node 1.12.0 → 1.14.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 (49) hide show
  1. package/.openapi-generator/FILES +7 -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/create-lead-request-dto.d.ts +7 -0
  18. package/dist/models/create-payment-method-request-dto.d.ts +36 -0
  19. package/dist/models/create-payment-method-request-dto.js +20 -0
  20. package/dist/models/get-product-document-download-url-response-class.d.ts +24 -0
  21. package/dist/models/get-product-document-download-url-response-class.js +15 -0
  22. package/dist/models/index.d.ts +7 -0
  23. package/dist/models/index.js +7 -0
  24. package/dist/models/initiate-email-verification-dto.d.ts +30 -0
  25. package/dist/models/initiate-email-verification-dto.js +15 -0
  26. package/dist/models/initiate-email-verification-response-class.d.ts +24 -0
  27. package/dist/models/initiate-email-verification-response-class.js +15 -0
  28. package/dist/models/invoice-item-class.d.ts +12 -0
  29. package/dist/models/lead-class.d.ts +7 -0
  30. package/dist/models/premium-override-dto.d.ts +1 -0
  31. package/dist/models/premium-override-dto.js +1 -0
  32. package/dist/models/sepa-dto.d.ts +30 -0
  33. package/dist/models/sepa-dto.js +15 -0
  34. package/dist/models/update-lead-request-dto.d.ts +7 -0
  35. package/models/complete-email-verification-dto.ts +36 -0
  36. package/models/complete-email-verification-response-class.ts +30 -0
  37. package/models/create-document-request-dto.ts +6 -0
  38. package/models/create-lead-request-dto.ts +7 -0
  39. package/models/create-payment-method-request-dto.ts +45 -0
  40. package/models/get-product-document-download-url-response-class.ts +30 -0
  41. package/models/index.ts +7 -0
  42. package/models/initiate-email-verification-dto.ts +36 -0
  43. package/models/initiate-email-verification-response-class.ts +30 -0
  44. package/models/invoice-item-class.ts +12 -0
  45. package/models/lead-class.ts +7 -0
  46. package/models/premium-override-dto.ts +1 -0
  47. package/models/sepa-dto.ts +36 -0
  48. package/models/update-lead-request-dto.ts +7 -0
  49. package/package.json +1 -1
@@ -99,12 +99,14 @@ var AddressCompletionsValidationsApiAxiosParamCreator = function (configuration)
99
99
  /**
100
100
  * This will return a list of address completions based on the provided partial address.
101
101
  * @summary Retrieve the address
102
- * @param {string} partialAddress
102
+ * @param {string} partialAddress Partial address for completion
103
103
  * @param {string} [authorization] Bearer Token
104
+ * @param {'Germany' | 'Spain' | 'Austria' | 'Switzerland' | 'UnitedStates' | 'Italy' | 'Norway' | 'CzechRepublic' | 'Australia'} [country] This property can be used to filter addresses by country
105
+ * @param {number} [limit] The number of results to fetch
104
106
  * @param {*} [options] Override http request option.
105
107
  * @throws {RequiredError}
106
108
  */
107
- listAddressCompletions: function (partialAddress, authorization, options) {
109
+ listAddressCompletions: function (partialAddress, authorization, country, limit, options) {
108
110
  if (options === void 0) { options = {}; }
109
111
  return __awaiter(_this, void 0, void 0, function () {
110
112
  var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
@@ -132,6 +134,12 @@ var AddressCompletionsValidationsApiAxiosParamCreator = function (configuration)
132
134
  if (partialAddress !== undefined) {
133
135
  localVarQueryParameter['partialAddress'] = partialAddress;
134
136
  }
137
+ if (country !== undefined) {
138
+ localVarQueryParameter['country'] = country;
139
+ }
140
+ if (limit !== undefined) {
141
+ localVarQueryParameter['limit'] = limit;
142
+ }
135
143
  if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
136
144
  localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
137
145
  }
@@ -237,17 +245,19 @@ var AddressCompletionsValidationsApiFp = function (configuration) {
237
245
  /**
238
246
  * This will return a list of address completions based on the provided partial address.
239
247
  * @summary Retrieve the address
240
- * @param {string} partialAddress
248
+ * @param {string} partialAddress Partial address for completion
241
249
  * @param {string} [authorization] Bearer Token
250
+ * @param {'Germany' | 'Spain' | 'Austria' | 'Switzerland' | 'UnitedStates' | 'Italy' | 'Norway' | 'CzechRepublic' | 'Australia'} [country] This property can be used to filter addresses by country
251
+ * @param {number} [limit] The number of results to fetch
242
252
  * @param {*} [options] Override http request option.
243
253
  * @throws {RequiredError}
244
254
  */
245
- listAddressCompletions: function (partialAddress, authorization, options) {
255
+ listAddressCompletions: function (partialAddress, authorization, country, limit, options) {
246
256
  return __awaiter(this, void 0, void 0, function () {
247
257
  var localVarAxiosArgs;
248
258
  return __generator(this, function (_a) {
249
259
  switch (_a.label) {
250
- case 0: return [4 /*yield*/, localVarAxiosParamCreator.listAddressCompletions(partialAddress, authorization, options)];
260
+ case 0: return [4 /*yield*/, localVarAxiosParamCreator.listAddressCompletions(partialAddress, authorization, country, limit, options)];
251
261
  case 1:
252
262
  localVarAxiosArgs = _a.sent();
253
263
  return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
@@ -294,13 +304,15 @@ var AddressCompletionsValidationsApiFactory = function (configuration, basePath,
294
304
  /**
295
305
  * This will return a list of address completions based on the provided partial address.
296
306
  * @summary Retrieve the address
297
- * @param {string} partialAddress
307
+ * @param {string} partialAddress Partial address for completion
298
308
  * @param {string} [authorization] Bearer Token
309
+ * @param {'Germany' | 'Spain' | 'Austria' | 'Switzerland' | 'UnitedStates' | 'Italy' | 'Norway' | 'CzechRepublic' | 'Australia'} [country] This property can be used to filter addresses by country
310
+ * @param {number} [limit] The number of results to fetch
299
311
  * @param {*} [options] Override http request option.
300
312
  * @throws {RequiredError}
301
313
  */
302
- listAddressCompletions: function (partialAddress, authorization, options) {
303
- return localVarFp.listAddressCompletions(partialAddress, authorization, options).then(function (request) { return request(axios, basePath); });
314
+ listAddressCompletions: function (partialAddress, authorization, country, limit, options) {
315
+ return localVarFp.listAddressCompletions(partialAddress, authorization, country, limit, options).then(function (request) { return request(axios, basePath); });
304
316
  },
305
317
  /**
306
318
  * This will return a response whether the provided address is valid or not.
@@ -342,7 +354,7 @@ var AddressCompletionsValidationsApi = /** @class */ (function (_super) {
342
354
  */
343
355
  AddressCompletionsValidationsApi.prototype.listAddressCompletions = function (requestParameters, options) {
344
356
  var _this = this;
345
- return (0, exports.AddressCompletionsValidationsApiFp)(this.configuration).listAddressCompletions(requestParameters.partialAddress, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
357
+ return (0, exports.AddressCompletionsValidationsApiFp)(this.configuration).listAddressCompletions(requestParameters.partialAddress, requestParameters.authorization, requestParameters.country, requestParameters.limit, options).then(function (request) { return request(_this.axios, _this.basePath); });
346
358
  };
347
359
  /**
348
360
  * This will return a response whether the provided address is valid or not.
@@ -13,6 +13,7 @@ import { AxiosPromise, AxiosInstance, AxiosRequestConfig } from 'axios';
13
13
  import { Configuration } from '../configuration';
14
14
  import { RequestArgs, BaseAPI } from '../base';
15
15
  import { CreateDocumentRequestDto } from '../models';
16
+ import { GetProductDocumentDownloadUrlResponseClass } from '../models';
16
17
  import { ListDocumentsResponseClass } from '../models';
17
18
  import { ListProductDocumentsResponseClass } from '../models';
18
19
  /**
@@ -38,6 +39,16 @@ export declare const DocumentsApiAxiosParamCreator: (configuration?: Configurati
38
39
  * @throws {RequiredError}
39
40
  */
40
41
  downloadDocument: (code: string, authorization?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
42
+ /**
43
+ *
44
+ * @summary Get pre-signed url for downloading product document
45
+ * @param {string} productCode
46
+ * @param {string} code
47
+ * @param {string} [authorization] Bearer Token
48
+ * @param {*} [options] Override http request option.
49
+ * @throws {RequiredError}
50
+ */
51
+ downloadProductDocumentUrl: (productCode: string, code: string, authorization?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
41
52
  /**
42
53
  * Returns a list of documents you have previously created. The documents are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
43
54
  * @summary List documents
@@ -90,6 +101,16 @@ export declare const DocumentsApiFp: (configuration?: Configuration) => {
90
101
  * @throws {RequiredError}
91
102
  */
92
103
  downloadDocument(code: string, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
104
+ /**
105
+ *
106
+ * @summary Get pre-signed url for downloading product document
107
+ * @param {string} productCode
108
+ * @param {string} code
109
+ * @param {string} [authorization] Bearer Token
110
+ * @param {*} [options] Override http request option.
111
+ * @throws {RequiredError}
112
+ */
113
+ downloadProductDocumentUrl(productCode: string, code: string, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetProductDocumentDownloadUrlResponseClass>>;
93
114
  /**
94
115
  * Returns a list of documents you have previously created. The documents are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
95
116
  * @summary List documents
@@ -142,6 +163,16 @@ export declare const DocumentsApiFactory: (configuration?: Configuration, basePa
142
163
  * @throws {RequiredError}
143
164
  */
144
165
  downloadDocument(code: string, authorization?: string, options?: any): AxiosPromise<void>;
166
+ /**
167
+ *
168
+ * @summary Get pre-signed url for downloading product document
169
+ * @param {string} productCode
170
+ * @param {string} code
171
+ * @param {string} [authorization] Bearer Token
172
+ * @param {*} [options] Override http request option.
173
+ * @throws {RequiredError}
174
+ */
175
+ downloadProductDocumentUrl(productCode: string, code: string, authorization?: string, options?: any): AxiosPromise<GetProductDocumentDownloadUrlResponseClass>;
145
176
  /**
146
177
  * Returns a list of documents you have previously created. The documents are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
147
178
  * @summary List documents
@@ -209,6 +240,31 @@ export interface DocumentsApiDownloadDocumentRequest {
209
240
  */
210
241
  readonly authorization?: string;
211
242
  }
243
+ /**
244
+ * Request parameters for downloadProductDocumentUrl operation in DocumentsApi.
245
+ * @export
246
+ * @interface DocumentsApiDownloadProductDocumentUrlRequest
247
+ */
248
+ export interface DocumentsApiDownloadProductDocumentUrlRequest {
249
+ /**
250
+ *
251
+ * @type {string}
252
+ * @memberof DocumentsApiDownloadProductDocumentUrl
253
+ */
254
+ readonly productCode: string;
255
+ /**
256
+ *
257
+ * @type {string}
258
+ * @memberof DocumentsApiDownloadProductDocumentUrl
259
+ */
260
+ readonly code: string;
261
+ /**
262
+ * Bearer Token
263
+ * @type {string}
264
+ * @memberof DocumentsApiDownloadProductDocumentUrl
265
+ */
266
+ readonly authorization?: string;
267
+ }
212
268
  /**
213
269
  * Request parameters for listDocuments operation in DocumentsApi.
214
270
  * @export
@@ -332,6 +388,15 @@ export declare class DocumentsApi extends BaseAPI {
332
388
  * @memberof DocumentsApi
333
389
  */
334
390
  downloadDocument(requestParameters: DocumentsApiDownloadDocumentRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any>>;
391
+ /**
392
+ *
393
+ * @summary Get pre-signed url for downloading product document
394
+ * @param {DocumentsApiDownloadProductDocumentUrlRequest} requestParameters Request parameters.
395
+ * @param {*} [options] Override http request option.
396
+ * @throws {RequiredError}
397
+ * @memberof DocumentsApi
398
+ */
399
+ downloadProductDocumentUrl(requestParameters: DocumentsApiDownloadProductDocumentUrlRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<GetProductDocumentDownloadUrlResponseClass, any>>;
335
400
  /**
336
401
  * Returns a list of documents you have previously created. The documents are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
337
402
  * @summary List documents
@@ -193,6 +193,58 @@ var DocumentsApiAxiosParamCreator = function (configuration) {
193
193
  });
194
194
  });
195
195
  },
196
+ /**
197
+ *
198
+ * @summary Get pre-signed url for downloading product document
199
+ * @param {string} productCode
200
+ * @param {string} code
201
+ * @param {string} [authorization] Bearer Token
202
+ * @param {*} [options] Override http request option.
203
+ * @throws {RequiredError}
204
+ */
205
+ downloadProductDocumentUrl: function (productCode, code, authorization, options) {
206
+ if (options === void 0) { options = {}; }
207
+ return __awaiter(_this, void 0, void 0, function () {
208
+ var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
209
+ return __generator(this, function (_a) {
210
+ switch (_a.label) {
211
+ case 0:
212
+ // verify required parameter 'productCode' is not null or undefined
213
+ (0, common_1.assertParamExists)('downloadProductDocumentUrl', 'productCode', productCode);
214
+ // verify required parameter 'code' is not null or undefined
215
+ (0, common_1.assertParamExists)('downloadProductDocumentUrl', 'code', code);
216
+ localVarPath = "/publicapi/v1/documents/product/{productCode}/{code}/download-url"
217
+ .replace("{".concat("productCode", "}"), encodeURIComponent(String(productCode)))
218
+ .replace("{".concat("code", "}"), encodeURIComponent(String(code)));
219
+ localVarUrlObj = new url_1.URL(localVarPath, common_1.DUMMY_BASE_URL);
220
+ if (configuration) {
221
+ baseOptions = configuration.baseOptions;
222
+ baseAccessToken = configuration.accessToken;
223
+ }
224
+ localVarRequestOptions = __assign(__assign({ method: 'GET' }, baseOptions), options);
225
+ localVarHeaderParameter = {};
226
+ localVarQueryParameter = {};
227
+ // authentication bearer required
228
+ // http bearer authentication required
229
+ return [4 /*yield*/, (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration)];
230
+ case 1:
231
+ // authentication bearer required
232
+ // http bearer authentication required
233
+ _a.sent();
234
+ if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
235
+ localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
236
+ }
237
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
238
+ headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
239
+ localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
240
+ return [2 /*return*/, {
241
+ url: (0, common_1.toPathString)(localVarUrlObj),
242
+ options: localVarRequestOptions,
243
+ }];
244
+ }
245
+ });
246
+ });
247
+ },
196
248
  /**
197
249
  * Returns a list of documents you have previously created. The documents are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
198
250
  * @summary List documents
@@ -383,6 +435,28 @@ var DocumentsApiFp = function (configuration) {
383
435
  });
384
436
  });
385
437
  },
438
+ /**
439
+ *
440
+ * @summary Get pre-signed url for downloading product document
441
+ * @param {string} productCode
442
+ * @param {string} code
443
+ * @param {string} [authorization] Bearer Token
444
+ * @param {*} [options] Override http request option.
445
+ * @throws {RequiredError}
446
+ */
447
+ downloadProductDocumentUrl: function (productCode, code, authorization, options) {
448
+ return __awaiter(this, void 0, void 0, function () {
449
+ var localVarAxiosArgs;
450
+ return __generator(this, function (_a) {
451
+ switch (_a.label) {
452
+ case 0: return [4 /*yield*/, localVarAxiosParamCreator.downloadProductDocumentUrl(productCode, code, authorization, options)];
453
+ case 1:
454
+ localVarAxiosArgs = _a.sent();
455
+ return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
456
+ }
457
+ });
458
+ });
459
+ },
386
460
  /**
387
461
  * Returns a list of documents you have previously created. The documents are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
388
462
  * @summary List documents
@@ -467,6 +541,18 @@ var DocumentsApiFactory = function (configuration, basePath, axios) {
467
541
  downloadDocument: function (code, authorization, options) {
468
542
  return localVarFp.downloadDocument(code, authorization, options).then(function (request) { return request(axios, basePath); });
469
543
  },
544
+ /**
545
+ *
546
+ * @summary Get pre-signed url for downloading product document
547
+ * @param {string} productCode
548
+ * @param {string} code
549
+ * @param {string} [authorization] Bearer Token
550
+ * @param {*} [options] Override http request option.
551
+ * @throws {RequiredError}
552
+ */
553
+ downloadProductDocumentUrl: function (productCode, code, authorization, options) {
554
+ return localVarFp.downloadProductDocumentUrl(productCode, code, authorization, options).then(function (request) { return request(axios, basePath); });
555
+ },
470
556
  /**
471
557
  * Returns a list of documents you have previously created. The documents are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
472
558
  * @summary List documents
@@ -537,6 +623,18 @@ var DocumentsApi = /** @class */ (function (_super) {
537
623
  var _this = this;
538
624
  return (0, exports.DocumentsApiFp)(this.configuration).downloadDocument(requestParameters.code, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
539
625
  };
626
+ /**
627
+ *
628
+ * @summary Get pre-signed url for downloading product document
629
+ * @param {DocumentsApiDownloadProductDocumentUrlRequest} requestParameters Request parameters.
630
+ * @param {*} [options] Override http request option.
631
+ * @throws {RequiredError}
632
+ * @memberof DocumentsApi
633
+ */
634
+ DocumentsApi.prototype.downloadProductDocumentUrl = function (requestParameters, options) {
635
+ var _this = this;
636
+ return (0, exports.DocumentsApiFp)(this.configuration).downloadProductDocumentUrl(requestParameters.productCode, requestParameters.code, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
637
+ };
540
638
  /**
541
639
  * Returns a list of documents you have previously created. The documents are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
542
640
  * @summary List documents
@@ -12,6 +12,10 @@
12
12
  import { AxiosPromise, AxiosInstance, AxiosRequestConfig } from 'axios';
13
13
  import { Configuration } from '../configuration';
14
14
  import { RequestArgs, BaseAPI } from '../base';
15
+ import { CompleteEmailVerificationDto } from '../models';
16
+ import { CompleteEmailVerificationResponseClass } from '../models';
17
+ import { InitiateEmailVerificationDto } from '../models';
18
+ import { InitiateEmailVerificationResponseClass } from '../models';
15
19
  import { SendNotificationRequestDto } from '../models';
16
20
  import { SendNotificationResponseClass } from '../models';
17
21
  /**
@@ -20,7 +24,25 @@ import { SendNotificationResponseClass } from '../models';
20
24
  */
21
25
  export declare const NotificationsApiAxiosParamCreator: (configuration?: Configuration) => {
22
26
  /**
23
- * This will send an email to the specific recipient set to receive customers\' messages.
27
+ * This validates a token provided by customer.
28
+ * @summary Complete Email Verification.
29
+ * @param {CompleteEmailVerificationDto} completeEmailVerificationDto
30
+ * @param {string} [authorization] Bearer Token
31
+ * @param {*} [options] Override http request option.
32
+ * @throws {RequiredError}
33
+ */
34
+ completeEmailVerification: (completeEmailVerificationDto: CompleteEmailVerificationDto, authorization?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
35
+ /**
36
+ * This sends an email to the specific recipient set to receive verification code.
37
+ * @summary Initiate Email Verification.
38
+ * @param {InitiateEmailVerificationDto} initiateEmailVerificationDto
39
+ * @param {string} [authorization] Bearer Token
40
+ * @param {*} [options] Override http request option.
41
+ * @throws {RequiredError}
42
+ */
43
+ initiateEmailVerification: (initiateEmailVerificationDto: InitiateEmailVerificationDto, authorization?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
44
+ /**
45
+ * This sends an email to the specific recipient set to receive customers\' messages.
24
46
  * @summary Send an email.
25
47
  * @param {SendNotificationRequestDto} sendNotificationRequestDto
26
48
  * @param {string} [authorization] Bearer Token
@@ -35,7 +57,25 @@ export declare const NotificationsApiAxiosParamCreator: (configuration?: Configu
35
57
  */
36
58
  export declare const NotificationsApiFp: (configuration?: Configuration) => {
37
59
  /**
38
- * This will send an email to the specific recipient set to receive customers\' messages.
60
+ * This validates a token provided by customer.
61
+ * @summary Complete Email Verification.
62
+ * @param {CompleteEmailVerificationDto} completeEmailVerificationDto
63
+ * @param {string} [authorization] Bearer Token
64
+ * @param {*} [options] Override http request option.
65
+ * @throws {RequiredError}
66
+ */
67
+ completeEmailVerification(completeEmailVerificationDto: CompleteEmailVerificationDto, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CompleteEmailVerificationResponseClass>>;
68
+ /**
69
+ * This sends an email to the specific recipient set to receive verification code.
70
+ * @summary Initiate Email Verification.
71
+ * @param {InitiateEmailVerificationDto} initiateEmailVerificationDto
72
+ * @param {string} [authorization] Bearer Token
73
+ * @param {*} [options] Override http request option.
74
+ * @throws {RequiredError}
75
+ */
76
+ initiateEmailVerification(initiateEmailVerificationDto: InitiateEmailVerificationDto, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<InitiateEmailVerificationResponseClass>>;
77
+ /**
78
+ * This sends an email to the specific recipient set to receive customers\' messages.
39
79
  * @summary Send an email.
40
80
  * @param {SendNotificationRequestDto} sendNotificationRequestDto
41
81
  * @param {string} [authorization] Bearer Token
@@ -50,7 +90,25 @@ export declare const NotificationsApiFp: (configuration?: Configuration) => {
50
90
  */
51
91
  export declare const NotificationsApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
52
92
  /**
53
- * This will send an email to the specific recipient set to receive customers\' messages.
93
+ * This validates a token provided by customer.
94
+ * @summary Complete Email Verification.
95
+ * @param {CompleteEmailVerificationDto} completeEmailVerificationDto
96
+ * @param {string} [authorization] Bearer Token
97
+ * @param {*} [options] Override http request option.
98
+ * @throws {RequiredError}
99
+ */
100
+ completeEmailVerification(completeEmailVerificationDto: CompleteEmailVerificationDto, authorization?: string, options?: any): AxiosPromise<CompleteEmailVerificationResponseClass>;
101
+ /**
102
+ * This sends an email to the specific recipient set to receive verification code.
103
+ * @summary Initiate Email Verification.
104
+ * @param {InitiateEmailVerificationDto} initiateEmailVerificationDto
105
+ * @param {string} [authorization] Bearer Token
106
+ * @param {*} [options] Override http request option.
107
+ * @throws {RequiredError}
108
+ */
109
+ initiateEmailVerification(initiateEmailVerificationDto: InitiateEmailVerificationDto, authorization?: string, options?: any): AxiosPromise<InitiateEmailVerificationResponseClass>;
110
+ /**
111
+ * This sends an email to the specific recipient set to receive customers\' messages.
54
112
  * @summary Send an email.
55
113
  * @param {SendNotificationRequestDto} sendNotificationRequestDto
56
114
  * @param {string} [authorization] Bearer Token
@@ -59,6 +117,44 @@ export declare const NotificationsApiFactory: (configuration?: Configuration, ba
59
117
  */
60
118
  sendNotification(sendNotificationRequestDto: SendNotificationRequestDto, authorization?: string, options?: any): AxiosPromise<SendNotificationResponseClass>;
61
119
  };
120
+ /**
121
+ * Request parameters for completeEmailVerification operation in NotificationsApi.
122
+ * @export
123
+ * @interface NotificationsApiCompleteEmailVerificationRequest
124
+ */
125
+ export interface NotificationsApiCompleteEmailVerificationRequest {
126
+ /**
127
+ *
128
+ * @type {CompleteEmailVerificationDto}
129
+ * @memberof NotificationsApiCompleteEmailVerification
130
+ */
131
+ readonly completeEmailVerificationDto: CompleteEmailVerificationDto;
132
+ /**
133
+ * Bearer Token
134
+ * @type {string}
135
+ * @memberof NotificationsApiCompleteEmailVerification
136
+ */
137
+ readonly authorization?: string;
138
+ }
139
+ /**
140
+ * Request parameters for initiateEmailVerification operation in NotificationsApi.
141
+ * @export
142
+ * @interface NotificationsApiInitiateEmailVerificationRequest
143
+ */
144
+ export interface NotificationsApiInitiateEmailVerificationRequest {
145
+ /**
146
+ *
147
+ * @type {InitiateEmailVerificationDto}
148
+ * @memberof NotificationsApiInitiateEmailVerification
149
+ */
150
+ readonly initiateEmailVerificationDto: InitiateEmailVerificationDto;
151
+ /**
152
+ * Bearer Token
153
+ * @type {string}
154
+ * @memberof NotificationsApiInitiateEmailVerification
155
+ */
156
+ readonly authorization?: string;
157
+ }
62
158
  /**
63
159
  * Request parameters for sendNotification operation in NotificationsApi.
64
160
  * @export
@@ -86,7 +182,25 @@ export interface NotificationsApiSendNotificationRequest {
86
182
  */
87
183
  export declare class NotificationsApi extends BaseAPI {
88
184
  /**
89
- * This will send an email to the specific recipient set to receive customers\' messages.
185
+ * This validates a token provided by customer.
186
+ * @summary Complete Email Verification.
187
+ * @param {NotificationsApiCompleteEmailVerificationRequest} requestParameters Request parameters.
188
+ * @param {*} [options] Override http request option.
189
+ * @throws {RequiredError}
190
+ * @memberof NotificationsApi
191
+ */
192
+ completeEmailVerification(requestParameters: NotificationsApiCompleteEmailVerificationRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<CompleteEmailVerificationResponseClass, any>>;
193
+ /**
194
+ * This sends an email to the specific recipient set to receive verification code.
195
+ * @summary Initiate Email Verification.
196
+ * @param {NotificationsApiInitiateEmailVerificationRequest} requestParameters Request parameters.
197
+ * @param {*} [options] Override http request option.
198
+ * @throws {RequiredError}
199
+ * @memberof NotificationsApi
200
+ */
201
+ initiateEmailVerification(requestParameters: NotificationsApiInitiateEmailVerificationRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<InitiateEmailVerificationResponseClass, any>>;
202
+ /**
203
+ * This sends an email to the specific recipient set to receive customers\' messages.
90
204
  * @summary Send an email.
91
205
  * @param {NotificationsApiSendNotificationRequest} requestParameters Request parameters.
92
206
  * @param {*} [options] Override http request option.