vayu-ts 0.2.5 → 0.2.7

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (321) hide show
  1. package/dist/openapi/apis/AuthApi.js +47 -61
  2. package/dist/openapi/apis/ContractsApi.js +203 -232
  3. package/dist/openapi/apis/CreditsApi.js +162 -186
  4. package/dist/openapi/apis/CustomersApi.d.ts +15 -0
  5. package/dist/openapi/apis/CustomersApi.js +378 -353
  6. package/dist/openapi/apis/EventsApi.js +282 -316
  7. package/dist/openapi/apis/IntegrationsApi.js +105 -124
  8. package/dist/openapi/apis/InvoicesApi.js +100 -119
  9. package/dist/openapi/apis/MetersApi.js +211 -240
  10. package/dist/openapi/apis/PlansApi.js +150 -174
  11. package/dist/openapi/apis/ProductConsumptionsApi.d.ts +25 -0
  12. package/dist/openapi/apis/ProductConsumptionsApi.js +82 -0
  13. package/dist/openapi/apis/ReportsApi.js +100 -119
  14. package/dist/openapi/apis/WebhooksApi.js +55 -69
  15. package/dist/openapi/auth/auth.d.ts +1 -0
  16. package/dist/openapi/auth/auth.js +2 -13
  17. package/dist/openapi/configuration.d.ts +8 -2
  18. package/dist/openapi/http/http.d.ts +7 -20
  19. package/dist/openapi/http/http.js +15 -25
  20. package/dist/openapi/index.d.ts +4 -3
  21. package/dist/openapi/index.js +4 -1
  22. package/dist/openapi/models/Address.d.ts +3 -0
  23. package/dist/openapi/models/Address.js +1 -0
  24. package/dist/openapi/models/AggregationMethod.d.ts +3 -0
  25. package/dist/openapi/models/AggregationMethod.js +1 -0
  26. package/dist/openapi/models/Condition.d.ts +3 -0
  27. package/dist/openapi/models/Condition.js +1 -0
  28. package/dist/openapi/models/Contact.d.ts +4 -1
  29. package/dist/openapi/models/Contact.js +3 -2
  30. package/dist/openapi/models/ContractStatus.d.ts +1 -0
  31. package/dist/openapi/models/ContractStatus.js +1 -0
  32. package/dist/openapi/models/CreateContractRequest.d.ts +3 -0
  33. package/dist/openapi/models/CreateContractRequest.js +1 -0
  34. package/dist/openapi/models/CreateContractResponse.d.ts +3 -0
  35. package/dist/openapi/models/CreateContractResponse.js +1 -0
  36. package/dist/openapi/models/CreateCustomerRequest.d.ts +3 -0
  37. package/dist/openapi/models/CreateCustomerRequest.js +1 -0
  38. package/dist/openapi/models/CreateCustomerResponse.d.ts +3 -0
  39. package/dist/openapi/models/CreateCustomerResponse.js +1 -0
  40. package/dist/openapi/models/CreateCustomerResponseCustomer.d.ts +3 -0
  41. package/dist/openapi/models/CreateCustomerResponseCustomer.js +1 -0
  42. package/dist/openapi/models/CreditLedgerEntry.d.ts +3 -0
  43. package/dist/openapi/models/CreditLedgerEntry.js +1 -0
  44. package/dist/openapi/models/Criterion.d.ts +3 -0
  45. package/dist/openapi/models/Criterion.js +1 -0
  46. package/dist/openapi/models/CriterionOperator.d.ts +3 -1
  47. package/dist/openapi/models/CriterionOperator.js +2 -0
  48. package/dist/openapi/models/DeductCreditsRequest.d.ts +3 -0
  49. package/dist/openapi/models/DeductCreditsRequest.js +1 -0
  50. package/dist/openapi/models/DeleteContractResponse.d.ts +3 -0
  51. package/dist/openapi/models/DeleteContractResponse.js +1 -0
  52. package/dist/openapi/models/DeleteContractResponseContract.d.ts +3 -0
  53. package/dist/openapi/models/DeleteContractResponseContract.js +1 -0
  54. package/dist/openapi/models/DeleteCustomerResponse.d.ts +3 -0
  55. package/dist/openapi/models/DeleteCustomerResponse.js +1 -0
  56. package/dist/openapi/models/DeleteCustomerResponseCustomer.d.ts +3 -0
  57. package/dist/openapi/models/DeleteCustomerResponseCustomer.js +1 -0
  58. package/dist/openapi/models/DeleteEventResponse.d.ts +3 -0
  59. package/dist/openapi/models/DeleteEventResponse.js +1 -0
  60. package/dist/openapi/models/DeleteEventResponseEvent.d.ts +3 -0
  61. package/dist/openapi/models/DeleteEventResponseEvent.js +1 -0
  62. package/dist/openapi/models/DeleteMeterResponse.d.ts +3 -0
  63. package/dist/openapi/models/DeleteMeterResponse.js +1 -0
  64. package/dist/openapi/models/DeleteMeterResponseMeter.d.ts +3 -0
  65. package/dist/openapi/models/DeleteMeterResponseMeter.js +1 -0
  66. package/dist/openapi/models/DeletePlanResponse.d.ts +3 -0
  67. package/dist/openapi/models/DeletePlanResponse.js +1 -0
  68. package/dist/openapi/models/DeletePlanResponsePlan.d.ts +3 -0
  69. package/dist/openapi/models/DeletePlanResponsePlan.js +1 -0
  70. package/dist/openapi/models/Event.d.ts +3 -0
  71. package/dist/openapi/models/Event.js +1 -0
  72. package/dist/openapi/models/EventsDryRunRequest.d.ts +3 -0
  73. package/dist/openapi/models/EventsDryRunRequest.js +1 -0
  74. package/dist/openapi/models/EventsDryRunResponse.d.ts +3 -0
  75. package/dist/openapi/models/EventsDryRunResponse.js +1 -0
  76. package/dist/openapi/models/EventsDryRunResponseObject.d.ts +3 -0
  77. package/dist/openapi/models/EventsDryRunResponseObject.js +1 -0
  78. package/dist/openapi/models/EventsDryRunResponseObjectEvent.d.ts +3 -0
  79. package/dist/openapi/models/EventsDryRunResponseObjectEvent.js +1 -0
  80. package/dist/openapi/models/EventsDryRunResponseObjectMeterWithValuesInner.d.ts +3 -0
  81. package/dist/openapi/models/EventsDryRunResponseObjectMeterWithValuesInner.js +1 -0
  82. package/dist/openapi/models/Filter.d.ts +3 -0
  83. package/dist/openapi/models/Filter.js +1 -0
  84. package/dist/openapi/models/FullDayPeriod.d.ts +3 -0
  85. package/dist/openapi/models/FullDayPeriod.js +1 -0
  86. package/dist/openapi/models/GetCommitmentReportResponse.d.ts +5 -0
  87. package/dist/openapi/models/GetCommitmentReportResponse.js +13 -0
  88. package/dist/openapi/models/GetContractResponse.d.ts +3 -0
  89. package/dist/openapi/models/GetContractResponse.js +1 -0
  90. package/dist/openapi/models/GetContractResponseContract.d.ts +3 -0
  91. package/dist/openapi/models/GetContractResponseContract.js +1 -0
  92. package/dist/openapi/models/GetCustomerProductsConsumptionsResponse.d.ts +32 -0
  93. package/dist/openapi/models/GetCustomerProductsConsumptionsResponse.js +32 -0
  94. package/dist/openapi/models/GetCustomerResponse.d.ts +3 -0
  95. package/dist/openapi/models/GetCustomerResponse.js +1 -0
  96. package/dist/openapi/models/GetEventResponse.d.ts +3 -0
  97. package/dist/openapi/models/GetEventResponse.js +1 -0
  98. package/dist/openapi/models/GetEventResponseEvent.d.ts +3 -0
  99. package/dist/openapi/models/GetEventResponseEvent.js +1 -0
  100. package/dist/openapi/models/GetInvoiceResponse.d.ts +3 -0
  101. package/dist/openapi/models/GetInvoiceResponse.js +1 -0
  102. package/dist/openapi/models/GetInvoiceResponseInvoice.d.ts +3 -0
  103. package/dist/openapi/models/GetInvoiceResponseInvoice.js +1 -0
  104. package/dist/openapi/models/GetMeterResponse.d.ts +3 -0
  105. package/dist/openapi/models/GetMeterResponse.js +1 -0
  106. package/dist/openapi/models/GetMeterResponseMeter.d.ts +3 -0
  107. package/dist/openapi/models/GetMeterResponseMeter.js +1 -0
  108. package/dist/openapi/models/GetPlanResponse.d.ts +3 -0
  109. package/dist/openapi/models/GetPlanResponse.js +1 -0
  110. package/dist/openapi/models/GetPlanResponsePlan.d.ts +3 -0
  111. package/dist/openapi/models/GetPlanResponsePlan.js +1 -0
  112. package/dist/openapi/models/GetProductConsumptionResponse.d.ts +32 -0
  113. package/dist/openapi/models/GetProductConsumptionResponse.js +32 -0
  114. package/dist/openapi/models/GetProductConsumptionResponseProductConsumption.d.ts +59 -0
  115. package/dist/openapi/models/GetProductConsumptionResponseProductConsumption.js +74 -0
  116. package/dist/openapi/models/GetProductsUsageReportResponse.d.ts +5 -0
  117. package/dist/openapi/models/GetProductsUsageReportResponse.js +13 -0
  118. package/dist/openapi/models/GrantCreditsRequest.d.ts +3 -0
  119. package/dist/openapi/models/GrantCreditsRequest.js +1 -0
  120. package/dist/openapi/models/InvalidEvent.d.ts +3 -0
  121. package/dist/openapi/models/InvalidEvent.js +1 -0
  122. package/dist/openapi/models/LineItem.d.ts +3 -0
  123. package/dist/openapi/models/LineItem.js +1 -0
  124. package/dist/openapi/models/LineItemRevenueBreakdown.d.ts +3 -0
  125. package/dist/openapi/models/LineItemRevenueBreakdown.js +1 -0
  126. package/dist/openapi/models/ListContractsResponse.d.ts +3 -0
  127. package/dist/openapi/models/ListContractsResponse.js +1 -0
  128. package/dist/openapi/models/ListCreditLedgerEntriesResponse.d.ts +3 -0
  129. package/dist/openapi/models/ListCreditLedgerEntriesResponse.js +1 -0
  130. package/dist/openapi/models/ListCustomersResponse.d.ts +3 -0
  131. package/dist/openapi/models/ListCustomersResponse.js +1 -0
  132. package/dist/openapi/models/ListInvoicesResponse.d.ts +3 -0
  133. package/dist/openapi/models/ListInvoicesResponse.js +1 -0
  134. package/dist/openapi/models/ListMetersResponse.d.ts +3 -0
  135. package/dist/openapi/models/ListMetersResponse.js +1 -0
  136. package/dist/openapi/models/ListPlansResponse.d.ts +3 -0
  137. package/dist/openapi/models/ListPlansResponse.js +1 -0
  138. package/dist/openapi/models/LoginRequest.d.ts +3 -0
  139. package/dist/openapi/models/LoginRequest.js +1 -0
  140. package/dist/openapi/models/LoginResponse.d.ts +3 -0
  141. package/dist/openapi/models/LoginResponse.js +1 -0
  142. package/dist/openapi/models/Meter.d.ts +3 -0
  143. package/dist/openapi/models/Meter.js +1 -0
  144. package/dist/openapi/models/NetSuiteExportSalesOrderRequest.d.ts +3 -0
  145. package/dist/openapi/models/NetSuiteExportSalesOrderRequest.js +1 -0
  146. package/dist/openapi/models/NetSuiteSyncInvoicesRequest.d.ts +3 -0
  147. package/dist/openapi/models/NetSuiteSyncInvoicesRequest.js +1 -0
  148. package/dist/openapi/models/NetSuiteSyncInvoicesRequestData.d.ts +3 -0
  149. package/dist/openapi/models/NetSuiteSyncInvoicesRequestData.js +1 -0
  150. package/dist/openapi/models/NetSuiteSyncInvoicesRequestDataEntity.d.ts +3 -0
  151. package/dist/openapi/models/NetSuiteSyncInvoicesRequestDataEntity.js +1 -0
  152. package/dist/openapi/models/NetSuiteSyncInvoicesRequestDataItem.d.ts +3 -0
  153. package/dist/openapi/models/NetSuiteSyncInvoicesRequestDataItem.js +1 -0
  154. package/dist/openapi/models/NetSuiteSyncInvoicesRequestDataItemItemsInner.d.ts +3 -0
  155. package/dist/openapi/models/NetSuiteSyncInvoicesRequestDataItemItemsInner.js +1 -0
  156. package/dist/openapi/models/NetSuiteSyncInvoicesResponse.d.ts +3 -0
  157. package/dist/openapi/models/NetSuiteSyncInvoicesResponse.js +1 -0
  158. package/dist/openapi/models/NotificationEventType.d.ts +2 -1
  159. package/dist/openapi/models/NotificationEventType.js +1 -0
  160. package/dist/openapi/models/ObjectSerializer.d.ts +6 -0
  161. package/dist/openapi/models/ObjectSerializer.js +68 -11
  162. package/dist/openapi/models/PlanBillingData.d.ts +5 -1
  163. package/dist/openapi/models/PlanBillingData.js +2 -1
  164. package/dist/{openapi-v2/models/UpdateEventPayload.d.ts → openapi/models/PlanDuration.d.ts} +7 -10
  165. package/dist/openapi/models/PlanDuration.js +25 -0
  166. package/dist/openapi/models/ProductConsumption.d.ts +59 -0
  167. package/dist/openapi/models/ProductConsumption.js +74 -0
  168. package/dist/openapi/models/QueryEventsResponse.d.ts +3 -0
  169. package/dist/openapi/models/QueryEventsResponse.js +1 -0
  170. package/dist/openapi/models/QueryEventsResponseEventsInner.d.ts +3 -0
  171. package/dist/openapi/models/QueryEventsResponseEventsInner.js +1 -0
  172. package/dist/openapi/models/SendEventsRequest.d.ts +3 -0
  173. package/dist/openapi/models/SendEventsRequest.js +1 -0
  174. package/dist/openapi/models/SendEventsResponse.d.ts +3 -0
  175. package/dist/openapi/models/SendEventsResponse.js +1 -0
  176. package/dist/openapi/models/UnlimitedDuration.d.ts +14 -0
  177. package/dist/openapi/models/UnlimitedDuration.js +18 -0
  178. package/dist/openapi/models/UpdateCustomerRequest.d.ts +3 -0
  179. package/dist/openapi/models/UpdateCustomerRequest.js +1 -0
  180. package/dist/openapi/models/UpdateCustomerResponse.d.ts +3 -0
  181. package/dist/openapi/models/UpdateCustomerResponse.js +1 -0
  182. package/dist/openapi/models/UpdateMeterRequest.d.ts +3 -0
  183. package/dist/openapi/models/UpdateMeterRequest.js +1 -0
  184. package/dist/openapi/models/UpdateMeterResponse.d.ts +3 -0
  185. package/dist/openapi/models/UpdateMeterResponse.js +1 -0
  186. package/dist/openapi/models/WebhookSubscribeRequest.d.ts +3 -0
  187. package/dist/openapi/models/WebhookSubscribeRequest.js +1 -0
  188. package/dist/openapi/models/all.d.ts +6 -0
  189. package/dist/openapi/models/all.js +6 -0
  190. package/dist/openapi/servers.js +2 -3
  191. package/dist/openapi/types/ObservableAPI.d.ts +138 -105
  192. package/dist/openapi/types/ObservableAPI.js +1185 -138
  193. package/dist/openapi/types/PromiseAPI.d.ts +136 -105
  194. package/dist/openapi/types/PromiseAPI.js +852 -108
  195. package/dist/openapi-v2/apis/AuthenticationApi.js +35 -49
  196. package/dist/openapi-v2/apis/CustomersApi.d.ts +15 -9
  197. package/dist/openapi-v2/apis/CustomersApi.js +245 -278
  198. package/dist/openapi-v2/apis/EntitlementsApi.d.ts +6 -3
  199. package/dist/openapi-v2/apis/EntitlementsApi.js +104 -125
  200. package/dist/openapi-v2/apis/EventsApi.d.ts +8 -4
  201. package/dist/openapi-v2/apis/EventsApi.js +144 -169
  202. package/dist/openapi-v2/apis/InvoicesApi.d.ts +13 -7
  203. package/dist/openapi-v2/apis/InvoicesApi.js +227 -260
  204. package/dist/openapi-v2/apis/ProductsApi.d.ts +11 -6
  205. package/dist/openapi-v2/apis/ProductsApi.js +193 -222
  206. package/dist/openapi-v2/auth/auth.d.ts +1 -0
  207. package/dist/openapi-v2/configuration.d.ts +8 -2
  208. package/dist/openapi-v2/http/http.d.ts +7 -20
  209. package/dist/openapi-v2/http/http.js +15 -25
  210. package/dist/openapi-v2/index.d.ts +3 -2
  211. package/dist/openapi-v2/index.js +3 -1
  212. package/dist/openapi-v2/models/APICreateCustomerPayload.d.ts +3 -0
  213. package/dist/openapi-v2/models/APICreateCustomerPayload.js +1 -0
  214. package/dist/openapi-v2/models/APICreateInvoicePayload.d.ts +3 -0
  215. package/dist/openapi-v2/models/APICreateInvoicePayload.js +1 -0
  216. package/dist/openapi-v2/models/APICreateProductPayload.d.ts +3 -0
  217. package/dist/openapi-v2/models/APICreateProductPayload.js +1 -0
  218. package/dist/openapi-v2/models/APICustomer.d.ts +3 -0
  219. package/dist/openapi-v2/models/APICustomer.js +1 -0
  220. package/dist/openapi-v2/models/APIEntitlement.d.ts +3 -0
  221. package/dist/openapi-v2/models/APIEntitlement.js +1 -0
  222. package/dist/openapi-v2/models/APIEvent.d.ts +3 -0
  223. package/dist/openapi-v2/models/APIEvent.js +1 -0
  224. package/dist/openapi-v2/models/APIIngestEventPayload.d.ts +3 -0
  225. package/dist/openapi-v2/models/APIIngestEventPayload.js +1 -0
  226. package/dist/openapi-v2/models/APIInvoice.d.ts +3 -0
  227. package/dist/openapi-v2/models/APIInvoice.js +1 -0
  228. package/dist/openapi-v2/models/APIInvoiceBillingPeriod.d.ts +3 -0
  229. package/dist/openapi-v2/models/APIInvoiceBillingPeriod.js +1 -0
  230. package/dist/openapi-v2/models/APIProduct.d.ts +3 -0
  231. package/dist/openapi-v2/models/APIProduct.js +1 -0
  232. package/dist/openapi-v2/models/APIQueryPayloadAPICustomer.d.ts +3 -0
  233. package/dist/openapi-v2/models/APIQueryPayloadAPICustomer.js +1 -0
  234. package/dist/openapi-v2/models/APIQueryPayloadAPIEntitlement.d.ts +3 -0
  235. package/dist/openapi-v2/models/APIQueryPayloadAPIEntitlement.js +1 -0
  236. package/dist/openapi-v2/models/APIQueryPayloadAPIEvent.d.ts +3 -0
  237. package/dist/openapi-v2/models/APIQueryPayloadAPIEvent.js +1 -0
  238. package/dist/openapi-v2/models/APIQueryPayloadAPIInvoice.d.ts +3 -0
  239. package/dist/openapi-v2/models/APIQueryPayloadAPIInvoice.js +1 -0
  240. package/dist/openapi-v2/models/APIQueryPayloadAPIProduct.d.ts +3 -0
  241. package/dist/openapi-v2/models/APIQueryPayloadAPIProduct.js +1 -0
  242. package/dist/openapi-v2/models/APIUpdateCustomerPayload.d.ts +3 -0
  243. package/dist/openapi-v2/models/APIUpdateCustomerPayload.js +1 -0
  244. package/dist/openapi-v2/models/APIUpdateInvoicePayload.d.ts +3 -0
  245. package/dist/openapi-v2/models/APIUpdateInvoicePayload.js +1 -0
  246. package/dist/openapi-v2/models/APIUpdateProductPayload.d.ts +3 -0
  247. package/dist/openapi-v2/models/APIUpdateProductPayload.js +1 -0
  248. package/dist/openapi-v2/models/Aggregation.d.ts +3 -0
  249. package/dist/openapi-v2/models/Aggregation.js +1 -0
  250. package/dist/openapi-v2/models/Condition.d.ts +3 -0
  251. package/dist/openapi-v2/models/Condition.js +1 -0
  252. package/dist/openapi-v2/models/Criterion.d.ts +3 -0
  253. package/dist/openapi-v2/models/Criterion.js +1 -0
  254. package/dist/openapi-v2/models/CriterionValue.d.ts +3 -0
  255. package/dist/openapi-v2/models/CriterionValue.js +1 -0
  256. package/dist/openapi-v2/models/EntitlementRevision.d.ts +3 -0
  257. package/dist/openapi-v2/models/EntitlementRevision.js +1 -0
  258. package/dist/openapi-v2/models/IngestEventToTheSystem201Response.d.ts +3 -0
  259. package/dist/openapi-v2/models/IngestEventToTheSystem201Response.js +1 -0
  260. package/dist/openapi-v2/models/InvoiceProductBreakdown.d.ts +3 -0
  261. package/dist/openapi-v2/models/InvoiceProductBreakdown.js +1 -0
  262. package/dist/openapi-v2/models/Login200Response.d.ts +3 -0
  263. package/dist/openapi-v2/models/Login200Response.js +1 -0
  264. package/dist/openapi-v2/models/LoginRequest.d.ts +3 -0
  265. package/dist/openapi-v2/models/LoginRequest.js +1 -0
  266. package/dist/openapi-v2/models/ObjectSerializer.d.ts +1 -2
  267. package/dist/openapi-v2/models/ObjectSerializer.js +53 -17
  268. package/dist/openapi-v2/models/Pricing.d.ts +5 -0
  269. package/dist/openapi-v2/models/Pricing.js +7 -0
  270. package/dist/openapi-v2/models/PricingCadence.d.ts +18 -0
  271. package/dist/openapi-v2/models/PricingCadence.js +22 -0
  272. package/dist/openapi-v2/models/PricingTiersInner.d.ts +3 -0
  273. package/dist/openapi-v2/models/PricingTiersInner.js +1 -0
  274. package/dist/openapi-v2/models/ProductBreakdown.d.ts +3 -0
  275. package/dist/openapi-v2/models/ProductBreakdown.js +1 -0
  276. package/dist/openapi-v2/models/QueryResultAPICustomer.d.ts +3 -0
  277. package/dist/openapi-v2/models/QueryResultAPICustomer.js +1 -0
  278. package/dist/openapi-v2/models/QueryResultAPIEntitlement.d.ts +3 -0
  279. package/dist/openapi-v2/models/QueryResultAPIEntitlement.js +1 -0
  280. package/dist/openapi-v2/models/QueryResultAPIEvent.d.ts +3 -0
  281. package/dist/openapi-v2/models/QueryResultAPIEvent.js +1 -0
  282. package/dist/openapi-v2/models/QueryResultAPIInvoice.d.ts +3 -0
  283. package/dist/openapi-v2/models/QueryResultAPIInvoice.js +1 -0
  284. package/dist/openapi-v2/models/QueryResultAPIProduct.d.ts +3 -0
  285. package/dist/openapi-v2/models/QueryResultAPIProduct.js +1 -0
  286. package/dist/openapi-v2/models/ReviseEntitlementPayload.d.ts +3 -0
  287. package/dist/openapi-v2/models/ReviseEntitlementPayload.js +1 -0
  288. package/dist/openapi-v2/models/all.d.ts +1 -2
  289. package/dist/openapi-v2/models/all.js +1 -2
  290. package/dist/openapi-v2/servers.js +2 -3
  291. package/dist/openapi-v2/types/ObservableAPI.d.ts +157 -109
  292. package/dist/openapi-v2/types/ObservableAPI.js +881 -133
  293. package/dist/openapi-v2/types/PromiseAPI.d.ts +157 -109
  294. package/dist/openapi-v2/types/PromiseAPI.js +657 -108
  295. package/dist/sdk/clients/ContractsClient.js +10 -27
  296. package/dist/sdk/clients/CustomersClient.js +14 -35
  297. package/dist/sdk/clients/EventsClient.js +13 -32
  298. package/dist/sdk/clients/InvoicesClient.js +6 -19
  299. package/dist/sdk/clients/MetersClient.js +10 -27
  300. package/dist/sdk/clients/PlansClient.js +8 -23
  301. package/dist/sdk/clients/ProductsConsumptionsClient.d.ts +5 -0
  302. package/dist/sdk/clients/ProductsConsumptionsClient.js +14 -0
  303. package/dist/sdk/clients/WebhooksClient.js +2 -13
  304. package/dist/sdk/clients/index.d.ts +1 -0
  305. package/dist/sdk/clients/index.js +1 -0
  306. package/dist/sdk/index.d.ts +2 -1
  307. package/dist/sdk/index.js +5 -13
  308. package/dist/sdk/services/configuration.service.js +21 -33
  309. package/dist/sdk-v2/clients/CustomersClient.js +12 -33
  310. package/dist/sdk-v2/clients/EntitlementsClient.js +6 -21
  311. package/dist/sdk-v2/clients/EventsClient.js +8 -25
  312. package/dist/sdk-v2/clients/InvoicesClient.js +12 -33
  313. package/dist/sdk-v2/clients/ProductsClient.js +10 -29
  314. package/dist/sdk-v2/index.js +2 -13
  315. package/dist/sdk-v2/services/configuration.service.js +22 -34
  316. package/dist/sdk-v2/types/index.d.ts +1 -1
  317. package/dist/sdk-v2/types/index.js +2 -1
  318. package/package.json +1 -1
  319. package/dist/openapi-v2/models/Event.d.ts +0 -54
  320. package/dist/openapi-v2/models/Event.js +0 -85
  321. package/dist/openapi-v2/models/UpdateEventPayload.js +0 -31
@@ -1,5 +1,5 @@
1
1
  import { HttpInfo } from '../http/http';
2
- import { Configuration } from '../configuration';
2
+ import { Configuration, ConfigurationOptions } from '../configuration';
3
3
  import { Observable } from '../rxjsStub';
4
4
  import { APICreateCustomerPayload } from '../models/APICreateCustomerPayload';
5
5
  import { APICreateInvoicePayload } from '../models/APICreateInvoicePayload';
@@ -36,11 +36,11 @@ export declare class ObservableAuthenticationApi {
36
36
  /**
37
37
  * @param loginRequest
38
38
  */
39
- loginWithHttpInfo(loginRequest: LoginRequest, _options?: Configuration): Observable<HttpInfo<Login200Response>>;
39
+ loginWithHttpInfo(loginRequest: LoginRequest, _options?: ConfigurationOptions): Observable<HttpInfo<Login200Response>>;
40
40
  /**
41
41
  * @param loginRequest
42
42
  */
43
- login(loginRequest: LoginRequest, _options?: Configuration): Observable<Login200Response>;
43
+ login(loginRequest: LoginRequest, _options?: ConfigurationOptions): Observable<Login200Response>;
44
44
  }
45
45
  import { CustomersApiRequestFactory, CustomersApiResponseProcessor } from "../apis/CustomersApi";
46
46
  export declare class ObservableCustomersApi {
@@ -49,59 +49,71 @@ export declare class ObservableCustomersApi {
49
49
  private configuration;
50
50
  constructor(configuration: Configuration, requestFactory?: CustomersApiRequestFactory, responseProcessor?: CustomersApiResponseProcessor);
51
51
  /**
52
- * @param aPICreateCustomerPayload
52
+ * Create a new customer.
53
+ * @param aPICreateCustomerPayload - The details of the customer to create.
53
54
  */
54
- createCustomerWithHttpInfo(aPICreateCustomerPayload: APICreateCustomerPayload, _options?: Configuration): Observable<HttpInfo<APICustomer>>;
55
+ createCustomerWithHttpInfo(aPICreateCustomerPayload: APICreateCustomerPayload, _options?: ConfigurationOptions): Observable<HttpInfo<APICustomer>>;
55
56
  /**
56
- * @param aPICreateCustomerPayload
57
+ * Create a new customer.
58
+ * @param aPICreateCustomerPayload - The details of the customer to create.
57
59
  */
58
- createCustomer(aPICreateCustomerPayload: APICreateCustomerPayload, _options?: Configuration): Observable<APICustomer>;
60
+ createCustomer(aPICreateCustomerPayload: APICreateCustomerPayload, _options?: ConfigurationOptions): Observable<APICustomer>;
59
61
  /**
60
- * @param id
62
+ * Delete a customer by ID.
63
+ * @param id - The ID of the customer to delete.
61
64
  */
62
- deleteCustomerWithHttpInfo(id: string, _options?: Configuration): Observable<HttpInfo<void>>;
65
+ deleteCustomerWithHttpInfo(id: string, _options?: ConfigurationOptions): Observable<HttpInfo<void>>;
63
66
  /**
64
- * @param id
67
+ * Delete a customer by ID.
68
+ * @param id - The ID of the customer to delete.
65
69
  */
66
- deleteCustomer(id: string, _options?: Configuration): Observable<void>;
70
+ deleteCustomer(id: string, _options?: ConfigurationOptions): Observable<void>;
67
71
  /**
68
- * @param id
72
+ * Get a single customer by ID.
73
+ * @param id - The ID of the customer to fetch.
69
74
  */
70
- getCustomerWithHttpInfo(id: string, _options?: Configuration): Observable<HttpInfo<APICustomer>>;
75
+ getCustomerWithHttpInfo(id: string, _options?: ConfigurationOptions): Observable<HttpInfo<APICustomer>>;
71
76
  /**
72
- * @param id
77
+ * Get a single customer by ID.
78
+ * @param id - The ID of the customer to fetch.
73
79
  */
74
- getCustomer(id: string, _options?: Configuration): Observable<APICustomer>;
80
+ getCustomer(id: string, _options?: ConfigurationOptions): Observable<APICustomer>;
75
81
  /**
76
- * @param aPIQueryPayloadAPICustomer
82
+ * Query customers based on filters and pagination.
83
+ * @param aPIQueryPayloadAPICustomer - The query filters and pagination options.
77
84
  */
78
- queryCustomersWithHttpInfo(aPIQueryPayloadAPICustomer: APIQueryPayloadAPICustomer, _options?: Configuration): Observable<HttpInfo<QueryResultAPICustomer>>;
85
+ queryCustomersWithHttpInfo(aPIQueryPayloadAPICustomer: APIQueryPayloadAPICustomer, _options?: ConfigurationOptions): Observable<HttpInfo<QueryResultAPICustomer>>;
79
86
  /**
80
- * @param aPIQueryPayloadAPICustomer
87
+ * Query customers based on filters and pagination.
88
+ * @param aPIQueryPayloadAPICustomer - The query filters and pagination options.
81
89
  */
82
- queryCustomers(aPIQueryPayloadAPICustomer: APIQueryPayloadAPICustomer, _options?: Configuration): Observable<QueryResultAPICustomer>;
90
+ queryCustomers(aPIQueryPayloadAPICustomer: APIQueryPayloadAPICustomer, _options?: ConfigurationOptions): Observable<QueryResultAPICustomer>;
83
91
  /**
84
- * @param body
85
- * @param id
86
- * @param productId
92
+ * Revise a customer\'s product.
93
+ * @param body - The details of the revision to apply.
94
+ * @param id - The ID of the customer to revise.
95
+ * @param productId - The ID of the product to revise.
87
96
  */
88
- updateACustomersProductWithHttpInfo(body: ReviseEntitlementPayload, id: string, productId: string, _options?: Configuration): Observable<HttpInfo<APIEntitlement>>;
97
+ updateACustomersProductWithHttpInfo(body: ReviseEntitlementPayload, id: string, productId: string, _options?: ConfigurationOptions): Observable<HttpInfo<APIEntitlement>>;
89
98
  /**
90
- * @param body
91
- * @param id
92
- * @param productId
99
+ * Revise a customer\'s product.
100
+ * @param body - The details of the revision to apply.
101
+ * @param id - The ID of the customer to revise.
102
+ * @param productId - The ID of the product to revise.
93
103
  */
94
- updateACustomersProduct(body: ReviseEntitlementPayload, id: string, productId: string, _options?: Configuration): Observable<APIEntitlement>;
104
+ updateACustomersProduct(body: ReviseEntitlementPayload, id: string, productId: string, _options?: ConfigurationOptions): Observable<APIEntitlement>;
95
105
  /**
96
- * @param aPIUpdateCustomerPayload
97
- * @param id
106
+ * Update an existing customer.
107
+ * @param aPIUpdateCustomerPayload - The updated details of the customer.
108
+ * @param id - The ID of the customer to update.
98
109
  */
99
- updateCustomerWithHttpInfo(aPIUpdateCustomerPayload: APIUpdateCustomerPayload, id: string, _options?: Configuration): Observable<HttpInfo<APICustomer>>;
110
+ updateCustomerWithHttpInfo(aPIUpdateCustomerPayload: APIUpdateCustomerPayload, id: string, _options?: ConfigurationOptions): Observable<HttpInfo<APICustomer>>;
100
111
  /**
101
- * @param aPIUpdateCustomerPayload
102
- * @param id
112
+ * Update an existing customer.
113
+ * @param aPIUpdateCustomerPayload - The updated details of the customer.
114
+ * @param id - The ID of the customer to update.
103
115
  */
104
- updateCustomer(aPIUpdateCustomerPayload: APIUpdateCustomerPayload, id: string, _options?: Configuration): Observable<APICustomer>;
116
+ updateCustomer(aPIUpdateCustomerPayload: APIUpdateCustomerPayload, id: string, _options?: ConfigurationOptions): Observable<APICustomer>;
105
117
  }
106
118
  import { EntitlementsApiRequestFactory, EntitlementsApiResponseProcessor } from "../apis/EntitlementsApi";
107
119
  export declare class ObservableEntitlementsApi {
@@ -110,29 +122,35 @@ export declare class ObservableEntitlementsApi {
110
122
  private configuration;
111
123
  constructor(configuration: Configuration, requestFactory?: EntitlementsApiRequestFactory, responseProcessor?: EntitlementsApiResponseProcessor);
112
124
  /**
113
- * @param id
125
+ * Delete an entitlement by ID.
126
+ * @param id - The ID of the entitlement to delete.
114
127
  */
115
- deleteEntitlementWithHttpInfo(id: string, _options?: Configuration): Observable<HttpInfo<void>>;
128
+ deleteEntitlementWithHttpInfo(id: string, _options?: ConfigurationOptions): Observable<HttpInfo<void>>;
116
129
  /**
117
- * @param id
130
+ * Delete an entitlement by ID.
131
+ * @param id - The ID of the entitlement to delete.
118
132
  */
119
- deleteEntitlement(id: string, _options?: Configuration): Observable<void>;
133
+ deleteEntitlement(id: string, _options?: ConfigurationOptions): Observable<void>;
120
134
  /**
121
- * @param id
135
+ * Get a single entitlement by ID.
136
+ * @param id - The ID of the entitlement to fetch.
122
137
  */
123
- getEntitlementWithHttpInfo(id: string, _options?: Configuration): Observable<HttpInfo<APIEntitlement>>;
138
+ getEntitlementWithHttpInfo(id: string, _options?: ConfigurationOptions): Observable<HttpInfo<APIEntitlement>>;
124
139
  /**
125
- * @param id
140
+ * Get a single entitlement by ID.
141
+ * @param id - The ID of the entitlement to fetch.
126
142
  */
127
- getEntitlement(id: string, _options?: Configuration): Observable<APIEntitlement>;
143
+ getEntitlement(id: string, _options?: ConfigurationOptions): Observable<APIEntitlement>;
128
144
  /**
129
- * @param aPIQueryPayloadAPIEntitlement
145
+ * Query entitlements based on filters and pagination.
146
+ * @param aPIQueryPayloadAPIEntitlement - The query filters and pagination options.
130
147
  */
131
- queryEntitlementsWithHttpInfo(aPIQueryPayloadAPIEntitlement: APIQueryPayloadAPIEntitlement, _options?: Configuration): Observable<HttpInfo<QueryResultAPIEntitlement>>;
148
+ queryEntitlementsWithHttpInfo(aPIQueryPayloadAPIEntitlement: APIQueryPayloadAPIEntitlement, _options?: ConfigurationOptions): Observable<HttpInfo<QueryResultAPIEntitlement>>;
132
149
  /**
133
- * @param aPIQueryPayloadAPIEntitlement
150
+ * Query entitlements based on filters and pagination.
151
+ * @param aPIQueryPayloadAPIEntitlement - The query filters and pagination options.
134
152
  */
135
- queryEntitlements(aPIQueryPayloadAPIEntitlement: APIQueryPayloadAPIEntitlement, _options?: Configuration): Observable<QueryResultAPIEntitlement>;
153
+ queryEntitlements(aPIQueryPayloadAPIEntitlement: APIQueryPayloadAPIEntitlement, _options?: ConfigurationOptions): Observable<QueryResultAPIEntitlement>;
136
154
  }
137
155
  import { EventsApiRequestFactory, EventsApiResponseProcessor } from "../apis/EventsApi";
138
156
  export declare class ObservableEventsApi {
@@ -141,37 +159,45 @@ export declare class ObservableEventsApi {
141
159
  private configuration;
142
160
  constructor(configuration: Configuration, requestFactory?: EventsApiRequestFactory, responseProcessor?: EventsApiResponseProcessor);
143
161
  /**
144
- * @param id
162
+ * Delete an event by ID.
163
+ * @param id - The ID of the event to delete.
145
164
  */
146
- deleteEventWithHttpInfo(id: string, _options?: Configuration): Observable<HttpInfo<void>>;
165
+ deleteEventWithHttpInfo(id: string, _options?: ConfigurationOptions): Observable<HttpInfo<void>>;
147
166
  /**
148
- * @param id
167
+ * Delete an event by ID.
168
+ * @param id - The ID of the event to delete.
149
169
  */
150
- deleteEvent(id: string, _options?: Configuration): Observable<void>;
170
+ deleteEvent(id: string, _options?: ConfigurationOptions): Observable<void>;
151
171
  /**
152
- * @param id
172
+ * Get a single event by ID.
173
+ * @param id - The ID of the event to fetch.
153
174
  */
154
- getEventWithHttpInfo(id: string, _options?: Configuration): Observable<HttpInfo<APIEvent>>;
175
+ getEventWithHttpInfo(id: string, _options?: ConfigurationOptions): Observable<HttpInfo<APIEvent>>;
155
176
  /**
156
- * @param id
177
+ * Get a single event by ID.
178
+ * @param id - The ID of the event to fetch.
157
179
  */
158
- getEvent(id: string, _options?: Configuration): Observable<APIEvent>;
180
+ getEvent(id: string, _options?: ConfigurationOptions): Observable<APIEvent>;
159
181
  /**
160
- * @param aPIIngestEventPayload
182
+ * Ingest events to the system
183
+ * @param aPIIngestEventPayload - The events to ingest
161
184
  */
162
- ingestEventToTheSystemWithHttpInfo(aPIIngestEventPayload: Array<APIIngestEventPayload>, _options?: Configuration): Observable<HttpInfo<IngestEventToTheSystem201Response>>;
185
+ ingestEventToTheSystemWithHttpInfo(aPIIngestEventPayload: Array<APIIngestEventPayload>, _options?: ConfigurationOptions): Observable<HttpInfo<IngestEventToTheSystem201Response>>;
163
186
  /**
164
- * @param aPIIngestEventPayload
187
+ * Ingest events to the system
188
+ * @param aPIIngestEventPayload - The events to ingest
165
189
  */
166
- ingestEventToTheSystem(aPIIngestEventPayload: Array<APIIngestEventPayload>, _options?: Configuration): Observable<IngestEventToTheSystem201Response>;
190
+ ingestEventToTheSystem(aPIIngestEventPayload: Array<APIIngestEventPayload>, _options?: ConfigurationOptions): Observable<IngestEventToTheSystem201Response>;
167
191
  /**
168
- * @param aPIQueryPayloadAPIEvent
192
+ * Query events based on filters and pagination.
193
+ * @param aPIQueryPayloadAPIEvent - The query filters and pagination options.
169
194
  */
170
- queryEventsWithHttpInfo(aPIQueryPayloadAPIEvent: APIQueryPayloadAPIEvent, _options?: Configuration): Observable<HttpInfo<QueryResultAPIEvent>>;
195
+ queryEventsWithHttpInfo(aPIQueryPayloadAPIEvent: APIQueryPayloadAPIEvent, _options?: ConfigurationOptions): Observable<HttpInfo<QueryResultAPIEvent>>;
171
196
  /**
172
- * @param aPIQueryPayloadAPIEvent
197
+ * Query events based on filters and pagination.
198
+ * @param aPIQueryPayloadAPIEvent - The query filters and pagination options.
173
199
  */
174
- queryEvents(aPIQueryPayloadAPIEvent: APIQueryPayloadAPIEvent, _options?: Configuration): Observable<QueryResultAPIEvent>;
200
+ queryEvents(aPIQueryPayloadAPIEvent: APIQueryPayloadAPIEvent, _options?: ConfigurationOptions): Observable<QueryResultAPIEvent>;
175
201
  }
176
202
  import { InvoicesApiRequestFactory, InvoicesApiResponseProcessor } from "../apis/InvoicesApi";
177
203
  export declare class ObservableInvoicesApi {
@@ -180,55 +206,67 @@ export declare class ObservableInvoicesApi {
180
206
  private configuration;
181
207
  constructor(configuration: Configuration, requestFactory?: InvoicesApiRequestFactory, responseProcessor?: InvoicesApiResponseProcessor);
182
208
  /**
183
- * @param id
209
+ * Calculate the total of an invoice.
210
+ * @param id - The ID of the invoice to calculate.
184
211
  */
185
- calculateInvoiceWithHttpInfo(id: string, _options?: Configuration): Observable<HttpInfo<APIInvoice>>;
212
+ calculateInvoiceWithHttpInfo(id: string, _options?: ConfigurationOptions): Observable<HttpInfo<APIInvoice>>;
186
213
  /**
187
- * @param id
214
+ * Calculate the total of an invoice.
215
+ * @param id - The ID of the invoice to calculate.
188
216
  */
189
- calculateInvoice(id: string, _options?: Configuration): Observable<APIInvoice>;
217
+ calculateInvoice(id: string, _options?: ConfigurationOptions): Observable<APIInvoice>;
190
218
  /**
191
- * @param aPICreateInvoicePayload
219
+ * Create a new invoice.
220
+ * @param aPICreateInvoicePayload - The details of the invoice to create.
192
221
  */
193
- createInvoiceWithHttpInfo(aPICreateInvoicePayload: APICreateInvoicePayload, _options?: Configuration): Observable<HttpInfo<APIInvoice>>;
222
+ createInvoiceWithHttpInfo(aPICreateInvoicePayload: APICreateInvoicePayload, _options?: ConfigurationOptions): Observable<HttpInfo<APIInvoice>>;
194
223
  /**
195
- * @param aPICreateInvoicePayload
224
+ * Create a new invoice.
225
+ * @param aPICreateInvoicePayload - The details of the invoice to create.
196
226
  */
197
- createInvoice(aPICreateInvoicePayload: APICreateInvoicePayload, _options?: Configuration): Observable<APIInvoice>;
227
+ createInvoice(aPICreateInvoicePayload: APICreateInvoicePayload, _options?: ConfigurationOptions): Observable<APIInvoice>;
198
228
  /**
199
- * @param id
229
+ * Delete an invoice by ID.
230
+ * @param id - The ID of the invoice to delete.
200
231
  */
201
- deleteInvoiceWithHttpInfo(id: string, _options?: Configuration): Observable<HttpInfo<void>>;
232
+ deleteInvoiceWithHttpInfo(id: string, _options?: ConfigurationOptions): Observable<HttpInfo<void>>;
202
233
  /**
203
- * @param id
234
+ * Delete an invoice by ID.
235
+ * @param id - The ID of the invoice to delete.
204
236
  */
205
- deleteInvoice(id: string, _options?: Configuration): Observable<void>;
237
+ deleteInvoice(id: string, _options?: ConfigurationOptions): Observable<void>;
206
238
  /**
207
- * @param id
239
+ * Get a single invoice by ID.
240
+ * @param id - The ID of the invoice to fetch.
208
241
  */
209
- getInvoiceWithHttpInfo(id: string, _options?: Configuration): Observable<HttpInfo<APIInvoice>>;
242
+ getInvoiceWithHttpInfo(id: string, _options?: ConfigurationOptions): Observable<HttpInfo<APIInvoice>>;
210
243
  /**
211
- * @param id
244
+ * Get a single invoice by ID.
245
+ * @param id - The ID of the invoice to fetch.
212
246
  */
213
- getInvoice(id: string, _options?: Configuration): Observable<APIInvoice>;
247
+ getInvoice(id: string, _options?: ConfigurationOptions): Observable<APIInvoice>;
214
248
  /**
215
- * @param aPIQueryPayloadAPIInvoice
249
+ * Query invoices based on filters and pagination.
250
+ * @param aPIQueryPayloadAPIInvoice - The query filters and pagination options.
216
251
  */
217
- queryInvoicesWithHttpInfo(aPIQueryPayloadAPIInvoice: APIQueryPayloadAPIInvoice, _options?: Configuration): Observable<HttpInfo<QueryResultAPIInvoice>>;
252
+ queryInvoicesWithHttpInfo(aPIQueryPayloadAPIInvoice: APIQueryPayloadAPIInvoice, _options?: ConfigurationOptions): Observable<HttpInfo<QueryResultAPIInvoice>>;
218
253
  /**
219
- * @param aPIQueryPayloadAPIInvoice
254
+ * Query invoices based on filters and pagination.
255
+ * @param aPIQueryPayloadAPIInvoice - The query filters and pagination options.
220
256
  */
221
- queryInvoices(aPIQueryPayloadAPIInvoice: APIQueryPayloadAPIInvoice, _options?: Configuration): Observable<QueryResultAPIInvoice>;
257
+ queryInvoices(aPIQueryPayloadAPIInvoice: APIQueryPayloadAPIInvoice, _options?: ConfigurationOptions): Observable<QueryResultAPIInvoice>;
222
258
  /**
223
- * @param aPIUpdateInvoicePayload
224
- * @param id
259
+ * Update an existing invoice.
260
+ * @param aPIUpdateInvoicePayload - The updated details of the invoice.
261
+ * @param id - The ID of the invoice to update.
225
262
  */
226
- updateInvoiceWithHttpInfo(aPIUpdateInvoicePayload: APIUpdateInvoicePayload, id: string, _options?: Configuration): Observable<HttpInfo<APIInvoice>>;
263
+ updateInvoiceWithHttpInfo(aPIUpdateInvoicePayload: APIUpdateInvoicePayload, id: string, _options?: ConfigurationOptions): Observable<HttpInfo<APIInvoice>>;
227
264
  /**
228
- * @param aPIUpdateInvoicePayload
229
- * @param id
265
+ * Update an existing invoice.
266
+ * @param aPIUpdateInvoicePayload - The updated details of the invoice.
267
+ * @param id - The ID of the invoice to update.
230
268
  */
231
- updateInvoice(aPIUpdateInvoicePayload: APIUpdateInvoicePayload, id: string, _options?: Configuration): Observable<APIInvoice>;
269
+ updateInvoice(aPIUpdateInvoicePayload: APIUpdateInvoicePayload, id: string, _options?: ConfigurationOptions): Observable<APIInvoice>;
232
270
  }
233
271
  import { ProductsApiRequestFactory, ProductsApiResponseProcessor } from "../apis/ProductsApi";
234
272
  export declare class ObservableProductsApi {
@@ -237,45 +275,55 @@ export declare class ObservableProductsApi {
237
275
  private configuration;
238
276
  constructor(configuration: Configuration, requestFactory?: ProductsApiRequestFactory, responseProcessor?: ProductsApiResponseProcessor);
239
277
  /**
240
- * @param aPICreateProductPayload
278
+ * Create a new product.
279
+ * @param aPICreateProductPayload - The details of the product to create.
241
280
  */
242
- createProductWithHttpInfo(aPICreateProductPayload: APICreateProductPayload, _options?: Configuration): Observable<HttpInfo<APIProduct>>;
281
+ createProductWithHttpInfo(aPICreateProductPayload: APICreateProductPayload, _options?: ConfigurationOptions): Observable<HttpInfo<APIProduct>>;
243
282
  /**
244
- * @param aPICreateProductPayload
283
+ * Create a new product.
284
+ * @param aPICreateProductPayload - The details of the product to create.
245
285
  */
246
- createProduct(aPICreateProductPayload: APICreateProductPayload, _options?: Configuration): Observable<APIProduct>;
286
+ createProduct(aPICreateProductPayload: APICreateProductPayload, _options?: ConfigurationOptions): Observable<APIProduct>;
247
287
  /**
248
- * @param id
288
+ * Delete a product by ID.
289
+ * @param id - The ID of the product to delete.
249
290
  */
250
- deleteProductWithHttpInfo(id: string, _options?: Configuration): Observable<HttpInfo<void>>;
291
+ deleteProductWithHttpInfo(id: string, _options?: ConfigurationOptions): Observable<HttpInfo<void>>;
251
292
  /**
252
- * @param id
293
+ * Delete a product by ID.
294
+ * @param id - The ID of the product to delete.
253
295
  */
254
- deleteProduct(id: string, _options?: Configuration): Observable<void>;
296
+ deleteProduct(id: string, _options?: ConfigurationOptions): Observable<void>;
255
297
  /**
256
- * @param id
298
+ * Get a single product by ID.
299
+ * @param id - The ID of the product to fetch.
257
300
  */
258
- getProductWithHttpInfo(id: string, _options?: Configuration): Observable<HttpInfo<APIProduct>>;
301
+ getProductWithHttpInfo(id: string, _options?: ConfigurationOptions): Observable<HttpInfo<APIProduct>>;
259
302
  /**
260
- * @param id
303
+ * Get a single product by ID.
304
+ * @param id - The ID of the product to fetch.
261
305
  */
262
- getProduct(id: string, _options?: Configuration): Observable<APIProduct>;
306
+ getProduct(id: string, _options?: ConfigurationOptions): Observable<APIProduct>;
263
307
  /**
264
- * @param aPIQueryPayloadAPIProduct
308
+ * Query products based on filters and pagination.
309
+ * @param aPIQueryPayloadAPIProduct - The query filters and pagination details.
265
310
  */
266
- queryProductsWithHttpInfo(aPIQueryPayloadAPIProduct: APIQueryPayloadAPIProduct, _options?: Configuration): Observable<HttpInfo<QueryResultAPIProduct>>;
311
+ queryProductsWithHttpInfo(aPIQueryPayloadAPIProduct: APIQueryPayloadAPIProduct, _options?: ConfigurationOptions): Observable<HttpInfo<QueryResultAPIProduct>>;
267
312
  /**
268
- * @param aPIQueryPayloadAPIProduct
313
+ * Query products based on filters and pagination.
314
+ * @param aPIQueryPayloadAPIProduct - The query filters and pagination details.
269
315
  */
270
- queryProducts(aPIQueryPayloadAPIProduct: APIQueryPayloadAPIProduct, _options?: Configuration): Observable<QueryResultAPIProduct>;
316
+ queryProducts(aPIQueryPayloadAPIProduct: APIQueryPayloadAPIProduct, _options?: ConfigurationOptions): Observable<QueryResultAPIProduct>;
271
317
  /**
272
- * @param aPIUpdateProductPayload
273
- * @param id
318
+ * Update an existing product.
319
+ * @param aPIUpdateProductPayload - The updated details of the product.
320
+ * @param id - The ID of the product to update.
274
321
  */
275
- updateProductWithHttpInfo(aPIUpdateProductPayload: APIUpdateProductPayload, id: string, _options?: Configuration): Observable<HttpInfo<APIProduct>>;
322
+ updateProductWithHttpInfo(aPIUpdateProductPayload: APIUpdateProductPayload, id: string, _options?: ConfigurationOptions): Observable<HttpInfo<APIProduct>>;
276
323
  /**
277
- * @param aPIUpdateProductPayload
278
- * @param id
324
+ * Update an existing product.
325
+ * @param aPIUpdateProductPayload - The updated details of the product.
326
+ * @param id - The ID of the product to update.
279
327
  */
280
- updateProduct(aPIUpdateProductPayload: APIUpdateProductPayload, id: string, _options?: Configuration): Observable<APIProduct>;
328
+ updateProduct(aPIUpdateProductPayload: APIUpdateProductPayload, id: string, _options?: ConfigurationOptions): Observable<APIProduct>;
281
329
  }