@emilgroup/public-api-sdk 1.25.0 → 1.26.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 (222) hide show
  1. package/.openapi-generator/FILES +9 -0
  2. package/README.md +2 -2
  3. package/api/booking-funnels-api.ts +161 -0
  4. package/api/documents-api.ts +36 -22
  5. package/api/leads-api.ts +4 -4
  6. package/api/named-ranges-api.ts +250 -0
  7. package/api/products-api.ts +65 -38
  8. package/api.ts +4 -0
  9. package/base.ts +1 -0
  10. package/dist/api/address-completions-validations-api.d.ts +215 -0
  11. package/dist/api/address-completions-validations-api.js +369 -0
  12. package/dist/api/booking-funnels-api.d.ts +96 -0
  13. package/dist/api/booking-funnels-api.js +223 -0
  14. package/dist/api/default-api.d.ts +66 -0
  15. package/dist/api/default-api.js +196 -0
  16. package/dist/api/documents-api.d.ts +548 -0
  17. package/dist/api/documents-api.js +857 -0
  18. package/dist/api/leads-api.d.ts +441 -0
  19. package/dist/api/leads-api.js +787 -0
  20. package/dist/api/named-ranges-api.d.ts +150 -0
  21. package/dist/api/named-ranges-api.js +263 -0
  22. package/dist/api/notifications-api.d.ts +211 -0
  23. package/dist/api/notifications-api.js +410 -0
  24. package/dist/api/payments-setup-api.d.ts +228 -0
  25. package/dist/api/payments-setup-api.js +422 -0
  26. package/dist/api/products-api.d.ts +581 -0
  27. package/dist/api/products-api.js +933 -0
  28. package/dist/api.d.ts +20 -0
  29. package/dist/api.js +38 -0
  30. package/dist/base.d.ts +74 -0
  31. package/dist/base.js +299 -0
  32. package/dist/common.d.ts +91 -0
  33. package/dist/common.js +276 -0
  34. package/dist/configuration.d.ts +83 -0
  35. package/dist/configuration.js +44 -0
  36. package/dist/index.d.ts +15 -0
  37. package/dist/index.js +36 -0
  38. package/dist/models/address-completion-item-class.d.ts +49 -0
  39. package/dist/models/address-completion-item-class.js +15 -0
  40. package/dist/models/address-completion-response-class.d.ts +25 -0
  41. package/dist/models/address-completion-response-class.js +15 -0
  42. package/dist/models/address-field-score-class.d.ts +48 -0
  43. package/dist/models/address-field-score-class.js +15 -0
  44. package/dist/models/booking-funnel-class.d.ts +90 -0
  45. package/dist/models/booking-funnel-class.js +15 -0
  46. package/dist/models/calculate-product-fields-request-dto.d.ts +31 -0
  47. package/dist/models/calculate-product-fields-request-dto.js +15 -0
  48. package/dist/models/calculate-product-fields-response-class.d.ts +25 -0
  49. package/dist/models/calculate-product-fields-response-class.js +15 -0
  50. package/dist/models/complete-braintree-payment-setup-request-dto.d.ts +48 -0
  51. package/dist/models/complete-braintree-payment-setup-request-dto.js +15 -0
  52. package/dist/models/complete-email-verification-dto.d.ts +30 -0
  53. package/dist/models/complete-email-verification-dto.js +15 -0
  54. package/dist/models/complete-email-verification-response-class.d.ts +24 -0
  55. package/dist/models/complete-email-verification-response-class.js +15 -0
  56. package/dist/models/complete-payment-setup-request-dto.d.ts +32 -0
  57. package/dist/models/complete-payment-setup-request-dto.js +15 -0
  58. package/dist/models/complete-payment-setup-response-class.d.ts +25 -0
  59. package/dist/models/complete-payment-setup-response-class.js +15 -0
  60. package/dist/models/complete-stripe-payment-setup-request-dto.d.ts +60 -0
  61. package/dist/models/complete-stripe-payment-setup-request-dto.js +15 -0
  62. package/dist/models/create-account-request-dto.d.ts +132 -0
  63. package/dist/models/create-account-request-dto.js +31 -0
  64. package/dist/models/create-bank-account-request-dto.d.ts +30 -0
  65. package/dist/models/create-bank-account-request-dto.js +15 -0
  66. package/dist/models/create-custom-application-request-dto.d.ts +35 -0
  67. package/dist/models/create-custom-application-request-dto.js +20 -0
  68. package/dist/models/create-custom-application-response-class.d.ts +24 -0
  69. package/dist/models/create-custom-application-response-class.js +15 -0
  70. package/dist/models/create-document-request-dto.d.ts +132 -0
  71. package/dist/models/create-document-request-dto.js +43 -0
  72. package/dist/models/create-estimated-invoice-request-dto.d.ts +55 -0
  73. package/dist/models/create-estimated-invoice-request-dto.js +20 -0
  74. package/dist/models/create-estimated-invoice-response-class.d.ts +38 -0
  75. package/dist/models/create-estimated-invoice-response-class.js +15 -0
  76. package/dist/models/create-lead-async-response-class.d.ts +24 -0
  77. package/dist/models/create-lead-async-response-class.js +15 -0
  78. package/dist/models/create-lead-request-dto.d.ts +120 -0
  79. package/dist/models/create-lead-request-dto.js +15 -0
  80. package/dist/models/create-lead-response-class.d.ts +25 -0
  81. package/dist/models/create-lead-response-class.js +15 -0
  82. package/dist/models/create-payment-method-request-dto.d.ts +36 -0
  83. package/dist/models/create-payment-method-request-dto.js +20 -0
  84. package/dist/models/create-presigned-post-request-dto.d.ts +128 -0
  85. package/dist/models/create-presigned-post-request-dto.js +52 -0
  86. package/dist/models/create-presigned-post-response-class.d.ts +30 -0
  87. package/dist/models/create-presigned-post-response-class.js +15 -0
  88. package/dist/models/document-class.d.ts +144 -0
  89. package/dist/models/document-class.js +49 -0
  90. package/dist/models/filter-named-range-response-class.d.ts +42 -0
  91. package/dist/models/filter-named-range-response-class.js +15 -0
  92. package/dist/models/get-booking-funnel-response-class.d.ts +25 -0
  93. package/dist/models/get-booking-funnel-response-class.js +15 -0
  94. package/dist/models/get-custom-css-response-class.d.ts +24 -0
  95. package/dist/models/get-custom-css-response-class.js +15 -0
  96. package/dist/models/get-lead-response-class.d.ts +25 -0
  97. package/dist/models/get-lead-response-class.js +15 -0
  98. package/dist/models/get-product-document-download-url-response-class.d.ts +24 -0
  99. package/dist/models/get-product-document-download-url-response-class.js +15 -0
  100. package/dist/models/get-public-psp-settings-response-class.d.ts +30 -0
  101. package/dist/models/get-public-psp-settings-response-class.js +15 -0
  102. package/dist/models/index.d.ts +79 -0
  103. package/dist/models/index.js +95 -0
  104. package/dist/models/initiate-braintree-payment-setup-request-dto.d.ts +30 -0
  105. package/dist/models/initiate-braintree-payment-setup-request-dto.js +15 -0
  106. package/dist/models/initiate-braintree-payment-setup-response-class.d.ts +24 -0
  107. package/dist/models/initiate-braintree-payment-setup-response-class.js +15 -0
  108. package/dist/models/initiate-email-verification-dto.d.ts +30 -0
  109. package/dist/models/initiate-email-verification-dto.js +15 -0
  110. package/dist/models/initiate-email-verification-response-class.d.ts +24 -0
  111. package/dist/models/initiate-email-verification-response-class.js +15 -0
  112. package/dist/models/initiate-lead-response-class.d.ts +24 -0
  113. package/dist/models/initiate-lead-response-class.js +15 -0
  114. package/dist/models/initiate-payment-setup-request-dto.d.ts +32 -0
  115. package/dist/models/initiate-payment-setup-request-dto.js +15 -0
  116. package/dist/models/initiate-payment-setup-response-class.d.ts +32 -0
  117. package/dist/models/initiate-payment-setup-response-class.js +15 -0
  118. package/dist/models/initiate-stripe-payment-setup-request-dto.d.ts +30 -0
  119. package/dist/models/initiate-stripe-payment-setup-request-dto.js +15 -0
  120. package/dist/models/initiate-stripe-payment-setup-response-class.d.ts +30 -0
  121. package/dist/models/initiate-stripe-payment-setup-response-class.js +15 -0
  122. package/dist/models/inline-response200.d.ts +54 -0
  123. package/dist/models/inline-response200.js +15 -0
  124. package/dist/models/inline-response503.d.ts +54 -0
  125. package/dist/models/inline-response503.js +15 -0
  126. package/dist/models/insured-object-class.d.ts +85 -0
  127. package/dist/models/insured-object-class.js +15 -0
  128. package/dist/models/insured-object-type-class.d.ts +48 -0
  129. package/dist/models/insured-object-type-class.js +15 -0
  130. package/dist/models/invoice-class.d.ts +134 -0
  131. package/dist/models/invoice-class.js +15 -0
  132. package/dist/models/invoice-item-class.d.ts +120 -0
  133. package/dist/models/invoice-item-class.js +15 -0
  134. package/dist/models/invoice-status-class.d.ts +42 -0
  135. package/dist/models/invoice-status-class.js +15 -0
  136. package/dist/models/lead-account-class.d.ts +109 -0
  137. package/dist/models/lead-account-class.js +22 -0
  138. package/dist/models/lead-bank-account-class.d.ts +30 -0
  139. package/dist/models/lead-bank-account-class.js +15 -0
  140. package/dist/models/lead-class.d.ts +116 -0
  141. package/dist/models/lead-class.js +15 -0
  142. package/dist/models/lead-policy-class.d.ts +43 -0
  143. package/dist/models/lead-policy-class.js +15 -0
  144. package/dist/models/lead-policy-object-class.d.ts +36 -0
  145. package/dist/models/lead-policy-object-class.js +15 -0
  146. package/dist/models/list-documents-response-class.d.ts +31 -0
  147. package/dist/models/list-documents-response-class.js +15 -0
  148. package/dist/models/list-product-documents-response-class.d.ts +31 -0
  149. package/dist/models/list-product-documents-response-class.js +15 -0
  150. package/dist/models/list-products-response-class.d.ts +31 -0
  151. package/dist/models/list-products-response-class.js +15 -0
  152. package/dist/models/partner-class.d.ts +60 -0
  153. package/dist/models/partner-class.js +15 -0
  154. package/dist/models/partner-link-class.d.ts +86 -0
  155. package/dist/models/partner-link-class.js +15 -0
  156. package/dist/models/partner-role-class.d.ts +54 -0
  157. package/dist/models/partner-role-class.js +15 -0
  158. package/dist/models/payment-method-class.d.ts +60 -0
  159. package/dist/models/payment-method-class.js +15 -0
  160. package/dist/models/policy-object-request-dto.d.ts +42 -0
  161. package/dist/models/policy-object-request-dto.js +15 -0
  162. package/dist/models/policy-object-response-class.d.ts +36 -0
  163. package/dist/models/policy-object-response-class.js +15 -0
  164. package/dist/models/premium-override-dto.d.ts +55 -0
  165. package/dist/models/premium-override-dto.js +27 -0
  166. package/dist/models/premium-override-request-dto.d.ts +25 -0
  167. package/dist/models/premium-override-request-dto.js +15 -0
  168. package/dist/models/product-class.d.ts +80 -0
  169. package/dist/models/product-class.js +15 -0
  170. package/dist/models/product-document-class.d.ts +123 -0
  171. package/dist/models/product-document-class.js +36 -0
  172. package/dist/models/product-factor-for-version-class.d.ts +61 -0
  173. package/dist/models/product-factor-for-version-class.js +15 -0
  174. package/dist/models/product-factor-value-for-version-class.d.ts +42 -0
  175. package/dist/models/product-factor-value-for-version-class.js +15 -0
  176. package/dist/models/product-field-class.d.ts +132 -0
  177. package/dist/models/product-field-class.js +15 -0
  178. package/dist/models/product-version-class.d.ts +61 -0
  179. package/dist/models/product-version-class.js +22 -0
  180. package/dist/models/send-notification-request-dto.d.ts +36 -0
  181. package/dist/models/send-notification-request-dto.js +15 -0
  182. package/dist/models/send-notification-response-class.d.ts +24 -0
  183. package/dist/models/send-notification-response-class.js +15 -0
  184. package/dist/models/sepa-dto.d.ts +30 -0
  185. package/dist/models/sepa-dto.js +15 -0
  186. package/dist/models/structured-address-class.d.ts +54 -0
  187. package/dist/models/structured-address-class.js +15 -0
  188. package/dist/models/suggested-address-details-class.d.ts +90 -0
  189. package/dist/models/suggested-address-details-class.js +15 -0
  190. package/dist/models/update-lead-request-dto.d.ts +95 -0
  191. package/dist/models/update-lead-request-dto.js +15 -0
  192. package/dist/models/update-lead-response-class.d.ts +25 -0
  193. package/dist/models/update-lead-response-class.js +15 -0
  194. package/dist/models/uploaded-document-dto.d.ts +24 -0
  195. package/dist/models/uploaded-document-dto.js +15 -0
  196. package/dist/models/validate-address-response-class.d.ts +50 -0
  197. package/dist/models/validate-address-response-class.js +15 -0
  198. package/models/address-field-score-class.ts +10 -10
  199. package/models/booking-funnel-class.ts +96 -0
  200. package/models/create-account-request-dto.ts +1 -1
  201. package/models/create-document-request-dto.ts +2 -2
  202. package/models/create-lead-request-dto.ts +13 -1
  203. package/models/create-presigned-post-request-dto.ts +2 -2
  204. package/models/document-class.ts +1 -1
  205. package/models/filter-named-range-response-class.ts +48 -0
  206. package/models/get-booking-funnel-response-class.ts +31 -0
  207. package/models/index.ts +7 -0
  208. package/models/initiate-email-verification-dto.ts +1 -1
  209. package/models/insured-object-type-class.ts +1 -1
  210. package/models/lead-account-class.ts +1 -1
  211. package/models/lead-class.ts +7 -0
  212. package/models/lead-policy-object-class.ts +2 -2
  213. package/models/partner-class.ts +66 -0
  214. package/models/partner-link-class.ts +92 -0
  215. package/models/partner-role-class.ts +60 -0
  216. package/models/product-class.ts +1 -1
  217. package/models/product-document-class.ts +14 -2
  218. package/models/product-factor-for-version-class.ts +4 -3
  219. package/models/product-factor-value-for-version-class.ts +48 -0
  220. package/models/send-notification-request-dto.ts +1 -1
  221. package/models/update-lead-request-dto.ts +1 -1
  222. package/package.json +1 -1
@@ -0,0 +1,250 @@
1
+ /* tslint:disable */
2
+ /* eslint-disable */
3
+ /**
4
+ * Emil PublicAPI
5
+ * The Emil Public API description
6
+ *
7
+ * The version of the OpenAPI document: 1.0
8
+ * Contact: kontakt@emil.de
9
+ *
10
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
+ * https://openapi-generator.tech
12
+ * Do not edit the class manually.
13
+ */
14
+
15
+
16
+ import globalAxios, { AxiosPromise, AxiosInstance, AxiosRequestConfig } from 'axios';
17
+ import { Configuration } from '../configuration';
18
+ // Some imports not used depending on template conditions
19
+ // @ts-ignore
20
+ import { DUMMY_BASE_URL, assertParamExists, setApiKeyToObject, setBasicAuthToObject, setBearerAuthToObject, setOAuthToObject, setSearchParams, serializeDataIfNeeded, toPathString, createRequestFunction } from '../common';
21
+ // @ts-ignore
22
+ import { BASE_PATH, COLLECTION_FORMATS, RequestArgs, BaseAPI, RequiredError } from '../base';
23
+ // @ts-ignore
24
+ import { FilterNamedRangeResponseClass } from '../models';
25
+ /**
26
+ * NamedRangesApi - axios parameter creator
27
+ * @export
28
+ */
29
+ export const NamedRangesApiAxiosParamCreator = function (configuration?: Configuration) {
30
+ return {
31
+ /**
32
+ * Returns a list of named range file records you have previously created. The named range file records are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
33
+ * @summary List named range file records
34
+ * @param {string} productSlug A slug is a human-readable, unique identifier, used to identify a resource instead of a less human-readable identifier like an id.
35
+ * @param {string} name Name of Named Range.
36
+ * @param {string} [authorization] Bearer Token
37
+ * @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
38
+ * @param {string} [pageToken] A cursor for use in pagination. pageToken is an ID that defines your place in the list. For instance, if you make a list request and receive 100 objects and pageToken=1, your subsequent call can include pageToken=2 in order to fetch the next page of the list.
39
+ * @param {string} [filters] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.
40
+ * @param {string} [search] Search the list by any field.
41
+ * @param {string} [order] The order parameter determines how the results should be sorted according to a specified field. It functions similarly to an SQL ORDER BY. Sorting can be performed in either ascending (ASC) or descending (DESC) order. Default: ASC.
42
+ * @param {*} [options] Override http request option.
43
+ * @throws {RequiredError}
44
+ */
45
+ filterNamedRange: async (productSlug: string, name: string, authorization?: string, pageSize?: number, pageToken?: string, filters?: string, search?: string, order?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
46
+ // verify required parameter 'productSlug' is not null or undefined
47
+ assertParamExists('filterNamedRange', 'productSlug', productSlug)
48
+ // verify required parameter 'name' is not null or undefined
49
+ assertParamExists('filterNamedRange', 'name', name)
50
+ const localVarPath = `/publicapi/v1/named-ranges/records`;
51
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
52
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
53
+ let baseOptions;
54
+ let baseAccessToken;
55
+ if (configuration) {
56
+ baseOptions = configuration.baseOptions;
57
+ baseAccessToken = configuration.accessToken;
58
+ }
59
+
60
+ const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
61
+ const localVarHeaderParameter = {} as any;
62
+ const localVarQueryParameter = {} as any;
63
+
64
+ // authentication bearer required
65
+ // http bearer authentication required
66
+ await setBearerAuthToObject(localVarHeaderParameter, configuration)
67
+
68
+ if (productSlug !== undefined) {
69
+ localVarQueryParameter['productSlug'] = productSlug;
70
+ }
71
+
72
+ if (name !== undefined) {
73
+ localVarQueryParameter['name'] = name;
74
+ }
75
+
76
+ if (pageSize !== undefined) {
77
+ localVarQueryParameter['pageSize'] = pageSize;
78
+ }
79
+
80
+ if (pageToken !== undefined) {
81
+ localVarQueryParameter['pageToken'] = pageToken;
82
+ }
83
+
84
+ if (filters !== undefined) {
85
+ localVarQueryParameter['filters'] = filters;
86
+ }
87
+
88
+ if (search !== undefined) {
89
+ localVarQueryParameter['search'] = search;
90
+ }
91
+
92
+ if (order !== undefined) {
93
+ localVarQueryParameter['order'] = order;
94
+ }
95
+
96
+ if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
97
+ localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
98
+ }
99
+
100
+
101
+
102
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
103
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
104
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
105
+
106
+ return {
107
+ url: toPathString(localVarUrlObj),
108
+ options: localVarRequestOptions,
109
+ };
110
+ },
111
+ }
112
+ };
113
+
114
+ /**
115
+ * NamedRangesApi - functional programming interface
116
+ * @export
117
+ */
118
+ export const NamedRangesApiFp = function(configuration?: Configuration) {
119
+ const localVarAxiosParamCreator = NamedRangesApiAxiosParamCreator(configuration)
120
+ return {
121
+ /**
122
+ * Returns a list of named range file records you have previously created. The named range file records are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
123
+ * @summary List named range file records
124
+ * @param {string} productSlug A slug is a human-readable, unique identifier, used to identify a resource instead of a less human-readable identifier like an id.
125
+ * @param {string} name Name of Named Range.
126
+ * @param {string} [authorization] Bearer Token
127
+ * @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
128
+ * @param {string} [pageToken] A cursor for use in pagination. pageToken is an ID that defines your place in the list. For instance, if you make a list request and receive 100 objects and pageToken&#x3D;1, your subsequent call can include pageToken&#x3D;2 in order to fetch the next page of the list.
129
+ * @param {string} [filters] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.
130
+ * @param {string} [search] Search the list by any field.
131
+ * @param {string} [order] The order parameter determines how the results should be sorted according to a specified field. It functions similarly to an SQL ORDER BY. Sorting can be performed in either ascending (ASC) or descending (DESC) order. Default: ASC.
132
+ * @param {*} [options] Override http request option.
133
+ * @throws {RequiredError}
134
+ */
135
+ async filterNamedRange(productSlug: string, name: string, authorization?: string, pageSize?: number, pageToken?: string, filters?: string, search?: string, order?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<FilterNamedRangeResponseClass>> {
136
+ const localVarAxiosArgs = await localVarAxiosParamCreator.filterNamedRange(productSlug, name, authorization, pageSize, pageToken, filters, search, order, options);
137
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
138
+ },
139
+ }
140
+ };
141
+
142
+ /**
143
+ * NamedRangesApi - factory interface
144
+ * @export
145
+ */
146
+ export const NamedRangesApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) {
147
+ const localVarFp = NamedRangesApiFp(configuration)
148
+ return {
149
+ /**
150
+ * Returns a list of named range file records you have previously created. The named range file records are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
151
+ * @summary List named range file records
152
+ * @param {string} productSlug A slug is a human-readable, unique identifier, used to identify a resource instead of a less human-readable identifier like an id.
153
+ * @param {string} name Name of Named Range.
154
+ * @param {string} [authorization] Bearer Token
155
+ * @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
156
+ * @param {string} [pageToken] A cursor for use in pagination. pageToken is an ID that defines your place in the list. For instance, if you make a list request and receive 100 objects and pageToken&#x3D;1, your subsequent call can include pageToken&#x3D;2 in order to fetch the next page of the list.
157
+ * @param {string} [filters] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.
158
+ * @param {string} [search] Search the list by any field.
159
+ * @param {string} [order] The order parameter determines how the results should be sorted according to a specified field. It functions similarly to an SQL ORDER BY. Sorting can be performed in either ascending (ASC) or descending (DESC) order. Default: ASC.
160
+ * @param {*} [options] Override http request option.
161
+ * @throws {RequiredError}
162
+ */
163
+ filterNamedRange(productSlug: string, name: string, authorization?: string, pageSize?: number, pageToken?: string, filters?: string, search?: string, order?: string, options?: any): AxiosPromise<FilterNamedRangeResponseClass> {
164
+ return localVarFp.filterNamedRange(productSlug, name, authorization, pageSize, pageToken, filters, search, order, options).then((request) => request(axios, basePath));
165
+ },
166
+ };
167
+ };
168
+
169
+ /**
170
+ * Request parameters for filterNamedRange operation in NamedRangesApi.
171
+ * @export
172
+ * @interface NamedRangesApiFilterNamedRangeRequest
173
+ */
174
+ export interface NamedRangesApiFilterNamedRangeRequest {
175
+ /**
176
+ * A slug is a human-readable, unique identifier, used to identify a resource instead of a less human-readable identifier like an id.
177
+ * @type {string}
178
+ * @memberof NamedRangesApiFilterNamedRange
179
+ */
180
+ readonly productSlug: string
181
+
182
+ /**
183
+ * Name of Named Range.
184
+ * @type {string}
185
+ * @memberof NamedRangesApiFilterNamedRange
186
+ */
187
+ readonly name: string
188
+
189
+ /**
190
+ * Bearer Token
191
+ * @type {string}
192
+ * @memberof NamedRangesApiFilterNamedRange
193
+ */
194
+ readonly authorization?: string
195
+
196
+ /**
197
+ * A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
198
+ * @type {number}
199
+ * @memberof NamedRangesApiFilterNamedRange
200
+ */
201
+ readonly pageSize?: number
202
+
203
+ /**
204
+ * 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.
205
+ * @type {string}
206
+ * @memberof NamedRangesApiFilterNamedRange
207
+ */
208
+ readonly pageToken?: string
209
+
210
+ /**
211
+ * Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.
212
+ * @type {string}
213
+ * @memberof NamedRangesApiFilterNamedRange
214
+ */
215
+ readonly filters?: string
216
+
217
+ /**
218
+ * Search the list by any field.
219
+ * @type {string}
220
+ * @memberof NamedRangesApiFilterNamedRange
221
+ */
222
+ readonly search?: string
223
+
224
+ /**
225
+ * 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.
226
+ * @type {string}
227
+ * @memberof NamedRangesApiFilterNamedRange
228
+ */
229
+ readonly order?: string
230
+ }
231
+
232
+ /**
233
+ * NamedRangesApi - object-oriented interface
234
+ * @export
235
+ * @class NamedRangesApi
236
+ * @extends {BaseAPI}
237
+ */
238
+ export class NamedRangesApi extends BaseAPI {
239
+ /**
240
+ * Returns a list of named range file records you have previously created. The named range file records are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
241
+ * @summary List named range file records
242
+ * @param {NamedRangesApiFilterNamedRangeRequest} requestParameters Request parameters.
243
+ * @param {*} [options] Override http request option.
244
+ * @throws {RequiredError}
245
+ * @memberof NamedRangesApi
246
+ */
247
+ public filterNamedRange(requestParameters: NamedRangesApiFilterNamedRangeRequest, options?: AxiosRequestConfig) {
248
+ return NamedRangesApiFp(this.configuration).filterNamedRange(requestParameters.productSlug, requestParameters.name, requestParameters.authorization, requestParameters.pageSize, requestParameters.pageToken, requestParameters.filters, requestParameters.search, requestParameters.order, options).then((request) => request(this.axios, this.basePath));
249
+ }
250
+ }
@@ -202,14 +202,18 @@ export const ProductsApiAxiosParamCreator = function (configuration?: Configurat
202
202
  };
203
203
  },
204
204
  /**
205
- * 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.
205
+ * 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.
206
206
  * @summary List insured object types
207
+ * @param {string} productCode
207
208
  * @param {string} [authorization] Bearer Token
208
209
  * @param {*} [options] Override http request option.
209
210
  * @throws {RequiredError}
210
211
  */
211
- getInsuredObjectTypes: async (authorization?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
212
- const localVarPath = `/publicapi/v1/products/{product_code}/insured-object-types`;
212
+ getInsuredObjectTypes: async (productCode: string, authorization?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
213
+ // verify required parameter 'productCode' is not null or undefined
214
+ assertParamExists('getInsuredObjectTypes', 'productCode', productCode)
215
+ const localVarPath = `/publicapi/v1/products/{product_code}/insured-object-types`
216
+ .replace(`{${"product_code"}}`, encodeURIComponent(String(productCode)));
213
217
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
214
218
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
215
219
  let baseOptions;
@@ -243,7 +247,7 @@ export const ProductsApiAxiosParamCreator = function (configuration?: Configurat
243
247
  };
244
248
  },
245
249
  /**
246
- * 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.
250
+ * 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.
247
251
  * @summary List insured objects
248
252
  * @param {string} productCode
249
253
  * @param {string} [authorization] Bearer Token
@@ -333,7 +337,7 @@ export const ProductsApiAxiosParamCreator = function (configuration?: Configurat
333
337
  };
334
338
  },
335
339
  /**
336
- * 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.
340
+ * 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.
337
341
  * @summary List product factors
338
342
  * @param {string} productCode
339
343
  * @param {string} allValues
@@ -385,19 +389,20 @@ export const ProductsApiAxiosParamCreator = function (configuration?: Configurat
385
389
  };
386
390
  },
387
391
  /**
388
- * Returns a list of products you have previously created. The products are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
392
+ * Returns a list of products you have previously created. The products are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
389
393
  * @summary List products
390
394
  * @param {string} [authorization] Bearer Token
391
- * @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 100. Default: 10.
395
+ * @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
392
396
  * @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.
393
397
  * @param {any} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.
394
- * @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.
398
+ * @param {any} [search] To search the list by any field, pass search&#x3D;xxx to fetch the result.
395
399
  * @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.
396
400
  * @param {any} [expand] You can expand product versions and insured object types list in this endpoint.
401
+ * @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.
397
402
  * @param {*} [options] Override http request option.
398
403
  * @throws {RequiredError}
399
404
  */
400
- listProducts: async (authorization?: string, pageSize?: any, pageToken?: any, filter?: any, search?: any, order?: any, expand?: any, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
405
+ listProducts: async (authorization?: string, pageSize?: any, pageToken?: any, filter?: any, search?: any, order?: any, expand?: any, filters?: any, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
401
406
  const localVarPath = `/publicapi/v1/products`;
402
407
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
403
408
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
@@ -440,6 +445,10 @@ export const ProductsApiAxiosParamCreator = function (configuration?: Configurat
440
445
  localVarQueryParameter['expand'] = expand;
441
446
  }
442
447
 
448
+ if (filters !== undefined) {
449
+ localVarQueryParameter['filters'] = filters;
450
+ }
451
+
443
452
  if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
444
453
  localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
445
454
  }
@@ -505,18 +514,19 @@ export const ProductsApiFp = function(configuration?: Configuration) {
505
514
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
506
515
  },
507
516
  /**
508
- * 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.
517
+ * 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.
509
518
  * @summary List insured object types
519
+ * @param {string} productCode
510
520
  * @param {string} [authorization] Bearer Token
511
521
  * @param {*} [options] Override http request option.
512
522
  * @throws {RequiredError}
513
523
  */
514
- async getInsuredObjectTypes(authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<InsuredObjectTypeClass>>> {
515
- const localVarAxiosArgs = await localVarAxiosParamCreator.getInsuredObjectTypes(authorization, options);
524
+ async getInsuredObjectTypes(productCode: string, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<InsuredObjectTypeClass>>> {
525
+ const localVarAxiosArgs = await localVarAxiosParamCreator.getInsuredObjectTypes(productCode, authorization, options);
516
526
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
517
527
  },
518
528
  /**
519
- * 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.
529
+ * 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.
520
530
  * @summary List insured objects
521
531
  * @param {string} productCode
522
532
  * @param {string} [authorization] Bearer Token
@@ -540,7 +550,7 @@ export const ProductsApiFp = function(configuration?: Configuration) {
540
550
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
541
551
  },
542
552
  /**
543
- * 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.
553
+ * 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.
544
554
  * @summary List product factors
545
555
  * @param {string} productCode
546
556
  * @param {string} allValues
@@ -553,20 +563,21 @@ export const ProductsApiFp = function(configuration?: Configuration) {
553
563
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
554
564
  },
555
565
  /**
556
- * Returns a list of products you have previously created. The products are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
566
+ * Returns a list of products you have previously created. The products are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
557
567
  * @summary List products
558
568
  * @param {string} [authorization] Bearer Token
559
- * @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 100. Default: 10.
569
+ * @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
560
570
  * @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.
561
571
  * @param {any} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.
562
- * @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.
572
+ * @param {any} [search] To search the list by any field, pass search&#x3D;xxx to fetch the result.
563
573
  * @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.
564
574
  * @param {any} [expand] You can expand product versions and insured object types list in this endpoint.
575
+ * @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.
565
576
  * @param {*} [options] Override http request option.
566
577
  * @throws {RequiredError}
567
578
  */
568
- async listProducts(authorization?: string, pageSize?: any, pageToken?: any, filter?: any, search?: any, order?: any, expand?: any, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ListProductsResponseClass>> {
569
- const localVarAxiosArgs = await localVarAxiosParamCreator.listProducts(authorization, pageSize, pageToken, filter, search, order, expand, options);
579
+ async listProducts(authorization?: string, pageSize?: any, pageToken?: any, filter?: any, search?: any, order?: any, expand?: any, filters?: any, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ListProductsResponseClass>> {
580
+ const localVarAxiosArgs = await localVarAxiosParamCreator.listProducts(authorization, pageSize, pageToken, filter, search, order, expand, filters, options);
570
581
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
571
582
  },
572
583
  }
@@ -616,17 +627,18 @@ export const ProductsApiFactory = function (configuration?: Configuration, baseP
616
627
  return localVarFp.customApplication(productCode, createCustomApplicationRequestDto, authorization, options).then((request) => request(axios, basePath));
617
628
  },
618
629
  /**
619
- * 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.
630
+ * 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.
620
631
  * @summary List insured object types
632
+ * @param {string} productCode
621
633
  * @param {string} [authorization] Bearer Token
622
634
  * @param {*} [options] Override http request option.
623
635
  * @throws {RequiredError}
624
636
  */
625
- getInsuredObjectTypes(authorization?: string, options?: any): AxiosPromise<Array<InsuredObjectTypeClass>> {
626
- return localVarFp.getInsuredObjectTypes(authorization, options).then((request) => request(axios, basePath));
637
+ getInsuredObjectTypes(productCode: string, authorization?: string, options?: any): AxiosPromise<Array<InsuredObjectTypeClass>> {
638
+ return localVarFp.getInsuredObjectTypes(productCode, authorization, options).then((request) => request(axios, basePath));
627
639
  },
628
640
  /**
629
- * 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.
641
+ * 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.
630
642
  * @summary List insured objects
631
643
  * @param {string} productCode
632
644
  * @param {string} [authorization] Bearer Token
@@ -648,7 +660,7 @@ export const ProductsApiFactory = function (configuration?: Configuration, baseP
648
660
  return localVarFp.getProductCustomCss(productCode, authorization, options).then((request) => request(axios, basePath));
649
661
  },
650
662
  /**
651
- * 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.
663
+ * 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.
652
664
  * @summary List product factors
653
665
  * @param {string} productCode
654
666
  * @param {string} allValues
@@ -660,20 +672,21 @@ export const ProductsApiFactory = function (configuration?: Configuration, baseP
660
672
  return localVarFp.getProductFactors(productCode, allValues, authorization, options).then((request) => request(axios, basePath));
661
673
  },
662
674
  /**
663
- * Returns a list of products you have previously created. The products are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
675
+ * Returns a list of products you have previously created. The products are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
664
676
  * @summary List products
665
677
  * @param {string} [authorization] Bearer Token
666
- * @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 100. Default: 10.
678
+ * @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
667
679
  * @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.
668
680
  * @param {any} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.
669
- * @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.
681
+ * @param {any} [search] To search the list by any field, pass search&#x3D;xxx to fetch the result.
670
682
  * @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.
671
683
  * @param {any} [expand] You can expand product versions and insured object types list in this endpoint.
684
+ * @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.
672
685
  * @param {*} [options] Override http request option.
673
686
  * @throws {RequiredError}
674
687
  */
675
- listProducts(authorization?: string, pageSize?: any, pageToken?: any, filter?: any, search?: any, order?: any, expand?: any, options?: any): AxiosPromise<ListProductsResponseClass> {
676
- return localVarFp.listProducts(authorization, pageSize, pageToken, filter, search, order, expand, options).then((request) => request(axios, basePath));
688
+ listProducts(authorization?: string, pageSize?: any, pageToken?: any, filter?: any, search?: any, order?: any, expand?: any, filters?: any, options?: any): AxiosPromise<ListProductsResponseClass> {
689
+ return localVarFp.listProducts(authorization, pageSize, pageToken, filter, search, order, expand, filters, options).then((request) => request(axios, basePath));
677
690
  },
678
691
  };
679
692
  };
@@ -768,6 +781,13 @@ export interface ProductsApiCustomApplicationRequest {
768
781
  * @interface ProductsApiGetInsuredObjectTypesRequest
769
782
  */
770
783
  export interface ProductsApiGetInsuredObjectTypesRequest {
784
+ /**
785
+ *
786
+ * @type {string}
787
+ * @memberof ProductsApiGetInsuredObjectTypes
788
+ */
789
+ readonly productCode: string
790
+
771
791
  /**
772
792
  * Bearer Token
773
793
  * @type {string}
@@ -860,7 +880,7 @@ export interface ProductsApiListProductsRequest {
860
880
  readonly authorization?: string
861
881
 
862
882
  /**
863
- * A limit on the number of objects to be returned. Limit ranges between 1 and 100. Default: 10.
883
+ * A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
864
884
  * @type {any}
865
885
  * @memberof ProductsApiListProducts
866
886
  */
@@ -881,7 +901,7 @@ export interface ProductsApiListProductsRequest {
881
901
  readonly filter?: any
882
902
 
883
903
  /**
884
- * 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.
904
+ * To search the list by any field, pass search&#x3D;xxx to fetch the result.
885
905
  * @type {any}
886
906
  * @memberof ProductsApiListProducts
887
907
  */
@@ -900,6 +920,13 @@ export interface ProductsApiListProductsRequest {
900
920
  * @memberof ProductsApiListProducts
901
921
  */
902
922
  readonly expand?: any
923
+
924
+ /**
925
+ * 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.
926
+ * @type {any}
927
+ * @memberof ProductsApiListProducts
928
+ */
929
+ readonly filters?: any
903
930
  }
904
931
 
905
932
  /**
@@ -946,19 +973,19 @@ export class ProductsApi extends BaseAPI {
946
973
  }
947
974
 
948
975
  /**
949
- * 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.
976
+ * 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.
950
977
  * @summary List insured object types
951
978
  * @param {ProductsApiGetInsuredObjectTypesRequest} requestParameters Request parameters.
952
979
  * @param {*} [options] Override http request option.
953
980
  * @throws {RequiredError}
954
981
  * @memberof ProductsApi
955
982
  */
956
- public getInsuredObjectTypes(requestParameters: ProductsApiGetInsuredObjectTypesRequest = {}, options?: AxiosRequestConfig) {
957
- return ProductsApiFp(this.configuration).getInsuredObjectTypes(requestParameters.authorization, options).then((request) => request(this.axios, this.basePath));
983
+ public getInsuredObjectTypes(requestParameters: ProductsApiGetInsuredObjectTypesRequest, options?: AxiosRequestConfig) {
984
+ return ProductsApiFp(this.configuration).getInsuredObjectTypes(requestParameters.productCode, requestParameters.authorization, options).then((request) => request(this.axios, this.basePath));
958
985
  }
959
986
 
960
987
  /**
961
- * 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.
988
+ * 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.
962
989
  * @summary List insured objects
963
990
  * @param {ProductsApiGetInsuredObjectsRequest} requestParameters Request parameters.
964
991
  * @param {*} [options] Override http request option.
@@ -982,7 +1009,7 @@ export class ProductsApi extends BaseAPI {
982
1009
  }
983
1010
 
984
1011
  /**
985
- * 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.
1012
+ * 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.
986
1013
  * @summary List product factors
987
1014
  * @param {ProductsApiGetProductFactorsRequest} requestParameters Request parameters.
988
1015
  * @param {*} [options] Override http request option.
@@ -994,7 +1021,7 @@ export class ProductsApi extends BaseAPI {
994
1021
  }
995
1022
 
996
1023
  /**
997
- * Returns a list of products you have previously created. The products are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
1024
+ * Returns a list of products you have previously created. The products are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
998
1025
  * @summary List products
999
1026
  * @param {ProductsApiListProductsRequest} requestParameters Request parameters.
1000
1027
  * @param {*} [options] Override http request option.
@@ -1002,6 +1029,6 @@ export class ProductsApi extends BaseAPI {
1002
1029
  * @memberof ProductsApi
1003
1030
  */
1004
1031
  public listProducts(requestParameters: ProductsApiListProductsRequest = {}, options?: AxiosRequestConfig) {
1005
- return ProductsApiFp(this.configuration).listProducts(requestParameters.authorization, requestParameters.pageSize, requestParameters.pageToken, requestParameters.filter, requestParameters.search, requestParameters.order, requestParameters.expand, options).then((request) => request(this.axios, this.basePath));
1032
+ return ProductsApiFp(this.configuration).listProducts(requestParameters.authorization, requestParameters.pageSize, requestParameters.pageToken, requestParameters.filter, requestParameters.search, requestParameters.order, requestParameters.expand, requestParameters.filters, options).then((request) => request(this.axios, this.basePath));
1006
1033
  }
1007
1034
  }
package/api.ts CHANGED
@@ -21,18 +21,22 @@ import { DUMMY_BASE_URL, assertParamExists, setApiKeyToObject, setBasicAuthToObj
21
21
  // @ts-ignore
22
22
  import { BASE_PATH, COLLECTION_FORMATS, RequestArgs, BaseAPI, RequiredError } from './base';
23
23
  import { AddressCompletionsValidationsApi } from './api';
24
+ import { BookingFunnelsApi } from './api';
24
25
  import { DefaultApi } from './api';
25
26
  import { DocumentsApi } from './api';
26
27
  import { LeadsApi } from './api';
28
+ import { NamedRangesApi } from './api';
27
29
  import { NotificationsApi } from './api';
28
30
  import { PaymentsSetupApi } from './api';
29
31
  import { ProductsApi } from './api';
30
32
 
31
33
 
32
34
  export * from './api/address-completions-validations-api';
35
+ export * from './api/booking-funnels-api';
33
36
  export * from './api/default-api';
34
37
  export * from './api/documents-api';
35
38
  export * from './api/leads-api';
39
+ export * from './api/named-ranges-api';
36
40
  export * from './api/notifications-api';
37
41
  export * from './api/payments-setup-api';
38
42
  export * from './api/products-api';
package/base.ts CHANGED
@@ -87,6 +87,7 @@ export class BaseAPI {
87
87
  if (configuration) {
88
88
  this.configuration = configuration;
89
89
  this.basePath = configuration.basePath || this.basePath;
90
+ this.configuration.accessToken = this.tokenData.accessToken ? `Bearer ${this.tokenData.accessToken}` : '';
90
91
  } else {
91
92
  const { accessToken, username } = this.tokenData;
92
93