@emilgroup/insurance-sdk-node 1.46.0 → 1.47.1-beta.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.openapi-generator/FILES +12 -0
- package/README.md +2 -2
- package/api/booking-funnel-versions-api.ts +375 -0
- package/api/booking-funnels-api.ts +4 -4
- package/api/insured-object-types-api.ts +20 -6
- package/api/insured-objects-api.ts +20 -6
- package/api/lead-statuses-api.ts +96 -12
- package/api/lead-versions-api.ts +4 -4
- package/api/leads-api.ts +4 -4
- package/api/named-ranges-api.ts +20 -6
- package/api/policies-api.ts +245 -16
- package/api/policy-partner-roles-api.ts +580 -0
- package/api/premium-formulas-api.ts +20 -6
- package/api/product-factors-api.ts +20 -6
- package/api/product-fields-api.ts +40 -12
- package/api/products-api.ts +20 -6
- package/api/status-transition-rules-api.ts +4 -4
- package/api.ts +4 -0
- package/dist/api/booking-funnel-versions-api.d.ts +222 -0
- package/dist/api/booking-funnel-versions-api.js +367 -0
- package/dist/api/booking-funnels-api.d.ts +4 -4
- package/dist/api/booking-funnels-api.js +3 -3
- package/dist/api/insured-object-types-api.d.ts +12 -3
- package/dist/api/insured-object-types-api.js +12 -6
- package/dist/api/insured-objects-api.d.ts +12 -3
- package/dist/api/insured-objects-api.js +12 -6
- package/dist/api/lead-statuses-api.d.ts +63 -9
- package/dist/api/lead-statuses-api.js +45 -9
- package/dist/api/lead-versions-api.d.ts +4 -4
- package/dist/api/lead-versions-api.js +3 -3
- package/dist/api/leads-api.d.ts +4 -4
- package/dist/api/leads-api.js +3 -3
- package/dist/api/named-ranges-api.d.ts +12 -3
- package/dist/api/named-ranges-api.js +12 -6
- package/dist/api/policies-api.d.ts +147 -10
- package/dist/api/policies-api.js +161 -15
- package/dist/api/policy-partner-roles-api.d.ts +329 -0
- package/dist/api/policy-partner-roles-api.js +548 -0
- package/dist/api/premium-formulas-api.d.ts +12 -3
- package/dist/api/premium-formulas-api.js +12 -6
- package/dist/api/product-factors-api.d.ts +12 -3
- package/dist/api/product-factors-api.js +12 -6
- package/dist/api/product-fields-api.d.ts +24 -6
- package/dist/api/product-fields-api.js +24 -12
- package/dist/api/products-api.d.ts +12 -3
- package/dist/api/products-api.js +12 -6
- package/dist/api/status-transition-rules-api.d.ts +4 -4
- package/dist/api/status-transition-rules-api.js +3 -3
- package/dist/api.d.ts +2 -0
- package/dist/api.js +2 -0
- package/dist/models/booking-funnel-class.d.ts +6 -0
- package/dist/models/create-policy-partner-role-request-dto.d.ts +30 -0
- package/dist/models/create-policy-partner-role-request-dto.js +15 -0
- package/dist/models/create-policy-partner-role-response-class.d.ts +25 -0
- package/dist/models/create-policy-partner-role-response-class.js +15 -0
- package/dist/models/get-booking-funnel-version-request-dto.d.ts +30 -0
- package/dist/models/get-booking-funnel-version-request-dto.js +15 -0
- package/dist/models/get-policy-partner-role-response-class.d.ts +25 -0
- package/dist/models/get-policy-partner-role-response-class.js +15 -0
- package/dist/models/index.d.ts +10 -0
- package/dist/models/index.js +10 -0
- package/dist/models/list-policy-partner-roles-response-class.d.ts +31 -0
- package/dist/models/list-policy-partner-roles-response-class.js +15 -0
- package/dist/models/list-policy-version-response-class.d.ts +43 -0
- package/dist/models/list-policy-version-response-class.js +15 -0
- package/dist/models/list-policy-versions-request-dto.d.ts +66 -0
- package/dist/models/list-policy-versions-request-dto.js +15 -0
- package/dist/models/list-request-dto.d.ts +6 -0
- package/dist/models/policy-partner-role-class.d.ts +42 -0
- package/dist/models/policy-partner-role-class.js +15 -0
- package/dist/models/update-policy-partner-role-request-dto.d.ts +30 -0
- package/dist/models/update-policy-partner-role-request-dto.js +15 -0
- package/dist/models/update-policy-partner-role-response-class.d.ts +25 -0
- package/dist/models/update-policy-partner-role-response-class.js +15 -0
- package/models/booking-funnel-class.ts +6 -0
- package/models/create-policy-partner-role-request-dto.ts +36 -0
- package/models/create-policy-partner-role-response-class.ts +31 -0
- package/models/get-booking-funnel-version-request-dto.ts +36 -0
- package/models/get-policy-partner-role-response-class.ts +31 -0
- package/models/index.ts +10 -0
- package/models/list-policy-partner-roles-response-class.ts +37 -0
- package/models/list-policy-version-response-class.ts +49 -0
- package/models/list-policy-versions-request-dto.ts +72 -0
- package/models/list-request-dto.ts +6 -0
- package/models/policy-partner-role-class.ts +48 -0
- package/models/update-policy-partner-role-request-dto.ts +36 -0
- package/models/update-policy-partner-role-response-class.ts +31 -0
- package/package.json +1 -1
package/.openapi-generator/FILES
CHANGED
|
@@ -3,6 +3,7 @@
|
|
|
3
3
|
.openapi-generator-ignore
|
|
4
4
|
README.md
|
|
5
5
|
api.ts
|
|
6
|
+
api/booking-funnel-versions-api.ts
|
|
6
7
|
api/booking-funnels-api.ts
|
|
7
8
|
api/default-api.ts
|
|
8
9
|
api/insured-object-types-api.ts
|
|
@@ -12,6 +13,7 @@ api/lead-versions-api.ts
|
|
|
12
13
|
api/leads-api.ts
|
|
13
14
|
api/named-ranges-api.ts
|
|
14
15
|
api/policies-api.ts
|
|
16
|
+
api/policy-partner-roles-api.ts
|
|
15
17
|
api/premium-formulas-api.ts
|
|
16
18
|
api/product-factors-api.ts
|
|
17
19
|
api/product-fields-api.ts
|
|
@@ -48,6 +50,8 @@ models/create-named-range-request-dto.ts
|
|
|
48
50
|
models/create-named-range-response-class.ts
|
|
49
51
|
models/create-named-request-s3-data-class.ts
|
|
50
52
|
models/create-payment-method-request-dto.ts
|
|
53
|
+
models/create-policy-partner-role-request-dto.ts
|
|
54
|
+
models/create-policy-partner-role-response-class.ts
|
|
51
55
|
models/create-policy-request-dto.ts
|
|
52
56
|
models/create-policy-response-class.ts
|
|
53
57
|
models/create-premium-formula-request-dto.ts
|
|
@@ -64,6 +68,7 @@ models/delete-response-class.ts
|
|
|
64
68
|
models/empty-response-class.ts
|
|
65
69
|
models/filter-named-range-request-dto.ts
|
|
66
70
|
models/filter-named-range-response-class.ts
|
|
71
|
+
models/get-booking-funnel-version-request-dto.ts
|
|
67
72
|
models/get-draft-policy-request-dto.ts
|
|
68
73
|
models/get-insured-object-response-class.ts
|
|
69
74
|
models/get-lead-response-class.ts
|
|
@@ -72,6 +77,7 @@ models/get-lead-version-request-dto.ts
|
|
|
72
77
|
models/get-lead-version-response-class.ts
|
|
73
78
|
models/get-named-range-response-class.ts
|
|
74
79
|
models/get-policy-data-by-date-request-dto.ts
|
|
80
|
+
models/get-policy-partner-role-response-class.ts
|
|
75
81
|
models/get-policy-request-dto.ts
|
|
76
82
|
models/get-policy-response-class.ts
|
|
77
83
|
models/get-premium-formula-request-dto.ts
|
|
@@ -112,6 +118,9 @@ models/list-leads-response-class.ts
|
|
|
112
118
|
models/list-named-ranges-response-class.ts
|
|
113
119
|
models/list-policies-response-class.ts
|
|
114
120
|
models/list-policy-objects-response-class.ts
|
|
121
|
+
models/list-policy-partner-roles-response-class.ts
|
|
122
|
+
models/list-policy-version-response-class.ts
|
|
123
|
+
models/list-policy-versions-request-dto.ts
|
|
115
124
|
models/list-premium-formulas-response-class.ts
|
|
116
125
|
models/list-product-factors-response-class.ts
|
|
117
126
|
models/list-product-field-types-response-class.ts
|
|
@@ -131,6 +140,7 @@ models/patch-status-transition-rule-response-class.ts
|
|
|
131
140
|
models/policy-class.ts
|
|
132
141
|
models/policy-object-class.ts
|
|
133
142
|
models/policy-object-dto.ts
|
|
143
|
+
models/policy-partner-role-class.ts
|
|
134
144
|
models/policy-premium-class.ts
|
|
135
145
|
models/policy-premium-item-class.ts
|
|
136
146
|
models/policy-version-class.ts
|
|
@@ -168,6 +178,8 @@ models/update-lead-request-dto.ts
|
|
|
168
178
|
models/update-lead-response-class.ts
|
|
169
179
|
models/update-named-range-request-dto.ts
|
|
170
180
|
models/update-named-range-response-class.ts
|
|
181
|
+
models/update-policy-partner-role-request-dto.ts
|
|
182
|
+
models/update-policy-partner-role-response-class.ts
|
|
171
183
|
models/update-policy-request-dto.ts
|
|
172
184
|
models/update-policy-response-class.ts
|
|
173
185
|
models/update-premium-formula-request-dto.ts
|
package/README.md
CHANGED
|
@@ -17,11 +17,11 @@ Although this package can be used in both TypeScript and JavaScript, it is inten
|
|
|
17
17
|
Navigate to the folder of your consuming project and run one of the following commands:
|
|
18
18
|
|
|
19
19
|
```
|
|
20
|
-
npm install @emilgroup/insurance-sdk-node@1.
|
|
20
|
+
npm install @emilgroup/insurance-sdk-node@1.47.1-beta.0 --save
|
|
21
21
|
```
|
|
22
22
|
or
|
|
23
23
|
```
|
|
24
|
-
yarn add @emilgroup/insurance-sdk-node@1.
|
|
24
|
+
yarn add @emilgroup/insurance-sdk-node@1.47.1-beta.0
|
|
25
25
|
```
|
|
26
26
|
|
|
27
27
|
And then you can import `PoliciesApi`.
|
|
@@ -0,0 +1,375 @@
|
|
|
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
|
+
// URLSearchParams not necessarily used
|
|
24
|
+
// @ts-ignore
|
|
25
|
+
import { URL, URLSearchParams } from 'url';
|
|
26
|
+
const FormData = require('form-data');
|
|
27
|
+
/**
|
|
28
|
+
* BookingFunnelVersionsApi - axios parameter creator
|
|
29
|
+
* @export
|
|
30
|
+
*/
|
|
31
|
+
export const BookingFunnelVersionsApiAxiosParamCreator = function (configuration?: Configuration) {
|
|
32
|
+
return {
|
|
33
|
+
/**
|
|
34
|
+
* Retrieves the details of the booking funnel version that was previously created. Supply the unique booking funnel version code that was returned when you created it and Emil Api will return the corresponding booking funnel version information.
|
|
35
|
+
* @summary Retrieve the booking funnel version
|
|
36
|
+
* @param {string} code
|
|
37
|
+
* @param {number} version
|
|
38
|
+
* @param {string} [authorization] Bearer Token
|
|
39
|
+
* @param {*} [options] Override http request option.
|
|
40
|
+
* @throws {RequiredError}
|
|
41
|
+
*/
|
|
42
|
+
getBookingFunnelVersion: async (code: string, version: number, authorization?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
43
|
+
// verify required parameter 'code' is not null or undefined
|
|
44
|
+
assertParamExists('getBookingFunnelVersion', 'code', code)
|
|
45
|
+
// verify required parameter 'version' is not null or undefined
|
|
46
|
+
assertParamExists('getBookingFunnelVersion', 'version', version)
|
|
47
|
+
const localVarPath = `/insuranceservice/v1/booking-funnels/{code}/versions/{version}`
|
|
48
|
+
.replace(`{${"code"}}`, encodeURIComponent(String(code)))
|
|
49
|
+
.replace(`{${"version"}}`, encodeURIComponent(String(version)));
|
|
50
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
51
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
52
|
+
let baseOptions;
|
|
53
|
+
let baseAccessToken;
|
|
54
|
+
if (configuration) {
|
|
55
|
+
baseOptions = configuration.baseOptions;
|
|
56
|
+
baseAccessToken = configuration.accessToken;
|
|
57
|
+
}
|
|
58
|
+
|
|
59
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
60
|
+
const localVarHeaderParameter = {} as any;
|
|
61
|
+
const localVarQueryParameter = {} as any;
|
|
62
|
+
|
|
63
|
+
// authentication bearer required
|
|
64
|
+
// http bearer authentication required
|
|
65
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
66
|
+
|
|
67
|
+
if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
|
|
68
|
+
localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
|
|
69
|
+
}
|
|
70
|
+
|
|
71
|
+
|
|
72
|
+
|
|
73
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
74
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
75
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
76
|
+
|
|
77
|
+
return {
|
|
78
|
+
url: toPathString(localVarUrlObj),
|
|
79
|
+
options: localVarRequestOptions,
|
|
80
|
+
};
|
|
81
|
+
},
|
|
82
|
+
/**
|
|
83
|
+
* Returns a list of booking funnel versions you have previously created. The booking funnel versions are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
|
|
84
|
+
* @summary List booking funnel versions
|
|
85
|
+
* @param {string} code
|
|
86
|
+
* @param {string} [authorization] Bearer Token
|
|
87
|
+
* @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
88
|
+
* @param {any} [pageToken] A cursor for use in pagination. pageToken is an ID that defines your place in the list. For instance, if you make a list request and receive 100 objects and pageToken=1, your subsequent call can include pageToken=2 in order to fetch the next page of the list.
|
|
89
|
+
* @param {any} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.
|
|
90
|
+
* @param {any} [search] To search the list by any field, pass search=xxx to fetch the result.
|
|
91
|
+
* @param {any} [order] The order parameter determines how the results should be sorted according to a specified field. It functions similarly to an SQL ORDER BY. Sorting can be performed in either ascending (ASC) or descending (DESC) order. Default: ASC.
|
|
92
|
+
* @param {any} [expand] Use this parameter to fetch additional information about the list items. The expand query parameter increases the set of fields that appear in the response in addition to the default ones. Expanding resources can reduce the number of API calls required to accomplish a task. However, use this with parsimony as some expanded fields can drastically increase payload size.
|
|
93
|
+
* @param {any} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations. In general, fetching filtered responses conserves bandwidth and reduces response time.
|
|
94
|
+
* @param {*} [options] Override http request option.
|
|
95
|
+
* @throws {RequiredError}
|
|
96
|
+
*/
|
|
97
|
+
listBookingFunnelVersions: async (code: string, authorization?: string, pageSize?: any, pageToken?: any, filter?: any, search?: any, order?: any, expand?: any, filters?: any, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
98
|
+
// verify required parameter 'code' is not null or undefined
|
|
99
|
+
assertParamExists('listBookingFunnelVersions', 'code', code)
|
|
100
|
+
const localVarPath = `/insuranceservice/v1/booking-funnels/{code}/versions`
|
|
101
|
+
.replace(`{${"code"}}`, encodeURIComponent(String(code)));
|
|
102
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
103
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
104
|
+
let baseOptions;
|
|
105
|
+
let baseAccessToken;
|
|
106
|
+
if (configuration) {
|
|
107
|
+
baseOptions = configuration.baseOptions;
|
|
108
|
+
baseAccessToken = configuration.accessToken;
|
|
109
|
+
}
|
|
110
|
+
|
|
111
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
112
|
+
const localVarHeaderParameter = {} as any;
|
|
113
|
+
const localVarQueryParameter = {} as any;
|
|
114
|
+
|
|
115
|
+
// authentication bearer required
|
|
116
|
+
// http bearer authentication required
|
|
117
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
118
|
+
|
|
119
|
+
if (pageSize !== undefined) {
|
|
120
|
+
localVarQueryParameter['pageSize'] = pageSize;
|
|
121
|
+
}
|
|
122
|
+
|
|
123
|
+
if (pageToken !== undefined) {
|
|
124
|
+
localVarQueryParameter['pageToken'] = pageToken;
|
|
125
|
+
}
|
|
126
|
+
|
|
127
|
+
if (filter !== undefined) {
|
|
128
|
+
localVarQueryParameter['filter'] = filter;
|
|
129
|
+
}
|
|
130
|
+
|
|
131
|
+
if (search !== undefined) {
|
|
132
|
+
localVarQueryParameter['search'] = search;
|
|
133
|
+
}
|
|
134
|
+
|
|
135
|
+
if (order !== undefined) {
|
|
136
|
+
localVarQueryParameter['order'] = order;
|
|
137
|
+
}
|
|
138
|
+
|
|
139
|
+
if (expand !== undefined) {
|
|
140
|
+
localVarQueryParameter['expand'] = expand;
|
|
141
|
+
}
|
|
142
|
+
|
|
143
|
+
if (filters !== undefined) {
|
|
144
|
+
localVarQueryParameter['filters'] = filters;
|
|
145
|
+
}
|
|
146
|
+
|
|
147
|
+
if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
|
|
148
|
+
localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
|
|
149
|
+
}
|
|
150
|
+
|
|
151
|
+
|
|
152
|
+
|
|
153
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
154
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
155
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
156
|
+
|
|
157
|
+
return {
|
|
158
|
+
url: toPathString(localVarUrlObj),
|
|
159
|
+
options: localVarRequestOptions,
|
|
160
|
+
};
|
|
161
|
+
},
|
|
162
|
+
}
|
|
163
|
+
};
|
|
164
|
+
|
|
165
|
+
/**
|
|
166
|
+
* BookingFunnelVersionsApi - functional programming interface
|
|
167
|
+
* @export
|
|
168
|
+
*/
|
|
169
|
+
export const BookingFunnelVersionsApiFp = function(configuration?: Configuration) {
|
|
170
|
+
const localVarAxiosParamCreator = BookingFunnelVersionsApiAxiosParamCreator(configuration)
|
|
171
|
+
return {
|
|
172
|
+
/**
|
|
173
|
+
* Retrieves the details of the booking funnel version that was previously created. Supply the unique booking funnel version code that was returned when you created it and Emil Api will return the corresponding booking funnel version information.
|
|
174
|
+
* @summary Retrieve the booking funnel version
|
|
175
|
+
* @param {string} code
|
|
176
|
+
* @param {number} version
|
|
177
|
+
* @param {string} [authorization] Bearer Token
|
|
178
|
+
* @param {*} [options] Override http request option.
|
|
179
|
+
* @throws {RequiredError}
|
|
180
|
+
*/
|
|
181
|
+
async getBookingFunnelVersion(code: string, version: number, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
|
|
182
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.getBookingFunnelVersion(code, version, authorization, options);
|
|
183
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
184
|
+
},
|
|
185
|
+
/**
|
|
186
|
+
* Returns a list of booking funnel versions you have previously created. The booking funnel versions are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
|
|
187
|
+
* @summary List booking funnel versions
|
|
188
|
+
* @param {string} code
|
|
189
|
+
* @param {string} [authorization] Bearer Token
|
|
190
|
+
* @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
191
|
+
* @param {any} [pageToken] A cursor for use in pagination. pageToken is an ID that defines your place in the list. For instance, if you make a list request and receive 100 objects and pageToken=1, your subsequent call can include pageToken=2 in order to fetch the next page of the list.
|
|
192
|
+
* @param {any} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.
|
|
193
|
+
* @param {any} [search] To search the list by any field, pass search=xxx to fetch the result.
|
|
194
|
+
* @param {any} [order] The order parameter determines how the results should be sorted according to a specified field. It functions similarly to an SQL ORDER BY. Sorting can be performed in either ascending (ASC) or descending (DESC) order. Default: ASC.
|
|
195
|
+
* @param {any} [expand] Use this parameter to fetch additional information about the list items. The expand query parameter increases the set of fields that appear in the response in addition to the default ones. Expanding resources can reduce the number of API calls required to accomplish a task. However, use this with parsimony as some expanded fields can drastically increase payload size.
|
|
196
|
+
* @param {any} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations. In general, fetching filtered responses conserves bandwidth and reduces response time.
|
|
197
|
+
* @param {*} [options] Override http request option.
|
|
198
|
+
* @throws {RequiredError}
|
|
199
|
+
*/
|
|
200
|
+
async listBookingFunnelVersions(code: string, authorization?: string, pageSize?: any, pageToken?: any, filter?: any, search?: any, order?: any, expand?: any, filters?: any, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
|
|
201
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.listBookingFunnelVersions(code, authorization, pageSize, pageToken, filter, search, order, expand, filters, options);
|
|
202
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
203
|
+
},
|
|
204
|
+
}
|
|
205
|
+
};
|
|
206
|
+
|
|
207
|
+
/**
|
|
208
|
+
* BookingFunnelVersionsApi - factory interface
|
|
209
|
+
* @export
|
|
210
|
+
*/
|
|
211
|
+
export const BookingFunnelVersionsApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) {
|
|
212
|
+
const localVarFp = BookingFunnelVersionsApiFp(configuration)
|
|
213
|
+
return {
|
|
214
|
+
/**
|
|
215
|
+
* Retrieves the details of the booking funnel version that was previously created. Supply the unique booking funnel version code that was returned when you created it and Emil Api will return the corresponding booking funnel version information.
|
|
216
|
+
* @summary Retrieve the booking funnel version
|
|
217
|
+
* @param {string} code
|
|
218
|
+
* @param {number} version
|
|
219
|
+
* @param {string} [authorization] Bearer Token
|
|
220
|
+
* @param {*} [options] Override http request option.
|
|
221
|
+
* @throws {RequiredError}
|
|
222
|
+
*/
|
|
223
|
+
getBookingFunnelVersion(code: string, version: number, authorization?: string, options?: any): AxiosPromise<void> {
|
|
224
|
+
return localVarFp.getBookingFunnelVersion(code, version, authorization, options).then((request) => request(axios, basePath));
|
|
225
|
+
},
|
|
226
|
+
/**
|
|
227
|
+
* Returns a list of booking funnel versions you have previously created. The booking funnel versions are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
|
|
228
|
+
* @summary List booking funnel versions
|
|
229
|
+
* @param {string} code
|
|
230
|
+
* @param {string} [authorization] Bearer Token
|
|
231
|
+
* @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
232
|
+
* @param {any} [pageToken] A cursor for use in pagination. pageToken is an ID that defines your place in the list. For instance, if you make a list request and receive 100 objects and pageToken=1, your subsequent call can include pageToken=2 in order to fetch the next page of the list.
|
|
233
|
+
* @param {any} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.
|
|
234
|
+
* @param {any} [search] To search the list by any field, pass search=xxx to fetch the result.
|
|
235
|
+
* @param {any} [order] The order parameter determines how the results should be sorted according to a specified field. It functions similarly to an SQL ORDER BY. Sorting can be performed in either ascending (ASC) or descending (DESC) order. Default: ASC.
|
|
236
|
+
* @param {any} [expand] Use this parameter to fetch additional information about the list items. The expand query parameter increases the set of fields that appear in the response in addition to the default ones. Expanding resources can reduce the number of API calls required to accomplish a task. However, use this with parsimony as some expanded fields can drastically increase payload size.
|
|
237
|
+
* @param {any} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations. In general, fetching filtered responses conserves bandwidth and reduces response time.
|
|
238
|
+
* @param {*} [options] Override http request option.
|
|
239
|
+
* @throws {RequiredError}
|
|
240
|
+
*/
|
|
241
|
+
listBookingFunnelVersions(code: string, authorization?: string, pageSize?: any, pageToken?: any, filter?: any, search?: any, order?: any, expand?: any, filters?: any, options?: any): AxiosPromise<void> {
|
|
242
|
+
return localVarFp.listBookingFunnelVersions(code, authorization, pageSize, pageToken, filter, search, order, expand, filters, options).then((request) => request(axios, basePath));
|
|
243
|
+
},
|
|
244
|
+
};
|
|
245
|
+
};
|
|
246
|
+
|
|
247
|
+
/**
|
|
248
|
+
* Request parameters for getBookingFunnelVersion operation in BookingFunnelVersionsApi.
|
|
249
|
+
* @export
|
|
250
|
+
* @interface BookingFunnelVersionsApiGetBookingFunnelVersionRequest
|
|
251
|
+
*/
|
|
252
|
+
export interface BookingFunnelVersionsApiGetBookingFunnelVersionRequest {
|
|
253
|
+
/**
|
|
254
|
+
*
|
|
255
|
+
* @type {string}
|
|
256
|
+
* @memberof BookingFunnelVersionsApiGetBookingFunnelVersion
|
|
257
|
+
*/
|
|
258
|
+
readonly code: string
|
|
259
|
+
|
|
260
|
+
/**
|
|
261
|
+
*
|
|
262
|
+
* @type {number}
|
|
263
|
+
* @memberof BookingFunnelVersionsApiGetBookingFunnelVersion
|
|
264
|
+
*/
|
|
265
|
+
readonly version: number
|
|
266
|
+
|
|
267
|
+
/**
|
|
268
|
+
* Bearer Token
|
|
269
|
+
* @type {string}
|
|
270
|
+
* @memberof BookingFunnelVersionsApiGetBookingFunnelVersion
|
|
271
|
+
*/
|
|
272
|
+
readonly authorization?: string
|
|
273
|
+
}
|
|
274
|
+
|
|
275
|
+
/**
|
|
276
|
+
* Request parameters for listBookingFunnelVersions operation in BookingFunnelVersionsApi.
|
|
277
|
+
* @export
|
|
278
|
+
* @interface BookingFunnelVersionsApiListBookingFunnelVersionsRequest
|
|
279
|
+
*/
|
|
280
|
+
export interface BookingFunnelVersionsApiListBookingFunnelVersionsRequest {
|
|
281
|
+
/**
|
|
282
|
+
*
|
|
283
|
+
* @type {string}
|
|
284
|
+
* @memberof BookingFunnelVersionsApiListBookingFunnelVersions
|
|
285
|
+
*/
|
|
286
|
+
readonly code: string
|
|
287
|
+
|
|
288
|
+
/**
|
|
289
|
+
* Bearer Token
|
|
290
|
+
* @type {string}
|
|
291
|
+
* @memberof BookingFunnelVersionsApiListBookingFunnelVersions
|
|
292
|
+
*/
|
|
293
|
+
readonly authorization?: string
|
|
294
|
+
|
|
295
|
+
/**
|
|
296
|
+
* A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
297
|
+
* @type {any}
|
|
298
|
+
* @memberof BookingFunnelVersionsApiListBookingFunnelVersions
|
|
299
|
+
*/
|
|
300
|
+
readonly pageSize?: any
|
|
301
|
+
|
|
302
|
+
/**
|
|
303
|
+
* A cursor for use in pagination. pageToken is an ID that defines your place in the list. For instance, if you make a list request and receive 100 objects and pageToken=1, your subsequent call can include pageToken=2 in order to fetch the next page of the list.
|
|
304
|
+
* @type {any}
|
|
305
|
+
* @memberof BookingFunnelVersionsApiListBookingFunnelVersions
|
|
306
|
+
*/
|
|
307
|
+
readonly pageToken?: any
|
|
308
|
+
|
|
309
|
+
/**
|
|
310
|
+
* Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.
|
|
311
|
+
* @type {any}
|
|
312
|
+
* @memberof BookingFunnelVersionsApiListBookingFunnelVersions
|
|
313
|
+
*/
|
|
314
|
+
readonly filter?: any
|
|
315
|
+
|
|
316
|
+
/**
|
|
317
|
+
* To search the list by any field, pass search=xxx to fetch the result.
|
|
318
|
+
* @type {any}
|
|
319
|
+
* @memberof BookingFunnelVersionsApiListBookingFunnelVersions
|
|
320
|
+
*/
|
|
321
|
+
readonly search?: any
|
|
322
|
+
|
|
323
|
+
/**
|
|
324
|
+
* The order parameter determines how the results should be sorted according to a specified field. It functions similarly to an SQL ORDER BY. Sorting can be performed in either ascending (ASC) or descending (DESC) order. Default: ASC.
|
|
325
|
+
* @type {any}
|
|
326
|
+
* @memberof BookingFunnelVersionsApiListBookingFunnelVersions
|
|
327
|
+
*/
|
|
328
|
+
readonly order?: any
|
|
329
|
+
|
|
330
|
+
/**
|
|
331
|
+
* Use this parameter to fetch additional information about the list items. The expand query parameter increases the set of fields that appear in the response in addition to the default ones. Expanding resources can reduce the number of API calls required to accomplish a task. However, use this with parsimony as some expanded fields can drastically increase payload size.
|
|
332
|
+
* @type {any}
|
|
333
|
+
* @memberof BookingFunnelVersionsApiListBookingFunnelVersions
|
|
334
|
+
*/
|
|
335
|
+
readonly expand?: any
|
|
336
|
+
|
|
337
|
+
/**
|
|
338
|
+
* Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations. In general, fetching filtered responses conserves bandwidth and reduces response time.
|
|
339
|
+
* @type {any}
|
|
340
|
+
* @memberof BookingFunnelVersionsApiListBookingFunnelVersions
|
|
341
|
+
*/
|
|
342
|
+
readonly filters?: any
|
|
343
|
+
}
|
|
344
|
+
|
|
345
|
+
/**
|
|
346
|
+
* BookingFunnelVersionsApi - object-oriented interface
|
|
347
|
+
* @export
|
|
348
|
+
* @class BookingFunnelVersionsApi
|
|
349
|
+
* @extends {BaseAPI}
|
|
350
|
+
*/
|
|
351
|
+
export class BookingFunnelVersionsApi extends BaseAPI {
|
|
352
|
+
/**
|
|
353
|
+
* Retrieves the details of the booking funnel version that was previously created. Supply the unique booking funnel version code that was returned when you created it and Emil Api will return the corresponding booking funnel version information.
|
|
354
|
+
* @summary Retrieve the booking funnel version
|
|
355
|
+
* @param {BookingFunnelVersionsApiGetBookingFunnelVersionRequest} requestParameters Request parameters.
|
|
356
|
+
* @param {*} [options] Override http request option.
|
|
357
|
+
* @throws {RequiredError}
|
|
358
|
+
* @memberof BookingFunnelVersionsApi
|
|
359
|
+
*/
|
|
360
|
+
public getBookingFunnelVersion(requestParameters: BookingFunnelVersionsApiGetBookingFunnelVersionRequest, options?: AxiosRequestConfig) {
|
|
361
|
+
return BookingFunnelVersionsApiFp(this.configuration).getBookingFunnelVersion(requestParameters.code, requestParameters.version, requestParameters.authorization, options).then((request) => request(this.axios, this.basePath));
|
|
362
|
+
}
|
|
363
|
+
|
|
364
|
+
/**
|
|
365
|
+
* Returns a list of booking funnel versions you have previously created. The booking funnel versions are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
|
|
366
|
+
* @summary List booking funnel versions
|
|
367
|
+
* @param {BookingFunnelVersionsApiListBookingFunnelVersionsRequest} requestParameters Request parameters.
|
|
368
|
+
* @param {*} [options] Override http request option.
|
|
369
|
+
* @throws {RequiredError}
|
|
370
|
+
* @memberof BookingFunnelVersionsApi
|
|
371
|
+
*/
|
|
372
|
+
public listBookingFunnelVersions(requestParameters: BookingFunnelVersionsApiListBookingFunnelVersionsRequest, options?: AxiosRequestConfig) {
|
|
373
|
+
return BookingFunnelVersionsApiFp(this.configuration).listBookingFunnelVersions(requestParameters.code, requestParameters.authorization, requestParameters.pageSize, requestParameters.pageToken, requestParameters.filter, requestParameters.search, requestParameters.order, requestParameters.expand, requestParameters.filters, options).then((request) => request(this.axios, this.basePath));
|
|
374
|
+
}
|
|
375
|
+
}
|
|
@@ -184,7 +184,7 @@ export const BookingFunnelsApiAxiosParamCreator = function (configuration?: Conf
|
|
|
184
184
|
* @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
185
185
|
* @param {any} [pageToken] A cursor for use in pagination. pageToken is an ID that defines your place in the list. For instance, if you make a list request and receive 100 objects and pageToken=1, your subsequent call can include pageToken=2 in order to fetch the next page of the list.
|
|
186
186
|
* @param {any} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.
|
|
187
|
-
* @param {any} [search]
|
|
187
|
+
* @param {any} [search] To search the list by any field, pass search=xxx to fetch the result.
|
|
188
188
|
* @param {any} [order] The order parameter determines how the results should be sorted according to a specified field. It functions similarly to an SQL ORDER BY. Sorting can be performed in either ascending (ASC) or descending (DESC) order. Default: ASC.
|
|
189
189
|
* @param {any} [expand] Use this parameter to fetch additional information about the list items. The expand query parameter increases the set of fields that appear in the response in addition to the default ones. Expanding resources can reduce the number of API calls required to accomplish a task. However, use this with parsimony as some expanded fields can drastically increase payload size.
|
|
190
190
|
* @param {any} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations. In general, fetching filtered responses conserves bandwidth and reduces response time.
|
|
@@ -407,7 +407,7 @@ export const BookingFunnelsApiFp = function(configuration?: Configuration) {
|
|
|
407
407
|
* @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
408
408
|
* @param {any} [pageToken] A cursor for use in pagination. pageToken is an ID that defines your place in the list. For instance, if you make a list request and receive 100 objects and pageToken=1, your subsequent call can include pageToken=2 in order to fetch the next page of the list.
|
|
409
409
|
* @param {any} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.
|
|
410
|
-
* @param {any} [search]
|
|
410
|
+
* @param {any} [search] To search the list by any field, pass search=xxx to fetch the result.
|
|
411
411
|
* @param {any} [order] The order parameter determines how the results should be sorted according to a specified field. It functions similarly to an SQL ORDER BY. Sorting can be performed in either ascending (ASC) or descending (DESC) order. Default: ASC.
|
|
412
412
|
* @param {any} [expand] Use this parameter to fetch additional information about the list items. The expand query parameter increases the set of fields that appear in the response in addition to the default ones. Expanding resources can reduce the number of API calls required to accomplish a task. However, use this with parsimony as some expanded fields can drastically increase payload size.
|
|
413
413
|
* @param {any} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations. In general, fetching filtered responses conserves bandwidth and reduces response time.
|
|
@@ -493,7 +493,7 @@ export const BookingFunnelsApiFactory = function (configuration?: Configuration,
|
|
|
493
493
|
* @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
494
494
|
* @param {any} [pageToken] A cursor for use in pagination. pageToken is an ID that defines your place in the list. For instance, if you make a list request and receive 100 objects and pageToken=1, your subsequent call can include pageToken=2 in order to fetch the next page of the list.
|
|
495
495
|
* @param {any} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.
|
|
496
|
-
* @param {any} [search]
|
|
496
|
+
* @param {any} [search] To search the list by any field, pass search=xxx to fetch the result.
|
|
497
497
|
* @param {any} [order] The order parameter determines how the results should be sorted according to a specified field. It functions similarly to an SQL ORDER BY. Sorting can be performed in either ascending (ASC) or descending (DESC) order. Default: ASC.
|
|
498
498
|
* @param {any} [expand] Use this parameter to fetch additional information about the list items. The expand query parameter increases the set of fields that appear in the response in addition to the default ones. Expanding resources can reduce the number of API calls required to accomplish a task. However, use this with parsimony as some expanded fields can drastically increase payload size.
|
|
499
499
|
* @param {any} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations. In general, fetching filtered responses conserves bandwidth and reduces response time.
|
|
@@ -627,7 +627,7 @@ export interface BookingFunnelsApiListBookingFunnelsRequest {
|
|
|
627
627
|
readonly filter?: any
|
|
628
628
|
|
|
629
629
|
/**
|
|
630
|
-
*
|
|
630
|
+
* To search the list by any field, pass search=xxx to fetch the result.
|
|
631
631
|
* @type {any}
|
|
632
632
|
* @memberof BookingFunnelsApiListBookingFunnels
|
|
633
633
|
*/
|
|
@@ -42,10 +42,11 @@ export const InsuredObjectTypesApiAxiosParamCreator = function (configuration?:
|
|
|
42
42
|
* @param {string} [search] Search query.
|
|
43
43
|
* @param {string} [order] Ordering criteria.
|
|
44
44
|
* @param {string} [expand] Extra fields to fetch.
|
|
45
|
+
* @param {string} [filters]
|
|
45
46
|
* @param {*} [options] Override http request option.
|
|
46
47
|
* @throws {RequiredError}
|
|
47
48
|
*/
|
|
48
|
-
listInsuredObjectTypes: async (authorization?: string, pageSize?: number, pageToken?: string, filter?: string, search?: string, order?: string, expand?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
49
|
+
listInsuredObjectTypes: async (authorization?: string, pageSize?: number, pageToken?: string, filter?: string, search?: string, order?: string, expand?: string, filters?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
49
50
|
const localVarPath = `/insuranceservice/v1/insured-object-types`;
|
|
50
51
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
51
52
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
@@ -88,6 +89,10 @@ export const InsuredObjectTypesApiAxiosParamCreator = function (configuration?:
|
|
|
88
89
|
localVarQueryParameter['expand'] = expand;
|
|
89
90
|
}
|
|
90
91
|
|
|
92
|
+
if (filters !== undefined) {
|
|
93
|
+
localVarQueryParameter['filters'] = filters;
|
|
94
|
+
}
|
|
95
|
+
|
|
91
96
|
if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
|
|
92
97
|
localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
|
|
93
98
|
}
|
|
@@ -123,11 +128,12 @@ export const InsuredObjectTypesApiFp = function(configuration?: Configuration) {
|
|
|
123
128
|
* @param {string} [search] Search query.
|
|
124
129
|
* @param {string} [order] Ordering criteria.
|
|
125
130
|
* @param {string} [expand] Extra fields to fetch.
|
|
131
|
+
* @param {string} [filters]
|
|
126
132
|
* @param {*} [options] Override http request option.
|
|
127
133
|
* @throws {RequiredError}
|
|
128
134
|
*/
|
|
129
|
-
async listInsuredObjectTypes(authorization?: string, pageSize?: number, pageToken?: string, filter?: string, search?: string, order?: string, expand?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ListInsuredObjectTypesResponseClass>> {
|
|
130
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.listInsuredObjectTypes(authorization, pageSize, pageToken, filter, search, order, expand, options);
|
|
135
|
+
async listInsuredObjectTypes(authorization?: string, pageSize?: number, pageToken?: string, filter?: string, search?: string, order?: string, expand?: string, filters?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ListInsuredObjectTypesResponseClass>> {
|
|
136
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.listInsuredObjectTypes(authorization, pageSize, pageToken, filter, search, order, expand, filters, options);
|
|
131
137
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
132
138
|
},
|
|
133
139
|
}
|
|
@@ -150,11 +156,12 @@ export const InsuredObjectTypesApiFactory = function (configuration?: Configurat
|
|
|
150
156
|
* @param {string} [search] Search query.
|
|
151
157
|
* @param {string} [order] Ordering criteria.
|
|
152
158
|
* @param {string} [expand] Extra fields to fetch.
|
|
159
|
+
* @param {string} [filters]
|
|
153
160
|
* @param {*} [options] Override http request option.
|
|
154
161
|
* @throws {RequiredError}
|
|
155
162
|
*/
|
|
156
|
-
listInsuredObjectTypes(authorization?: string, pageSize?: number, pageToken?: string, filter?: string, search?: string, order?: string, expand?: string, options?: any): AxiosPromise<ListInsuredObjectTypesResponseClass> {
|
|
157
|
-
return localVarFp.listInsuredObjectTypes(authorization, pageSize, pageToken, filter, search, order, expand, options).then((request) => request(axios, basePath));
|
|
163
|
+
listInsuredObjectTypes(authorization?: string, pageSize?: number, pageToken?: string, filter?: string, search?: string, order?: string, expand?: string, filters?: string, options?: any): AxiosPromise<ListInsuredObjectTypesResponseClass> {
|
|
164
|
+
return localVarFp.listInsuredObjectTypes(authorization, pageSize, pageToken, filter, search, order, expand, filters, options).then((request) => request(axios, basePath));
|
|
158
165
|
},
|
|
159
166
|
};
|
|
160
167
|
};
|
|
@@ -213,6 +220,13 @@ export interface InsuredObjectTypesApiListInsuredObjectTypesRequest {
|
|
|
213
220
|
* @memberof InsuredObjectTypesApiListInsuredObjectTypes
|
|
214
221
|
*/
|
|
215
222
|
readonly expand?: string
|
|
223
|
+
|
|
224
|
+
/**
|
|
225
|
+
*
|
|
226
|
+
* @type {string}
|
|
227
|
+
* @memberof InsuredObjectTypesApiListInsuredObjectTypes
|
|
228
|
+
*/
|
|
229
|
+
readonly filters?: string
|
|
216
230
|
}
|
|
217
231
|
|
|
218
232
|
/**
|
|
@@ -231,6 +245,6 @@ export class InsuredObjectTypesApi extends BaseAPI {
|
|
|
231
245
|
* @memberof InsuredObjectTypesApi
|
|
232
246
|
*/
|
|
233
247
|
public listInsuredObjectTypes(requestParameters: InsuredObjectTypesApiListInsuredObjectTypesRequest = {}, options?: AxiosRequestConfig) {
|
|
234
|
-
return InsuredObjectTypesApiFp(this.configuration).listInsuredObjectTypes(requestParameters.authorization, requestParameters.pageSize, requestParameters.pageToken, requestParameters.filter, requestParameters.search, requestParameters.order, requestParameters.expand, options).then((request) => request(this.axios, this.basePath));
|
|
248
|
+
return InsuredObjectTypesApiFp(this.configuration).listInsuredObjectTypes(requestParameters.authorization, requestParameters.pageSize, requestParameters.pageToken, requestParameters.filter, requestParameters.search, requestParameters.order, requestParameters.expand, requestParameters.filters, options).then((request) => request(this.axios, this.basePath));
|
|
235
249
|
}
|
|
236
250
|
}
|
|
@@ -187,10 +187,11 @@ export const InsuredObjectsApiAxiosParamCreator = function (configuration?: Conf
|
|
|
187
187
|
* @param {string} [search] Search query.
|
|
188
188
|
* @param {string} [order] Ordering criteria.
|
|
189
189
|
* @param {string} [expand] Extra fields to fetch.
|
|
190
|
+
* @param {string} [filters]
|
|
190
191
|
* @param {*} [options] Override http request option.
|
|
191
192
|
* @throws {RequiredError}
|
|
192
193
|
*/
|
|
193
|
-
listInsuredObjects: async (authorization?: string, pageSize?: number, pageToken?: string, filter?: string, search?: string, order?: string, expand?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
194
|
+
listInsuredObjects: async (authorization?: string, pageSize?: number, pageToken?: string, filter?: string, search?: string, order?: string, expand?: string, filters?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
194
195
|
const localVarPath = `/insuranceservice/v1/insured-objects`;
|
|
195
196
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
196
197
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
@@ -233,6 +234,10 @@ export const InsuredObjectsApiAxiosParamCreator = function (configuration?: Conf
|
|
|
233
234
|
localVarQueryParameter['expand'] = expand;
|
|
234
235
|
}
|
|
235
236
|
|
|
237
|
+
if (filters !== undefined) {
|
|
238
|
+
localVarQueryParameter['filters'] = filters;
|
|
239
|
+
}
|
|
240
|
+
|
|
236
241
|
if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
|
|
237
242
|
localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
|
|
238
243
|
}
|
|
@@ -305,11 +310,12 @@ export const InsuredObjectsApiFp = function(configuration?: Configuration) {
|
|
|
305
310
|
* @param {string} [search] Search query.
|
|
306
311
|
* @param {string} [order] Ordering criteria.
|
|
307
312
|
* @param {string} [expand] Extra fields to fetch.
|
|
313
|
+
* @param {string} [filters]
|
|
308
314
|
* @param {*} [options] Override http request option.
|
|
309
315
|
* @throws {RequiredError}
|
|
310
316
|
*/
|
|
311
|
-
async listInsuredObjects(authorization?: string, pageSize?: number, pageToken?: string, filter?: string, search?: string, order?: string, expand?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ListInsuredObjectsResponseClass>> {
|
|
312
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.listInsuredObjects(authorization, pageSize, pageToken, filter, search, order, expand, options);
|
|
317
|
+
async listInsuredObjects(authorization?: string, pageSize?: number, pageToken?: string, filter?: string, search?: string, order?: string, expand?: string, filters?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ListInsuredObjectsResponseClass>> {
|
|
318
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.listInsuredObjects(authorization, pageSize, pageToken, filter, search, order, expand, filters, options);
|
|
313
319
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
314
320
|
},
|
|
315
321
|
}
|
|
@@ -366,11 +372,12 @@ export const InsuredObjectsApiFactory = function (configuration?: Configuration,
|
|
|
366
372
|
* @param {string} [search] Search query.
|
|
367
373
|
* @param {string} [order] Ordering criteria.
|
|
368
374
|
* @param {string} [expand] Extra fields to fetch.
|
|
375
|
+
* @param {string} [filters]
|
|
369
376
|
* @param {*} [options] Override http request option.
|
|
370
377
|
* @throws {RequiredError}
|
|
371
378
|
*/
|
|
372
|
-
listInsuredObjects(authorization?: string, pageSize?: number, pageToken?: string, filter?: string, search?: string, order?: string, expand?: string, options?: any): AxiosPromise<ListInsuredObjectsResponseClass> {
|
|
373
|
-
return localVarFp.listInsuredObjects(authorization, pageSize, pageToken, filter, search, order, expand, options).then((request) => request(axios, basePath));
|
|
379
|
+
listInsuredObjects(authorization?: string, pageSize?: number, pageToken?: string, filter?: string, search?: string, order?: string, expand?: string, filters?: string, options?: any): AxiosPromise<ListInsuredObjectsResponseClass> {
|
|
380
|
+
return localVarFp.listInsuredObjects(authorization, pageSize, pageToken, filter, search, order, expand, filters, options).then((request) => request(axios, basePath));
|
|
374
381
|
},
|
|
375
382
|
};
|
|
376
383
|
};
|
|
@@ -499,6 +506,13 @@ export interface InsuredObjectsApiListInsuredObjectsRequest {
|
|
|
499
506
|
* @memberof InsuredObjectsApiListInsuredObjects
|
|
500
507
|
*/
|
|
501
508
|
readonly expand?: string
|
|
509
|
+
|
|
510
|
+
/**
|
|
511
|
+
*
|
|
512
|
+
* @type {string}
|
|
513
|
+
* @memberof InsuredObjectsApiListInsuredObjects
|
|
514
|
+
*/
|
|
515
|
+
readonly filters?: string
|
|
502
516
|
}
|
|
503
517
|
|
|
504
518
|
/**
|
|
@@ -553,6 +567,6 @@ export class InsuredObjectsApi extends BaseAPI {
|
|
|
553
567
|
* @memberof InsuredObjectsApi
|
|
554
568
|
*/
|
|
555
569
|
public listInsuredObjects(requestParameters: InsuredObjectsApiListInsuredObjectsRequest = {}, options?: AxiosRequestConfig) {
|
|
556
|
-
return InsuredObjectsApiFp(this.configuration).listInsuredObjects(requestParameters.authorization, requestParameters.pageSize, requestParameters.pageToken, requestParameters.filter, requestParameters.search, requestParameters.order, requestParameters.expand, options).then((request) => request(this.axios, this.basePath));
|
|
570
|
+
return InsuredObjectsApiFp(this.configuration).listInsuredObjects(requestParameters.authorization, requestParameters.pageSize, requestParameters.pageToken, requestParameters.filter, requestParameters.search, requestParameters.order, requestParameters.expand, requestParameters.filters, options).then((request) => request(this.axios, this.basePath));
|
|
557
571
|
}
|
|
558
572
|
}
|