@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.
- package/.openapi-generator/FILES +8 -21
- package/README.md +2 -2
- package/api/booking-funnels-api.ts +4 -4
- package/api/default-api.ts +4 -8
- package/api/insured-object-types-api.ts +4 -4
- package/api/insured-objects-api.ts +6 -9
- package/api/lead-statuses-api.ts +12 -96
- package/api/named-ranges-api.ts +4 -4
- package/api/policies-api.ts +180 -167
- package/api/policy-partner-roles-api.ts +683 -0
- package/api/premium-formulas-api.ts +4 -4
- package/api/product-factors-api.ts +4 -4
- package/api/product-fields-api.ts +8 -8
- package/api/products-api.ts +12 -12
- package/api.ts +2 -4
- package/dist/api/booking-funnels-api.d.ts +4 -4
- package/dist/api/booking-funnels-api.js +4 -4
- package/dist/api/default-api.d.ts +4 -8
- package/dist/api/default-api.js +4 -8
- package/dist/api/insured-object-types-api.d.ts +4 -4
- package/dist/api/insured-object-types-api.js +3 -3
- package/dist/api/insured-objects-api.d.ts +4 -4
- package/dist/api/insured-objects-api.js +5 -7
- package/dist/api/lead-statuses-api.d.ts +9 -63
- package/dist/api/lead-statuses-api.js +9 -45
- package/dist/api/named-ranges-api.d.ts +4 -4
- package/dist/api/named-ranges-api.js +3 -3
- package/dist/api/policies-api.d.ts +140 -131
- package/dist/api/policies-api.js +120 -114
- package/dist/api/policy-partner-roles-api.d.ts +385 -0
- package/dist/api/{partner-roles-api.js → policy-partner-roles-api.js} +139 -139
- package/dist/api/premium-formulas-api.d.ts +4 -4
- package/dist/api/premium-formulas-api.js +3 -3
- package/dist/api/product-factors-api.d.ts +4 -4
- package/dist/api/product-factors-api.js +3 -3
- package/dist/api/product-fields-api.d.ts +8 -8
- package/dist/api/product-fields-api.js +6 -6
- package/dist/api/products-api.d.ts +12 -12
- package/dist/api/products-api.js +9 -9
- package/dist/api.d.ts +1 -2
- package/dist/api.js +1 -2
- package/dist/models/booking-funnel-class.d.ts +1 -1
- package/dist/models/create-booking-funnel-request-dto.d.ts +1 -1
- package/dist/models/{update-partner-role-request-dto.d.ts → create-policy-partner-role-request-dto.d.ts} +6 -6
- package/dist/models/{emil-function-secret-class.d.ts → create-policy-partner-role-response-class.d.ts} +7 -12
- package/dist/models/create-product-request-dto.d.ts +1 -1
- package/dist/models/{create-partner-role-response-class.d.ts → get-policy-partner-role-response-class.d.ts} +7 -7
- package/dist/models/get-product-request-dto.d.ts +1 -1
- package/dist/models/index.d.ts +7 -19
- package/dist/models/index.js +7 -19
- package/dist/models/insured-object-type-class.d.ts +1 -1
- package/dist/models/invoice-item-class.d.ts +0 -12
- package/dist/models/lead-class.d.ts +1 -8
- package/dist/models/lead-status-class.d.ts +1 -1
- package/dist/models/{list-emil-functions-response-class.d.ts → list-policy-partner-roles-response-class.d.ts} +8 -8
- package/dist/models/list-policy-versions-request-dto.d.ts +1 -1
- package/dist/models/list-request-dto.d.ts +1 -1
- package/dist/models/patch-draft-policy-request-dto.d.ts +1 -1
- package/dist/models/policy-class.d.ts +0 -7
- package/dist/models/{partner-role-class.d.ts → policy-partner-role-class.d.ts} +10 -10
- package/dist/models/product-class.d.ts +1 -1
- package/dist/models/shared-update-named-range-request-dto.d.ts +1 -1
- package/dist/models/status-transition-rule-class.d.ts +1 -1
- package/dist/models/update-named-range-request-dto.d.ts +1 -1
- package/dist/models/{create-partner-role-request-dto.d.ts → update-policy-partner-role-request-dto.d.ts} +6 -6
- package/dist/models/{execute-emil-function-request-dto.d.ts → update-policy-partner-role-response-class.d.ts} +7 -6
- package/dist/models/update-product-request-dto.d.ts +1 -1
- package/models/booking-funnel-class.ts +1 -1
- package/models/create-booking-funnel-request-dto.ts +1 -1
- package/models/{update-partner-role-request-dto.ts → create-policy-partner-role-request-dto.ts} +6 -6
- package/models/{emil-function-secret-class.ts → create-policy-partner-role-response-class.ts} +7 -12
- package/models/create-product-request-dto.ts +1 -1
- package/models/{create-partner-role-response-class.ts → get-policy-partner-role-response-class.ts} +7 -7
- package/models/get-product-request-dto.ts +1 -1
- package/models/index.ts +7 -19
- package/models/insured-object-type-class.ts +1 -1
- package/models/invoice-item-class.ts +0 -12
- package/models/lead-class.ts +1 -8
- package/models/lead-status-class.ts +1 -1
- package/models/{list-emil-functions-response-class.ts → list-policy-partner-roles-response-class.ts} +8 -8
- package/models/list-policy-versions-request-dto.ts +1 -1
- package/models/list-request-dto.ts +1 -1
- package/models/patch-draft-policy-request-dto.ts +1 -1
- package/models/policy-class.ts +0 -7
- package/models/{partner-role-class.ts → policy-partner-role-class.ts} +10 -10
- package/models/product-class.ts +1 -1
- package/models/shared-update-named-range-request-dto.ts +1 -1
- package/models/status-transition-rule-class.ts +1 -1
- package/models/update-named-range-request-dto.ts +1 -1
- package/models/{create-partner-role-request-dto.ts → update-policy-partner-role-request-dto.ts} +6 -6
- package/models/{execute-emil-function-request-dto.ts → update-policy-partner-role-response-class.ts} +7 -6
- package/models/update-product-request-dto.ts +1 -1
- package/package.json +1 -1
- package/api/emil-functions-api.ts +0 -1314
- package/api/partner-roles-api.ts +0 -683
- package/dist/api/emil-functions-api.d.ts +0 -727
- package/dist/api/emil-functions-api.js +0 -1202
- package/dist/api/partner-roles-api.d.ts +0 -385
- package/dist/models/create-emil-function-request-dto.d.ts +0 -42
- package/dist/models/create-emil-function-secret-request-dto.d.ts +0 -36
- package/dist/models/emil-function-class.d.ts +0 -60
- package/dist/models/get-emil-function-secret-response-class.d.ts +0 -24
- package/dist/models/get-emil-function-secret-response-class.js +0 -15
- package/dist/models/get-partner-role-response-class.d.ts +0 -25
- package/dist/models/get-partner-role-response-class.js +0 -15
- package/dist/models/list-emil-function-secrets-response-class.d.ts +0 -25
- package/dist/models/list-emil-function-secrets-response-class.js +0 -15
- package/dist/models/list-emil-functions-response-class.js +0 -15
- package/dist/models/list-partner-roles-response-class.d.ts +0 -31
- package/dist/models/list-partner-roles-response-class.js +0 -15
- package/dist/models/partner-class.d.ts +0 -60
- package/dist/models/partner-class.js +0 -15
- package/dist/models/partner-link-class.d.ts +0 -86
- package/dist/models/partner-link-class.js +0 -15
- package/dist/models/partner-role-class.js +0 -15
- package/dist/models/update-emil-function-request-dto.d.ts +0 -42
- package/dist/models/update-emil-function-request-dto.js +0 -15
- package/dist/models/update-emil-function-secret-request-dto.d.ts +0 -30
- package/dist/models/update-emil-function-secret-request-dto.js +0 -15
- package/dist/models/update-partner-role-request-dto.js +0 -15
- package/dist/models/update-partner-role-response-class.d.ts +0 -25
- package/dist/models/update-partner-role-response-class.js +0 -15
- package/models/create-emil-function-request-dto.ts +0 -48
- package/models/create-emil-function-secret-request-dto.ts +0 -42
- package/models/emil-function-class.ts +0 -66
- package/models/get-emil-function-secret-response-class.ts +0 -30
- package/models/get-partner-role-response-class.ts +0 -31
- package/models/list-emil-function-secrets-response-class.ts +0 -31
- package/models/list-partner-roles-response-class.ts +0 -37
- package/models/partner-class.ts +0 -66
- package/models/partner-link-class.ts +0 -92
- package/models/update-emil-function-request-dto.ts +0 -48
- package/models/update-emil-function-secret-request-dto.ts +0 -36
- package/models/update-partner-role-response-class.ts +0 -31
- /package/dist/models/{create-emil-function-request-dto.js → create-policy-partner-role-request-dto.js} +0 -0
- /package/dist/models/{create-emil-function-secret-request-dto.js → create-policy-partner-role-response-class.js} +0 -0
- /package/dist/models/{create-partner-role-request-dto.js → get-policy-partner-role-response-class.js} +0 -0
- /package/dist/models/{create-partner-role-response-class.js → list-policy-partner-roles-response-class.js} +0 -0
- /package/dist/models/{emil-function-class.js → policy-partner-role-class.js} +0 -0
- /package/dist/models/{emil-function-secret-class.js → update-policy-partner-role-request-dto.js} +0 -0
- /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.
|
|
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
|
-
*
|
|
93
|
+
* PolicyPartnerRolesApi - axios parameter creator
|
|
94
94
|
* @export
|
|
95
95
|
*/
|
|
96
|
-
var
|
|
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 {
|
|
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
|
-
|
|
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 '
|
|
115
|
-
(0, common_1.assertParamExists)('
|
|
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)(
|
|
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
|
-
|
|
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)('
|
|
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
|
-
|
|
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)('
|
|
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 {
|
|
251
|
-
* @param {
|
|
252
|
-
* @param {
|
|
253
|
-
* @param {
|
|
254
|
-
* @param {string} [filters]
|
|
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
|
-
|
|
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 {
|
|
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
|
-
|
|
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)('
|
|
334
|
-
// verify required parameter '
|
|
335
|
-
(0, common_1.assertParamExists)('
|
|
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)(
|
|
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.
|
|
371
|
+
exports.PolicyPartnerRolesApiAxiosParamCreator = PolicyPartnerRolesApiAxiosParamCreator;
|
|
372
372
|
/**
|
|
373
|
-
*
|
|
373
|
+
* PolicyPartnerRolesApi - functional programming interface
|
|
374
374
|
* @export
|
|
375
375
|
*/
|
|
376
|
-
var
|
|
377
|
-
var localVarAxiosParamCreator = (0, exports.
|
|
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 {
|
|
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
|
-
|
|
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.
|
|
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
|
-
|
|
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.
|
|
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
|
-
|
|
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.
|
|
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 {
|
|
449
|
-
* @param {
|
|
450
|
-
* @param {
|
|
451
|
-
* @param {
|
|
452
|
-
* @param {string} [filters]
|
|
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
|
-
|
|
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.
|
|
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 {
|
|
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
|
-
|
|
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.
|
|
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.
|
|
493
|
+
exports.PolicyPartnerRolesApiFp = PolicyPartnerRolesApiFp;
|
|
494
494
|
/**
|
|
495
|
-
*
|
|
495
|
+
* PolicyPartnerRolesApi - factory interface
|
|
496
496
|
* @export
|
|
497
497
|
*/
|
|
498
|
-
var
|
|
499
|
-
var localVarFp = (0, exports.
|
|
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 {
|
|
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
|
-
|
|
510
|
-
return localVarFp.
|
|
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
|
-
|
|
521
|
-
return localVarFp.
|
|
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
|
-
|
|
532
|
-
return localVarFp.
|
|
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 {
|
|
541
|
-
* @param {
|
|
542
|
-
* @param {
|
|
543
|
-
* @param {
|
|
544
|
-
* @param {string} [filters]
|
|
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
|
-
|
|
549
|
-
return localVarFp.
|
|
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 {
|
|
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
|
-
|
|
561
|
-
return localVarFp.
|
|
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.
|
|
565
|
+
exports.PolicyPartnerRolesApiFactory = PolicyPartnerRolesApiFactory;
|
|
566
566
|
/**
|
|
567
|
-
*
|
|
567
|
+
* PolicyPartnerRolesApi - object-oriented interface
|
|
568
568
|
* @export
|
|
569
|
-
* @class
|
|
569
|
+
* @class PolicyPartnerRolesApi
|
|
570
570
|
* @extends {BaseAPI}
|
|
571
571
|
*/
|
|
572
|
-
var
|
|
573
|
-
__extends(
|
|
574
|
-
function
|
|
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 {
|
|
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
|
|
583
|
+
* @memberof PolicyPartnerRolesApi
|
|
584
584
|
*/
|
|
585
|
-
|
|
585
|
+
PolicyPartnerRolesApi.prototype.createPolicyPartnerRole = function (requestParameters, options) {
|
|
586
586
|
var _this = this;
|
|
587
|
-
return (0, exports.
|
|
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 {
|
|
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
|
|
595
|
+
* @memberof PolicyPartnerRolesApi
|
|
596
596
|
*/
|
|
597
|
-
|
|
597
|
+
PolicyPartnerRolesApi.prototype.deletePolicyPartnerRole = function (requestParameters, options) {
|
|
598
598
|
var _this = this;
|
|
599
|
-
return (0, exports.
|
|
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 {
|
|
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
|
|
607
|
+
* @memberof PolicyPartnerRolesApi
|
|
608
608
|
*/
|
|
609
|
-
|
|
609
|
+
PolicyPartnerRolesApi.prototype.getPolicyPartnerRole = function (requestParameters, options) {
|
|
610
610
|
var _this = this;
|
|
611
|
-
return (0, exports.
|
|
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 {
|
|
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
|
|
619
|
+
* @memberof PolicyPartnerRolesApi
|
|
620
620
|
*/
|
|
621
|
-
|
|
621
|
+
PolicyPartnerRolesApi.prototype.listPolicyPartnerRole = function (requestParameters, options) {
|
|
622
622
|
var _this = this;
|
|
623
623
|
if (requestParameters === void 0) { requestParameters = {}; }
|
|
624
|
-
return (0, exports.
|
|
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 {
|
|
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
|
|
632
|
+
* @memberof PolicyPartnerRolesApi
|
|
633
633
|
*/
|
|
634
|
-
|
|
634
|
+
PolicyPartnerRolesApi.prototype.updatePolicyPartnerRole = function (requestParameters, options) {
|
|
635
635
|
var _this = this;
|
|
636
|
-
return (0, exports.
|
|
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
|
|
638
|
+
return PolicyPartnerRolesApi;
|
|
639
639
|
}(base_1.BaseAPI));
|
|
640
|
-
exports.
|
|
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]
|
|
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]
|
|
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]
|
|
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
|
-
*
|
|
331
|
+
*
|
|
332
332
|
* @type {string}
|
|
333
333
|
* @memberof PremiumFormulasApiListPremiumFormulas
|
|
334
334
|
*/
|