@emilgroup/insurance-sdk-node 1.9.0 → 1.10.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 +6 -0
- package/README.md +2 -2
- package/api/lead-statuses-api.ts +479 -0
- package/api/product-versions-api.ts +34 -6
- package/api.ts +2 -0
- package/base.ts +3 -3
- package/dist/api/lead-statuses-api.d.ts +265 -0
- package/dist/api/lead-statuses-api.js +505 -0
- package/dist/api/product-versions-api.d.ts +21 -3
- package/dist/api/product-versions-api.js +18 -6
- package/dist/api.d.ts +1 -0
- package/dist/api.js +1 -0
- package/dist/base.d.ts +1 -1
- package/dist/base.js +3 -3
- package/dist/models/create-lead-request-dto.d.ts +2 -9
- package/dist/models/create-lead-request-dto.js +0 -7
- package/dist/models/create-lead-status-request-dto.d.ts +30 -0
- package/dist/models/create-lead-status-request-dto.js +15 -0
- package/dist/models/create-lead-status-response-class.d.ts +25 -0
- package/dist/models/create-lead-status-response-class.js +15 -0
- package/dist/models/get-lead-status-response-class.d.ts +25 -0
- package/dist/models/get-lead-status-response-class.js +15 -0
- package/dist/models/get-product-version-request-dto.d.ts +12 -0
- package/dist/models/index.d.ts +5 -0
- package/dist/models/index.js +5 -0
- package/dist/models/lead-class.d.ts +8 -8
- package/dist/models/lead-class.js +0 -7
- package/dist/models/lead-status-class.d.ts +36 -0
- package/dist/models/lead-status-class.js +15 -0
- package/dist/models/list-lead-statuses-response-class.d.ts +31 -0
- package/dist/models/list-lead-statuses-response-class.js +15 -0
- package/dist/models/policy-class.d.ts +12 -0
- package/dist/models/policy-object-class.d.ts +12 -0
- package/dist/models/policy-premium-class.d.ts +12 -0
- package/dist/models/policy-premium-item-class.d.ts +18 -0
- package/dist/models/premium-override-dto.d.ts +6 -0
- package/dist/models/store-product-factors-request-dto.d.ts +1 -1
- package/dist/models/timeslice-class.d.ts +2 -2
- package/dist/models/update-lead-request-dto.d.ts +7 -14
- package/dist/models/update-lead-request-dto.js +0 -7
- package/models/create-lead-request-dto.ts +2 -12
- package/models/create-lead-status-request-dto.ts +36 -0
- package/models/create-lead-status-response-class.ts +31 -0
- package/models/get-lead-status-response-class.ts +31 -0
- package/models/get-product-version-request-dto.ts +12 -0
- package/models/index.ts +5 -0
- package/models/lead-class.ts +8 -11
- package/models/lead-status-class.ts +42 -0
- package/models/list-lead-statuses-response-class.ts +37 -0
- package/models/policy-class.ts +12 -0
- package/models/policy-object-class.ts +12 -0
- package/models/policy-premium-class.ts +12 -0
- package/models/policy-premium-item-class.ts +18 -0
- package/models/premium-override-dto.ts +6 -0
- package/models/store-product-factors-request-dto.ts +1 -1
- package/models/timeslice-class.ts +2 -2
- package/models/update-lead-request-dto.ts +7 -17
- package/package.json +2 -2
|
@@ -0,0 +1,505 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* EMIL InsuranceService
|
|
6
|
+
* The EMIL InsuranceService 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.LeadStatusesApi = exports.LeadStatusesApiFactory = exports.LeadStatusesApiFp = exports.LeadStatusesApiAxiosParamCreator = 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
|
+
* LeadStatusesApi - axios parameter creator
|
|
94
|
+
* @export
|
|
95
|
+
*/
|
|
96
|
+
var LeadStatusesApiAxiosParamCreator = function (configuration) {
|
|
97
|
+
var _this = this;
|
|
98
|
+
return {
|
|
99
|
+
/**
|
|
100
|
+
* This will create a lead status. There are 3 predefined lead statuses in our service, but tenants can define their own custom lead statuses as well. Predefined lead statuses are \"created\",\"approved\" and \"declined\".
|
|
101
|
+
* @summary Create the lead status
|
|
102
|
+
* @param {CreateLeadStatusRequestDto} createLeadStatusRequestDto
|
|
103
|
+
* @param {string} [authorization] Bearer Token
|
|
104
|
+
* @param {*} [options] Override http request option.
|
|
105
|
+
* @throws {RequiredError}
|
|
106
|
+
*/
|
|
107
|
+
createLeadStatus: function (createLeadStatusRequestDto, authorization, options) {
|
|
108
|
+
if (options === void 0) { options = {}; }
|
|
109
|
+
return __awaiter(_this, void 0, void 0, function () {
|
|
110
|
+
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
111
|
+
return __generator(this, function (_a) {
|
|
112
|
+
switch (_a.label) {
|
|
113
|
+
case 0:
|
|
114
|
+
// verify required parameter 'createLeadStatusRequestDto' is not null or undefined
|
|
115
|
+
(0, common_1.assertParamExists)('createLeadStatus', 'createLeadStatusRequestDto', createLeadStatusRequestDto);
|
|
116
|
+
localVarPath = "/insuranceservice/v1/lead-statuses";
|
|
117
|
+
localVarUrlObj = new url_1.URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
118
|
+
if (configuration) {
|
|
119
|
+
baseOptions = configuration.baseOptions;
|
|
120
|
+
baseAccessToken = configuration.accessToken;
|
|
121
|
+
}
|
|
122
|
+
localVarRequestOptions = __assign(__assign({ method: 'POST' }, baseOptions), options);
|
|
123
|
+
localVarHeaderParameter = {};
|
|
124
|
+
localVarQueryParameter = {};
|
|
125
|
+
// authentication bearer required
|
|
126
|
+
// http bearer authentication required
|
|
127
|
+
return [4 /*yield*/, (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration)];
|
|
128
|
+
case 1:
|
|
129
|
+
// authentication bearer required
|
|
130
|
+
// http bearer authentication required
|
|
131
|
+
_a.sent();
|
|
132
|
+
if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
|
|
133
|
+
localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
|
|
134
|
+
}
|
|
135
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
136
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
137
|
+
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
138
|
+
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
139
|
+
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(createLeadStatusRequestDto, localVarRequestOptions, configuration);
|
|
140
|
+
return [2 /*return*/, {
|
|
141
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
142
|
+
options: localVarRequestOptions,
|
|
143
|
+
}];
|
|
144
|
+
}
|
|
145
|
+
});
|
|
146
|
+
});
|
|
147
|
+
},
|
|
148
|
+
/**
|
|
149
|
+
* Permanently deletes the lead status. Supply the unique id that was returned when you created the lead status and this will delete it. Deleting a lead status can have an impact on workflows, and it\'s crucial to ensure that no workflows are using the lead status that is being deleted.
|
|
150
|
+
* @summary Delete the lead status
|
|
151
|
+
* @param {number} id
|
|
152
|
+
* @param {string} [authorization] Bearer Token
|
|
153
|
+
* @param {*} [options] Override http request option.
|
|
154
|
+
* @throws {RequiredError}
|
|
155
|
+
*/
|
|
156
|
+
deleteLeadStatus: function (id, authorization, options) {
|
|
157
|
+
if (options === void 0) { options = {}; }
|
|
158
|
+
return __awaiter(_this, void 0, void 0, function () {
|
|
159
|
+
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
160
|
+
return __generator(this, function (_a) {
|
|
161
|
+
switch (_a.label) {
|
|
162
|
+
case 0:
|
|
163
|
+
// verify required parameter 'id' is not null or undefined
|
|
164
|
+
(0, common_1.assertParamExists)('deleteLeadStatus', 'id', id);
|
|
165
|
+
localVarPath = "/insuranceservice/v1/lead-statuses/{id}"
|
|
166
|
+
.replace("{".concat("id", "}"), encodeURIComponent(String(id)));
|
|
167
|
+
localVarUrlObj = new url_1.URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
168
|
+
if (configuration) {
|
|
169
|
+
baseOptions = configuration.baseOptions;
|
|
170
|
+
baseAccessToken = configuration.accessToken;
|
|
171
|
+
}
|
|
172
|
+
localVarRequestOptions = __assign(__assign({ method: 'DELETE' }, baseOptions), options);
|
|
173
|
+
localVarHeaderParameter = {};
|
|
174
|
+
localVarQueryParameter = {};
|
|
175
|
+
// authentication bearer required
|
|
176
|
+
// http bearer authentication required
|
|
177
|
+
return [4 /*yield*/, (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration)];
|
|
178
|
+
case 1:
|
|
179
|
+
// authentication bearer required
|
|
180
|
+
// http bearer authentication required
|
|
181
|
+
_a.sent();
|
|
182
|
+
if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
|
|
183
|
+
localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
|
|
184
|
+
}
|
|
185
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
186
|
+
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
187
|
+
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
188
|
+
return [2 /*return*/, {
|
|
189
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
190
|
+
options: localVarRequestOptions,
|
|
191
|
+
}];
|
|
192
|
+
}
|
|
193
|
+
});
|
|
194
|
+
});
|
|
195
|
+
},
|
|
196
|
+
/**
|
|
197
|
+
* Retrieves the details of the lead status that was previously created. Supply the unique lead status code that was returned when you created it and Emil Api will return the corresponding lead status information.
|
|
198
|
+
* @summary Retrieve the lead status
|
|
199
|
+
* @param {number} id
|
|
200
|
+
* @param {string} [authorization] Bearer Token
|
|
201
|
+
* @param {*} [options] Override http request option.
|
|
202
|
+
* @throws {RequiredError}
|
|
203
|
+
*/
|
|
204
|
+
getLeadStatus: function (id, authorization, options) {
|
|
205
|
+
if (options === void 0) { options = {}; }
|
|
206
|
+
return __awaiter(_this, void 0, void 0, function () {
|
|
207
|
+
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
208
|
+
return __generator(this, function (_a) {
|
|
209
|
+
switch (_a.label) {
|
|
210
|
+
case 0:
|
|
211
|
+
// verify required parameter 'id' is not null or undefined
|
|
212
|
+
(0, common_1.assertParamExists)('getLeadStatus', 'id', id);
|
|
213
|
+
localVarPath = "/insuranceservice/v1/lead-statuses/{id}"
|
|
214
|
+
.replace("{".concat("id", "}"), encodeURIComponent(String(id)));
|
|
215
|
+
localVarUrlObj = new url_1.URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
216
|
+
if (configuration) {
|
|
217
|
+
baseOptions = configuration.baseOptions;
|
|
218
|
+
baseAccessToken = configuration.accessToken;
|
|
219
|
+
}
|
|
220
|
+
localVarRequestOptions = __assign(__assign({ method: 'GET' }, baseOptions), options);
|
|
221
|
+
localVarHeaderParameter = {};
|
|
222
|
+
localVarQueryParameter = {};
|
|
223
|
+
// authentication bearer required
|
|
224
|
+
// http bearer authentication required
|
|
225
|
+
return [4 /*yield*/, (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration)];
|
|
226
|
+
case 1:
|
|
227
|
+
// authentication bearer required
|
|
228
|
+
// http bearer authentication required
|
|
229
|
+
_a.sent();
|
|
230
|
+
if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
|
|
231
|
+
localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
|
|
232
|
+
}
|
|
233
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
234
|
+
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
235
|
+
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
236
|
+
return [2 /*return*/, {
|
|
237
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
238
|
+
options: localVarRequestOptions,
|
|
239
|
+
}];
|
|
240
|
+
}
|
|
241
|
+
});
|
|
242
|
+
});
|
|
243
|
+
},
|
|
244
|
+
/**
|
|
245
|
+
* Returns a list of lead statuses you have previously created. The lead statuses are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
|
|
246
|
+
* @summary List lead statuses
|
|
247
|
+
* @param {string} [authorization] Bearer Token
|
|
248
|
+
* @param {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time. Parameters: owner, id, name and productSlug.
|
|
249
|
+
* @param {*} [options] Override http request option.
|
|
250
|
+
* @throws {RequiredError}
|
|
251
|
+
*/
|
|
252
|
+
listLeadStatuses: function (authorization, filter, options) {
|
|
253
|
+
if (options === void 0) { options = {}; }
|
|
254
|
+
return __awaiter(_this, void 0, void 0, function () {
|
|
255
|
+
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
256
|
+
return __generator(this, function (_a) {
|
|
257
|
+
switch (_a.label) {
|
|
258
|
+
case 0:
|
|
259
|
+
localVarPath = "/insuranceservice/v1/lead-statuses";
|
|
260
|
+
localVarUrlObj = new url_1.URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
261
|
+
if (configuration) {
|
|
262
|
+
baseOptions = configuration.baseOptions;
|
|
263
|
+
baseAccessToken = configuration.accessToken;
|
|
264
|
+
}
|
|
265
|
+
localVarRequestOptions = __assign(__assign({ method: 'GET' }, baseOptions), options);
|
|
266
|
+
localVarHeaderParameter = {};
|
|
267
|
+
localVarQueryParameter = {};
|
|
268
|
+
// authentication bearer required
|
|
269
|
+
// http bearer authentication required
|
|
270
|
+
return [4 /*yield*/, (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration)];
|
|
271
|
+
case 1:
|
|
272
|
+
// authentication bearer required
|
|
273
|
+
// http bearer authentication required
|
|
274
|
+
_a.sent();
|
|
275
|
+
if (filter !== undefined) {
|
|
276
|
+
localVarQueryParameter['filter'] = filter;
|
|
277
|
+
}
|
|
278
|
+
if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
|
|
279
|
+
localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
|
|
280
|
+
}
|
|
281
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
282
|
+
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
283
|
+
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
284
|
+
return [2 /*return*/, {
|
|
285
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
286
|
+
options: localVarRequestOptions,
|
|
287
|
+
}];
|
|
288
|
+
}
|
|
289
|
+
});
|
|
290
|
+
});
|
|
291
|
+
},
|
|
292
|
+
};
|
|
293
|
+
};
|
|
294
|
+
exports.LeadStatusesApiAxiosParamCreator = LeadStatusesApiAxiosParamCreator;
|
|
295
|
+
/**
|
|
296
|
+
* LeadStatusesApi - functional programming interface
|
|
297
|
+
* @export
|
|
298
|
+
*/
|
|
299
|
+
var LeadStatusesApiFp = function (configuration) {
|
|
300
|
+
var localVarAxiosParamCreator = (0, exports.LeadStatusesApiAxiosParamCreator)(configuration);
|
|
301
|
+
return {
|
|
302
|
+
/**
|
|
303
|
+
* This will create a lead status. There are 3 predefined lead statuses in our service, but tenants can define their own custom lead statuses as well. Predefined lead statuses are \"created\",\"approved\" and \"declined\".
|
|
304
|
+
* @summary Create the lead status
|
|
305
|
+
* @param {CreateLeadStatusRequestDto} createLeadStatusRequestDto
|
|
306
|
+
* @param {string} [authorization] Bearer Token
|
|
307
|
+
* @param {*} [options] Override http request option.
|
|
308
|
+
* @throws {RequiredError}
|
|
309
|
+
*/
|
|
310
|
+
createLeadStatus: function (createLeadStatusRequestDto, authorization, options) {
|
|
311
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
312
|
+
var localVarAxiosArgs;
|
|
313
|
+
return __generator(this, function (_a) {
|
|
314
|
+
switch (_a.label) {
|
|
315
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.createLeadStatus(createLeadStatusRequestDto, authorization, options)];
|
|
316
|
+
case 1:
|
|
317
|
+
localVarAxiosArgs = _a.sent();
|
|
318
|
+
return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
319
|
+
}
|
|
320
|
+
});
|
|
321
|
+
});
|
|
322
|
+
},
|
|
323
|
+
/**
|
|
324
|
+
* Permanently deletes the lead status. Supply the unique id that was returned when you created the lead status and this will delete it. Deleting a lead status can have an impact on workflows, and it\'s crucial to ensure that no workflows are using the lead status that is being deleted.
|
|
325
|
+
* @summary Delete the lead status
|
|
326
|
+
* @param {number} id
|
|
327
|
+
* @param {string} [authorization] Bearer Token
|
|
328
|
+
* @param {*} [options] Override http request option.
|
|
329
|
+
* @throws {RequiredError}
|
|
330
|
+
*/
|
|
331
|
+
deleteLeadStatus: function (id, authorization, options) {
|
|
332
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
333
|
+
var localVarAxiosArgs;
|
|
334
|
+
return __generator(this, function (_a) {
|
|
335
|
+
switch (_a.label) {
|
|
336
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.deleteLeadStatus(id, authorization, options)];
|
|
337
|
+
case 1:
|
|
338
|
+
localVarAxiosArgs = _a.sent();
|
|
339
|
+
return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
340
|
+
}
|
|
341
|
+
});
|
|
342
|
+
});
|
|
343
|
+
},
|
|
344
|
+
/**
|
|
345
|
+
* Retrieves the details of the lead status that was previously created. Supply the unique lead status code that was returned when you created it and Emil Api will return the corresponding lead status information.
|
|
346
|
+
* @summary Retrieve the lead status
|
|
347
|
+
* @param {number} id
|
|
348
|
+
* @param {string} [authorization] Bearer Token
|
|
349
|
+
* @param {*} [options] Override http request option.
|
|
350
|
+
* @throws {RequiredError}
|
|
351
|
+
*/
|
|
352
|
+
getLeadStatus: function (id, authorization, options) {
|
|
353
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
354
|
+
var localVarAxiosArgs;
|
|
355
|
+
return __generator(this, function (_a) {
|
|
356
|
+
switch (_a.label) {
|
|
357
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.getLeadStatus(id, authorization, options)];
|
|
358
|
+
case 1:
|
|
359
|
+
localVarAxiosArgs = _a.sent();
|
|
360
|
+
return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
361
|
+
}
|
|
362
|
+
});
|
|
363
|
+
});
|
|
364
|
+
},
|
|
365
|
+
/**
|
|
366
|
+
* Returns a list of lead statuses you have previously created. The lead statuses are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
|
|
367
|
+
* @summary List lead statuses
|
|
368
|
+
* @param {string} [authorization] Bearer Token
|
|
369
|
+
* @param {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time. Parameters: owner, id, name and productSlug.
|
|
370
|
+
* @param {*} [options] Override http request option.
|
|
371
|
+
* @throws {RequiredError}
|
|
372
|
+
*/
|
|
373
|
+
listLeadStatuses: function (authorization, filter, options) {
|
|
374
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
375
|
+
var localVarAxiosArgs;
|
|
376
|
+
return __generator(this, function (_a) {
|
|
377
|
+
switch (_a.label) {
|
|
378
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.listLeadStatuses(authorization, filter, options)];
|
|
379
|
+
case 1:
|
|
380
|
+
localVarAxiosArgs = _a.sent();
|
|
381
|
+
return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
382
|
+
}
|
|
383
|
+
});
|
|
384
|
+
});
|
|
385
|
+
},
|
|
386
|
+
};
|
|
387
|
+
};
|
|
388
|
+
exports.LeadStatusesApiFp = LeadStatusesApiFp;
|
|
389
|
+
/**
|
|
390
|
+
* LeadStatusesApi - factory interface
|
|
391
|
+
* @export
|
|
392
|
+
*/
|
|
393
|
+
var LeadStatusesApiFactory = function (configuration, basePath, axios) {
|
|
394
|
+
var localVarFp = (0, exports.LeadStatusesApiFp)(configuration);
|
|
395
|
+
return {
|
|
396
|
+
/**
|
|
397
|
+
* This will create a lead status. There are 3 predefined lead statuses in our service, but tenants can define their own custom lead statuses as well. Predefined lead statuses are \"created\",\"approved\" and \"declined\".
|
|
398
|
+
* @summary Create the lead status
|
|
399
|
+
* @param {CreateLeadStatusRequestDto} createLeadStatusRequestDto
|
|
400
|
+
* @param {string} [authorization] Bearer Token
|
|
401
|
+
* @param {*} [options] Override http request option.
|
|
402
|
+
* @throws {RequiredError}
|
|
403
|
+
*/
|
|
404
|
+
createLeadStatus: function (createLeadStatusRequestDto, authorization, options) {
|
|
405
|
+
return localVarFp.createLeadStatus(createLeadStatusRequestDto, authorization, options).then(function (request) { return request(axios, basePath); });
|
|
406
|
+
},
|
|
407
|
+
/**
|
|
408
|
+
* Permanently deletes the lead status. Supply the unique id that was returned when you created the lead status and this will delete it. Deleting a lead status can have an impact on workflows, and it\'s crucial to ensure that no workflows are using the lead status that is being deleted.
|
|
409
|
+
* @summary Delete the lead status
|
|
410
|
+
* @param {number} id
|
|
411
|
+
* @param {string} [authorization] Bearer Token
|
|
412
|
+
* @param {*} [options] Override http request option.
|
|
413
|
+
* @throws {RequiredError}
|
|
414
|
+
*/
|
|
415
|
+
deleteLeadStatus: function (id, authorization, options) {
|
|
416
|
+
return localVarFp.deleteLeadStatus(id, authorization, options).then(function (request) { return request(axios, basePath); });
|
|
417
|
+
},
|
|
418
|
+
/**
|
|
419
|
+
* Retrieves the details of the lead status that was previously created. Supply the unique lead status code that was returned when you created it and Emil Api will return the corresponding lead status information.
|
|
420
|
+
* @summary Retrieve the lead status
|
|
421
|
+
* @param {number} id
|
|
422
|
+
* @param {string} [authorization] Bearer Token
|
|
423
|
+
* @param {*} [options] Override http request option.
|
|
424
|
+
* @throws {RequiredError}
|
|
425
|
+
*/
|
|
426
|
+
getLeadStatus: function (id, authorization, options) {
|
|
427
|
+
return localVarFp.getLeadStatus(id, authorization, options).then(function (request) { return request(axios, basePath); });
|
|
428
|
+
},
|
|
429
|
+
/**
|
|
430
|
+
* Returns a list of lead statuses you have previously created. The lead statuses are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
|
|
431
|
+
* @summary List lead statuses
|
|
432
|
+
* @param {string} [authorization] Bearer Token
|
|
433
|
+
* @param {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time. Parameters: owner, id, name and productSlug.
|
|
434
|
+
* @param {*} [options] Override http request option.
|
|
435
|
+
* @throws {RequiredError}
|
|
436
|
+
*/
|
|
437
|
+
listLeadStatuses: function (authorization, filter, options) {
|
|
438
|
+
return localVarFp.listLeadStatuses(authorization, filter, options).then(function (request) { return request(axios, basePath); });
|
|
439
|
+
},
|
|
440
|
+
};
|
|
441
|
+
};
|
|
442
|
+
exports.LeadStatusesApiFactory = LeadStatusesApiFactory;
|
|
443
|
+
/**
|
|
444
|
+
* LeadStatusesApi - object-oriented interface
|
|
445
|
+
* @export
|
|
446
|
+
* @class LeadStatusesApi
|
|
447
|
+
* @extends {BaseAPI}
|
|
448
|
+
*/
|
|
449
|
+
var LeadStatusesApi = /** @class */ (function (_super) {
|
|
450
|
+
__extends(LeadStatusesApi, _super);
|
|
451
|
+
function LeadStatusesApi() {
|
|
452
|
+
return _super !== null && _super.apply(this, arguments) || this;
|
|
453
|
+
}
|
|
454
|
+
/**
|
|
455
|
+
* This will create a lead status. There are 3 predefined lead statuses in our service, but tenants can define their own custom lead statuses as well. Predefined lead statuses are \"created\",\"approved\" and \"declined\".
|
|
456
|
+
* @summary Create the lead status
|
|
457
|
+
* @param {LeadStatusesApiCreateLeadStatusRequest} requestParameters Request parameters.
|
|
458
|
+
* @param {*} [options] Override http request option.
|
|
459
|
+
* @throws {RequiredError}
|
|
460
|
+
* @memberof LeadStatusesApi
|
|
461
|
+
*/
|
|
462
|
+
LeadStatusesApi.prototype.createLeadStatus = function (requestParameters, options) {
|
|
463
|
+
var _this = this;
|
|
464
|
+
return (0, exports.LeadStatusesApiFp)(this.configuration).createLeadStatus(requestParameters.createLeadStatusRequestDto, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
465
|
+
};
|
|
466
|
+
/**
|
|
467
|
+
* Permanently deletes the lead status. Supply the unique id that was returned when you created the lead status and this will delete it. Deleting a lead status can have an impact on workflows, and it\'s crucial to ensure that no workflows are using the lead status that is being deleted.
|
|
468
|
+
* @summary Delete the lead status
|
|
469
|
+
* @param {LeadStatusesApiDeleteLeadStatusRequest} requestParameters Request parameters.
|
|
470
|
+
* @param {*} [options] Override http request option.
|
|
471
|
+
* @throws {RequiredError}
|
|
472
|
+
* @memberof LeadStatusesApi
|
|
473
|
+
*/
|
|
474
|
+
LeadStatusesApi.prototype.deleteLeadStatus = function (requestParameters, options) {
|
|
475
|
+
var _this = this;
|
|
476
|
+
return (0, exports.LeadStatusesApiFp)(this.configuration).deleteLeadStatus(requestParameters.id, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
477
|
+
};
|
|
478
|
+
/**
|
|
479
|
+
* Retrieves the details of the lead status that was previously created. Supply the unique lead status code that was returned when you created it and Emil Api will return the corresponding lead status information.
|
|
480
|
+
* @summary Retrieve the lead status
|
|
481
|
+
* @param {LeadStatusesApiGetLeadStatusRequest} requestParameters Request parameters.
|
|
482
|
+
* @param {*} [options] Override http request option.
|
|
483
|
+
* @throws {RequiredError}
|
|
484
|
+
* @memberof LeadStatusesApi
|
|
485
|
+
*/
|
|
486
|
+
LeadStatusesApi.prototype.getLeadStatus = function (requestParameters, options) {
|
|
487
|
+
var _this = this;
|
|
488
|
+
return (0, exports.LeadStatusesApiFp)(this.configuration).getLeadStatus(requestParameters.id, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
489
|
+
};
|
|
490
|
+
/**
|
|
491
|
+
* Returns a list of lead statuses you have previously created. The lead statuses are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
|
|
492
|
+
* @summary List lead statuses
|
|
493
|
+
* @param {LeadStatusesApiListLeadStatusesRequest} requestParameters Request parameters.
|
|
494
|
+
* @param {*} [options] Override http request option.
|
|
495
|
+
* @throws {RequiredError}
|
|
496
|
+
* @memberof LeadStatusesApi
|
|
497
|
+
*/
|
|
498
|
+
LeadStatusesApi.prototype.listLeadStatuses = function (requestParameters, options) {
|
|
499
|
+
var _this = this;
|
|
500
|
+
if (requestParameters === void 0) { requestParameters = {}; }
|
|
501
|
+
return (0, exports.LeadStatusesApiFp)(this.configuration).listLeadStatuses(requestParameters.authorization, requestParameters.filter, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
502
|
+
};
|
|
503
|
+
return LeadStatusesApi;
|
|
504
|
+
}(base_1.BaseAPI));
|
|
505
|
+
exports.LeadStatusesApi = LeadStatusesApi;
|
|
@@ -26,10 +26,12 @@ export declare const ProductVersionsApiAxiosParamCreator: (configuration?: Confi
|
|
|
26
26
|
* @param {string} id
|
|
27
27
|
* @param {number} id2 Internal unique identifier for the object. You should not have to use this, use code instead.
|
|
28
28
|
* @param {string} [authorization] Bearer Token
|
|
29
|
+
* @param {string} [filter]
|
|
30
|
+
* @param {string} [expand]
|
|
29
31
|
* @param {*} [options] Override http request option.
|
|
30
32
|
* @throws {RequiredError}
|
|
31
33
|
*/
|
|
32
|
-
getProductVersion: (id: string, id2: number, authorization?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
34
|
+
getProductVersion: (id: string, id2: number, authorization?: string, filter?: string, expand?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
33
35
|
/**
|
|
34
36
|
* Updates the specified product version by setting the values of the parameters passed. Any parameters not provided will be left unchanged.
|
|
35
37
|
* @summary Update the product version
|
|
@@ -52,10 +54,12 @@ export declare const ProductVersionsApiFp: (configuration?: Configuration) => {
|
|
|
52
54
|
* @param {string} id
|
|
53
55
|
* @param {number} id2 Internal unique identifier for the object. You should not have to use this, use code instead.
|
|
54
56
|
* @param {string} [authorization] Bearer Token
|
|
57
|
+
* @param {string} [filter]
|
|
58
|
+
* @param {string} [expand]
|
|
55
59
|
* @param {*} [options] Override http request option.
|
|
56
60
|
* @throws {RequiredError}
|
|
57
61
|
*/
|
|
58
|
-
getProductVersion(id: string, id2: number, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetProductVersionResponseClass>>;
|
|
62
|
+
getProductVersion(id: string, id2: number, authorization?: string, filter?: string, expand?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetProductVersionResponseClass>>;
|
|
59
63
|
/**
|
|
60
64
|
* Updates the specified product version by setting the values of the parameters passed. Any parameters not provided will be left unchanged.
|
|
61
65
|
* @summary Update the product version
|
|
@@ -78,10 +82,12 @@ export declare const ProductVersionsApiFactory: (configuration?: Configuration,
|
|
|
78
82
|
* @param {string} id
|
|
79
83
|
* @param {number} id2 Internal unique identifier for the object. You should not have to use this, use code instead.
|
|
80
84
|
* @param {string} [authorization] Bearer Token
|
|
85
|
+
* @param {string} [filter]
|
|
86
|
+
* @param {string} [expand]
|
|
81
87
|
* @param {*} [options] Override http request option.
|
|
82
88
|
* @throws {RequiredError}
|
|
83
89
|
*/
|
|
84
|
-
getProductVersion(id: string, id2: number, authorization?: string, options?: any): AxiosPromise<GetProductVersionResponseClass>;
|
|
90
|
+
getProductVersion(id: string, id2: number, authorization?: string, filter?: string, expand?: string, options?: any): AxiosPromise<GetProductVersionResponseClass>;
|
|
85
91
|
/**
|
|
86
92
|
* Updates the specified product version by setting the values of the parameters passed. Any parameters not provided will be left unchanged.
|
|
87
93
|
* @summary Update the product version
|
|
@@ -117,6 +123,18 @@ export interface ProductVersionsApiGetProductVersionRequest {
|
|
|
117
123
|
* @memberof ProductVersionsApiGetProductVersion
|
|
118
124
|
*/
|
|
119
125
|
readonly authorization?: string;
|
|
126
|
+
/**
|
|
127
|
+
*
|
|
128
|
+
* @type {string}
|
|
129
|
+
* @memberof ProductVersionsApiGetProductVersion
|
|
130
|
+
*/
|
|
131
|
+
readonly filter?: string;
|
|
132
|
+
/**
|
|
133
|
+
*
|
|
134
|
+
* @type {string}
|
|
135
|
+
* @memberof ProductVersionsApiGetProductVersion
|
|
136
|
+
*/
|
|
137
|
+
readonly expand?: string;
|
|
120
138
|
}
|
|
121
139
|
/**
|
|
122
140
|
* Request parameters for updateProductVersion operation in ProductVersionsApi.
|
|
@@ -102,10 +102,12 @@ var ProductVersionsApiAxiosParamCreator = function (configuration) {
|
|
|
102
102
|
* @param {string} id
|
|
103
103
|
* @param {number} id2 Internal unique identifier for the object. You should not have to use this, use code instead.
|
|
104
104
|
* @param {string} [authorization] Bearer Token
|
|
105
|
+
* @param {string} [filter]
|
|
106
|
+
* @param {string} [expand]
|
|
105
107
|
* @param {*} [options] Override http request option.
|
|
106
108
|
* @throws {RequiredError}
|
|
107
109
|
*/
|
|
108
|
-
getProductVersion: function (id, id2, authorization, options) {
|
|
110
|
+
getProductVersion: function (id, id2, authorization, filter, expand, options) {
|
|
109
111
|
if (options === void 0) { options = {}; }
|
|
110
112
|
return __awaiter(_this, void 0, void 0, function () {
|
|
111
113
|
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
@@ -136,6 +138,12 @@ var ProductVersionsApiAxiosParamCreator = function (configuration) {
|
|
|
136
138
|
if (id2 !== undefined) {
|
|
137
139
|
localVarQueryParameter['id'] = id2;
|
|
138
140
|
}
|
|
141
|
+
if (filter !== undefined) {
|
|
142
|
+
localVarQueryParameter['filter'] = filter;
|
|
143
|
+
}
|
|
144
|
+
if (expand !== undefined) {
|
|
145
|
+
localVarQueryParameter['expand'] = expand;
|
|
146
|
+
}
|
|
139
147
|
if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
|
|
140
148
|
localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
|
|
141
149
|
}
|
|
@@ -219,15 +227,17 @@ var ProductVersionsApiFp = function (configuration) {
|
|
|
219
227
|
* @param {string} id
|
|
220
228
|
* @param {number} id2 Internal unique identifier for the object. You should not have to use this, use code instead.
|
|
221
229
|
* @param {string} [authorization] Bearer Token
|
|
230
|
+
* @param {string} [filter]
|
|
231
|
+
* @param {string} [expand]
|
|
222
232
|
* @param {*} [options] Override http request option.
|
|
223
233
|
* @throws {RequiredError}
|
|
224
234
|
*/
|
|
225
|
-
getProductVersion: function (id, id2, authorization, options) {
|
|
235
|
+
getProductVersion: function (id, id2, authorization, filter, expand, options) {
|
|
226
236
|
return __awaiter(this, void 0, void 0, function () {
|
|
227
237
|
var localVarAxiosArgs;
|
|
228
238
|
return __generator(this, function (_a) {
|
|
229
239
|
switch (_a.label) {
|
|
230
|
-
case 0: return [4 /*yield*/, localVarAxiosParamCreator.getProductVersion(id, id2, authorization, options)];
|
|
240
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.getProductVersion(id, id2, authorization, filter, expand, options)];
|
|
231
241
|
case 1:
|
|
232
242
|
localVarAxiosArgs = _a.sent();
|
|
233
243
|
return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
@@ -273,11 +283,13 @@ var ProductVersionsApiFactory = function (configuration, basePath, axios) {
|
|
|
273
283
|
* @param {string} id
|
|
274
284
|
* @param {number} id2 Internal unique identifier for the object. You should not have to use this, use code instead.
|
|
275
285
|
* @param {string} [authorization] Bearer Token
|
|
286
|
+
* @param {string} [filter]
|
|
287
|
+
* @param {string} [expand]
|
|
276
288
|
* @param {*} [options] Override http request option.
|
|
277
289
|
* @throws {RequiredError}
|
|
278
290
|
*/
|
|
279
|
-
getProductVersion: function (id, id2, authorization, options) {
|
|
280
|
-
return localVarFp.getProductVersion(id, id2, authorization, options).then(function (request) { return request(axios, basePath); });
|
|
291
|
+
getProductVersion: function (id, id2, authorization, filter, expand, options) {
|
|
292
|
+
return localVarFp.getProductVersion(id, id2, authorization, filter, expand, options).then(function (request) { return request(axios, basePath); });
|
|
281
293
|
},
|
|
282
294
|
/**
|
|
283
295
|
* Updates the specified product version by setting the values of the parameters passed. Any parameters not provided will be left unchanged.
|
|
@@ -315,7 +327,7 @@ var ProductVersionsApi = /** @class */ (function (_super) {
|
|
|
315
327
|
*/
|
|
316
328
|
ProductVersionsApi.prototype.getProductVersion = function (requestParameters, options) {
|
|
317
329
|
var _this = this;
|
|
318
|
-
return (0, exports.ProductVersionsApiFp)(this.configuration).getProductVersion(requestParameters.id, requestParameters.id2, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
330
|
+
return (0, exports.ProductVersionsApiFp)(this.configuration).getProductVersion(requestParameters.id, requestParameters.id2, requestParameters.authorization, requestParameters.filter, requestParameters.expand, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
319
331
|
};
|
|
320
332
|
/**
|
|
321
333
|
* Updates the specified product version by setting the values of the parameters passed. Any parameters not provided will be left unchanged.
|
package/dist/api.d.ts
CHANGED
|
@@ -11,6 +11,7 @@
|
|
|
11
11
|
*/
|
|
12
12
|
export * from './api/insured-object-types-api';
|
|
13
13
|
export * from './api/insured-objects-api';
|
|
14
|
+
export * from './api/lead-statuses-api';
|
|
14
15
|
export * from './api/leads-api';
|
|
15
16
|
export * from './api/policies-api';
|
|
16
17
|
export * from './api/premium-formulas-api';
|
package/dist/api.js
CHANGED
|
@@ -29,6 +29,7 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
|
29
29
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
30
30
|
__exportStar(require("./api/insured-object-types-api"), exports);
|
|
31
31
|
__exportStar(require("./api/insured-objects-api"), exports);
|
|
32
|
+
__exportStar(require("./api/lead-statuses-api"), exports);
|
|
32
33
|
__exportStar(require("./api/leads-api"), exports);
|
|
33
34
|
__exportStar(require("./api/policies-api"), exports);
|
|
34
35
|
__exportStar(require("./api/premium-formulas-api"), exports);
|