@emilgroup/insurance-sdk-node 1.44.0 → 1.47.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-funnels-api.ts +791 -0
- package/api/insured-object-types-api.ts +20 -6
- package/api/insured-objects-api.ts +20 -6
- package/api/lead-versions-api.ts +24 -10
- package/api/leads-api.ts +24 -10
- package/api/named-ranges-api.ts +20 -6
- package/api/policies-api.ts +748 -20
- package/api/premium-formulas-api.ts +20 -6
- package/api/product-factors-api.ts +22 -6
- package/api/product-fields-api.ts +40 -12
- package/api/products-api.ts +20 -6
- package/api/status-transition-rules-api.ts +24 -10
- package/api.ts +2 -0
- package/dist/api/booking-funnels-api.d.ts +443 -0
- package/dist/api/booking-funnels-api.js +735 -0
- 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-versions-api.d.ts +16 -7
- package/dist/api/lead-versions-api.js +15 -9
- package/dist/api/leads-api.d.ts +16 -7
- package/dist/api/leads-api.js +15 -9
- 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 +428 -14
- package/dist/api/policies-api.js +574 -18
- 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 +16 -7
- package/dist/api/status-transition-rules-api.js +15 -9
- package/dist/api.d.ts +1 -0
- package/dist/api.js +1 -0
- package/dist/models/booking-funnel-class.d.ts +84 -0
- package/dist/models/booking-funnel-class.js +15 -0
- package/dist/models/create-booking-funnel-request-dto.d.ts +66 -0
- package/dist/models/create-booking-funnel-request-dto.js +15 -0
- package/dist/models/create-draft-policy-request-dto.d.ts +70 -0
- package/dist/models/create-draft-policy-request-dto.js +23 -0
- package/dist/models/delete-draft-policy-request-dto.d.ts +24 -0
- package/dist/models/delete-draft-policy-request-dto.js +15 -0
- package/dist/models/get-draft-policy-request-dto.d.ts +30 -0
- package/dist/models/get-draft-policy-request-dto.js +15 -0
- package/dist/models/index.d.ts +11 -0
- package/dist/models/index.js +11 -0
- package/dist/models/list-booking-funnels-response-class.d.ts +31 -0
- package/dist/models/list-booking-funnels-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/patch-booking-funnel-request-dto.d.ts +60 -0
- package/dist/models/patch-booking-funnel-request-dto.js +15 -0
- package/dist/models/patch-draft-policy-request-dto.d.ts +70 -0
- package/dist/models/patch-draft-policy-request-dto.js +23 -0
- package/dist/models/patch-policy-request-dto.d.ts +0 -6
- package/dist/models/policy-version-class.d.ts +12 -0
- package/dist/models/update-booking-funnel-request-dto.d.ts +60 -0
- package/dist/models/update-booking-funnel-request-dto.js +15 -0
- package/dist/models/update-policy-request-dto.d.ts +0 -6
- package/models/booking-funnel-class.ts +90 -0
- package/models/create-booking-funnel-request-dto.ts +72 -0
- package/models/create-draft-policy-request-dto.ts +79 -0
- package/models/delete-draft-policy-request-dto.ts +30 -0
- package/models/get-draft-policy-request-dto.ts +36 -0
- package/models/index.ts +11 -0
- package/models/list-booking-funnels-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/patch-booking-funnel-request-dto.ts +66 -0
- package/models/patch-draft-policy-request-dto.ts +79 -0
- package/models/patch-policy-request-dto.ts +0 -6
- package/models/policy-version-class.ts +12 -0
- package/models/update-booking-funnel-request-dto.ts +66 -0
- package/models/update-policy-request-dto.ts +0 -6
- package/package.json +1 -1
|
@@ -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=1, your subsequent call can include pageToken=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=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=1, your subsequent call can include pageToken=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=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=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] Search the list by any field. For instance, if you want to search by code add code=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=1, your subsequent call can include pageToken=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=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
|
+
}
|