@emilgroup/insurance-sdk-node 1.48.1-beta.2 → 1.49.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 (141) hide show
  1. package/.openapi-generator/FILES +8 -21
  2. package/README.md +2 -2
  3. package/api/booking-funnels-api.ts +4 -4
  4. package/api/default-api.ts +4 -8
  5. package/api/insured-object-types-api.ts +4 -4
  6. package/api/insured-objects-api.ts +6 -9
  7. package/api/lead-statuses-api.ts +12 -96
  8. package/api/named-ranges-api.ts +4 -4
  9. package/api/policies-api.ts +180 -167
  10. package/api/policy-partner-roles-api.ts +683 -0
  11. package/api/premium-formulas-api.ts +4 -4
  12. package/api/product-factors-api.ts +4 -4
  13. package/api/product-fields-api.ts +8 -8
  14. package/api/products-api.ts +12 -12
  15. package/api.ts +2 -4
  16. package/dist/api/booking-funnels-api.d.ts +4 -4
  17. package/dist/api/booking-funnels-api.js +4 -4
  18. package/dist/api/default-api.d.ts +4 -8
  19. package/dist/api/default-api.js +4 -8
  20. package/dist/api/insured-object-types-api.d.ts +4 -4
  21. package/dist/api/insured-object-types-api.js +3 -3
  22. package/dist/api/insured-objects-api.d.ts +4 -4
  23. package/dist/api/insured-objects-api.js +5 -7
  24. package/dist/api/lead-statuses-api.d.ts +9 -63
  25. package/dist/api/lead-statuses-api.js +9 -45
  26. package/dist/api/named-ranges-api.d.ts +4 -4
  27. package/dist/api/named-ranges-api.js +3 -3
  28. package/dist/api/policies-api.d.ts +140 -131
  29. package/dist/api/policies-api.js +120 -114
  30. package/dist/api/policy-partner-roles-api.d.ts +385 -0
  31. package/dist/api/{partner-roles-api.js → policy-partner-roles-api.js} +139 -139
  32. package/dist/api/premium-formulas-api.d.ts +4 -4
  33. package/dist/api/premium-formulas-api.js +3 -3
  34. package/dist/api/product-factors-api.d.ts +4 -4
  35. package/dist/api/product-factors-api.js +3 -3
  36. package/dist/api/product-fields-api.d.ts +8 -8
  37. package/dist/api/product-fields-api.js +6 -6
  38. package/dist/api/products-api.d.ts +12 -12
  39. package/dist/api/products-api.js +9 -9
  40. package/dist/api.d.ts +1 -2
  41. package/dist/api.js +1 -2
  42. package/dist/models/booking-funnel-class.d.ts +1 -1
  43. package/dist/models/create-booking-funnel-request-dto.d.ts +1 -1
  44. package/dist/models/{update-partner-role-request-dto.d.ts → create-policy-partner-role-request-dto.d.ts} +6 -6
  45. package/dist/models/{emil-function-secret-class.d.ts → create-policy-partner-role-response-class.d.ts} +7 -12
  46. package/dist/models/create-product-request-dto.d.ts +1 -1
  47. package/dist/models/{create-partner-role-response-class.d.ts → get-policy-partner-role-response-class.d.ts} +7 -7
  48. package/dist/models/get-product-request-dto.d.ts +1 -1
  49. package/dist/models/index.d.ts +7 -19
  50. package/dist/models/index.js +7 -19
  51. package/dist/models/insured-object-type-class.d.ts +1 -1
  52. package/dist/models/invoice-item-class.d.ts +0 -12
  53. package/dist/models/lead-class.d.ts +1 -8
  54. package/dist/models/lead-status-class.d.ts +1 -1
  55. package/dist/models/{list-emil-functions-response-class.d.ts → list-policy-partner-roles-response-class.d.ts} +8 -8
  56. package/dist/models/list-policy-versions-request-dto.d.ts +1 -1
  57. package/dist/models/list-request-dto.d.ts +1 -1
  58. package/dist/models/patch-draft-policy-request-dto.d.ts +1 -1
  59. package/dist/models/policy-class.d.ts +0 -7
  60. package/dist/models/{partner-role-class.d.ts → policy-partner-role-class.d.ts} +10 -10
  61. package/dist/models/product-class.d.ts +1 -1
  62. package/dist/models/shared-update-named-range-request-dto.d.ts +1 -1
  63. package/dist/models/status-transition-rule-class.d.ts +1 -1
  64. package/dist/models/update-named-range-request-dto.d.ts +1 -1
  65. package/dist/models/{create-partner-role-request-dto.d.ts → update-policy-partner-role-request-dto.d.ts} +6 -6
  66. package/dist/models/{execute-emil-function-request-dto.d.ts → update-policy-partner-role-response-class.d.ts} +7 -6
  67. package/dist/models/update-product-request-dto.d.ts +1 -1
  68. package/models/booking-funnel-class.ts +1 -1
  69. package/models/create-booking-funnel-request-dto.ts +1 -1
  70. package/models/{update-partner-role-request-dto.ts → create-policy-partner-role-request-dto.ts} +6 -6
  71. package/models/{emil-function-secret-class.ts → create-policy-partner-role-response-class.ts} +7 -12
  72. package/models/create-product-request-dto.ts +1 -1
  73. package/models/{create-partner-role-response-class.ts → get-policy-partner-role-response-class.ts} +7 -7
  74. package/models/get-product-request-dto.ts +1 -1
  75. package/models/index.ts +7 -19
  76. package/models/insured-object-type-class.ts +1 -1
  77. package/models/invoice-item-class.ts +0 -12
  78. package/models/lead-class.ts +1 -8
  79. package/models/lead-status-class.ts +1 -1
  80. package/models/{list-emil-functions-response-class.ts → list-policy-partner-roles-response-class.ts} +8 -8
  81. package/models/list-policy-versions-request-dto.ts +1 -1
  82. package/models/list-request-dto.ts +1 -1
  83. package/models/patch-draft-policy-request-dto.ts +1 -1
  84. package/models/policy-class.ts +0 -7
  85. package/models/{partner-role-class.ts → policy-partner-role-class.ts} +10 -10
  86. package/models/product-class.ts +1 -1
  87. package/models/shared-update-named-range-request-dto.ts +1 -1
  88. package/models/status-transition-rule-class.ts +1 -1
  89. package/models/update-named-range-request-dto.ts +1 -1
  90. package/models/{create-partner-role-request-dto.ts → update-policy-partner-role-request-dto.ts} +6 -6
  91. package/models/{execute-emil-function-request-dto.ts → update-policy-partner-role-response-class.ts} +7 -6
  92. package/models/update-product-request-dto.ts +1 -1
  93. package/package.json +1 -1
  94. package/api/emil-functions-api.ts +0 -1314
  95. package/api/partner-roles-api.ts +0 -683
  96. package/dist/api/emil-functions-api.d.ts +0 -727
  97. package/dist/api/emil-functions-api.js +0 -1202
  98. package/dist/api/partner-roles-api.d.ts +0 -385
  99. package/dist/models/create-emil-function-request-dto.d.ts +0 -42
  100. package/dist/models/create-emil-function-secret-request-dto.d.ts +0 -36
  101. package/dist/models/emil-function-class.d.ts +0 -60
  102. package/dist/models/get-emil-function-secret-response-class.d.ts +0 -24
  103. package/dist/models/get-emil-function-secret-response-class.js +0 -15
  104. package/dist/models/get-partner-role-response-class.d.ts +0 -25
  105. package/dist/models/get-partner-role-response-class.js +0 -15
  106. package/dist/models/list-emil-function-secrets-response-class.d.ts +0 -25
  107. package/dist/models/list-emil-function-secrets-response-class.js +0 -15
  108. package/dist/models/list-emil-functions-response-class.js +0 -15
  109. package/dist/models/list-partner-roles-response-class.d.ts +0 -31
  110. package/dist/models/list-partner-roles-response-class.js +0 -15
  111. package/dist/models/partner-class.d.ts +0 -60
  112. package/dist/models/partner-class.js +0 -15
  113. package/dist/models/partner-link-class.d.ts +0 -86
  114. package/dist/models/partner-link-class.js +0 -15
  115. package/dist/models/partner-role-class.js +0 -15
  116. package/dist/models/update-emil-function-request-dto.d.ts +0 -42
  117. package/dist/models/update-emil-function-request-dto.js +0 -15
  118. package/dist/models/update-emil-function-secret-request-dto.d.ts +0 -30
  119. package/dist/models/update-emil-function-secret-request-dto.js +0 -15
  120. package/dist/models/update-partner-role-request-dto.js +0 -15
  121. package/dist/models/update-partner-role-response-class.d.ts +0 -25
  122. package/dist/models/update-partner-role-response-class.js +0 -15
  123. package/models/create-emil-function-request-dto.ts +0 -48
  124. package/models/create-emil-function-secret-request-dto.ts +0 -42
  125. package/models/emil-function-class.ts +0 -66
  126. package/models/get-emil-function-secret-response-class.ts +0 -30
  127. package/models/get-partner-role-response-class.ts +0 -31
  128. package/models/list-emil-function-secrets-response-class.ts +0 -31
  129. package/models/list-partner-roles-response-class.ts +0 -37
  130. package/models/partner-class.ts +0 -66
  131. package/models/partner-link-class.ts +0 -92
  132. package/models/update-emil-function-request-dto.ts +0 -48
  133. package/models/update-emil-function-secret-request-dto.ts +0 -36
  134. package/models/update-partner-role-response-class.ts +0 -31
  135. /package/dist/models/{create-emil-function-request-dto.js → create-policy-partner-role-request-dto.js} +0 -0
  136. /package/dist/models/{create-emil-function-secret-request-dto.js → create-policy-partner-role-response-class.js} +0 -0
  137. /package/dist/models/{create-partner-role-request-dto.js → get-policy-partner-role-response-class.js} +0 -0
  138. /package/dist/models/{create-partner-role-response-class.js → list-policy-partner-roles-response-class.js} +0 -0
  139. /package/dist/models/{emil-function-class.js → policy-partner-role-class.js} +0 -0
  140. /package/dist/models/{emil-function-secret-class.js → update-policy-partner-role-request-dto.js} +0 -0
  141. /package/dist/models/{execute-emil-function-request-dto.js → update-policy-partner-role-response-class.js} +0 -0
@@ -78,7 +78,7 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
78
78
  return (mod && mod.__esModule) ? mod : { "default": mod };
79
79
  };
80
80
  Object.defineProperty(exports, "__esModule", { value: true });
81
- exports.PartnerRolesApi = exports.PartnerRolesApiFactory = exports.PartnerRolesApiFp = exports.PartnerRolesApiAxiosParamCreator = void 0;
81
+ exports.PolicyPartnerRolesApi = exports.PolicyPartnerRolesApiFactory = exports.PolicyPartnerRolesApiFp = exports.PolicyPartnerRolesApiAxiosParamCreator = void 0;
82
82
  var axios_1 = __importDefault(require("axios"));
83
83
  // Some imports not used depending on template conditions
84
84
  // @ts-ignore
@@ -90,30 +90,30 @@ var base_1 = require("../base");
90
90
  var url_1 = require("url");
91
91
  var FormData = require('form-data');
92
92
  /**
93
- * PartnerRolesApi - axios parameter creator
93
+ * PolicyPartnerRolesApi - axios parameter creator
94
94
  * @export
95
95
  */
96
- var PartnerRolesApiAxiosParamCreator = function (configuration) {
96
+ var PolicyPartnerRolesApiAxiosParamCreator = function (configuration) {
97
97
  var _this = this;
98
98
  return {
99
99
  /**
100
- * This will create a partner role.
101
- * @summary Create the partner role
102
- * @param {CreatePartnerRoleRequestDto} createPartnerRoleRequestDto
100
+ * This will create a policy partner role.
101
+ * @summary Create the policy partner role
102
+ * @param {CreatePolicyPartnerRoleRequestDto} createPolicyPartnerRoleRequestDto
103
103
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
104
104
  * @param {*} [options] Override http request option.
105
105
  * @throws {RequiredError}
106
106
  */
107
- createPartnerRole: function (createPartnerRoleRequestDto, authorization, options) {
107
+ createPolicyPartnerRole: function (createPolicyPartnerRoleRequestDto, authorization, options) {
108
108
  if (options === void 0) { options = {}; }
109
109
  return __awaiter(_this, void 0, void 0, function () {
110
110
  var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
111
111
  return __generator(this, function (_a) {
112
112
  switch (_a.label) {
113
113
  case 0:
114
- // verify required parameter 'createPartnerRoleRequestDto' is not null or undefined
115
- (0, common_1.assertParamExists)('createPartnerRole', 'createPartnerRoleRequestDto', createPartnerRoleRequestDto);
116
- localVarPath = "/insuranceservice/v1/partner-roles";
114
+ // verify required parameter 'createPolicyPartnerRoleRequestDto' is not null or undefined
115
+ (0, common_1.assertParamExists)('createPolicyPartnerRole', 'createPolicyPartnerRoleRequestDto', createPolicyPartnerRoleRequestDto);
116
+ localVarPath = "/insuranceservice/v1/policy-partner-roles";
117
117
  localVarUrlObj = new url_1.URL(localVarPath, common_1.DUMMY_BASE_URL);
118
118
  if (configuration) {
119
119
  baseOptions = configuration.baseOptions;
@@ -136,7 +136,7 @@ var PartnerRolesApiAxiosParamCreator = function (configuration) {
136
136
  (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
137
137
  headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
138
138
  localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
139
- localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(createPartnerRoleRequestDto, localVarRequestOptions, configuration);
139
+ localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(createPolicyPartnerRoleRequestDto, localVarRequestOptions, configuration);
140
140
  return [2 /*return*/, {
141
141
  url: (0, common_1.toPathString)(localVarUrlObj),
142
142
  options: localVarRequestOptions,
@@ -146,14 +146,14 @@ var PartnerRolesApiAxiosParamCreator = function (configuration) {
146
146
  });
147
147
  },
148
148
  /**
149
- * Permanently deletes the partner role. Supply the unique code that was returned when you created the partner role and this will delete it.
150
- * @summary Delete the partner role
149
+ * Permanently deletes the policy partner role. Supply the unique code that was returned when you created the policy partner role and this will delete it.
150
+ * @summary Delete the policy partner role
151
151
  * @param {string} code Unique identifier for the object.
152
152
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
153
153
  * @param {*} [options] Override http request option.
154
154
  * @throws {RequiredError}
155
155
  */
156
- deletePartnerRole: function (code, authorization, options) {
156
+ deletePolicyPartnerRole: function (code, authorization, options) {
157
157
  if (options === void 0) { options = {}; }
158
158
  return __awaiter(_this, void 0, void 0, function () {
159
159
  var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
@@ -161,8 +161,8 @@ var PartnerRolesApiAxiosParamCreator = function (configuration) {
161
161
  switch (_a.label) {
162
162
  case 0:
163
163
  // verify required parameter 'code' is not null or undefined
164
- (0, common_1.assertParamExists)('deletePartnerRole', 'code', code);
165
- localVarPath = "/insuranceservice/v1/partner-roles/{code}"
164
+ (0, common_1.assertParamExists)('deletePolicyPartnerRole', 'code', code);
165
+ localVarPath = "/insuranceservice/v1/policy-partner-roles/{code}"
166
166
  .replace("{".concat("code", "}"), encodeURIComponent(String(code)));
167
167
  localVarUrlObj = new url_1.URL(localVarPath, common_1.DUMMY_BASE_URL);
168
168
  if (configuration) {
@@ -194,14 +194,14 @@ var PartnerRolesApiAxiosParamCreator = function (configuration) {
194
194
  });
195
195
  },
196
196
  /**
197
- * Retrieves the details of the partner role that was previously created. Supply the unique partner role code that was returned when you created it and Emil Api will return the corresponding partner role information.
198
- * @summary Retrieve the partner role
197
+ * Retrieves the details of the policy partner role that was previously created. Supply the unique policy partner role code that was returned when you created it and Emil Api will return the corresponding policy partner role information.
198
+ * @summary Retrieve the policy partner role
199
199
  * @param {string} code Unique identifier for the object.
200
200
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
201
201
  * @param {*} [options] Override http request option.
202
202
  * @throws {RequiredError}
203
203
  */
204
- getPartnerRole: function (code, authorization, options) {
204
+ getPolicyPartnerRole: function (code, authorization, options) {
205
205
  if (options === void 0) { options = {}; }
206
206
  return __awaiter(_this, void 0, void 0, function () {
207
207
  var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
@@ -209,8 +209,8 @@ var PartnerRolesApiAxiosParamCreator = function (configuration) {
209
209
  switch (_a.label) {
210
210
  case 0:
211
211
  // verify required parameter 'code' is not null or undefined
212
- (0, common_1.assertParamExists)('getPartnerRole', 'code', code);
213
- localVarPath = "/insuranceservice/v1/partner-roles/{code}"
212
+ (0, common_1.assertParamExists)('getPolicyPartnerRole', 'code', code);
213
+ localVarPath = "/insuranceservice/v1/policy-partner-roles/{code}"
214
214
  .replace("{".concat("code", "}"), encodeURIComponent(String(code)));
215
215
  localVarUrlObj = new url_1.URL(localVarPath, common_1.DUMMY_BASE_URL);
216
216
  if (configuration) {
@@ -242,27 +242,27 @@ var PartnerRolesApiAxiosParamCreator = function (configuration) {
242
242
  });
243
243
  },
244
244
  /**
245
- * Returns a list of partner roles you have previously created. The partner roles are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
246
- * @summary List partner roles
245
+ * Returns a list of policy partner roles you have previously created. The policy partner roles are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
246
+ * @summary List policy partner roles
247
247
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
248
248
  * @param {number} [pageSize] Page size.
249
249
  * @param {string} [pageToken] Page token.
250
- * @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: name, productSlug</i>
251
- * @param {string} [search] Search query.
252
- * @param {string} [order] Order allowing you to specify the desired order of entities retrieved from the server.<br/> <br/> <i>Allowed values: id, name, productSlug, createdAt, updatedAt</i>
253
- * @param {string} [expand] This entity has no expand parameters
254
- * @param {string} [filters] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.
250
+ * @param {'name' | 'productSlug'} [filter] List filter
251
+ * @param {'name' | 'productSlug'} [search] Search query.
252
+ * @param {'id' | 'name' | 'productSlug' | 'createdAt' | 'updatedAt'} [order] Ordering criteria.
253
+ * @param {number} [expand] This entity has no expand parameters
254
+ * @param {string} [filters]
255
255
  * @param {*} [options] Override http request option.
256
256
  * @throws {RequiredError}
257
257
  */
258
- listPartnerRole: function (authorization, pageSize, pageToken, filter, search, order, expand, filters, options) {
258
+ listPolicyPartnerRole: function (authorization, pageSize, pageToken, filter, search, order, expand, filters, options) {
259
259
  if (options === void 0) { options = {}; }
260
260
  return __awaiter(_this, void 0, void 0, function () {
261
261
  var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
262
262
  return __generator(this, function (_a) {
263
263
  switch (_a.label) {
264
264
  case 0:
265
- localVarPath = "/insuranceservice/v1/partner-roles";
265
+ localVarPath = "/insuranceservice/v1/policy-partner-roles";
266
266
  localVarUrlObj = new url_1.URL(localVarPath, common_1.DUMMY_BASE_URL);
267
267
  if (configuration) {
268
268
  baseOptions = configuration.baseOptions;
@@ -314,15 +314,15 @@ var PartnerRolesApiAxiosParamCreator = function (configuration) {
314
314
  });
315
315
  },
316
316
  /**
317
- * Updates the specified partner role by setting the values of the parameters passed. Any parameters not provided will be left unchanged.
318
- * @summary Update the partner role
317
+ * Updates the specified policy partner role by setting the values of the parameters passed. Any parameters not provided will be left unchanged.
318
+ * @summary Update the policy partner role
319
319
  * @param {string} code Unique identifier for the object.
320
- * @param {UpdatePartnerRoleRequestDto} updatePartnerRoleRequestDto
320
+ * @param {UpdatePolicyPartnerRoleRequestDto} updatePolicyPartnerRoleRequestDto
321
321
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
322
322
  * @param {*} [options] Override http request option.
323
323
  * @throws {RequiredError}
324
324
  */
325
- updatePartnerRole: function (code, updatePartnerRoleRequestDto, authorization, options) {
325
+ updatePolicyPartnerRole: function (code, updatePolicyPartnerRoleRequestDto, authorization, options) {
326
326
  if (options === void 0) { options = {}; }
327
327
  return __awaiter(_this, void 0, void 0, function () {
328
328
  var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
@@ -330,10 +330,10 @@ var PartnerRolesApiAxiosParamCreator = function (configuration) {
330
330
  switch (_a.label) {
331
331
  case 0:
332
332
  // verify required parameter 'code' is not null or undefined
333
- (0, common_1.assertParamExists)('updatePartnerRole', 'code', code);
334
- // verify required parameter 'updatePartnerRoleRequestDto' is not null or undefined
335
- (0, common_1.assertParamExists)('updatePartnerRole', 'updatePartnerRoleRequestDto', updatePartnerRoleRequestDto);
336
- localVarPath = "/insuranceservice/v1/partner-roles/{code}"
333
+ (0, common_1.assertParamExists)('updatePolicyPartnerRole', 'code', code);
334
+ // verify required parameter 'updatePolicyPartnerRoleRequestDto' is not null or undefined
335
+ (0, common_1.assertParamExists)('updatePolicyPartnerRole', 'updatePolicyPartnerRoleRequestDto', updatePolicyPartnerRoleRequestDto);
336
+ localVarPath = "/insuranceservice/v1/policy-partner-roles/{code}"
337
337
  .replace("{".concat("code", "}"), encodeURIComponent(String(code)));
338
338
  localVarUrlObj = new url_1.URL(localVarPath, common_1.DUMMY_BASE_URL);
339
339
  if (configuration) {
@@ -357,7 +357,7 @@ var PartnerRolesApiAxiosParamCreator = function (configuration) {
357
357
  (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
358
358
  headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
359
359
  localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
360
- localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(updatePartnerRoleRequestDto, localVarRequestOptions, configuration);
360
+ localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(updatePolicyPartnerRoleRequestDto, localVarRequestOptions, configuration);
361
361
  return [2 /*return*/, {
362
362
  url: (0, common_1.toPathString)(localVarUrlObj),
363
363
  options: localVarRequestOptions,
@@ -368,28 +368,28 @@ var PartnerRolesApiAxiosParamCreator = function (configuration) {
368
368
  },
369
369
  };
370
370
  };
371
- exports.PartnerRolesApiAxiosParamCreator = PartnerRolesApiAxiosParamCreator;
371
+ exports.PolicyPartnerRolesApiAxiosParamCreator = PolicyPartnerRolesApiAxiosParamCreator;
372
372
  /**
373
- * PartnerRolesApi - functional programming interface
373
+ * PolicyPartnerRolesApi - functional programming interface
374
374
  * @export
375
375
  */
376
- var PartnerRolesApiFp = function (configuration) {
377
- var localVarAxiosParamCreator = (0, exports.PartnerRolesApiAxiosParamCreator)(configuration);
376
+ var PolicyPartnerRolesApiFp = function (configuration) {
377
+ var localVarAxiosParamCreator = (0, exports.PolicyPartnerRolesApiAxiosParamCreator)(configuration);
378
378
  return {
379
379
  /**
380
- * This will create a partner role.
381
- * @summary Create the partner role
382
- * @param {CreatePartnerRoleRequestDto} createPartnerRoleRequestDto
380
+ * This will create a policy partner role.
381
+ * @summary Create the policy partner role
382
+ * @param {CreatePolicyPartnerRoleRequestDto} createPolicyPartnerRoleRequestDto
383
383
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
384
384
  * @param {*} [options] Override http request option.
385
385
  * @throws {RequiredError}
386
386
  */
387
- createPartnerRole: function (createPartnerRoleRequestDto, authorization, options) {
387
+ createPolicyPartnerRole: function (createPolicyPartnerRoleRequestDto, authorization, options) {
388
388
  return __awaiter(this, void 0, void 0, function () {
389
389
  var localVarAxiosArgs;
390
390
  return __generator(this, function (_a) {
391
391
  switch (_a.label) {
392
- case 0: return [4 /*yield*/, localVarAxiosParamCreator.createPartnerRole(createPartnerRoleRequestDto, authorization, options)];
392
+ case 0: return [4 /*yield*/, localVarAxiosParamCreator.createPolicyPartnerRole(createPolicyPartnerRoleRequestDto, authorization, options)];
393
393
  case 1:
394
394
  localVarAxiosArgs = _a.sent();
395
395
  return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
@@ -398,19 +398,19 @@ var PartnerRolesApiFp = function (configuration) {
398
398
  });
399
399
  },
400
400
  /**
401
- * Permanently deletes the partner role. Supply the unique code that was returned when you created the partner role and this will delete it.
402
- * @summary Delete the partner role
401
+ * Permanently deletes the policy partner role. Supply the unique code that was returned when you created the policy partner role and this will delete it.
402
+ * @summary Delete the policy partner role
403
403
  * @param {string} code Unique identifier for the object.
404
404
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
405
405
  * @param {*} [options] Override http request option.
406
406
  * @throws {RequiredError}
407
407
  */
408
- deletePartnerRole: function (code, authorization, options) {
408
+ deletePolicyPartnerRole: function (code, authorization, options) {
409
409
  return __awaiter(this, void 0, void 0, function () {
410
410
  var localVarAxiosArgs;
411
411
  return __generator(this, function (_a) {
412
412
  switch (_a.label) {
413
- case 0: return [4 /*yield*/, localVarAxiosParamCreator.deletePartnerRole(code, authorization, options)];
413
+ case 0: return [4 /*yield*/, localVarAxiosParamCreator.deletePolicyPartnerRole(code, authorization, options)];
414
414
  case 1:
415
415
  localVarAxiosArgs = _a.sent();
416
416
  return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
@@ -419,19 +419,19 @@ var PartnerRolesApiFp = function (configuration) {
419
419
  });
420
420
  },
421
421
  /**
422
- * Retrieves the details of the partner role that was previously created. Supply the unique partner role code that was returned when you created it and Emil Api will return the corresponding partner role information.
423
- * @summary Retrieve the partner role
422
+ * Retrieves the details of the policy partner role that was previously created. Supply the unique policy partner role code that was returned when you created it and Emil Api will return the corresponding policy partner role information.
423
+ * @summary Retrieve the policy partner role
424
424
  * @param {string} code Unique identifier for the object.
425
425
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
426
426
  * @param {*} [options] Override http request option.
427
427
  * @throws {RequiredError}
428
428
  */
429
- getPartnerRole: function (code, authorization, options) {
429
+ getPolicyPartnerRole: function (code, authorization, options) {
430
430
  return __awaiter(this, void 0, void 0, function () {
431
431
  var localVarAxiosArgs;
432
432
  return __generator(this, function (_a) {
433
433
  switch (_a.label) {
434
- case 0: return [4 /*yield*/, localVarAxiosParamCreator.getPartnerRole(code, authorization, options)];
434
+ case 0: return [4 /*yield*/, localVarAxiosParamCreator.getPolicyPartnerRole(code, authorization, options)];
435
435
  case 1:
436
436
  localVarAxiosArgs = _a.sent();
437
437
  return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
@@ -440,25 +440,25 @@ var PartnerRolesApiFp = function (configuration) {
440
440
  });
441
441
  },
442
442
  /**
443
- * Returns a list of partner roles you have previously created. The partner roles are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
444
- * @summary List partner roles
443
+ * Returns a list of policy partner roles you have previously created. The policy partner roles are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
444
+ * @summary List policy partner roles
445
445
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
446
446
  * @param {number} [pageSize] Page size.
447
447
  * @param {string} [pageToken] Page token.
448
- * @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: name, productSlug</i>
449
- * @param {string} [search] Search query.
450
- * @param {string} [order] Order allowing you to specify the desired order of entities retrieved from the server.<br/> <br/> <i>Allowed values: id, name, productSlug, createdAt, updatedAt</i>
451
- * @param {string} [expand] This entity has no expand parameters
452
- * @param {string} [filters] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.
448
+ * @param {'name' | 'productSlug'} [filter] List filter
449
+ * @param {'name' | 'productSlug'} [search] Search query.
450
+ * @param {'id' | 'name' | 'productSlug' | 'createdAt' | 'updatedAt'} [order] Ordering criteria.
451
+ * @param {number} [expand] This entity has no expand parameters
452
+ * @param {string} [filters]
453
453
  * @param {*} [options] Override http request option.
454
454
  * @throws {RequiredError}
455
455
  */
456
- listPartnerRole: function (authorization, pageSize, pageToken, filter, search, order, expand, filters, options) {
456
+ listPolicyPartnerRole: function (authorization, pageSize, pageToken, filter, search, order, expand, filters, options) {
457
457
  return __awaiter(this, void 0, void 0, function () {
458
458
  var localVarAxiosArgs;
459
459
  return __generator(this, function (_a) {
460
460
  switch (_a.label) {
461
- case 0: return [4 /*yield*/, localVarAxiosParamCreator.listPartnerRole(authorization, pageSize, pageToken, filter, search, order, expand, filters, options)];
461
+ case 0: return [4 /*yield*/, localVarAxiosParamCreator.listPolicyPartnerRole(authorization, pageSize, pageToken, filter, search, order, expand, filters, options)];
462
462
  case 1:
463
463
  localVarAxiosArgs = _a.sent();
464
464
  return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
@@ -467,20 +467,20 @@ var PartnerRolesApiFp = function (configuration) {
467
467
  });
468
468
  },
469
469
  /**
470
- * Updates the specified partner role by setting the values of the parameters passed. Any parameters not provided will be left unchanged.
471
- * @summary Update the partner role
470
+ * Updates the specified policy partner role by setting the values of the parameters passed. Any parameters not provided will be left unchanged.
471
+ * @summary Update the policy partner role
472
472
  * @param {string} code Unique identifier for the object.
473
- * @param {UpdatePartnerRoleRequestDto} updatePartnerRoleRequestDto
473
+ * @param {UpdatePolicyPartnerRoleRequestDto} updatePolicyPartnerRoleRequestDto
474
474
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
475
475
  * @param {*} [options] Override http request option.
476
476
  * @throws {RequiredError}
477
477
  */
478
- updatePartnerRole: function (code, updatePartnerRoleRequestDto, authorization, options) {
478
+ updatePolicyPartnerRole: function (code, updatePolicyPartnerRoleRequestDto, authorization, options) {
479
479
  return __awaiter(this, void 0, void 0, function () {
480
480
  var localVarAxiosArgs;
481
481
  return __generator(this, function (_a) {
482
482
  switch (_a.label) {
483
- case 0: return [4 /*yield*/, localVarAxiosParamCreator.updatePartnerRole(code, updatePartnerRoleRequestDto, authorization, options)];
483
+ case 0: return [4 /*yield*/, localVarAxiosParamCreator.updatePolicyPartnerRole(code, updatePolicyPartnerRoleRequestDto, authorization, options)];
484
484
  case 1:
485
485
  localVarAxiosArgs = _a.sent();
486
486
  return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
@@ -490,151 +490,151 @@ var PartnerRolesApiFp = function (configuration) {
490
490
  },
491
491
  };
492
492
  };
493
- exports.PartnerRolesApiFp = PartnerRolesApiFp;
493
+ exports.PolicyPartnerRolesApiFp = PolicyPartnerRolesApiFp;
494
494
  /**
495
- * PartnerRolesApi - factory interface
495
+ * PolicyPartnerRolesApi - factory interface
496
496
  * @export
497
497
  */
498
- var PartnerRolesApiFactory = function (configuration, basePath, axios) {
499
- var localVarFp = (0, exports.PartnerRolesApiFp)(configuration);
498
+ var PolicyPartnerRolesApiFactory = function (configuration, basePath, axios) {
499
+ var localVarFp = (0, exports.PolicyPartnerRolesApiFp)(configuration);
500
500
  return {
501
501
  /**
502
- * This will create a partner role.
503
- * @summary Create the partner role
504
- * @param {CreatePartnerRoleRequestDto} createPartnerRoleRequestDto
502
+ * This will create a policy partner role.
503
+ * @summary Create the policy partner role
504
+ * @param {CreatePolicyPartnerRoleRequestDto} createPolicyPartnerRoleRequestDto
505
505
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
506
506
  * @param {*} [options] Override http request option.
507
507
  * @throws {RequiredError}
508
508
  */
509
- createPartnerRole: function (createPartnerRoleRequestDto, authorization, options) {
510
- return localVarFp.createPartnerRole(createPartnerRoleRequestDto, authorization, options).then(function (request) { return request(axios, basePath); });
509
+ createPolicyPartnerRole: function (createPolicyPartnerRoleRequestDto, authorization, options) {
510
+ return localVarFp.createPolicyPartnerRole(createPolicyPartnerRoleRequestDto, authorization, options).then(function (request) { return request(axios, basePath); });
511
511
  },
512
512
  /**
513
- * Permanently deletes the partner role. Supply the unique code that was returned when you created the partner role and this will delete it.
514
- * @summary Delete the partner role
513
+ * Permanently deletes the policy partner role. Supply the unique code that was returned when you created the policy partner role and this will delete it.
514
+ * @summary Delete the policy partner role
515
515
  * @param {string} code Unique identifier for the object.
516
516
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
517
517
  * @param {*} [options] Override http request option.
518
518
  * @throws {RequiredError}
519
519
  */
520
- deletePartnerRole: function (code, authorization, options) {
521
- return localVarFp.deletePartnerRole(code, authorization, options).then(function (request) { return request(axios, basePath); });
520
+ deletePolicyPartnerRole: function (code, authorization, options) {
521
+ return localVarFp.deletePolicyPartnerRole(code, authorization, options).then(function (request) { return request(axios, basePath); });
522
522
  },
523
523
  /**
524
- * Retrieves the details of the partner role that was previously created. Supply the unique partner role code that was returned when you created it and Emil Api will return the corresponding partner role information.
525
- * @summary Retrieve the partner role
524
+ * Retrieves the details of the policy partner role that was previously created. Supply the unique policy partner role code that was returned when you created it and Emil Api will return the corresponding policy partner role information.
525
+ * @summary Retrieve the policy partner role
526
526
  * @param {string} code Unique identifier for the object.
527
527
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
528
528
  * @param {*} [options] Override http request option.
529
529
  * @throws {RequiredError}
530
530
  */
531
- getPartnerRole: function (code, authorization, options) {
532
- return localVarFp.getPartnerRole(code, authorization, options).then(function (request) { return request(axios, basePath); });
531
+ getPolicyPartnerRole: function (code, authorization, options) {
532
+ return localVarFp.getPolicyPartnerRole(code, authorization, options).then(function (request) { return request(axios, basePath); });
533
533
  },
534
534
  /**
535
- * Returns a list of partner roles you have previously created. The partner roles are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
536
- * @summary List partner roles
535
+ * Returns a list of policy partner roles you have previously created. The policy partner roles are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
536
+ * @summary List policy partner roles
537
537
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
538
538
  * @param {number} [pageSize] Page size.
539
539
  * @param {string} [pageToken] Page token.
540
- * @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: name, productSlug</i>
541
- * @param {string} [search] Search query.
542
- * @param {string} [order] Order allowing you to specify the desired order of entities retrieved from the server.<br/> <br/> <i>Allowed values: id, name, productSlug, createdAt, updatedAt</i>
543
- * @param {string} [expand] This entity has no expand parameters
544
- * @param {string} [filters] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.
540
+ * @param {'name' | 'productSlug'} [filter] List filter
541
+ * @param {'name' | 'productSlug'} [search] Search query.
542
+ * @param {'id' | 'name' | 'productSlug' | 'createdAt' | 'updatedAt'} [order] Ordering criteria.
543
+ * @param {number} [expand] This entity has no expand parameters
544
+ * @param {string} [filters]
545
545
  * @param {*} [options] Override http request option.
546
546
  * @throws {RequiredError}
547
547
  */
548
- listPartnerRole: function (authorization, pageSize, pageToken, filter, search, order, expand, filters, options) {
549
- return localVarFp.listPartnerRole(authorization, pageSize, pageToken, filter, search, order, expand, filters, options).then(function (request) { return request(axios, basePath); });
548
+ listPolicyPartnerRole: function (authorization, pageSize, pageToken, filter, search, order, expand, filters, options) {
549
+ return localVarFp.listPolicyPartnerRole(authorization, pageSize, pageToken, filter, search, order, expand, filters, options).then(function (request) { return request(axios, basePath); });
550
550
  },
551
551
  /**
552
- * Updates the specified partner role by setting the values of the parameters passed. Any parameters not provided will be left unchanged.
553
- * @summary Update the partner role
552
+ * Updates the specified policy partner role by setting the values of the parameters passed. Any parameters not provided will be left unchanged.
553
+ * @summary Update the policy partner role
554
554
  * @param {string} code Unique identifier for the object.
555
- * @param {UpdatePartnerRoleRequestDto} updatePartnerRoleRequestDto
555
+ * @param {UpdatePolicyPartnerRoleRequestDto} updatePolicyPartnerRoleRequestDto
556
556
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
557
557
  * @param {*} [options] Override http request option.
558
558
  * @throws {RequiredError}
559
559
  */
560
- updatePartnerRole: function (code, updatePartnerRoleRequestDto, authorization, options) {
561
- return localVarFp.updatePartnerRole(code, updatePartnerRoleRequestDto, authorization, options).then(function (request) { return request(axios, basePath); });
560
+ updatePolicyPartnerRole: function (code, updatePolicyPartnerRoleRequestDto, authorization, options) {
561
+ return localVarFp.updatePolicyPartnerRole(code, updatePolicyPartnerRoleRequestDto, authorization, options).then(function (request) { return request(axios, basePath); });
562
562
  },
563
563
  };
564
564
  };
565
- exports.PartnerRolesApiFactory = PartnerRolesApiFactory;
565
+ exports.PolicyPartnerRolesApiFactory = PolicyPartnerRolesApiFactory;
566
566
  /**
567
- * PartnerRolesApi - object-oriented interface
567
+ * PolicyPartnerRolesApi - object-oriented interface
568
568
  * @export
569
- * @class PartnerRolesApi
569
+ * @class PolicyPartnerRolesApi
570
570
  * @extends {BaseAPI}
571
571
  */
572
- var PartnerRolesApi = /** @class */ (function (_super) {
573
- __extends(PartnerRolesApi, _super);
574
- function PartnerRolesApi() {
572
+ var PolicyPartnerRolesApi = /** @class */ (function (_super) {
573
+ __extends(PolicyPartnerRolesApi, _super);
574
+ function PolicyPartnerRolesApi() {
575
575
  return _super !== null && _super.apply(this, arguments) || this;
576
576
  }
577
577
  /**
578
- * This will create a partner role.
579
- * @summary Create the partner role
580
- * @param {PartnerRolesApiCreatePartnerRoleRequest} requestParameters Request parameters.
578
+ * This will create a policy partner role.
579
+ * @summary Create the policy partner role
580
+ * @param {PolicyPartnerRolesApiCreatePolicyPartnerRoleRequest} requestParameters Request parameters.
581
581
  * @param {*} [options] Override http request option.
582
582
  * @throws {RequiredError}
583
- * @memberof PartnerRolesApi
583
+ * @memberof PolicyPartnerRolesApi
584
584
  */
585
- PartnerRolesApi.prototype.createPartnerRole = function (requestParameters, options) {
585
+ PolicyPartnerRolesApi.prototype.createPolicyPartnerRole = function (requestParameters, options) {
586
586
  var _this = this;
587
- return (0, exports.PartnerRolesApiFp)(this.configuration).createPartnerRole(requestParameters.createPartnerRoleRequestDto, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
587
+ return (0, exports.PolicyPartnerRolesApiFp)(this.configuration).createPolicyPartnerRole(requestParameters.createPolicyPartnerRoleRequestDto, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
588
588
  };
589
589
  /**
590
- * Permanently deletes the partner role. Supply the unique code that was returned when you created the partner role and this will delete it.
591
- * @summary Delete the partner role
592
- * @param {PartnerRolesApiDeletePartnerRoleRequest} requestParameters Request parameters.
590
+ * Permanently deletes the policy partner role. Supply the unique code that was returned when you created the policy partner role and this will delete it.
591
+ * @summary Delete the policy partner role
592
+ * @param {PolicyPartnerRolesApiDeletePolicyPartnerRoleRequest} requestParameters Request parameters.
593
593
  * @param {*} [options] Override http request option.
594
594
  * @throws {RequiredError}
595
- * @memberof PartnerRolesApi
595
+ * @memberof PolicyPartnerRolesApi
596
596
  */
597
- PartnerRolesApi.prototype.deletePartnerRole = function (requestParameters, options) {
597
+ PolicyPartnerRolesApi.prototype.deletePolicyPartnerRole = function (requestParameters, options) {
598
598
  var _this = this;
599
- return (0, exports.PartnerRolesApiFp)(this.configuration).deletePartnerRole(requestParameters.code, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
599
+ return (0, exports.PolicyPartnerRolesApiFp)(this.configuration).deletePolicyPartnerRole(requestParameters.code, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
600
600
  };
601
601
  /**
602
- * Retrieves the details of the partner role that was previously created. Supply the unique partner role code that was returned when you created it and Emil Api will return the corresponding partner role information.
603
- * @summary Retrieve the partner role
604
- * @param {PartnerRolesApiGetPartnerRoleRequest} requestParameters Request parameters.
602
+ * Retrieves the details of the policy partner role that was previously created. Supply the unique policy partner role code that was returned when you created it and Emil Api will return the corresponding policy partner role information.
603
+ * @summary Retrieve the policy partner role
604
+ * @param {PolicyPartnerRolesApiGetPolicyPartnerRoleRequest} requestParameters Request parameters.
605
605
  * @param {*} [options] Override http request option.
606
606
  * @throws {RequiredError}
607
- * @memberof PartnerRolesApi
607
+ * @memberof PolicyPartnerRolesApi
608
608
  */
609
- PartnerRolesApi.prototype.getPartnerRole = function (requestParameters, options) {
609
+ PolicyPartnerRolesApi.prototype.getPolicyPartnerRole = function (requestParameters, options) {
610
610
  var _this = this;
611
- return (0, exports.PartnerRolesApiFp)(this.configuration).getPartnerRole(requestParameters.code, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
611
+ return (0, exports.PolicyPartnerRolesApiFp)(this.configuration).getPolicyPartnerRole(requestParameters.code, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
612
612
  };
613
613
  /**
614
- * Returns a list of partner roles you have previously created. The partner roles are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
615
- * @summary List partner roles
616
- * @param {PartnerRolesApiListPartnerRoleRequest} requestParameters Request parameters.
614
+ * Returns a list of policy partner roles you have previously created. The policy partner roles are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
615
+ * @summary List policy partner roles
616
+ * @param {PolicyPartnerRolesApiListPolicyPartnerRoleRequest} requestParameters Request parameters.
617
617
  * @param {*} [options] Override http request option.
618
618
  * @throws {RequiredError}
619
- * @memberof PartnerRolesApi
619
+ * @memberof PolicyPartnerRolesApi
620
620
  */
621
- PartnerRolesApi.prototype.listPartnerRole = function (requestParameters, options) {
621
+ PolicyPartnerRolesApi.prototype.listPolicyPartnerRole = function (requestParameters, options) {
622
622
  var _this = this;
623
623
  if (requestParameters === void 0) { requestParameters = {}; }
624
- return (0, exports.PartnerRolesApiFp)(this.configuration).listPartnerRole(requestParameters.authorization, requestParameters.pageSize, requestParameters.pageToken, requestParameters.filter, requestParameters.search, requestParameters.order, requestParameters.expand, requestParameters.filters, options).then(function (request) { return request(_this.axios, _this.basePath); });
624
+ return (0, exports.PolicyPartnerRolesApiFp)(this.configuration).listPolicyPartnerRole(requestParameters.authorization, requestParameters.pageSize, requestParameters.pageToken, requestParameters.filter, requestParameters.search, requestParameters.order, requestParameters.expand, requestParameters.filters, options).then(function (request) { return request(_this.axios, _this.basePath); });
625
625
  };
626
626
  /**
627
- * Updates the specified partner role by setting the values of the parameters passed. Any parameters not provided will be left unchanged.
628
- * @summary Update the partner role
629
- * @param {PartnerRolesApiUpdatePartnerRoleRequest} requestParameters Request parameters.
627
+ * Updates the specified policy partner role by setting the values of the parameters passed. Any parameters not provided will be left unchanged.
628
+ * @summary Update the policy partner role
629
+ * @param {PolicyPartnerRolesApiUpdatePolicyPartnerRoleRequest} requestParameters Request parameters.
630
630
  * @param {*} [options] Override http request option.
631
631
  * @throws {RequiredError}
632
- * @memberof PartnerRolesApi
632
+ * @memberof PolicyPartnerRolesApi
633
633
  */
634
- PartnerRolesApi.prototype.updatePartnerRole = function (requestParameters, options) {
634
+ PolicyPartnerRolesApi.prototype.updatePolicyPartnerRole = function (requestParameters, options) {
635
635
  var _this = this;
636
- return (0, exports.PartnerRolesApiFp)(this.configuration).updatePartnerRole(requestParameters.code, requestParameters.updatePartnerRoleRequestDto, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
636
+ return (0, exports.PolicyPartnerRolesApiFp)(this.configuration).updatePolicyPartnerRole(requestParameters.code, requestParameters.updatePolicyPartnerRoleRequestDto, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
637
637
  };
638
- return PartnerRolesApi;
638
+ return PolicyPartnerRolesApi;
639
639
  }(base_1.BaseAPI));
640
- exports.PartnerRolesApi = PartnerRolesApi;
640
+ exports.PolicyPartnerRolesApi = PolicyPartnerRolesApi;
@@ -63,7 +63,7 @@ export declare const PremiumFormulasApiAxiosParamCreator: (configuration?: Confi
63
63
  * @param {string} [search] Search query.
64
64
  * @param {string} [order] Ordering criteria.
65
65
  * @param {string} [expand] Extra fields to fetch.
66
- * @param {string} [filters] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.
66
+ * @param {string} [filters]
67
67
  * @param {*} [options] Override http request option.
68
68
  * @throws {RequiredError}
69
69
  */
@@ -130,7 +130,7 @@ export declare const PremiumFormulasApiFp: (configuration?: Configuration) => {
130
130
  * @param {string} [search] Search query.
131
131
  * @param {string} [order] Ordering criteria.
132
132
  * @param {string} [expand] Extra fields to fetch.
133
- * @param {string} [filters] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.
133
+ * @param {string} [filters]
134
134
  * @param {*} [options] Override http request option.
135
135
  * @throws {RequiredError}
136
136
  */
@@ -197,7 +197,7 @@ export declare const PremiumFormulasApiFactory: (configuration?: Configuration,
197
197
  * @param {string} [search] Search query.
198
198
  * @param {string} [order] Ordering criteria.
199
199
  * @param {string} [expand] Extra fields to fetch.
200
- * @param {string} [filters] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.
200
+ * @param {string} [filters]
201
201
  * @param {*} [options] Override http request option.
202
202
  * @throws {RequiredError}
203
203
  */
@@ -328,7 +328,7 @@ export interface PremiumFormulasApiListPremiumFormulasRequest {
328
328
  */
329
329
  readonly expand?: string;
330
330
  /**
331
- * Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.
331
+ *
332
332
  * @type {string}
333
333
  * @memberof PremiumFormulasApiListPremiumFormulas
334
334
  */