@emilgroup/insurance-sdk 1.72.1-beta.9 → 1.73.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 +0 -1
- package/README.md +2 -2
- package/dist/api/booking-funnel-versions-api.js +8 -25
- package/dist/api/booking-funnels-api.js +20 -53
- package/dist/api/commission-agreement-items-api.js +17 -46
- package/dist/api/commission-agreement-products-api.js +17 -46
- package/dist/api/commission-agreement-versions-api.js +14 -39
- package/dist/api/commission-agreements-api.js +17 -46
- package/dist/api/commission-recipients-api.js +17 -46
- package/dist/api/emil-functions-api.js +35 -88
- package/dist/api/health-check-api.js +5 -18
- package/dist/api/insured-object-types-api.js +5 -18
- package/dist/api/insured-objects-api.js +14 -39
- package/dist/api/lead-statuses-api.js +17 -46
- package/dist/api/lead-versions-api.js +8 -25
- package/dist/api/leads-api.js +32 -81
- package/dist/api/named-ranges-api.js +20 -53
- package/dist/api/partner-links-api.js +20 -53
- package/dist/api/partner-roles-api.js +17 -46
- package/dist/api/policies-api.js +50 -123
- package/dist/api/premium-formulas-api.js +20 -53
- package/dist/api/product-factors-api.js +23 -60
- package/dist/api/product-fields-api.js +23 -60
- package/dist/api/product-versions-api.js +8 -25
- package/dist/api/products-api.js +20 -53
- package/dist/api/status-transition-rules-api.js +20 -53
- package/dist/base.js +5 -5
- package/dist/common.d.ts +1 -1
- package/dist/common.js +2 -2
- package/dist/models/create-product-field-request-dto.d.ts +0 -22
- package/dist/models/create-product-field-request-dto.js +1 -9
- package/dist/models/index.d.ts +0 -1
- package/dist/models/index.js +0 -1
- package/dist/models/product-field-class.d.ts +0 -34
- package/dist/models/product-field-class.js +0 -9
- package/dist/models/shared-product-field-class.d.ts +0 -34
- package/dist/models/shared-product-field-class.js +0 -9
- package/dist/models/update-product-field-request-dto.d.ts +0 -22
- package/dist/models/update-product-field-request-dto.js +1 -9
- package/models/create-product-field-request-dto.ts +0 -24
- package/models/index.ts +0 -1
- package/models/product-field-class.ts +0 -38
- package/models/shared-product-field-class.ts +0 -38
- package/models/update-product-field-request-dto.ts +0 -24
- package/package.json +3 -3
- package/dist/models/create-product-version-request-dto.d.ts +0 -30
- package/dist/models/create-product-version-request-dto.js +0 -15
- package/models/create-product-version-request-dto.ts +0 -36
|
@@ -48,8 +48,8 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
|
|
|
48
48
|
});
|
|
49
49
|
};
|
|
50
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
|
|
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
53
|
function verb(n) { return function (v) { return step([n, v]); }; }
|
|
54
54
|
function step(op) {
|
|
55
55
|
if (f) throw new TypeError("Generator is already executing.");
|
|
@@ -74,15 +74,6 @@ var __generator = (this && this.__generator) || function (thisArg, body) {
|
|
|
74
74
|
if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true };
|
|
75
75
|
}
|
|
76
76
|
};
|
|
77
|
-
var __spreadArray = (this && this.__spreadArray) || function (to, from, pack) {
|
|
78
|
-
if (pack || arguments.length === 2) for (var i = 0, l = from.length, ar; i < l; i++) {
|
|
79
|
-
if (ar || !(i in from)) {
|
|
80
|
-
if (!ar) ar = Array.prototype.slice.call(from, 0, i);
|
|
81
|
-
ar[i] = from[i];
|
|
82
|
-
}
|
|
83
|
-
}
|
|
84
|
-
return to.concat(ar || Array.prototype.slice.call(from));
|
|
85
|
-
};
|
|
86
77
|
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
87
78
|
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
88
79
|
};
|
|
@@ -109,14 +100,10 @@ var InsuredObjectsApiAxiosParamCreator = function (configuration) {
|
|
|
109
100
|
* @param {*} [options] Override http request option.
|
|
110
101
|
* @throws {RequiredError}
|
|
111
102
|
*/
|
|
112
|
-
createInsuredObject: function (
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
args_1[_i - 2] = arguments[_i];
|
|
116
|
-
}
|
|
117
|
-
return __awaiter(_this, __spreadArray([createInsuredObjectRequestDto_1, authorization_1], args_1, true), void 0, function (createInsuredObjectRequestDto, authorization, options) {
|
|
103
|
+
createInsuredObject: function (createInsuredObjectRequestDto, authorization, options) {
|
|
104
|
+
if (options === void 0) { options = {}; }
|
|
105
|
+
return __awaiter(_this, void 0, void 0, function () {
|
|
118
106
|
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
119
|
-
if (options === void 0) { options = {}; }
|
|
120
107
|
return __generator(this, function (_a) {
|
|
121
108
|
switch (_a.label) {
|
|
122
109
|
case 0:
|
|
@@ -162,14 +149,10 @@ var InsuredObjectsApiAxiosParamCreator = function (configuration) {
|
|
|
162
149
|
* @param {*} [options] Override http request option.
|
|
163
150
|
* @throws {RequiredError}
|
|
164
151
|
*/
|
|
165
|
-
deleteInsuredObject: function (
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
args_1[_i - 2] = arguments[_i];
|
|
169
|
-
}
|
|
170
|
-
return __awaiter(_this, __spreadArray([id_1, authorization_1], args_1, true), void 0, function (id, authorization, options) {
|
|
152
|
+
deleteInsuredObject: function (id, authorization, options) {
|
|
153
|
+
if (options === void 0) { options = {}; }
|
|
154
|
+
return __awaiter(_this, void 0, void 0, function () {
|
|
171
155
|
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
172
|
-
if (options === void 0) { options = {}; }
|
|
173
156
|
return __generator(this, function (_a) {
|
|
174
157
|
switch (_a.label) {
|
|
175
158
|
case 0:
|
|
@@ -215,14 +198,10 @@ var InsuredObjectsApiAxiosParamCreator = function (configuration) {
|
|
|
215
198
|
* @param {*} [options] Override http request option.
|
|
216
199
|
* @throws {RequiredError}
|
|
217
200
|
*/
|
|
218
|
-
getInsuredObject: function (
|
|
219
|
-
|
|
220
|
-
|
|
221
|
-
args_1[_i - 3] = arguments[_i];
|
|
222
|
-
}
|
|
223
|
-
return __awaiter(_this, __spreadArray([id_1, authorization_1, expand_1], args_1, true), void 0, function (id, authorization, expand, options) {
|
|
201
|
+
getInsuredObject: function (id, authorization, expand, options) {
|
|
202
|
+
if (options === void 0) { options = {}; }
|
|
203
|
+
return __awaiter(_this, void 0, void 0, function () {
|
|
224
204
|
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
225
|
-
if (options === void 0) { options = {}; }
|
|
226
205
|
return __generator(this, function (_a) {
|
|
227
206
|
switch (_a.label) {
|
|
228
207
|
case 0:
|
|
@@ -276,14 +255,10 @@ var InsuredObjectsApiAxiosParamCreator = function (configuration) {
|
|
|
276
255
|
* @param {*} [options] Override http request option.
|
|
277
256
|
* @throws {RequiredError}
|
|
278
257
|
*/
|
|
279
|
-
listInsuredObjects: function (
|
|
280
|
-
|
|
281
|
-
|
|
282
|
-
args_1[_i - 8] = arguments[_i];
|
|
283
|
-
}
|
|
284
|
-
return __awaiter(_this, __spreadArray([authorization_1, pageSize_1, pageToken_1, filter_1, search_1, order_1, expand_1, filters_1], args_1, true), void 0, function (authorization, pageSize, pageToken, filter, search, order, expand, filters, options) {
|
|
258
|
+
listInsuredObjects: function (authorization, pageSize, pageToken, filter, search, order, expand, filters, options) {
|
|
259
|
+
if (options === void 0) { options = {}; }
|
|
260
|
+
return __awaiter(_this, void 0, void 0, function () {
|
|
285
261
|
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
286
|
-
if (options === void 0) { options = {}; }
|
|
287
262
|
return __generator(this, function (_a) {
|
|
288
263
|
switch (_a.label) {
|
|
289
264
|
case 0:
|
|
@@ -48,8 +48,8 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
|
|
|
48
48
|
});
|
|
49
49
|
};
|
|
50
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
|
|
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
53
|
function verb(n) { return function (v) { return step([n, v]); }; }
|
|
54
54
|
function step(op) {
|
|
55
55
|
if (f) throw new TypeError("Generator is already executing.");
|
|
@@ -74,15 +74,6 @@ var __generator = (this && this.__generator) || function (thisArg, body) {
|
|
|
74
74
|
if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true };
|
|
75
75
|
}
|
|
76
76
|
};
|
|
77
|
-
var __spreadArray = (this && this.__spreadArray) || function (to, from, pack) {
|
|
78
|
-
if (pack || arguments.length === 2) for (var i = 0, l = from.length, ar; i < l; i++) {
|
|
79
|
-
if (ar || !(i in from)) {
|
|
80
|
-
if (!ar) ar = Array.prototype.slice.call(from, 0, i);
|
|
81
|
-
ar[i] = from[i];
|
|
82
|
-
}
|
|
83
|
-
}
|
|
84
|
-
return to.concat(ar || Array.prototype.slice.call(from));
|
|
85
|
-
};
|
|
86
77
|
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
87
78
|
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
88
79
|
};
|
|
@@ -109,14 +100,10 @@ var LeadStatusesApiAxiosParamCreator = function (configuration) {
|
|
|
109
100
|
* @param {*} [options] Override http request option.
|
|
110
101
|
* @throws {RequiredError}
|
|
111
102
|
*/
|
|
112
|
-
createLeadStatus: function (
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
args_1[_i - 2] = arguments[_i];
|
|
116
|
-
}
|
|
117
|
-
return __awaiter(_this, __spreadArray([createLeadStatusRequestDto_1, authorization_1], args_1, true), void 0, function (createLeadStatusRequestDto, authorization, options) {
|
|
103
|
+
createLeadStatus: function (createLeadStatusRequestDto, authorization, options) {
|
|
104
|
+
if (options === void 0) { options = {}; }
|
|
105
|
+
return __awaiter(_this, void 0, void 0, function () {
|
|
118
106
|
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
119
|
-
if (options === void 0) { options = {}; }
|
|
120
107
|
return __generator(this, function (_a) {
|
|
121
108
|
switch (_a.label) {
|
|
122
109
|
case 0:
|
|
@@ -162,14 +149,10 @@ var LeadStatusesApiAxiosParamCreator = function (configuration) {
|
|
|
162
149
|
* @param {*} [options] Override http request option.
|
|
163
150
|
* @throws {RequiredError}
|
|
164
151
|
*/
|
|
165
|
-
deleteLeadStatus: function (
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
args_1[_i - 2] = arguments[_i];
|
|
169
|
-
}
|
|
170
|
-
return __awaiter(_this, __spreadArray([code_1, authorization_1], args_1, true), void 0, function (code, authorization, options) {
|
|
152
|
+
deleteLeadStatus: function (code, authorization, options) {
|
|
153
|
+
if (options === void 0) { options = {}; }
|
|
154
|
+
return __awaiter(_this, void 0, void 0, function () {
|
|
171
155
|
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
172
|
-
if (options === void 0) { options = {}; }
|
|
173
156
|
return __generator(this, function (_a) {
|
|
174
157
|
switch (_a.label) {
|
|
175
158
|
case 0:
|
|
@@ -214,14 +197,10 @@ var LeadStatusesApiAxiosParamCreator = function (configuration) {
|
|
|
214
197
|
* @param {*} [options] Override http request option.
|
|
215
198
|
* @throws {RequiredError}
|
|
216
199
|
*/
|
|
217
|
-
getLeadStatus: function (
|
|
218
|
-
|
|
219
|
-
|
|
220
|
-
args_1[_i - 2] = arguments[_i];
|
|
221
|
-
}
|
|
222
|
-
return __awaiter(_this, __spreadArray([code_1, authorization_1], args_1, true), void 0, function (code, authorization, options) {
|
|
200
|
+
getLeadStatus: function (code, authorization, options) {
|
|
201
|
+
if (options === void 0) { options = {}; }
|
|
202
|
+
return __awaiter(_this, void 0, void 0, function () {
|
|
223
203
|
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
224
|
-
if (options === void 0) { options = {}; }
|
|
225
204
|
return __generator(this, function (_a) {
|
|
226
205
|
switch (_a.label) {
|
|
227
206
|
case 0:
|
|
@@ -272,14 +251,10 @@ var LeadStatusesApiAxiosParamCreator = function (configuration) {
|
|
|
272
251
|
* @param {*} [options] Override http request option.
|
|
273
252
|
* @throws {RequiredError}
|
|
274
253
|
*/
|
|
275
|
-
listLeadStatuses: function (
|
|
276
|
-
|
|
277
|
-
|
|
278
|
-
args_1[_i - 8] = arguments[_i];
|
|
279
|
-
}
|
|
280
|
-
return __awaiter(_this, __spreadArray([authorization_1, pageSize_1, pageToken_1, filter_1, search_1, order_1, expand_1, filters_1], args_1, true), void 0, function (authorization, pageSize, pageToken, filter, search, order, expand, filters, options) {
|
|
254
|
+
listLeadStatuses: function (authorization, pageSize, pageToken, filter, search, order, expand, filters, options) {
|
|
255
|
+
if (options === void 0) { options = {}; }
|
|
256
|
+
return __awaiter(_this, void 0, void 0, function () {
|
|
281
257
|
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
282
|
-
if (options === void 0) { options = {}; }
|
|
283
258
|
return __generator(this, function (_a) {
|
|
284
259
|
switch (_a.label) {
|
|
285
260
|
case 0:
|
|
@@ -343,14 +318,10 @@ var LeadStatusesApiAxiosParamCreator = function (configuration) {
|
|
|
343
318
|
* @param {*} [options] Override http request option.
|
|
344
319
|
* @throws {RequiredError}
|
|
345
320
|
*/
|
|
346
|
-
updateLeadStatus: function (
|
|
347
|
-
|
|
348
|
-
|
|
349
|
-
args_1[_i - 3] = arguments[_i];
|
|
350
|
-
}
|
|
351
|
-
return __awaiter(_this, __spreadArray([code_1, updateLeadStatusRequestDto_1, authorization_1], args_1, true), void 0, function (code, updateLeadStatusRequestDto, authorization, options) {
|
|
321
|
+
updateLeadStatus: function (code, updateLeadStatusRequestDto, authorization, options) {
|
|
322
|
+
if (options === void 0) { options = {}; }
|
|
323
|
+
return __awaiter(_this, void 0, void 0, function () {
|
|
352
324
|
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
353
|
-
if (options === void 0) { options = {}; }
|
|
354
325
|
return __generator(this, function (_a) {
|
|
355
326
|
switch (_a.label) {
|
|
356
327
|
case 0:
|
|
@@ -48,8 +48,8 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
|
|
|
48
48
|
});
|
|
49
49
|
};
|
|
50
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
|
|
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
53
|
function verb(n) { return function (v) { return step([n, v]); }; }
|
|
54
54
|
function step(op) {
|
|
55
55
|
if (f) throw new TypeError("Generator is already executing.");
|
|
@@ -74,15 +74,6 @@ var __generator = (this && this.__generator) || function (thisArg, body) {
|
|
|
74
74
|
if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true };
|
|
75
75
|
}
|
|
76
76
|
};
|
|
77
|
-
var __spreadArray = (this && this.__spreadArray) || function (to, from, pack) {
|
|
78
|
-
if (pack || arguments.length === 2) for (var i = 0, l = from.length, ar; i < l; i++) {
|
|
79
|
-
if (ar || !(i in from)) {
|
|
80
|
-
if (!ar) ar = Array.prototype.slice.call(from, 0, i);
|
|
81
|
-
ar[i] = from[i];
|
|
82
|
-
}
|
|
83
|
-
}
|
|
84
|
-
return to.concat(ar || Array.prototype.slice.call(from));
|
|
85
|
-
};
|
|
86
77
|
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
87
78
|
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
88
79
|
};
|
|
@@ -110,14 +101,10 @@ var LeadVersionsApiAxiosParamCreator = function (configuration) {
|
|
|
110
101
|
* @param {*} [options] Override http request option.
|
|
111
102
|
* @throws {RequiredError}
|
|
112
103
|
*/
|
|
113
|
-
getLeadVersion: function (
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
args_1[_i - 3] = arguments[_i];
|
|
117
|
-
}
|
|
118
|
-
return __awaiter(_this, __spreadArray([code_1, version_1, authorization_1], args_1, true), void 0, function (code, version, authorization, options) {
|
|
104
|
+
getLeadVersion: function (code, version, authorization, options) {
|
|
105
|
+
if (options === void 0) { options = {}; }
|
|
106
|
+
return __awaiter(_this, void 0, void 0, function () {
|
|
119
107
|
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
120
|
-
if (options === void 0) { options = {}; }
|
|
121
108
|
return __generator(this, function (_a) {
|
|
122
109
|
switch (_a.label) {
|
|
123
110
|
case 0:
|
|
@@ -172,14 +159,10 @@ var LeadVersionsApiAxiosParamCreator = function (configuration) {
|
|
|
172
159
|
* @param {*} [options] Override http request option.
|
|
173
160
|
* @throws {RequiredError}
|
|
174
161
|
*/
|
|
175
|
-
listLeadVersions: function (
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
args_1[_i - 9] = arguments[_i];
|
|
179
|
-
}
|
|
180
|
-
return __awaiter(_this, __spreadArray([code_1, authorization_1, pageSize_1, pageToken_1, filter_1, search_1, order_1, expand_1, filters_1], args_1, true), void 0, function (code, authorization, pageSize, pageToken, filter, search, order, expand, filters, options) {
|
|
162
|
+
listLeadVersions: function (code, authorization, pageSize, pageToken, filter, search, order, expand, filters, options) {
|
|
163
|
+
if (options === void 0) { options = {}; }
|
|
164
|
+
return __awaiter(_this, void 0, void 0, function () {
|
|
181
165
|
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
182
|
-
if (options === void 0) { options = {}; }
|
|
183
166
|
return __generator(this, function (_a) {
|
|
184
167
|
switch (_a.label) {
|
|
185
168
|
case 0:
|
package/dist/api/leads-api.js
CHANGED
|
@@ -48,8 +48,8 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
|
|
|
48
48
|
});
|
|
49
49
|
};
|
|
50
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
|
|
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
53
|
function verb(n) { return function (v) { return step([n, v]); }; }
|
|
54
54
|
function step(op) {
|
|
55
55
|
if (f) throw new TypeError("Generator is already executing.");
|
|
@@ -74,15 +74,6 @@ var __generator = (this && this.__generator) || function (thisArg, body) {
|
|
|
74
74
|
if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true };
|
|
75
75
|
}
|
|
76
76
|
};
|
|
77
|
-
var __spreadArray = (this && this.__spreadArray) || function (to, from, pack) {
|
|
78
|
-
if (pack || arguments.length === 2) for (var i = 0, l = from.length, ar; i < l; i++) {
|
|
79
|
-
if (ar || !(i in from)) {
|
|
80
|
-
if (!ar) ar = Array.prototype.slice.call(from, 0, i);
|
|
81
|
-
ar[i] = from[i];
|
|
82
|
-
}
|
|
83
|
-
}
|
|
84
|
-
return to.concat(ar || Array.prototype.slice.call(from));
|
|
85
|
-
};
|
|
86
77
|
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
87
78
|
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
88
79
|
};
|
|
@@ -110,14 +101,10 @@ var LeadsApiAxiosParamCreator = function (configuration) {
|
|
|
110
101
|
* @param {*} [options] Override http request option.
|
|
111
102
|
* @throws {RequiredError}
|
|
112
103
|
*/
|
|
113
|
-
cloneLead: function (
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
args_1[_i - 3] = arguments[_i];
|
|
117
|
-
}
|
|
118
|
-
return __awaiter(_this, __spreadArray([code_1, cloneLeadRequestDto_1, authorization_1], args_1, true), void 0, function (code, cloneLeadRequestDto, authorization, options) {
|
|
104
|
+
cloneLead: function (code, cloneLeadRequestDto, authorization, options) {
|
|
105
|
+
if (options === void 0) { options = {}; }
|
|
106
|
+
return __awaiter(_this, void 0, void 0, function () {
|
|
119
107
|
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
120
|
-
if (options === void 0) { options = {}; }
|
|
121
108
|
return __generator(this, function (_a) {
|
|
122
109
|
switch (_a.label) {
|
|
123
110
|
case 0:
|
|
@@ -166,14 +153,10 @@ var LeadsApiAxiosParamCreator = function (configuration) {
|
|
|
166
153
|
* @param {*} [options] Override http request option.
|
|
167
154
|
* @throws {RequiredError}
|
|
168
155
|
*/
|
|
169
|
-
createLead: function (
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
args_1[_i - 2] = arguments[_i];
|
|
173
|
-
}
|
|
174
|
-
return __awaiter(_this, __spreadArray([createLeadRequestDto_1, authorization_1], args_1, true), void 0, function (createLeadRequestDto, authorization, options) {
|
|
156
|
+
createLead: function (createLeadRequestDto, authorization, options) {
|
|
157
|
+
if (options === void 0) { options = {}; }
|
|
158
|
+
return __awaiter(_this, void 0, void 0, function () {
|
|
175
159
|
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
176
|
-
if (options === void 0) { options = {}; }
|
|
177
160
|
return __generator(this, function (_a) {
|
|
178
161
|
switch (_a.label) {
|
|
179
162
|
case 0:
|
|
@@ -219,14 +202,10 @@ var LeadsApiAxiosParamCreator = function (configuration) {
|
|
|
219
202
|
* @param {*} [options] Override http request option.
|
|
220
203
|
* @throws {RequiredError}
|
|
221
204
|
*/
|
|
222
|
-
createLeadAsync: function (
|
|
223
|
-
|
|
224
|
-
|
|
225
|
-
args_1[_i - 2] = arguments[_i];
|
|
226
|
-
}
|
|
227
|
-
return __awaiter(_this, __spreadArray([createLeadRequestDto_1, authorization_1], args_1, true), void 0, function (createLeadRequestDto, authorization, options) {
|
|
205
|
+
createLeadAsync: function (createLeadRequestDto, authorization, options) {
|
|
206
|
+
if (options === void 0) { options = {}; }
|
|
207
|
+
return __awaiter(_this, void 0, void 0, function () {
|
|
228
208
|
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
229
|
-
if (options === void 0) { options = {}; }
|
|
230
209
|
return __generator(this, function (_a) {
|
|
231
210
|
switch (_a.label) {
|
|
232
211
|
case 0:
|
|
@@ -272,14 +251,10 @@ var LeadsApiAxiosParamCreator = function (configuration) {
|
|
|
272
251
|
* @param {*} [options] Override http request option.
|
|
273
252
|
* @throws {RequiredError}
|
|
274
253
|
*/
|
|
275
|
-
createLeadSync: function (
|
|
276
|
-
|
|
277
|
-
|
|
278
|
-
args_1[_i - 2] = arguments[_i];
|
|
279
|
-
}
|
|
280
|
-
return __awaiter(_this, __spreadArray([createLeadRequestDto_1, authorization_1], args_1, true), void 0, function (createLeadRequestDto, authorization, options) {
|
|
254
|
+
createLeadSync: function (createLeadRequestDto, authorization, options) {
|
|
255
|
+
if (options === void 0) { options = {}; }
|
|
256
|
+
return __awaiter(_this, void 0, void 0, function () {
|
|
281
257
|
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
282
|
-
if (options === void 0) { options = {}; }
|
|
283
258
|
return __generator(this, function (_a) {
|
|
284
259
|
switch (_a.label) {
|
|
285
260
|
case 0:
|
|
@@ -325,14 +300,10 @@ var LeadsApiAxiosParamCreator = function (configuration) {
|
|
|
325
300
|
* @param {*} [options] Override http request option.
|
|
326
301
|
* @throws {RequiredError}
|
|
327
302
|
*/
|
|
328
|
-
deleteLead: function (
|
|
329
|
-
|
|
330
|
-
|
|
331
|
-
args_1[_i - 2] = arguments[_i];
|
|
332
|
-
}
|
|
333
|
-
return __awaiter(_this, __spreadArray([code_1, authorization_1], args_1, true), void 0, function (code, authorization, options) {
|
|
303
|
+
deleteLead: function (code, authorization, options) {
|
|
304
|
+
if (options === void 0) { options = {}; }
|
|
305
|
+
return __awaiter(_this, void 0, void 0, function () {
|
|
334
306
|
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
335
|
-
if (options === void 0) { options = {}; }
|
|
336
307
|
return __generator(this, function (_a) {
|
|
337
308
|
switch (_a.label) {
|
|
338
309
|
case 0:
|
|
@@ -378,14 +349,10 @@ var LeadsApiAxiosParamCreator = function (configuration) {
|
|
|
378
349
|
* @param {*} [options] Override http request option.
|
|
379
350
|
* @throws {RequiredError}
|
|
380
351
|
*/
|
|
381
|
-
getLead: function (
|
|
382
|
-
|
|
383
|
-
|
|
384
|
-
args_1[_i - 3] = arguments[_i];
|
|
385
|
-
}
|
|
386
|
-
return __awaiter(_this, __spreadArray([code_1, authorization_1, expand_1], args_1, true), void 0, function (code, authorization, expand, options) {
|
|
352
|
+
getLead: function (code, authorization, expand, options) {
|
|
353
|
+
if (options === void 0) { options = {}; }
|
|
354
|
+
return __awaiter(_this, void 0, void 0, function () {
|
|
387
355
|
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
388
|
-
if (options === void 0) { options = {}; }
|
|
389
356
|
return __generator(this, function (_a) {
|
|
390
357
|
switch (_a.label) {
|
|
391
358
|
case 0:
|
|
@@ -439,14 +406,10 @@ var LeadsApiAxiosParamCreator = function (configuration) {
|
|
|
439
406
|
* @param {*} [options] Override http request option.
|
|
440
407
|
* @throws {RequiredError}
|
|
441
408
|
*/
|
|
442
|
-
listLeads: function (
|
|
443
|
-
|
|
444
|
-
|
|
445
|
-
args_1[_i - 8] = arguments[_i];
|
|
446
|
-
}
|
|
447
|
-
return __awaiter(_this, __spreadArray([authorization_1, pageSize_1, pageToken_1, filter_1, search_1, order_1, expand_1, filters_1], args_1, true), void 0, function (authorization, pageSize, pageToken, filter, search, order, expand, filters, options) {
|
|
409
|
+
listLeads: function (authorization, pageSize, pageToken, filter, search, order, expand, filters, options) {
|
|
410
|
+
if (options === void 0) { options = {}; }
|
|
411
|
+
return __awaiter(_this, void 0, void 0, function () {
|
|
448
412
|
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
449
|
-
if (options === void 0) { options = {}; }
|
|
450
413
|
return __generator(this, function (_a) {
|
|
451
414
|
switch (_a.label) {
|
|
452
415
|
case 0:
|
|
@@ -510,14 +473,10 @@ var LeadsApiAxiosParamCreator = function (configuration) {
|
|
|
510
473
|
* @param {*} [options] Override http request option.
|
|
511
474
|
* @throws {RequiredError}
|
|
512
475
|
*/
|
|
513
|
-
patchLead: function (
|
|
514
|
-
|
|
515
|
-
|
|
516
|
-
args_1[_i - 3] = arguments[_i];
|
|
517
|
-
}
|
|
518
|
-
return __awaiter(_this, __spreadArray([code_1, patchLeadRequestDto_1, authorization_1], args_1, true), void 0, function (code, patchLeadRequestDto, authorization, options) {
|
|
476
|
+
patchLead: function (code, patchLeadRequestDto, authorization, options) {
|
|
477
|
+
if (options === void 0) { options = {}; }
|
|
478
|
+
return __awaiter(_this, void 0, void 0, function () {
|
|
519
479
|
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
520
|
-
if (options === void 0) { options = {}; }
|
|
521
480
|
return __generator(this, function (_a) {
|
|
522
481
|
switch (_a.label) {
|
|
523
482
|
case 0:
|
|
@@ -567,14 +526,10 @@ var LeadsApiAxiosParamCreator = function (configuration) {
|
|
|
567
526
|
* @param {*} [options] Override http request option.
|
|
568
527
|
* @throws {RequiredError}
|
|
569
528
|
*/
|
|
570
|
-
updateLead: function (
|
|
571
|
-
|
|
572
|
-
|
|
573
|
-
args_1[_i - 3] = arguments[_i];
|
|
574
|
-
}
|
|
575
|
-
return __awaiter(_this, __spreadArray([code_1, updateLeadRequestDto_1, authorization_1], args_1, true), void 0, function (code, updateLeadRequestDto, authorization, options) {
|
|
529
|
+
updateLead: function (code, updateLeadRequestDto, authorization, options) {
|
|
530
|
+
if (options === void 0) { options = {}; }
|
|
531
|
+
return __awaiter(_this, void 0, void 0, function () {
|
|
576
532
|
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
577
|
-
if (options === void 0) { options = {}; }
|
|
578
533
|
return __generator(this, function (_a) {
|
|
579
534
|
switch (_a.label) {
|
|
580
535
|
case 0:
|
|
@@ -624,14 +579,10 @@ var LeadsApiAxiosParamCreator = function (configuration) {
|
|
|
624
579
|
* @param {*} [options] Override http request option.
|
|
625
580
|
* @throws {RequiredError}
|
|
626
581
|
*/
|
|
627
|
-
updateLeadSync: function (
|
|
628
|
-
|
|
629
|
-
|
|
630
|
-
args_1[_i - 3] = arguments[_i];
|
|
631
|
-
}
|
|
632
|
-
return __awaiter(_this, __spreadArray([code_1, updateLeadRequestDto_1, authorization_1], args_1, true), void 0, function (code, updateLeadRequestDto, authorization, options) {
|
|
582
|
+
updateLeadSync: function (code, updateLeadRequestDto, authorization, options) {
|
|
583
|
+
if (options === void 0) { options = {}; }
|
|
584
|
+
return __awaiter(_this, void 0, void 0, function () {
|
|
633
585
|
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
634
|
-
if (options === void 0) { options = {}; }
|
|
635
586
|
return __generator(this, function (_a) {
|
|
636
587
|
switch (_a.label) {
|
|
637
588
|
case 0:
|
|
@@ -48,8 +48,8 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
|
|
|
48
48
|
});
|
|
49
49
|
};
|
|
50
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
|
|
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
53
|
function verb(n) { return function (v) { return step([n, v]); }; }
|
|
54
54
|
function step(op) {
|
|
55
55
|
if (f) throw new TypeError("Generator is already executing.");
|
|
@@ -74,15 +74,6 @@ var __generator = (this && this.__generator) || function (thisArg, body) {
|
|
|
74
74
|
if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true };
|
|
75
75
|
}
|
|
76
76
|
};
|
|
77
|
-
var __spreadArray = (this && this.__spreadArray) || function (to, from, pack) {
|
|
78
|
-
if (pack || arguments.length === 2) for (var i = 0, l = from.length, ar; i < l; i++) {
|
|
79
|
-
if (ar || !(i in from)) {
|
|
80
|
-
if (!ar) ar = Array.prototype.slice.call(from, 0, i);
|
|
81
|
-
ar[i] = from[i];
|
|
82
|
-
}
|
|
83
|
-
}
|
|
84
|
-
return to.concat(ar || Array.prototype.slice.call(from));
|
|
85
|
-
};
|
|
86
77
|
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
87
78
|
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
88
79
|
};
|
|
@@ -109,14 +100,10 @@ var NamedRangesApiAxiosParamCreator = function (configuration) {
|
|
|
109
100
|
* @param {*} [options] Override http request option.
|
|
110
101
|
* @throws {RequiredError}
|
|
111
102
|
*/
|
|
112
|
-
createNamedRange: function (
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
args_1[_i - 2] = arguments[_i];
|
|
116
|
-
}
|
|
117
|
-
return __awaiter(_this, __spreadArray([createNamedRangeRequestDto_1, authorization_1], args_1, true), void 0, function (createNamedRangeRequestDto, authorization, options) {
|
|
103
|
+
createNamedRange: function (createNamedRangeRequestDto, authorization, options) {
|
|
104
|
+
if (options === void 0) { options = {}; }
|
|
105
|
+
return __awaiter(_this, void 0, void 0, function () {
|
|
118
106
|
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
119
|
-
if (options === void 0) { options = {}; }
|
|
120
107
|
return __generator(this, function (_a) {
|
|
121
108
|
switch (_a.label) {
|
|
122
109
|
case 0:
|
|
@@ -162,14 +149,10 @@ var NamedRangesApiAxiosParamCreator = function (configuration) {
|
|
|
162
149
|
* @param {*} [options] Override http request option.
|
|
163
150
|
* @throws {RequiredError}
|
|
164
151
|
*/
|
|
165
|
-
deleteNamedRange: function (
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
args_1[_i - 2] = arguments[_i];
|
|
169
|
-
}
|
|
170
|
-
return __awaiter(_this, __spreadArray([id_1, authorization_1], args_1, true), void 0, function (id, authorization, options) {
|
|
152
|
+
deleteNamedRange: function (id, authorization, options) {
|
|
153
|
+
if (options === void 0) { options = {}; }
|
|
154
|
+
return __awaiter(_this, void 0, void 0, function () {
|
|
171
155
|
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
172
|
-
if (options === void 0) { options = {}; }
|
|
173
156
|
return __generator(this, function (_a) {
|
|
174
157
|
switch (_a.label) {
|
|
175
158
|
case 0:
|
|
@@ -219,14 +202,10 @@ var NamedRangesApiAxiosParamCreator = function (configuration) {
|
|
|
219
202
|
* @param {*} [options] Override http request option.
|
|
220
203
|
* @throws {RequiredError}
|
|
221
204
|
*/
|
|
222
|
-
filterNamedRanges: function (
|
|
223
|
-
|
|
224
|
-
|
|
225
|
-
args_1[_i - 7] = arguments[_i];
|
|
226
|
-
}
|
|
227
|
-
return __awaiter(_this, __spreadArray([code_1, authorization_1, pageSize_1, pageToken_1, filters_1, search_1, order_1], args_1, true), void 0, function (code, authorization, pageSize, pageToken, filters, search, order, options) {
|
|
205
|
+
filterNamedRanges: function (code, authorization, pageSize, pageToken, filters, search, order, options) {
|
|
206
|
+
if (options === void 0) { options = {}; }
|
|
207
|
+
return __awaiter(_this, void 0, void 0, function () {
|
|
228
208
|
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
229
|
-
if (options === void 0) { options = {}; }
|
|
230
209
|
return __generator(this, function (_a) {
|
|
231
210
|
switch (_a.label) {
|
|
232
211
|
case 0:
|
|
@@ -286,14 +265,10 @@ var NamedRangesApiAxiosParamCreator = function (configuration) {
|
|
|
286
265
|
* @param {*} [options] Override http request option.
|
|
287
266
|
* @throws {RequiredError}
|
|
288
267
|
*/
|
|
289
|
-
getNamedRange: function (
|
|
290
|
-
|
|
291
|
-
|
|
292
|
-
args_1[_i - 2] = arguments[_i];
|
|
293
|
-
}
|
|
294
|
-
return __awaiter(_this, __spreadArray([id_1, authorization_1], args_1, true), void 0, function (id, authorization, options) {
|
|
268
|
+
getNamedRange: function (id, authorization, options) {
|
|
269
|
+
if (options === void 0) { options = {}; }
|
|
270
|
+
return __awaiter(_this, void 0, void 0, function () {
|
|
295
271
|
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
296
|
-
if (options === void 0) { options = {}; }
|
|
297
272
|
return __generator(this, function (_a) {
|
|
298
273
|
switch (_a.label) {
|
|
299
274
|
case 0:
|
|
@@ -344,14 +319,10 @@ var NamedRangesApiAxiosParamCreator = function (configuration) {
|
|
|
344
319
|
* @param {*} [options] Override http request option.
|
|
345
320
|
* @throws {RequiredError}
|
|
346
321
|
*/
|
|
347
|
-
listNamedRanges: function (
|
|
348
|
-
|
|
349
|
-
|
|
350
|
-
args_1[_i - 8] = arguments[_i];
|
|
351
|
-
}
|
|
352
|
-
return __awaiter(_this, __spreadArray([authorization_1, pageSize_1, pageToken_1, filter_1, search_1, order_1, expand_1, filters_1], args_1, true), void 0, function (authorization, pageSize, pageToken, filter, search, order, expand, filters, options) {
|
|
322
|
+
listNamedRanges: function (authorization, pageSize, pageToken, filter, search, order, expand, filters, options) {
|
|
323
|
+
if (options === void 0) { options = {}; }
|
|
324
|
+
return __awaiter(_this, void 0, void 0, function () {
|
|
353
325
|
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
354
|
-
if (options === void 0) { options = {}; }
|
|
355
326
|
return __generator(this, function (_a) {
|
|
356
327
|
switch (_a.label) {
|
|
357
328
|
case 0:
|
|
@@ -415,14 +386,10 @@ var NamedRangesApiAxiosParamCreator = function (configuration) {
|
|
|
415
386
|
* @param {*} [options] Override http request option.
|
|
416
387
|
* @throws {RequiredError}
|
|
417
388
|
*/
|
|
418
|
-
updateNamedRange: function (
|
|
419
|
-
|
|
420
|
-
|
|
421
|
-
args_1[_i - 3] = arguments[_i];
|
|
422
|
-
}
|
|
423
|
-
return __awaiter(_this, __spreadArray([id_1, updateNamedRangeRequestDto_1, authorization_1], args_1, true), void 0, function (id, updateNamedRangeRequestDto, authorization, options) {
|
|
389
|
+
updateNamedRange: function (id, updateNamedRangeRequestDto, authorization, options) {
|
|
390
|
+
if (options === void 0) { options = {}; }
|
|
391
|
+
return __awaiter(_this, void 0, void 0, function () {
|
|
424
392
|
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
425
|
-
if (options === void 0) { options = {}; }
|
|
426
393
|
return __generator(this, function (_a) {
|
|
427
394
|
switch (_a.label) {
|
|
428
395
|
case 0:
|