@emilgroup/public-api-sdk-node 1.0.1 → 1.1.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 (171) hide show
  1. package/.openapi-generator/FILES +34 -1
  2. package/README.md +3 -5
  3. package/api/documents-api.ts +31 -17
  4. package/api/leads-api.ts +482 -0
  5. package/api/notifications-api.ts +169 -0
  6. package/api/{payment-setup-api.ts → payments-setup-api.ts} +56 -44
  7. package/api/products-api.ts +88 -333
  8. package/api.ts +9 -5
  9. package/base.ts +3 -3
  10. package/common.ts +6 -6
  11. package/configuration.ts +3 -3
  12. package/dist/api/documents-api.d.ts +31 -18
  13. package/dist/api/documents-api.js +28 -16
  14. package/dist/api/leads-api.d.ts +266 -0
  15. package/dist/api/leads-api.js +506 -0
  16. package/dist/api/notifications-api.d.ts +97 -0
  17. package/dist/api/notifications-api.js +228 -0
  18. package/dist/api/{payment-setup-api.d.ts → payments-setup-api.d.ts} +50 -40
  19. package/dist/api/{payment-setup-api.js → payments-setup-api.js} +47 -39
  20. package/dist/api/products-api.d.ts +82 -197
  21. package/dist/api/products-api.js +65 -300
  22. package/dist/api.d.ts +6 -4
  23. package/dist/api.js +6 -4
  24. package/dist/base.d.ts +3 -3
  25. package/dist/base.js +4 -4
  26. package/dist/common.d.ts +6 -6
  27. package/dist/common.js +4 -4
  28. package/dist/configuration.d.ts +3 -3
  29. package/dist/configuration.js +3 -3
  30. package/dist/index.d.ts +3 -3
  31. package/dist/index.js +3 -3
  32. package/dist/models/complete-braintree-payment-setup-request-dto.d.ts +8 -8
  33. package/dist/models/complete-braintree-payment-setup-request-dto.js +3 -3
  34. package/dist/models/complete-payment-setup-request-dto.d.ts +3 -3
  35. package/dist/models/complete-payment-setup-request-dto.js +3 -3
  36. package/dist/models/complete-payment-setup-response-class.d.ts +25 -0
  37. package/dist/models/complete-payment-setup-response-class.js +15 -0
  38. package/dist/models/complete-stripe-payment-setup-request-dto.d.ts +9 -9
  39. package/dist/models/complete-stripe-payment-setup-request-dto.js +3 -3
  40. package/dist/models/create-account-request-dto.d.ts +29 -4
  41. package/dist/models/create-account-request-dto.js +10 -4
  42. package/dist/models/create-bank-account-request-dto.d.ts +7 -7
  43. package/dist/models/create-bank-account-request-dto.js +3 -3
  44. package/dist/models/create-custom-application-request-dto.d.ts +7 -6
  45. package/dist/models/create-custom-application-request-dto.js +5 -4
  46. package/dist/models/create-custom-application-response-class.d.ts +24 -0
  47. package/dist/models/create-custom-application-response-class.js +15 -0
  48. package/dist/models/create-document-request-dto.d.ts +21 -15
  49. package/dist/models/create-document-request-dto.js +3 -3
  50. package/dist/models/create-estimated-invoice-request-dto.d.ts +14 -6
  51. package/dist/models/create-estimated-invoice-request-dto.js +5 -4
  52. package/dist/models/create-estimated-invoice-response-class.d.ts +25 -0
  53. package/dist/models/create-estimated-invoice-response-class.js +15 -0
  54. package/dist/models/create-lead-request-dto.d.ts +24 -17
  55. package/dist/models/create-lead-request-dto.js +3 -3
  56. package/dist/models/create-lead-response-class.d.ts +25 -0
  57. package/dist/models/create-lead-response-class.js +15 -0
  58. package/dist/models/document-class.d.ts +130 -0
  59. package/dist/models/document-class.js +41 -0
  60. package/dist/models/get-custom-css-response-class.d.ts +24 -0
  61. package/dist/models/get-custom-css-response-class.js +15 -0
  62. package/dist/models/get-lead-response-class.d.ts +25 -0
  63. package/dist/models/get-lead-response-class.js +15 -0
  64. package/dist/models/index.d.ts +31 -0
  65. package/dist/models/index.js +31 -0
  66. package/dist/models/initiate-braintree-payment-setup-request-dto.d.ts +4 -4
  67. package/dist/models/initiate-braintree-payment-setup-request-dto.js +3 -3
  68. package/dist/models/initiate-braintree-payment-setup-response-class.d.ts +24 -0
  69. package/dist/models/initiate-braintree-payment-setup-response-class.js +15 -0
  70. package/dist/models/initiate-lead-response-class.d.ts +24 -0
  71. package/dist/models/initiate-lead-response-class.js +15 -0
  72. package/dist/models/initiate-payment-setup-request-dto.d.ts +3 -3
  73. package/dist/models/initiate-payment-setup-request-dto.js +3 -3
  74. package/dist/models/initiate-payment-setup-response-class.d.ts +32 -0
  75. package/dist/models/initiate-payment-setup-response-class.js +15 -0
  76. package/dist/models/initiate-stripe-payment-setup-request-dto.d.ts +4 -4
  77. package/dist/models/initiate-stripe-payment-setup-request-dto.js +3 -3
  78. package/dist/models/initiate-stripe-payment-setup-response-class.d.ts +30 -0
  79. package/dist/models/initiate-stripe-payment-setup-response-class.js +15 -0
  80. package/dist/models/insured-object-class.d.ts +67 -0
  81. package/dist/models/insured-object-class.js +15 -0
  82. package/dist/models/insured-object-type-class.d.ts +48 -0
  83. package/dist/models/insured-object-type-class.js +15 -0
  84. package/dist/models/invoice-class.d.ts +128 -0
  85. package/dist/models/invoice-class.js +15 -0
  86. package/dist/models/invoice-item-class.d.ts +108 -0
  87. package/dist/models/invoice-item-class.js +15 -0
  88. package/dist/models/invoice-status-class.d.ts +42 -0
  89. package/dist/models/invoice-status-class.js +15 -0
  90. package/dist/models/lead-account-class.d.ts +109 -0
  91. package/dist/models/lead-account-class.js +22 -0
  92. package/dist/models/lead-bank-account-class.d.ts +30 -0
  93. package/dist/models/lead-bank-account-class.js +15 -0
  94. package/dist/models/lead-class.d.ts +77 -0
  95. package/dist/models/lead-class.js +15 -0
  96. package/dist/models/lead-policy-class.d.ts +44 -0
  97. package/dist/models/lead-policy-class.js +15 -0
  98. package/dist/models/lead-policy-object-class.d.ts +30 -0
  99. package/dist/models/lead-policy-object-class.js +15 -0
  100. package/dist/models/list-documents-response-class.d.ts +31 -0
  101. package/dist/models/list-documents-response-class.js +15 -0
  102. package/dist/models/payment-method-class.d.ts +60 -0
  103. package/dist/models/payment-method-class.js +15 -0
  104. package/dist/models/policy-object-request-dto.d.ts +5 -5
  105. package/dist/models/policy-object-request-dto.js +3 -3
  106. package/dist/models/premium-override-dto.d.ts +53 -0
  107. package/dist/models/premium-override-dto.js +25 -0
  108. package/dist/models/premium-override-request-dto.d.ts +25 -0
  109. package/dist/models/premium-override-request-dto.js +15 -0
  110. package/dist/models/product-factor-class.d.ts +54 -0
  111. package/dist/models/product-factor-class.js +15 -0
  112. package/dist/models/product-field-class.d.ts +120 -0
  113. package/dist/models/product-field-class.js +15 -0
  114. package/dist/models/send-notification-request-dto.d.ts +36 -0
  115. package/dist/models/send-notification-request-dto.js +15 -0
  116. package/dist/models/send-notification-response-class.d.ts +24 -0
  117. package/dist/models/send-notification-response-class.js +15 -0
  118. package/dist/models/update-lead-request-dto.d.ts +84 -0
  119. package/dist/models/update-lead-request-dto.js +22 -0
  120. package/dist/models/update-lead-response-class.d.ts +25 -0
  121. package/dist/models/update-lead-response-class.js +15 -0
  122. package/dist/models/uploaded-document-dto.d.ts +4 -4
  123. package/dist/models/uploaded-document-dto.js +3 -3
  124. package/index.ts +3 -3
  125. package/models/complete-braintree-payment-setup-request-dto.ts +8 -8
  126. package/models/complete-payment-setup-request-dto.ts +3 -3
  127. package/models/complete-payment-setup-response-class.ts +31 -0
  128. package/models/complete-stripe-payment-setup-request-dto.ts +9 -9
  129. package/models/create-account-request-dto.ts +29 -3
  130. package/models/create-bank-account-request-dto.ts +7 -7
  131. package/models/create-custom-application-request-dto.ts +7 -6
  132. package/models/create-custom-application-response-class.ts +30 -0
  133. package/models/create-document-request-dto.ts +19 -13
  134. package/models/create-estimated-invoice-request-dto.ts +14 -6
  135. package/models/create-estimated-invoice-response-class.ts +31 -0
  136. package/models/create-lead-request-dto.ts +23 -16
  137. package/models/create-lead-response-class.ts +31 -0
  138. package/models/document-class.ts +141 -0
  139. package/models/get-custom-css-response-class.ts +30 -0
  140. package/models/get-lead-response-class.ts +31 -0
  141. package/models/index.ts +31 -0
  142. package/models/initiate-braintree-payment-setup-request-dto.ts +4 -4
  143. package/models/initiate-braintree-payment-setup-response-class.ts +30 -0
  144. package/models/initiate-lead-response-class.ts +30 -0
  145. package/models/initiate-payment-setup-request-dto.ts +3 -3
  146. package/models/initiate-payment-setup-response-class.ts +38 -0
  147. package/models/initiate-stripe-payment-setup-request-dto.ts +4 -4
  148. package/models/initiate-stripe-payment-setup-response-class.ts +36 -0
  149. package/models/insured-object-class.ts +73 -0
  150. package/models/insured-object-type-class.ts +54 -0
  151. package/models/invoice-class.ts +134 -0
  152. package/models/invoice-item-class.ts +114 -0
  153. package/models/invoice-status-class.ts +48 -0
  154. package/models/lead-account-class.ts +118 -0
  155. package/models/lead-bank-account-class.ts +36 -0
  156. package/models/lead-class.ts +83 -0
  157. package/models/lead-policy-class.ts +50 -0
  158. package/models/lead-policy-object-class.ts +36 -0
  159. package/models/list-documents-response-class.ts +37 -0
  160. package/models/payment-method-class.ts +66 -0
  161. package/models/policy-object-request-dto.ts +5 -5
  162. package/models/premium-override-dto.ts +63 -0
  163. package/models/premium-override-request-dto.ts +31 -0
  164. package/models/product-factor-class.ts +60 -0
  165. package/models/product-field-class.ts +126 -0
  166. package/models/send-notification-request-dto.ts +42 -0
  167. package/models/send-notification-response-class.ts +30 -0
  168. package/models/update-lead-request-dto.ts +93 -0
  169. package/models/update-lead-response-class.ts +31 -0
  170. package/models/uploaded-document-dto.ts +4 -4
  171. package/package.json +1 -1
@@ -1,9 +1,9 @@
1
1
  /**
2
- * EMIL PublicAPI
3
- * The EMIL Public API description
2
+ * Emil PublicAPI
3
+ * The Emil Public API description
4
4
  *
5
5
  * The version of the OpenAPI document: 1.0
6
- *
6
+ * Contact: kontakt@emil.de
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
9
  * https://openapi-generator.tech
@@ -13,15 +13,21 @@ import { AxiosPromise, AxiosInstance, AxiosRequestConfig } from 'axios';
13
13
  import { Configuration } from '../configuration';
14
14
  import { RequestArgs, BaseAPI } from '../base';
15
15
  import { CreateCustomApplicationRequestDto } from '../models';
16
+ import { CreateCustomApplicationResponseClass } from '../models';
16
17
  import { CreateEstimatedInvoiceRequestDto } from '../models';
17
- import { CreateLeadRequestDto } from '../models';
18
+ import { CreateEstimatedInvoiceResponseClass } from '../models';
19
+ import { GetCustomCssResponseClass } from '../models';
20
+ import { InsuredObjectClass } from '../models';
21
+ import { InsuredObjectTypeClass } from '../models';
22
+ import { ProductFactorClass } from '../models';
18
23
  /**
19
24
  * ProductsApi - axios parameter creator
20
25
  * @export
21
26
  */
22
27
  export declare const ProductsApiAxiosParamCreator: (configuration?: Configuration) => {
23
28
  /**
24
- *
29
+ * This will create an invoice product.
30
+ * @summary Create the invoice product
25
31
  * @param {string} productCode
26
32
  * @param {CreateEstimatedInvoiceRequestDto} createEstimatedInvoiceRequestDto
27
33
  * @param {string} [authorization] Bearer Token
@@ -30,15 +36,8 @@ export declare const ProductsApiAxiosParamCreator: (configuration?: Configuratio
30
36
  */
31
37
  createEstimatedInvoice: (productCode: string, createEstimatedInvoiceRequestDto: CreateEstimatedInvoiceRequestDto, authorization?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
32
38
  /**
33
- *
34
- * @param {CreateLeadRequestDto} createLeadRequestDto
35
- * @param {string} [authorization] Bearer Token
36
- * @param {*} [options] Override http request option.
37
- * @throws {RequiredError}
38
- */
39
- createLead: (createLeadRequestDto: CreateLeadRequestDto, authorization?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
40
- /**
41
- *
39
+ * This will create a custom application for a specific provider.
40
+ * @summary Create the custom application
42
41
  * @param {string} productCode
43
42
  * @param {CreateCustomApplicationRequestDto} createCustomApplicationRequestDto
44
43
  * @param {string} [authorization] Bearer Token
@@ -47,14 +46,16 @@ export declare const ProductsApiAxiosParamCreator: (configuration?: Configuratio
47
46
  */
48
47
  customApplication: (productCode: string, createCustomApplicationRequestDto: CreateCustomApplicationRequestDto, authorization?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
49
48
  /**
50
- *
49
+ * Returns a list of insured object types you have previously created. The insured object types are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
50
+ * @summary List insured object types
51
51
  * @param {string} [authorization] Bearer Token
52
52
  * @param {*} [options] Override http request option.
53
53
  * @throws {RequiredError}
54
54
  */
55
55
  getInsuredObjectTypes: (authorization?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
56
56
  /**
57
- *
57
+ * Returns a list of insured objects you have previously created. The insured objects are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
58
+ * @summary List insured objects
58
59
  * @param {string} productCode
59
60
  * @param {string} [authorization] Bearer Token
60
61
  * @param {*} [options] Override http request option.
@@ -62,7 +63,8 @@ export declare const ProductsApiAxiosParamCreator: (configuration?: Configuratio
62
63
  */
63
64
  getInsuredObjects: (productCode: string, authorization?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
64
65
  /**
65
- *
66
+ * This will generate a custom css for booking funnel, based on product.
67
+ * @summary Generate a custom CSS
66
68
  * @param {string} productCode
67
69
  * @param {string} [authorization] Bearer Token
68
70
  * @param {*} [options] Override http request option.
@@ -70,29 +72,15 @@ export declare const ProductsApiAxiosParamCreator: (configuration?: Configuratio
70
72
  */
71
73
  getProductCustomCss: (productCode: string, authorization?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
72
74
  /**
73
- *
75
+ * Returns a list of product factors you have previously created. The product factors are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
76
+ * @summary List product factors
74
77
  * @param {string} productCode
78
+ * @param {string} allValues
75
79
  * @param {string} [authorization] Bearer Token
76
80
  * @param {*} [options] Override http request option.
77
81
  * @throws {RequiredError}
78
82
  */
79
- getProductFactors: (productCode: string, authorization?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
80
- /**
81
- *
82
- * @param {string} [authorization] Bearer Token
83
- * @param {*} [options] Override http request option.
84
- * @throws {RequiredError}
85
- */
86
- initiateLead: (authorization?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
87
- /**
88
- *
89
- * @param {string} code
90
- * @param {CreateLeadRequestDto} createLeadRequestDto
91
- * @param {string} [authorization] Bearer Token
92
- * @param {*} [options] Override http request option.
93
- * @throws {RequiredError}
94
- */
95
- updateLead: (code: string, createLeadRequestDto: CreateLeadRequestDto, authorization?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
83
+ getProductFactors: (productCode: string, allValues: string, authorization?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
96
84
  };
97
85
  /**
98
86
  * ProductsApi - functional programming interface
@@ -100,78 +88,61 @@ export declare const ProductsApiAxiosParamCreator: (configuration?: Configuratio
100
88
  */
101
89
  export declare const ProductsApiFp: (configuration?: Configuration) => {
102
90
  /**
103
- *
91
+ * This will create an invoice product.
92
+ * @summary Create the invoice product
104
93
  * @param {string} productCode
105
94
  * @param {CreateEstimatedInvoiceRequestDto} createEstimatedInvoiceRequestDto
106
95
  * @param {string} [authorization] Bearer Token
107
96
  * @param {*} [options] Override http request option.
108
97
  * @throws {RequiredError}
109
98
  */
110
- createEstimatedInvoice(productCode: string, createEstimatedInvoiceRequestDto: CreateEstimatedInvoiceRequestDto, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
99
+ createEstimatedInvoice(productCode: string, createEstimatedInvoiceRequestDto: CreateEstimatedInvoiceRequestDto, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CreateEstimatedInvoiceResponseClass>>;
111
100
  /**
112
- *
113
- * @param {CreateLeadRequestDto} createLeadRequestDto
114
- * @param {string} [authorization] Bearer Token
115
- * @param {*} [options] Override http request option.
116
- * @throws {RequiredError}
117
- */
118
- createLead(createLeadRequestDto: CreateLeadRequestDto, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
119
- /**
120
- *
101
+ * This will create a custom application for a specific provider.
102
+ * @summary Create the custom application
121
103
  * @param {string} productCode
122
104
  * @param {CreateCustomApplicationRequestDto} createCustomApplicationRequestDto
123
105
  * @param {string} [authorization] Bearer Token
124
106
  * @param {*} [options] Override http request option.
125
107
  * @throws {RequiredError}
126
108
  */
127
- customApplication(productCode: string, createCustomApplicationRequestDto: CreateCustomApplicationRequestDto, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
109
+ customApplication(productCode: string, createCustomApplicationRequestDto: CreateCustomApplicationRequestDto, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CreateCustomApplicationResponseClass>>;
128
110
  /**
129
- *
111
+ * Returns a list of insured object types you have previously created. The insured object types are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
112
+ * @summary List insured object types
130
113
  * @param {string} [authorization] Bearer Token
131
114
  * @param {*} [options] Override http request option.
132
115
  * @throws {RequiredError}
133
116
  */
134
- getInsuredObjectTypes(authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
117
+ getInsuredObjectTypes(authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<InsuredObjectTypeClass>>>;
135
118
  /**
136
- *
119
+ * Returns a list of insured objects you have previously created. The insured objects are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
120
+ * @summary List insured objects
137
121
  * @param {string} productCode
138
122
  * @param {string} [authorization] Bearer Token
139
123
  * @param {*} [options] Override http request option.
140
124
  * @throws {RequiredError}
141
125
  */
142
- getInsuredObjects(productCode: string, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
126
+ getInsuredObjects(productCode: string, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<InsuredObjectClass>>>;
143
127
  /**
144
- *
128
+ * This will generate a custom css for booking funnel, based on product.
129
+ * @summary Generate a custom CSS
145
130
  * @param {string} productCode
146
131
  * @param {string} [authorization] Bearer Token
147
132
  * @param {*} [options] Override http request option.
148
133
  * @throws {RequiredError}
149
134
  */
150
- getProductCustomCss(productCode: string, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
135
+ getProductCustomCss(productCode: string, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetCustomCssResponseClass>>;
151
136
  /**
152
- *
137
+ * Returns a list of product factors you have previously created. The product factors are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
138
+ * @summary List product factors
153
139
  * @param {string} productCode
140
+ * @param {string} allValues
154
141
  * @param {string} [authorization] Bearer Token
155
142
  * @param {*} [options] Override http request option.
156
143
  * @throws {RequiredError}
157
144
  */
158
- getProductFactors(productCode: string, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
159
- /**
160
- *
161
- * @param {string} [authorization] Bearer Token
162
- * @param {*} [options] Override http request option.
163
- * @throws {RequiredError}
164
- */
165
- initiateLead(authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
166
- /**
167
- *
168
- * @param {string} code
169
- * @param {CreateLeadRequestDto} createLeadRequestDto
170
- * @param {string} [authorization] Bearer Token
171
- * @param {*} [options] Override http request option.
172
- * @throws {RequiredError}
173
- */
174
- updateLead(code: string, createLeadRequestDto: CreateLeadRequestDto, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
145
+ getProductFactors(productCode: string, allValues: string, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<ProductFactorClass>>>;
175
146
  };
176
147
  /**
177
148
  * ProductsApi - factory interface
@@ -179,78 +150,61 @@ export declare const ProductsApiFp: (configuration?: Configuration) => {
179
150
  */
180
151
  export declare const ProductsApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
181
152
  /**
182
- *
153
+ * This will create an invoice product.
154
+ * @summary Create the invoice product
183
155
  * @param {string} productCode
184
156
  * @param {CreateEstimatedInvoiceRequestDto} createEstimatedInvoiceRequestDto
185
157
  * @param {string} [authorization] Bearer Token
186
158
  * @param {*} [options] Override http request option.
187
159
  * @throws {RequiredError}
188
160
  */
189
- createEstimatedInvoice(productCode: string, createEstimatedInvoiceRequestDto: CreateEstimatedInvoiceRequestDto, authorization?: string, options?: any): AxiosPromise<void>;
161
+ createEstimatedInvoice(productCode: string, createEstimatedInvoiceRequestDto: CreateEstimatedInvoiceRequestDto, authorization?: string, options?: any): AxiosPromise<CreateEstimatedInvoiceResponseClass>;
190
162
  /**
191
- *
192
- * @param {CreateLeadRequestDto} createLeadRequestDto
193
- * @param {string} [authorization] Bearer Token
194
- * @param {*} [options] Override http request option.
195
- * @throws {RequiredError}
196
- */
197
- createLead(createLeadRequestDto: CreateLeadRequestDto, authorization?: string, options?: any): AxiosPromise<void>;
198
- /**
199
- *
163
+ * This will create a custom application for a specific provider.
164
+ * @summary Create the custom application
200
165
  * @param {string} productCode
201
166
  * @param {CreateCustomApplicationRequestDto} createCustomApplicationRequestDto
202
167
  * @param {string} [authorization] Bearer Token
203
168
  * @param {*} [options] Override http request option.
204
169
  * @throws {RequiredError}
205
170
  */
206
- customApplication(productCode: string, createCustomApplicationRequestDto: CreateCustomApplicationRequestDto, authorization?: string, options?: any): AxiosPromise<void>;
171
+ customApplication(productCode: string, createCustomApplicationRequestDto: CreateCustomApplicationRequestDto, authorization?: string, options?: any): AxiosPromise<CreateCustomApplicationResponseClass>;
207
172
  /**
208
- *
173
+ * Returns a list of insured object types you have previously created. The insured object types are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
174
+ * @summary List insured object types
209
175
  * @param {string} [authorization] Bearer Token
210
176
  * @param {*} [options] Override http request option.
211
177
  * @throws {RequiredError}
212
178
  */
213
- getInsuredObjectTypes(authorization?: string, options?: any): AxiosPromise<void>;
179
+ getInsuredObjectTypes(authorization?: string, options?: any): AxiosPromise<Array<InsuredObjectTypeClass>>;
214
180
  /**
215
- *
181
+ * Returns a list of insured objects you have previously created. The insured objects are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
182
+ * @summary List insured objects
216
183
  * @param {string} productCode
217
184
  * @param {string} [authorization] Bearer Token
218
185
  * @param {*} [options] Override http request option.
219
186
  * @throws {RequiredError}
220
187
  */
221
- getInsuredObjects(productCode: string, authorization?: string, options?: any): AxiosPromise<void>;
188
+ getInsuredObjects(productCode: string, authorization?: string, options?: any): AxiosPromise<Array<InsuredObjectClass>>;
222
189
  /**
223
- *
190
+ * This will generate a custom css for booking funnel, based on product.
191
+ * @summary Generate a custom CSS
224
192
  * @param {string} productCode
225
193
  * @param {string} [authorization] Bearer Token
226
194
  * @param {*} [options] Override http request option.
227
195
  * @throws {RequiredError}
228
196
  */
229
- getProductCustomCss(productCode: string, authorization?: string, options?: any): AxiosPromise<void>;
197
+ getProductCustomCss(productCode: string, authorization?: string, options?: any): AxiosPromise<GetCustomCssResponseClass>;
230
198
  /**
231
- *
199
+ * Returns a list of product factors you have previously created. The product factors are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
200
+ * @summary List product factors
232
201
  * @param {string} productCode
202
+ * @param {string} allValues
233
203
  * @param {string} [authorization] Bearer Token
234
204
  * @param {*} [options] Override http request option.
235
205
  * @throws {RequiredError}
236
206
  */
237
- getProductFactors(productCode: string, authorization?: string, options?: any): AxiosPromise<void>;
238
- /**
239
- *
240
- * @param {string} [authorization] Bearer Token
241
- * @param {*} [options] Override http request option.
242
- * @throws {RequiredError}
243
- */
244
- initiateLead(authorization?: string, options?: any): AxiosPromise<void>;
245
- /**
246
- *
247
- * @param {string} code
248
- * @param {CreateLeadRequestDto} createLeadRequestDto
249
- * @param {string} [authorization] Bearer Token
250
- * @param {*} [options] Override http request option.
251
- * @throws {RequiredError}
252
- */
253
- updateLead(code: string, createLeadRequestDto: CreateLeadRequestDto, authorization?: string, options?: any): AxiosPromise<void>;
207
+ getProductFactors(productCode: string, allValues: string, authorization?: string, options?: any): AxiosPromise<Array<ProductFactorClass>>;
254
208
  };
255
209
  /**
256
210
  * Request parameters for createEstimatedInvoice operation in ProductsApi.
@@ -277,25 +231,6 @@ export interface ProductsApiCreateEstimatedInvoiceRequest {
277
231
  */
278
232
  readonly authorization?: string;
279
233
  }
280
- /**
281
- * Request parameters for createLead operation in ProductsApi.
282
- * @export
283
- * @interface ProductsApiCreateLeadRequest
284
- */
285
- export interface ProductsApiCreateLeadRequest {
286
- /**
287
- *
288
- * @type {CreateLeadRequestDto}
289
- * @memberof ProductsApiCreateLead
290
- */
291
- readonly createLeadRequestDto: CreateLeadRequestDto;
292
- /**
293
- * Bearer Token
294
- * @type {string}
295
- * @memberof ProductsApiCreateLead
296
- */
297
- readonly authorization?: string;
298
- }
299
234
  /**
300
235
  * Request parameters for customApplication operation in ProductsApi.
301
236
  * @export
@@ -384,48 +319,16 @@ export interface ProductsApiGetProductFactorsRequest {
384
319
  * @memberof ProductsApiGetProductFactors
385
320
  */
386
321
  readonly productCode: string;
387
- /**
388
- * Bearer Token
389
- * @type {string}
390
- * @memberof ProductsApiGetProductFactors
391
- */
392
- readonly authorization?: string;
393
- }
394
- /**
395
- * Request parameters for initiateLead operation in ProductsApi.
396
- * @export
397
- * @interface ProductsApiInitiateLeadRequest
398
- */
399
- export interface ProductsApiInitiateLeadRequest {
400
- /**
401
- * Bearer Token
402
- * @type {string}
403
- * @memberof ProductsApiInitiateLead
404
- */
405
- readonly authorization?: string;
406
- }
407
- /**
408
- * Request parameters for updateLead operation in ProductsApi.
409
- * @export
410
- * @interface ProductsApiUpdateLeadRequest
411
- */
412
- export interface ProductsApiUpdateLeadRequest {
413
322
  /**
414
323
  *
415
324
  * @type {string}
416
- * @memberof ProductsApiUpdateLead
417
- */
418
- readonly code: string;
419
- /**
420
- *
421
- * @type {CreateLeadRequestDto}
422
- * @memberof ProductsApiUpdateLead
325
+ * @memberof ProductsApiGetProductFactors
423
326
  */
424
- readonly createLeadRequestDto: CreateLeadRequestDto;
327
+ readonly allValues: string;
425
328
  /**
426
329
  * Bearer Token
427
330
  * @type {string}
428
- * @memberof ProductsApiUpdateLead
331
+ * @memberof ProductsApiGetProductFactors
429
332
  */
430
333
  readonly authorization?: string;
431
334
  }
@@ -437,75 +340,57 @@ export interface ProductsApiUpdateLeadRequest {
437
340
  */
438
341
  export declare class ProductsApi extends BaseAPI {
439
342
  /**
440
- *
343
+ * This will create an invoice product.
344
+ * @summary Create the invoice product
441
345
  * @param {ProductsApiCreateEstimatedInvoiceRequest} requestParameters Request parameters.
442
346
  * @param {*} [options] Override http request option.
443
347
  * @throws {RequiredError}
444
348
  * @memberof ProductsApi
445
349
  */
446
- createEstimatedInvoice(requestParameters: ProductsApiCreateEstimatedInvoiceRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any>>;
447
- /**
448
- *
449
- * @param {ProductsApiCreateLeadRequest} requestParameters Request parameters.
450
- * @param {*} [options] Override http request option.
451
- * @throws {RequiredError}
452
- * @memberof ProductsApi
453
- */
454
- createLead(requestParameters: ProductsApiCreateLeadRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any>>;
350
+ createEstimatedInvoice(requestParameters: ProductsApiCreateEstimatedInvoiceRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<CreateEstimatedInvoiceResponseClass, any>>;
455
351
  /**
456
- *
352
+ * This will create a custom application for a specific provider.
353
+ * @summary Create the custom application
457
354
  * @param {ProductsApiCustomApplicationRequest} requestParameters Request parameters.
458
355
  * @param {*} [options] Override http request option.
459
356
  * @throws {RequiredError}
460
357
  * @memberof ProductsApi
461
358
  */
462
- customApplication(requestParameters: ProductsApiCustomApplicationRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any>>;
359
+ customApplication(requestParameters: ProductsApiCustomApplicationRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<CreateCustomApplicationResponseClass, any>>;
463
360
  /**
464
- *
361
+ * Returns a list of insured object types you have previously created. The insured object types are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
362
+ * @summary List insured object types
465
363
  * @param {ProductsApiGetInsuredObjectTypesRequest} requestParameters Request parameters.
466
364
  * @param {*} [options] Override http request option.
467
365
  * @throws {RequiredError}
468
366
  * @memberof ProductsApi
469
367
  */
470
- getInsuredObjectTypes(requestParameters?: ProductsApiGetInsuredObjectTypesRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any>>;
368
+ getInsuredObjectTypes(requestParameters?: ProductsApiGetInsuredObjectTypesRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<InsuredObjectTypeClass[], any>>;
471
369
  /**
472
- *
370
+ * Returns a list of insured objects you have previously created. The insured objects are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
371
+ * @summary List insured objects
473
372
  * @param {ProductsApiGetInsuredObjectsRequest} requestParameters Request parameters.
474
373
  * @param {*} [options] Override http request option.
475
374
  * @throws {RequiredError}
476
375
  * @memberof ProductsApi
477
376
  */
478
- getInsuredObjects(requestParameters: ProductsApiGetInsuredObjectsRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any>>;
377
+ getInsuredObjects(requestParameters: ProductsApiGetInsuredObjectsRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<InsuredObjectClass[], any>>;
479
378
  /**
480
- *
379
+ * This will generate a custom css for booking funnel, based on product.
380
+ * @summary Generate a custom CSS
481
381
  * @param {ProductsApiGetProductCustomCssRequest} requestParameters Request parameters.
482
382
  * @param {*} [options] Override http request option.
483
383
  * @throws {RequiredError}
484
384
  * @memberof ProductsApi
485
385
  */
486
- getProductCustomCss(requestParameters: ProductsApiGetProductCustomCssRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any>>;
386
+ getProductCustomCss(requestParameters: ProductsApiGetProductCustomCssRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<GetCustomCssResponseClass, any>>;
487
387
  /**
488
- *
388
+ * Returns a list of product factors you have previously created. The product factors are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
389
+ * @summary List product factors
489
390
  * @param {ProductsApiGetProductFactorsRequest} requestParameters Request parameters.
490
391
  * @param {*} [options] Override http request option.
491
392
  * @throws {RequiredError}
492
393
  * @memberof ProductsApi
493
394
  */
494
- getProductFactors(requestParameters: ProductsApiGetProductFactorsRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any>>;
495
- /**
496
- *
497
- * @param {ProductsApiInitiateLeadRequest} requestParameters Request parameters.
498
- * @param {*} [options] Override http request option.
499
- * @throws {RequiredError}
500
- * @memberof ProductsApi
501
- */
502
- initiateLead(requestParameters?: ProductsApiInitiateLeadRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any>>;
503
- /**
504
- *
505
- * @param {ProductsApiUpdateLeadRequest} requestParameters Request parameters.
506
- * @param {*} [options] Override http request option.
507
- * @throws {RequiredError}
508
- * @memberof ProductsApi
509
- */
510
- updateLead(requestParameters: ProductsApiUpdateLeadRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any>>;
395
+ getProductFactors(requestParameters: ProductsApiGetProductFactorsRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<ProductFactorClass[], any>>;
511
396
  }