@emilgroup/public-api-sdk 1.10.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.
- 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
|
@@ -95,12 +95,14 @@ var AddressCompletionsValidationsApiAxiosParamCreator = function (configuration)
|
|
|
95
95
|
/**
|
|
96
96
|
* This will return a list of address completions based on the provided partial address.
|
|
97
97
|
* @summary Retrieve the address
|
|
98
|
-
* @param {string} partialAddress
|
|
98
|
+
* @param {string} partialAddress Partial address for completion
|
|
99
99
|
* @param {string} [authorization] Bearer Token
|
|
100
|
+
* @param {'Germany' | 'Spain' | 'Austria' | 'Switzerland' | 'UnitedStates' | 'Italy' | 'Norway' | 'CzechRepublic' | 'Australia'} [country] This property can be used to filter addresses by country
|
|
101
|
+
* @param {number} [limit] The number of results to fetch
|
|
100
102
|
* @param {*} [options] Override http request option.
|
|
101
103
|
* @throws {RequiredError}
|
|
102
104
|
*/
|
|
103
|
-
listAddressCompletions: function (partialAddress, authorization, options) {
|
|
105
|
+
listAddressCompletions: function (partialAddress, authorization, country, limit, options) {
|
|
104
106
|
if (options === void 0) { options = {}; }
|
|
105
107
|
return __awaiter(_this, void 0, void 0, function () {
|
|
106
108
|
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
@@ -128,6 +130,12 @@ var AddressCompletionsValidationsApiAxiosParamCreator = function (configuration)
|
|
|
128
130
|
if (partialAddress !== undefined) {
|
|
129
131
|
localVarQueryParameter['partialAddress'] = partialAddress;
|
|
130
132
|
}
|
|
133
|
+
if (country !== undefined) {
|
|
134
|
+
localVarQueryParameter['country'] = country;
|
|
135
|
+
}
|
|
136
|
+
if (limit !== undefined) {
|
|
137
|
+
localVarQueryParameter['limit'] = limit;
|
|
138
|
+
}
|
|
131
139
|
if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
|
|
132
140
|
localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
|
|
133
141
|
}
|
|
@@ -233,17 +241,19 @@ var AddressCompletionsValidationsApiFp = function (configuration) {
|
|
|
233
241
|
/**
|
|
234
242
|
* This will return a list of address completions based on the provided partial address.
|
|
235
243
|
* @summary Retrieve the address
|
|
236
|
-
* @param {string} partialAddress
|
|
244
|
+
* @param {string} partialAddress Partial address for completion
|
|
237
245
|
* @param {string} [authorization] Bearer Token
|
|
246
|
+
* @param {'Germany' | 'Spain' | 'Austria' | 'Switzerland' | 'UnitedStates' | 'Italy' | 'Norway' | 'CzechRepublic' | 'Australia'} [country] This property can be used to filter addresses by country
|
|
247
|
+
* @param {number} [limit] The number of results to fetch
|
|
238
248
|
* @param {*} [options] Override http request option.
|
|
239
249
|
* @throws {RequiredError}
|
|
240
250
|
*/
|
|
241
|
-
listAddressCompletions: function (partialAddress, authorization, options) {
|
|
251
|
+
listAddressCompletions: function (partialAddress, authorization, country, limit, options) {
|
|
242
252
|
return __awaiter(this, void 0, void 0, function () {
|
|
243
253
|
var localVarAxiosArgs;
|
|
244
254
|
return __generator(this, function (_a) {
|
|
245
255
|
switch (_a.label) {
|
|
246
|
-
case 0: return [4 /*yield*/, localVarAxiosParamCreator.listAddressCompletions(partialAddress, authorization, options)];
|
|
256
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.listAddressCompletions(partialAddress, authorization, country, limit, options)];
|
|
247
257
|
case 1:
|
|
248
258
|
localVarAxiosArgs = _a.sent();
|
|
249
259
|
return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
@@ -290,13 +300,15 @@ var AddressCompletionsValidationsApiFactory = function (configuration, basePath,
|
|
|
290
300
|
/**
|
|
291
301
|
* This will return a list of address completions based on the provided partial address.
|
|
292
302
|
* @summary Retrieve the address
|
|
293
|
-
* @param {string} partialAddress
|
|
303
|
+
* @param {string} partialAddress Partial address for completion
|
|
294
304
|
* @param {string} [authorization] Bearer Token
|
|
305
|
+
* @param {'Germany' | 'Spain' | 'Austria' | 'Switzerland' | 'UnitedStates' | 'Italy' | 'Norway' | 'CzechRepublic' | 'Australia'} [country] This property can be used to filter addresses by country
|
|
306
|
+
* @param {number} [limit] The number of results to fetch
|
|
295
307
|
* @param {*} [options] Override http request option.
|
|
296
308
|
* @throws {RequiredError}
|
|
297
309
|
*/
|
|
298
|
-
listAddressCompletions: function (partialAddress, authorization, options) {
|
|
299
|
-
return localVarFp.listAddressCompletions(partialAddress, authorization, options).then(function (request) { return request(axios, basePath); });
|
|
310
|
+
listAddressCompletions: function (partialAddress, authorization, country, limit, options) {
|
|
311
|
+
return localVarFp.listAddressCompletions(partialAddress, authorization, country, limit, options).then(function (request) { return request(axios, basePath); });
|
|
300
312
|
},
|
|
301
313
|
/**
|
|
302
314
|
* This will return a response whether the provided address is valid or not.
|
|
@@ -338,7 +350,7 @@ var AddressCompletionsValidationsApi = /** @class */ (function (_super) {
|
|
|
338
350
|
*/
|
|
339
351
|
AddressCompletionsValidationsApi.prototype.listAddressCompletions = function (requestParameters, options) {
|
|
340
352
|
var _this = this;
|
|
341
|
-
return (0, exports.AddressCompletionsValidationsApiFp)(this.configuration).listAddressCompletions(requestParameters.partialAddress, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
353
|
+
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); });
|
|
342
354
|
};
|
|
343
355
|
/**
|
|
344
356
|
* 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
|
|
@@ -189,6 +189,58 @@ var DocumentsApiAxiosParamCreator = function (configuration) {
|
|
|
189
189
|
});
|
|
190
190
|
});
|
|
191
191
|
},
|
|
192
|
+
/**
|
|
193
|
+
*
|
|
194
|
+
* @summary Get pre-signed url for downloading product document
|
|
195
|
+
* @param {string} productCode
|
|
196
|
+
* @param {string} code
|
|
197
|
+
* @param {string} [authorization] Bearer Token
|
|
198
|
+
* @param {*} [options] Override http request option.
|
|
199
|
+
* @throws {RequiredError}
|
|
200
|
+
*/
|
|
201
|
+
downloadProductDocumentUrl: function (productCode, code, authorization, options) {
|
|
202
|
+
if (options === void 0) { options = {}; }
|
|
203
|
+
return __awaiter(_this, void 0, void 0, function () {
|
|
204
|
+
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
205
|
+
return __generator(this, function (_a) {
|
|
206
|
+
switch (_a.label) {
|
|
207
|
+
case 0:
|
|
208
|
+
// verify required parameter 'productCode' is not null or undefined
|
|
209
|
+
(0, common_1.assertParamExists)('downloadProductDocumentUrl', 'productCode', productCode);
|
|
210
|
+
// verify required parameter 'code' is not null or undefined
|
|
211
|
+
(0, common_1.assertParamExists)('downloadProductDocumentUrl', 'code', code);
|
|
212
|
+
localVarPath = "/publicapi/v1/documents/product/{productCode}/{code}/download-url"
|
|
213
|
+
.replace("{".concat("productCode", "}"), encodeURIComponent(String(productCode)))
|
|
214
|
+
.replace("{".concat("code", "}"), encodeURIComponent(String(code)));
|
|
215
|
+
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
216
|
+
if (configuration) {
|
|
217
|
+
baseOptions = configuration.baseOptions;
|
|
218
|
+
baseAccessToken = configuration.accessToken;
|
|
219
|
+
}
|
|
220
|
+
localVarRequestOptions = __assign(__assign({ method: 'GET' }, baseOptions), options);
|
|
221
|
+
localVarHeaderParameter = {};
|
|
222
|
+
localVarQueryParameter = {};
|
|
223
|
+
// authentication bearer required
|
|
224
|
+
// http bearer authentication required
|
|
225
|
+
return [4 /*yield*/, (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration)];
|
|
226
|
+
case 1:
|
|
227
|
+
// authentication bearer required
|
|
228
|
+
// http bearer authentication required
|
|
229
|
+
_a.sent();
|
|
230
|
+
if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
|
|
231
|
+
localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
|
|
232
|
+
}
|
|
233
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
234
|
+
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
235
|
+
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
236
|
+
return [2 /*return*/, {
|
|
237
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
238
|
+
options: localVarRequestOptions,
|
|
239
|
+
}];
|
|
240
|
+
}
|
|
241
|
+
});
|
|
242
|
+
});
|
|
243
|
+
},
|
|
192
244
|
/**
|
|
193
245
|
* 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.
|
|
194
246
|
* @summary List documents
|
|
@@ -379,6 +431,28 @@ var DocumentsApiFp = function (configuration) {
|
|
|
379
431
|
});
|
|
380
432
|
});
|
|
381
433
|
},
|
|
434
|
+
/**
|
|
435
|
+
*
|
|
436
|
+
* @summary Get pre-signed url for downloading product document
|
|
437
|
+
* @param {string} productCode
|
|
438
|
+
* @param {string} code
|
|
439
|
+
* @param {string} [authorization] Bearer Token
|
|
440
|
+
* @param {*} [options] Override http request option.
|
|
441
|
+
* @throws {RequiredError}
|
|
442
|
+
*/
|
|
443
|
+
downloadProductDocumentUrl: function (productCode, code, authorization, options) {
|
|
444
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
445
|
+
var localVarAxiosArgs;
|
|
446
|
+
return __generator(this, function (_a) {
|
|
447
|
+
switch (_a.label) {
|
|
448
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.downloadProductDocumentUrl(productCode, code, authorization, options)];
|
|
449
|
+
case 1:
|
|
450
|
+
localVarAxiosArgs = _a.sent();
|
|
451
|
+
return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
452
|
+
}
|
|
453
|
+
});
|
|
454
|
+
});
|
|
455
|
+
},
|
|
382
456
|
/**
|
|
383
457
|
* 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.
|
|
384
458
|
* @summary List documents
|
|
@@ -463,6 +537,18 @@ var DocumentsApiFactory = function (configuration, basePath, axios) {
|
|
|
463
537
|
downloadDocument: function (code, authorization, options) {
|
|
464
538
|
return localVarFp.downloadDocument(code, authorization, options).then(function (request) { return request(axios, basePath); });
|
|
465
539
|
},
|
|
540
|
+
/**
|
|
541
|
+
*
|
|
542
|
+
* @summary Get pre-signed url for downloading product document
|
|
543
|
+
* @param {string} productCode
|
|
544
|
+
* @param {string} code
|
|
545
|
+
* @param {string} [authorization] Bearer Token
|
|
546
|
+
* @param {*} [options] Override http request option.
|
|
547
|
+
* @throws {RequiredError}
|
|
548
|
+
*/
|
|
549
|
+
downloadProductDocumentUrl: function (productCode, code, authorization, options) {
|
|
550
|
+
return localVarFp.downloadProductDocumentUrl(productCode, code, authorization, options).then(function (request) { return request(axios, basePath); });
|
|
551
|
+
},
|
|
466
552
|
/**
|
|
467
553
|
* 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.
|
|
468
554
|
* @summary List documents
|
|
@@ -533,6 +619,18 @@ var DocumentsApi = /** @class */ (function (_super) {
|
|
|
533
619
|
var _this = this;
|
|
534
620
|
return (0, exports.DocumentsApiFp)(this.configuration).downloadDocument(requestParameters.code, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
535
621
|
};
|
|
622
|
+
/**
|
|
623
|
+
*
|
|
624
|
+
* @summary Get pre-signed url for downloading product document
|
|
625
|
+
* @param {DocumentsApiDownloadProductDocumentUrlRequest} requestParameters Request parameters.
|
|
626
|
+
* @param {*} [options] Override http request option.
|
|
627
|
+
* @throws {RequiredError}
|
|
628
|
+
* @memberof DocumentsApi
|
|
629
|
+
*/
|
|
630
|
+
DocumentsApi.prototype.downloadProductDocumentUrl = function (requestParameters, options) {
|
|
631
|
+
var _this = this;
|
|
632
|
+
return (0, exports.DocumentsApiFp)(this.configuration).downloadProductDocumentUrl(requestParameters.productCode, requestParameters.code, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
633
|
+
};
|
|
536
634
|
/**
|
|
537
635
|
* 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.
|
|
538
636
|
* @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
|
|
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
|
|
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
|
|
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
|
|
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.
|