@emilgroup/public-api-sdk-node 1.7.0 → 1.9.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 +8 -0
- package/README.md +2 -2
- package/api/address-completions-validations-api.ts +352 -0
- package/api/documents-api.ts +41 -53
- package/api/payments-setup-api.ts +104 -0
- package/api/products-api.ts +12 -12
- package/api.ts +2 -0
- package/base.ts +1 -1
- package/dist/api/address-completions-validations-api.d.ts +197 -0
- package/dist/api/address-completions-validations-api.js +361 -0
- package/dist/api/documents-api.d.ts +36 -45
- package/dist/api/documents-api.js +23 -28
- package/dist/api/payments-setup-api.d.ts +56 -0
- package/dist/api/payments-setup-api.js +93 -0
- package/dist/api/products-api.d.ts +12 -12
- package/dist/api/products-api.js +9 -9
- package/dist/api.d.ts +1 -0
- package/dist/api.js +1 -0
- package/dist/base.js +1 -1
- package/dist/models/address-completion-item-class.d.ts +49 -0
- package/dist/models/address-completion-item-class.js +15 -0
- package/dist/models/address-completion-response-class.d.ts +25 -0
- package/dist/models/address-completion-response-class.js +15 -0
- package/dist/models/address-field-score-class.d.ts +48 -0
- package/dist/models/address-field-score-class.js +15 -0
- package/dist/models/create-lead-request-dto.d.ts +14 -15
- package/dist/models/create-lead-request-dto.js +0 -7
- package/dist/models/get-public-psp-settings-response-class.d.ts +30 -0
- package/dist/models/get-public-psp-settings-response-class.js +15 -0
- package/dist/models/index.d.ts +7 -0
- package/dist/models/index.js +7 -0
- package/dist/models/insured-object-class.d.ts +18 -0
- package/dist/models/lead-class.d.ts +7 -0
- package/dist/models/product-field-class.d.ts +12 -0
- package/dist/models/structured-address-class.d.ts +54 -0
- package/dist/models/structured-address-class.js +15 -0
- package/dist/models/suggested-address-details-class.d.ts +90 -0
- package/dist/models/suggested-address-details-class.js +15 -0
- package/dist/models/update-lead-request-dto.d.ts +3 -17
- package/dist/models/update-lead-request-dto.js +0 -7
- package/dist/models/validate-address-response-class.d.ts +50 -0
- package/dist/models/validate-address-response-class.js +15 -0
- package/models/address-completion-item-class.ts +55 -0
- package/models/address-completion-response-class.ts +31 -0
- package/models/address-field-score-class.ts +54 -0
- package/models/create-lead-request-dto.ts +14 -18
- package/models/get-public-psp-settings-response-class.ts +36 -0
- package/models/index.ts +7 -0
- package/models/insured-object-class.ts +18 -0
- package/models/lead-class.ts +7 -0
- package/models/product-field-class.ts +12 -0
- package/models/structured-address-class.ts +60 -0
- package/models/suggested-address-details-class.ts +96 -0
- package/models/update-lead-request-dto.ts +3 -20
- package/models/validate-address-response-class.ts +56 -0
- package/package.json +1 -1
|
@@ -196,23 +196,24 @@ var DocumentsApiAxiosParamCreator = function (configuration) {
|
|
|
196
196
|
/**
|
|
197
197
|
* 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
198
|
* @summary List documents
|
|
199
|
+
* @param {string} filter Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.
|
|
199
200
|
* @param {string} [authorization] Bearer Token
|
|
200
|
-
* @param {
|
|
201
|
-
* @param {
|
|
202
|
-
* @param {
|
|
203
|
-
* @param {
|
|
204
|
-
* @param {any} [order] The order parameter determines how the results should be sorted according to a specified field. It functions similarly to an SQL ORDER BY. Sorting can be performed in either ascending (ASC) or descending (DESC) order. Default: ASC.
|
|
205
|
-
* @param {any} [expand] Use this parameter to fetch additional information about the list items. The expand query parameter increases the set of fields that appear in the response in addition to the default ones. Expanding resources can reduce the number of API calls required to accomplish a task. However, use this with parsimony as some expanded fields can drastically increase payload size.
|
|
201
|
+
* @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 100. Default: 10.
|
|
202
|
+
* @param {string} [pageToken] A cursor for use in pagination. pageToken is an ID that defines your place in the list. For instance, if you make a list request and receive 100 objects and pageToken=1, your subsequent call can include pageToken=2 in order to fetch the next page of the list.
|
|
203
|
+
* @param {string} [order] The order parameter determines how the results should be sorted according to a specified field. It functions similarly to an SQL ORDER BY. Sorting can be performed in either ascending (ASC) or descending (DESC) order. Default: ASC.
|
|
204
|
+
* @param {string} [expand] Use this parameter to fetch additional information about the list items. The expand query parameter increases the set of fields that appear in the response in addition to the default ones. Expanding resources can reduce the number of API calls required to accomplish a task. However, use this with parsimony as some expanded fields can drastically increase payload size.
|
|
206
205
|
* @param {*} [options] Override http request option.
|
|
207
206
|
* @throws {RequiredError}
|
|
208
207
|
*/
|
|
209
|
-
listDocuments: function (authorization, pageSize, pageToken,
|
|
208
|
+
listDocuments: function (filter, authorization, pageSize, pageToken, order, expand, options) {
|
|
210
209
|
if (options === void 0) { options = {}; }
|
|
211
210
|
return __awaiter(_this, void 0, void 0, function () {
|
|
212
211
|
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
213
212
|
return __generator(this, function (_a) {
|
|
214
213
|
switch (_a.label) {
|
|
215
214
|
case 0:
|
|
215
|
+
// verify required parameter 'filter' is not null or undefined
|
|
216
|
+
(0, common_1.assertParamExists)('listDocuments', 'filter', filter);
|
|
216
217
|
localVarPath = "/publicapi/v1/documents";
|
|
217
218
|
localVarUrlObj = new url_1.URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
218
219
|
if (configuration) {
|
|
@@ -238,9 +239,6 @@ var DocumentsApiAxiosParamCreator = function (configuration) {
|
|
|
238
239
|
if (filter !== undefined) {
|
|
239
240
|
localVarQueryParameter['filter'] = filter;
|
|
240
241
|
}
|
|
241
|
-
if (search !== undefined) {
|
|
242
|
-
localVarQueryParameter['search'] = search;
|
|
243
|
-
}
|
|
244
242
|
if (order !== undefined) {
|
|
245
243
|
localVarQueryParameter['order'] = order;
|
|
246
244
|
}
|
|
@@ -316,22 +314,21 @@ var DocumentsApiFp = function (configuration) {
|
|
|
316
314
|
/**
|
|
317
315
|
* 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.
|
|
318
316
|
* @summary List documents
|
|
317
|
+
* @param {string} filter Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.
|
|
319
318
|
* @param {string} [authorization] Bearer Token
|
|
320
|
-
* @param {
|
|
321
|
-
* @param {
|
|
322
|
-
* @param {
|
|
323
|
-
* @param {
|
|
324
|
-
* @param {any} [order] The order parameter determines how the results should be sorted according to a specified field. It functions similarly to an SQL ORDER BY. Sorting can be performed in either ascending (ASC) or descending (DESC) order. Default: ASC.
|
|
325
|
-
* @param {any} [expand] Use this parameter to fetch additional information about the list items. The expand query parameter increases the set of fields that appear in the response in addition to the default ones. Expanding resources can reduce the number of API calls required to accomplish a task. However, use this with parsimony as some expanded fields can drastically increase payload size.
|
|
319
|
+
* @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 100. Default: 10.
|
|
320
|
+
* @param {string} [pageToken] A cursor for use in pagination. pageToken is an ID that defines your place in the list. For instance, if you make a list request and receive 100 objects and pageToken=1, your subsequent call can include pageToken=2 in order to fetch the next page of the list.
|
|
321
|
+
* @param {string} [order] The order parameter determines how the results should be sorted according to a specified field. It functions similarly to an SQL ORDER BY. Sorting can be performed in either ascending (ASC) or descending (DESC) order. Default: ASC.
|
|
322
|
+
* @param {string} [expand] Use this parameter to fetch additional information about the list items. The expand query parameter increases the set of fields that appear in the response in addition to the default ones. Expanding resources can reduce the number of API calls required to accomplish a task. However, use this with parsimony as some expanded fields can drastically increase payload size.
|
|
326
323
|
* @param {*} [options] Override http request option.
|
|
327
324
|
* @throws {RequiredError}
|
|
328
325
|
*/
|
|
329
|
-
listDocuments: function (authorization, pageSize, pageToken,
|
|
326
|
+
listDocuments: function (filter, authorization, pageSize, pageToken, order, expand, options) {
|
|
330
327
|
return __awaiter(this, void 0, void 0, function () {
|
|
331
328
|
var localVarAxiosArgs;
|
|
332
329
|
return __generator(this, function (_a) {
|
|
333
330
|
switch (_a.label) {
|
|
334
|
-
case 0: return [4 /*yield*/, localVarAxiosParamCreator.listDocuments(authorization, pageSize, pageToken,
|
|
331
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.listDocuments(filter, authorization, pageSize, pageToken, order, expand, options)];
|
|
335
332
|
case 1:
|
|
336
333
|
localVarAxiosArgs = _a.sent();
|
|
337
334
|
return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
@@ -374,18 +371,17 @@ var DocumentsApiFactory = function (configuration, basePath, axios) {
|
|
|
374
371
|
/**
|
|
375
372
|
* 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.
|
|
376
373
|
* @summary List documents
|
|
374
|
+
* @param {string} filter Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.
|
|
377
375
|
* @param {string} [authorization] Bearer Token
|
|
378
|
-
* @param {
|
|
379
|
-
* @param {
|
|
380
|
-
* @param {
|
|
381
|
-
* @param {
|
|
382
|
-
* @param {any} [order] The order parameter determines how the results should be sorted according to a specified field. It functions similarly to an SQL ORDER BY. Sorting can be performed in either ascending (ASC) or descending (DESC) order. Default: ASC.
|
|
383
|
-
* @param {any} [expand] Use this parameter to fetch additional information about the list items. The expand query parameter increases the set of fields that appear in the response in addition to the default ones. Expanding resources can reduce the number of API calls required to accomplish a task. However, use this with parsimony as some expanded fields can drastically increase payload size.
|
|
376
|
+
* @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 100. Default: 10.
|
|
377
|
+
* @param {string} [pageToken] A cursor for use in pagination. pageToken is an ID that defines your place in the list. For instance, if you make a list request and receive 100 objects and pageToken=1, your subsequent call can include pageToken=2 in order to fetch the next page of the list.
|
|
378
|
+
* @param {string} [order] The order parameter determines how the results should be sorted according to a specified field. It functions similarly to an SQL ORDER BY. Sorting can be performed in either ascending (ASC) or descending (DESC) order. Default: ASC.
|
|
379
|
+
* @param {string} [expand] Use this parameter to fetch additional information about the list items. The expand query parameter increases the set of fields that appear in the response in addition to the default ones. Expanding resources can reduce the number of API calls required to accomplish a task. However, use this with parsimony as some expanded fields can drastically increase payload size.
|
|
384
380
|
* @param {*} [options] Override http request option.
|
|
385
381
|
* @throws {RequiredError}
|
|
386
382
|
*/
|
|
387
|
-
listDocuments: function (authorization, pageSize, pageToken,
|
|
388
|
-
return localVarFp.listDocuments(authorization, pageSize, pageToken,
|
|
383
|
+
listDocuments: function (filter, authorization, pageSize, pageToken, order, expand, options) {
|
|
384
|
+
return localVarFp.listDocuments(filter, authorization, pageSize, pageToken, order, expand, options).then(function (request) { return request(axios, basePath); });
|
|
389
385
|
},
|
|
390
386
|
};
|
|
391
387
|
};
|
|
@@ -435,8 +431,7 @@ var DocumentsApi = /** @class */ (function (_super) {
|
|
|
435
431
|
*/
|
|
436
432
|
DocumentsApi.prototype.listDocuments = function (requestParameters, options) {
|
|
437
433
|
var _this = this;
|
|
438
|
-
|
|
439
|
-
return (0, exports.DocumentsApiFp)(this.configuration).listDocuments(requestParameters.authorization, requestParameters.pageSize, requestParameters.pageToken, requestParameters.filter, requestParameters.search, requestParameters.order, requestParameters.expand, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
434
|
+
return (0, exports.DocumentsApiFp)(this.configuration).listDocuments(requestParameters.filter, requestParameters.authorization, requestParameters.pageSize, requestParameters.pageToken, requestParameters.order, requestParameters.expand, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
440
435
|
};
|
|
441
436
|
return DocumentsApi;
|
|
442
437
|
}(base_1.BaseAPI));
|
|
@@ -14,6 +14,7 @@ import { Configuration } from '../configuration';
|
|
|
14
14
|
import { RequestArgs, BaseAPI } from '../base';
|
|
15
15
|
import { CompletePaymentSetupRequestDto } from '../models';
|
|
16
16
|
import { CompletePaymentSetupResponseClass } from '../models';
|
|
17
|
+
import { GetPublicPspSettingsResponseClass } from '../models';
|
|
17
18
|
import { InitiatePaymentSetupRequestDto } from '../models';
|
|
18
19
|
import { InitiatePaymentSetupResponseClass } from '../models';
|
|
19
20
|
/**
|
|
@@ -31,6 +32,15 @@ export declare const PaymentsSetupApiAxiosParamCreator: (configuration?: Configu
|
|
|
31
32
|
* @throws {RequiredError}
|
|
32
33
|
*/
|
|
33
34
|
completePaymentSetup: (completePaymentSetupRequestDto: CompletePaymentSetupRequestDto, idempotencyKey?: string, authorization?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
35
|
+
/**
|
|
36
|
+
* This will send the customer the public key to load the payment form and complete the payment setup.
|
|
37
|
+
* @summary Get public key and psp
|
|
38
|
+
* @param {string} [idempotencyKey] An idempotency key is a unique value generated by the client which the server uses to recognize subsequent retries of the same request. How you create unique keys is up to you, but we suggest using V4 UUIDs, or another random string with enough entropy to avoid collisions. Idempotency keys can be up to 255 characters long.
|
|
39
|
+
* @param {string} [authorization] Bearer Token
|
|
40
|
+
* @param {*} [options] Override http request option.
|
|
41
|
+
* @throws {RequiredError}
|
|
42
|
+
*/
|
|
43
|
+
getPublicPSPConfig: (idempotencyKey?: string, authorization?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
34
44
|
/**
|
|
35
45
|
* This will Initiate an account inside the payment service providers and they will generate a secret token which is allow user add its payment information.
|
|
36
46
|
* @summary Initiate a payment setup
|
|
@@ -57,6 +67,15 @@ export declare const PaymentsSetupApiFp: (configuration?: Configuration) => {
|
|
|
57
67
|
* @throws {RequiredError}
|
|
58
68
|
*/
|
|
59
69
|
completePaymentSetup(completePaymentSetupRequestDto: CompletePaymentSetupRequestDto, idempotencyKey?: string, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CompletePaymentSetupResponseClass>>;
|
|
70
|
+
/**
|
|
71
|
+
* This will send the customer the public key to load the payment form and complete the payment setup.
|
|
72
|
+
* @summary Get public key and psp
|
|
73
|
+
* @param {string} [idempotencyKey] An idempotency key is a unique value generated by the client which the server uses to recognize subsequent retries of the same request. How you create unique keys is up to you, but we suggest using V4 UUIDs, or another random string with enough entropy to avoid collisions. Idempotency keys can be up to 255 characters long.
|
|
74
|
+
* @param {string} [authorization] Bearer Token
|
|
75
|
+
* @param {*} [options] Override http request option.
|
|
76
|
+
* @throws {RequiredError}
|
|
77
|
+
*/
|
|
78
|
+
getPublicPSPConfig(idempotencyKey?: string, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetPublicPspSettingsResponseClass>>;
|
|
60
79
|
/**
|
|
61
80
|
* This will Initiate an account inside the payment service providers and they will generate a secret token which is allow user add its payment information.
|
|
62
81
|
* @summary Initiate a payment setup
|
|
@@ -83,6 +102,15 @@ export declare const PaymentsSetupApiFactory: (configuration?: Configuration, ba
|
|
|
83
102
|
* @throws {RequiredError}
|
|
84
103
|
*/
|
|
85
104
|
completePaymentSetup(completePaymentSetupRequestDto: CompletePaymentSetupRequestDto, idempotencyKey?: string, authorization?: string, options?: any): AxiosPromise<CompletePaymentSetupResponseClass>;
|
|
105
|
+
/**
|
|
106
|
+
* This will send the customer the public key to load the payment form and complete the payment setup.
|
|
107
|
+
* @summary Get public key and psp
|
|
108
|
+
* @param {string} [idempotencyKey] An idempotency key is a unique value generated by the client which the server uses to recognize subsequent retries of the same request. How you create unique keys is up to you, but we suggest using V4 UUIDs, or another random string with enough entropy to avoid collisions. Idempotency keys can be up to 255 characters long.
|
|
109
|
+
* @param {string} [authorization] Bearer Token
|
|
110
|
+
* @param {*} [options] Override http request option.
|
|
111
|
+
* @throws {RequiredError}
|
|
112
|
+
*/
|
|
113
|
+
getPublicPSPConfig(idempotencyKey?: string, authorization?: string, options?: any): AxiosPromise<GetPublicPspSettingsResponseClass>;
|
|
86
114
|
/**
|
|
87
115
|
* This will Initiate an account inside the payment service providers and they will generate a secret token which is allow user add its payment information.
|
|
88
116
|
* @summary Initiate a payment setup
|
|
@@ -119,6 +147,25 @@ export interface PaymentsSetupApiCompletePaymentSetupRequest {
|
|
|
119
147
|
*/
|
|
120
148
|
readonly authorization?: string;
|
|
121
149
|
}
|
|
150
|
+
/**
|
|
151
|
+
* Request parameters for getPublicPSPConfig operation in PaymentsSetupApi.
|
|
152
|
+
* @export
|
|
153
|
+
* @interface PaymentsSetupApiGetPublicPSPConfigRequest
|
|
154
|
+
*/
|
|
155
|
+
export interface PaymentsSetupApiGetPublicPSPConfigRequest {
|
|
156
|
+
/**
|
|
157
|
+
* An idempotency key is a unique value generated by the client which the server uses to recognize subsequent retries of the same request. How you create unique keys is up to you, but we suggest using V4 UUIDs, or another random string with enough entropy to avoid collisions. Idempotency keys can be up to 255 characters long.
|
|
158
|
+
* @type {string}
|
|
159
|
+
* @memberof PaymentsSetupApiGetPublicPSPConfig
|
|
160
|
+
*/
|
|
161
|
+
readonly idempotencyKey?: string;
|
|
162
|
+
/**
|
|
163
|
+
* Bearer Token
|
|
164
|
+
* @type {string}
|
|
165
|
+
* @memberof PaymentsSetupApiGetPublicPSPConfig
|
|
166
|
+
*/
|
|
167
|
+
readonly authorization?: string;
|
|
168
|
+
}
|
|
122
169
|
/**
|
|
123
170
|
* Request parameters for initiatePaymentSetup operation in PaymentsSetupApi.
|
|
124
171
|
* @export
|
|
@@ -160,6 +207,15 @@ export declare class PaymentsSetupApi extends BaseAPI {
|
|
|
160
207
|
* @memberof PaymentsSetupApi
|
|
161
208
|
*/
|
|
162
209
|
completePaymentSetup(requestParameters: PaymentsSetupApiCompletePaymentSetupRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<CompletePaymentSetupResponseClass, any>>;
|
|
210
|
+
/**
|
|
211
|
+
* This will send the customer the public key to load the payment form and complete the payment setup.
|
|
212
|
+
* @summary Get public key and psp
|
|
213
|
+
* @param {PaymentsSetupApiGetPublicPSPConfigRequest} requestParameters Request parameters.
|
|
214
|
+
* @param {*} [options] Override http request option.
|
|
215
|
+
* @throws {RequiredError}
|
|
216
|
+
* @memberof PaymentsSetupApi
|
|
217
|
+
*/
|
|
218
|
+
getPublicPSPConfig(requestParameters?: PaymentsSetupApiGetPublicPSPConfigRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<GetPublicPspSettingsResponseClass, any>>;
|
|
163
219
|
/**
|
|
164
220
|
* This will Initiate an account inside the payment service providers and they will generate a secret token which is allow user add its payment information.
|
|
165
221
|
* @summary Initiate a payment setup
|
|
@@ -149,6 +149,54 @@ var PaymentsSetupApiAxiosParamCreator = function (configuration) {
|
|
|
149
149
|
});
|
|
150
150
|
});
|
|
151
151
|
},
|
|
152
|
+
/**
|
|
153
|
+
* This will send the customer the public key to load the payment form and complete the payment setup.
|
|
154
|
+
* @summary Get public key and psp
|
|
155
|
+
* @param {string} [idempotencyKey] An idempotency key is a unique value generated by the client which the server uses to recognize subsequent retries of the same request. How you create unique keys is up to you, but we suggest using V4 UUIDs, or another random string with enough entropy to avoid collisions. Idempotency keys can be up to 255 characters long.
|
|
156
|
+
* @param {string} [authorization] Bearer Token
|
|
157
|
+
* @param {*} [options] Override http request option.
|
|
158
|
+
* @throws {RequiredError}
|
|
159
|
+
*/
|
|
160
|
+
getPublicPSPConfig: function (idempotencyKey, authorization, options) {
|
|
161
|
+
if (options === void 0) { options = {}; }
|
|
162
|
+
return __awaiter(_this, void 0, void 0, function () {
|
|
163
|
+
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
164
|
+
return __generator(this, function (_a) {
|
|
165
|
+
switch (_a.label) {
|
|
166
|
+
case 0:
|
|
167
|
+
localVarPath = "/publicapi/v1/payment-setup/get-psp-config";
|
|
168
|
+
localVarUrlObj = new url_1.URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
169
|
+
if (configuration) {
|
|
170
|
+
baseOptions = configuration.baseOptions;
|
|
171
|
+
baseAccessToken = configuration.accessToken;
|
|
172
|
+
}
|
|
173
|
+
localVarRequestOptions = __assign(__assign({ method: 'GET' }, baseOptions), options);
|
|
174
|
+
localVarHeaderParameter = {};
|
|
175
|
+
localVarQueryParameter = {};
|
|
176
|
+
// authentication bearer required
|
|
177
|
+
// http bearer authentication required
|
|
178
|
+
return [4 /*yield*/, (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration)];
|
|
179
|
+
case 1:
|
|
180
|
+
// authentication bearer required
|
|
181
|
+
// http bearer authentication required
|
|
182
|
+
_a.sent();
|
|
183
|
+
if (idempotencyKey !== undefined && idempotencyKey !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
|
|
184
|
+
localVarHeaderParameter['Idempotency-Key'] = String(idempotencyKey ? idempotencyKey : baseAccessToken);
|
|
185
|
+
}
|
|
186
|
+
if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
|
|
187
|
+
localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
|
|
188
|
+
}
|
|
189
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
190
|
+
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
191
|
+
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
192
|
+
return [2 /*return*/, {
|
|
193
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
194
|
+
options: localVarRequestOptions,
|
|
195
|
+
}];
|
|
196
|
+
}
|
|
197
|
+
});
|
|
198
|
+
});
|
|
199
|
+
},
|
|
152
200
|
/**
|
|
153
201
|
* This will Initiate an account inside the payment service providers and they will generate a secret token which is allow user add its payment information.
|
|
154
202
|
* @summary Initiate a payment setup
|
|
@@ -234,6 +282,27 @@ var PaymentsSetupApiFp = function (configuration) {
|
|
|
234
282
|
});
|
|
235
283
|
});
|
|
236
284
|
},
|
|
285
|
+
/**
|
|
286
|
+
* This will send the customer the public key to load the payment form and complete the payment setup.
|
|
287
|
+
* @summary Get public key and psp
|
|
288
|
+
* @param {string} [idempotencyKey] An idempotency key is a unique value generated by the client which the server uses to recognize subsequent retries of the same request. How you create unique keys is up to you, but we suggest using V4 UUIDs, or another random string with enough entropy to avoid collisions. Idempotency keys can be up to 255 characters long.
|
|
289
|
+
* @param {string} [authorization] Bearer Token
|
|
290
|
+
* @param {*} [options] Override http request option.
|
|
291
|
+
* @throws {RequiredError}
|
|
292
|
+
*/
|
|
293
|
+
getPublicPSPConfig: function (idempotencyKey, authorization, options) {
|
|
294
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
295
|
+
var localVarAxiosArgs;
|
|
296
|
+
return __generator(this, function (_a) {
|
|
297
|
+
switch (_a.label) {
|
|
298
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.getPublicPSPConfig(idempotencyKey, authorization, options)];
|
|
299
|
+
case 1:
|
|
300
|
+
localVarAxiosArgs = _a.sent();
|
|
301
|
+
return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
302
|
+
}
|
|
303
|
+
});
|
|
304
|
+
});
|
|
305
|
+
},
|
|
237
306
|
/**
|
|
238
307
|
* This will Initiate an account inside the payment service providers and they will generate a secret token which is allow user add its payment information.
|
|
239
308
|
* @summary Initiate a payment setup
|
|
@@ -278,6 +347,17 @@ var PaymentsSetupApiFactory = function (configuration, basePath, axios) {
|
|
|
278
347
|
completePaymentSetup: function (completePaymentSetupRequestDto, idempotencyKey, authorization, options) {
|
|
279
348
|
return localVarFp.completePaymentSetup(completePaymentSetupRequestDto, idempotencyKey, authorization, options).then(function (request) { return request(axios, basePath); });
|
|
280
349
|
},
|
|
350
|
+
/**
|
|
351
|
+
* This will send the customer the public key to load the payment form and complete the payment setup.
|
|
352
|
+
* @summary Get public key and psp
|
|
353
|
+
* @param {string} [idempotencyKey] An idempotency key is a unique value generated by the client which the server uses to recognize subsequent retries of the same request. How you create unique keys is up to you, but we suggest using V4 UUIDs, or another random string with enough entropy to avoid collisions. Idempotency keys can be up to 255 characters long.
|
|
354
|
+
* @param {string} [authorization] Bearer Token
|
|
355
|
+
* @param {*} [options] Override http request option.
|
|
356
|
+
* @throws {RequiredError}
|
|
357
|
+
*/
|
|
358
|
+
getPublicPSPConfig: function (idempotencyKey, authorization, options) {
|
|
359
|
+
return localVarFp.getPublicPSPConfig(idempotencyKey, authorization, options).then(function (request) { return request(axios, basePath); });
|
|
360
|
+
},
|
|
281
361
|
/**
|
|
282
362
|
* This will Initiate an account inside the payment service providers and they will generate a secret token which is allow user add its payment information.
|
|
283
363
|
* @summary Initiate a payment setup
|
|
@@ -316,6 +396,19 @@ var PaymentsSetupApi = /** @class */ (function (_super) {
|
|
|
316
396
|
var _this = this;
|
|
317
397
|
return (0, exports.PaymentsSetupApiFp)(this.configuration).completePaymentSetup(requestParameters.completePaymentSetupRequestDto, requestParameters.idempotencyKey, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
318
398
|
};
|
|
399
|
+
/**
|
|
400
|
+
* This will send the customer the public key to load the payment form and complete the payment setup.
|
|
401
|
+
* @summary Get public key and psp
|
|
402
|
+
* @param {PaymentsSetupApiGetPublicPSPConfigRequest} requestParameters Request parameters.
|
|
403
|
+
* @param {*} [options] Override http request option.
|
|
404
|
+
* @throws {RequiredError}
|
|
405
|
+
* @memberof PaymentsSetupApi
|
|
406
|
+
*/
|
|
407
|
+
PaymentsSetupApi.prototype.getPublicPSPConfig = function (requestParameters, options) {
|
|
408
|
+
var _this = this;
|
|
409
|
+
if (requestParameters === void 0) { requestParameters = {}; }
|
|
410
|
+
return (0, exports.PaymentsSetupApiFp)(this.configuration).getPublicPSPConfig(requestParameters.idempotencyKey, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
411
|
+
};
|
|
319
412
|
/**
|
|
320
413
|
* This will Initiate an account inside the payment service providers and they will generate a secret token which is allow user add its payment information.
|
|
321
414
|
* @summary Initiate a payment setup
|
|
@@ -86,11 +86,11 @@ export declare const ProductsApiAxiosParamCreator: (configuration?: Configuratio
|
|
|
86
86
|
* Returns a list of products you have previously created. The products are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
|
|
87
87
|
* @summary List products
|
|
88
88
|
* @param {string} [authorization] Bearer Token
|
|
89
|
-
* @param {any} [pageSize] A limit on the number of objects to be returned.
|
|
90
|
-
* @param {any} [pageToken] A cursor for use in pagination.
|
|
89
|
+
* @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 100. Default: 10.
|
|
90
|
+
* @param {any} [pageToken] A cursor for use in pagination. pageToken is an ID that defines your place in the list. For instance, if you make a list request and receive 100 objects and pageToken=1, your subsequent call can include pageToken=2 in order to fetch the next page of the list.
|
|
91
91
|
* @param {any} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.
|
|
92
92
|
* @param {any} [search] Search the list by any field. For instance, if you want to search by code add code=xxx in order to fetch the result.
|
|
93
|
-
* @param {any} [order] The order parameter determines how the results should be sorted according to a specified field.
|
|
93
|
+
* @param {any} [order] The order parameter determines how the results should be sorted according to a specified field. It functions similarly to an SQL ORDER BY. Sorting can be performed in either ascending (ASC) or descending (DESC) order. Default: ASC.
|
|
94
94
|
* @param {any} [expand] You can expand product versions and insured object types list in this endpoint.
|
|
95
95
|
* @param {*} [options] Override http request option.
|
|
96
96
|
* @throws {RequiredError}
|
|
@@ -162,11 +162,11 @@ export declare const ProductsApiFp: (configuration?: Configuration) => {
|
|
|
162
162
|
* Returns a list of products you have previously created. The products are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
|
|
163
163
|
* @summary List products
|
|
164
164
|
* @param {string} [authorization] Bearer Token
|
|
165
|
-
* @param {any} [pageSize] A limit on the number of objects to be returned.
|
|
166
|
-
* @param {any} [pageToken] A cursor for use in pagination.
|
|
165
|
+
* @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 100. Default: 10.
|
|
166
|
+
* @param {any} [pageToken] A cursor for use in pagination. pageToken is an ID that defines your place in the list. For instance, if you make a list request and receive 100 objects and pageToken=1, your subsequent call can include pageToken=2 in order to fetch the next page of the list.
|
|
167
167
|
* @param {any} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.
|
|
168
168
|
* @param {any} [search] Search the list by any field. For instance, if you want to search by code add code=xxx in order to fetch the result.
|
|
169
|
-
* @param {any} [order] The order parameter determines how the results should be sorted according to a specified field.
|
|
169
|
+
* @param {any} [order] The order parameter determines how the results should be sorted according to a specified field. It functions similarly to an SQL ORDER BY. Sorting can be performed in either ascending (ASC) or descending (DESC) order. Default: ASC.
|
|
170
170
|
* @param {any} [expand] You can expand product versions and insured object types list in this endpoint.
|
|
171
171
|
* @param {*} [options] Override http request option.
|
|
172
172
|
* @throws {RequiredError}
|
|
@@ -238,11 +238,11 @@ export declare const ProductsApiFactory: (configuration?: Configuration, basePat
|
|
|
238
238
|
* Returns a list of products you have previously created. The products are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
|
|
239
239
|
* @summary List products
|
|
240
240
|
* @param {string} [authorization] Bearer Token
|
|
241
|
-
* @param {any} [pageSize] A limit on the number of objects to be returned.
|
|
242
|
-
* @param {any} [pageToken] A cursor for use in pagination.
|
|
241
|
+
* @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 100. Default: 10.
|
|
242
|
+
* @param {any} [pageToken] A cursor for use in pagination. pageToken is an ID that defines your place in the list. For instance, if you make a list request and receive 100 objects and pageToken=1, your subsequent call can include pageToken=2 in order to fetch the next page of the list.
|
|
243
243
|
* @param {any} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.
|
|
244
244
|
* @param {any} [search] Search the list by any field. For instance, if you want to search by code add code=xxx in order to fetch the result.
|
|
245
|
-
* @param {any} [order] The order parameter determines how the results should be sorted according to a specified field.
|
|
245
|
+
* @param {any} [order] The order parameter determines how the results should be sorted according to a specified field. It functions similarly to an SQL ORDER BY. Sorting can be performed in either ascending (ASC) or descending (DESC) order. Default: ASC.
|
|
246
246
|
* @param {any} [expand] You can expand product versions and insured object types list in this endpoint.
|
|
247
247
|
* @param {*} [options] Override http request option.
|
|
248
248
|
* @throws {RequiredError}
|
|
@@ -388,13 +388,13 @@ export interface ProductsApiListProductsRequest {
|
|
|
388
388
|
*/
|
|
389
389
|
readonly authorization?: string;
|
|
390
390
|
/**
|
|
391
|
-
* A limit on the number of objects to be returned.
|
|
391
|
+
* A limit on the number of objects to be returned. Limit ranges between 1 and 100. Default: 10.
|
|
392
392
|
* @type {any}
|
|
393
393
|
* @memberof ProductsApiListProducts
|
|
394
394
|
*/
|
|
395
395
|
readonly pageSize?: any;
|
|
396
396
|
/**
|
|
397
|
-
* A cursor for use in pagination.
|
|
397
|
+
* A cursor for use in pagination. pageToken is an ID that defines your place in the list. For instance, if you make a list request and receive 100 objects and pageToken=1, your subsequent call can include pageToken=2 in order to fetch the next page of the list.
|
|
398
398
|
* @type {any}
|
|
399
399
|
* @memberof ProductsApiListProducts
|
|
400
400
|
*/
|
|
@@ -412,7 +412,7 @@ export interface ProductsApiListProductsRequest {
|
|
|
412
412
|
*/
|
|
413
413
|
readonly search?: any;
|
|
414
414
|
/**
|
|
415
|
-
* The order parameter determines how the results should be sorted according to a specified field.
|
|
415
|
+
* The order parameter determines how the results should be sorted according to a specified field. It functions similarly to an SQL ORDER BY. Sorting can be performed in either ascending (ASC) or descending (DESC) order. Default: ASC.
|
|
416
416
|
* @type {any}
|
|
417
417
|
* @memberof ProductsApiListProducts
|
|
418
418
|
*/
|
package/dist/api/products-api.js
CHANGED
|
@@ -400,11 +400,11 @@ var ProductsApiAxiosParamCreator = function (configuration) {
|
|
|
400
400
|
* Returns a list of products you have previously created. The products are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
|
|
401
401
|
* @summary List products
|
|
402
402
|
* @param {string} [authorization] Bearer Token
|
|
403
|
-
* @param {any} [pageSize] A limit on the number of objects to be returned.
|
|
404
|
-
* @param {any} [pageToken] A cursor for use in pagination.
|
|
403
|
+
* @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 100. Default: 10.
|
|
404
|
+
* @param {any} [pageToken] A cursor for use in pagination. pageToken is an ID that defines your place in the list. For instance, if you make a list request and receive 100 objects and pageToken=1, your subsequent call can include pageToken=2 in order to fetch the next page of the list.
|
|
405
405
|
* @param {any} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.
|
|
406
406
|
* @param {any} [search] Search the list by any field. For instance, if you want to search by code add code=xxx in order to fetch the result.
|
|
407
|
-
* @param {any} [order] The order parameter determines how the results should be sorted according to a specified field.
|
|
407
|
+
* @param {any} [order] The order parameter determines how the results should be sorted according to a specified field. It functions similarly to an SQL ORDER BY. Sorting can be performed in either ascending (ASC) or descending (DESC) order. Default: ASC.
|
|
408
408
|
* @param {any} [expand] You can expand product versions and insured object types list in this endpoint.
|
|
409
409
|
* @param {*} [options] Override http request option.
|
|
410
410
|
* @throws {RequiredError}
|
|
@@ -606,11 +606,11 @@ var ProductsApiFp = function (configuration) {
|
|
|
606
606
|
* Returns a list of products you have previously created. The products are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
|
|
607
607
|
* @summary List products
|
|
608
608
|
* @param {string} [authorization] Bearer Token
|
|
609
|
-
* @param {any} [pageSize] A limit on the number of objects to be returned.
|
|
610
|
-
* @param {any} [pageToken] A cursor for use in pagination.
|
|
609
|
+
* @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 100. Default: 10.
|
|
610
|
+
* @param {any} [pageToken] A cursor for use in pagination. pageToken is an ID that defines your place in the list. For instance, if you make a list request and receive 100 objects and pageToken=1, your subsequent call can include pageToken=2 in order to fetch the next page of the list.
|
|
611
611
|
* @param {any} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.
|
|
612
612
|
* @param {any} [search] Search the list by any field. For instance, if you want to search by code add code=xxx in order to fetch the result.
|
|
613
|
-
* @param {any} [order] The order parameter determines how the results should be sorted according to a specified field.
|
|
613
|
+
* @param {any} [order] The order parameter determines how the results should be sorted according to a specified field. It functions similarly to an SQL ORDER BY. Sorting can be performed in either ascending (ASC) or descending (DESC) order. Default: ASC.
|
|
614
614
|
* @param {any} [expand] You can expand product versions and insured object types list in this endpoint.
|
|
615
615
|
* @param {*} [options] Override http request option.
|
|
616
616
|
* @throws {RequiredError}
|
|
@@ -710,11 +710,11 @@ var ProductsApiFactory = function (configuration, basePath, axios) {
|
|
|
710
710
|
* Returns a list of products you have previously created. The products are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
|
|
711
711
|
* @summary List products
|
|
712
712
|
* @param {string} [authorization] Bearer Token
|
|
713
|
-
* @param {any} [pageSize] A limit on the number of objects to be returned.
|
|
714
|
-
* @param {any} [pageToken] A cursor for use in pagination.
|
|
713
|
+
* @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 100. Default: 10.
|
|
714
|
+
* @param {any} [pageToken] A cursor for use in pagination. pageToken is an ID that defines your place in the list. For instance, if you make a list request and receive 100 objects and pageToken=1, your subsequent call can include pageToken=2 in order to fetch the next page of the list.
|
|
715
715
|
* @param {any} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.
|
|
716
716
|
* @param {any} [search] Search the list by any field. For instance, if you want to search by code add code=xxx in order to fetch the result.
|
|
717
|
-
* @param {any} [order] The order parameter determines how the results should be sorted according to a specified field.
|
|
717
|
+
* @param {any} [order] The order parameter determines how the results should be sorted according to a specified field. It functions similarly to an SQL ORDER BY. Sorting can be performed in either ascending (ASC) or descending (DESC) order. Default: ASC.
|
|
718
718
|
* @param {any} [expand] You can expand product versions and insured object types list in this endpoint.
|
|
719
719
|
* @param {*} [options] Override http request option.
|
|
720
720
|
* @throws {RequiredError}
|
package/dist/api.d.ts
CHANGED
package/dist/api.js
CHANGED
|
@@ -27,6 +27,7 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
|
27
27
|
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
28
28
|
};
|
|
29
29
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
30
|
+
__exportStar(require("./api/address-completions-validations-api"), exports);
|
|
30
31
|
__exportStar(require("./api/documents-api"), exports);
|
|
31
32
|
__exportStar(require("./api/leads-api"), exports);
|
|
32
33
|
__exportStar(require("./api/notifications-api"), exports);
|
package/dist/base.js
CHANGED
|
@@ -109,7 +109,7 @@ var axios_1 = __importDefault(require("axios"));
|
|
|
109
109
|
var fs = __importStar(require("fs"));
|
|
110
110
|
var path = __importStar(require("path"));
|
|
111
111
|
var os = __importStar(require("os"));
|
|
112
|
-
exports.BASE_PATH = "
|
|
112
|
+
exports.BASE_PATH = "https://apiv2.emil.de".replace(/\/+$/, "");
|
|
113
113
|
var CONFIG_DIRECTORY = '.emil';
|
|
114
114
|
var CONFIG_FILENAME = 'credentials';
|
|
115
115
|
var KEY_USERNAME = 'emil_username';
|
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Emil PublicAPI
|
|
3
|
+
* The Emil Public API description
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 1.0
|
|
6
|
+
* Contact: kontakt@emil.de
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
import { SuggestedAddressDetailsClass } from './suggested-address-details-class';
|
|
13
|
+
/**
|
|
14
|
+
*
|
|
15
|
+
* @export
|
|
16
|
+
* @interface AddressCompletionItemClass
|
|
17
|
+
*/
|
|
18
|
+
export interface AddressCompletionItemClass {
|
|
19
|
+
/**
|
|
20
|
+
* Detailed breakdown of the address suggestion
|
|
21
|
+
* @type {SuggestedAddressDetailsClass}
|
|
22
|
+
* @memberof AddressCompletionItemClass
|
|
23
|
+
*/
|
|
24
|
+
'addressDetails': SuggestedAddressDetailsClass;
|
|
25
|
+
/**
|
|
26
|
+
* The Suggestion ID
|
|
27
|
+
* @type {string}
|
|
28
|
+
* @memberof AddressCompletionItemClass
|
|
29
|
+
*/
|
|
30
|
+
'id': string;
|
|
31
|
+
/**
|
|
32
|
+
* Language of the suggestion
|
|
33
|
+
* @type {string}
|
|
34
|
+
* @memberof AddressCompletionItemClass
|
|
35
|
+
*/
|
|
36
|
+
'language': string;
|
|
37
|
+
/**
|
|
38
|
+
* Title of the suggestion, one liner address
|
|
39
|
+
* @type {string}
|
|
40
|
+
* @memberof AddressCompletionItemClass
|
|
41
|
+
*/
|
|
42
|
+
'title': string;
|
|
43
|
+
/**
|
|
44
|
+
* Indicates the granularity of the suggestion to a street or a house number
|
|
45
|
+
* @type {string}
|
|
46
|
+
* @memberof AddressCompletionItemClass
|
|
47
|
+
*/
|
|
48
|
+
'resultType'?: string;
|
|
49
|
+
}
|
|
@@ -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,25 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Emil PublicAPI
|
|
3
|
+
* The Emil Public API description
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 1.0
|
|
6
|
+
* Contact: kontakt@emil.de
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
import { AddressCompletionItemClass } from './address-completion-item-class';
|
|
13
|
+
/**
|
|
14
|
+
*
|
|
15
|
+
* @export
|
|
16
|
+
* @interface AddressCompletionResponseClass
|
|
17
|
+
*/
|
|
18
|
+
export interface AddressCompletionResponseClass {
|
|
19
|
+
/**
|
|
20
|
+
* List of completion suggestions
|
|
21
|
+
* @type {AddressCompletionItemClass}
|
|
22
|
+
* @memberof AddressCompletionResponseClass
|
|
23
|
+
*/
|
|
24
|
+
'items': AddressCompletionItemClass;
|
|
25
|
+
}
|
|
@@ -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 });
|