@emilgroup/insurance-sdk-node 1.47.0 → 1.48.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-funnel-versions-api.ts +375 -0
- package/api/booking-funnels-api.ts +4 -4
- package/api/lead-versions-api.ts +4 -4
- package/api/leads-api.ts +4 -4
- package/api/policies-api.ts +123 -123
- package/api/policy-partner-roles-api.ts +683 -0
- package/api/status-transition-rules-api.ts +4 -4
- package/api.ts +4 -0
- package/dist/api/booking-funnel-versions-api.d.ts +222 -0
- package/dist/api/booking-funnel-versions-api.js +367 -0
- package/dist/api/booking-funnels-api.d.ts +4 -4
- package/dist/api/booking-funnels-api.js +3 -3
- package/dist/api/lead-versions-api.d.ts +4 -4
- package/dist/api/lead-versions-api.js +3 -3
- package/dist/api/leads-api.d.ts +4 -4
- package/dist/api/leads-api.js +3 -3
- package/dist/api/policies-api.d.ts +123 -123
- package/dist/api/policies-api.js +60 -60
- package/dist/api/policy-partner-roles-api.d.ts +385 -0
- package/dist/api/policy-partner-roles-api.js +640 -0
- package/dist/api/status-transition-rules-api.d.ts +4 -4
- package/dist/api/status-transition-rules-api.js +3 -3
- package/dist/api.d.ts +2 -0
- package/dist/api.js +2 -0
- package/dist/models/booking-funnel-class.d.ts +6 -0
- package/dist/models/create-policy-partner-role-request-dto.d.ts +30 -0
- package/dist/models/create-policy-partner-role-request-dto.js +15 -0
- package/dist/models/create-policy-partner-role-response-class.d.ts +25 -0
- package/dist/models/create-policy-partner-role-response-class.js +15 -0
- package/dist/models/get-booking-funnel-version-request-dto.d.ts +30 -0
- package/dist/models/get-booking-funnel-version-request-dto.js +15 -0
- package/dist/models/get-policy-partner-role-response-class.d.ts +25 -0
- package/dist/models/get-policy-partner-role-response-class.js +15 -0
- package/dist/models/index.d.ts +8 -0
- package/dist/models/index.js +8 -0
- package/dist/models/list-policy-partner-roles-response-class.d.ts +31 -0
- package/dist/models/list-policy-partner-roles-response-class.js +15 -0
- package/dist/models/policy-partner-role-class.d.ts +54 -0
- package/dist/models/policy-partner-role-class.js +15 -0
- package/dist/models/update-policy-partner-role-request-dto.d.ts +30 -0
- package/dist/models/update-policy-partner-role-request-dto.js +15 -0
- package/dist/models/update-policy-partner-role-response-class.d.ts +25 -0
- package/dist/models/update-policy-partner-role-response-class.js +15 -0
- package/models/booking-funnel-class.ts +6 -0
- package/models/create-policy-partner-role-request-dto.ts +36 -0
- package/models/create-policy-partner-role-response-class.ts +31 -0
- package/models/get-booking-funnel-version-request-dto.ts +36 -0
- package/models/get-policy-partner-role-response-class.ts +31 -0
- package/models/index.ts +8 -0
- package/models/list-policy-partner-roles-response-class.ts +37 -0
- package/models/policy-partner-role-class.ts +60 -0
- package/models/update-policy-partner-role-request-dto.ts +36 -0
- package/models/update-policy-partner-role-response-class.ts +31 -0
- package/package.json +1 -1
package/api/policies-api.ts
CHANGED
|
@@ -432,17 +432,17 @@ export const PoliciesApiAxiosParamCreator = function (configuration?: Configurat
|
|
|
432
432
|
* Returns a list of policies you have previously created. The policies are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
|
|
433
433
|
* @summary List policies
|
|
434
434
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
435
|
-
* @param {
|
|
436
|
-
* @param {
|
|
437
|
-
* @param {
|
|
438
|
-
* @param {
|
|
439
|
-
* @param {
|
|
435
|
+
* @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
436
|
+
* @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.
|
|
437
|
+
* @param {any} [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, productSlug, productVersionId, productId, accountCode, productName, status, statuses, createdAt, policyData</i>
|
|
438
|
+
* @param {any} [search] To search the list by any field, pass search=xxx to fetch the result.
|
|
439
|
+
* @param {any} [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>
|
|
440
440
|
* @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.
|
|
441
|
-
* @param {
|
|
441
|
+
* @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.
|
|
442
442
|
* @param {*} [options] Override http request option.
|
|
443
443
|
* @throws {RequiredError}
|
|
444
444
|
*/
|
|
445
|
-
listPolicies: async (authorization?: string, pageSize?:
|
|
445
|
+
listPolicies: async (authorization?: string, pageSize?: any, pageToken?: any, filter?: any, search?: any, order?: any, expand?: 'versions' | 'product' | 'timelines' | 'premiums' | 'premiumItems' | 'premiumFormulas' | 'currentVersion' | 'currentTimelines' | 'currentPremiums' | 'currentPremiumItems' | 'currentPremiumFormulas', filters?: any, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
446
446
|
const localVarPath = `/insuranceservice/v1/policies`;
|
|
447
447
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
448
448
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
@@ -507,18 +507,18 @@ export const PoliciesApiAxiosParamCreator = function (configuration?: Configurat
|
|
|
507
507
|
/**
|
|
508
508
|
* This will return a policy objects for the given policy. You may filter the objects to return by the insured object, or return only the objects that exists for a particular date (providing the object code or ID).
|
|
509
509
|
* @summary List policy objects
|
|
510
|
-
* @param {
|
|
510
|
+
* @param {any} 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, insuredObjectId, insuredObjectName, policyCode, date</i> <br/> <i>policyCode</i> is required, other filters are optional.
|
|
511
511
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
512
|
-
* @param {
|
|
513
|
-
* @param {
|
|
514
|
-
* @param {
|
|
515
|
-
* @param {
|
|
516
|
-
* @param {
|
|
517
|
-
* @param {
|
|
512
|
+
* @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
513
|
+
* @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.
|
|
514
|
+
* @param {any} [search] To search the list by any field, pass search=xxx to fetch the result.
|
|
515
|
+
* @param {any} [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>
|
|
516
|
+
* @param {any} [expand] No expanding supported
|
|
517
|
+
* @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.
|
|
518
518
|
* @param {*} [options] Override http request option.
|
|
519
519
|
* @throws {RequiredError}
|
|
520
520
|
*/
|
|
521
|
-
listPolicyObjects: async (filter:
|
|
521
|
+
listPolicyObjects: async (filter: any, authorization?: string, pageSize?: any, pageToken?: any, search?: any, order?: any, expand?: any, filters?: any, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
522
522
|
// verify required parameter 'filter' is not null or undefined
|
|
523
523
|
assertParamExists('listPolicyObjects', 'filter', filter)
|
|
524
524
|
const localVarPath = `/insuranceservice/v1/policies/policy-objects`;
|
|
@@ -587,17 +587,17 @@ export const PoliciesApiAxiosParamCreator = function (configuration?: Configurat
|
|
|
587
587
|
* @summary List policy versions
|
|
588
588
|
* @param {string} policyCode
|
|
589
589
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
590
|
-
* @param {
|
|
591
|
-
* @param {
|
|
592
|
-
* @param {
|
|
593
|
-
* @param {
|
|
594
|
-
* @param {
|
|
595
|
-
* @param {
|
|
596
|
-
* @param {
|
|
590
|
+
* @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
591
|
+
* @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.
|
|
592
|
+
* @param {any} [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, policyId</i>
|
|
593
|
+
* @param {any} [search] To search the list by any field, pass search=xxx to fetch the result.
|
|
594
|
+
* @param {any} [order] Order allowing you to specify the desired order of entities retrieved from the server.<br/> <br/> <i>Allowed values: id, policyId, createdAt, updatedAt</i>
|
|
595
|
+
* @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.
|
|
596
|
+
* @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.
|
|
597
597
|
* @param {*} [options] Override http request option.
|
|
598
598
|
* @throws {RequiredError}
|
|
599
599
|
*/
|
|
600
|
-
listPolicyVersions: async (policyCode: string, authorization?: string, pageSize?:
|
|
600
|
+
listPolicyVersions: async (policyCode: string, authorization?: string, pageSize?: any, pageToken?: any, filter?: any, search?: any, order?: any, expand?: any, filters?: any, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
601
601
|
// verify required parameter 'policyCode' is not null or undefined
|
|
602
602
|
assertParamExists('listPolicyVersions', 'policyCode', policyCode)
|
|
603
603
|
const localVarPath = `/insuranceservice/v1/policies/{policyCode}/versions`
|
|
@@ -1077,35 +1077,35 @@ export const PoliciesApiFp = function(configuration?: Configuration) {
|
|
|
1077
1077
|
* Returns a list of policies you have previously created. The policies are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
|
|
1078
1078
|
* @summary List policies
|
|
1079
1079
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
1080
|
-
* @param {
|
|
1081
|
-
* @param {
|
|
1082
|
-
* @param {
|
|
1083
|
-
* @param {
|
|
1084
|
-
* @param {
|
|
1080
|
+
* @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
1081
|
+
* @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.
|
|
1082
|
+
* @param {any} [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, productSlug, productVersionId, productId, accountCode, productName, status, statuses, createdAt, policyData</i>
|
|
1083
|
+
* @param {any} [search] To search the list by any field, pass search=xxx to fetch the result.
|
|
1084
|
+
* @param {any} [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>
|
|
1085
1085
|
* @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.
|
|
1086
|
-
* @param {
|
|
1086
|
+
* @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.
|
|
1087
1087
|
* @param {*} [options] Override http request option.
|
|
1088
1088
|
* @throws {RequiredError}
|
|
1089
1089
|
*/
|
|
1090
|
-
async listPolicies(authorization?: string, pageSize?:
|
|
1090
|
+
async listPolicies(authorization?: string, pageSize?: any, pageToken?: any, filter?: any, search?: any, order?: any, expand?: 'versions' | 'product' | 'timelines' | 'premiums' | 'premiumItems' | 'premiumFormulas' | 'currentVersion' | 'currentTimelines' | 'currentPremiums' | 'currentPremiumItems' | 'currentPremiumFormulas', filters?: any, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ListPoliciesResponseClass>> {
|
|
1091
1091
|
const localVarAxiosArgs = await localVarAxiosParamCreator.listPolicies(authorization, pageSize, pageToken, filter, search, order, expand, filters, options);
|
|
1092
1092
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
1093
1093
|
},
|
|
1094
1094
|
/**
|
|
1095
1095
|
* This will return a policy objects for the given policy. You may filter the objects to return by the insured object, or return only the objects that exists for a particular date (providing the object code or ID).
|
|
1096
1096
|
* @summary List policy objects
|
|
1097
|
-
* @param {
|
|
1097
|
+
* @param {any} 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, insuredObjectId, insuredObjectName, policyCode, date</i> <br/> <i>policyCode</i> is required, other filters are optional.
|
|
1098
1098
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
1099
|
-
* @param {
|
|
1100
|
-
* @param {
|
|
1101
|
-
* @param {
|
|
1102
|
-
* @param {
|
|
1103
|
-
* @param {
|
|
1104
|
-
* @param {
|
|
1099
|
+
* @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
1100
|
+
* @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.
|
|
1101
|
+
* @param {any} [search] To search the list by any field, pass search=xxx to fetch the result.
|
|
1102
|
+
* @param {any} [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>
|
|
1103
|
+
* @param {any} [expand] No expanding supported
|
|
1104
|
+
* @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.
|
|
1105
1105
|
* @param {*} [options] Override http request option.
|
|
1106
1106
|
* @throws {RequiredError}
|
|
1107
1107
|
*/
|
|
1108
|
-
async listPolicyObjects(filter:
|
|
1108
|
+
async listPolicyObjects(filter: any, authorization?: string, pageSize?: any, pageToken?: any, search?: any, order?: any, expand?: any, filters?: any, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ListPolicyObjectsResponseClass>> {
|
|
1109
1109
|
const localVarAxiosArgs = await localVarAxiosParamCreator.listPolicyObjects(filter, authorization, pageSize, pageToken, search, order, expand, filters, options);
|
|
1110
1110
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
1111
1111
|
},
|
|
@@ -1114,17 +1114,17 @@ export const PoliciesApiFp = function(configuration?: Configuration) {
|
|
|
1114
1114
|
* @summary List policy versions
|
|
1115
1115
|
* @param {string} policyCode
|
|
1116
1116
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
1117
|
-
* @param {
|
|
1118
|
-
* @param {
|
|
1119
|
-
* @param {
|
|
1120
|
-
* @param {
|
|
1121
|
-
* @param {
|
|
1122
|
-
* @param {
|
|
1123
|
-
* @param {
|
|
1117
|
+
* @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
1118
|
+
* @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.
|
|
1119
|
+
* @param {any} [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, policyId</i>
|
|
1120
|
+
* @param {any} [search] To search the list by any field, pass search=xxx to fetch the result.
|
|
1121
|
+
* @param {any} [order] Order allowing you to specify the desired order of entities retrieved from the server.<br/> <br/> <i>Allowed values: id, policyId, createdAt, updatedAt</i>
|
|
1122
|
+
* @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.
|
|
1123
|
+
* @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.
|
|
1124
1124
|
* @param {*} [options] Override http request option.
|
|
1125
1125
|
* @throws {RequiredError}
|
|
1126
1126
|
*/
|
|
1127
|
-
async listPolicyVersions(policyCode: string, authorization?: string, pageSize?:
|
|
1127
|
+
async listPolicyVersions(policyCode: string, authorization?: string, pageSize?: any, pageToken?: any, filter?: any, search?: any, order?: any, expand?: any, filters?: any, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ListPolicyVersionResponseClass>> {
|
|
1128
1128
|
const localVarAxiosArgs = await localVarAxiosParamCreator.listPolicyVersions(policyCode, authorization, pageSize, pageToken, filter, search, order, expand, filters, options);
|
|
1129
1129
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
1130
1130
|
},
|
|
@@ -1305,34 +1305,34 @@ export const PoliciesApiFactory = function (configuration?: Configuration, baseP
|
|
|
1305
1305
|
* Returns a list of policies you have previously created. The policies are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
|
|
1306
1306
|
* @summary List policies
|
|
1307
1307
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
1308
|
-
* @param {
|
|
1309
|
-
* @param {
|
|
1310
|
-
* @param {
|
|
1311
|
-
* @param {
|
|
1312
|
-
* @param {
|
|
1308
|
+
* @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
1309
|
+
* @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.
|
|
1310
|
+
* @param {any} [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, productSlug, productVersionId, productId, accountCode, productName, status, statuses, createdAt, policyData</i>
|
|
1311
|
+
* @param {any} [search] To search the list by any field, pass search=xxx to fetch the result.
|
|
1312
|
+
* @param {any} [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>
|
|
1313
1313
|
* @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.
|
|
1314
|
-
* @param {
|
|
1314
|
+
* @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.
|
|
1315
1315
|
* @param {*} [options] Override http request option.
|
|
1316
1316
|
* @throws {RequiredError}
|
|
1317
1317
|
*/
|
|
1318
|
-
listPolicies(authorization?: string, pageSize?:
|
|
1318
|
+
listPolicies(authorization?: string, pageSize?: any, pageToken?: any, filter?: any, search?: any, order?: any, expand?: 'versions' | 'product' | 'timelines' | 'premiums' | 'premiumItems' | 'premiumFormulas' | 'currentVersion' | 'currentTimelines' | 'currentPremiums' | 'currentPremiumItems' | 'currentPremiumFormulas', filters?: any, options?: any): AxiosPromise<ListPoliciesResponseClass> {
|
|
1319
1319
|
return localVarFp.listPolicies(authorization, pageSize, pageToken, filter, search, order, expand, filters, options).then((request) => request(axios, basePath));
|
|
1320
1320
|
},
|
|
1321
1321
|
/**
|
|
1322
1322
|
* This will return a policy objects for the given policy. You may filter the objects to return by the insured object, or return only the objects that exists for a particular date (providing the object code or ID).
|
|
1323
1323
|
* @summary List policy objects
|
|
1324
|
-
* @param {
|
|
1324
|
+
* @param {any} 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, insuredObjectId, insuredObjectName, policyCode, date</i> <br/> <i>policyCode</i> is required, other filters are optional.
|
|
1325
1325
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
1326
|
-
* @param {
|
|
1327
|
-
* @param {
|
|
1328
|
-
* @param {
|
|
1329
|
-
* @param {
|
|
1330
|
-
* @param {
|
|
1331
|
-
* @param {
|
|
1326
|
+
* @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
1327
|
+
* @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.
|
|
1328
|
+
* @param {any} [search] To search the list by any field, pass search=xxx to fetch the result.
|
|
1329
|
+
* @param {any} [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>
|
|
1330
|
+
* @param {any} [expand] No expanding supported
|
|
1331
|
+
* @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.
|
|
1332
1332
|
* @param {*} [options] Override http request option.
|
|
1333
1333
|
* @throws {RequiredError}
|
|
1334
1334
|
*/
|
|
1335
|
-
listPolicyObjects(filter:
|
|
1335
|
+
listPolicyObjects(filter: any, authorization?: string, pageSize?: any, pageToken?: any, search?: any, order?: any, expand?: any, filters?: any, options?: any): AxiosPromise<ListPolicyObjectsResponseClass> {
|
|
1336
1336
|
return localVarFp.listPolicyObjects(filter, authorization, pageSize, pageToken, search, order, expand, filters, options).then((request) => request(axios, basePath));
|
|
1337
1337
|
},
|
|
1338
1338
|
/**
|
|
@@ -1340,17 +1340,17 @@ export const PoliciesApiFactory = function (configuration?: Configuration, baseP
|
|
|
1340
1340
|
* @summary List policy versions
|
|
1341
1341
|
* @param {string} policyCode
|
|
1342
1342
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
1343
|
-
* @param {
|
|
1344
|
-
* @param {
|
|
1345
|
-
* @param {
|
|
1346
|
-
* @param {
|
|
1347
|
-
* @param {
|
|
1348
|
-
* @param {
|
|
1349
|
-
* @param {
|
|
1343
|
+
* @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
1344
|
+
* @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.
|
|
1345
|
+
* @param {any} [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, policyId</i>
|
|
1346
|
+
* @param {any} [search] To search the list by any field, pass search=xxx to fetch the result.
|
|
1347
|
+
* @param {any} [order] Order allowing you to specify the desired order of entities retrieved from the server.<br/> <br/> <i>Allowed values: id, policyId, createdAt, updatedAt</i>
|
|
1348
|
+
* @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.
|
|
1349
|
+
* @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.
|
|
1350
1350
|
* @param {*} [options] Override http request option.
|
|
1351
1351
|
* @throws {RequiredError}
|
|
1352
1352
|
*/
|
|
1353
|
-
listPolicyVersions(policyCode: string, authorization?: string, pageSize?:
|
|
1353
|
+
listPolicyVersions(policyCode: string, authorization?: string, pageSize?: any, pageToken?: any, filter?: any, search?: any, order?: any, expand?: any, filters?: any, options?: any): AxiosPromise<ListPolicyVersionResponseClass> {
|
|
1354
1354
|
return localVarFp.listPolicyVersions(policyCode, authorization, pageSize, pageToken, filter, search, order, expand, filters, options).then((request) => request(axios, basePath));
|
|
1355
1355
|
},
|
|
1356
1356
|
/**
|
|
@@ -1639,39 +1639,39 @@ export interface PoliciesApiListPoliciesRequest {
|
|
|
1639
1639
|
readonly authorization?: string
|
|
1640
1640
|
|
|
1641
1641
|
/**
|
|
1642
|
-
*
|
|
1643
|
-
* @type {
|
|
1642
|
+
* A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
1643
|
+
* @type {any}
|
|
1644
1644
|
* @memberof PoliciesApiListPolicies
|
|
1645
1645
|
*/
|
|
1646
|
-
readonly pageSize?:
|
|
1646
|
+
readonly pageSize?: any
|
|
1647
1647
|
|
|
1648
1648
|
/**
|
|
1649
|
-
*
|
|
1650
|
-
* @type {
|
|
1649
|
+
* 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.
|
|
1650
|
+
* @type {any}
|
|
1651
1651
|
* @memberof PoliciesApiListPolicies
|
|
1652
1652
|
*/
|
|
1653
|
-
readonly pageToken?:
|
|
1653
|
+
readonly pageToken?: any
|
|
1654
1654
|
|
|
1655
1655
|
/**
|
|
1656
1656
|
* 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, productSlug, productVersionId, productId, accountCode, productName, status, statuses, createdAt, policyData</i>
|
|
1657
|
-
* @type {
|
|
1657
|
+
* @type {any}
|
|
1658
1658
|
* @memberof PoliciesApiListPolicies
|
|
1659
1659
|
*/
|
|
1660
|
-
readonly filter?:
|
|
1660
|
+
readonly filter?: any
|
|
1661
1661
|
|
|
1662
1662
|
/**
|
|
1663
|
-
*
|
|
1664
|
-
* @type {
|
|
1663
|
+
* To search the list by any field, pass search=xxx to fetch the result.
|
|
1664
|
+
* @type {any}
|
|
1665
1665
|
* @memberof PoliciesApiListPolicies
|
|
1666
1666
|
*/
|
|
1667
|
-
readonly search?:
|
|
1667
|
+
readonly search?: any
|
|
1668
1668
|
|
|
1669
1669
|
/**
|
|
1670
1670
|
* 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>
|
|
1671
|
-
* @type {
|
|
1671
|
+
* @type {any}
|
|
1672
1672
|
* @memberof PoliciesApiListPolicies
|
|
1673
1673
|
*/
|
|
1674
|
-
readonly order?:
|
|
1674
|
+
readonly order?: any
|
|
1675
1675
|
|
|
1676
1676
|
/**
|
|
1677
1677
|
* You can expand policy versions list in this endpoint. By default, versions will be an empty array.
|
|
@@ -1681,11 +1681,11 @@ export interface PoliciesApiListPoliciesRequest {
|
|
|
1681
1681
|
readonly expand?: 'versions' | 'product' | 'timelines' | 'premiums' | 'premiumItems' | 'premiumFormulas' | 'currentVersion' | 'currentTimelines' | 'currentPremiums' | 'currentPremiumItems' | 'currentPremiumFormulas'
|
|
1682
1682
|
|
|
1683
1683
|
/**
|
|
1684
|
-
*
|
|
1685
|
-
* @type {
|
|
1684
|
+
* 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.
|
|
1685
|
+
* @type {any}
|
|
1686
1686
|
* @memberof PoliciesApiListPolicies
|
|
1687
1687
|
*/
|
|
1688
|
-
readonly filters?:
|
|
1688
|
+
readonly filters?: any
|
|
1689
1689
|
}
|
|
1690
1690
|
|
|
1691
1691
|
/**
|
|
@@ -1695,11 +1695,11 @@ export interface PoliciesApiListPoliciesRequest {
|
|
|
1695
1695
|
*/
|
|
1696
1696
|
export interface PoliciesApiListPolicyObjectsRequest {
|
|
1697
1697
|
/**
|
|
1698
|
-
* 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, insuredObjectId, policyCode, date</i> <br/> <i>policyCode</i> is required, other filters are optional.
|
|
1699
|
-
* @type {
|
|
1698
|
+
* 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, insuredObjectId, insuredObjectName, policyCode, date</i> <br/> <i>policyCode</i> is required, other filters are optional.
|
|
1699
|
+
* @type {any}
|
|
1700
1700
|
* @memberof PoliciesApiListPolicyObjects
|
|
1701
1701
|
*/
|
|
1702
|
-
readonly filter:
|
|
1702
|
+
readonly filter: any
|
|
1703
1703
|
|
|
1704
1704
|
/**
|
|
1705
1705
|
* Bearer Token: provided by the login endpoint under the name accessToken.
|
|
@@ -1709,46 +1709,46 @@ export interface PoliciesApiListPolicyObjectsRequest {
|
|
|
1709
1709
|
readonly authorization?: string
|
|
1710
1710
|
|
|
1711
1711
|
/**
|
|
1712
|
-
*
|
|
1713
|
-
* @type {
|
|
1712
|
+
* A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
1713
|
+
* @type {any}
|
|
1714
1714
|
* @memberof PoliciesApiListPolicyObjects
|
|
1715
1715
|
*/
|
|
1716
|
-
readonly pageSize?:
|
|
1716
|
+
readonly pageSize?: any
|
|
1717
1717
|
|
|
1718
1718
|
/**
|
|
1719
|
-
*
|
|
1720
|
-
* @type {
|
|
1719
|
+
* 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.
|
|
1720
|
+
* @type {any}
|
|
1721
1721
|
* @memberof PoliciesApiListPolicyObjects
|
|
1722
1722
|
*/
|
|
1723
|
-
readonly pageToken?:
|
|
1723
|
+
readonly pageToken?: any
|
|
1724
1724
|
|
|
1725
1725
|
/**
|
|
1726
|
-
*
|
|
1727
|
-
* @type {
|
|
1726
|
+
* To search the list by any field, pass search=xxx to fetch the result.
|
|
1727
|
+
* @type {any}
|
|
1728
1728
|
* @memberof PoliciesApiListPolicyObjects
|
|
1729
1729
|
*/
|
|
1730
|
-
readonly search?:
|
|
1730
|
+
readonly search?: any
|
|
1731
1731
|
|
|
1732
1732
|
/**
|
|
1733
1733
|
* 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>
|
|
1734
|
-
* @type {
|
|
1734
|
+
* @type {any}
|
|
1735
1735
|
* @memberof PoliciesApiListPolicyObjects
|
|
1736
1736
|
*/
|
|
1737
|
-
readonly order?:
|
|
1737
|
+
readonly order?: any
|
|
1738
1738
|
|
|
1739
1739
|
/**
|
|
1740
1740
|
* No expanding supported
|
|
1741
|
-
* @type {
|
|
1741
|
+
* @type {any}
|
|
1742
1742
|
* @memberof PoliciesApiListPolicyObjects
|
|
1743
1743
|
*/
|
|
1744
|
-
readonly expand?:
|
|
1744
|
+
readonly expand?: any
|
|
1745
1745
|
|
|
1746
1746
|
/**
|
|
1747
|
-
*
|
|
1748
|
-
* @type {
|
|
1747
|
+
* 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.
|
|
1748
|
+
* @type {any}
|
|
1749
1749
|
* @memberof PoliciesApiListPolicyObjects
|
|
1750
1750
|
*/
|
|
1751
|
-
readonly filters?:
|
|
1751
|
+
readonly filters?: any
|
|
1752
1752
|
}
|
|
1753
1753
|
|
|
1754
1754
|
/**
|
|
@@ -1772,53 +1772,53 @@ export interface PoliciesApiListPolicyVersionsRequest {
|
|
|
1772
1772
|
readonly authorization?: string
|
|
1773
1773
|
|
|
1774
1774
|
/**
|
|
1775
|
-
*
|
|
1776
|
-
* @type {
|
|
1775
|
+
* A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
1776
|
+
* @type {any}
|
|
1777
1777
|
* @memberof PoliciesApiListPolicyVersions
|
|
1778
1778
|
*/
|
|
1779
|
-
readonly pageSize?:
|
|
1779
|
+
readonly pageSize?: any
|
|
1780
1780
|
|
|
1781
1781
|
/**
|
|
1782
|
-
*
|
|
1783
|
-
* @type {
|
|
1782
|
+
* 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.
|
|
1783
|
+
* @type {any}
|
|
1784
1784
|
* @memberof PoliciesApiListPolicyVersions
|
|
1785
1785
|
*/
|
|
1786
|
-
readonly pageToken?:
|
|
1786
|
+
readonly pageToken?: any
|
|
1787
1787
|
|
|
1788
1788
|
/**
|
|
1789
1789
|
* 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, policyId</i>
|
|
1790
|
-
* @type {
|
|
1790
|
+
* @type {any}
|
|
1791
1791
|
* @memberof PoliciesApiListPolicyVersions
|
|
1792
1792
|
*/
|
|
1793
|
-
readonly filter?:
|
|
1793
|
+
readonly filter?: any
|
|
1794
1794
|
|
|
1795
1795
|
/**
|
|
1796
|
-
*
|
|
1797
|
-
* @type {
|
|
1796
|
+
* To search the list by any field, pass search=xxx to fetch the result.
|
|
1797
|
+
* @type {any}
|
|
1798
1798
|
* @memberof PoliciesApiListPolicyVersions
|
|
1799
1799
|
*/
|
|
1800
|
-
readonly search?:
|
|
1800
|
+
readonly search?: any
|
|
1801
1801
|
|
|
1802
1802
|
/**
|
|
1803
1803
|
* Order allowing you to specify the desired order of entities retrieved from the server.<br/> <br/> <i>Allowed values: id, policyId, createdAt, updatedAt</i>
|
|
1804
|
-
* @type {
|
|
1804
|
+
* @type {any}
|
|
1805
1805
|
* @memberof PoliciesApiListPolicyVersions
|
|
1806
1806
|
*/
|
|
1807
|
-
readonly order?:
|
|
1807
|
+
readonly order?: any
|
|
1808
1808
|
|
|
1809
1809
|
/**
|
|
1810
|
-
*
|
|
1811
|
-
* @type {
|
|
1810
|
+
* 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.
|
|
1811
|
+
* @type {any}
|
|
1812
1812
|
* @memberof PoliciesApiListPolicyVersions
|
|
1813
1813
|
*/
|
|
1814
|
-
readonly expand?:
|
|
1814
|
+
readonly expand?: any
|
|
1815
1815
|
|
|
1816
1816
|
/**
|
|
1817
|
-
*
|
|
1818
|
-
* @type {
|
|
1817
|
+
* 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.
|
|
1818
|
+
* @type {any}
|
|
1819
1819
|
* @memberof PoliciesApiListPolicyVersions
|
|
1820
1820
|
*/
|
|
1821
|
-
readonly filters?:
|
|
1821
|
+
readonly filters?: any
|
|
1822
1822
|
}
|
|
1823
1823
|
|
|
1824
1824
|
/**
|