@emilgroup/insurance-sdk-node 1.44.0 → 1.46.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (58) hide show
  1. package/.openapi-generator/FILES +10 -0
  2. package/README.md +2 -2
  3. package/api/booking-funnels-api.ts +791 -0
  4. package/api/lead-versions-api.ts +24 -10
  5. package/api/leads-api.ts +24 -10
  6. package/api/policies-api.ts +507 -8
  7. package/api/product-factors-api.ts +2 -0
  8. package/api/status-transition-rules-api.ts +24 -10
  9. package/api.ts +2 -0
  10. package/dist/api/booking-funnels-api.d.ts +443 -0
  11. package/dist/api/booking-funnels-api.js +735 -0
  12. package/dist/api/lead-versions-api.d.ts +16 -7
  13. package/dist/api/lead-versions-api.js +15 -9
  14. package/dist/api/leads-api.d.ts +16 -7
  15. package/dist/api/leads-api.js +15 -9
  16. package/dist/api/policies-api.d.ts +285 -8
  17. package/dist/api/policies-api.js +416 -6
  18. package/dist/api/status-transition-rules-api.d.ts +16 -7
  19. package/dist/api/status-transition-rules-api.js +15 -9
  20. package/dist/api.d.ts +1 -0
  21. package/dist/api.js +1 -0
  22. package/dist/models/booking-funnel-class.d.ts +84 -0
  23. package/dist/models/booking-funnel-class.js +15 -0
  24. package/dist/models/create-booking-funnel-request-dto.d.ts +66 -0
  25. package/dist/models/create-booking-funnel-request-dto.js +15 -0
  26. package/dist/models/create-draft-policy-request-dto.d.ts +70 -0
  27. package/dist/models/create-draft-policy-request-dto.js +23 -0
  28. package/dist/models/delete-draft-policy-request-dto.d.ts +24 -0
  29. package/dist/models/delete-draft-policy-request-dto.js +15 -0
  30. package/dist/models/get-draft-policy-request-dto.d.ts +30 -0
  31. package/dist/models/get-draft-policy-request-dto.js +15 -0
  32. package/dist/models/index.d.ts +9 -0
  33. package/dist/models/index.js +9 -0
  34. package/dist/models/list-booking-funnels-response-class.d.ts +31 -0
  35. package/dist/models/list-booking-funnels-response-class.js +15 -0
  36. package/dist/models/patch-booking-funnel-request-dto.d.ts +60 -0
  37. package/dist/models/patch-booking-funnel-request-dto.js +15 -0
  38. package/dist/models/patch-draft-policy-request-dto.d.ts +70 -0
  39. package/dist/models/patch-draft-policy-request-dto.js +23 -0
  40. package/dist/models/patch-policy-request-dto.d.ts +0 -6
  41. package/dist/models/policy-version-class.d.ts +12 -0
  42. package/dist/models/update-booking-funnel-request-dto.d.ts +60 -0
  43. package/dist/models/update-booking-funnel-request-dto.js +15 -0
  44. package/dist/models/update-policy-request-dto.d.ts +0 -6
  45. package/models/booking-funnel-class.ts +90 -0
  46. package/models/create-booking-funnel-request-dto.ts +72 -0
  47. package/models/create-draft-policy-request-dto.ts +79 -0
  48. package/models/delete-draft-policy-request-dto.ts +30 -0
  49. package/models/get-draft-policy-request-dto.ts +36 -0
  50. package/models/index.ts +9 -0
  51. package/models/list-booking-funnels-response-class.ts +37 -0
  52. package/models/patch-booking-funnel-request-dto.ts +66 -0
  53. package/models/patch-draft-policy-request-dto.ts +79 -0
  54. package/models/patch-policy-request-dto.ts +0 -6
  55. package/models/policy-version-class.ts +12 -0
  56. package/models/update-booking-funnel-request-dto.ts +66 -0
  57. package/models/update-policy-request-dto.ts +0 -6
  58. package/package.json +1 -1
@@ -343,6 +343,7 @@ export const ProductFactorsApiAxiosParamCreator = function (configuration?: Conf
343
343
 
344
344
 
345
345
  localVarHeaderParameter['Content-Type'] = 'multipart/form-data; boundary=' + localVarFormParams.getBoundary();
346
+
346
347
 
347
348
  setSearchParams(localVarUrlObj, localVarQueryParameter);
348
349
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
@@ -393,6 +394,7 @@ export const ProductFactorsApiAxiosParamCreator = function (configuration?: Conf
393
394
 
394
395
 
395
396
  localVarHeaderParameter['Content-Type'] = 'multipart/form-data; boundary=' + localVarFormParams.getBoundary();
397
+
396
398
 
397
399
  setSearchParams(localVarUrlObj, localVarQueryParameter);
398
400
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
@@ -194,16 +194,17 @@ export const StatusTransitionRulesApiAxiosParamCreator = function (configuration
194
194
  * Returns a list of status transition rules you have previously created. The status transition rules are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
195
195
  * @summary List status transition rules
196
196
  * @param {string} [authorization] Bearer Token
197
- * @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 100. Default: 10.
197
+ * @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
198
198
  * @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.
199
199
  * @param {any} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.
200
200
  * @param {any} [search] Search the list by any field. For instance, if you want to search by code add code=xxx in order to fetch the result.
201
201
  * @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.
202
202
  * @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.
203
+ * @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.
203
204
  * @param {*} [options] Override http request option.
204
205
  * @throws {RequiredError}
205
206
  */
206
- listStatusTransitionRules: async (authorization?: string, pageSize?: any, pageToken?: any, filter?: any, search?: any, order?: any, expand?: any, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
207
+ listStatusTransitionRules: async (authorization?: string, pageSize?: any, pageToken?: any, filter?: any, search?: any, order?: any, expand?: any, filters?: any, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
207
208
  const localVarPath = `/insuranceservice/v1/status-transitions/rules`;
208
209
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
209
210
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
@@ -246,6 +247,10 @@ export const StatusTransitionRulesApiAxiosParamCreator = function (configuration
246
247
  localVarQueryParameter['expand'] = expand;
247
248
  }
248
249
 
250
+ if (filters !== undefined) {
251
+ localVarQueryParameter['filters'] = filters;
252
+ }
253
+
249
254
  if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
250
255
  localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
251
256
  }
@@ -414,17 +419,18 @@ export const StatusTransitionRulesApiFp = function(configuration?: Configuration
414
419
  * Returns a list of status transition rules you have previously created. The status transition rules are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
415
420
  * @summary List status transition rules
416
421
  * @param {string} [authorization] Bearer Token
417
- * @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 100. Default: 10.
422
+ * @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
418
423
  * @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&#x3D;1, your subsequent call can include pageToken&#x3D;2 in order to fetch the next page of the list.
419
424
  * @param {any} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.
420
425
  * @param {any} [search] Search the list by any field. For instance, if you want to search by code add code&#x3D;xxx in order to fetch the result.
421
426
  * @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.
422
427
  * @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.
428
+ * @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.
423
429
  * @param {*} [options] Override http request option.
424
430
  * @throws {RequiredError}
425
431
  */
426
- async listStatusTransitionRules(authorization?: string, pageSize?: any, pageToken?: any, filter?: any, search?: any, order?: any, expand?: any, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ListStatusTransitionRulesResponseClass>> {
427
- const localVarAxiosArgs = await localVarAxiosParamCreator.listStatusTransitionRules(authorization, pageSize, pageToken, filter, search, order, expand, options);
432
+ async listStatusTransitionRules(authorization?: string, pageSize?: any, pageToken?: any, filter?: any, search?: any, order?: any, expand?: any, filters?: any, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ListStatusTransitionRulesResponseClass>> {
433
+ const localVarAxiosArgs = await localVarAxiosParamCreator.listStatusTransitionRules(authorization, pageSize, pageToken, filter, search, order, expand, filters, options);
428
434
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
429
435
  },
430
436
  /**
@@ -501,17 +507,18 @@ export const StatusTransitionRulesApiFactory = function (configuration?: Configu
501
507
  * Returns a list of status transition rules you have previously created. The status transition rules are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
502
508
  * @summary List status transition rules
503
509
  * @param {string} [authorization] Bearer Token
504
- * @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 100. Default: 10.
510
+ * @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
505
511
  * @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&#x3D;1, your subsequent call can include pageToken&#x3D;2 in order to fetch the next page of the list.
506
512
  * @param {any} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.
507
513
  * @param {any} [search] Search the list by any field. For instance, if you want to search by code add code&#x3D;xxx in order to fetch the result.
508
514
  * @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.
509
515
  * @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.
516
+ * @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.
510
517
  * @param {*} [options] Override http request option.
511
518
  * @throws {RequiredError}
512
519
  */
513
- listStatusTransitionRules(authorization?: string, pageSize?: any, pageToken?: any, filter?: any, search?: any, order?: any, expand?: any, options?: any): AxiosPromise<ListStatusTransitionRulesResponseClass> {
514
- return localVarFp.listStatusTransitionRules(authorization, pageSize, pageToken, filter, search, order, expand, options).then((request) => request(axios, basePath));
520
+ listStatusTransitionRules(authorization?: string, pageSize?: any, pageToken?: any, filter?: any, search?: any, order?: any, expand?: any, filters?: any, options?: any): AxiosPromise<ListStatusTransitionRulesResponseClass> {
521
+ return localVarFp.listStatusTransitionRules(authorization, pageSize, pageToken, filter, search, order, expand, filters, options).then((request) => request(axios, basePath));
515
522
  },
516
523
  /**
517
524
  * Updates the specified status transition rule by setting the values of the parameters passed. Any parameters not provided will be left unchanged.
@@ -624,7 +631,7 @@ export interface StatusTransitionRulesApiListStatusTransitionRulesRequest {
624
631
  readonly authorization?: string
625
632
 
626
633
  /**
627
- * A limit on the number of objects to be returned. Limit ranges between 1 and 100. Default: 10.
634
+ * A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
628
635
  * @type {any}
629
636
  * @memberof StatusTransitionRulesApiListStatusTransitionRules
630
637
  */
@@ -664,6 +671,13 @@ export interface StatusTransitionRulesApiListStatusTransitionRulesRequest {
664
671
  * @memberof StatusTransitionRulesApiListStatusTransitionRules
665
672
  */
666
673
  readonly expand?: any
674
+
675
+ /**
676
+ * 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.
677
+ * @type {any}
678
+ * @memberof StatusTransitionRulesApiListStatusTransitionRules
679
+ */
680
+ readonly filters?: any
667
681
  }
668
682
 
669
683
  /**
@@ -774,7 +788,7 @@ export class StatusTransitionRulesApi extends BaseAPI {
774
788
  * @memberof StatusTransitionRulesApi
775
789
  */
776
790
  public listStatusTransitionRules(requestParameters: StatusTransitionRulesApiListStatusTransitionRulesRequest = {}, options?: AxiosRequestConfig) {
777
- return StatusTransitionRulesApiFp(this.configuration).listStatusTransitionRules(requestParameters.authorization, requestParameters.pageSize, requestParameters.pageToken, requestParameters.filter, requestParameters.search, requestParameters.order, requestParameters.expand, options).then((request) => request(this.axios, this.basePath));
791
+ return StatusTransitionRulesApiFp(this.configuration).listStatusTransitionRules(requestParameters.authorization, requestParameters.pageSize, requestParameters.pageToken, requestParameters.filter, requestParameters.search, requestParameters.order, requestParameters.expand, requestParameters.filters, options).then((request) => request(this.axios, this.basePath));
778
792
  }
779
793
 
780
794
  /**
package/api.ts CHANGED
@@ -24,6 +24,7 @@ import FormData from 'form-data'
24
24
  import { DUMMY_BASE_URL, assertParamExists, setApiKeyToObject, setBasicAuthToObject, setBearerAuthToObject, setOAuthToObject, setSearchParams, serializeDataIfNeeded, toPathString, createRequestFunction } from './common';
25
25
  // @ts-ignore
26
26
  import { BASE_PATH, COLLECTION_FORMATS, RequestArgs, BaseAPI, RequiredError } from './base';
27
+ import { BookingFunnelsApi } from './api';
27
28
  import { DefaultApi } from './api';
28
29
  import { InsuredObjectTypesApi } from './api';
29
30
  import { InsuredObjectsApi } from './api';
@@ -40,6 +41,7 @@ import { ProductsApi } from './api';
40
41
  import { StatusTransitionRulesApi } from './api';
41
42
 
42
43
 
44
+ export * from './api/booking-funnels-api';
43
45
  export * from './api/default-api';
44
46
  export * from './api/insured-object-types-api';
45
47
  export * from './api/insured-objects-api';
@@ -0,0 +1,443 @@
1
+ /**
2
+ * EMIL InsuranceService
3
+ * The EMIL InsuranceService API description
4
+ *
5
+ * The version of the OpenAPI document: 1.0
6
+ * Contact: kontakt@emil.de
7
+ *
8
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
+ * https://openapi-generator.tech
10
+ * Do not edit the class manually.
11
+ */
12
+ import { AxiosPromise, AxiosInstance, AxiosRequestConfig } from 'axios';
13
+ import { Configuration } from '../configuration';
14
+ import { RequestArgs, BaseAPI } from '../base';
15
+ import { CreateBookingFunnelRequestDto } from '../models';
16
+ import { DeleteResponseClass } from '../models';
17
+ import { ListBookingFunnelsResponseClass } from '../models';
18
+ import { PatchBookingFunnelRequestDto } from '../models';
19
+ import { UpdateBookingFunnelRequestDto } from '../models';
20
+ /**
21
+ * BookingFunnelsApi - axios parameter creator
22
+ * @export
23
+ */
24
+ export declare const BookingFunnelsApiAxiosParamCreator: (configuration?: Configuration) => {
25
+ /**
26
+ * This will create a booking funnel.
27
+ * @summary Create the booking funnel
28
+ * @param {CreateBookingFunnelRequestDto} createBookingFunnelRequestDto
29
+ * @param {string} [authorization] Bearer Token
30
+ * @param {*} [options] Override http request option.
31
+ * @throws {RequiredError}
32
+ */
33
+ createBookingFunnel: (createBookingFunnelRequestDto: CreateBookingFunnelRequestDto, authorization?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
34
+ /**
35
+ * Permanently deletes the booking funnel. Supply the unique code that was returned when you created the booking funnel and this will delete it.
36
+ * @summary Delete the booking funnel
37
+ * @param {string} code
38
+ * @param {string} [authorization] Bearer Token
39
+ * @param {*} [options] Override http request option.
40
+ * @throws {RequiredError}
41
+ */
42
+ deleteBookingFunnel: (code: string, authorization?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
43
+ /**
44
+ * Retrieves the details of the booking funnel that was previously created. Supply the unique booking funnel code that was returned when you created it and Emil Api will return the corresponding booking funnel information.
45
+ * @summary Retrieve the booking funnel
46
+ * @param {string} code
47
+ * @param {string} [authorization] Bearer Token
48
+ * @param {*} [options] Override http request option.
49
+ * @throws {RequiredError}
50
+ */
51
+ getBookingFunnel: (code: string, authorization?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
52
+ /**
53
+ * 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.
54
+ * @summary List booking funnels
55
+ * @param {string} [authorization] Bearer Token
56
+ * @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
57
+ * @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&#x3D;1, your subsequent call can include pageToken&#x3D;2 in order to fetch the next page of the list.
58
+ * @param {any} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.
59
+ * @param {any} [search] Search the list by any field. For instance, if you want to search by code add code&#x3D;xxx in order to fetch the result.
60
+ * @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.
61
+ * @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.
62
+ * @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.
63
+ * @param {*} [options] Override http request option.
64
+ * @throws {RequiredError}
65
+ */
66
+ listBookingFunnels: (authorization?: string, pageSize?: any, pageToken?: any, filter?: any, search?: any, order?: any, expand?: any, filters?: any, options?: AxiosRequestConfig) => Promise<RequestArgs>;
67
+ /**
68
+ * This will patch a booking funnel.
69
+ * @param {string} code
70
+ * @param {PatchBookingFunnelRequestDto} patchBookingFunnelRequestDto
71
+ * @param {string} [authorization] Bearer Token
72
+ * @param {*} [options] Override http request option.
73
+ * @throws {RequiredError}
74
+ */
75
+ patchBookingFunnel: (code: string, patchBookingFunnelRequestDto: PatchBookingFunnelRequestDto, authorization?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
76
+ /**
77
+ * This will update a booking funnel.
78
+ * @summary Update the booking funnel
79
+ * @param {string} code
80
+ * @param {UpdateBookingFunnelRequestDto} updateBookingFunnelRequestDto
81
+ * @param {string} [authorization] Bearer Token
82
+ * @param {*} [options] Override http request option.
83
+ * @throws {RequiredError}
84
+ */
85
+ updateBookingFunnel: (code: string, updateBookingFunnelRequestDto: UpdateBookingFunnelRequestDto, authorization?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
86
+ };
87
+ /**
88
+ * BookingFunnelsApi - functional programming interface
89
+ * @export
90
+ */
91
+ export declare const BookingFunnelsApiFp: (configuration?: Configuration) => {
92
+ /**
93
+ * This will create a booking funnel.
94
+ * @summary Create the booking funnel
95
+ * @param {CreateBookingFunnelRequestDto} createBookingFunnelRequestDto
96
+ * @param {string} [authorization] Bearer Token
97
+ * @param {*} [options] Override http request option.
98
+ * @throws {RequiredError}
99
+ */
100
+ createBookingFunnel(createBookingFunnelRequestDto: CreateBookingFunnelRequestDto, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<object>>;
101
+ /**
102
+ * Permanently deletes the booking funnel. Supply the unique code that was returned when you created the booking funnel and this will delete it.
103
+ * @summary Delete the booking funnel
104
+ * @param {string} code
105
+ * @param {string} [authorization] Bearer Token
106
+ * @param {*} [options] Override http request option.
107
+ * @throws {RequiredError}
108
+ */
109
+ deleteBookingFunnel(code: string, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DeleteResponseClass>>;
110
+ /**
111
+ * Retrieves the details of the booking funnel that was previously created. Supply the unique booking funnel code that was returned when you created it and Emil Api will return the corresponding booking funnel information.
112
+ * @summary Retrieve the booking funnel
113
+ * @param {string} code
114
+ * @param {string} [authorization] Bearer Token
115
+ * @param {*} [options] Override http request option.
116
+ * @throws {RequiredError}
117
+ */
118
+ getBookingFunnel(code: string, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<object>>;
119
+ /**
120
+ * 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.
121
+ * @summary List booking funnels
122
+ * @param {string} [authorization] Bearer Token
123
+ * @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
124
+ * @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&#x3D;1, your subsequent call can include pageToken&#x3D;2 in order to fetch the next page of the list.
125
+ * @param {any} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.
126
+ * @param {any} [search] Search the list by any field. For instance, if you want to search by code add code&#x3D;xxx in order to fetch the result.
127
+ * @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.
128
+ * @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.
129
+ * @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.
130
+ * @param {*} [options] Override http request option.
131
+ * @throws {RequiredError}
132
+ */
133
+ listBookingFunnels(authorization?: string, pageSize?: any, pageToken?: any, filter?: any, search?: any, order?: any, expand?: any, filters?: any, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ListBookingFunnelsResponseClass>>;
134
+ /**
135
+ * This will patch a booking funnel.
136
+ * @param {string} code
137
+ * @param {PatchBookingFunnelRequestDto} patchBookingFunnelRequestDto
138
+ * @param {string} [authorization] Bearer Token
139
+ * @param {*} [options] Override http request option.
140
+ * @throws {RequiredError}
141
+ */
142
+ patchBookingFunnel(code: string, patchBookingFunnelRequestDto: PatchBookingFunnelRequestDto, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<object>>;
143
+ /**
144
+ * This will update a booking funnel.
145
+ * @summary Update the booking funnel
146
+ * @param {string} code
147
+ * @param {UpdateBookingFunnelRequestDto} updateBookingFunnelRequestDto
148
+ * @param {string} [authorization] Bearer Token
149
+ * @param {*} [options] Override http request option.
150
+ * @throws {RequiredError}
151
+ */
152
+ updateBookingFunnel(code: string, updateBookingFunnelRequestDto: UpdateBookingFunnelRequestDto, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<object>>;
153
+ };
154
+ /**
155
+ * BookingFunnelsApi - factory interface
156
+ * @export
157
+ */
158
+ export declare const BookingFunnelsApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
159
+ /**
160
+ * This will create a booking funnel.
161
+ * @summary Create the booking funnel
162
+ * @param {CreateBookingFunnelRequestDto} createBookingFunnelRequestDto
163
+ * @param {string} [authorization] Bearer Token
164
+ * @param {*} [options] Override http request option.
165
+ * @throws {RequiredError}
166
+ */
167
+ createBookingFunnel(createBookingFunnelRequestDto: CreateBookingFunnelRequestDto, authorization?: string, options?: any): AxiosPromise<object>;
168
+ /**
169
+ * Permanently deletes the booking funnel. Supply the unique code that was returned when you created the booking funnel and this will delete it.
170
+ * @summary Delete the booking funnel
171
+ * @param {string} code
172
+ * @param {string} [authorization] Bearer Token
173
+ * @param {*} [options] Override http request option.
174
+ * @throws {RequiredError}
175
+ */
176
+ deleteBookingFunnel(code: string, authorization?: string, options?: any): AxiosPromise<DeleteResponseClass>;
177
+ /**
178
+ * Retrieves the details of the booking funnel that was previously created. Supply the unique booking funnel code that was returned when you created it and Emil Api will return the corresponding booking funnel information.
179
+ * @summary Retrieve the booking funnel
180
+ * @param {string} code
181
+ * @param {string} [authorization] Bearer Token
182
+ * @param {*} [options] Override http request option.
183
+ * @throws {RequiredError}
184
+ */
185
+ getBookingFunnel(code: string, authorization?: string, options?: any): AxiosPromise<object>;
186
+ /**
187
+ * 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.
188
+ * @summary List booking funnels
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&#x3D;1, your subsequent call can include pageToken&#x3D;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] Search the list by any field. For instance, if you want to search by code add code&#x3D;xxx in order 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
+ listBookingFunnels(authorization?: string, pageSize?: any, pageToken?: any, filter?: any, search?: any, order?: any, expand?: any, filters?: any, options?: any): AxiosPromise<ListBookingFunnelsResponseClass>;
201
+ /**
202
+ * This will patch a booking funnel.
203
+ * @param {string} code
204
+ * @param {PatchBookingFunnelRequestDto} patchBookingFunnelRequestDto
205
+ * @param {string} [authorization] Bearer Token
206
+ * @param {*} [options] Override http request option.
207
+ * @throws {RequiredError}
208
+ */
209
+ patchBookingFunnel(code: string, patchBookingFunnelRequestDto: PatchBookingFunnelRequestDto, authorization?: string, options?: any): AxiosPromise<object>;
210
+ /**
211
+ * This will update a booking funnel.
212
+ * @summary Update the booking funnel
213
+ * @param {string} code
214
+ * @param {UpdateBookingFunnelRequestDto} updateBookingFunnelRequestDto
215
+ * @param {string} [authorization] Bearer Token
216
+ * @param {*} [options] Override http request option.
217
+ * @throws {RequiredError}
218
+ */
219
+ updateBookingFunnel(code: string, updateBookingFunnelRequestDto: UpdateBookingFunnelRequestDto, authorization?: string, options?: any): AxiosPromise<object>;
220
+ };
221
+ /**
222
+ * Request parameters for createBookingFunnel operation in BookingFunnelsApi.
223
+ * @export
224
+ * @interface BookingFunnelsApiCreateBookingFunnelRequest
225
+ */
226
+ export interface BookingFunnelsApiCreateBookingFunnelRequest {
227
+ /**
228
+ *
229
+ * @type {CreateBookingFunnelRequestDto}
230
+ * @memberof BookingFunnelsApiCreateBookingFunnel
231
+ */
232
+ readonly createBookingFunnelRequestDto: CreateBookingFunnelRequestDto;
233
+ /**
234
+ * Bearer Token
235
+ * @type {string}
236
+ * @memberof BookingFunnelsApiCreateBookingFunnel
237
+ */
238
+ readonly authorization?: string;
239
+ }
240
+ /**
241
+ * Request parameters for deleteBookingFunnel operation in BookingFunnelsApi.
242
+ * @export
243
+ * @interface BookingFunnelsApiDeleteBookingFunnelRequest
244
+ */
245
+ export interface BookingFunnelsApiDeleteBookingFunnelRequest {
246
+ /**
247
+ *
248
+ * @type {string}
249
+ * @memberof BookingFunnelsApiDeleteBookingFunnel
250
+ */
251
+ readonly code: string;
252
+ /**
253
+ * Bearer Token
254
+ * @type {string}
255
+ * @memberof BookingFunnelsApiDeleteBookingFunnel
256
+ */
257
+ readonly authorization?: string;
258
+ }
259
+ /**
260
+ * Request parameters for getBookingFunnel operation in BookingFunnelsApi.
261
+ * @export
262
+ * @interface BookingFunnelsApiGetBookingFunnelRequest
263
+ */
264
+ export interface BookingFunnelsApiGetBookingFunnelRequest {
265
+ /**
266
+ *
267
+ * @type {string}
268
+ * @memberof BookingFunnelsApiGetBookingFunnel
269
+ */
270
+ readonly code: string;
271
+ /**
272
+ * Bearer Token
273
+ * @type {string}
274
+ * @memberof BookingFunnelsApiGetBookingFunnel
275
+ */
276
+ readonly authorization?: string;
277
+ }
278
+ /**
279
+ * Request parameters for listBookingFunnels operation in BookingFunnelsApi.
280
+ * @export
281
+ * @interface BookingFunnelsApiListBookingFunnelsRequest
282
+ */
283
+ export interface BookingFunnelsApiListBookingFunnelsRequest {
284
+ /**
285
+ * Bearer Token
286
+ * @type {string}
287
+ * @memberof BookingFunnelsApiListBookingFunnels
288
+ */
289
+ readonly authorization?: string;
290
+ /**
291
+ * A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
292
+ * @type {any}
293
+ * @memberof BookingFunnelsApiListBookingFunnels
294
+ */
295
+ readonly pageSize?: any;
296
+ /**
297
+ * 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&#x3D;1, your subsequent call can include pageToken&#x3D;2 in order to fetch the next page of the list.
298
+ * @type {any}
299
+ * @memberof BookingFunnelsApiListBookingFunnels
300
+ */
301
+ readonly pageToken?: any;
302
+ /**
303
+ * Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.
304
+ * @type {any}
305
+ * @memberof BookingFunnelsApiListBookingFunnels
306
+ */
307
+ readonly filter?: any;
308
+ /**
309
+ * Search the list by any field. For instance, if you want to search by code add code&#x3D;xxx in order to fetch the result.
310
+ * @type {any}
311
+ * @memberof BookingFunnelsApiListBookingFunnels
312
+ */
313
+ readonly search?: any;
314
+ /**
315
+ * 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.
316
+ * @type {any}
317
+ * @memberof BookingFunnelsApiListBookingFunnels
318
+ */
319
+ readonly order?: any;
320
+ /**
321
+ * 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.
322
+ * @type {any}
323
+ * @memberof BookingFunnelsApiListBookingFunnels
324
+ */
325
+ readonly expand?: any;
326
+ /**
327
+ * 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.
328
+ * @type {any}
329
+ * @memberof BookingFunnelsApiListBookingFunnels
330
+ */
331
+ readonly filters?: any;
332
+ }
333
+ /**
334
+ * Request parameters for patchBookingFunnel operation in BookingFunnelsApi.
335
+ * @export
336
+ * @interface BookingFunnelsApiPatchBookingFunnelRequest
337
+ */
338
+ export interface BookingFunnelsApiPatchBookingFunnelRequest {
339
+ /**
340
+ *
341
+ * @type {string}
342
+ * @memberof BookingFunnelsApiPatchBookingFunnel
343
+ */
344
+ readonly code: string;
345
+ /**
346
+ *
347
+ * @type {PatchBookingFunnelRequestDto}
348
+ * @memberof BookingFunnelsApiPatchBookingFunnel
349
+ */
350
+ readonly patchBookingFunnelRequestDto: PatchBookingFunnelRequestDto;
351
+ /**
352
+ * Bearer Token
353
+ * @type {string}
354
+ * @memberof BookingFunnelsApiPatchBookingFunnel
355
+ */
356
+ readonly authorization?: string;
357
+ }
358
+ /**
359
+ * Request parameters for updateBookingFunnel operation in BookingFunnelsApi.
360
+ * @export
361
+ * @interface BookingFunnelsApiUpdateBookingFunnelRequest
362
+ */
363
+ export interface BookingFunnelsApiUpdateBookingFunnelRequest {
364
+ /**
365
+ *
366
+ * @type {string}
367
+ * @memberof BookingFunnelsApiUpdateBookingFunnel
368
+ */
369
+ readonly code: string;
370
+ /**
371
+ *
372
+ * @type {UpdateBookingFunnelRequestDto}
373
+ * @memberof BookingFunnelsApiUpdateBookingFunnel
374
+ */
375
+ readonly updateBookingFunnelRequestDto: UpdateBookingFunnelRequestDto;
376
+ /**
377
+ * Bearer Token
378
+ * @type {string}
379
+ * @memberof BookingFunnelsApiUpdateBookingFunnel
380
+ */
381
+ readonly authorization?: string;
382
+ }
383
+ /**
384
+ * BookingFunnelsApi - object-oriented interface
385
+ * @export
386
+ * @class BookingFunnelsApi
387
+ * @extends {BaseAPI}
388
+ */
389
+ export declare class BookingFunnelsApi extends BaseAPI {
390
+ /**
391
+ * This will create a booking funnel.
392
+ * @summary Create the booking funnel
393
+ * @param {BookingFunnelsApiCreateBookingFunnelRequest} requestParameters Request parameters.
394
+ * @param {*} [options] Override http request option.
395
+ * @throws {RequiredError}
396
+ * @memberof BookingFunnelsApi
397
+ */
398
+ createBookingFunnel(requestParameters: BookingFunnelsApiCreateBookingFunnelRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<object, any>>;
399
+ /**
400
+ * Permanently deletes the booking funnel. Supply the unique code that was returned when you created the booking funnel and this will delete it.
401
+ * @summary Delete the booking funnel
402
+ * @param {BookingFunnelsApiDeleteBookingFunnelRequest} requestParameters Request parameters.
403
+ * @param {*} [options] Override http request option.
404
+ * @throws {RequiredError}
405
+ * @memberof BookingFunnelsApi
406
+ */
407
+ deleteBookingFunnel(requestParameters: BookingFunnelsApiDeleteBookingFunnelRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<DeleteResponseClass, any>>;
408
+ /**
409
+ * Retrieves the details of the booking funnel that was previously created. Supply the unique booking funnel code that was returned when you created it and Emil Api will return the corresponding booking funnel information.
410
+ * @summary Retrieve the booking funnel
411
+ * @param {BookingFunnelsApiGetBookingFunnelRequest} requestParameters Request parameters.
412
+ * @param {*} [options] Override http request option.
413
+ * @throws {RequiredError}
414
+ * @memberof BookingFunnelsApi
415
+ */
416
+ getBookingFunnel(requestParameters: BookingFunnelsApiGetBookingFunnelRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<object, any>>;
417
+ /**
418
+ * 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.
419
+ * @summary List booking funnels
420
+ * @param {BookingFunnelsApiListBookingFunnelsRequest} requestParameters Request parameters.
421
+ * @param {*} [options] Override http request option.
422
+ * @throws {RequiredError}
423
+ * @memberof BookingFunnelsApi
424
+ */
425
+ listBookingFunnels(requestParameters?: BookingFunnelsApiListBookingFunnelsRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<ListBookingFunnelsResponseClass, any>>;
426
+ /**
427
+ * This will patch a booking funnel.
428
+ * @param {BookingFunnelsApiPatchBookingFunnelRequest} requestParameters Request parameters.
429
+ * @param {*} [options] Override http request option.
430
+ * @throws {RequiredError}
431
+ * @memberof BookingFunnelsApi
432
+ */
433
+ patchBookingFunnel(requestParameters: BookingFunnelsApiPatchBookingFunnelRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<object, any>>;
434
+ /**
435
+ * This will update a booking funnel.
436
+ * @summary Update the booking funnel
437
+ * @param {BookingFunnelsApiUpdateBookingFunnelRequest} requestParameters Request parameters.
438
+ * @param {*} [options] Override http request option.
439
+ * @throws {RequiredError}
440
+ * @memberof BookingFunnelsApi
441
+ */
442
+ updateBookingFunnel(requestParameters: BookingFunnelsApiUpdateBookingFunnelRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<object, any>>;
443
+ }