@emilgroup/insurance-sdk-node 1.104.1-beta.11 → 1.104.1-beta.110
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 +5 -2
- package/README.md +2 -2
- package/api/booking-funnel-versions-api.ts +8 -4
- package/api/booking-funnels-api.ts +24 -12
- package/api/commission-agreement-items-api.ts +20 -10
- package/api/commission-agreement-products-api.ts +20 -10
- package/api/commission-agreement-versions-api.ts +16 -8
- package/api/commission-agreements-api.ts +20 -10
- package/api/commission-recipients-api.ts +20 -10
- package/api/emil-functions-api.ts +44 -22
- package/api/health-check-api.ts +6 -10
- package/api/insured-object-types-api.ts +4 -2
- package/api/insured-objects-api.ts +16 -8
- package/api/lead-statuses-api.ts +20 -10
- package/api/lead-versions-api.ts +8 -4
- package/api/leads-api.ts +44 -24
- package/api/named-ranges-api.ts +24 -12
- package/api/partner-links-api.ts +24 -12
- package/api/partner-roles-api.ts +20 -10
- package/api/policies-api.ts +100 -66
- package/api/premium-calculation-api.ts +171 -0
- package/api/premium-formulas-api.ts +24 -12
- package/api/product-configs-api.ts +24 -12
- package/api/product-factors-api.ts +28 -14
- package/api/product-fields-api.ts +28 -14
- package/api/product-versions-api.ts +8 -4
- package/api/products-api.ts +24 -12
- package/api/status-transition-rules-api.ts +24 -12
- package/api.ts +2 -0
- package/dist/api/booking-funnel-versions-api.js +11 -7
- package/dist/api/booking-funnels-api.js +39 -23
- package/dist/api/commission-agreement-items-api.js +29 -18
- package/dist/api/commission-agreement-products-api.js +29 -18
- package/dist/api/commission-agreement-versions-api.js +22 -14
- package/dist/api/commission-agreements-api.js +29 -18
- package/dist/api/commission-recipients-api.js +32 -19
- package/dist/api/emil-functions-api.js +74 -43
- package/dist/api/health-check-api.d.ts +7 -8
- package/dist/api/health-check-api.js +4 -4
- package/dist/api/insured-object-types-api.js +4 -3
- package/dist/api/insured-objects-api.js +22 -14
- package/dist/api/lead-statuses-api.js +32 -19
- package/dist/api/lead-versions-api.js +11 -7
- package/dist/api/leads-api.d.ts +4 -4
- package/dist/api/leads-api.js +67 -41
- package/dist/api/named-ranges-api.js +36 -22
- package/dist/api/partner-links-api.js +36 -22
- package/dist/api/partner-roles-api.js +32 -19
- package/dist/api/policies-api.d.ts +32 -32
- package/dist/api/policies-api.js +129 -90
- package/dist/api/premium-calculation-api.d.ts +97 -0
- package/dist/api/premium-calculation-api.js +231 -0
- package/dist/api/premium-formulas-api.js +39 -23
- package/dist/api/product-configs-api.js +39 -23
- package/dist/api/product-factors-api.js +37 -24
- package/dist/api/product-fields-api.js +43 -26
- package/dist/api/product-versions-api.js +11 -7
- package/dist/api/products-api.js +33 -21
- package/dist/api/status-transition-rules-api.js +36 -22
- package/dist/api.d.ts +1 -0
- package/dist/api.js +1 -0
- package/dist/models/calculate-premium-response-class.d.ts +39 -0
- package/dist/models/calculated-policy-objects-class.d.ts +25 -0
- package/dist/models/claim-config-class.d.ts +7 -0
- package/dist/models/create-draft-policy-request-dto.d.ts +1 -1
- package/dist/models/create-premium-formula-request-dto.d.ts +6 -0
- package/dist/models/create-product-request-dto.d.ts +12 -0
- package/dist/models/create-product-version-request-dto.d.ts +6 -0
- package/dist/models/get-draft-policy-request-dto.d.ts +1 -1
- package/dist/models/index.d.ts +4 -2
- package/dist/models/index.js +4 -2
- package/dist/models/partner-class.d.ts +6 -0
- package/dist/models/patch-draft-policy-request-dto.d.ts +2 -2
- package/dist/models/policy-object-dto.d.ts +1 -1
- package/dist/models/policy-premium-item-class.d.ts +1 -1
- package/dist/models/premium-formula-class.d.ts +6 -0
- package/dist/models/regulation-subtype-class.d.ts +30 -0
- package/dist/models/regulation-subtype-class.js +15 -0
- package/dist/models/regulation-subtypes-class.d.ts +37 -0
- package/dist/models/regulation-subtypes-class.js +15 -0
- package/models/calculate-premium-response-class.ts +45 -0
- package/models/calculated-policy-objects-class.ts +31 -0
- package/models/claim-config-class.ts +7 -0
- package/models/create-draft-policy-request-dto.ts +1 -1
- package/models/create-premium-formula-request-dto.ts +6 -0
- package/models/create-product-request-dto.ts +12 -0
- package/models/create-product-version-request-dto.ts +6 -0
- package/models/get-draft-policy-request-dto.ts +1 -1
- package/models/index.ts +4 -2
- package/models/partner-class.ts +6 -0
- package/models/patch-draft-policy-request-dto.ts +2 -2
- package/models/policy-object-dto.ts +1 -1
- package/models/policy-premium-item-class.ts +1 -1
- package/models/premium-formula-class.ts +6 -0
- package/models/regulation-subtype-class.ts +36 -0
- package/models/regulation-subtypes-class.ts +43 -0
- package/package.json +1 -1
- package/dist/models/inline-response200.d.ts +0 -54
- package/dist/models/inline-response503.d.ts +0 -54
- package/models/inline-response200.ts +0 -48
- package/models/inline-response503.ts +0 -48
- /package/dist/models/{inline-response200.js → calculate-premium-response-class.js} +0 -0
- /package/dist/models/{inline-response503.js → calculated-policy-objects-class.js} +0 -0
|
@@ -0,0 +1,171 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* EMIL InsuranceService
|
|
5
|
+
* The EMIL InsuranceService API description
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: 1.0
|
|
8
|
+
* Contact: kontakt@emil.de
|
|
9
|
+
*
|
|
10
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
+
* https://openapi-generator.tech
|
|
12
|
+
* Do not edit the class manually.
|
|
13
|
+
*/
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
import globalAxios, { AxiosPromise, AxiosInstance, AxiosRequestConfig } from 'axios';
|
|
17
|
+
import { Configuration } from '../configuration';
|
|
18
|
+
// Some imports not used depending on template conditions
|
|
19
|
+
// @ts-ignore
|
|
20
|
+
import { DUMMY_BASE_URL, assertParamExists, setApiKeyToObject, setBasicAuthToObject, setBearerAuthToObject, setOAuthToObject, setSearchParams, serializeDataIfNeeded, toPathString, createRequestFunction } from '../common';
|
|
21
|
+
// @ts-ignore
|
|
22
|
+
import { BASE_PATH, COLLECTION_FORMATS, RequestArgs, BaseAPI, RequiredError } from '../base';
|
|
23
|
+
// @ts-ignore
|
|
24
|
+
import { CalculatePremiumRequestDto } from '../models';
|
|
25
|
+
// @ts-ignore
|
|
26
|
+
import { CalculatePremiumResponseClass } from '../models';
|
|
27
|
+
// URLSearchParams not necessarily used
|
|
28
|
+
// @ts-ignore
|
|
29
|
+
import { URL, URLSearchParams } from 'url';
|
|
30
|
+
const FormData = require('form-data');
|
|
31
|
+
/**
|
|
32
|
+
* PremiumCalculationApi - axios parameter creator
|
|
33
|
+
* @export
|
|
34
|
+
*/
|
|
35
|
+
export const PremiumCalculationApiAxiosParamCreator = function (configuration?: Configuration) {
|
|
36
|
+
return {
|
|
37
|
+
/**
|
|
38
|
+
* Calculates the premium for a set of policy objects under a given product version, without creating or persisting a policy. Use this to quote a premium ahead of policy/lead creation. An optional premiumOverride can be supplied to calculate against manually overridden premium values instead of the product\'s own rating. **Required Permissions** \"policy-management.policies.view\"
|
|
39
|
+
* @summary Calculate premium
|
|
40
|
+
* @param {CalculatePremiumRequestDto} calculatePremiumRequestDto
|
|
41
|
+
* @param {string} [authorization] Bearer Token
|
|
42
|
+
* @param {*} [options] Override http request option.
|
|
43
|
+
* @throws {RequiredError}
|
|
44
|
+
*/
|
|
45
|
+
calculatePremium: async (calculatePremiumRequestDto: CalculatePremiumRequestDto, authorization?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
46
|
+
// verify required parameter 'calculatePremiumRequestDto' is not null or undefined
|
|
47
|
+
assertParamExists('calculatePremium', 'calculatePremiumRequestDto', calculatePremiumRequestDto)
|
|
48
|
+
const localVarPath = `/insuranceservice/v1/calculate-premium`;
|
|
49
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
50
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
51
|
+
let baseOptions;
|
|
52
|
+
let baseAccessToken;
|
|
53
|
+
if (configuration) {
|
|
54
|
+
baseOptions = configuration.baseOptions;
|
|
55
|
+
baseAccessToken = configuration.accessToken;
|
|
56
|
+
}
|
|
57
|
+
|
|
58
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
|
|
59
|
+
const localVarHeaderParameter = {} as any;
|
|
60
|
+
const localVarQueryParameter = {} as any;
|
|
61
|
+
|
|
62
|
+
// authentication bearer required
|
|
63
|
+
// http bearer authentication required
|
|
64
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
65
|
+
|
|
66
|
+
// Only Authorization falls back to the configured token; an empty value is never sent.
|
|
67
|
+
const authorizationValue = 'Authorization'.toLowerCase() === 'authorization' ? (authorization || baseAccessToken) : authorization;
|
|
68
|
+
if (authorizationValue) {
|
|
69
|
+
localVarHeaderParameter['Authorization'] = String(authorizationValue);
|
|
70
|
+
}
|
|
71
|
+
|
|
72
|
+
|
|
73
|
+
|
|
74
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
75
|
+
|
|
76
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
77
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
78
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
79
|
+
localVarRequestOptions.data = serializeDataIfNeeded(calculatePremiumRequestDto, localVarRequestOptions, configuration)
|
|
80
|
+
|
|
81
|
+
return {
|
|
82
|
+
url: toPathString(localVarUrlObj),
|
|
83
|
+
options: localVarRequestOptions,
|
|
84
|
+
};
|
|
85
|
+
},
|
|
86
|
+
}
|
|
87
|
+
};
|
|
88
|
+
|
|
89
|
+
/**
|
|
90
|
+
* PremiumCalculationApi - functional programming interface
|
|
91
|
+
* @export
|
|
92
|
+
*/
|
|
93
|
+
export const PremiumCalculationApiFp = function(configuration?: Configuration) {
|
|
94
|
+
const localVarAxiosParamCreator = PremiumCalculationApiAxiosParamCreator(configuration)
|
|
95
|
+
return {
|
|
96
|
+
/**
|
|
97
|
+
* Calculates the premium for a set of policy objects under a given product version, without creating or persisting a policy. Use this to quote a premium ahead of policy/lead creation. An optional premiumOverride can be supplied to calculate against manually overridden premium values instead of the product\'s own rating. **Required Permissions** \"policy-management.policies.view\"
|
|
98
|
+
* @summary Calculate premium
|
|
99
|
+
* @param {CalculatePremiumRequestDto} calculatePremiumRequestDto
|
|
100
|
+
* @param {string} [authorization] Bearer Token
|
|
101
|
+
* @param {*} [options] Override http request option.
|
|
102
|
+
* @throws {RequiredError}
|
|
103
|
+
*/
|
|
104
|
+
async calculatePremium(calculatePremiumRequestDto: CalculatePremiumRequestDto, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CalculatePremiumResponseClass>> {
|
|
105
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.calculatePremium(calculatePremiumRequestDto, authorization, options);
|
|
106
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
107
|
+
},
|
|
108
|
+
}
|
|
109
|
+
};
|
|
110
|
+
|
|
111
|
+
/**
|
|
112
|
+
* PremiumCalculationApi - factory interface
|
|
113
|
+
* @export
|
|
114
|
+
*/
|
|
115
|
+
export const PremiumCalculationApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) {
|
|
116
|
+
const localVarFp = PremiumCalculationApiFp(configuration)
|
|
117
|
+
return {
|
|
118
|
+
/**
|
|
119
|
+
* Calculates the premium for a set of policy objects under a given product version, without creating or persisting a policy. Use this to quote a premium ahead of policy/lead creation. An optional premiumOverride can be supplied to calculate against manually overridden premium values instead of the product\'s own rating. **Required Permissions** \"policy-management.policies.view\"
|
|
120
|
+
* @summary Calculate premium
|
|
121
|
+
* @param {CalculatePremiumRequestDto} calculatePremiumRequestDto
|
|
122
|
+
* @param {string} [authorization] Bearer Token
|
|
123
|
+
* @param {*} [options] Override http request option.
|
|
124
|
+
* @throws {RequiredError}
|
|
125
|
+
*/
|
|
126
|
+
calculatePremium(calculatePremiumRequestDto: CalculatePremiumRequestDto, authorization?: string, options?: any): AxiosPromise<CalculatePremiumResponseClass> {
|
|
127
|
+
return localVarFp.calculatePremium(calculatePremiumRequestDto, authorization, options).then((request) => request(axios, basePath));
|
|
128
|
+
},
|
|
129
|
+
};
|
|
130
|
+
};
|
|
131
|
+
|
|
132
|
+
/**
|
|
133
|
+
* Request parameters for calculatePremium operation in PremiumCalculationApi.
|
|
134
|
+
* @export
|
|
135
|
+
* @interface PremiumCalculationApiCalculatePremiumRequest
|
|
136
|
+
*/
|
|
137
|
+
export interface PremiumCalculationApiCalculatePremiumRequest {
|
|
138
|
+
/**
|
|
139
|
+
*
|
|
140
|
+
* @type {CalculatePremiumRequestDto}
|
|
141
|
+
* @memberof PremiumCalculationApiCalculatePremium
|
|
142
|
+
*/
|
|
143
|
+
readonly calculatePremiumRequestDto: CalculatePremiumRequestDto
|
|
144
|
+
|
|
145
|
+
/**
|
|
146
|
+
* Bearer Token
|
|
147
|
+
* @type {string}
|
|
148
|
+
* @memberof PremiumCalculationApiCalculatePremium
|
|
149
|
+
*/
|
|
150
|
+
readonly authorization?: string
|
|
151
|
+
}
|
|
152
|
+
|
|
153
|
+
/**
|
|
154
|
+
* PremiumCalculationApi - object-oriented interface
|
|
155
|
+
* @export
|
|
156
|
+
* @class PremiumCalculationApi
|
|
157
|
+
* @extends {BaseAPI}
|
|
158
|
+
*/
|
|
159
|
+
export class PremiumCalculationApi extends BaseAPI {
|
|
160
|
+
/**
|
|
161
|
+
* Calculates the premium for a set of policy objects under a given product version, without creating or persisting a policy. Use this to quote a premium ahead of policy/lead creation. An optional premiumOverride can be supplied to calculate against manually overridden premium values instead of the product\'s own rating. **Required Permissions** \"policy-management.policies.view\"
|
|
162
|
+
* @summary Calculate premium
|
|
163
|
+
* @param {PremiumCalculationApiCalculatePremiumRequest} requestParameters Request parameters.
|
|
164
|
+
* @param {*} [options] Override http request option.
|
|
165
|
+
* @throws {RequiredError}
|
|
166
|
+
* @memberof PremiumCalculationApi
|
|
167
|
+
*/
|
|
168
|
+
public calculatePremium(requestParameters: PremiumCalculationApiCalculatePremiumRequest, options?: AxiosRequestConfig) {
|
|
169
|
+
return PremiumCalculationApiFp(this.configuration).calculatePremium(requestParameters.calculatePremiumRequestDto, requestParameters.authorization, options).then((request) => request(this.axios, this.basePath));
|
|
170
|
+
}
|
|
171
|
+
}
|
|
@@ -77,8 +77,10 @@ export const PremiumFormulasApiAxiosParamCreator = function (configuration?: Con
|
|
|
77
77
|
// http bearer authentication required
|
|
78
78
|
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
79
79
|
|
|
80
|
-
|
|
81
|
-
|
|
80
|
+
// Only Authorization falls back to the configured token; an empty value is never sent.
|
|
81
|
+
const authorizationValue = 'Authorization'.toLowerCase() === 'authorization' ? (authorization || baseAccessToken) : authorization;
|
|
82
|
+
if (authorizationValue) {
|
|
83
|
+
localVarHeaderParameter['Authorization'] = String(authorizationValue);
|
|
82
84
|
}
|
|
83
85
|
|
|
84
86
|
|
|
@@ -125,8 +127,10 @@ export const PremiumFormulasApiAxiosParamCreator = function (configuration?: Con
|
|
|
125
127
|
// http bearer authentication required
|
|
126
128
|
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
127
129
|
|
|
128
|
-
|
|
129
|
-
|
|
130
|
+
// Only Authorization falls back to the configured token; an empty value is never sent.
|
|
131
|
+
const authorizationValue = 'Authorization'.toLowerCase() === 'authorization' ? (authorization || baseAccessToken) : authorization;
|
|
132
|
+
if (authorizationValue) {
|
|
133
|
+
localVarHeaderParameter['Authorization'] = String(authorizationValue);
|
|
130
134
|
}
|
|
131
135
|
|
|
132
136
|
|
|
@@ -170,8 +174,10 @@ export const PremiumFormulasApiAxiosParamCreator = function (configuration?: Con
|
|
|
170
174
|
// http bearer authentication required
|
|
171
175
|
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
172
176
|
|
|
173
|
-
|
|
174
|
-
|
|
177
|
+
// Only Authorization falls back to the configured token; an empty value is never sent.
|
|
178
|
+
const authorizationValue = 'Authorization'.toLowerCase() === 'authorization' ? (authorization || baseAccessToken) : authorization;
|
|
179
|
+
if (authorizationValue) {
|
|
180
|
+
localVarHeaderParameter['Authorization'] = String(authorizationValue);
|
|
175
181
|
}
|
|
176
182
|
|
|
177
183
|
|
|
@@ -246,8 +252,10 @@ export const PremiumFormulasApiAxiosParamCreator = function (configuration?: Con
|
|
|
246
252
|
localVarQueryParameter['filters'] = filters;
|
|
247
253
|
}
|
|
248
254
|
|
|
249
|
-
|
|
250
|
-
|
|
255
|
+
// Only Authorization falls back to the configured token; an empty value is never sent.
|
|
256
|
+
const authorizationValue = 'Authorization'.toLowerCase() === 'authorization' ? (authorization || baseAccessToken) : authorization;
|
|
257
|
+
if (authorizationValue) {
|
|
258
|
+
localVarHeaderParameter['Authorization'] = String(authorizationValue);
|
|
251
259
|
}
|
|
252
260
|
|
|
253
261
|
|
|
@@ -290,8 +298,10 @@ export const PremiumFormulasApiAxiosParamCreator = function (configuration?: Con
|
|
|
290
298
|
// http bearer authentication required
|
|
291
299
|
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
292
300
|
|
|
293
|
-
|
|
294
|
-
|
|
301
|
+
// Only Authorization falls back to the configured token; an empty value is never sent.
|
|
302
|
+
const authorizationValue = 'Authorization'.toLowerCase() === 'authorization' ? (authorization || baseAccessToken) : authorization;
|
|
303
|
+
if (authorizationValue) {
|
|
304
|
+
localVarHeaderParameter['Authorization'] = String(authorizationValue);
|
|
295
305
|
}
|
|
296
306
|
|
|
297
307
|
|
|
@@ -341,8 +351,10 @@ export const PremiumFormulasApiAxiosParamCreator = function (configuration?: Con
|
|
|
341
351
|
// http bearer authentication required
|
|
342
352
|
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
343
353
|
|
|
344
|
-
|
|
345
|
-
|
|
354
|
+
// Only Authorization falls back to the configured token; an empty value is never sent.
|
|
355
|
+
const authorizationValue = 'Authorization'.toLowerCase() === 'authorization' ? (authorization || baseAccessToken) : authorization;
|
|
356
|
+
if (authorizationValue) {
|
|
357
|
+
localVarHeaderParameter['Authorization'] = String(authorizationValue);
|
|
346
358
|
}
|
|
347
359
|
|
|
348
360
|
|
|
@@ -77,8 +77,10 @@ export const ProductConfigsApiAxiosParamCreator = function (configuration?: Conf
|
|
|
77
77
|
// http bearer authentication required
|
|
78
78
|
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
79
79
|
|
|
80
|
-
|
|
81
|
-
|
|
80
|
+
// Only Authorization falls back to the configured token; an empty value is never sent.
|
|
81
|
+
const authorizationValue = 'Authorization'.toLowerCase() === 'authorization' ? (authorization || baseAccessToken) : authorization;
|
|
82
|
+
if (authorizationValue) {
|
|
83
|
+
localVarHeaderParameter['Authorization'] = String(authorizationValue);
|
|
82
84
|
}
|
|
83
85
|
|
|
84
86
|
|
|
@@ -131,8 +133,10 @@ export const ProductConfigsApiAxiosParamCreator = function (configuration?: Conf
|
|
|
131
133
|
// http bearer authentication required
|
|
132
134
|
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
133
135
|
|
|
134
|
-
|
|
135
|
-
|
|
136
|
+
// Only Authorization falls back to the configured token; an empty value is never sent.
|
|
137
|
+
const authorizationValue = 'Authorization'.toLowerCase() === 'authorization' ? (authorization || baseAccessToken) : authorization;
|
|
138
|
+
if (authorizationValue) {
|
|
139
|
+
localVarHeaderParameter['Authorization'] = String(authorizationValue);
|
|
136
140
|
}
|
|
137
141
|
|
|
138
142
|
|
|
@@ -192,8 +196,10 @@ export const ProductConfigsApiAxiosParamCreator = function (configuration?: Conf
|
|
|
192
196
|
// http bearer authentication required
|
|
193
197
|
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
194
198
|
|
|
195
|
-
|
|
196
|
-
|
|
199
|
+
// Only Authorization falls back to the configured token; an empty value is never sent.
|
|
200
|
+
const authorizationValue = 'Authorization'.toLowerCase() === 'authorization' ? (authorization || baseAccessToken) : authorization;
|
|
201
|
+
if (authorizationValue) {
|
|
202
|
+
localVarHeaderParameter['Authorization'] = String(authorizationValue);
|
|
197
203
|
}
|
|
198
204
|
|
|
199
205
|
|
|
@@ -237,8 +243,10 @@ export const ProductConfigsApiAxiosParamCreator = function (configuration?: Conf
|
|
|
237
243
|
// http bearer authentication required
|
|
238
244
|
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
239
245
|
|
|
240
|
-
|
|
241
|
-
|
|
246
|
+
// Only Authorization falls back to the configured token; an empty value is never sent.
|
|
247
|
+
const authorizationValue = 'Authorization'.toLowerCase() === 'authorization' ? (authorization || baseAccessToken) : authorization;
|
|
248
|
+
if (authorizationValue) {
|
|
249
|
+
localVarHeaderParameter['Authorization'] = String(authorizationValue);
|
|
242
250
|
}
|
|
243
251
|
|
|
244
252
|
|
|
@@ -313,8 +321,10 @@ export const ProductConfigsApiAxiosParamCreator = function (configuration?: Conf
|
|
|
313
321
|
localVarQueryParameter['filters'] = filters;
|
|
314
322
|
}
|
|
315
323
|
|
|
316
|
-
|
|
317
|
-
|
|
324
|
+
// Only Authorization falls back to the configured token; an empty value is never sent.
|
|
325
|
+
const authorizationValue = 'Authorization'.toLowerCase() === 'authorization' ? (authorization || baseAccessToken) : authorization;
|
|
326
|
+
if (authorizationValue) {
|
|
327
|
+
localVarHeaderParameter['Authorization'] = String(authorizationValue);
|
|
318
328
|
}
|
|
319
329
|
|
|
320
330
|
|
|
@@ -363,8 +373,10 @@ export const ProductConfigsApiAxiosParamCreator = function (configuration?: Conf
|
|
|
363
373
|
// http bearer authentication required
|
|
364
374
|
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
365
375
|
|
|
366
|
-
|
|
367
|
-
|
|
376
|
+
// Only Authorization falls back to the configured token; an empty value is never sent.
|
|
377
|
+
const authorizationValue = 'Authorization'.toLowerCase() === 'authorization' ? (authorization || baseAccessToken) : authorization;
|
|
378
|
+
if (authorizationValue) {
|
|
379
|
+
localVarHeaderParameter['Authorization'] = String(authorizationValue);
|
|
368
380
|
}
|
|
369
381
|
|
|
370
382
|
|
|
@@ -73,8 +73,10 @@ export const ProductFactorsApiAxiosParamCreator = function (configuration?: Conf
|
|
|
73
73
|
// http bearer authentication required
|
|
74
74
|
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
75
75
|
|
|
76
|
-
|
|
77
|
-
|
|
76
|
+
// Only Authorization falls back to the configured token; an empty value is never sent.
|
|
77
|
+
const authorizationValue = 'Authorization'.toLowerCase() === 'authorization' ? (authorization || baseAccessToken) : authorization;
|
|
78
|
+
if (authorizationValue) {
|
|
79
|
+
localVarHeaderParameter['Authorization'] = String(authorizationValue);
|
|
78
80
|
}
|
|
79
81
|
|
|
80
82
|
|
|
@@ -130,8 +132,10 @@ export const ProductFactorsApiAxiosParamCreator = function (configuration?: Conf
|
|
|
130
132
|
localVarQueryParameter['expand'] = expand;
|
|
131
133
|
}
|
|
132
134
|
|
|
133
|
-
|
|
134
|
-
|
|
135
|
+
// Only Authorization falls back to the configured token; an empty value is never sent.
|
|
136
|
+
const authorizationValue = 'Authorization'.toLowerCase() === 'authorization' ? (authorization || baseAccessToken) : authorization;
|
|
137
|
+
if (authorizationValue) {
|
|
138
|
+
localVarHeaderParameter['Authorization'] = String(authorizationValue);
|
|
135
139
|
}
|
|
136
140
|
|
|
137
141
|
|
|
@@ -199,8 +203,10 @@ export const ProductFactorsApiAxiosParamCreator = function (configuration?: Conf
|
|
|
199
203
|
localVarQueryParameter['name'] = name;
|
|
200
204
|
}
|
|
201
205
|
|
|
202
|
-
|
|
203
|
-
|
|
206
|
+
// Only Authorization falls back to the configured token; an empty value is never sent.
|
|
207
|
+
const authorizationValue = 'Authorization'.toLowerCase() === 'authorization' ? (authorization || baseAccessToken) : authorization;
|
|
208
|
+
if (authorizationValue) {
|
|
209
|
+
localVarHeaderParameter['Authorization'] = String(authorizationValue);
|
|
204
210
|
}
|
|
205
211
|
|
|
206
212
|
|
|
@@ -259,8 +265,10 @@ export const ProductFactorsApiAxiosParamCreator = function (configuration?: Conf
|
|
|
259
265
|
localVarQueryParameter['forPublic'] = forPublic;
|
|
260
266
|
}
|
|
261
267
|
|
|
262
|
-
|
|
263
|
-
|
|
268
|
+
// Only Authorization falls back to the configured token; an empty value is never sent.
|
|
269
|
+
const authorizationValue = 'Authorization'.toLowerCase() === 'authorization' ? (authorization || baseAccessToken) : authorization;
|
|
270
|
+
if (authorizationValue) {
|
|
271
|
+
localVarHeaderParameter['Authorization'] = String(authorizationValue);
|
|
264
272
|
}
|
|
265
273
|
|
|
266
274
|
|
|
@@ -335,8 +343,10 @@ export const ProductFactorsApiAxiosParamCreator = function (configuration?: Conf
|
|
|
335
343
|
localVarQueryParameter['filters'] = filters;
|
|
336
344
|
}
|
|
337
345
|
|
|
338
|
-
|
|
339
|
-
|
|
346
|
+
// Only Authorization falls back to the configured token; an empty value is never sent.
|
|
347
|
+
const authorizationValue = 'Authorization'.toLowerCase() === 'authorization' ? (authorization || baseAccessToken) : authorization;
|
|
348
|
+
if (authorizationValue) {
|
|
349
|
+
localVarHeaderParameter['Authorization'] = String(authorizationValue);
|
|
340
350
|
}
|
|
341
351
|
|
|
342
352
|
|
|
@@ -379,8 +389,10 @@ export const ProductFactorsApiAxiosParamCreator = function (configuration?: Conf
|
|
|
379
389
|
// http bearer authentication required
|
|
380
390
|
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
381
391
|
|
|
382
|
-
|
|
383
|
-
|
|
392
|
+
// Only Authorization falls back to the configured token; an empty value is never sent.
|
|
393
|
+
const authorizationValue = 'Authorization'.toLowerCase() === 'authorization' ? (authorization || baseAccessToken) : authorization;
|
|
394
|
+
if (authorizationValue) {
|
|
395
|
+
localVarHeaderParameter['Authorization'] = String(authorizationValue);
|
|
384
396
|
}
|
|
385
397
|
|
|
386
398
|
|
|
@@ -434,8 +446,10 @@ export const ProductFactorsApiAxiosParamCreator = function (configuration?: Conf
|
|
|
434
446
|
// http bearer authentication required
|
|
435
447
|
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
436
448
|
|
|
437
|
-
|
|
438
|
-
|
|
449
|
+
// Only Authorization falls back to the configured token; an empty value is never sent.
|
|
450
|
+
const authorizationValue = 'Authorization'.toLowerCase() === 'authorization' ? (authorization || baseAccessToken) : authorization;
|
|
451
|
+
if (authorizationValue) {
|
|
452
|
+
localVarHeaderParameter['Authorization'] = String(authorizationValue);
|
|
439
453
|
}
|
|
440
454
|
|
|
441
455
|
|
|
@@ -79,8 +79,10 @@ export const ProductFieldsApiAxiosParamCreator = function (configuration?: Confi
|
|
|
79
79
|
// http bearer authentication required
|
|
80
80
|
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
81
81
|
|
|
82
|
-
|
|
83
|
-
|
|
82
|
+
// Only Authorization falls back to the configured token; an empty value is never sent.
|
|
83
|
+
const authorizationValue = 'Authorization'.toLowerCase() === 'authorization' ? (authorization || baseAccessToken) : authorization;
|
|
84
|
+
if (authorizationValue) {
|
|
85
|
+
localVarHeaderParameter['Authorization'] = String(authorizationValue);
|
|
84
86
|
}
|
|
85
87
|
|
|
86
88
|
|
|
@@ -127,8 +129,10 @@ export const ProductFieldsApiAxiosParamCreator = function (configuration?: Confi
|
|
|
127
129
|
// http bearer authentication required
|
|
128
130
|
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
129
131
|
|
|
130
|
-
|
|
131
|
-
|
|
132
|
+
// Only Authorization falls back to the configured token; an empty value is never sent.
|
|
133
|
+
const authorizationValue = 'Authorization'.toLowerCase() === 'authorization' ? (authorization || baseAccessToken) : authorization;
|
|
134
|
+
if (authorizationValue) {
|
|
135
|
+
localVarHeaderParameter['Authorization'] = String(authorizationValue);
|
|
132
136
|
}
|
|
133
137
|
|
|
134
138
|
|
|
@@ -172,8 +176,10 @@ export const ProductFieldsApiAxiosParamCreator = function (configuration?: Confi
|
|
|
172
176
|
// http bearer authentication required
|
|
173
177
|
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
174
178
|
|
|
175
|
-
|
|
176
|
-
|
|
179
|
+
// Only Authorization falls back to the configured token; an empty value is never sent.
|
|
180
|
+
const authorizationValue = 'Authorization'.toLowerCase() === 'authorization' ? (authorization || baseAccessToken) : authorization;
|
|
181
|
+
if (authorizationValue) {
|
|
182
|
+
localVarHeaderParameter['Authorization'] = String(authorizationValue);
|
|
177
183
|
}
|
|
178
184
|
|
|
179
185
|
|
|
@@ -248,8 +254,10 @@ export const ProductFieldsApiAxiosParamCreator = function (configuration?: Confi
|
|
|
248
254
|
localVarQueryParameter['filters'] = filters;
|
|
249
255
|
}
|
|
250
256
|
|
|
251
|
-
|
|
252
|
-
|
|
257
|
+
// Only Authorization falls back to the configured token; an empty value is never sent.
|
|
258
|
+
const authorizationValue = 'Authorization'.toLowerCase() === 'authorization' ? (authorization || baseAccessToken) : authorization;
|
|
259
|
+
if (authorizationValue) {
|
|
260
|
+
localVarHeaderParameter['Authorization'] = String(authorizationValue);
|
|
253
261
|
}
|
|
254
262
|
|
|
255
263
|
|
|
@@ -324,8 +332,10 @@ export const ProductFieldsApiAxiosParamCreator = function (configuration?: Confi
|
|
|
324
332
|
localVarQueryParameter['filters'] = filters;
|
|
325
333
|
}
|
|
326
334
|
|
|
327
|
-
|
|
328
|
-
|
|
335
|
+
// Only Authorization falls back to the configured token; an empty value is never sent.
|
|
336
|
+
const authorizationValue = 'Authorization'.toLowerCase() === 'authorization' ? (authorization || baseAccessToken) : authorization;
|
|
337
|
+
if (authorizationValue) {
|
|
338
|
+
localVarHeaderParameter['Authorization'] = String(authorizationValue);
|
|
329
339
|
}
|
|
330
340
|
|
|
331
341
|
|
|
@@ -368,8 +378,10 @@ export const ProductFieldsApiAxiosParamCreator = function (configuration?: Confi
|
|
|
368
378
|
// http bearer authentication required
|
|
369
379
|
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
370
380
|
|
|
371
|
-
|
|
372
|
-
|
|
381
|
+
// Only Authorization falls back to the configured token; an empty value is never sent.
|
|
382
|
+
const authorizationValue = 'Authorization'.toLowerCase() === 'authorization' ? (authorization || baseAccessToken) : authorization;
|
|
383
|
+
if (authorizationValue) {
|
|
384
|
+
localVarHeaderParameter['Authorization'] = String(authorizationValue);
|
|
373
385
|
}
|
|
374
386
|
|
|
375
387
|
|
|
@@ -419,8 +431,10 @@ export const ProductFieldsApiAxiosParamCreator = function (configuration?: Confi
|
|
|
419
431
|
// http bearer authentication required
|
|
420
432
|
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
421
433
|
|
|
422
|
-
|
|
423
|
-
|
|
434
|
+
// Only Authorization falls back to the configured token; an empty value is never sent.
|
|
435
|
+
const authorizationValue = 'Authorization'.toLowerCase() === 'authorization' ? (authorization || baseAccessToken) : authorization;
|
|
436
|
+
if (authorizationValue) {
|
|
437
|
+
localVarHeaderParameter['Authorization'] = String(authorizationValue);
|
|
424
438
|
}
|
|
425
439
|
|
|
426
440
|
|
|
@@ -83,8 +83,10 @@ export const ProductVersionsApiAxiosParamCreator = function (configuration?: Con
|
|
|
83
83
|
localVarQueryParameter['expand'] = expand;
|
|
84
84
|
}
|
|
85
85
|
|
|
86
|
-
|
|
87
|
-
|
|
86
|
+
// Only Authorization falls back to the configured token; an empty value is never sent.
|
|
87
|
+
const authorizationValue = 'Authorization'.toLowerCase() === 'authorization' ? (authorization || baseAccessToken) : authorization;
|
|
88
|
+
if (authorizationValue) {
|
|
89
|
+
localVarHeaderParameter['Authorization'] = String(authorizationValue);
|
|
88
90
|
}
|
|
89
91
|
|
|
90
92
|
|
|
@@ -131,8 +133,10 @@ export const ProductVersionsApiAxiosParamCreator = function (configuration?: Con
|
|
|
131
133
|
// http bearer authentication required
|
|
132
134
|
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
133
135
|
|
|
134
|
-
|
|
135
|
-
|
|
136
|
+
// Only Authorization falls back to the configured token; an empty value is never sent.
|
|
137
|
+
const authorizationValue = 'Authorization'.toLowerCase() === 'authorization' ? (authorization || baseAccessToken) : authorization;
|
|
138
|
+
if (authorizationValue) {
|
|
139
|
+
localVarHeaderParameter['Authorization'] = String(authorizationValue);
|
|
136
140
|
}
|
|
137
141
|
|
|
138
142
|
|