@emilgroup/public-api-sdk-node 1.27.1 → 1.29.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 +9 -0
- package/README.md +18 -2
- package/api/booking-funnels-api.ts +165 -0
- package/api/documents-api.ts +56 -28
- package/api/leads-api.ts +4 -4
- package/api/named-ranges-api.ts +254 -0
- package/api/products-api.ts +65 -38
- package/api.ts +4 -0
- package/dist/api/booking-funnels-api.d.ts +96 -0
- package/dist/api/booking-funnels-api.js +227 -0
- package/dist/api/documents-api.d.ts +40 -22
- package/dist/api/documents-api.js +38 -26
- package/dist/api/leads-api.d.ts +4 -4
- package/dist/api/leads-api.js +4 -4
- package/dist/api/named-ranges-api.d.ts +150 -0
- package/dist/api/named-ranges-api.js +267 -0
- package/dist/api/products-api.d.ts +49 -31
- package/dist/api/products-api.js +47 -36
- package/dist/api.d.ts +2 -0
- package/dist/api.js +2 -0
- package/dist/models/address-field-score-class.d.ts +10 -10
- package/dist/models/booking-funnel-class.d.ts +90 -0
- package/dist/models/booking-funnel-class.js +15 -0
- package/dist/models/create-account-request-dto.d.ts +1 -1
- package/dist/models/create-account-request-dto.js +1 -1
- package/dist/models/create-document-request-dto.d.ts +2 -2
- package/dist/models/create-lead-request-dto.d.ts +13 -1
- package/dist/models/create-presigned-post-request-dto.d.ts +2 -2
- package/dist/models/document-class.d.ts +1 -1
- package/dist/models/filter-named-range-response-class.d.ts +42 -0
- package/dist/models/filter-named-range-response-class.js +15 -0
- package/dist/models/get-booking-funnel-response-class.d.ts +25 -0
- package/dist/models/get-booking-funnel-response-class.js +15 -0
- package/dist/models/index.d.ts +7 -0
- package/dist/models/index.js +7 -0
- package/dist/models/initiate-email-verification-dto.d.ts +1 -1
- package/dist/models/insured-object-type-class.d.ts +1 -1
- package/dist/models/lead-account-class.d.ts +1 -1
- package/dist/models/lead-account-class.js +1 -1
- package/dist/models/lead-class.d.ts +7 -0
- package/dist/models/lead-policy-object-class.d.ts +2 -2
- package/dist/models/partner-class.d.ts +60 -0
- package/dist/models/partner-class.js +15 -0
- package/dist/models/partner-link-class.d.ts +86 -0
- package/dist/models/partner-link-class.js +15 -0
- package/dist/models/partner-role-class.d.ts +54 -0
- package/dist/models/partner-role-class.js +15 -0
- package/dist/models/product-class.d.ts +1 -1
- package/dist/models/product-document-class.d.ts +14 -2
- package/dist/models/product-factor-for-version-class.d.ts +4 -3
- package/dist/models/product-factor-value-for-version-class.d.ts +42 -0
- package/dist/models/product-factor-value-for-version-class.js +15 -0
- package/dist/models/send-notification-request-dto.d.ts +1 -1
- package/dist/models/update-lead-request-dto.d.ts +1 -1
- package/models/address-field-score-class.ts +10 -10
- package/models/booking-funnel-class.ts +96 -0
- package/models/create-account-request-dto.ts +1 -1
- package/models/create-document-request-dto.ts +2 -2
- package/models/create-lead-request-dto.ts +13 -1
- package/models/create-presigned-post-request-dto.ts +2 -2
- package/models/document-class.ts +1 -1
- package/models/filter-named-range-response-class.ts +48 -0
- package/models/get-booking-funnel-response-class.ts +31 -0
- package/models/index.ts +7 -0
- package/models/initiate-email-verification-dto.ts +1 -1
- package/models/insured-object-type-class.ts +1 -1
- package/models/lead-account-class.ts +1 -1
- package/models/lead-class.ts +7 -0
- package/models/lead-policy-object-class.ts +2 -2
- package/models/partner-class.ts +66 -0
- package/models/partner-link-class.ts +92 -0
- package/models/partner-role-class.ts +60 -0
- package/models/product-class.ts +1 -1
- package/models/product-document-class.ts +14 -2
- package/models/product-factor-for-version-class.ts +4 -3
- package/models/product-factor-value-for-version-class.ts +48 -0
- package/models/send-notification-request-dto.ts +1 -1
- package/models/update-lead-request-dto.ts +1 -1
- package/package.json +1 -1
|
@@ -0,0 +1,267 @@
|
|
|
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
|
+
var __extends = (this && this.__extends) || (function () {
|
|
16
|
+
var extendStatics = function (d, b) {
|
|
17
|
+
extendStatics = Object.setPrototypeOf ||
|
|
18
|
+
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
19
|
+
function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
|
|
20
|
+
return extendStatics(d, b);
|
|
21
|
+
};
|
|
22
|
+
return function (d, b) {
|
|
23
|
+
if (typeof b !== "function" && b !== null)
|
|
24
|
+
throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
|
|
25
|
+
extendStatics(d, b);
|
|
26
|
+
function __() { this.constructor = d; }
|
|
27
|
+
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
|
28
|
+
};
|
|
29
|
+
})();
|
|
30
|
+
var __assign = (this && this.__assign) || function () {
|
|
31
|
+
__assign = Object.assign || function(t) {
|
|
32
|
+
for (var s, i = 1, n = arguments.length; i < n; i++) {
|
|
33
|
+
s = arguments[i];
|
|
34
|
+
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
|
|
35
|
+
t[p] = s[p];
|
|
36
|
+
}
|
|
37
|
+
return t;
|
|
38
|
+
};
|
|
39
|
+
return __assign.apply(this, arguments);
|
|
40
|
+
};
|
|
41
|
+
var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
|
|
42
|
+
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
|
|
43
|
+
return new (P || (P = Promise))(function (resolve, reject) {
|
|
44
|
+
function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
|
|
45
|
+
function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
|
|
46
|
+
function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
|
|
47
|
+
step((generator = generator.apply(thisArg, _arguments || [])).next());
|
|
48
|
+
});
|
|
49
|
+
};
|
|
50
|
+
var __generator = (this && this.__generator) || function (thisArg, body) {
|
|
51
|
+
var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g;
|
|
52
|
+
return g = { next: verb(0), "throw": verb(1), "return": verb(2) }, typeof Symbol === "function" && (g[Symbol.iterator] = function() { return this; }), g;
|
|
53
|
+
function verb(n) { return function (v) { return step([n, v]); }; }
|
|
54
|
+
function step(op) {
|
|
55
|
+
if (f) throw new TypeError("Generator is already executing.");
|
|
56
|
+
while (g && (g = 0, op[0] && (_ = 0)), _) try {
|
|
57
|
+
if (f = 1, y && (t = op[0] & 2 ? y["return"] : op[0] ? y["throw"] || ((t = y["return"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t;
|
|
58
|
+
if (y = 0, t) op = [op[0] & 2, t.value];
|
|
59
|
+
switch (op[0]) {
|
|
60
|
+
case 0: case 1: t = op; break;
|
|
61
|
+
case 4: _.label++; return { value: op[1], done: false };
|
|
62
|
+
case 5: _.label++; y = op[1]; op = [0]; continue;
|
|
63
|
+
case 7: op = _.ops.pop(); _.trys.pop(); continue;
|
|
64
|
+
default:
|
|
65
|
+
if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) { _ = 0; continue; }
|
|
66
|
+
if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) { _.label = op[1]; break; }
|
|
67
|
+
if (op[0] === 6 && _.label < t[1]) { _.label = t[1]; t = op; break; }
|
|
68
|
+
if (t && _.label < t[2]) { _.label = t[2]; _.ops.push(op); break; }
|
|
69
|
+
if (t[2]) _.ops.pop();
|
|
70
|
+
_.trys.pop(); continue;
|
|
71
|
+
}
|
|
72
|
+
op = body.call(thisArg, _);
|
|
73
|
+
} catch (e) { op = [6, e]; y = 0; } finally { f = t = 0; }
|
|
74
|
+
if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true };
|
|
75
|
+
}
|
|
76
|
+
};
|
|
77
|
+
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
78
|
+
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
79
|
+
};
|
|
80
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
81
|
+
exports.NamedRangesApi = exports.NamedRangesApiFactory = exports.NamedRangesApiFp = exports.NamedRangesApiAxiosParamCreator = void 0;
|
|
82
|
+
var axios_1 = __importDefault(require("axios"));
|
|
83
|
+
// Some imports not used depending on template conditions
|
|
84
|
+
// @ts-ignore
|
|
85
|
+
var common_1 = require("../common");
|
|
86
|
+
// @ts-ignore
|
|
87
|
+
var base_1 = require("../base");
|
|
88
|
+
// URLSearchParams not necessarily used
|
|
89
|
+
// @ts-ignore
|
|
90
|
+
var url_1 = require("url");
|
|
91
|
+
var FormData = require('form-data');
|
|
92
|
+
/**
|
|
93
|
+
* NamedRangesApi - axios parameter creator
|
|
94
|
+
* @export
|
|
95
|
+
*/
|
|
96
|
+
var NamedRangesApiAxiosParamCreator = function (configuration) {
|
|
97
|
+
var _this = this;
|
|
98
|
+
return {
|
|
99
|
+
/**
|
|
100
|
+
* Returns a list of named range file records you have previously created. The named range file records are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
|
|
101
|
+
* @summary List named range file records
|
|
102
|
+
* @param {string} productSlug A slug is a human-readable, unique identifier, used to identify a resource instead of a less human-readable identifier like an id.
|
|
103
|
+
* @param {string} name Name of Named Range.
|
|
104
|
+
* @param {string} [authorization] Bearer Token
|
|
105
|
+
* @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
106
|
+
* @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.
|
|
107
|
+
* @param {string} [filters] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.
|
|
108
|
+
* @param {string} [search] Search the list by any field.
|
|
109
|
+
* @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.
|
|
110
|
+
* @param {*} [options] Override http request option.
|
|
111
|
+
* @throws {RequiredError}
|
|
112
|
+
*/
|
|
113
|
+
filterNamedRange: function (productSlug, name, authorization, pageSize, pageToken, filters, search, order, options) {
|
|
114
|
+
if (options === void 0) { options = {}; }
|
|
115
|
+
return __awaiter(_this, void 0, void 0, function () {
|
|
116
|
+
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
117
|
+
return __generator(this, function (_a) {
|
|
118
|
+
switch (_a.label) {
|
|
119
|
+
case 0:
|
|
120
|
+
// verify required parameter 'productSlug' is not null or undefined
|
|
121
|
+
(0, common_1.assertParamExists)('filterNamedRange', 'productSlug', productSlug);
|
|
122
|
+
// verify required parameter 'name' is not null or undefined
|
|
123
|
+
(0, common_1.assertParamExists)('filterNamedRange', 'name', name);
|
|
124
|
+
localVarPath = "/publicapi/v1/named-ranges/records";
|
|
125
|
+
localVarUrlObj = new url_1.URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
126
|
+
if (configuration) {
|
|
127
|
+
baseOptions = configuration.baseOptions;
|
|
128
|
+
baseAccessToken = configuration.accessToken;
|
|
129
|
+
}
|
|
130
|
+
localVarRequestOptions = __assign(__assign({ method: 'GET' }, baseOptions), options);
|
|
131
|
+
localVarHeaderParameter = {};
|
|
132
|
+
localVarQueryParameter = {};
|
|
133
|
+
// authentication bearer required
|
|
134
|
+
// http bearer authentication required
|
|
135
|
+
return [4 /*yield*/, (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration)];
|
|
136
|
+
case 1:
|
|
137
|
+
// authentication bearer required
|
|
138
|
+
// http bearer authentication required
|
|
139
|
+
_a.sent();
|
|
140
|
+
if (productSlug !== undefined) {
|
|
141
|
+
localVarQueryParameter['productSlug'] = productSlug;
|
|
142
|
+
}
|
|
143
|
+
if (name !== undefined) {
|
|
144
|
+
localVarQueryParameter['name'] = name;
|
|
145
|
+
}
|
|
146
|
+
if (pageSize !== undefined) {
|
|
147
|
+
localVarQueryParameter['pageSize'] = pageSize;
|
|
148
|
+
}
|
|
149
|
+
if (pageToken !== undefined) {
|
|
150
|
+
localVarQueryParameter['pageToken'] = pageToken;
|
|
151
|
+
}
|
|
152
|
+
if (filters !== undefined) {
|
|
153
|
+
localVarQueryParameter['filters'] = filters;
|
|
154
|
+
}
|
|
155
|
+
if (search !== undefined) {
|
|
156
|
+
localVarQueryParameter['search'] = search;
|
|
157
|
+
}
|
|
158
|
+
if (order !== undefined) {
|
|
159
|
+
localVarQueryParameter['order'] = order;
|
|
160
|
+
}
|
|
161
|
+
if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
|
|
162
|
+
localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
|
|
163
|
+
}
|
|
164
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
165
|
+
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
166
|
+
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
167
|
+
return [2 /*return*/, {
|
|
168
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
169
|
+
options: localVarRequestOptions,
|
|
170
|
+
}];
|
|
171
|
+
}
|
|
172
|
+
});
|
|
173
|
+
});
|
|
174
|
+
},
|
|
175
|
+
};
|
|
176
|
+
};
|
|
177
|
+
exports.NamedRangesApiAxiosParamCreator = NamedRangesApiAxiosParamCreator;
|
|
178
|
+
/**
|
|
179
|
+
* NamedRangesApi - functional programming interface
|
|
180
|
+
* @export
|
|
181
|
+
*/
|
|
182
|
+
var NamedRangesApiFp = function (configuration) {
|
|
183
|
+
var localVarAxiosParamCreator = (0, exports.NamedRangesApiAxiosParamCreator)(configuration);
|
|
184
|
+
return {
|
|
185
|
+
/**
|
|
186
|
+
* Returns a list of named range file records you have previously created. The named range file records are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
|
|
187
|
+
* @summary List named range file records
|
|
188
|
+
* @param {string} productSlug A slug is a human-readable, unique identifier, used to identify a resource instead of a less human-readable identifier like an id.
|
|
189
|
+
* @param {string} name Name of Named Range.
|
|
190
|
+
* @param {string} [authorization] Bearer Token
|
|
191
|
+
* @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
192
|
+
* @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.
|
|
193
|
+
* @param {string} [filters] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.
|
|
194
|
+
* @param {string} [search] Search the list by any field.
|
|
195
|
+
* @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.
|
|
196
|
+
* @param {*} [options] Override http request option.
|
|
197
|
+
* @throws {RequiredError}
|
|
198
|
+
*/
|
|
199
|
+
filterNamedRange: function (productSlug, name, authorization, pageSize, pageToken, filters, search, order, options) {
|
|
200
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
201
|
+
var localVarAxiosArgs;
|
|
202
|
+
return __generator(this, function (_a) {
|
|
203
|
+
switch (_a.label) {
|
|
204
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.filterNamedRange(productSlug, name, authorization, pageSize, pageToken, filters, search, order, options)];
|
|
205
|
+
case 1:
|
|
206
|
+
localVarAxiosArgs = _a.sent();
|
|
207
|
+
return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
208
|
+
}
|
|
209
|
+
});
|
|
210
|
+
});
|
|
211
|
+
},
|
|
212
|
+
};
|
|
213
|
+
};
|
|
214
|
+
exports.NamedRangesApiFp = NamedRangesApiFp;
|
|
215
|
+
/**
|
|
216
|
+
* NamedRangesApi - factory interface
|
|
217
|
+
* @export
|
|
218
|
+
*/
|
|
219
|
+
var NamedRangesApiFactory = function (configuration, basePath, axios) {
|
|
220
|
+
var localVarFp = (0, exports.NamedRangesApiFp)(configuration);
|
|
221
|
+
return {
|
|
222
|
+
/**
|
|
223
|
+
* Returns a list of named range file records you have previously created. The named range file records are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
|
|
224
|
+
* @summary List named range file records
|
|
225
|
+
* @param {string} productSlug A slug is a human-readable, unique identifier, used to identify a resource instead of a less human-readable identifier like an id.
|
|
226
|
+
* @param {string} name Name of Named Range.
|
|
227
|
+
* @param {string} [authorization] Bearer Token
|
|
228
|
+
* @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
229
|
+
* @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.
|
|
230
|
+
* @param {string} [filters] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.
|
|
231
|
+
* @param {string} [search] Search the list by any field.
|
|
232
|
+
* @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.
|
|
233
|
+
* @param {*} [options] Override http request option.
|
|
234
|
+
* @throws {RequiredError}
|
|
235
|
+
*/
|
|
236
|
+
filterNamedRange: function (productSlug, name, authorization, pageSize, pageToken, filters, search, order, options) {
|
|
237
|
+
return localVarFp.filterNamedRange(productSlug, name, authorization, pageSize, pageToken, filters, search, order, options).then(function (request) { return request(axios, basePath); });
|
|
238
|
+
},
|
|
239
|
+
};
|
|
240
|
+
};
|
|
241
|
+
exports.NamedRangesApiFactory = NamedRangesApiFactory;
|
|
242
|
+
/**
|
|
243
|
+
* NamedRangesApi - object-oriented interface
|
|
244
|
+
* @export
|
|
245
|
+
* @class NamedRangesApi
|
|
246
|
+
* @extends {BaseAPI}
|
|
247
|
+
*/
|
|
248
|
+
var NamedRangesApi = /** @class */ (function (_super) {
|
|
249
|
+
__extends(NamedRangesApi, _super);
|
|
250
|
+
function NamedRangesApi() {
|
|
251
|
+
return _super !== null && _super.apply(this, arguments) || this;
|
|
252
|
+
}
|
|
253
|
+
/**
|
|
254
|
+
* Returns a list of named range file records you have previously created. The named range file records are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
|
|
255
|
+
* @summary List named range file records
|
|
256
|
+
* @param {NamedRangesApiFilterNamedRangeRequest} requestParameters Request parameters.
|
|
257
|
+
* @param {*} [options] Override http request option.
|
|
258
|
+
* @throws {RequiredError}
|
|
259
|
+
* @memberof NamedRangesApi
|
|
260
|
+
*/
|
|
261
|
+
NamedRangesApi.prototype.filterNamedRange = function (requestParameters, options) {
|
|
262
|
+
var _this = this;
|
|
263
|
+
return (0, exports.NamedRangesApiFp)(this.configuration).filterNamedRange(requestParameters.productSlug, requestParameters.name, requestParameters.authorization, requestParameters.pageSize, requestParameters.pageToken, requestParameters.filters, requestParameters.search, requestParameters.order, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
264
|
+
};
|
|
265
|
+
return NamedRangesApi;
|
|
266
|
+
}(base_1.BaseAPI));
|
|
267
|
+
exports.NamedRangesApi = NamedRangesApi;
|
|
@@ -59,15 +59,16 @@ export declare const ProductsApiAxiosParamCreator: (configuration?: Configuratio
|
|
|
59
59
|
*/
|
|
60
60
|
customApplication: (productCode: string, createCustomApplicationRequestDto: CreateCustomApplicationRequestDto, authorization?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
61
61
|
/**
|
|
62
|
-
* Returns a list of insured object types you have previously created.
|
|
62
|
+
* Returns a list of insured object types you have previously created. The insured object types are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
|
|
63
63
|
* @summary List insured object types
|
|
64
|
+
* @param {string} productCode
|
|
64
65
|
* @param {string} [authorization] Bearer Token
|
|
65
66
|
* @param {*} [options] Override http request option.
|
|
66
67
|
* @throws {RequiredError}
|
|
67
68
|
*/
|
|
68
|
-
getInsuredObjectTypes: (authorization?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
69
|
+
getInsuredObjectTypes: (productCode: string, authorization?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
69
70
|
/**
|
|
70
|
-
* Returns a list of insured objects you have previously created.
|
|
71
|
+
* Returns a list of insured objects you have previously created. The insured objects are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
|
|
71
72
|
* @summary List insured objects
|
|
72
73
|
* @param {string} productCode
|
|
73
74
|
* @param {string} [authorization] Bearer Token
|
|
@@ -85,7 +86,7 @@ export declare const ProductsApiAxiosParamCreator: (configuration?: Configuratio
|
|
|
85
86
|
*/
|
|
86
87
|
getProductCustomCss: (productCode: string, authorization?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
87
88
|
/**
|
|
88
|
-
* Returns a list of product factors you have previously created.
|
|
89
|
+
* Returns a list of product factors you have previously created. The product factors are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
|
|
89
90
|
* @summary List product factors
|
|
90
91
|
* @param {string} productCode
|
|
91
92
|
* @param {string} allValues
|
|
@@ -95,19 +96,20 @@ export declare const ProductsApiAxiosParamCreator: (configuration?: Configuratio
|
|
|
95
96
|
*/
|
|
96
97
|
getProductFactors: (productCode: string, allValues: string, authorization?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
97
98
|
/**
|
|
98
|
-
* Returns a list of products you have previously created.
|
|
99
|
+
* 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.
|
|
99
100
|
* @summary List products
|
|
100
101
|
* @param {string} [authorization] Bearer Token
|
|
101
|
-
* @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and
|
|
102
|
+
* @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
102
103
|
* @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.
|
|
103
104
|
* @param {any} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.
|
|
104
|
-
* @param {any} [search]
|
|
105
|
+
* @param {any} [search] To search the list by any field, pass search=xxx to fetch the result.
|
|
105
106
|
* @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.
|
|
106
107
|
* @param {any} [expand] You can expand product versions and insured object types list in this endpoint.
|
|
108
|
+
* @param {any} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations. In general, fetching filtered responses conserves bandwidth and reduces response time.
|
|
107
109
|
* @param {*} [options] Override http request option.
|
|
108
110
|
* @throws {RequiredError}
|
|
109
111
|
*/
|
|
110
|
-
listProducts: (authorization?: string, pageSize?: any, pageToken?: any, filter?: any, search?: any, order?: any, expand?: any, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
112
|
+
listProducts: (authorization?: string, pageSize?: any, pageToken?: any, filter?: any, search?: any, order?: any, expand?: any, filters?: any, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
111
113
|
};
|
|
112
114
|
/**
|
|
113
115
|
* ProductsApi - functional programming interface
|
|
@@ -145,15 +147,16 @@ export declare const ProductsApiFp: (configuration?: Configuration) => {
|
|
|
145
147
|
*/
|
|
146
148
|
customApplication(productCode: string, createCustomApplicationRequestDto: CreateCustomApplicationRequestDto, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CreateCustomApplicationResponseClass>>;
|
|
147
149
|
/**
|
|
148
|
-
* Returns a list of insured object types you have previously created.
|
|
150
|
+
* Returns a list of insured object types you have previously created. The insured object types are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
|
|
149
151
|
* @summary List insured object types
|
|
152
|
+
* @param {string} productCode
|
|
150
153
|
* @param {string} [authorization] Bearer Token
|
|
151
154
|
* @param {*} [options] Override http request option.
|
|
152
155
|
* @throws {RequiredError}
|
|
153
156
|
*/
|
|
154
|
-
getInsuredObjectTypes(authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<InsuredObjectTypeClass>>>;
|
|
157
|
+
getInsuredObjectTypes(productCode: string, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<InsuredObjectTypeClass>>>;
|
|
155
158
|
/**
|
|
156
|
-
* Returns a list of insured objects you have previously created.
|
|
159
|
+
* Returns a list of insured objects you have previously created. The insured objects are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
|
|
157
160
|
* @summary List insured objects
|
|
158
161
|
* @param {string} productCode
|
|
159
162
|
* @param {string} [authorization] Bearer Token
|
|
@@ -171,7 +174,7 @@ export declare const ProductsApiFp: (configuration?: Configuration) => {
|
|
|
171
174
|
*/
|
|
172
175
|
getProductCustomCss(productCode: string, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetCustomCssResponseClass>>;
|
|
173
176
|
/**
|
|
174
|
-
* Returns a list of product factors you have previously created.
|
|
177
|
+
* Returns a list of product factors you have previously created. The product factors are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
|
|
175
178
|
* @summary List product factors
|
|
176
179
|
* @param {string} productCode
|
|
177
180
|
* @param {string} allValues
|
|
@@ -181,19 +184,20 @@ export declare const ProductsApiFp: (configuration?: Configuration) => {
|
|
|
181
184
|
*/
|
|
182
185
|
getProductFactors(productCode: string, allValues: string, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<ProductFactorForVersionClass>>>;
|
|
183
186
|
/**
|
|
184
|
-
* Returns a list of products you have previously created.
|
|
187
|
+
* 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.
|
|
185
188
|
* @summary List products
|
|
186
189
|
* @param {string} [authorization] Bearer Token
|
|
187
|
-
* @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and
|
|
190
|
+
* @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
188
191
|
* @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.
|
|
189
192
|
* @param {any} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.
|
|
190
|
-
* @param {any} [search]
|
|
193
|
+
* @param {any} [search] To search the list by any field, pass search=xxx to fetch the result.
|
|
191
194
|
* @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.
|
|
192
195
|
* @param {any} [expand] You can expand product versions and insured object types list in this endpoint.
|
|
196
|
+
* @param {any} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations. In general, fetching filtered responses conserves bandwidth and reduces response time.
|
|
193
197
|
* @param {*} [options] Override http request option.
|
|
194
198
|
* @throws {RequiredError}
|
|
195
199
|
*/
|
|
196
|
-
listProducts(authorization?: string, pageSize?: any, pageToken?: any, filter?: any, search?: any, order?: any, expand?: any, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ListProductsResponseClass>>;
|
|
200
|
+
listProducts(authorization?: string, pageSize?: any, pageToken?: any, filter?: any, search?: any, order?: any, expand?: any, filters?: any, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ListProductsResponseClass>>;
|
|
197
201
|
};
|
|
198
202
|
/**
|
|
199
203
|
* ProductsApi - factory interface
|
|
@@ -231,15 +235,16 @@ export declare const ProductsApiFactory: (configuration?: Configuration, basePat
|
|
|
231
235
|
*/
|
|
232
236
|
customApplication(productCode: string, createCustomApplicationRequestDto: CreateCustomApplicationRequestDto, authorization?: string, options?: any): AxiosPromise<CreateCustomApplicationResponseClass>;
|
|
233
237
|
/**
|
|
234
|
-
* Returns a list of insured object types you have previously created.
|
|
238
|
+
* Returns a list of insured object types you have previously created. The insured object types are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
|
|
235
239
|
* @summary List insured object types
|
|
240
|
+
* @param {string} productCode
|
|
236
241
|
* @param {string} [authorization] Bearer Token
|
|
237
242
|
* @param {*} [options] Override http request option.
|
|
238
243
|
* @throws {RequiredError}
|
|
239
244
|
*/
|
|
240
|
-
getInsuredObjectTypes(authorization?: string, options?: any): AxiosPromise<Array<InsuredObjectTypeClass>>;
|
|
245
|
+
getInsuredObjectTypes(productCode: string, authorization?: string, options?: any): AxiosPromise<Array<InsuredObjectTypeClass>>;
|
|
241
246
|
/**
|
|
242
|
-
* Returns a list of insured objects you have previously created.
|
|
247
|
+
* Returns a list of insured objects you have previously created. The insured objects are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
|
|
243
248
|
* @summary List insured objects
|
|
244
249
|
* @param {string} productCode
|
|
245
250
|
* @param {string} [authorization] Bearer Token
|
|
@@ -257,7 +262,7 @@ export declare const ProductsApiFactory: (configuration?: Configuration, basePat
|
|
|
257
262
|
*/
|
|
258
263
|
getProductCustomCss(productCode: string, authorization?: string, options?: any): AxiosPromise<GetCustomCssResponseClass>;
|
|
259
264
|
/**
|
|
260
|
-
* Returns a list of product factors you have previously created.
|
|
265
|
+
* Returns a list of product factors you have previously created. The product factors are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
|
|
261
266
|
* @summary List product factors
|
|
262
267
|
* @param {string} productCode
|
|
263
268
|
* @param {string} allValues
|
|
@@ -267,19 +272,20 @@ export declare const ProductsApiFactory: (configuration?: Configuration, basePat
|
|
|
267
272
|
*/
|
|
268
273
|
getProductFactors(productCode: string, allValues: string, authorization?: string, options?: any): AxiosPromise<Array<ProductFactorForVersionClass>>;
|
|
269
274
|
/**
|
|
270
|
-
* Returns a list of products you have previously created.
|
|
275
|
+
* 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.
|
|
271
276
|
* @summary List products
|
|
272
277
|
* @param {string} [authorization] Bearer Token
|
|
273
|
-
* @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and
|
|
278
|
+
* @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
274
279
|
* @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.
|
|
275
280
|
* @param {any} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.
|
|
276
|
-
* @param {any} [search]
|
|
281
|
+
* @param {any} [search] To search the list by any field, pass search=xxx to fetch the result.
|
|
277
282
|
* @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.
|
|
278
283
|
* @param {any} [expand] You can expand product versions and insured object types list in this endpoint.
|
|
284
|
+
* @param {any} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations. In general, fetching filtered responses conserves bandwidth and reduces response time.
|
|
279
285
|
* @param {*} [options] Override http request option.
|
|
280
286
|
* @throws {RequiredError}
|
|
281
287
|
*/
|
|
282
|
-
listProducts(authorization?: string, pageSize?: any, pageToken?: any, filter?: any, search?: any, order?: any, expand?: any, options?: any): AxiosPromise<ListProductsResponseClass>;
|
|
288
|
+
listProducts(authorization?: string, pageSize?: any, pageToken?: any, filter?: any, search?: any, order?: any, expand?: any, filters?: any, options?: any): AxiosPromise<ListProductsResponseClass>;
|
|
283
289
|
};
|
|
284
290
|
/**
|
|
285
291
|
* Request parameters for calculateProductFields operation in ProductsApi.
|
|
@@ -362,6 +368,12 @@ export interface ProductsApiCustomApplicationRequest {
|
|
|
362
368
|
* @interface ProductsApiGetInsuredObjectTypesRequest
|
|
363
369
|
*/
|
|
364
370
|
export interface ProductsApiGetInsuredObjectTypesRequest {
|
|
371
|
+
/**
|
|
372
|
+
*
|
|
373
|
+
* @type {string}
|
|
374
|
+
* @memberof ProductsApiGetInsuredObjectTypes
|
|
375
|
+
*/
|
|
376
|
+
readonly productCode: string;
|
|
365
377
|
/**
|
|
366
378
|
* Bearer Token
|
|
367
379
|
* @type {string}
|
|
@@ -445,7 +457,7 @@ export interface ProductsApiListProductsRequest {
|
|
|
445
457
|
*/
|
|
446
458
|
readonly authorization?: string;
|
|
447
459
|
/**
|
|
448
|
-
* A limit on the number of objects to be returned. Limit ranges between 1 and
|
|
460
|
+
* A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
449
461
|
* @type {any}
|
|
450
462
|
* @memberof ProductsApiListProducts
|
|
451
463
|
*/
|
|
@@ -463,7 +475,7 @@ export interface ProductsApiListProductsRequest {
|
|
|
463
475
|
*/
|
|
464
476
|
readonly filter?: any;
|
|
465
477
|
/**
|
|
466
|
-
*
|
|
478
|
+
* To search the list by any field, pass search=xxx to fetch the result.
|
|
467
479
|
* @type {any}
|
|
468
480
|
* @memberof ProductsApiListProducts
|
|
469
481
|
*/
|
|
@@ -480,6 +492,12 @@ export interface ProductsApiListProductsRequest {
|
|
|
480
492
|
* @memberof ProductsApiListProducts
|
|
481
493
|
*/
|
|
482
494
|
readonly expand?: any;
|
|
495
|
+
/**
|
|
496
|
+
* Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations. In general, fetching filtered responses conserves bandwidth and reduces response time.
|
|
497
|
+
* @type {any}
|
|
498
|
+
* @memberof ProductsApiListProducts
|
|
499
|
+
*/
|
|
500
|
+
readonly filters?: any;
|
|
483
501
|
}
|
|
484
502
|
/**
|
|
485
503
|
* ProductsApi - object-oriented interface
|
|
@@ -516,16 +534,16 @@ export declare class ProductsApi extends BaseAPI {
|
|
|
516
534
|
*/
|
|
517
535
|
customApplication(requestParameters: ProductsApiCustomApplicationRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<CreateCustomApplicationResponseClass, any>>;
|
|
518
536
|
/**
|
|
519
|
-
* Returns a list of insured object types you have previously created.
|
|
537
|
+
* Returns a list of insured object types you have previously created. The insured object types are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
|
|
520
538
|
* @summary List insured object types
|
|
521
539
|
* @param {ProductsApiGetInsuredObjectTypesRequest} requestParameters Request parameters.
|
|
522
540
|
* @param {*} [options] Override http request option.
|
|
523
541
|
* @throws {RequiredError}
|
|
524
542
|
* @memberof ProductsApi
|
|
525
543
|
*/
|
|
526
|
-
getInsuredObjectTypes(requestParameters
|
|
544
|
+
getInsuredObjectTypes(requestParameters: ProductsApiGetInsuredObjectTypesRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<InsuredObjectTypeClass[], any>>;
|
|
527
545
|
/**
|
|
528
|
-
* Returns a list of insured objects you have previously created.
|
|
546
|
+
* Returns a list of insured objects you have previously created. The insured objects are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
|
|
529
547
|
* @summary List insured objects
|
|
530
548
|
* @param {ProductsApiGetInsuredObjectsRequest} requestParameters Request parameters.
|
|
531
549
|
* @param {*} [options] Override http request option.
|
|
@@ -543,7 +561,7 @@ export declare class ProductsApi extends BaseAPI {
|
|
|
543
561
|
*/
|
|
544
562
|
getProductCustomCss(requestParameters: ProductsApiGetProductCustomCssRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<GetCustomCssResponseClass, any>>;
|
|
545
563
|
/**
|
|
546
|
-
* Returns a list of product factors you have previously created.
|
|
564
|
+
* Returns a list of product factors you have previously created. The product factors are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
|
|
547
565
|
* @summary List product factors
|
|
548
566
|
* @param {ProductsApiGetProductFactorsRequest} requestParameters Request parameters.
|
|
549
567
|
* @param {*} [options] Override http request option.
|
|
@@ -552,7 +570,7 @@ export declare class ProductsApi extends BaseAPI {
|
|
|
552
570
|
*/
|
|
553
571
|
getProductFactors(requestParameters: ProductsApiGetProductFactorsRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<ProductFactorForVersionClass[], any>>;
|
|
554
572
|
/**
|
|
555
|
-
* Returns a list of products you have previously created.
|
|
573
|
+
* 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.
|
|
556
574
|
* @summary List products
|
|
557
575
|
* @param {ProductsApiListProductsRequest} requestParameters Request parameters.
|
|
558
576
|
* @param {*} [options] Override http request option.
|