@emilgroup/insurance-sdk-node 1.44.0 → 1.46.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 +10 -0
- package/README.md +2 -2
- package/api/booking-funnels-api.ts +791 -0
- package/api/lead-versions-api.ts +24 -10
- package/api/leads-api.ts +24 -10
- package/api/policies-api.ts +507 -8
- package/api/product-factors-api.ts +2 -0
- package/api/status-transition-rules-api.ts +24 -10
- package/api.ts +2 -0
- package/dist/api/booking-funnels-api.d.ts +443 -0
- package/dist/api/booking-funnels-api.js +735 -0
- package/dist/api/lead-versions-api.d.ts +16 -7
- package/dist/api/lead-versions-api.js +15 -9
- package/dist/api/leads-api.d.ts +16 -7
- package/dist/api/leads-api.js +15 -9
- package/dist/api/policies-api.d.ts +285 -8
- package/dist/api/policies-api.js +416 -6
- package/dist/api/status-transition-rules-api.d.ts +16 -7
- package/dist/api/status-transition-rules-api.js +15 -9
- package/dist/api.d.ts +1 -0
- package/dist/api.js +1 -0
- package/dist/models/booking-funnel-class.d.ts +84 -0
- package/dist/models/booking-funnel-class.js +15 -0
- package/dist/models/create-booking-funnel-request-dto.d.ts +66 -0
- package/dist/models/create-booking-funnel-request-dto.js +15 -0
- package/dist/models/create-draft-policy-request-dto.d.ts +70 -0
- package/dist/models/create-draft-policy-request-dto.js +23 -0
- package/dist/models/delete-draft-policy-request-dto.d.ts +24 -0
- package/dist/models/delete-draft-policy-request-dto.js +15 -0
- package/dist/models/get-draft-policy-request-dto.d.ts +30 -0
- package/dist/models/get-draft-policy-request-dto.js +15 -0
- package/dist/models/index.d.ts +9 -0
- package/dist/models/index.js +9 -0
- package/dist/models/list-booking-funnels-response-class.d.ts +31 -0
- package/dist/models/list-booking-funnels-response-class.js +15 -0
- package/dist/models/patch-booking-funnel-request-dto.d.ts +60 -0
- package/dist/models/patch-booking-funnel-request-dto.js +15 -0
- package/dist/models/patch-draft-policy-request-dto.d.ts +70 -0
- package/dist/models/patch-draft-policy-request-dto.js +23 -0
- package/dist/models/patch-policy-request-dto.d.ts +0 -6
- package/dist/models/policy-version-class.d.ts +12 -0
- package/dist/models/update-booking-funnel-request-dto.d.ts +60 -0
- package/dist/models/update-booking-funnel-request-dto.js +15 -0
- package/dist/models/update-policy-request-dto.d.ts +0 -6
- package/models/booking-funnel-class.ts +90 -0
- package/models/create-booking-funnel-request-dto.ts +72 -0
- package/models/create-draft-policy-request-dto.ts +79 -0
- package/models/delete-draft-policy-request-dto.ts +30 -0
- package/models/get-draft-policy-request-dto.ts +36 -0
- package/models/index.ts +9 -0
- package/models/list-booking-funnels-response-class.ts +37 -0
- package/models/patch-booking-funnel-request-dto.ts +66 -0
- package/models/patch-draft-policy-request-dto.ts +79 -0
- package/models/patch-policy-request-dto.ts +0 -6
- package/models/policy-version-class.ts +12 -0
- package/models/update-booking-funnel-request-dto.ts +66 -0
- package/models/update-policy-request-dto.ts +0 -6
- package/package.json +1 -1
package/dist/api/policies-api.js
CHANGED
|
@@ -198,6 +198,171 @@ var PoliciesApiAxiosParamCreator = function (configuration) {
|
|
|
198
198
|
});
|
|
199
199
|
});
|
|
200
200
|
},
|
|
201
|
+
/**
|
|
202
|
+
* This will create a draft policy in the database.
|
|
203
|
+
* @summary Create the draft-policy
|
|
204
|
+
* @param {string} policyCode
|
|
205
|
+
* @param {CreateDraftPolicyRequestDto} createDraftPolicyRequestDto
|
|
206
|
+
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
207
|
+
* @param {*} [options] Override http request option.
|
|
208
|
+
* @throws {RequiredError}
|
|
209
|
+
*/
|
|
210
|
+
createPolicy_1: function (policyCode, createDraftPolicyRequestDto, authorization, options) {
|
|
211
|
+
if (options === void 0) { options = {}; }
|
|
212
|
+
return __awaiter(_this, void 0, void 0, function () {
|
|
213
|
+
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
214
|
+
return __generator(this, function (_a) {
|
|
215
|
+
switch (_a.label) {
|
|
216
|
+
case 0:
|
|
217
|
+
// verify required parameter 'policyCode' is not null or undefined
|
|
218
|
+
(0, common_1.assertParamExists)('createPolicy_1', 'policyCode', policyCode);
|
|
219
|
+
// verify required parameter 'createDraftPolicyRequestDto' is not null or undefined
|
|
220
|
+
(0, common_1.assertParamExists)('createPolicy_1', 'createDraftPolicyRequestDto', createDraftPolicyRequestDto);
|
|
221
|
+
localVarPath = "/insuranceservice/v1/policies/{policyCode}/draft"
|
|
222
|
+
.replace("{".concat("policyCode", "}"), encodeURIComponent(String(policyCode)));
|
|
223
|
+
localVarUrlObj = new url_1.URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
224
|
+
if (configuration) {
|
|
225
|
+
baseOptions = configuration.baseOptions;
|
|
226
|
+
baseAccessToken = configuration.accessToken;
|
|
227
|
+
}
|
|
228
|
+
localVarRequestOptions = __assign(__assign({ method: 'POST' }, baseOptions), options);
|
|
229
|
+
localVarHeaderParameter = {};
|
|
230
|
+
localVarQueryParameter = {};
|
|
231
|
+
// authentication bearer required
|
|
232
|
+
// http bearer authentication required
|
|
233
|
+
return [4 /*yield*/, (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration)];
|
|
234
|
+
case 1:
|
|
235
|
+
// authentication bearer required
|
|
236
|
+
// http bearer authentication required
|
|
237
|
+
_a.sent();
|
|
238
|
+
if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
|
|
239
|
+
localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
|
|
240
|
+
}
|
|
241
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
242
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
243
|
+
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
244
|
+
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
245
|
+
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(createDraftPolicyRequestDto, localVarRequestOptions, configuration);
|
|
246
|
+
return [2 /*return*/, {
|
|
247
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
248
|
+
options: localVarRequestOptions,
|
|
249
|
+
}];
|
|
250
|
+
}
|
|
251
|
+
});
|
|
252
|
+
});
|
|
253
|
+
},
|
|
254
|
+
/**
|
|
255
|
+
* Permanently deletes the draft-policy. Supply the unique code that was returned when you created the draft-policy and this will delete it.
|
|
256
|
+
* @summary Delete the draft-policy
|
|
257
|
+
* @param {string} policyCode
|
|
258
|
+
* @param {string} policyCode2 Unique identifier of the Draft Policy that this object belongs to.
|
|
259
|
+
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
260
|
+
* @param {*} [options] Override http request option.
|
|
261
|
+
* @throws {RequiredError}
|
|
262
|
+
*/
|
|
263
|
+
deleteDraftPolicy: function (policyCode, policyCode2, authorization, options) {
|
|
264
|
+
if (options === void 0) { options = {}; }
|
|
265
|
+
return __awaiter(_this, void 0, void 0, function () {
|
|
266
|
+
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
267
|
+
return __generator(this, function (_a) {
|
|
268
|
+
switch (_a.label) {
|
|
269
|
+
case 0:
|
|
270
|
+
// verify required parameter 'policyCode' is not null or undefined
|
|
271
|
+
(0, common_1.assertParamExists)('deleteDraftPolicy', 'policyCode', policyCode);
|
|
272
|
+
// verify required parameter 'policyCode2' is not null or undefined
|
|
273
|
+
(0, common_1.assertParamExists)('deleteDraftPolicy', 'policyCode2', policyCode2);
|
|
274
|
+
localVarPath = "/insuranceservice/v1/policies/{policyCode}/draft"
|
|
275
|
+
.replace("{".concat("policyCode", "}"), encodeURIComponent(String(policyCode)));
|
|
276
|
+
localVarUrlObj = new url_1.URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
277
|
+
if (configuration) {
|
|
278
|
+
baseOptions = configuration.baseOptions;
|
|
279
|
+
baseAccessToken = configuration.accessToken;
|
|
280
|
+
}
|
|
281
|
+
localVarRequestOptions = __assign(__assign({ method: 'DELETE' }, baseOptions), options);
|
|
282
|
+
localVarHeaderParameter = {};
|
|
283
|
+
localVarQueryParameter = {};
|
|
284
|
+
// authentication bearer required
|
|
285
|
+
// http bearer authentication required
|
|
286
|
+
return [4 /*yield*/, (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration)];
|
|
287
|
+
case 1:
|
|
288
|
+
// authentication bearer required
|
|
289
|
+
// http bearer authentication required
|
|
290
|
+
_a.sent();
|
|
291
|
+
if (policyCode2 !== undefined) {
|
|
292
|
+
localVarQueryParameter['policyCode'] = policyCode2;
|
|
293
|
+
}
|
|
294
|
+
if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
|
|
295
|
+
localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
|
|
296
|
+
}
|
|
297
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
298
|
+
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
299
|
+
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
300
|
+
return [2 /*return*/, {
|
|
301
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
302
|
+
options: localVarRequestOptions,
|
|
303
|
+
}];
|
|
304
|
+
}
|
|
305
|
+
});
|
|
306
|
+
});
|
|
307
|
+
},
|
|
308
|
+
/**
|
|
309
|
+
* Retrieves the details of the draft-policy that was previously created. Supply the unique draft-policy code that was returned when you created it and Emil Api will return the corresponding draft-policy information.
|
|
310
|
+
* @summary Retrieve the draft-policy
|
|
311
|
+
* @param {string} policyCode
|
|
312
|
+
* @param {string} policyCode2 Unique identifier of the Draft Policy that this object belongs to.
|
|
313
|
+
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
314
|
+
* @param {string} [expand] Fields to expand response by.
|
|
315
|
+
* @param {*} [options] Override http request option.
|
|
316
|
+
* @throws {RequiredError}
|
|
317
|
+
*/
|
|
318
|
+
getDraftPolicy: function (policyCode, policyCode2, authorization, expand, options) {
|
|
319
|
+
if (options === void 0) { options = {}; }
|
|
320
|
+
return __awaiter(_this, void 0, void 0, function () {
|
|
321
|
+
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
322
|
+
return __generator(this, function (_a) {
|
|
323
|
+
switch (_a.label) {
|
|
324
|
+
case 0:
|
|
325
|
+
// verify required parameter 'policyCode' is not null or undefined
|
|
326
|
+
(0, common_1.assertParamExists)('getDraftPolicy', 'policyCode', policyCode);
|
|
327
|
+
// verify required parameter 'policyCode2' is not null or undefined
|
|
328
|
+
(0, common_1.assertParamExists)('getDraftPolicy', 'policyCode2', policyCode2);
|
|
329
|
+
localVarPath = "/insuranceservice/v1/policies/{policyCode}/draft"
|
|
330
|
+
.replace("{".concat("policyCode", "}"), encodeURIComponent(String(policyCode)));
|
|
331
|
+
localVarUrlObj = new url_1.URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
332
|
+
if (configuration) {
|
|
333
|
+
baseOptions = configuration.baseOptions;
|
|
334
|
+
baseAccessToken = configuration.accessToken;
|
|
335
|
+
}
|
|
336
|
+
localVarRequestOptions = __assign(__assign({ method: 'GET' }, baseOptions), options);
|
|
337
|
+
localVarHeaderParameter = {};
|
|
338
|
+
localVarQueryParameter = {};
|
|
339
|
+
// authentication bearer required
|
|
340
|
+
// http bearer authentication required
|
|
341
|
+
return [4 /*yield*/, (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration)];
|
|
342
|
+
case 1:
|
|
343
|
+
// authentication bearer required
|
|
344
|
+
// http bearer authentication required
|
|
345
|
+
_a.sent();
|
|
346
|
+
if (policyCode2 !== undefined) {
|
|
347
|
+
localVarQueryParameter['policyCode'] = policyCode2;
|
|
348
|
+
}
|
|
349
|
+
if (expand !== undefined) {
|
|
350
|
+
localVarQueryParameter['expand'] = expand;
|
|
351
|
+
}
|
|
352
|
+
if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
|
|
353
|
+
localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
|
|
354
|
+
}
|
|
355
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
356
|
+
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
357
|
+
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
358
|
+
return [2 /*return*/, {
|
|
359
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
360
|
+
options: localVarRequestOptions,
|
|
361
|
+
}];
|
|
362
|
+
}
|
|
363
|
+
});
|
|
364
|
+
});
|
|
365
|
+
},
|
|
201
366
|
/**
|
|
202
367
|
* Retrieves the details of the policy that was previously created. Supply the unique policy code that was returned when you created it and Emil Api will return the corresponding policy information.
|
|
203
368
|
* @summary Retrieve the policy
|
|
@@ -308,7 +473,7 @@ var PoliciesApiAxiosParamCreator = function (configuration) {
|
|
|
308
473
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
309
474
|
* @param {number} [pageSize] Page size.
|
|
310
475
|
* @param {string} [pageToken] Page token.
|
|
311
|
-
* @param {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.<br/> <br/> <i>Allowed values: code, leadCode, policyNumber, holder, policyStartDate, productVersionId, productId, accountCode, productName, statuses, createdAt, policyData</i>
|
|
476
|
+
* @param {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.<br/> <br/> <i>Allowed values: id, code, leadCode, policyNumber, holder, policyStartDate, productVersionId, productId, accountCode, productName, status, statuses, createdAt, policyData</i>
|
|
312
477
|
* @param {string} [search] Search query.
|
|
313
478
|
* @param {string} [order] Order allowing you to specify the desired order of entities retrieved from the server.<br/> <br/> <i>Allowed values: id, policyNumber, createdAt, updatedAt, policyStartDate, productVersionId, productId</i>
|
|
314
479
|
* @param {'versions' | 'product' | 'timelines' | 'premiums' | 'premiumItems' | 'premiumFormulas' | 'currentVersion' | 'currentTimelines' | 'currentPremiums' | 'currentPremiumItems' | 'currentPremiumFormulas'} [expand] You can expand policy versions list in this endpoint. By default, versions will be an empty array.
|
|
@@ -378,7 +543,7 @@ var PoliciesApiAxiosParamCreator = function (configuration) {
|
|
|
378
543
|
* @param {number} [pageSize] Page size.
|
|
379
544
|
* @param {string} [pageToken] Page token.
|
|
380
545
|
* @param {string} [search] Search query.
|
|
381
|
-
* @param {string} [order] Order allowing you to specify the desired order of entities retrieved from the server.<br/> <br/> <i>Allowed values: id, code, timesliceId, insuredObjectId,
|
|
546
|
+
* @param {string} [order] Order allowing you to specify the desired order of entities retrieved from the server.<br/> <br/> <i>Allowed values: id, code, timesliceId, insuredObjectId, createdAt, updatedAt</i>
|
|
382
547
|
* @param {string} [expand] No expanding supported
|
|
383
548
|
* @param {*} [options] Override http request option.
|
|
384
549
|
* @throws {RequiredError}
|
|
@@ -493,6 +658,63 @@ var PoliciesApiAxiosParamCreator = function (configuration) {
|
|
|
493
658
|
});
|
|
494
659
|
});
|
|
495
660
|
},
|
|
661
|
+
/**
|
|
662
|
+
* Updates the specified draft-policy by setting the values of the parameters passed. Any parameters not provided will be left unchanged.
|
|
663
|
+
* @summary Update the draft-policy
|
|
664
|
+
* @param {string} policyCode
|
|
665
|
+
* @param {any} code Unique identifier for the object.
|
|
666
|
+
* @param {PatchDraftPolicyRequestDto} patchDraftPolicyRequestDto
|
|
667
|
+
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
668
|
+
* @param {*} [options] Override http request option.
|
|
669
|
+
* @throws {RequiredError}
|
|
670
|
+
*/
|
|
671
|
+
patchPolicy_2: function (policyCode, code, patchDraftPolicyRequestDto, authorization, options) {
|
|
672
|
+
if (options === void 0) { options = {}; }
|
|
673
|
+
return __awaiter(_this, void 0, void 0, function () {
|
|
674
|
+
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
675
|
+
return __generator(this, function (_a) {
|
|
676
|
+
switch (_a.label) {
|
|
677
|
+
case 0:
|
|
678
|
+
// verify required parameter 'policyCode' is not null or undefined
|
|
679
|
+
(0, common_1.assertParamExists)('patchPolicy_2', 'policyCode', policyCode);
|
|
680
|
+
// verify required parameter 'code' is not null or undefined
|
|
681
|
+
(0, common_1.assertParamExists)('patchPolicy_2', 'code', code);
|
|
682
|
+
// verify required parameter 'patchDraftPolicyRequestDto' is not null or undefined
|
|
683
|
+
(0, common_1.assertParamExists)('patchPolicy_2', 'patchDraftPolicyRequestDto', patchDraftPolicyRequestDto);
|
|
684
|
+
localVarPath = "/insuranceservice/v1/policies/{policyCode}/draft"
|
|
685
|
+
.replace("{".concat("policyCode", "}"), encodeURIComponent(String(policyCode)))
|
|
686
|
+
.replace("{".concat("code", "}"), encodeURIComponent(String(code)));
|
|
687
|
+
localVarUrlObj = new url_1.URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
688
|
+
if (configuration) {
|
|
689
|
+
baseOptions = configuration.baseOptions;
|
|
690
|
+
baseAccessToken = configuration.accessToken;
|
|
691
|
+
}
|
|
692
|
+
localVarRequestOptions = __assign(__assign({ method: 'PATCH' }, baseOptions), options);
|
|
693
|
+
localVarHeaderParameter = {};
|
|
694
|
+
localVarQueryParameter = {};
|
|
695
|
+
// authentication bearer required
|
|
696
|
+
// http bearer authentication required
|
|
697
|
+
return [4 /*yield*/, (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration)];
|
|
698
|
+
case 1:
|
|
699
|
+
// authentication bearer required
|
|
700
|
+
// http bearer authentication required
|
|
701
|
+
_a.sent();
|
|
702
|
+
if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
|
|
703
|
+
localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
|
|
704
|
+
}
|
|
705
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
706
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
707
|
+
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
708
|
+
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
709
|
+
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(patchDraftPolicyRequestDto, localVarRequestOptions, configuration);
|
|
710
|
+
return [2 /*return*/, {
|
|
711
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
712
|
+
options: localVarRequestOptions,
|
|
713
|
+
}];
|
|
714
|
+
}
|
|
715
|
+
});
|
|
716
|
+
});
|
|
717
|
+
},
|
|
496
718
|
/**
|
|
497
719
|
* Request to suspend an existing policy by tenant.
|
|
498
720
|
* @summary Suspend a policy by tenant
|
|
@@ -758,6 +980,73 @@ var PoliciesApiFp = function (configuration) {
|
|
|
758
980
|
});
|
|
759
981
|
});
|
|
760
982
|
},
|
|
983
|
+
/**
|
|
984
|
+
* This will create a draft policy in the database.
|
|
985
|
+
* @summary Create the draft-policy
|
|
986
|
+
* @param {string} policyCode
|
|
987
|
+
* @param {CreateDraftPolicyRequestDto} createDraftPolicyRequestDto
|
|
988
|
+
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
989
|
+
* @param {*} [options] Override http request option.
|
|
990
|
+
* @throws {RequiredError}
|
|
991
|
+
*/
|
|
992
|
+
createPolicy_1: function (policyCode, createDraftPolicyRequestDto, authorization, options) {
|
|
993
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
994
|
+
var localVarAxiosArgs;
|
|
995
|
+
return __generator(this, function (_a) {
|
|
996
|
+
switch (_a.label) {
|
|
997
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.createPolicy_1(policyCode, createDraftPolicyRequestDto, authorization, options)];
|
|
998
|
+
case 1:
|
|
999
|
+
localVarAxiosArgs = _a.sent();
|
|
1000
|
+
return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
1001
|
+
}
|
|
1002
|
+
});
|
|
1003
|
+
});
|
|
1004
|
+
},
|
|
1005
|
+
/**
|
|
1006
|
+
* Permanently deletes the draft-policy. Supply the unique code that was returned when you created the draft-policy and this will delete it.
|
|
1007
|
+
* @summary Delete the draft-policy
|
|
1008
|
+
* @param {string} policyCode
|
|
1009
|
+
* @param {string} policyCode2 Unique identifier of the Draft Policy that this object belongs to.
|
|
1010
|
+
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
1011
|
+
* @param {*} [options] Override http request option.
|
|
1012
|
+
* @throws {RequiredError}
|
|
1013
|
+
*/
|
|
1014
|
+
deleteDraftPolicy: function (policyCode, policyCode2, authorization, options) {
|
|
1015
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
1016
|
+
var localVarAxiosArgs;
|
|
1017
|
+
return __generator(this, function (_a) {
|
|
1018
|
+
switch (_a.label) {
|
|
1019
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.deleteDraftPolicy(policyCode, policyCode2, authorization, options)];
|
|
1020
|
+
case 1:
|
|
1021
|
+
localVarAxiosArgs = _a.sent();
|
|
1022
|
+
return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
1023
|
+
}
|
|
1024
|
+
});
|
|
1025
|
+
});
|
|
1026
|
+
},
|
|
1027
|
+
/**
|
|
1028
|
+
* Retrieves the details of the draft-policy that was previously created. Supply the unique draft-policy code that was returned when you created it and Emil Api will return the corresponding draft-policy information.
|
|
1029
|
+
* @summary Retrieve the draft-policy
|
|
1030
|
+
* @param {string} policyCode
|
|
1031
|
+
* @param {string} policyCode2 Unique identifier of the Draft Policy that this object belongs to.
|
|
1032
|
+
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
1033
|
+
* @param {string} [expand] Fields to expand response by.
|
|
1034
|
+
* @param {*} [options] Override http request option.
|
|
1035
|
+
* @throws {RequiredError}
|
|
1036
|
+
*/
|
|
1037
|
+
getDraftPolicy: function (policyCode, policyCode2, authorization, expand, options) {
|
|
1038
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
1039
|
+
var localVarAxiosArgs;
|
|
1040
|
+
return __generator(this, function (_a) {
|
|
1041
|
+
switch (_a.label) {
|
|
1042
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.getDraftPolicy(policyCode, policyCode2, authorization, expand, options)];
|
|
1043
|
+
case 1:
|
|
1044
|
+
localVarAxiosArgs = _a.sent();
|
|
1045
|
+
return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
1046
|
+
}
|
|
1047
|
+
});
|
|
1048
|
+
});
|
|
1049
|
+
},
|
|
761
1050
|
/**
|
|
762
1051
|
* Retrieves the details of the policy that was previously created. Supply the unique policy code that was returned when you created it and Emil Api will return the corresponding policy information.
|
|
763
1052
|
* @summary Retrieve the policy
|
|
@@ -808,7 +1097,7 @@ var PoliciesApiFp = function (configuration) {
|
|
|
808
1097
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
809
1098
|
* @param {number} [pageSize] Page size.
|
|
810
1099
|
* @param {string} [pageToken] Page token.
|
|
811
|
-
* @param {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.<br/> <br/> <i>Allowed values: code, leadCode, policyNumber, holder, policyStartDate, productVersionId, productId, accountCode, productName, statuses, createdAt, policyData</i>
|
|
1100
|
+
* @param {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.<br/> <br/> <i>Allowed values: id, code, leadCode, policyNumber, holder, policyStartDate, productVersionId, productId, accountCode, productName, status, statuses, createdAt, policyData</i>
|
|
812
1101
|
* @param {string} [search] Search query.
|
|
813
1102
|
* @param {string} [order] Order allowing you to specify the desired order of entities retrieved from the server.<br/> <br/> <i>Allowed values: id, policyNumber, createdAt, updatedAt, policyStartDate, productVersionId, productId</i>
|
|
814
1103
|
* @param {'versions' | 'product' | 'timelines' | 'premiums' | 'premiumItems' | 'premiumFormulas' | 'currentVersion' | 'currentTimelines' | 'currentPremiums' | 'currentPremiumItems' | 'currentPremiumFormulas'} [expand] You can expand policy versions list in this endpoint. By default, versions will be an empty array.
|
|
@@ -836,7 +1125,7 @@ var PoliciesApiFp = function (configuration) {
|
|
|
836
1125
|
* @param {number} [pageSize] Page size.
|
|
837
1126
|
* @param {string} [pageToken] Page token.
|
|
838
1127
|
* @param {string} [search] Search query.
|
|
839
|
-
* @param {string} [order] Order allowing you to specify the desired order of entities retrieved from the server.<br/> <br/> <i>Allowed values: id, code, timesliceId, insuredObjectId,
|
|
1128
|
+
* @param {string} [order] Order allowing you to specify the desired order of entities retrieved from the server.<br/> <br/> <i>Allowed values: id, code, timesliceId, insuredObjectId, createdAt, updatedAt</i>
|
|
840
1129
|
* @param {string} [expand] No expanding supported
|
|
841
1130
|
* @param {*} [options] Override http request option.
|
|
842
1131
|
* @throws {RequiredError}
|
|
@@ -876,6 +1165,29 @@ var PoliciesApiFp = function (configuration) {
|
|
|
876
1165
|
});
|
|
877
1166
|
});
|
|
878
1167
|
},
|
|
1168
|
+
/**
|
|
1169
|
+
* Updates the specified draft-policy by setting the values of the parameters passed. Any parameters not provided will be left unchanged.
|
|
1170
|
+
* @summary Update the draft-policy
|
|
1171
|
+
* @param {string} policyCode
|
|
1172
|
+
* @param {any} code Unique identifier for the object.
|
|
1173
|
+
* @param {PatchDraftPolicyRequestDto} patchDraftPolicyRequestDto
|
|
1174
|
+
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
1175
|
+
* @param {*} [options] Override http request option.
|
|
1176
|
+
* @throws {RequiredError}
|
|
1177
|
+
*/
|
|
1178
|
+
patchPolicy_2: function (policyCode, code, patchDraftPolicyRequestDto, authorization, options) {
|
|
1179
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
1180
|
+
var localVarAxiosArgs;
|
|
1181
|
+
return __generator(this, function (_a) {
|
|
1182
|
+
switch (_a.label) {
|
|
1183
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.patchPolicy_2(policyCode, code, patchDraftPolicyRequestDto, authorization, options)];
|
|
1184
|
+
case 1:
|
|
1185
|
+
localVarAxiosArgs = _a.sent();
|
|
1186
|
+
return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
1187
|
+
}
|
|
1188
|
+
});
|
|
1189
|
+
});
|
|
1190
|
+
},
|
|
879
1191
|
/**
|
|
880
1192
|
* Request to suspend an existing policy by tenant.
|
|
881
1193
|
* @summary Suspend a policy by tenant
|
|
@@ -997,6 +1309,43 @@ var PoliciesApiFactory = function (configuration, basePath, axios) {
|
|
|
997
1309
|
createPolicy: function (createPolicyRequestDto, authorization, options) {
|
|
998
1310
|
return localVarFp.createPolicy(createPolicyRequestDto, authorization, options).then(function (request) { return request(axios, basePath); });
|
|
999
1311
|
},
|
|
1312
|
+
/**
|
|
1313
|
+
* This will create a draft policy in the database.
|
|
1314
|
+
* @summary Create the draft-policy
|
|
1315
|
+
* @param {string} policyCode
|
|
1316
|
+
* @param {CreateDraftPolicyRequestDto} createDraftPolicyRequestDto
|
|
1317
|
+
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
1318
|
+
* @param {*} [options] Override http request option.
|
|
1319
|
+
* @throws {RequiredError}
|
|
1320
|
+
*/
|
|
1321
|
+
createPolicy_1: function (policyCode, createDraftPolicyRequestDto, authorization, options) {
|
|
1322
|
+
return localVarFp.createPolicy_1(policyCode, createDraftPolicyRequestDto, authorization, options).then(function (request) { return request(axios, basePath); });
|
|
1323
|
+
},
|
|
1324
|
+
/**
|
|
1325
|
+
* Permanently deletes the draft-policy. Supply the unique code that was returned when you created the draft-policy and this will delete it.
|
|
1326
|
+
* @summary Delete the draft-policy
|
|
1327
|
+
* @param {string} policyCode
|
|
1328
|
+
* @param {string} policyCode2 Unique identifier of the Draft Policy that this object belongs to.
|
|
1329
|
+
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
1330
|
+
* @param {*} [options] Override http request option.
|
|
1331
|
+
* @throws {RequiredError}
|
|
1332
|
+
*/
|
|
1333
|
+
deleteDraftPolicy: function (policyCode, policyCode2, authorization, options) {
|
|
1334
|
+
return localVarFp.deleteDraftPolicy(policyCode, policyCode2, authorization, options).then(function (request) { return request(axios, basePath); });
|
|
1335
|
+
},
|
|
1336
|
+
/**
|
|
1337
|
+
* Retrieves the details of the draft-policy that was previously created. Supply the unique draft-policy code that was returned when you created it and Emil Api will return the corresponding draft-policy information.
|
|
1338
|
+
* @summary Retrieve the draft-policy
|
|
1339
|
+
* @param {string} policyCode
|
|
1340
|
+
* @param {string} policyCode2 Unique identifier of the Draft Policy that this object belongs to.
|
|
1341
|
+
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
1342
|
+
* @param {string} [expand] Fields to expand response by.
|
|
1343
|
+
* @param {*} [options] Override http request option.
|
|
1344
|
+
* @throws {RequiredError}
|
|
1345
|
+
*/
|
|
1346
|
+
getDraftPolicy: function (policyCode, policyCode2, authorization, expand, options) {
|
|
1347
|
+
return localVarFp.getDraftPolicy(policyCode, policyCode2, authorization, expand, options).then(function (request) { return request(axios, basePath); });
|
|
1348
|
+
},
|
|
1000
1349
|
/**
|
|
1001
1350
|
* Retrieves the details of the policy that was previously created. Supply the unique policy code that was returned when you created it and Emil Api will return the corresponding policy information.
|
|
1002
1351
|
* @summary Retrieve the policy
|
|
@@ -1027,7 +1376,7 @@ var PoliciesApiFactory = function (configuration, basePath, axios) {
|
|
|
1027
1376
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
1028
1377
|
* @param {number} [pageSize] Page size.
|
|
1029
1378
|
* @param {string} [pageToken] Page token.
|
|
1030
|
-
* @param {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.<br/> <br/> <i>Allowed values: code, leadCode, policyNumber, holder, policyStartDate, productVersionId, productId, accountCode, productName, statuses, createdAt, policyData</i>
|
|
1379
|
+
* @param {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.<br/> <br/> <i>Allowed values: id, code, leadCode, policyNumber, holder, policyStartDate, productVersionId, productId, accountCode, productName, status, statuses, createdAt, policyData</i>
|
|
1031
1380
|
* @param {string} [search] Search query.
|
|
1032
1381
|
* @param {string} [order] Order allowing you to specify the desired order of entities retrieved from the server.<br/> <br/> <i>Allowed values: id, policyNumber, createdAt, updatedAt, policyStartDate, productVersionId, productId</i>
|
|
1033
1382
|
* @param {'versions' | 'product' | 'timelines' | 'premiums' | 'premiumItems' | 'premiumFormulas' | 'currentVersion' | 'currentTimelines' | 'currentPremiums' | 'currentPremiumItems' | 'currentPremiumFormulas'} [expand] You can expand policy versions list in this endpoint. By default, versions will be an empty array.
|
|
@@ -1045,7 +1394,7 @@ var PoliciesApiFactory = function (configuration, basePath, axios) {
|
|
|
1045
1394
|
* @param {number} [pageSize] Page size.
|
|
1046
1395
|
* @param {string} [pageToken] Page token.
|
|
1047
1396
|
* @param {string} [search] Search query.
|
|
1048
|
-
* @param {string} [order] Order allowing you to specify the desired order of entities retrieved from the server.<br/> <br/> <i>Allowed values: id, code, timesliceId, insuredObjectId,
|
|
1397
|
+
* @param {string} [order] Order allowing you to specify the desired order of entities retrieved from the server.<br/> <br/> <i>Allowed values: id, code, timesliceId, insuredObjectId, createdAt, updatedAt</i>
|
|
1049
1398
|
* @param {string} [expand] No expanding supported
|
|
1050
1399
|
* @param {*} [options] Override http request option.
|
|
1051
1400
|
* @throws {RequiredError}
|
|
@@ -1065,6 +1414,19 @@ var PoliciesApiFactory = function (configuration, basePath, axios) {
|
|
|
1065
1414
|
patchPolicy: function (code, patchPolicyRequestDto, authorization, options) {
|
|
1066
1415
|
return localVarFp.patchPolicy(code, patchPolicyRequestDto, authorization, options).then(function (request) { return request(axios, basePath); });
|
|
1067
1416
|
},
|
|
1417
|
+
/**
|
|
1418
|
+
* Updates the specified draft-policy by setting the values of the parameters passed. Any parameters not provided will be left unchanged.
|
|
1419
|
+
* @summary Update the draft-policy
|
|
1420
|
+
* @param {string} policyCode
|
|
1421
|
+
* @param {any} code Unique identifier for the object.
|
|
1422
|
+
* @param {PatchDraftPolicyRequestDto} patchDraftPolicyRequestDto
|
|
1423
|
+
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
1424
|
+
* @param {*} [options] Override http request option.
|
|
1425
|
+
* @throws {RequiredError}
|
|
1426
|
+
*/
|
|
1427
|
+
patchPolicy_2: function (policyCode, code, patchDraftPolicyRequestDto, authorization, options) {
|
|
1428
|
+
return localVarFp.patchPolicy_2(policyCode, code, patchDraftPolicyRequestDto, authorization, options).then(function (request) { return request(axios, basePath); });
|
|
1429
|
+
},
|
|
1068
1430
|
/**
|
|
1069
1431
|
* Request to suspend an existing policy by tenant.
|
|
1070
1432
|
* @summary Suspend a policy by tenant
|
|
@@ -1151,6 +1513,42 @@ var PoliciesApi = /** @class */ (function (_super) {
|
|
|
1151
1513
|
var _this = this;
|
|
1152
1514
|
return (0, exports.PoliciesApiFp)(this.configuration).createPolicy(requestParameters.createPolicyRequestDto, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
1153
1515
|
};
|
|
1516
|
+
/**
|
|
1517
|
+
* This will create a draft policy in the database.
|
|
1518
|
+
* @summary Create the draft-policy
|
|
1519
|
+
* @param {PoliciesApiCreatePolicy0Request} requestParameters Request parameters.
|
|
1520
|
+
* @param {*} [options] Override http request option.
|
|
1521
|
+
* @throws {RequiredError}
|
|
1522
|
+
* @memberof PoliciesApi
|
|
1523
|
+
*/
|
|
1524
|
+
PoliciesApi.prototype.createPolicy_1 = function (requestParameters, options) {
|
|
1525
|
+
var _this = this;
|
|
1526
|
+
return (0, exports.PoliciesApiFp)(this.configuration).createPolicy_1(requestParameters.policyCode, requestParameters.createDraftPolicyRequestDto, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
1527
|
+
};
|
|
1528
|
+
/**
|
|
1529
|
+
* Permanently deletes the draft-policy. Supply the unique code that was returned when you created the draft-policy and this will delete it.
|
|
1530
|
+
* @summary Delete the draft-policy
|
|
1531
|
+
* @param {PoliciesApiDeleteDraftPolicyRequest} requestParameters Request parameters.
|
|
1532
|
+
* @param {*} [options] Override http request option.
|
|
1533
|
+
* @throws {RequiredError}
|
|
1534
|
+
* @memberof PoliciesApi
|
|
1535
|
+
*/
|
|
1536
|
+
PoliciesApi.prototype.deleteDraftPolicy = function (requestParameters, options) {
|
|
1537
|
+
var _this = this;
|
|
1538
|
+
return (0, exports.PoliciesApiFp)(this.configuration).deleteDraftPolicy(requestParameters.policyCode, requestParameters.policyCode2, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
1539
|
+
};
|
|
1540
|
+
/**
|
|
1541
|
+
* Retrieves the details of the draft-policy that was previously created. Supply the unique draft-policy code that was returned when you created it and Emil Api will return the corresponding draft-policy information.
|
|
1542
|
+
* @summary Retrieve the draft-policy
|
|
1543
|
+
* @param {PoliciesApiGetDraftPolicyRequest} requestParameters Request parameters.
|
|
1544
|
+
* @param {*} [options] Override http request option.
|
|
1545
|
+
* @throws {RequiredError}
|
|
1546
|
+
* @memberof PoliciesApi
|
|
1547
|
+
*/
|
|
1548
|
+
PoliciesApi.prototype.getDraftPolicy = function (requestParameters, options) {
|
|
1549
|
+
var _this = this;
|
|
1550
|
+
return (0, exports.PoliciesApiFp)(this.configuration).getDraftPolicy(requestParameters.policyCode, requestParameters.policyCode2, requestParameters.authorization, requestParameters.expand, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
1551
|
+
};
|
|
1154
1552
|
/**
|
|
1155
1553
|
* Retrieves the details of the policy that was previously created. Supply the unique policy code that was returned when you created it and Emil Api will return the corresponding policy information.
|
|
1156
1554
|
* @summary Retrieve the policy
|
|
@@ -1212,6 +1610,18 @@ var PoliciesApi = /** @class */ (function (_super) {
|
|
|
1212
1610
|
var _this = this;
|
|
1213
1611
|
return (0, exports.PoliciesApiFp)(this.configuration).patchPolicy(requestParameters.code, requestParameters.patchPolicyRequestDto, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
1214
1612
|
};
|
|
1613
|
+
/**
|
|
1614
|
+
* Updates the specified draft-policy by setting the values of the parameters passed. Any parameters not provided will be left unchanged.
|
|
1615
|
+
* @summary Update the draft-policy
|
|
1616
|
+
* @param {PoliciesApiPatchPolicy0Request} requestParameters Request parameters.
|
|
1617
|
+
* @param {*} [options] Override http request option.
|
|
1618
|
+
* @throws {RequiredError}
|
|
1619
|
+
* @memberof PoliciesApi
|
|
1620
|
+
*/
|
|
1621
|
+
PoliciesApi.prototype.patchPolicy_2 = function (requestParameters, options) {
|
|
1622
|
+
var _this = this;
|
|
1623
|
+
return (0, exports.PoliciesApiFp)(this.configuration).patchPolicy_2(requestParameters.policyCode, requestParameters.code, requestParameters.patchDraftPolicyRequestDto, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
1624
|
+
};
|
|
1215
1625
|
/**
|
|
1216
1626
|
* Request to suspend an existing policy by tenant.
|
|
1217
1627
|
* @summary Suspend a policy by tenant
|
|
@@ -58,16 +58,17 @@ export declare const StatusTransitionRulesApiAxiosParamCreator: (configuration?:
|
|
|
58
58
|
* Returns a list of status transition rules you have previously created. The status transition rules are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
|
|
59
59
|
* @summary List status transition rules
|
|
60
60
|
* @param {string} [authorization] Bearer Token
|
|
61
|
-
* @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and
|
|
61
|
+
* @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
62
62
|
* @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.
|
|
63
63
|
* @param {any} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.
|
|
64
64
|
* @param {any} [search] Search the list by any field. For instance, if you want to search by code add code=xxx in order to fetch the result.
|
|
65
65
|
* @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.
|
|
66
66
|
* @param {any} [expand] Use this parameter to fetch additional information about the list items. The expand query parameter increases the set of fields that appear in the response in addition to the default ones. Expanding resources can reduce the number of API calls required to accomplish a task. However, use this with parsimony as some expanded fields can drastically increase payload size.
|
|
67
|
+
* @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.
|
|
67
68
|
* @param {*} [options] Override http request option.
|
|
68
69
|
* @throws {RequiredError}
|
|
69
70
|
*/
|
|
70
|
-
listStatusTransitionRules: (authorization?: string, pageSize?: any, pageToken?: any, filter?: any, search?: any, order?: any, expand?: any, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
71
|
+
listStatusTransitionRules: (authorization?: string, pageSize?: any, pageToken?: any, filter?: any, search?: any, order?: any, expand?: any, filters?: any, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
71
72
|
/**
|
|
72
73
|
* Updates the specified status transition rule by setting the values of the parameters passed. Any parameters not provided will be left unchanged.
|
|
73
74
|
* @summary Patch the status transition rule
|
|
@@ -126,16 +127,17 @@ export declare const StatusTransitionRulesApiFp: (configuration?: Configuration)
|
|
|
126
127
|
* Returns a list of status transition rules you have previously created. The status transition rules are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
|
|
127
128
|
* @summary List status transition rules
|
|
128
129
|
* @param {string} [authorization] Bearer Token
|
|
129
|
-
* @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and
|
|
130
|
+
* @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
130
131
|
* @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.
|
|
131
132
|
* @param {any} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.
|
|
132
133
|
* @param {any} [search] Search the list by any field. For instance, if you want to search by code add code=xxx in order to fetch the result.
|
|
133
134
|
* @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.
|
|
134
135
|
* @param {any} [expand] Use this parameter to fetch additional information about the list items. The expand query parameter increases the set of fields that appear in the response in addition to the default ones. Expanding resources can reduce the number of API calls required to accomplish a task. However, use this with parsimony as some expanded fields can drastically increase payload size.
|
|
136
|
+
* @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.
|
|
135
137
|
* @param {*} [options] Override http request option.
|
|
136
138
|
* @throws {RequiredError}
|
|
137
139
|
*/
|
|
138
|
-
listStatusTransitionRules(authorization?: string, pageSize?: any, pageToken?: any, filter?: any, search?: any, order?: any, expand?: any, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ListStatusTransitionRulesResponseClass>>;
|
|
140
|
+
listStatusTransitionRules(authorization?: string, pageSize?: any, pageToken?: any, filter?: any, search?: any, order?: any, expand?: any, filters?: any, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ListStatusTransitionRulesResponseClass>>;
|
|
139
141
|
/**
|
|
140
142
|
* Updates the specified status transition rule by setting the values of the parameters passed. Any parameters not provided will be left unchanged.
|
|
141
143
|
* @summary Patch the status transition rule
|
|
@@ -194,16 +196,17 @@ export declare const StatusTransitionRulesApiFactory: (configuration?: Configura
|
|
|
194
196
|
* Returns a list of status transition rules you have previously created. The status transition rules are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
|
|
195
197
|
* @summary List status transition rules
|
|
196
198
|
* @param {string} [authorization] Bearer Token
|
|
197
|
-
* @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and
|
|
199
|
+
* @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
198
200
|
* @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.
|
|
199
201
|
* @param {any} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.
|
|
200
202
|
* @param {any} [search] Search the list by any field. For instance, if you want to search by code add code=xxx in order to fetch the result.
|
|
201
203
|
* @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.
|
|
202
204
|
* @param {any} [expand] Use this parameter to fetch additional information about the list items. The expand query parameter increases the set of fields that appear in the response in addition to the default ones. Expanding resources can reduce the number of API calls required to accomplish a task. However, use this with parsimony as some expanded fields can drastically increase payload size.
|
|
205
|
+
* @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.
|
|
203
206
|
* @param {*} [options] Override http request option.
|
|
204
207
|
* @throws {RequiredError}
|
|
205
208
|
*/
|
|
206
|
-
listStatusTransitionRules(authorization?: string, pageSize?: any, pageToken?: any, filter?: any, search?: any, order?: any, expand?: any, options?: any): AxiosPromise<ListStatusTransitionRulesResponseClass>;
|
|
209
|
+
listStatusTransitionRules(authorization?: string, pageSize?: any, pageToken?: any, filter?: any, search?: any, order?: any, expand?: any, filters?: any, options?: any): AxiosPromise<ListStatusTransitionRulesResponseClass>;
|
|
207
210
|
/**
|
|
208
211
|
* Updates the specified status transition rule by setting the values of the parameters passed. Any parameters not provided will be left unchanged.
|
|
209
212
|
* @summary Patch the status transition rule
|
|
@@ -301,7 +304,7 @@ export interface StatusTransitionRulesApiListStatusTransitionRulesRequest {
|
|
|
301
304
|
*/
|
|
302
305
|
readonly authorization?: string;
|
|
303
306
|
/**
|
|
304
|
-
* A limit on the number of objects to be returned. Limit ranges between 1 and
|
|
307
|
+
* A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
305
308
|
* @type {any}
|
|
306
309
|
* @memberof StatusTransitionRulesApiListStatusTransitionRules
|
|
307
310
|
*/
|
|
@@ -336,6 +339,12 @@ export interface StatusTransitionRulesApiListStatusTransitionRulesRequest {
|
|
|
336
339
|
* @memberof StatusTransitionRulesApiListStatusTransitionRules
|
|
337
340
|
*/
|
|
338
341
|
readonly expand?: any;
|
|
342
|
+
/**
|
|
343
|
+
* 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.
|
|
344
|
+
* @type {any}
|
|
345
|
+
* @memberof StatusTransitionRulesApiListStatusTransitionRules
|
|
346
|
+
*/
|
|
347
|
+
readonly filters?: any;
|
|
339
348
|
}
|
|
340
349
|
/**
|
|
341
350
|
* Request parameters for patchStatusTransitionRule operation in StatusTransitionRulesApi.
|