@emilgroup/insurance-sdk-node 1.49.0 → 1.49.2-beta.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 (182) hide show
  1. package/.openapi-generator/FILES +30 -8
  2. package/README.md +2 -2
  3. package/api/booking-funnel-versions-api.ts +8 -8
  4. package/api/booking-funnels-api.ts +12 -12
  5. package/api/emil-functions-api.ts +1314 -0
  6. package/api/insured-object-types-api.ts +4 -4
  7. package/api/insured-objects-api.ts +8 -8
  8. package/api/lead-statuses-api.ts +104 -20
  9. package/api/lead-versions-api.ts +8 -8
  10. package/api/leads-api.ts +8 -8
  11. package/api/named-ranges-api.ts +8 -8
  12. package/api/partner-links-api.ts +800 -0
  13. package/api/{policy-partner-roles-api.ts → partner-roles-api.ts} +180 -180
  14. package/api/policies-api.ts +116 -118
  15. package/api/premium-formulas-api.ts +8 -8
  16. package/api/product-factors-api.ts +8 -8
  17. package/api/product-fields-api.ts +119 -12
  18. package/api/product-versions-api.ts +4 -4
  19. package/api/products-api.ts +20 -20
  20. package/api/status-transition-rules-api.ts +8 -8
  21. package/api.ts +6 -2
  22. package/dist/api/booking-funnel-versions-api.d.ts +8 -8
  23. package/dist/api/booking-funnel-versions-api.js +8 -8
  24. package/dist/api/booking-funnels-api.d.ts +12 -12
  25. package/dist/api/booking-funnels-api.js +12 -12
  26. package/dist/api/emil-functions-api.d.ts +727 -0
  27. package/dist/api/emil-functions-api.js +1202 -0
  28. package/dist/api/insured-object-types-api.d.ts +4 -4
  29. package/dist/api/insured-object-types-api.js +4 -4
  30. package/dist/api/insured-objects-api.d.ts +8 -8
  31. package/dist/api/insured-objects-api.js +8 -8
  32. package/dist/api/lead-statuses-api.d.ts +71 -17
  33. package/dist/api/lead-statuses-api.js +53 -17
  34. package/dist/api/lead-versions-api.d.ts +8 -8
  35. package/dist/api/lead-versions-api.js +8 -8
  36. package/dist/api/leads-api.d.ts +8 -8
  37. package/dist/api/leads-api.js +8 -8
  38. package/dist/api/named-ranges-api.d.ts +8 -8
  39. package/dist/api/named-ranges-api.js +8 -8
  40. package/dist/api/partner-links-api.d.ts +450 -0
  41. package/dist/api/partner-links-api.js +738 -0
  42. package/dist/api/partner-roles-api.d.ts +385 -0
  43. package/dist/api/{policy-partner-roles-api.js → partner-roles-api.js} +136 -136
  44. package/dist/api/policies-api.d.ts +112 -112
  45. package/dist/api/policies-api.js +66 -67
  46. package/dist/api/premium-formulas-api.d.ts +8 -8
  47. package/dist/api/premium-formulas-api.js +8 -8
  48. package/dist/api/product-factors-api.d.ts +8 -8
  49. package/dist/api/product-factors-api.js +8 -8
  50. package/dist/api/product-fields-api.d.ts +69 -12
  51. package/dist/api/product-fields-api.js +105 -12
  52. package/dist/api/product-versions-api.d.ts +4 -4
  53. package/dist/api/product-versions-api.js +4 -4
  54. package/dist/api/products-api.d.ts +20 -20
  55. package/dist/api/products-api.js +18 -18
  56. package/dist/api/status-transition-rules-api.d.ts +8 -8
  57. package/dist/api/status-transition-rules-api.js +8 -8
  58. package/dist/api.d.ts +3 -1
  59. package/dist/api.js +3 -1
  60. package/dist/models/booking-funnel-class.d.ts +1 -1
  61. package/dist/models/create-account-request-dto.d.ts +1 -1
  62. package/dist/models/create-account-request-dto.js +1 -1
  63. package/dist/models/create-booking-funnel-request-dto.d.ts +1 -1
  64. package/dist/models/create-emil-function-request-dto.d.ts +42 -0
  65. package/dist/models/create-emil-function-secret-request-dto.d.ts +36 -0
  66. package/dist/models/create-lead-request-dto.d.ts +12 -0
  67. package/dist/models/{update-policy-partner-role-request-dto.d.ts → create-partner-role-request-dto.d.ts} +6 -6
  68. package/dist/models/{get-policy-partner-role-response-class.d.ts → create-partner-role-response-class.d.ts} +7 -7
  69. package/dist/models/create-product-field-request-dto.d.ts +7 -1
  70. package/dist/models/create-product-request-dto.d.ts +1 -1
  71. package/dist/models/emil-function-class.d.ts +60 -0
  72. package/dist/models/{create-policy-partner-role-response-class.d.ts → emil-function-secret-class.d.ts} +12 -7
  73. package/dist/models/execute-emil-function-request-dto.d.ts +24 -0
  74. package/dist/models/get-emil-function-secret-response-class.d.ts +24 -0
  75. package/dist/models/get-emil-function-secret-response-class.js +15 -0
  76. package/dist/models/{update-policy-partner-role-response-class.d.ts → get-partner-link-response-class.d.ts} +7 -7
  77. package/dist/models/get-partner-link-response-class.js +15 -0
  78. package/dist/models/get-partner-role-response-class.d.ts +25 -0
  79. package/dist/models/get-partner-role-response-class.js +15 -0
  80. package/dist/models/get-product-request-dto.d.ts +1 -1
  81. package/dist/models/index.d.ts +27 -7
  82. package/dist/models/index.js +27 -7
  83. package/dist/models/insured-object-type-class.d.ts +1 -1
  84. package/dist/models/lead-class.d.ts +8 -1
  85. package/dist/models/lead-status-class.d.ts +1 -1
  86. package/dist/models/link-partner-request-dto.d.ts +54 -0
  87. package/dist/models/link-partner-request-dto.js +15 -0
  88. package/dist/models/link-partner-response-class.d.ts +25 -0
  89. package/dist/models/link-partner-response-class.js +15 -0
  90. package/dist/models/list-emil-function-secrets-response-class.d.ts +25 -0
  91. package/dist/models/list-emil-function-secrets-response-class.js +15 -0
  92. package/dist/models/{list-policy-partner-roles-response-class.d.ts → list-emil-functions-response-class.d.ts} +8 -8
  93. package/dist/models/list-emil-functions-response-class.js +15 -0
  94. package/dist/models/list-partner-links-response-class.d.ts +31 -0
  95. package/dist/models/list-partner-links-response-class.js +15 -0
  96. package/dist/models/list-partner-roles-response-class.d.ts +31 -0
  97. package/dist/models/list-partner-roles-response-class.js +15 -0
  98. package/dist/models/partner-class.d.ts +60 -0
  99. package/dist/models/partner-class.js +15 -0
  100. package/dist/models/partner-link-class.d.ts +86 -0
  101. package/dist/models/partner-link-class.js +15 -0
  102. package/dist/models/{policy-partner-role-class.d.ts → partner-role-class.d.ts} +10 -10
  103. package/dist/models/partner-role-class.js +15 -0
  104. package/dist/models/patch-draft-policy-request-dto.d.ts +1 -1
  105. package/dist/models/policy-class.d.ts +7 -0
  106. package/dist/models/product-class.d.ts +1 -1
  107. package/dist/models/product-field-class.d.ts +6 -0
  108. package/dist/models/shared-product-field-class.d.ts +6 -0
  109. package/dist/models/status-transition-rule-class.d.ts +1 -1
  110. package/dist/models/swap-product-fields-order-request-dto.d.ts +30 -0
  111. package/dist/models/swap-product-fields-order-request-dto.js +15 -0
  112. package/dist/models/unlink-partner-response-class.d.ts +25 -0
  113. package/dist/models/unlink-partner-response-class.js +15 -0
  114. package/dist/models/update-emil-function-request-dto.d.ts +42 -0
  115. package/dist/models/update-emil-function-request-dto.js +15 -0
  116. package/dist/models/update-emil-function-secret-request-dto.d.ts +30 -0
  117. package/dist/models/update-emil-function-secret-request-dto.js +15 -0
  118. package/dist/models/update-partner-link-request-dto.d.ts +30 -0
  119. package/dist/models/update-partner-link-request-dto.js +15 -0
  120. package/dist/models/update-partner-link-response-class.d.ts +25 -0
  121. package/dist/models/update-partner-link-response-class.js +15 -0
  122. package/dist/models/{create-policy-partner-role-request-dto.d.ts → update-partner-role-request-dto.d.ts} +6 -6
  123. package/dist/models/update-partner-role-request-dto.js +15 -0
  124. package/dist/models/update-partner-role-response-class.d.ts +25 -0
  125. package/dist/models/update-partner-role-response-class.js +15 -0
  126. package/dist/models/update-product-field-request-dto.d.ts +7 -1
  127. package/dist/models/update-product-request-dto.d.ts +1 -1
  128. package/models/booking-funnel-class.ts +1 -1
  129. package/models/create-account-request-dto.ts +1 -1
  130. package/models/create-booking-funnel-request-dto.ts +1 -1
  131. package/models/create-emil-function-request-dto.ts +48 -0
  132. package/models/create-emil-function-secret-request-dto.ts +42 -0
  133. package/models/create-lead-request-dto.ts +12 -0
  134. package/models/{update-policy-partner-role-request-dto.ts → create-partner-role-request-dto.ts} +6 -6
  135. package/models/{get-policy-partner-role-response-class.ts → create-partner-role-response-class.ts} +7 -7
  136. package/models/create-product-field-request-dto.ts +7 -1
  137. package/models/create-product-request-dto.ts +1 -1
  138. package/models/emil-function-class.ts +66 -0
  139. package/models/{update-policy-partner-role-response-class.ts → emil-function-secret-class.ts} +12 -7
  140. package/models/execute-emil-function-request-dto.ts +30 -0
  141. package/models/get-emil-function-secret-response-class.ts +30 -0
  142. package/models/{create-policy-partner-role-response-class.ts → get-partner-link-response-class.ts} +7 -7
  143. package/models/get-partner-role-response-class.ts +31 -0
  144. package/models/get-product-request-dto.ts +1 -1
  145. package/models/index.ts +27 -7
  146. package/models/insured-object-type-class.ts +1 -1
  147. package/models/lead-class.ts +8 -1
  148. package/models/lead-status-class.ts +1 -1
  149. package/models/link-partner-request-dto.ts +60 -0
  150. package/models/link-partner-response-class.ts +31 -0
  151. package/models/list-emil-function-secrets-response-class.ts +31 -0
  152. package/models/{list-policy-partner-roles-response-class.ts → list-emil-functions-response-class.ts} +8 -8
  153. package/models/list-partner-links-response-class.ts +37 -0
  154. package/models/list-partner-roles-response-class.ts +37 -0
  155. package/models/partner-class.ts +66 -0
  156. package/models/partner-link-class.ts +92 -0
  157. package/models/{policy-partner-role-class.ts → partner-role-class.ts} +10 -10
  158. package/models/patch-draft-policy-request-dto.ts +1 -1
  159. package/models/policy-class.ts +7 -0
  160. package/models/product-class.ts +1 -1
  161. package/models/product-field-class.ts +6 -0
  162. package/models/shared-product-field-class.ts +6 -0
  163. package/models/status-transition-rule-class.ts +1 -1
  164. package/models/swap-product-fields-order-request-dto.ts +36 -0
  165. package/models/unlink-partner-response-class.ts +31 -0
  166. package/models/update-emil-function-request-dto.ts +48 -0
  167. package/models/update-emil-function-secret-request-dto.ts +36 -0
  168. package/models/update-partner-link-request-dto.ts +36 -0
  169. package/models/update-partner-link-response-class.ts +31 -0
  170. package/models/{create-policy-partner-role-request-dto.ts → update-partner-role-request-dto.ts} +6 -6
  171. package/models/update-partner-role-response-class.ts +31 -0
  172. package/models/update-product-field-request-dto.ts +7 -1
  173. package/models/update-product-request-dto.ts +1 -1
  174. package/package.json +1 -1
  175. package/dist/api/policy-partner-roles-api.d.ts +0 -385
  176. /package/dist/models/{create-policy-partner-role-request-dto.js → create-emil-function-request-dto.js} +0 -0
  177. /package/dist/models/{create-policy-partner-role-response-class.js → create-emil-function-secret-request-dto.js} +0 -0
  178. /package/dist/models/{get-policy-partner-role-response-class.js → create-partner-role-request-dto.js} +0 -0
  179. /package/dist/models/{list-policy-partner-roles-response-class.js → create-partner-role-response-class.js} +0 -0
  180. /package/dist/models/{policy-partner-role-class.js → emil-function-class.js} +0 -0
  181. /package/dist/models/{update-policy-partner-role-request-dto.js → emil-function-secret-class.js} +0 -0
  182. /package/dist/models/{update-policy-partner-role-response-class.js → execute-emil-function-request-dto.js} +0 -0
@@ -77,7 +77,7 @@ export declare const PoliciesApiAxiosParamCreator: (configuration?: Configuratio
77
77
  */
78
78
  deleteDraftPolicy: (policyCode: string, policyCode2: string, authorization?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
79
79
  /**
80
- * 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.
80
+ * 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.
81
81
  * @summary Retrieve the draft-policy
82
82
  * @param {string} policyCode
83
83
  * @param {string} policyCode2 Unique identifier of the Draft Policy that this object belongs to.
@@ -88,15 +88,15 @@ export declare const PoliciesApiAxiosParamCreator: (configuration?: Configuratio
88
88
  */
89
89
  getDraftPolicy: (policyCode: string, policyCode2: string, authorization?: string, expand?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
90
90
  /**
91
- * 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.
91
+ * 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.
92
92
  * @summary Retrieve the policy
93
93
  * @param {string} code Unique identifier for the object.
94
94
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
95
- * @param {'versions' | 'product' | 'timelines' | 'premiums' | 'premiumItems' | 'premiumFormulas' | 'currentVersion' | 'currentTimelines' | 'currentPremiums' | 'currentPremiumItems' | 'currentPremiumFormulas'} [expand] You can expand policy in this endpoint. By default, versions will be an empty array.
95
+ * @param {'versions' | 'product' | 'timelines' | 'premiums' | 'premiumItems' | 'premiumFormulas' | 'currentVersion' | 'currentTimelines' | 'currentPremiums' | 'currentPremiumItems' | 'currentPremiumFormulas' | 'partnerLinks'} [expand] You can expand policy in this endpoint. \&#39; + \&#39;By default, versions and partnerLinks will be an empty array. Allowed values: versions, product, timelines, premiums, premiumItems, premiumFormulas, currentVersion, currentTimelines, currentPremiums, currentPremiumItems, currentPremiumFormulas, partnerLinks.
96
96
  * @param {*} [options] Override http request option.
97
97
  * @throws {RequiredError}
98
98
  */
99
- getPolicy: (code: string, authorization?: string, expand?: 'versions' | 'product' | 'timelines' | 'premiums' | 'premiumItems' | 'premiumFormulas' | 'currentVersion' | 'currentTimelines' | 'currentPremiums' | 'currentPremiumItems' | 'currentPremiumFormulas', options?: AxiosRequestConfig) => Promise<RequestArgs>;
99
+ getPolicy: (code: string, authorization?: string, expand?: 'versions' | 'product' | 'timelines' | 'premiums' | 'premiumItems' | 'premiumFormulas' | 'currentVersion' | 'currentTimelines' | 'currentPremiums' | 'currentPremiumItems' | 'currentPremiumFormulas' | 'partnerLinks', options?: AxiosRequestConfig) => Promise<RequestArgs>;
100
100
  /**
101
101
  * This endpoint will return the current version of the policy. It is possible to filter the response by a specific date and the system will return the valid data that was (or will be) at the provided date.
102
102
  * @summary Retrieve current policy version
@@ -108,51 +108,51 @@ export declare const PoliciesApiAxiosParamCreator: (configuration?: Configuratio
108
108
  */
109
109
  getPolicyDataByDate: (code: string, authorization?: string, timesliceDate?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
110
110
  /**
111
- * 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.
111
+ * 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.
112
112
  * @summary List policies
113
113
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
114
114
  * @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
115
115
  * @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.
116
- * @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;
116
+ * @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;
117
117
  * @param {any} [search] To search the list by any field, pass search&#x3D;xxx to fetch the result.
118
- * @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;
119
- * @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.
120
- * @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.
118
+ * @param {string} [order] Order allows you to specify the desired order of entities retrieved from the server by ascending (ASC) or descending (DESC) order.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: id, policyNumber, createdAt, updatedAt, policyStartDate, productVersionId, productId&lt;/i&gt;
119
+ * @param {string} [expand] Expand to fetch additional information about the list items. Expanding resources can reduce the number of API calls required to accomplish a task. Use with discretion as some expanded fields can drastically increase payload size.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: versions, product, timelines, premiums, premiumItems, premiumFormulas, currentVersion, currentTimelines, currentPremiums, currentPremiumItems, currentPremiumFormulas, partnerLinks.&lt;i&gt;
120
+ * @param {string} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.&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;
121
121
  * @param {*} [options] Override http request option.
122
122
  * @throws {RequiredError}
123
123
  */
124
- 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<RequestArgs>;
124
+ listPolicies: (authorization?: string, pageSize?: any, pageToken?: any, filter?: string, search?: any, order?: string, expand?: string, filters?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
125
125
  /**
126
- * 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).
126
+ * Returns a list of policy objects you have previously created. The policy objects are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
127
127
  * @summary List policy objects
128
- * @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.
129
128
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
130
129
  * @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
131
130
  * @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.
131
+ * @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, insuredObjectName, policyCode, date&lt;/i&gt;
132
132
  * @param {any} [search] To search the list by any field, pass search&#x3D;xxx to fetch the result.
133
- * @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;
134
- * @param {any} [expand] No expanding supported
135
- * @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.
133
+ * @param {string} [order] Order allows you to specify the desired order of entities retrieved from the server by ascending (ASC) or descending (DESC) order.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: id, code, timesliceId, insuredObjectId, createdAt, updatedAt&lt;/i&gt;
134
+ * @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.
135
+ * @param {string} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: id, code, insuredObjectId, insuredObjectName, policyCode, date&lt;/i&gt;
136
136
  * @param {*} [options] Override http request option.
137
137
  * @throws {RequiredError}
138
138
  */
139
- listPolicyObjects: (filter: any, authorization?: string, pageSize?: any, pageToken?: any, search?: any, order?: any, expand?: any, filters?: any, options?: AxiosRequestConfig) => Promise<RequestArgs>;
139
+ listPolicyObjects: (authorization?: string, pageSize?: any, pageToken?: any, filter?: string, search?: any, order?: string, expand?: any, filters?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
140
140
  /**
141
- * Returns a list of policy versions you have previously created. The policy versions are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
141
+ * Returns a list of policy versions you have previously created. The policy versions are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
142
142
  * @summary List policy versions
143
143
  * @param {string} policyCode
144
144
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
145
145
  * @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
146
146
  * @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.
147
- * @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;
147
+ * @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;
148
148
  * @param {any} [search] To search the list by any field, pass search&#x3D;xxx to fetch the result.
149
- * @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;
150
- * @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.
151
- * @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.
149
+ * @param {string} [order] Order allows you to specify the desired order of entities retrieved from the server by ascending (ASC) or descending (DESC) order.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: id, policyId, createdAt, updatedAt&lt;/i&gt;
150
+ * @param {string} [expand] Expand to fetch additional information about the list items. Expanding resources can reduce the number of API calls required to accomplish a task. Use with discretion as some expanded fields can drastically increase payload size.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: timelines, premiums, premiumItems, premiumFormulas.&lt;i&gt;
151
+ * @param {string} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: id, policyId&lt;/i&gt;
152
152
  * @param {*} [options] Override http request option.
153
153
  * @throws {RequiredError}
154
154
  */
155
- listPolicyVersions: (policyCode: string, authorization?: string, pageSize?: any, pageToken?: any, filter?: any, search?: any, order?: any, expand?: any, filters?: any, options?: AxiosRequestConfig) => Promise<RequestArgs>;
155
+ listPolicyVersions: (policyCode: string, authorization?: string, pageSize?: any, pageToken?: any, filter?: string, search?: any, order?: string, expand?: string, filters?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
156
156
  /**
157
157
  * Updates the specified policy by setting the values of the parameters passed. Any parameters not provided will be left unchanged.
158
158
  * @summary Update the policy
@@ -260,7 +260,7 @@ export declare const PoliciesApiFp: (configuration?: Configuration) => {
260
260
  */
261
261
  deleteDraftPolicy(policyCode: string, policyCode2: string, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DeleteResponseClass>>;
262
262
  /**
263
- * 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.
263
+ * 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.
264
264
  * @summary Retrieve the draft-policy
265
265
  * @param {string} policyCode
266
266
  * @param {string} policyCode2 Unique identifier of the Draft Policy that this object belongs to.
@@ -271,15 +271,15 @@ export declare const PoliciesApiFp: (configuration?: Configuration) => {
271
271
  */
272
272
  getDraftPolicy(policyCode: string, policyCode2: string, authorization?: string, expand?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetPolicyResponseClass>>;
273
273
  /**
274
- * 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.
274
+ * 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.
275
275
  * @summary Retrieve the policy
276
276
  * @param {string} code Unique identifier for the object.
277
277
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
278
- * @param {'versions' | 'product' | 'timelines' | 'premiums' | 'premiumItems' | 'premiumFormulas' | 'currentVersion' | 'currentTimelines' | 'currentPremiums' | 'currentPremiumItems' | 'currentPremiumFormulas'} [expand] You can expand policy in this endpoint. By default, versions will be an empty array.
278
+ * @param {'versions' | 'product' | 'timelines' | 'premiums' | 'premiumItems' | 'premiumFormulas' | 'currentVersion' | 'currentTimelines' | 'currentPremiums' | 'currentPremiumItems' | 'currentPremiumFormulas' | 'partnerLinks'} [expand] You can expand policy in this endpoint. \&#39; + \&#39;By default, versions and partnerLinks will be an empty array. Allowed values: versions, product, timelines, premiums, premiumItems, premiumFormulas, currentVersion, currentTimelines, currentPremiums, currentPremiumItems, currentPremiumFormulas, partnerLinks.
279
279
  * @param {*} [options] Override http request option.
280
280
  * @throws {RequiredError}
281
281
  */
282
- getPolicy(code: string, authorization?: string, expand?: 'versions' | 'product' | 'timelines' | 'premiums' | 'premiumItems' | 'premiumFormulas' | 'currentVersion' | 'currentTimelines' | 'currentPremiums' | 'currentPremiumItems' | 'currentPremiumFormulas', options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetPolicyResponseClass>>;
282
+ getPolicy(code: string, authorization?: string, expand?: 'versions' | 'product' | 'timelines' | 'premiums' | 'premiumItems' | 'premiumFormulas' | 'currentVersion' | 'currentTimelines' | 'currentPremiums' | 'currentPremiumItems' | 'currentPremiumFormulas' | 'partnerLinks', options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetPolicyResponseClass>>;
283
283
  /**
284
284
  * This endpoint will return the current version of the policy. It is possible to filter the response by a specific date and the system will return the valid data that was (or will be) at the provided date.
285
285
  * @summary Retrieve current policy version
@@ -291,51 +291,51 @@ export declare const PoliciesApiFp: (configuration?: Configuration) => {
291
291
  */
292
292
  getPolicyDataByDate(code: string, authorization?: string, timesliceDate?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetPolicyResponseClass>>;
293
293
  /**
294
- * 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.
294
+ * 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.
295
295
  * @summary List policies
296
296
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
297
297
  * @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
298
298
  * @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.
299
- * @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;
299
+ * @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;
300
300
  * @param {any} [search] To search the list by any field, pass search&#x3D;xxx to fetch the result.
301
- * @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;
302
- * @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.
303
- * @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.
301
+ * @param {string} [order] Order allows you to specify the desired order of entities retrieved from the server by ascending (ASC) or descending (DESC) order.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: id, policyNumber, createdAt, updatedAt, policyStartDate, productVersionId, productId&lt;/i&gt;
302
+ * @param {string} [expand] Expand to fetch additional information about the list items. Expanding resources can reduce the number of API calls required to accomplish a task. Use with discretion as some expanded fields can drastically increase payload size.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: versions, product, timelines, premiums, premiumItems, premiumFormulas, currentVersion, currentTimelines, currentPremiums, currentPremiumItems, currentPremiumFormulas, partnerLinks.&lt;i&gt;
303
+ * @param {string} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.&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;
304
304
  * @param {*} [options] Override http request option.
305
305
  * @throws {RequiredError}
306
306
  */
307
- 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>>;
307
+ listPolicies(authorization?: string, pageSize?: any, pageToken?: any, filter?: string, search?: any, order?: string, expand?: string, filters?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ListPoliciesResponseClass>>;
308
308
  /**
309
- * 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).
309
+ * Returns a list of policy objects you have previously created. The policy objects are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
310
310
  * @summary List policy objects
311
- * @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.
312
311
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
313
312
  * @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
314
313
  * @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.
314
+ * @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, insuredObjectName, policyCode, date&lt;/i&gt;
315
315
  * @param {any} [search] To search the list by any field, pass search&#x3D;xxx to fetch the result.
316
- * @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;
317
- * @param {any} [expand] No expanding supported
318
- * @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.
316
+ * @param {string} [order] Order allows you to specify the desired order of entities retrieved from the server by ascending (ASC) or descending (DESC) order.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: id, code, timesliceId, insuredObjectId, createdAt, updatedAt&lt;/i&gt;
317
+ * @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.
318
+ * @param {string} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: id, code, insuredObjectId, insuredObjectName, policyCode, date&lt;/i&gt;
319
319
  * @param {*} [options] Override http request option.
320
320
  * @throws {RequiredError}
321
321
  */
322
- 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>>;
322
+ listPolicyObjects(authorization?: string, pageSize?: any, pageToken?: any, filter?: string, search?: any, order?: string, expand?: any, filters?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ListPolicyObjectsResponseClass>>;
323
323
  /**
324
- * Returns a list of policy versions you have previously created. The policy versions are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
324
+ * Returns a list of policy versions you have previously created. The policy versions are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
325
325
  * @summary List policy versions
326
326
  * @param {string} policyCode
327
327
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
328
328
  * @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
329
329
  * @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.
330
- * @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;
330
+ * @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;
331
331
  * @param {any} [search] To search the list by any field, pass search&#x3D;xxx to fetch the result.
332
- * @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;
333
- * @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.
334
- * @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.
332
+ * @param {string} [order] Order allows you to specify the desired order of entities retrieved from the server by ascending (ASC) or descending (DESC) order.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: id, policyId, createdAt, updatedAt&lt;/i&gt;
333
+ * @param {string} [expand] Expand to fetch additional information about the list items. Expanding resources can reduce the number of API calls required to accomplish a task. Use with discretion as some expanded fields can drastically increase payload size.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: timelines, premiums, premiumItems, premiumFormulas.&lt;i&gt;
334
+ * @param {string} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: id, policyId&lt;/i&gt;
335
335
  * @param {*} [options] Override http request option.
336
336
  * @throws {RequiredError}
337
337
  */
338
- 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>>;
338
+ listPolicyVersions(policyCode: string, authorization?: string, pageSize?: any, pageToken?: any, filter?: string, search?: any, order?: string, expand?: string, filters?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ListPolicyVersionResponseClass>>;
339
339
  /**
340
340
  * Updates the specified policy by setting the values of the parameters passed. Any parameters not provided will be left unchanged.
341
341
  * @summary Update the policy
@@ -443,7 +443,7 @@ export declare const PoliciesApiFactory: (configuration?: Configuration, basePat
443
443
  */
444
444
  deleteDraftPolicy(policyCode: string, policyCode2: string, authorization?: string, options?: any): AxiosPromise<DeleteResponseClass>;
445
445
  /**
446
- * 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.
446
+ * 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.
447
447
  * @summary Retrieve the draft-policy
448
448
  * @param {string} policyCode
449
449
  * @param {string} policyCode2 Unique identifier of the Draft Policy that this object belongs to.
@@ -454,15 +454,15 @@ export declare const PoliciesApiFactory: (configuration?: Configuration, basePat
454
454
  */
455
455
  getDraftPolicy(policyCode: string, policyCode2: string, authorization?: string, expand?: string, options?: any): AxiosPromise<GetPolicyResponseClass>;
456
456
  /**
457
- * 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.
457
+ * 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.
458
458
  * @summary Retrieve the policy
459
459
  * @param {string} code Unique identifier for the object.
460
460
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
461
- * @param {'versions' | 'product' | 'timelines' | 'premiums' | 'premiumItems' | 'premiumFormulas' | 'currentVersion' | 'currentTimelines' | 'currentPremiums' | 'currentPremiumItems' | 'currentPremiumFormulas'} [expand] You can expand policy in this endpoint. By default, versions will be an empty array.
461
+ * @param {'versions' | 'product' | 'timelines' | 'premiums' | 'premiumItems' | 'premiumFormulas' | 'currentVersion' | 'currentTimelines' | 'currentPremiums' | 'currentPremiumItems' | 'currentPremiumFormulas' | 'partnerLinks'} [expand] You can expand policy in this endpoint. \&#39; + \&#39;By default, versions and partnerLinks will be an empty array. Allowed values: versions, product, timelines, premiums, premiumItems, premiumFormulas, currentVersion, currentTimelines, currentPremiums, currentPremiumItems, currentPremiumFormulas, partnerLinks.
462
462
  * @param {*} [options] Override http request option.
463
463
  * @throws {RequiredError}
464
464
  */
465
- getPolicy(code: string, authorization?: string, expand?: 'versions' | 'product' | 'timelines' | 'premiums' | 'premiumItems' | 'premiumFormulas' | 'currentVersion' | 'currentTimelines' | 'currentPremiums' | 'currentPremiumItems' | 'currentPremiumFormulas', options?: any): AxiosPromise<GetPolicyResponseClass>;
465
+ getPolicy(code: string, authorization?: string, expand?: 'versions' | 'product' | 'timelines' | 'premiums' | 'premiumItems' | 'premiumFormulas' | 'currentVersion' | 'currentTimelines' | 'currentPremiums' | 'currentPremiumItems' | 'currentPremiumFormulas' | 'partnerLinks', options?: any): AxiosPromise<GetPolicyResponseClass>;
466
466
  /**
467
467
  * This endpoint will return the current version of the policy. It is possible to filter the response by a specific date and the system will return the valid data that was (or will be) at the provided date.
468
468
  * @summary Retrieve current policy version
@@ -474,51 +474,51 @@ export declare const PoliciesApiFactory: (configuration?: Configuration, basePat
474
474
  */
475
475
  getPolicyDataByDate(code: string, authorization?: string, timesliceDate?: string, options?: any): AxiosPromise<GetPolicyResponseClass>;
476
476
  /**
477
- * 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.
477
+ * 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.
478
478
  * @summary List policies
479
479
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
480
480
  * @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
481
481
  * @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.
482
- * @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;
482
+ * @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;
483
483
  * @param {any} [search] To search the list by any field, pass search&#x3D;xxx to fetch the result.
484
- * @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;
485
- * @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.
486
- * @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.
484
+ * @param {string} [order] Order allows you to specify the desired order of entities retrieved from the server by ascending (ASC) or descending (DESC) order.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: id, policyNumber, createdAt, updatedAt, policyStartDate, productVersionId, productId&lt;/i&gt;
485
+ * @param {string} [expand] Expand to fetch additional information about the list items. Expanding resources can reduce the number of API calls required to accomplish a task. Use with discretion as some expanded fields can drastically increase payload size.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: versions, product, timelines, premiums, premiumItems, premiumFormulas, currentVersion, currentTimelines, currentPremiums, currentPremiumItems, currentPremiumFormulas, partnerLinks.&lt;i&gt;
486
+ * @param {string} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.&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;
487
487
  * @param {*} [options] Override http request option.
488
488
  * @throws {RequiredError}
489
489
  */
490
- 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>;
490
+ listPolicies(authorization?: string, pageSize?: any, pageToken?: any, filter?: string, search?: any, order?: string, expand?: string, filters?: string, options?: any): AxiosPromise<ListPoliciesResponseClass>;
491
491
  /**
492
- * 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).
492
+ * Returns a list of policy objects you have previously created. The policy objects are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
493
493
  * @summary List policy objects
494
- * @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.
495
494
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
496
495
  * @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
497
496
  * @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.
497
+ * @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, insuredObjectName, policyCode, date&lt;/i&gt;
498
498
  * @param {any} [search] To search the list by any field, pass search&#x3D;xxx to fetch the result.
499
- * @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;
500
- * @param {any} [expand] No expanding supported
501
- * @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.
499
+ * @param {string} [order] Order allows you to specify the desired order of entities retrieved from the server by ascending (ASC) or descending (DESC) order.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: id, code, timesliceId, insuredObjectId, createdAt, updatedAt&lt;/i&gt;
500
+ * @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.
501
+ * @param {string} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: id, code, insuredObjectId, insuredObjectName, policyCode, date&lt;/i&gt;
502
502
  * @param {*} [options] Override http request option.
503
503
  * @throws {RequiredError}
504
504
  */
505
- listPolicyObjects(filter: any, authorization?: string, pageSize?: any, pageToken?: any, search?: any, order?: any, expand?: any, filters?: any, options?: any): AxiosPromise<ListPolicyObjectsResponseClass>;
505
+ listPolicyObjects(authorization?: string, pageSize?: any, pageToken?: any, filter?: string, search?: any, order?: string, expand?: any, filters?: string, options?: any): AxiosPromise<ListPolicyObjectsResponseClass>;
506
506
  /**
507
- * Returns a list of policy versions you have previously created. The policy versions are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
507
+ * Returns a list of policy versions you have previously created. The policy versions are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
508
508
  * @summary List policy versions
509
509
  * @param {string} policyCode
510
510
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
511
511
  * @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
512
512
  * @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.
513
- * @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;
513
+ * @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;
514
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, policyId, createdAt, updatedAt&lt;/i&gt;
516
- * @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.
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.
515
+ * @param {string} [order] Order allows you to specify the desired order of entities retrieved from the server by ascending (ASC) or descending (DESC) order.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: id, policyId, createdAt, updatedAt&lt;/i&gt;
516
+ * @param {string} [expand] Expand to fetch additional information about the list items. Expanding resources can reduce the number of API calls required to accomplish a task. Use with discretion as some expanded fields can drastically increase payload size.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: timelines, premiums, premiumItems, premiumFormulas.&lt;i&gt;
517
+ * @param {string} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: id, policyId&lt;/i&gt;
518
518
  * @param {*} [options] Override http request option.
519
519
  * @throws {RequiredError}
520
520
  */
521
- listPolicyVersions(policyCode: string, authorization?: string, pageSize?: any, pageToken?: any, filter?: any, search?: any, order?: any, expand?: any, filters?: any, options?: any): AxiosPromise<ListPolicyVersionResponseClass>;
521
+ listPolicyVersions(policyCode: string, authorization?: string, pageSize?: any, pageToken?: any, filter?: string, search?: any, order?: string, expand?: string, filters?: string, options?: any): AxiosPromise<ListPolicyVersionResponseClass>;
522
522
  /**
523
523
  * Updates the specified policy by setting the values of the parameters passed. Any parameters not provided will be left unchanged.
524
524
  * @summary Update the policy
@@ -725,11 +725,11 @@ export interface PoliciesApiGetPolicyRequest {
725
725
  */
726
726
  readonly authorization?: string;
727
727
  /**
728
- * You can expand policy in this endpoint. By default, versions will be an empty array.
729
- * @type {'versions' | 'product' | 'timelines' | 'premiums' | 'premiumItems' | 'premiumFormulas' | 'currentVersion' | 'currentTimelines' | 'currentPremiums' | 'currentPremiumItems' | 'currentPremiumFormulas'}
728
+ * You can expand policy in this endpoint. \&#39; + \&#39;By default, versions and partnerLinks will be an empty array. Allowed values: versions, product, timelines, premiums, premiumItems, premiumFormulas, currentVersion, currentTimelines, currentPremiums, currentPremiumItems, currentPremiumFormulas, partnerLinks.
729
+ * @type {'versions' | 'product' | 'timelines' | 'premiums' | 'premiumItems' | 'premiumFormulas' | 'currentVersion' | 'currentTimelines' | 'currentPremiums' | 'currentPremiumItems' | 'currentPremiumFormulas' | 'partnerLinks'}
730
730
  * @memberof PoliciesApiGetPolicy
731
731
  */
732
- readonly expand?: 'versions' | 'product' | 'timelines' | 'premiums' | 'premiumItems' | 'premiumFormulas' | 'currentVersion' | 'currentTimelines' | 'currentPremiums' | 'currentPremiumItems' | 'currentPremiumFormulas';
732
+ readonly expand?: 'versions' | 'product' | 'timelines' | 'premiums' | 'premiumItems' | 'premiumFormulas' | 'currentVersion' | 'currentTimelines' | 'currentPremiums' | 'currentPremiumItems' | 'currentPremiumFormulas' | 'partnerLinks';
733
733
  }
734
734
  /**
735
735
  * Request parameters for getPolicyDataByDate operation in PoliciesApi.
@@ -781,11 +781,11 @@ export interface PoliciesApiListPoliciesRequest {
781
781
  */
782
782
  readonly pageToken?: any;
783
783
  /**
784
- * 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;
785
- * @type {any}
784
+ * 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;
785
+ * @type {string}
786
786
  * @memberof PoliciesApiListPolicies
787
787
  */
788
- readonly filter?: any;
788
+ readonly filter?: string;
789
789
  /**
790
790
  * To search the list by any field, pass search&#x3D;xxx to fetch the result.
791
791
  * @type {any}
@@ -793,23 +793,23 @@ export interface PoliciesApiListPoliciesRequest {
793
793
  */
794
794
  readonly search?: any;
795
795
  /**
796
- * 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;
797
- * @type {any}
796
+ * Order allows you to specify the desired order of entities retrieved from the server by ascending (ASC) or descending (DESC) order.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: id, policyNumber, createdAt, updatedAt, policyStartDate, productVersionId, productId&lt;/i&gt;
797
+ * @type {string}
798
798
  * @memberof PoliciesApiListPolicies
799
799
  */
800
- readonly order?: any;
800
+ readonly order?: string;
801
801
  /**
802
- * You can expand policy versions list in this endpoint. By default, versions will be an empty array.
803
- * @type {'versions' | 'product' | 'timelines' | 'premiums' | 'premiumItems' | 'premiumFormulas' | 'currentVersion' | 'currentTimelines' | 'currentPremiums' | 'currentPremiumItems' | 'currentPremiumFormulas'}
802
+ * Expand to fetch additional information about the list items. Expanding resources can reduce the number of API calls required to accomplish a task. Use with discretion as some expanded fields can drastically increase payload size.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: versions, product, timelines, premiums, premiumItems, premiumFormulas, currentVersion, currentTimelines, currentPremiums, currentPremiumItems, currentPremiumFormulas, partnerLinks.&lt;i&gt;
803
+ * @type {string}
804
804
  * @memberof PoliciesApiListPolicies
805
805
  */
806
- readonly expand?: 'versions' | 'product' | 'timelines' | 'premiums' | 'premiumItems' | 'premiumFormulas' | 'currentVersion' | 'currentTimelines' | 'currentPremiums' | 'currentPremiumItems' | 'currentPremiumFormulas';
806
+ readonly expand?: string;
807
807
  /**
808
- * 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.
809
- * @type {any}
808
+ * Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.&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;
809
+ * @type {string}
810
810
  * @memberof PoliciesApiListPolicies
811
811
  */
812
- readonly filters?: any;
812
+ readonly filters?: string;
813
813
  }
814
814
  /**
815
815
  * Request parameters for listPolicyObjects operation in PoliciesApi.
@@ -817,12 +817,6 @@ export interface PoliciesApiListPoliciesRequest {
817
817
  * @interface PoliciesApiListPolicyObjectsRequest
818
818
  */
819
819
  export interface PoliciesApiListPolicyObjectsRequest {
820
- /**
821
- * 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.
822
- * @type {any}
823
- * @memberof PoliciesApiListPolicyObjects
824
- */
825
- readonly filter: any;
826
820
  /**
827
821
  * Bearer Token: provided by the login endpoint under the name accessToken.
828
822
  * @type {string}
@@ -841,6 +835,12 @@ export interface PoliciesApiListPolicyObjectsRequest {
841
835
  * @memberof PoliciesApiListPolicyObjects
842
836
  */
843
837
  readonly pageToken?: any;
838
+ /**
839
+ * 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;
840
+ * @type {string}
841
+ * @memberof PoliciesApiListPolicyObjects
842
+ */
843
+ readonly filter?: string;
844
844
  /**
845
845
  * To search the list by any field, pass search&#x3D;xxx to fetch the result.
846
846
  * @type {any}
@@ -848,23 +848,23 @@ export interface PoliciesApiListPolicyObjectsRequest {
848
848
  */
849
849
  readonly search?: any;
850
850
  /**
851
- * 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;
852
- * @type {any}
851
+ * Order allows you to specify the desired order of entities retrieved from the server by ascending (ASC) or descending (DESC) order.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: id, code, timesliceId, insuredObjectId, createdAt, updatedAt&lt;/i&gt;
852
+ * @type {string}
853
853
  * @memberof PoliciesApiListPolicyObjects
854
854
  */
855
- readonly order?: any;
855
+ readonly order?: string;
856
856
  /**
857
- * No expanding supported
857
+ * 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.
858
858
  * @type {any}
859
859
  * @memberof PoliciesApiListPolicyObjects
860
860
  */
861
861
  readonly expand?: any;
862
862
  /**
863
- * 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.
864
- * @type {any}
863
+ * Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: id, code, insuredObjectId, insuredObjectName, policyCode, date&lt;/i&gt;
864
+ * @type {string}
865
865
  * @memberof PoliciesApiListPolicyObjects
866
866
  */
867
- readonly filters?: any;
867
+ readonly filters?: string;
868
868
  }
869
869
  /**
870
870
  * Request parameters for listPolicyVersions operation in PoliciesApi.
@@ -897,11 +897,11 @@ export interface PoliciesApiListPolicyVersionsRequest {
897
897
  */
898
898
  readonly pageToken?: any;
899
899
  /**
900
- * 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;
901
- * @type {any}
900
+ * 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;
901
+ * @type {string}
902
902
  * @memberof PoliciesApiListPolicyVersions
903
903
  */
904
- readonly filter?: any;
904
+ readonly filter?: string;
905
905
  /**
906
906
  * To search the list by any field, pass search&#x3D;xxx to fetch the result.
907
907
  * @type {any}
@@ -909,23 +909,23 @@ export interface PoliciesApiListPolicyVersionsRequest {
909
909
  */
910
910
  readonly search?: any;
911
911
  /**
912
- * 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;
913
- * @type {any}
912
+ * Order allows you to specify the desired order of entities retrieved from the server by ascending (ASC) or descending (DESC) order.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: id, policyId, createdAt, updatedAt&lt;/i&gt;
913
+ * @type {string}
914
914
  * @memberof PoliciesApiListPolicyVersions
915
915
  */
916
- readonly order?: any;
916
+ readonly order?: string;
917
917
  /**
918
- * 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.
919
- * @type {any}
918
+ * Expand to fetch additional information about the list items. Expanding resources can reduce the number of API calls required to accomplish a task. Use with discretion as some expanded fields can drastically increase payload size.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: timelines, premiums, premiumItems, premiumFormulas.&lt;i&gt;
919
+ * @type {string}
920
920
  * @memberof PoliciesApiListPolicyVersions
921
921
  */
922
- readonly expand?: any;
922
+ readonly expand?: string;
923
923
  /**
924
- * 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.
925
- * @type {any}
924
+ * Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: id, policyId&lt;/i&gt;
925
+ * @type {string}
926
926
  * @memberof PoliciesApiListPolicyVersions
927
927
  */
928
- readonly filters?: any;
928
+ readonly filters?: string;
929
929
  }
930
930
  /**
931
931
  * Request parameters for patchPolicy operation in PoliciesApi.
@@ -1127,7 +1127,7 @@ export declare class PoliciesApi extends BaseAPI {
1127
1127
  */
1128
1128
  deleteDraftPolicy(requestParameters: PoliciesApiDeleteDraftPolicyRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<DeleteResponseClass, any>>;
1129
1129
  /**
1130
- * 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.
1130
+ * 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.
1131
1131
  * @summary Retrieve the draft-policy
1132
1132
  * @param {PoliciesApiGetDraftPolicyRequest} requestParameters Request parameters.
1133
1133
  * @param {*} [options] Override http request option.
@@ -1136,7 +1136,7 @@ export declare class PoliciesApi extends BaseAPI {
1136
1136
  */
1137
1137
  getDraftPolicy(requestParameters: PoliciesApiGetDraftPolicyRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<GetPolicyResponseClass, any>>;
1138
1138
  /**
1139
- * 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.
1139
+ * 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.
1140
1140
  * @summary Retrieve the policy
1141
1141
  * @param {PoliciesApiGetPolicyRequest} requestParameters Request parameters.
1142
1142
  * @param {*} [options] Override http request option.
@@ -1154,7 +1154,7 @@ export declare class PoliciesApi extends BaseAPI {
1154
1154
  */
1155
1155
  getPolicyDataByDate(requestParameters: PoliciesApiGetPolicyDataByDateRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<GetPolicyResponseClass, any>>;
1156
1156
  /**
1157
- * 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.
1157
+ * 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.
1158
1158
  * @summary List policies
1159
1159
  * @param {PoliciesApiListPoliciesRequest} requestParameters Request parameters.
1160
1160
  * @param {*} [options] Override http request option.
@@ -1163,16 +1163,16 @@ export declare class PoliciesApi extends BaseAPI {
1163
1163
  */
1164
1164
  listPolicies(requestParameters?: PoliciesApiListPoliciesRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<ListPoliciesResponseClass, any>>;
1165
1165
  /**
1166
- * 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).
1166
+ * Returns a list of policy objects you have previously created. The policy objects are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
1167
1167
  * @summary List policy objects
1168
1168
  * @param {PoliciesApiListPolicyObjectsRequest} requestParameters Request parameters.
1169
1169
  * @param {*} [options] Override http request option.
1170
1170
  * @throws {RequiredError}
1171
1171
  * @memberof PoliciesApi
1172
1172
  */
1173
- listPolicyObjects(requestParameters: PoliciesApiListPolicyObjectsRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<ListPolicyObjectsResponseClass, any>>;
1173
+ listPolicyObjects(requestParameters?: PoliciesApiListPolicyObjectsRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<ListPolicyObjectsResponseClass, any>>;
1174
1174
  /**
1175
- * Returns a list of policy versions you have previously created. The policy versions are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
1175
+ * Returns a list of policy versions you have previously created. The policy versions are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
1176
1176
  * @summary List policy versions
1177
1177
  * @param {PoliciesApiListPolicyVersionsRequest} requestParameters Request parameters.
1178
1178
  * @param {*} [options] Override http request option.