@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.
Files changed (56) hide show
  1. package/.openapi-generator/FILES +10 -0
  2. package/README.md +2 -2
  3. package/api/booking-funnel-versions-api.ts +375 -0
  4. package/api/booking-funnels-api.ts +4 -4
  5. package/api/lead-versions-api.ts +4 -4
  6. package/api/leads-api.ts +4 -4
  7. package/api/policies-api.ts +123 -123
  8. package/api/policy-partner-roles-api.ts +683 -0
  9. package/api/status-transition-rules-api.ts +4 -4
  10. package/api.ts +4 -0
  11. package/dist/api/booking-funnel-versions-api.d.ts +222 -0
  12. package/dist/api/booking-funnel-versions-api.js +367 -0
  13. package/dist/api/booking-funnels-api.d.ts +4 -4
  14. package/dist/api/booking-funnels-api.js +3 -3
  15. package/dist/api/lead-versions-api.d.ts +4 -4
  16. package/dist/api/lead-versions-api.js +3 -3
  17. package/dist/api/leads-api.d.ts +4 -4
  18. package/dist/api/leads-api.js +3 -3
  19. package/dist/api/policies-api.d.ts +123 -123
  20. package/dist/api/policies-api.js +60 -60
  21. package/dist/api/policy-partner-roles-api.d.ts +385 -0
  22. package/dist/api/policy-partner-roles-api.js +640 -0
  23. package/dist/api/status-transition-rules-api.d.ts +4 -4
  24. package/dist/api/status-transition-rules-api.js +3 -3
  25. package/dist/api.d.ts +2 -0
  26. package/dist/api.js +2 -0
  27. package/dist/models/booking-funnel-class.d.ts +6 -0
  28. package/dist/models/create-policy-partner-role-request-dto.d.ts +30 -0
  29. package/dist/models/create-policy-partner-role-request-dto.js +15 -0
  30. package/dist/models/create-policy-partner-role-response-class.d.ts +25 -0
  31. package/dist/models/create-policy-partner-role-response-class.js +15 -0
  32. package/dist/models/get-booking-funnel-version-request-dto.d.ts +30 -0
  33. package/dist/models/get-booking-funnel-version-request-dto.js +15 -0
  34. package/dist/models/get-policy-partner-role-response-class.d.ts +25 -0
  35. package/dist/models/get-policy-partner-role-response-class.js +15 -0
  36. package/dist/models/index.d.ts +8 -0
  37. package/dist/models/index.js +8 -0
  38. package/dist/models/list-policy-partner-roles-response-class.d.ts +31 -0
  39. package/dist/models/list-policy-partner-roles-response-class.js +15 -0
  40. package/dist/models/policy-partner-role-class.d.ts +54 -0
  41. package/dist/models/policy-partner-role-class.js +15 -0
  42. package/dist/models/update-policy-partner-role-request-dto.d.ts +30 -0
  43. package/dist/models/update-policy-partner-role-request-dto.js +15 -0
  44. package/dist/models/update-policy-partner-role-response-class.d.ts +25 -0
  45. package/dist/models/update-policy-partner-role-response-class.js +15 -0
  46. package/models/booking-funnel-class.ts +6 -0
  47. package/models/create-policy-partner-role-request-dto.ts +36 -0
  48. package/models/create-policy-partner-role-response-class.ts +31 -0
  49. package/models/get-booking-funnel-version-request-dto.ts +36 -0
  50. package/models/get-policy-partner-role-response-class.ts +31 -0
  51. package/models/index.ts +8 -0
  52. package/models/list-policy-partner-roles-response-class.ts +37 -0
  53. package/models/policy-partner-role-class.ts +60 -0
  54. package/models/update-policy-partner-role-request-dto.ts +36 -0
  55. package/models/update-policy-partner-role-response-class.ts +31 -0
  56. package/package.json +1 -1
@@ -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 {number} [pageSize] Page size.
436
- * @param {string} [pageToken] Page token.
437
- * @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, productSlug, productVersionId, productId, accountCode, productName, status, statuses, createdAt, policyData</i>
438
- * @param {string} [search] Search query.
439
- * @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>
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 {string} [filters]
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?: number, pageToken?: string, filter?: string, search?: string, order?: string, expand?: 'versions' | 'product' | 'timelines' | 'premiums' | 'premiumItems' | 'premiumFormulas' | 'currentVersion' | 'currentTimelines' | 'currentPremiums' | 'currentPremiumItems' | 'currentPremiumFormulas', filters?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
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 {string} filter Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: id, code, insuredObjectId, policyCode, date&lt;/i&gt; &lt;br/&gt; &lt;i&gt;policyCode&lt;/i&gt; is required, other filters are optional.
510
+ * @param {any} filter Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: id, code, insuredObjectId, insuredObjectName, policyCode, date&lt;/i&gt; &lt;br/&gt; &lt;i&gt;policyCode&lt;/i&gt; is required, other filters are optional.
511
511
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
512
- * @param {number} [pageSize] Page size.
513
- * @param {string} [pageToken] Page token.
514
- * @param {string} [search] Search query.
515
- * @param {string} [order] Order allowing you to specify the desired order of entities retrieved from the server.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: id, code, timesliceId, insuredObjectId, createdAt, updatedAt&lt;/i&gt;
516
- * @param {string} [expand] No expanding supported
517
- * @param {string} [filters]
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&#x3D;1, your subsequent call can include pageToken&#x3D;2 in order to fetch the next page of the list.
514
+ * @param {any} [search] To search the list by any field, pass search&#x3D;xxx to fetch the result.
515
+ * @param {any} [order] Order allowing you to specify the desired order of entities retrieved from the server.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: id, code, timesliceId, insuredObjectId, createdAt, updatedAt&lt;/i&gt;
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: string, authorization?: string, pageSize?: number, pageToken?: string, search?: string, order?: string, expand?: string, filters?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
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 {number} [pageSize] Page size.
591
- * @param {string} [pageToken] Page token.
592
- * @param {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: id, policyId&lt;/i&gt;
593
- * @param {string} [search] Search query.
594
- * @param {string} [order] Order allowing you to specify the desired order of entities retrieved from the server.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: id, policyId, createdAt, updatedAt&lt;/i&gt;
595
- * @param {string} [expand] Extra fields to fetch.
596
- * @param {string} [filters]
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&#x3D;1, your subsequent call can include pageToken&#x3D;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.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: id, policyId&lt;/i&gt;
593
+ * @param {any} [search] To search the list by any field, pass search&#x3D;xxx to fetch the result.
594
+ * @param {any} [order] Order allowing you to specify the desired order of entities retrieved from the server.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: id, policyId, createdAt, updatedAt&lt;/i&gt;
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?: number, pageToken?: string, filter?: string, search?: string, order?: string, expand?: string, filters?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
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 {number} [pageSize] Page size.
1081
- * @param {string} [pageToken] Page token.
1082
- * @param {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: id, code, leadCode, policyNumber, holder, policyStartDate, productSlug, productVersionId, productId, accountCode, productName, status, statuses, createdAt, policyData&lt;/i&gt;
1083
- * @param {string} [search] Search query.
1084
- * @param {string} [order] Order allowing you to specify the desired order of entities retrieved from the server.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: id, policyNumber, createdAt, updatedAt, policyStartDate, productVersionId, productId&lt;/i&gt;
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&#x3D;1, your subsequent call can include pageToken&#x3D;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.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: id, code, leadCode, policyNumber, holder, policyStartDate, productSlug, productVersionId, productId, accountCode, productName, status, statuses, createdAt, policyData&lt;/i&gt;
1083
+ * @param {any} [search] To search the list by any field, pass search&#x3D;xxx to fetch the result.
1084
+ * @param {any} [order] Order allowing you to specify the desired order of entities retrieved from the server.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: id, policyNumber, createdAt, updatedAt, policyStartDate, productVersionId, productId&lt;/i&gt;
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 {string} [filters]
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?: number, pageToken?: string, filter?: string, search?: string, order?: string, expand?: 'versions' | 'product' | 'timelines' | 'premiums' | 'premiumItems' | 'premiumFormulas' | 'currentVersion' | 'currentTimelines' | 'currentPremiums' | 'currentPremiumItems' | 'currentPremiumFormulas', filters?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ListPoliciesResponseClass>> {
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 {string} filter Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: id, code, insuredObjectId, policyCode, date&lt;/i&gt; &lt;br/&gt; &lt;i&gt;policyCode&lt;/i&gt; is required, other filters are optional.
1097
+ * @param {any} filter Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: id, code, insuredObjectId, insuredObjectName, policyCode, date&lt;/i&gt; &lt;br/&gt; &lt;i&gt;policyCode&lt;/i&gt; is required, other filters are optional.
1098
1098
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
1099
- * @param {number} [pageSize] Page size.
1100
- * @param {string} [pageToken] Page token.
1101
- * @param {string} [search] Search query.
1102
- * @param {string} [order] Order allowing you to specify the desired order of entities retrieved from the server.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: id, code, timesliceId, insuredObjectId, createdAt, updatedAt&lt;/i&gt;
1103
- * @param {string} [expand] No expanding supported
1104
- * @param {string} [filters]
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&#x3D;1, your subsequent call can include pageToken&#x3D;2 in order to fetch the next page of the list.
1101
+ * @param {any} [search] To search the list by any field, pass search&#x3D;xxx to fetch the result.
1102
+ * @param {any} [order] Order allowing you to specify the desired order of entities retrieved from the server.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: id, code, timesliceId, insuredObjectId, createdAt, updatedAt&lt;/i&gt;
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: string, authorization?: string, pageSize?: number, pageToken?: string, search?: string, order?: string, expand?: string, filters?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ListPolicyObjectsResponseClass>> {
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 {number} [pageSize] Page size.
1118
- * @param {string} [pageToken] Page token.
1119
- * @param {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: id, policyId&lt;/i&gt;
1120
- * @param {string} [search] Search query.
1121
- * @param {string} [order] Order allowing you to specify the desired order of entities retrieved from the server.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: id, policyId, createdAt, updatedAt&lt;/i&gt;
1122
- * @param {string} [expand] Extra fields to fetch.
1123
- * @param {string} [filters]
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&#x3D;1, your subsequent call can include pageToken&#x3D;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.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: id, policyId&lt;/i&gt;
1120
+ * @param {any} [search] To search the list by any field, pass search&#x3D;xxx to fetch the result.
1121
+ * @param {any} [order] Order allowing you to specify the desired order of entities retrieved from the server.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: id, policyId, createdAt, updatedAt&lt;/i&gt;
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?: number, pageToken?: string, filter?: string, search?: string, order?: string, expand?: string, filters?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ListPolicyVersionResponseClass>> {
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 {number} [pageSize] Page size.
1309
- * @param {string} [pageToken] Page token.
1310
- * @param {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: id, code, leadCode, policyNumber, holder, policyStartDate, productSlug, productVersionId, productId, accountCode, productName, status, statuses, createdAt, policyData&lt;/i&gt;
1311
- * @param {string} [search] Search query.
1312
- * @param {string} [order] Order allowing you to specify the desired order of entities retrieved from the server.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: id, policyNumber, createdAt, updatedAt, policyStartDate, productVersionId, productId&lt;/i&gt;
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&#x3D;1, your subsequent call can include pageToken&#x3D;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.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: id, code, leadCode, policyNumber, holder, policyStartDate, productSlug, productVersionId, productId, accountCode, productName, status, statuses, createdAt, policyData&lt;/i&gt;
1311
+ * @param {any} [search] To search the list by any field, pass search&#x3D;xxx to fetch the result.
1312
+ * @param {any} [order] Order allowing you to specify the desired order of entities retrieved from the server.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: id, policyNumber, createdAt, updatedAt, policyStartDate, productVersionId, productId&lt;/i&gt;
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 {string} [filters]
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?: number, pageToken?: string, filter?: string, search?: string, order?: string, expand?: 'versions' | 'product' | 'timelines' | 'premiums' | 'premiumItems' | 'premiumFormulas' | 'currentVersion' | 'currentTimelines' | 'currentPremiums' | 'currentPremiumItems' | 'currentPremiumFormulas', filters?: string, options?: any): AxiosPromise<ListPoliciesResponseClass> {
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 {string} filter Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: id, code, insuredObjectId, policyCode, date&lt;/i&gt; &lt;br/&gt; &lt;i&gt;policyCode&lt;/i&gt; is required, other filters are optional.
1324
+ * @param {any} filter Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: id, code, insuredObjectId, insuredObjectName, policyCode, date&lt;/i&gt; &lt;br/&gt; &lt;i&gt;policyCode&lt;/i&gt; is required, other filters are optional.
1325
1325
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
1326
- * @param {number} [pageSize] Page size.
1327
- * @param {string} [pageToken] Page token.
1328
- * @param {string} [search] Search query.
1329
- * @param {string} [order] Order allowing you to specify the desired order of entities retrieved from the server.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: id, code, timesliceId, insuredObjectId, createdAt, updatedAt&lt;/i&gt;
1330
- * @param {string} [expand] No expanding supported
1331
- * @param {string} [filters]
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&#x3D;1, your subsequent call can include pageToken&#x3D;2 in order to fetch the next page of the list.
1328
+ * @param {any} [search] To search the list by any field, pass search&#x3D;xxx to fetch the result.
1329
+ * @param {any} [order] Order allowing you to specify the desired order of entities retrieved from the server.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: id, code, timesliceId, insuredObjectId, createdAt, updatedAt&lt;/i&gt;
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: string, authorization?: string, pageSize?: number, pageToken?: string, search?: string, order?: string, expand?: string, filters?: string, options?: any): AxiosPromise<ListPolicyObjectsResponseClass> {
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 {number} [pageSize] Page size.
1344
- * @param {string} [pageToken] Page token.
1345
- * @param {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: id, policyId&lt;/i&gt;
1346
- * @param {string} [search] Search query.
1347
- * @param {string} [order] Order allowing you to specify the desired order of entities retrieved from the server.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: id, policyId, createdAt, updatedAt&lt;/i&gt;
1348
- * @param {string} [expand] Extra fields to fetch.
1349
- * @param {string} [filters]
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&#x3D;1, your subsequent call can include pageToken&#x3D;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.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: id, policyId&lt;/i&gt;
1346
+ * @param {any} [search] To search the list by any field, pass search&#x3D;xxx to fetch the result.
1347
+ * @param {any} [order] Order allowing you to specify the desired order of entities retrieved from the server.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: id, policyId, createdAt, updatedAt&lt;/i&gt;
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?: number, pageToken?: string, filter?: string, search?: string, order?: string, expand?: string, filters?: string, options?: any): AxiosPromise<ListPolicyVersionResponseClass> {
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
- * Page size.
1643
- * @type {number}
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?: number
1646
+ readonly pageSize?: any
1647
1647
 
1648
1648
  /**
1649
- * Page token.
1650
- * @type {string}
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&#x3D;1, your subsequent call can include pageToken&#x3D;2 in order to fetch the next page of the list.
1650
+ * @type {any}
1651
1651
  * @memberof PoliciesApiListPolicies
1652
1652
  */
1653
- readonly pageToken?: string
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.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: id, code, leadCode, policyNumber, holder, policyStartDate, productSlug, productVersionId, productId, accountCode, productName, status, statuses, createdAt, policyData&lt;/i&gt;
1657
- * @type {string}
1657
+ * @type {any}
1658
1658
  * @memberof PoliciesApiListPolicies
1659
1659
  */
1660
- readonly filter?: string
1660
+ readonly filter?: any
1661
1661
 
1662
1662
  /**
1663
- * Search query.
1664
- * @type {string}
1663
+ * To search the list by any field, pass search&#x3D;xxx to fetch the result.
1664
+ * @type {any}
1665
1665
  * @memberof PoliciesApiListPolicies
1666
1666
  */
1667
- readonly search?: string
1667
+ readonly search?: any
1668
1668
 
1669
1669
  /**
1670
1670
  * Order allowing you to specify the desired order of entities retrieved from the server.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: id, policyNumber, createdAt, updatedAt, policyStartDate, productVersionId, productId&lt;/i&gt;
1671
- * @type {string}
1671
+ * @type {any}
1672
1672
  * @memberof PoliciesApiListPolicies
1673
1673
  */
1674
- readonly order?: string
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 {string}
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?: string
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.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: id, code, insuredObjectId, policyCode, date&lt;/i&gt; &lt;br/&gt; &lt;i&gt;policyCode&lt;/i&gt; is required, other filters are optional.
1699
- * @type {string}
1698
+ * Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: id, code, insuredObjectId, insuredObjectName, policyCode, date&lt;/i&gt; &lt;br/&gt; &lt;i&gt;policyCode&lt;/i&gt; is required, other filters are optional.
1699
+ * @type {any}
1700
1700
  * @memberof PoliciesApiListPolicyObjects
1701
1701
  */
1702
- readonly filter: string
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
- * Page size.
1713
- * @type {number}
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?: number
1716
+ readonly pageSize?: any
1717
1717
 
1718
1718
  /**
1719
- * Page token.
1720
- * @type {string}
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&#x3D;1, your subsequent call can include pageToken&#x3D;2 in order to fetch the next page of the list.
1720
+ * @type {any}
1721
1721
  * @memberof PoliciesApiListPolicyObjects
1722
1722
  */
1723
- readonly pageToken?: string
1723
+ readonly pageToken?: any
1724
1724
 
1725
1725
  /**
1726
- * Search query.
1727
- * @type {string}
1726
+ * To search the list by any field, pass search&#x3D;xxx to fetch the result.
1727
+ * @type {any}
1728
1728
  * @memberof PoliciesApiListPolicyObjects
1729
1729
  */
1730
- readonly search?: string
1730
+ readonly search?: any
1731
1731
 
1732
1732
  /**
1733
1733
  * Order allowing you to specify the desired order of entities retrieved from the server.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: id, code, timesliceId, insuredObjectId, createdAt, updatedAt&lt;/i&gt;
1734
- * @type {string}
1734
+ * @type {any}
1735
1735
  * @memberof PoliciesApiListPolicyObjects
1736
1736
  */
1737
- readonly order?: string
1737
+ readonly order?: any
1738
1738
 
1739
1739
  /**
1740
1740
  * No expanding supported
1741
- * @type {string}
1741
+ * @type {any}
1742
1742
  * @memberof PoliciesApiListPolicyObjects
1743
1743
  */
1744
- readonly expand?: string
1744
+ readonly expand?: any
1745
1745
 
1746
1746
  /**
1747
- *
1748
- * @type {string}
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?: string
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
- * Page size.
1776
- * @type {number}
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?: number
1779
+ readonly pageSize?: any
1780
1780
 
1781
1781
  /**
1782
- * Page token.
1783
- * @type {string}
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&#x3D;1, your subsequent call can include pageToken&#x3D;2 in order to fetch the next page of the list.
1783
+ * @type {any}
1784
1784
  * @memberof PoliciesApiListPolicyVersions
1785
1785
  */
1786
- readonly pageToken?: string
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.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: id, policyId&lt;/i&gt;
1790
- * @type {string}
1790
+ * @type {any}
1791
1791
  * @memberof PoliciesApiListPolicyVersions
1792
1792
  */
1793
- readonly filter?: string
1793
+ readonly filter?: any
1794
1794
 
1795
1795
  /**
1796
- * Search query.
1797
- * @type {string}
1796
+ * To search the list by any field, pass search&#x3D;xxx to fetch the result.
1797
+ * @type {any}
1798
1798
  * @memberof PoliciesApiListPolicyVersions
1799
1799
  */
1800
- readonly search?: string
1800
+ readonly search?: any
1801
1801
 
1802
1802
  /**
1803
1803
  * Order allowing you to specify the desired order of entities retrieved from the server.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: id, policyId, createdAt, updatedAt&lt;/i&gt;
1804
- * @type {string}
1804
+ * @type {any}
1805
1805
  * @memberof PoliciesApiListPolicyVersions
1806
1806
  */
1807
- readonly order?: string
1807
+ readonly order?: any
1808
1808
 
1809
1809
  /**
1810
- * Extra fields to fetch.
1811
- * @type {string}
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?: string
1814
+ readonly expand?: any
1815
1815
 
1816
1816
  /**
1817
- *
1818
- * @type {string}
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?: string
1821
+ readonly filters?: any
1822
1822
  }
1823
1823
 
1824
1824
  /**