@emilgroup/insurance-sdk-node 1.67.1-beta.5 → 1.67.1-beta.7
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/README.md +2 -2
- package/api/booking-funnel-versions-api.ts +40 -40
- package/api/booking-funnels-api.ts +40 -40
- package/api/lead-statuses-api.ts +40 -40
- package/api/lead-versions-api.ts +40 -40
- package/api/leads-api.ts +40 -40
- package/api/policies-api.ts +57 -57
- package/api/status-transition-rules-api.ts +40 -40
- package/dist/api/booking-funnel-versions-api.d.ts +40 -40
- package/dist/api/booking-funnel-versions-api.js +21 -21
- package/dist/api/booking-funnels-api.d.ts +40 -40
- package/dist/api/booking-funnels-api.js +21 -21
- package/dist/api/lead-statuses-api.d.ts +40 -40
- package/dist/api/lead-statuses-api.js +21 -21
- package/dist/api/lead-versions-api.d.ts +40 -40
- package/dist/api/lead-versions-api.js +21 -21
- package/dist/api/leads-api.d.ts +40 -40
- package/dist/api/leads-api.js +21 -21
- package/dist/api/policies-api.d.ts +57 -57
- package/dist/api/policies-api.js +27 -27
- package/dist/api/status-transition-rules-api.d.ts +40 -40
- package/dist/api/status-transition-rules-api.js +21 -21
- package/package.json +1 -1
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.67.1-beta.
|
|
20
|
+
npm install @emilgroup/insurance-sdk-node@1.67.1-beta.7 --save
|
|
21
21
|
```
|
|
22
22
|
or
|
|
23
23
|
```
|
|
24
|
-
yarn add @emilgroup/insurance-sdk-node@1.67.1-beta.
|
|
24
|
+
yarn add @emilgroup/insurance-sdk-node@1.67.1-beta.7
|
|
25
25
|
```
|
|
26
26
|
|
|
27
27
|
And then you can import `PoliciesApi`.
|
|
@@ -84,17 +84,17 @@ export const BookingFunnelVersionsApiAxiosParamCreator = function (configuration
|
|
|
84
84
|
* @summary List booking funnel versions
|
|
85
85
|
* @param {string} code
|
|
86
86
|
* @param {string} [authorization] Bearer Token
|
|
87
|
-
* @param {
|
|
88
|
-
* @param {
|
|
89
|
-
* @param {
|
|
90
|
-
* @param {
|
|
91
|
-
* @param {
|
|
92
|
-
* @param {
|
|
93
|
-
* @param {
|
|
87
|
+
* @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
88
|
+
* @param {string} [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 {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.
|
|
90
|
+
* @param {string} [search] To search the list by any field, pass search=xxx to fetch the result.
|
|
91
|
+
* @param {string} [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 {string} [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 {string} [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
94
|
* @param {*} [options] Override http request option.
|
|
95
95
|
* @throws {RequiredError}
|
|
96
96
|
*/
|
|
97
|
-
listBookingFunnelVersions: async (code: string, authorization?: string, pageSize?:
|
|
97
|
+
listBookingFunnelVersions: async (code: string, authorization?: string, pageSize?: number, pageToken?: string, filter?: string, search?: string, order?: string, expand?: string, filters?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
98
98
|
// verify required parameter 'code' is not null or undefined
|
|
99
99
|
assertParamExists('listBookingFunnelVersions', 'code', code)
|
|
100
100
|
const localVarPath = `/insuranceservice/v1/booking-funnels/{code}/versions`
|
|
@@ -187,17 +187,17 @@ export const BookingFunnelVersionsApiFp = function(configuration?: Configuration
|
|
|
187
187
|
* @summary List booking funnel versions
|
|
188
188
|
* @param {string} code
|
|
189
189
|
* @param {string} [authorization] Bearer Token
|
|
190
|
-
* @param {
|
|
191
|
-
* @param {
|
|
192
|
-
* @param {
|
|
193
|
-
* @param {
|
|
194
|
-
* @param {
|
|
195
|
-
* @param {
|
|
196
|
-
* @param {
|
|
190
|
+
* @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
191
|
+
* @param {string} [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 {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.
|
|
193
|
+
* @param {string} [search] To search the list by any field, pass search=xxx to fetch the result.
|
|
194
|
+
* @param {string} [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 {string} [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 {string} [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
197
|
* @param {*} [options] Override http request option.
|
|
198
198
|
* @throws {RequiredError}
|
|
199
199
|
*/
|
|
200
|
-
async listBookingFunnelVersions(code: string, authorization?: string, pageSize?:
|
|
200
|
+
async listBookingFunnelVersions(code: string, authorization?: string, pageSize?: number, pageToken?: string, filter?: string, search?: string, order?: string, expand?: string, filters?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
|
|
201
201
|
const localVarAxiosArgs = await localVarAxiosParamCreator.listBookingFunnelVersions(code, authorization, pageSize, pageToken, filter, search, order, expand, filters, options);
|
|
202
202
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
203
203
|
},
|
|
@@ -228,17 +228,17 @@ export const BookingFunnelVersionsApiFactory = function (configuration?: Configu
|
|
|
228
228
|
* @summary List booking funnel versions
|
|
229
229
|
* @param {string} code
|
|
230
230
|
* @param {string} [authorization] Bearer Token
|
|
231
|
-
* @param {
|
|
232
|
-
* @param {
|
|
233
|
-
* @param {
|
|
234
|
-
* @param {
|
|
235
|
-
* @param {
|
|
236
|
-
* @param {
|
|
237
|
-
* @param {
|
|
231
|
+
* @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
232
|
+
* @param {string} [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 {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.
|
|
234
|
+
* @param {string} [search] To search the list by any field, pass search=xxx to fetch the result.
|
|
235
|
+
* @param {string} [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 {string} [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 {string} [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
238
|
* @param {*} [options] Override http request option.
|
|
239
239
|
* @throws {RequiredError}
|
|
240
240
|
*/
|
|
241
|
-
listBookingFunnelVersions(code: string, authorization?: string, pageSize?:
|
|
241
|
+
listBookingFunnelVersions(code: string, authorization?: string, pageSize?: number, pageToken?: string, filter?: string, search?: string, order?: string, expand?: string, filters?: string, options?: any): AxiosPromise<void> {
|
|
242
242
|
return localVarFp.listBookingFunnelVersions(code, authorization, pageSize, pageToken, filter, search, order, expand, filters, options).then((request) => request(axios, basePath));
|
|
243
243
|
},
|
|
244
244
|
};
|
|
@@ -294,52 +294,52 @@ export interface BookingFunnelVersionsApiListBookingFunnelVersionsRequest {
|
|
|
294
294
|
|
|
295
295
|
/**
|
|
296
296
|
* A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
297
|
-
* @type {
|
|
297
|
+
* @type {number}
|
|
298
298
|
* @memberof BookingFunnelVersionsApiListBookingFunnelVersions
|
|
299
299
|
*/
|
|
300
|
-
readonly pageSize?:
|
|
300
|
+
readonly pageSize?: number
|
|
301
301
|
|
|
302
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,
|
|
304
|
-
* @type {
|
|
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 {string}
|
|
305
305
|
* @memberof BookingFunnelVersionsApiListBookingFunnelVersions
|
|
306
306
|
*/
|
|
307
|
-
readonly pageToken?:
|
|
307
|
+
readonly pageToken?: string
|
|
308
308
|
|
|
309
309
|
/**
|
|
310
310
|
* Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.
|
|
311
|
-
* @type {
|
|
311
|
+
* @type {string}
|
|
312
312
|
* @memberof BookingFunnelVersionsApiListBookingFunnelVersions
|
|
313
313
|
*/
|
|
314
|
-
readonly filter?:
|
|
314
|
+
readonly filter?: string
|
|
315
315
|
|
|
316
316
|
/**
|
|
317
317
|
* To search the list by any field, pass search=xxx to fetch the result.
|
|
318
|
-
* @type {
|
|
318
|
+
* @type {string}
|
|
319
319
|
* @memberof BookingFunnelVersionsApiListBookingFunnelVersions
|
|
320
320
|
*/
|
|
321
|
-
readonly search?:
|
|
321
|
+
readonly search?: string
|
|
322
322
|
|
|
323
323
|
/**
|
|
324
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 {
|
|
325
|
+
* @type {string}
|
|
326
326
|
* @memberof BookingFunnelVersionsApiListBookingFunnelVersions
|
|
327
327
|
*/
|
|
328
|
-
readonly order?:
|
|
328
|
+
readonly order?: string
|
|
329
329
|
|
|
330
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
|
|
332
|
-
* @type {
|
|
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 {string}
|
|
333
333
|
* @memberof BookingFunnelVersionsApiListBookingFunnelVersions
|
|
334
334
|
*/
|
|
335
|
-
readonly expand?:
|
|
335
|
+
readonly expand?: string
|
|
336
336
|
|
|
337
337
|
/**
|
|
338
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 {
|
|
339
|
+
* @type {string}
|
|
340
340
|
* @memberof BookingFunnelVersionsApiListBookingFunnelVersions
|
|
341
341
|
*/
|
|
342
|
-
readonly filters?:
|
|
342
|
+
readonly filters?: string
|
|
343
343
|
}
|
|
344
344
|
|
|
345
345
|
/**
|
|
@@ -189,17 +189,17 @@ export const BookingFunnelsApiAxiosParamCreator = function (configuration?: Conf
|
|
|
189
189
|
* Returns a list of booking funnels you have previously created. The booking funnels are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation. **Required Permissions** \"policy-management.products.view\"
|
|
190
190
|
* @summary List booking funnels
|
|
191
191
|
* @param {string} [authorization] Bearer Token
|
|
192
|
-
* @param {
|
|
193
|
-
* @param {
|
|
194
|
-
* @param {
|
|
195
|
-
* @param {
|
|
196
|
-
* @param {
|
|
197
|
-
* @param {
|
|
198
|
-
* @param {
|
|
192
|
+
* @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
193
|
+
* @param {string} [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.
|
|
194
|
+
* @param {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.
|
|
195
|
+
* @param {string} [search] To search the list by any field, pass search=xxx to fetch the result.
|
|
196
|
+
* @param {string} [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.
|
|
197
|
+
* @param {string} [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.
|
|
198
|
+
* @param {string} [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.
|
|
199
199
|
* @param {*} [options] Override http request option.
|
|
200
200
|
* @throws {RequiredError}
|
|
201
201
|
*/
|
|
202
|
-
listBookingFunnels: async (authorization?: string, pageSize?:
|
|
202
|
+
listBookingFunnels: async (authorization?: string, pageSize?: number, pageToken?: string, filter?: string, search?: string, order?: string, expand?: string, filters?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
203
203
|
const localVarPath = `/insuranceservice/v1/booking-funnels`;
|
|
204
204
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
205
205
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
@@ -412,17 +412,17 @@ export const BookingFunnelsApiFp = function(configuration?: Configuration) {
|
|
|
412
412
|
* Returns a list of booking funnels you have previously created. The booking funnels are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation. **Required Permissions** \"policy-management.products.view\"
|
|
413
413
|
* @summary List booking funnels
|
|
414
414
|
* @param {string} [authorization] Bearer Token
|
|
415
|
-
* @param {
|
|
416
|
-
* @param {
|
|
417
|
-
* @param {
|
|
418
|
-
* @param {
|
|
419
|
-
* @param {
|
|
420
|
-
* @param {
|
|
421
|
-
* @param {
|
|
415
|
+
* @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
416
|
+
* @param {string} [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.
|
|
417
|
+
* @param {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.
|
|
418
|
+
* @param {string} [search] To search the list by any field, pass search=xxx to fetch the result.
|
|
419
|
+
* @param {string} [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.
|
|
420
|
+
* @param {string} [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.
|
|
421
|
+
* @param {string} [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.
|
|
422
422
|
* @param {*} [options] Override http request option.
|
|
423
423
|
* @throws {RequiredError}
|
|
424
424
|
*/
|
|
425
|
-
async listBookingFunnels(authorization?: string, pageSize?:
|
|
425
|
+
async listBookingFunnels(authorization?: string, pageSize?: number, pageToken?: string, filter?: string, search?: string, order?: string, expand?: string, filters?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ListBookingFunnelsResponseClass>> {
|
|
426
426
|
const localVarAxiosArgs = await localVarAxiosParamCreator.listBookingFunnels(authorization, pageSize, pageToken, filter, search, order, expand, filters, options);
|
|
427
427
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
428
428
|
},
|
|
@@ -498,17 +498,17 @@ export const BookingFunnelsApiFactory = function (configuration?: Configuration,
|
|
|
498
498
|
* Returns a list of booking funnels you have previously created. The booking funnels are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation. **Required Permissions** \"policy-management.products.view\"
|
|
499
499
|
* @summary List booking funnels
|
|
500
500
|
* @param {string} [authorization] Bearer Token
|
|
501
|
-
* @param {
|
|
502
|
-
* @param {
|
|
503
|
-
* @param {
|
|
504
|
-
* @param {
|
|
505
|
-
* @param {
|
|
506
|
-
* @param {
|
|
507
|
-
* @param {
|
|
501
|
+
* @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
502
|
+
* @param {string} [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.
|
|
503
|
+
* @param {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.
|
|
504
|
+
* @param {string} [search] To search the list by any field, pass search=xxx to fetch the result.
|
|
505
|
+
* @param {string} [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.
|
|
506
|
+
* @param {string} [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.
|
|
507
|
+
* @param {string} [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.
|
|
508
508
|
* @param {*} [options] Override http request option.
|
|
509
509
|
* @throws {RequiredError}
|
|
510
510
|
*/
|
|
511
|
-
listBookingFunnels(authorization?: string, pageSize?:
|
|
511
|
+
listBookingFunnels(authorization?: string, pageSize?: number, pageToken?: string, filter?: string, search?: string, order?: string, expand?: string, filters?: string, options?: any): AxiosPromise<ListBookingFunnelsResponseClass> {
|
|
512
512
|
return localVarFp.listBookingFunnels(authorization, pageSize, pageToken, filter, search, order, expand, filters, options).then((request) => request(axios, basePath));
|
|
513
513
|
},
|
|
514
514
|
/**
|
|
@@ -615,52 +615,52 @@ export interface BookingFunnelsApiListBookingFunnelsRequest {
|
|
|
615
615
|
|
|
616
616
|
/**
|
|
617
617
|
* A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
618
|
-
* @type {
|
|
618
|
+
* @type {number}
|
|
619
619
|
* @memberof BookingFunnelsApiListBookingFunnels
|
|
620
620
|
*/
|
|
621
|
-
readonly pageSize?:
|
|
621
|
+
readonly pageSize?: number
|
|
622
622
|
|
|
623
623
|
/**
|
|
624
|
-
* 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,
|
|
625
|
-
* @type {
|
|
624
|
+
* 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.
|
|
625
|
+
* @type {string}
|
|
626
626
|
* @memberof BookingFunnelsApiListBookingFunnels
|
|
627
627
|
*/
|
|
628
|
-
readonly pageToken?:
|
|
628
|
+
readonly pageToken?: string
|
|
629
629
|
|
|
630
630
|
/**
|
|
631
631
|
* Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.
|
|
632
|
-
* @type {
|
|
632
|
+
* @type {string}
|
|
633
633
|
* @memberof BookingFunnelsApiListBookingFunnels
|
|
634
634
|
*/
|
|
635
|
-
readonly filter?:
|
|
635
|
+
readonly filter?: string
|
|
636
636
|
|
|
637
637
|
/**
|
|
638
638
|
* To search the list by any field, pass search=xxx to fetch the result.
|
|
639
|
-
* @type {
|
|
639
|
+
* @type {string}
|
|
640
640
|
* @memberof BookingFunnelsApiListBookingFunnels
|
|
641
641
|
*/
|
|
642
|
-
readonly search?:
|
|
642
|
+
readonly search?: string
|
|
643
643
|
|
|
644
644
|
/**
|
|
645
645
|
* 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.
|
|
646
|
-
* @type {
|
|
646
|
+
* @type {string}
|
|
647
647
|
* @memberof BookingFunnelsApiListBookingFunnels
|
|
648
648
|
*/
|
|
649
|
-
readonly order?:
|
|
649
|
+
readonly order?: string
|
|
650
650
|
|
|
651
651
|
/**
|
|
652
|
-
* 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
|
|
653
|
-
* @type {
|
|
652
|
+
* 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.
|
|
653
|
+
* @type {string}
|
|
654
654
|
* @memberof BookingFunnelsApiListBookingFunnels
|
|
655
655
|
*/
|
|
656
|
-
readonly expand?:
|
|
656
|
+
readonly expand?: string
|
|
657
657
|
|
|
658
658
|
/**
|
|
659
659
|
* 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.
|
|
660
|
-
* @type {
|
|
660
|
+
* @type {string}
|
|
661
661
|
* @memberof BookingFunnelsApiListBookingFunnels
|
|
662
662
|
*/
|
|
663
|
-
readonly filters?:
|
|
663
|
+
readonly filters?: string
|
|
664
664
|
}
|
|
665
665
|
|
|
666
666
|
/**
|
package/api/lead-statuses-api.ts
CHANGED
|
@@ -185,17 +185,17 @@ export const LeadStatusesApiAxiosParamCreator = function (configuration?: Config
|
|
|
185
185
|
* Returns a list of lead statuses you have previously created. The lead statuses are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation. **Required Permissions** \"policy-management.products.view\"
|
|
186
186
|
* @summary List lead statuses
|
|
187
187
|
* @param {string} [authorization] Bearer Token
|
|
188
|
-
* @param {
|
|
189
|
-
* @param {
|
|
190
|
-
* @param {
|
|
191
|
-
* @param {
|
|
192
|
-
* @param {
|
|
193
|
-
* @param {
|
|
194
|
-
* @param {
|
|
188
|
+
* @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
189
|
+
* @param {string} [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.
|
|
190
|
+
* @param {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.
|
|
191
|
+
* @param {string} [search] To search the list by any field, pass search=xxx to fetch the result.
|
|
192
|
+
* @param {string} [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.
|
|
193
|
+
* @param {string} [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.
|
|
194
|
+
* @param {string} [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.
|
|
195
195
|
* @param {*} [options] Override http request option.
|
|
196
196
|
* @throws {RequiredError}
|
|
197
197
|
*/
|
|
198
|
-
listLeadStatuses: async (authorization?: string, pageSize?:
|
|
198
|
+
listLeadStatuses: async (authorization?: string, pageSize?: number, pageToken?: string, filter?: string, search?: string, order?: string, expand?: string, filters?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
199
199
|
const localVarPath = `/insuranceservice/v1/lead-statuses`;
|
|
200
200
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
201
201
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
@@ -358,17 +358,17 @@ export const LeadStatusesApiFp = function(configuration?: Configuration) {
|
|
|
358
358
|
* Returns a list of lead statuses you have previously created. The lead statuses are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation. **Required Permissions** \"policy-management.products.view\"
|
|
359
359
|
* @summary List lead statuses
|
|
360
360
|
* @param {string} [authorization] Bearer Token
|
|
361
|
-
* @param {
|
|
362
|
-
* @param {
|
|
363
|
-
* @param {
|
|
364
|
-
* @param {
|
|
365
|
-
* @param {
|
|
366
|
-
* @param {
|
|
367
|
-
* @param {
|
|
361
|
+
* @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
362
|
+
* @param {string} [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.
|
|
363
|
+
* @param {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.
|
|
364
|
+
* @param {string} [search] To search the list by any field, pass search=xxx to fetch the result.
|
|
365
|
+
* @param {string} [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.
|
|
366
|
+
* @param {string} [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.
|
|
367
|
+
* @param {string} [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.
|
|
368
368
|
* @param {*} [options] Override http request option.
|
|
369
369
|
* @throws {RequiredError}
|
|
370
370
|
*/
|
|
371
|
-
async listLeadStatuses(authorization?: string, pageSize?:
|
|
371
|
+
async listLeadStatuses(authorization?: string, pageSize?: number, pageToken?: string, filter?: string, search?: string, order?: string, expand?: string, filters?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ListLeadStatusesResponseClass>> {
|
|
372
372
|
const localVarAxiosArgs = await localVarAxiosParamCreator.listLeadStatuses(authorization, pageSize, pageToken, filter, search, order, expand, filters, options);
|
|
373
373
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
374
374
|
},
|
|
@@ -432,17 +432,17 @@ export const LeadStatusesApiFactory = function (configuration?: Configuration, b
|
|
|
432
432
|
* Returns a list of lead statuses you have previously created. The lead statuses are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation. **Required Permissions** \"policy-management.products.view\"
|
|
433
433
|
* @summary List lead statuses
|
|
434
434
|
* @param {string} [authorization] Bearer Token
|
|
435
|
-
* @param {
|
|
436
|
-
* @param {
|
|
437
|
-
* @param {
|
|
438
|
-
* @param {
|
|
439
|
-
* @param {
|
|
440
|
-
* @param {
|
|
441
|
-
* @param {
|
|
435
|
+
* @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
436
|
+
* @param {string} [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.
|
|
437
|
+
* @param {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.
|
|
438
|
+
* @param {string} [search] To search the list by any field, pass search=xxx to fetch the result.
|
|
439
|
+
* @param {string} [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.
|
|
440
|
+
* @param {string} [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.
|
|
441
|
+
* @param {string} [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.
|
|
442
442
|
* @param {*} [options] Override http request option.
|
|
443
443
|
* @throws {RequiredError}
|
|
444
444
|
*/
|
|
445
|
-
listLeadStatuses(authorization?: string, pageSize?:
|
|
445
|
+
listLeadStatuses(authorization?: string, pageSize?: number, pageToken?: string, filter?: string, search?: string, order?: string, expand?: string, filters?: string, options?: any): AxiosPromise<ListLeadStatusesResponseClass> {
|
|
446
446
|
return localVarFp.listLeadStatuses(authorization, pageSize, pageToken, filter, search, order, expand, filters, options).then((request) => request(axios, basePath));
|
|
447
447
|
},
|
|
448
448
|
/**
|
|
@@ -538,52 +538,52 @@ export interface LeadStatusesApiListLeadStatusesRequest {
|
|
|
538
538
|
|
|
539
539
|
/**
|
|
540
540
|
* A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
541
|
-
* @type {
|
|
541
|
+
* @type {number}
|
|
542
542
|
* @memberof LeadStatusesApiListLeadStatuses
|
|
543
543
|
*/
|
|
544
|
-
readonly pageSize?:
|
|
544
|
+
readonly pageSize?: number
|
|
545
545
|
|
|
546
546
|
/**
|
|
547
|
-
* 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,
|
|
548
|
-
* @type {
|
|
547
|
+
* 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.
|
|
548
|
+
* @type {string}
|
|
549
549
|
* @memberof LeadStatusesApiListLeadStatuses
|
|
550
550
|
*/
|
|
551
|
-
readonly pageToken?:
|
|
551
|
+
readonly pageToken?: string
|
|
552
552
|
|
|
553
553
|
/**
|
|
554
554
|
* Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.
|
|
555
|
-
* @type {
|
|
555
|
+
* @type {string}
|
|
556
556
|
* @memberof LeadStatusesApiListLeadStatuses
|
|
557
557
|
*/
|
|
558
|
-
readonly filter?:
|
|
558
|
+
readonly filter?: string
|
|
559
559
|
|
|
560
560
|
/**
|
|
561
561
|
* To search the list by any field, pass search=xxx to fetch the result.
|
|
562
|
-
* @type {
|
|
562
|
+
* @type {string}
|
|
563
563
|
* @memberof LeadStatusesApiListLeadStatuses
|
|
564
564
|
*/
|
|
565
|
-
readonly search?:
|
|
565
|
+
readonly search?: string
|
|
566
566
|
|
|
567
567
|
/**
|
|
568
568
|
* 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.
|
|
569
|
-
* @type {
|
|
569
|
+
* @type {string}
|
|
570
570
|
* @memberof LeadStatusesApiListLeadStatuses
|
|
571
571
|
*/
|
|
572
|
-
readonly order?:
|
|
572
|
+
readonly order?: string
|
|
573
573
|
|
|
574
574
|
/**
|
|
575
|
-
* 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
|
|
576
|
-
* @type {
|
|
575
|
+
* 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.
|
|
576
|
+
* @type {string}
|
|
577
577
|
* @memberof LeadStatusesApiListLeadStatuses
|
|
578
578
|
*/
|
|
579
|
-
readonly expand?:
|
|
579
|
+
readonly expand?: string
|
|
580
580
|
|
|
581
581
|
/**
|
|
582
582
|
* 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.
|
|
583
|
-
* @type {
|
|
583
|
+
* @type {string}
|
|
584
584
|
* @memberof LeadStatusesApiListLeadStatuses
|
|
585
585
|
*/
|
|
586
|
-
readonly filters?:
|
|
586
|
+
readonly filters?: string
|
|
587
587
|
}
|
|
588
588
|
|
|
589
589
|
/**
|