vayu-ts 0.2.6 → 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 (306) 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/models/PlanDuration.d.ts +30 -0
  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.js +230 -269
  197. package/dist/openapi-v2/apis/EntitlementsApi.js +98 -122
  198. package/dist/openapi-v2/apis/EventsApi.js +136 -165
  199. package/dist/openapi-v2/apis/InvoicesApi.js +214 -253
  200. package/dist/openapi-v2/apis/ProductsApi.js +182 -216
  201. package/dist/openapi-v2/auth/auth.d.ts +1 -0
  202. package/dist/openapi-v2/configuration.d.ts +8 -2
  203. package/dist/openapi-v2/http/http.d.ts +7 -20
  204. package/dist/openapi-v2/http/http.js +15 -25
  205. package/dist/openapi-v2/index.d.ts +3 -2
  206. package/dist/openapi-v2/index.js +3 -1
  207. package/dist/openapi-v2/models/APICreateCustomerPayload.d.ts +3 -0
  208. package/dist/openapi-v2/models/APICreateCustomerPayload.js +1 -0
  209. package/dist/openapi-v2/models/APICreateInvoicePayload.d.ts +3 -0
  210. package/dist/openapi-v2/models/APICreateInvoicePayload.js +1 -0
  211. package/dist/openapi-v2/models/APICreateProductPayload.d.ts +3 -0
  212. package/dist/openapi-v2/models/APICreateProductPayload.js +1 -0
  213. package/dist/openapi-v2/models/APICustomer.d.ts +3 -0
  214. package/dist/openapi-v2/models/APICustomer.js +1 -0
  215. package/dist/openapi-v2/models/APIEntitlement.d.ts +3 -0
  216. package/dist/openapi-v2/models/APIEntitlement.js +1 -0
  217. package/dist/openapi-v2/models/APIEvent.d.ts +3 -0
  218. package/dist/openapi-v2/models/APIEvent.js +1 -0
  219. package/dist/openapi-v2/models/APIIngestEventPayload.d.ts +3 -0
  220. package/dist/openapi-v2/models/APIIngestEventPayload.js +1 -0
  221. package/dist/openapi-v2/models/APIInvoice.d.ts +3 -0
  222. package/dist/openapi-v2/models/APIInvoice.js +1 -0
  223. package/dist/openapi-v2/models/APIInvoiceBillingPeriod.d.ts +3 -0
  224. package/dist/openapi-v2/models/APIInvoiceBillingPeriod.js +1 -0
  225. package/dist/openapi-v2/models/APIProduct.d.ts +3 -0
  226. package/dist/openapi-v2/models/APIProduct.js +1 -0
  227. package/dist/openapi-v2/models/APIQueryPayloadAPICustomer.d.ts +3 -0
  228. package/dist/openapi-v2/models/APIQueryPayloadAPICustomer.js +1 -0
  229. package/dist/openapi-v2/models/APIQueryPayloadAPIEntitlement.d.ts +3 -0
  230. package/dist/openapi-v2/models/APIQueryPayloadAPIEntitlement.js +1 -0
  231. package/dist/openapi-v2/models/APIQueryPayloadAPIEvent.d.ts +3 -0
  232. package/dist/openapi-v2/models/APIQueryPayloadAPIEvent.js +1 -0
  233. package/dist/openapi-v2/models/APIQueryPayloadAPIInvoice.d.ts +3 -0
  234. package/dist/openapi-v2/models/APIQueryPayloadAPIInvoice.js +1 -0
  235. package/dist/openapi-v2/models/APIQueryPayloadAPIProduct.d.ts +3 -0
  236. package/dist/openapi-v2/models/APIQueryPayloadAPIProduct.js +1 -0
  237. package/dist/openapi-v2/models/APIUpdateCustomerPayload.d.ts +3 -0
  238. package/dist/openapi-v2/models/APIUpdateCustomerPayload.js +1 -0
  239. package/dist/openapi-v2/models/APIUpdateInvoicePayload.d.ts +3 -0
  240. package/dist/openapi-v2/models/APIUpdateInvoicePayload.js +1 -0
  241. package/dist/openapi-v2/models/APIUpdateProductPayload.d.ts +3 -0
  242. package/dist/openapi-v2/models/APIUpdateProductPayload.js +1 -0
  243. package/dist/openapi-v2/models/Aggregation.d.ts +3 -0
  244. package/dist/openapi-v2/models/Aggregation.js +1 -0
  245. package/dist/openapi-v2/models/Condition.d.ts +3 -0
  246. package/dist/openapi-v2/models/Condition.js +1 -0
  247. package/dist/openapi-v2/models/Criterion.d.ts +3 -0
  248. package/dist/openapi-v2/models/Criterion.js +1 -0
  249. package/dist/openapi-v2/models/CriterionValue.d.ts +3 -0
  250. package/dist/openapi-v2/models/CriterionValue.js +1 -0
  251. package/dist/openapi-v2/models/EntitlementRevision.d.ts +3 -0
  252. package/dist/openapi-v2/models/EntitlementRevision.js +1 -0
  253. package/dist/openapi-v2/models/IngestEventToTheSystem201Response.d.ts +3 -0
  254. package/dist/openapi-v2/models/IngestEventToTheSystem201Response.js +1 -0
  255. package/dist/openapi-v2/models/InvoiceProductBreakdown.d.ts +3 -0
  256. package/dist/openapi-v2/models/InvoiceProductBreakdown.js +1 -0
  257. package/dist/openapi-v2/models/Login200Response.d.ts +3 -0
  258. package/dist/openapi-v2/models/Login200Response.js +1 -0
  259. package/dist/openapi-v2/models/LoginRequest.d.ts +3 -0
  260. package/dist/openapi-v2/models/LoginRequest.js +1 -0
  261. package/dist/openapi-v2/models/ObjectSerializer.js +51 -11
  262. package/dist/openapi-v2/models/Pricing.d.ts +3 -0
  263. package/dist/openapi-v2/models/Pricing.js +1 -0
  264. package/dist/openapi-v2/models/PricingTiersInner.d.ts +3 -0
  265. package/dist/openapi-v2/models/PricingTiersInner.js +1 -0
  266. package/dist/openapi-v2/models/ProductBreakdown.d.ts +3 -0
  267. package/dist/openapi-v2/models/ProductBreakdown.js +1 -0
  268. package/dist/openapi-v2/models/QueryResultAPICustomer.d.ts +3 -0
  269. package/dist/openapi-v2/models/QueryResultAPICustomer.js +1 -0
  270. package/dist/openapi-v2/models/QueryResultAPIEntitlement.d.ts +3 -0
  271. package/dist/openapi-v2/models/QueryResultAPIEntitlement.js +1 -0
  272. package/dist/openapi-v2/models/QueryResultAPIEvent.d.ts +3 -0
  273. package/dist/openapi-v2/models/QueryResultAPIEvent.js +1 -0
  274. package/dist/openapi-v2/models/QueryResultAPIInvoice.d.ts +3 -0
  275. package/dist/openapi-v2/models/QueryResultAPIInvoice.js +1 -0
  276. package/dist/openapi-v2/models/QueryResultAPIProduct.d.ts +3 -0
  277. package/dist/openapi-v2/models/QueryResultAPIProduct.js +1 -0
  278. package/dist/openapi-v2/models/ReviseEntitlementPayload.d.ts +3 -0
  279. package/dist/openapi-v2/models/ReviseEntitlementPayload.js +1 -0
  280. package/dist/openapi-v2/servers.js +2 -3
  281. package/dist/openapi-v2/types/ObservableAPI.d.ts +51 -51
  282. package/dist/openapi-v2/types/ObservableAPI.js +775 -75
  283. package/dist/openapi-v2/types/PromiseAPI.d.ts +51 -51
  284. package/dist/openapi-v2/types/PromiseAPI.js +551 -50
  285. package/dist/sdk/clients/ContractsClient.js +10 -27
  286. package/dist/sdk/clients/CustomersClient.js +14 -35
  287. package/dist/sdk/clients/EventsClient.js +13 -32
  288. package/dist/sdk/clients/InvoicesClient.js +6 -19
  289. package/dist/sdk/clients/MetersClient.js +10 -27
  290. package/dist/sdk/clients/PlansClient.js +8 -23
  291. package/dist/sdk/clients/ProductsConsumptionsClient.d.ts +5 -0
  292. package/dist/sdk/clients/ProductsConsumptionsClient.js +14 -0
  293. package/dist/sdk/clients/WebhooksClient.js +2 -13
  294. package/dist/sdk/clients/index.d.ts +1 -0
  295. package/dist/sdk/clients/index.js +1 -0
  296. package/dist/sdk/index.d.ts +2 -1
  297. package/dist/sdk/index.js +5 -13
  298. package/dist/sdk/services/configuration.service.js +21 -33
  299. package/dist/sdk-v2/clients/CustomersClient.js +12 -33
  300. package/dist/sdk-v2/clients/EntitlementsClient.js +6 -21
  301. package/dist/sdk-v2/clients/EventsClient.js +8 -25
  302. package/dist/sdk-v2/clients/InvoicesClient.js +12 -33
  303. package/dist/sdk-v2/clients/ProductsClient.js +10 -29
  304. package/dist/sdk-v2/index.js +2 -13
  305. package/dist/sdk-v2/services/configuration.service.js +22 -34
  306. package/package.json +1 -1
@@ -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 { CreateContractRequest } from '../models/CreateContractRequest';
5
5
  import { CreateContractResponse } from '../models/CreateContractResponse';
@@ -15,11 +15,13 @@ import { EventsDryRunRequest } from '../models/EventsDryRunRequest';
15
15
  import { EventsDryRunResponse } from '../models/EventsDryRunResponse';
16
16
  import { GetCommitmentReportResponse } from '../models/GetCommitmentReportResponse';
17
17
  import { GetContractResponse } from '../models/GetContractResponse';
18
+ import { GetCustomerProductsConsumptionsResponse } from '../models/GetCustomerProductsConsumptionsResponse';
18
19
  import { GetCustomerResponse } from '../models/GetCustomerResponse';
19
20
  import { GetEventResponse } from '../models/GetEventResponse';
20
21
  import { GetInvoiceResponse } from '../models/GetInvoiceResponse';
21
22
  import { GetMeterResponse } from '../models/GetMeterResponse';
22
23
  import { GetPlanResponse } from '../models/GetPlanResponse';
24
+ import { GetProductConsumptionResponse } from '../models/GetProductConsumptionResponse';
23
25
  import { GetProductsUsageReportResponse } from '../models/GetProductsUsageReportResponse';
24
26
  import { GrantCreditsRequest } from '../models/GrantCreditsRequest';
25
27
  import { ListContractsResponse } from '../models/ListContractsResponse';
@@ -52,13 +54,13 @@ export declare class ObservableAuthApi {
52
54
  * Login by obtaining a new access token
53
55
  * @param loginRequest
54
56
  */
55
- loginWithHttpInfo(loginRequest: LoginRequest, _options?: Configuration): Observable<HttpInfo<LoginResponse>>;
57
+ loginWithHttpInfo(loginRequest: LoginRequest, _options?: ConfigurationOptions): Observable<HttpInfo<LoginResponse>>;
56
58
  /**
57
59
  * This endpoint is designed to acquire a temporary access token. Submit the auth token in the request body to obtain a new access token. Use this new token for subsequent API calls. Token is set to expire every hour.
58
60
  * Login by obtaining a new access token
59
61
  * @param loginRequest
60
62
  */
61
- login(loginRequest: LoginRequest, _options?: Configuration): Observable<LoginResponse>;
63
+ login(loginRequest: LoginRequest, _options?: ConfigurationOptions): Observable<LoginResponse>;
62
64
  }
63
65
  import { ContractsApiRequestFactory, ContractsApiResponseProcessor } from "../apis/ContractsApi";
64
66
  export declare class ObservableContractsApi {
@@ -71,51 +73,51 @@ export declare class ObservableContractsApi {
71
73
  * Create Contract
72
74
  * @param createContractRequest
73
75
  */
74
- createContractWithHttpInfo(createContractRequest: CreateContractRequest, _options?: Configuration): Observable<HttpInfo<CreateContractResponse>>;
76
+ createContractWithHttpInfo(createContractRequest: CreateContractRequest, _options?: ConfigurationOptions): Observable<HttpInfo<CreateContractResponse>>;
75
77
  /**
76
78
  * Create a new Contract.
77
79
  * Create Contract
78
80
  * @param createContractRequest
79
81
  */
80
- createContract(createContractRequest: CreateContractRequest, _options?: Configuration): Observable<CreateContractResponse>;
82
+ createContract(createContractRequest: CreateContractRequest, _options?: ConfigurationOptions): Observable<CreateContractResponse>;
81
83
  /**
82
84
  * Delete a Contract by id.
83
85
  * Delete Contract
84
86
  * @param contractId
85
87
  */
86
- deleteContractWithHttpInfo(contractId: string, _options?: Configuration): Observable<HttpInfo<DeleteContractResponse>>;
88
+ deleteContractWithHttpInfo(contractId: string, _options?: ConfigurationOptions): Observable<HttpInfo<DeleteContractResponse>>;
87
89
  /**
88
90
  * Delete a Contract by id.
89
91
  * Delete Contract
90
92
  * @param contractId
91
93
  */
92
- deleteContract(contractId: string, _options?: Configuration): Observable<DeleteContractResponse>;
94
+ deleteContract(contractId: string, _options?: ConfigurationOptions): Observable<DeleteContractResponse>;
93
95
  /**
94
96
  * Get a Contract by id.
95
97
  * Get Contract
96
98
  * @param contractId
97
99
  */
98
- getContractWithHttpInfo(contractId: string, _options?: Configuration): Observable<HttpInfo<GetContractResponse>>;
100
+ getContractWithHttpInfo(contractId: string, _options?: ConfigurationOptions): Observable<HttpInfo<GetContractResponse>>;
99
101
  /**
100
102
  * Get a Contract by id.
101
103
  * Get Contract
102
104
  * @param contractId
103
105
  */
104
- getContract(contractId: string, _options?: Configuration): Observable<GetContractResponse>;
106
+ getContract(contractId: string, _options?: ConfigurationOptions): Observable<GetContractResponse>;
105
107
  /**
106
108
  * Get a list of Contracts.
107
109
  * List Contracts
108
- * @param limit
109
- * @param cursor
110
+ * @param [limit]
111
+ * @param [cursor]
110
112
  */
111
- listContractsWithHttpInfo(limit?: number, cursor?: string, _options?: Configuration): Observable<HttpInfo<ListContractsResponse>>;
113
+ listContractsWithHttpInfo(limit?: number, cursor?: string, _options?: ConfigurationOptions): Observable<HttpInfo<ListContractsResponse>>;
112
114
  /**
113
115
  * Get a list of Contracts.
114
116
  * List Contracts
115
- * @param limit
116
- * @param cursor
117
+ * @param [limit]
118
+ * @param [cursor]
117
119
  */
118
- listContracts(limit?: number, cursor?: string, _options?: Configuration): Observable<ListContractsResponse>;
120
+ listContracts(limit?: number, cursor?: string, _options?: ConfigurationOptions): Observable<ListContractsResponse>;
119
121
  }
120
122
  import { CreditsApiRequestFactory, CreditsApiResponseProcessor } from "../apis/CreditsApi";
121
123
  export declare class ObservableCreditsApi {
@@ -128,41 +130,41 @@ export declare class ObservableCreditsApi {
128
130
  * Deduct credits from customer credit ledger
129
131
  * @param deductCreditsRequest
130
132
  */
131
- deductCreditsWithHttpInfo(deductCreditsRequest: DeductCreditsRequest, _options?: Configuration): Observable<HttpInfo<void>>;
133
+ deductCreditsWithHttpInfo(deductCreditsRequest: DeductCreditsRequest, _options?: ConfigurationOptions): Observable<HttpInfo<void>>;
132
134
  /**
133
135
  * This endpoint is used to deduct credits from the specified customer account. Submit the credit amount and customer ID in the request body to deduct the credits. The deducted credits will be subtracted from the customer\'s account.
134
136
  * Deduct credits from customer credit ledger
135
137
  * @param deductCreditsRequest
136
138
  */
137
- deductCredits(deductCreditsRequest: DeductCreditsRequest, _options?: Configuration): Observable<void>;
139
+ deductCredits(deductCreditsRequest: DeductCreditsRequest, _options?: ConfigurationOptions): Observable<void>;
138
140
  /**
139
141
  * This endpoint is used to grant credits to a customer. Submit the credit amount and customer ID in the request body to grant the credits. The granted credits will be added to the customer\'s account.
140
142
  * Grant credits to a customer credit ledger
141
143
  * @param grantCreditsRequest
142
144
  */
143
- grantCreditsWithHttpInfo(grantCreditsRequest: GrantCreditsRequest, _options?: Configuration): Observable<HttpInfo<void>>;
145
+ grantCreditsWithHttpInfo(grantCreditsRequest: GrantCreditsRequest, _options?: ConfigurationOptions): Observable<HttpInfo<void>>;
144
146
  /**
145
147
  * This endpoint is used to grant credits to a customer. Submit the credit amount and customer ID in the request body to grant the credits. The granted credits will be added to the customer\'s account.
146
148
  * Grant credits to a customer credit ledger
147
149
  * @param grantCreditsRequest
148
150
  */
149
- grantCredits(grantCreditsRequest: GrantCreditsRequest, _options?: Configuration): Observable<void>;
151
+ grantCredits(grantCreditsRequest: GrantCreditsRequest, _options?: ConfigurationOptions): Observable<void>;
150
152
  /**
151
153
  * This endpoint is used to retrieve the credit ledger entries for a specific customer.
152
154
  * Retrieve credit ledger entries for customer.
153
155
  * @param customerId
154
- * @param limit
155
- * @param cursor
156
+ * @param [limit]
157
+ * @param [cursor]
156
158
  */
157
- listCreditLedgerEntriesWithHttpInfo(customerId: string, limit?: number, cursor?: string, _options?: Configuration): Observable<HttpInfo<ListCreditLedgerEntriesResponse>>;
159
+ listCreditLedgerEntriesWithHttpInfo(customerId: string, limit?: number, cursor?: string, _options?: ConfigurationOptions): Observable<HttpInfo<ListCreditLedgerEntriesResponse>>;
158
160
  /**
159
161
  * This endpoint is used to retrieve the credit ledger entries for a specific customer.
160
162
  * Retrieve credit ledger entries for customer.
161
163
  * @param customerId
162
- * @param limit
163
- * @param cursor
164
+ * @param [limit]
165
+ * @param [cursor]
164
166
  */
165
- listCreditLedgerEntries(customerId: string, limit?: number, cursor?: string, _options?: Configuration): Observable<ListCreditLedgerEntriesResponse>;
167
+ listCreditLedgerEntries(customerId: string, limit?: number, cursor?: string, _options?: ConfigurationOptions): Observable<ListCreditLedgerEntriesResponse>;
166
168
  }
167
169
  import { CustomersApiRequestFactory, CustomersApiResponseProcessor } from "../apis/CustomersApi";
168
170
  export declare class ObservableCustomersApi {
@@ -175,77 +177,89 @@ export declare class ObservableCustomersApi {
175
177
  * Create Customer
176
178
  * @param createCustomerRequest
177
179
  */
178
- createCustomerWithHttpInfo(createCustomerRequest: CreateCustomerRequest, _options?: Configuration): Observable<HttpInfo<CreateCustomerResponse>>;
180
+ createCustomerWithHttpInfo(createCustomerRequest: CreateCustomerRequest, _options?: ConfigurationOptions): Observable<HttpInfo<CreateCustomerResponse>>;
179
181
  /**
180
182
  * Create a new Customer.
181
183
  * Create Customer
182
184
  * @param createCustomerRequest
183
185
  */
184
- createCustomer(createCustomerRequest: CreateCustomerRequest, _options?: Configuration): Observable<CreateCustomerResponse>;
186
+ createCustomer(createCustomerRequest: CreateCustomerRequest, _options?: ConfigurationOptions): Observable<CreateCustomerResponse>;
185
187
  /**
186
188
  * Delete a Customer by id.
187
189
  * Delete Customer
188
190
  * @param customerId
189
191
  */
190
- deleteCustomerWithHttpInfo(customerId: string, _options?: Configuration): Observable<HttpInfo<DeleteCustomerResponse>>;
192
+ deleteCustomerWithHttpInfo(customerId: string, _options?: ConfigurationOptions): Observable<HttpInfo<DeleteCustomerResponse>>;
191
193
  /**
192
194
  * Delete a Customer by id.
193
195
  * Delete Customer
194
196
  * @param customerId
195
197
  */
196
- deleteCustomer(customerId: string, _options?: Configuration): Observable<DeleteCustomerResponse>;
198
+ deleteCustomer(customerId: string, _options?: ConfigurationOptions): Observable<DeleteCustomerResponse>;
197
199
  /**
198
200
  * Get a Customer by id.
199
201
  * Get Customer
200
202
  * @param customerId
201
203
  */
202
- getCustomerWithHttpInfo(customerId: string, _options?: Configuration): Observable<HttpInfo<GetCustomerResponse>>;
204
+ getCustomerWithHttpInfo(customerId: string, _options?: ConfigurationOptions): Observable<HttpInfo<GetCustomerResponse>>;
203
205
  /**
204
206
  * Get a Customer by id.
205
207
  * Get Customer
206
208
  * @param customerId
207
209
  */
208
- getCustomer(customerId: string, _options?: Configuration): Observable<GetCustomerResponse>;
210
+ getCustomer(customerId: string, _options?: ConfigurationOptions): Observable<GetCustomerResponse>;
209
211
  /**
210
212
  * Use this endpoint to get a specific customer using its external Id.
211
213
  * Get customer by externalId
212
214
  * @param externalId
213
215
  */
214
- getCustomerByExternalIdWithHttpInfo(externalId: string, _options?: Configuration): Observable<HttpInfo<GetCustomerResponse>>;
216
+ getCustomerByExternalIdWithHttpInfo(externalId: string, _options?: ConfigurationOptions): Observable<HttpInfo<GetCustomerResponse>>;
215
217
  /**
216
218
  * Use this endpoint to get a specific customer using its external Id.
217
219
  * Get customer by externalId
218
220
  * @param externalId
219
221
  */
220
- getCustomerByExternalId(externalId: string, _options?: Configuration): Observable<GetCustomerResponse>;
222
+ getCustomerByExternalId(externalId: string, _options?: ConfigurationOptions): Observable<GetCustomerResponse>;
223
+ /**
224
+ * Use this endpoint to get the products consumptions by the customer id.
225
+ * Get products consumptions by customer id
226
+ * @param customerId
227
+ */
228
+ getCustomerProductsConsumptionsWithHttpInfo(customerId: string, _options?: ConfigurationOptions): Observable<HttpInfo<GetCustomerProductsConsumptionsResponse>>;
229
+ /**
230
+ * Use this endpoint to get the products consumptions by the customer id.
231
+ * Get products consumptions by customer id
232
+ * @param customerId
233
+ */
234
+ getCustomerProductsConsumptions(customerId: string, _options?: ConfigurationOptions): Observable<GetCustomerProductsConsumptionsResponse>;
221
235
  /**
222
236
  * Get a list of Customers.
223
237
  * List Customers
224
- * @param limit
225
- * @param cursor
238
+ * @param [limit]
239
+ * @param [cursor]
226
240
  */
227
- listCustomersWithHttpInfo(limit?: number, cursor?: string, _options?: Configuration): Observable<HttpInfo<ListCustomersResponse>>;
241
+ listCustomersWithHttpInfo(limit?: number, cursor?: string, _options?: ConfigurationOptions): Observable<HttpInfo<ListCustomersResponse>>;
228
242
  /**
229
243
  * Get a list of Customers.
230
244
  * List Customers
231
- * @param limit
232
- * @param cursor
245
+ * @param [limit]
246
+ * @param [cursor]
233
247
  */
234
- listCustomers(limit?: number, cursor?: string, _options?: Configuration): Observable<ListCustomersResponse>;
248
+ listCustomers(limit?: number, cursor?: string, _options?: ConfigurationOptions): Observable<ListCustomersResponse>;
235
249
  /**
236
250
  * Update a Customer by id.
237
251
  * Update Customer
238
252
  * @param updateCustomerRequest
239
253
  * @param customerId
240
254
  */
241
- updateCustomerWithHttpInfo(updateCustomerRequest: UpdateCustomerRequest, customerId: string, _options?: Configuration): Observable<HttpInfo<UpdateCustomerResponse>>;
255
+ updateCustomerWithHttpInfo(updateCustomerRequest: UpdateCustomerRequest, customerId: string, _options?: ConfigurationOptions): Observable<HttpInfo<UpdateCustomerResponse>>;
242
256
  /**
243
257
  * Update a Customer by id.
244
258
  * Update Customer
245
259
  * @param updateCustomerRequest
246
260
  * @param customerId
247
261
  */
248
- updateCustomer(updateCustomerRequest: UpdateCustomerRequest, customerId: string, _options?: Configuration): Observable<UpdateCustomerResponse>;
262
+ updateCustomer(updateCustomerRequest: UpdateCustomerRequest, customerId: string, _options?: ConfigurationOptions): Observable<UpdateCustomerResponse>;
249
263
  }
250
264
  import { EventsApiRequestFactory, EventsApiResponseProcessor } from "../apis/EventsApi";
251
265
  export declare class ObservableEventsApi {
@@ -258,69 +272,69 @@ export declare class ObservableEventsApi {
258
272
  * Delete an event by refId
259
273
  * @param refId
260
274
  */
261
- deleteEventByRefIdWithHttpInfo(refId: string, _options?: Configuration): Observable<HttpInfo<DeleteEventResponse>>;
275
+ deleteEventByRefIdWithHttpInfo(refId: string, _options?: ConfigurationOptions): Observable<HttpInfo<DeleteEventResponse>>;
262
276
  /**
263
277
  * Use this endpoint to remove a specific event using its reference ID.
264
278
  * Delete an event by refId
265
279
  * @param refId
266
280
  */
267
- deleteEventByRefId(refId: string, _options?: Configuration): Observable<DeleteEventResponse>;
281
+ deleteEventByRefId(refId: string, _options?: ConfigurationOptions): Observable<DeleteEventResponse>;
268
282
  /**
269
283
  * Use this endpoint to get a specific event using its reference ID.
270
284
  * Get event by refId
271
285
  * @param refId
272
286
  */
273
- getEventByRefIdWithHttpInfo(refId: string, _options?: Configuration): Observable<HttpInfo<GetEventResponse>>;
287
+ getEventByRefIdWithHttpInfo(refId: string, _options?: ConfigurationOptions): Observable<HttpInfo<GetEventResponse>>;
274
288
  /**
275
289
  * Use this endpoint to get a specific event using its reference ID.
276
290
  * Get event by refId
277
291
  * @param refId
278
292
  */
279
- getEventByRefId(refId: string, _options?: Configuration): Observable<GetEventResponse>;
293
+ getEventByRefId(refId: string, _options?: ConfigurationOptions): Observable<GetEventResponse>;
280
294
  /**
281
295
  * Fetch events occurring within a specified timestamp range. An optional event name can be provided to further filter the events.
282
296
  * Query events by timestamp period and optional event name
283
297
  * @param startTime
284
298
  * @param endTime
285
- * @param eventName
286
- * @param limit
287
- * @param cursor
299
+ * @param [eventName]
300
+ * @param [limit]
301
+ * @param [cursor]
288
302
  */
289
- queryEventsWithHttpInfo(startTime: Date, endTime: Date, eventName?: string, limit?: number, cursor?: string, _options?: Configuration): Observable<HttpInfo<QueryEventsResponse>>;
303
+ queryEventsWithHttpInfo(startTime: Date, endTime: Date, eventName?: string, limit?: number, cursor?: string, _options?: ConfigurationOptions): Observable<HttpInfo<QueryEventsResponse>>;
290
304
  /**
291
305
  * Fetch events occurring within a specified timestamp range. An optional event name can be provided to further filter the events.
292
306
  * Query events by timestamp period and optional event name
293
307
  * @param startTime
294
308
  * @param endTime
295
- * @param eventName
296
- * @param limit
297
- * @param cursor
309
+ * @param [eventName]
310
+ * @param [limit]
311
+ * @param [cursor]
298
312
  */
299
- queryEvents(startTime: Date, endTime: Date, eventName?: string, limit?: number, cursor?: string, _options?: Configuration): Observable<QueryEventsResponse>;
313
+ queryEvents(startTime: Date, endTime: Date, eventName?: string, limit?: number, cursor?: string, _options?: ConfigurationOptions): Observable<QueryEventsResponse>;
300
314
  /**
301
315
  * Use this endpoint to send an array of events for processing and storage. Make sure to comply with the request schema for each event.
302
316
  * Submit a batch of events for ingestion
303
317
  * @param sendEventsRequest An array of events following the EventInput schema. This request body should be included in the PUT request to \&#39;/events\&#39; Up to 1000 events or a total payload max size of 256KB
304
318
  */
305
- sendEventsWithHttpInfo(sendEventsRequest: SendEventsRequest, _options?: Configuration): Observable<HttpInfo<SendEventsResponse>>;
319
+ sendEventsWithHttpInfo(sendEventsRequest: SendEventsRequest, _options?: ConfigurationOptions): Observable<HttpInfo<SendEventsResponse>>;
306
320
  /**
307
321
  * Use this endpoint to send an array of events for processing and storage. Make sure to comply with the request schema for each event.
308
322
  * Submit a batch of events for ingestion
309
323
  * @param sendEventsRequest An array of events following the EventInput schema. This request body should be included in the PUT request to \&#39;/events\&#39; Up to 1000 events or a total payload max size of 256KB
310
324
  */
311
- sendEvents(sendEventsRequest: SendEventsRequest, _options?: Configuration): Observable<SendEventsResponse>;
325
+ sendEvents(sendEventsRequest: SendEventsRequest, _options?: ConfigurationOptions): Observable<SendEventsResponse>;
312
326
  /**
313
327
  * Use this endpoint to send an array of events for processing. Make sure to comply with the request schema for each event. NOTE: this is a dry run and will not result in actual storage of the events.
314
328
  * Submit a batch of events for testing
315
329
  * @param eventsDryRunRequest An array of events following the EventInput schema. This request body should be included in the PUT request to \&#39;/events\&#39; Up to 1000 events or a total payload max size of 256KB
316
330
  */
317
- sendEventsDryRunWithHttpInfo(eventsDryRunRequest: EventsDryRunRequest, _options?: Configuration): Observable<HttpInfo<EventsDryRunResponse>>;
331
+ sendEventsDryRunWithHttpInfo(eventsDryRunRequest: EventsDryRunRequest, _options?: ConfigurationOptions): Observable<HttpInfo<EventsDryRunResponse>>;
318
332
  /**
319
333
  * Use this endpoint to send an array of events for processing. Make sure to comply with the request schema for each event. NOTE: this is a dry run and will not result in actual storage of the events.
320
334
  * Submit a batch of events for testing
321
335
  * @param eventsDryRunRequest An array of events following the EventInput schema. This request body should be included in the PUT request to \&#39;/events\&#39; Up to 1000 events or a total payload max size of 256KB
322
336
  */
323
- sendEventsDryRun(eventsDryRunRequest: EventsDryRunRequest, _options?: Configuration): Observable<EventsDryRunResponse>;
337
+ sendEventsDryRun(eventsDryRunRequest: EventsDryRunRequest, _options?: ConfigurationOptions): Observable<EventsDryRunResponse>;
324
338
  }
325
339
  import { IntegrationsApiRequestFactory, IntegrationsApiResponseProcessor } from "../apis/IntegrationsApi";
326
340
  export declare class ObservableIntegrationsApi {
@@ -333,25 +347,25 @@ export declare class ObservableIntegrationsApi {
333
347
  * Export sales order to NetSuite
334
348
  * @param netSuiteExportSalesOrderRequest
335
349
  */
336
- exportNetSuiteSalesOrderWithHttpInfo(netSuiteExportSalesOrderRequest: NetSuiteExportSalesOrderRequest, _options?: Configuration): Observable<HttpInfo<void>>;
350
+ exportNetSuiteSalesOrderWithHttpInfo(netSuiteExportSalesOrderRequest: NetSuiteExportSalesOrderRequest, _options?: ConfigurationOptions): Observable<HttpInfo<void>>;
337
351
  /**
338
352
  * This endpoint is used to export sales order to NetSuite.
339
353
  * Export sales order to NetSuite
340
354
  * @param netSuiteExportSalesOrderRequest
341
355
  */
342
- exportNetSuiteSalesOrder(netSuiteExportSalesOrderRequest: NetSuiteExportSalesOrderRequest, _options?: Configuration): Observable<void>;
356
+ exportNetSuiteSalesOrder(netSuiteExportSalesOrderRequest: NetSuiteExportSalesOrderRequest, _options?: ConfigurationOptions): Observable<void>;
343
357
  /**
344
358
  * This endpoint is used to sync invoices to NetSuite.
345
359
  * Sync invoices to NetSuite
346
360
  * @param netSuiteSyncInvoicesRequest
347
361
  */
348
- netSuiteSyncInvoicesWithHttpInfo(netSuiteSyncInvoicesRequest: NetSuiteSyncInvoicesRequest, _options?: Configuration): Observable<HttpInfo<NetSuiteSyncInvoicesResponse>>;
362
+ netSuiteSyncInvoicesWithHttpInfo(netSuiteSyncInvoicesRequest: NetSuiteSyncInvoicesRequest, _options?: ConfigurationOptions): Observable<HttpInfo<NetSuiteSyncInvoicesResponse>>;
349
363
  /**
350
364
  * This endpoint is used to sync invoices to NetSuite.
351
365
  * Sync invoices to NetSuite
352
366
  * @param netSuiteSyncInvoicesRequest
353
367
  */
354
- netSuiteSyncInvoices(netSuiteSyncInvoicesRequest: NetSuiteSyncInvoicesRequest, _options?: Configuration): Observable<NetSuiteSyncInvoicesResponse>;
368
+ netSuiteSyncInvoices(netSuiteSyncInvoicesRequest: NetSuiteSyncInvoicesRequest, _options?: ConfigurationOptions): Observable<NetSuiteSyncInvoicesResponse>;
355
369
  }
356
370
  import { InvoicesApiRequestFactory, InvoicesApiResponseProcessor } from "../apis/InvoicesApi";
357
371
  export declare class ObservableInvoicesApi {
@@ -364,27 +378,27 @@ export declare class ObservableInvoicesApi {
364
378
  * Get Invoice
365
379
  * @param invoiceId
366
380
  */
367
- getInvoiceWithHttpInfo(invoiceId: string, _options?: Configuration): Observable<HttpInfo<GetInvoiceResponse>>;
381
+ getInvoiceWithHttpInfo(invoiceId: string, _options?: ConfigurationOptions): Observable<HttpInfo<GetInvoiceResponse>>;
368
382
  /**
369
383
  * Get a Invoice by id.
370
384
  * Get Invoice
371
385
  * @param invoiceId
372
386
  */
373
- getInvoice(invoiceId: string, _options?: Configuration): Observable<GetInvoiceResponse>;
387
+ getInvoice(invoiceId: string, _options?: ConfigurationOptions): Observable<GetInvoiceResponse>;
374
388
  /**
375
389
  * Get a list of Invoices.
376
390
  * List Invoices
377
- * @param limit
378
- * @param cursor
391
+ * @param [limit]
392
+ * @param [cursor]
379
393
  */
380
- listInvoicesWithHttpInfo(limit?: number, cursor?: string, _options?: Configuration): Observable<HttpInfo<ListInvoicesResponse>>;
394
+ listInvoicesWithHttpInfo(limit?: number, cursor?: string, _options?: ConfigurationOptions): Observable<HttpInfo<ListInvoicesResponse>>;
381
395
  /**
382
396
  * Get a list of Invoices.
383
397
  * List Invoices
384
- * @param limit
385
- * @param cursor
398
+ * @param [limit]
399
+ * @param [cursor]
386
400
  */
387
- listInvoices(limit?: number, cursor?: string, _options?: Configuration): Observable<ListInvoicesResponse>;
401
+ listInvoices(limit?: number, cursor?: string, _options?: ConfigurationOptions): Observable<ListInvoicesResponse>;
388
402
  }
389
403
  import { MetersApiRequestFactory, MetersApiResponseProcessor } from "../apis/MetersApi";
390
404
  export declare class ObservableMetersApi {
@@ -397,53 +411,53 @@ export declare class ObservableMetersApi {
397
411
  * Delete Meter
398
412
  * @param meterId
399
413
  */
400
- deleteMeterWithHttpInfo(meterId: string, _options?: Configuration): Observable<HttpInfo<DeleteMeterResponse>>;
414
+ deleteMeterWithHttpInfo(meterId: string, _options?: ConfigurationOptions): Observable<HttpInfo<DeleteMeterResponse>>;
401
415
  /**
402
416
  * Delete a Meter by id.
403
417
  * Delete Meter
404
418
  * @param meterId
405
419
  */
406
- deleteMeter(meterId: string, _options?: Configuration): Observable<DeleteMeterResponse>;
420
+ deleteMeter(meterId: string, _options?: ConfigurationOptions): Observable<DeleteMeterResponse>;
407
421
  /**
408
422
  * Get a Meter by id.
409
423
  * Get Meter
410
424
  * @param meterId
411
425
  */
412
- getMeterWithHttpInfo(meterId: string, _options?: Configuration): Observable<HttpInfo<GetMeterResponse>>;
426
+ getMeterWithHttpInfo(meterId: string, _options?: ConfigurationOptions): Observable<HttpInfo<GetMeterResponse>>;
413
427
  /**
414
428
  * Get a Meter by id.
415
429
  * Get Meter
416
430
  * @param meterId
417
431
  */
418
- getMeter(meterId: string, _options?: Configuration): Observable<GetMeterResponse>;
432
+ getMeter(meterId: string, _options?: ConfigurationOptions): Observable<GetMeterResponse>;
419
433
  /**
420
434
  * Get a list of Meters.
421
435
  * List Meters
422
- * @param limit
423
- * @param cursor
436
+ * @param [limit]
437
+ * @param [cursor]
424
438
  */
425
- listMetersWithHttpInfo(limit?: number, cursor?: string, _options?: Configuration): Observable<HttpInfo<ListMetersResponse>>;
439
+ listMetersWithHttpInfo(limit?: number, cursor?: string, _options?: ConfigurationOptions): Observable<HttpInfo<ListMetersResponse>>;
426
440
  /**
427
441
  * Get a list of Meters.
428
442
  * List Meters
429
- * @param limit
430
- * @param cursor
443
+ * @param [limit]
444
+ * @param [cursor]
431
445
  */
432
- listMeters(limit?: number, cursor?: string, _options?: Configuration): Observable<ListMetersResponse>;
446
+ listMeters(limit?: number, cursor?: string, _options?: ConfigurationOptions): Observable<ListMetersResponse>;
433
447
  /**
434
448
  * Update a Meter by id.
435
449
  * Update Meter
436
450
  * @param updateMeterRequest
437
451
  * @param meterId
438
452
  */
439
- updateMeterWithHttpInfo(updateMeterRequest: UpdateMeterRequest, meterId: string, _options?: Configuration): Observable<HttpInfo<UpdateMeterResponse>>;
453
+ updateMeterWithHttpInfo(updateMeterRequest: UpdateMeterRequest, meterId: string, _options?: ConfigurationOptions): Observable<HttpInfo<UpdateMeterResponse>>;
440
454
  /**
441
455
  * Update a Meter by id.
442
456
  * Update Meter
443
457
  * @param updateMeterRequest
444
458
  * @param meterId
445
459
  */
446
- updateMeter(updateMeterRequest: UpdateMeterRequest, meterId: string, _options?: Configuration): Observable<UpdateMeterResponse>;
460
+ updateMeter(updateMeterRequest: UpdateMeterRequest, meterId: string, _options?: ConfigurationOptions): Observable<UpdateMeterResponse>;
447
461
  }
448
462
  import { PlansApiRequestFactory, PlansApiResponseProcessor } from "../apis/PlansApi";
449
463
  export declare class ObservablePlansApi {
@@ -456,39 +470,58 @@ export declare class ObservablePlansApi {
456
470
  * Delete Plan
457
471
  * @param planId
458
472
  */
459
- deletePlanWithHttpInfo(planId: string, _options?: Configuration): Observable<HttpInfo<DeletePlanResponse>>;
473
+ deletePlanWithHttpInfo(planId: string, _options?: ConfigurationOptions): Observable<HttpInfo<DeletePlanResponse>>;
460
474
  /**
461
475
  * Delete a Plan by id.
462
476
  * Delete Plan
463
477
  * @param planId
464
478
  */
465
- deletePlan(planId: string, _options?: Configuration): Observable<DeletePlanResponse>;
479
+ deletePlan(planId: string, _options?: ConfigurationOptions): Observable<DeletePlanResponse>;
466
480
  /**
467
481
  * Get a Plan by id.
468
482
  * Get Plan
469
483
  * @param planId
470
484
  */
471
- getPlanWithHttpInfo(planId: string, _options?: Configuration): Observable<HttpInfo<GetPlanResponse>>;
485
+ getPlanWithHttpInfo(planId: string, _options?: ConfigurationOptions): Observable<HttpInfo<GetPlanResponse>>;
472
486
  /**
473
487
  * Get a Plan by id.
474
488
  * Get Plan
475
489
  * @param planId
476
490
  */
477
- getPlan(planId: string, _options?: Configuration): Observable<GetPlanResponse>;
491
+ getPlan(planId: string, _options?: ConfigurationOptions): Observable<GetPlanResponse>;
478
492
  /**
479
493
  * Get a list of Plans.
480
494
  * List Plans
481
- * @param limit
482
- * @param cursor
495
+ * @param [limit]
496
+ * @param [cursor]
483
497
  */
484
- listPlansWithHttpInfo(limit?: number, cursor?: string, _options?: Configuration): Observable<HttpInfo<ListPlansResponse>>;
498
+ listPlansWithHttpInfo(limit?: number, cursor?: string, _options?: ConfigurationOptions): Observable<HttpInfo<ListPlansResponse>>;
485
499
  /**
486
500
  * Get a list of Plans.
487
501
  * List Plans
488
- * @param limit
489
- * @param cursor
502
+ * @param [limit]
503
+ * @param [cursor]
504
+ */
505
+ listPlans(limit?: number, cursor?: string, _options?: ConfigurationOptions): Observable<ListPlansResponse>;
506
+ }
507
+ import { ProductConsumptionsApiRequestFactory, ProductConsumptionsApiResponseProcessor } from "../apis/ProductConsumptionsApi";
508
+ export declare class ObservableProductConsumptionsApi {
509
+ private requestFactory;
510
+ private responseProcessor;
511
+ private configuration;
512
+ constructor(configuration: Configuration, requestFactory?: ProductConsumptionsApiRequestFactory, responseProcessor?: ProductConsumptionsApiResponseProcessor);
513
+ /**
514
+ * Use this action to get the consumption data for a product
515
+ * Get product consumption
516
+ * @param productId
517
+ */
518
+ getProductConsumptionWithHttpInfo(productId: string, _options?: ConfigurationOptions): Observable<HttpInfo<GetProductConsumptionResponse>>;
519
+ /**
520
+ * Use this action to get the consumption data for a product
521
+ * Get product consumption
522
+ * @param productId
490
523
  */
491
- listPlans(limit?: number, cursor?: string, _options?: Configuration): Observable<ListPlansResponse>;
524
+ getProductConsumption(productId: string, _options?: ConfigurationOptions): Observable<GetProductConsumptionResponse>;
492
525
  }
493
526
  import { ReportsApiRequestFactory, ReportsApiResponseProcessor } from "../apis/ReportsApi";
494
527
  export declare class ObservableReportsApi {
@@ -498,30 +531,30 @@ export declare class ObservableReportsApi {
498
531
  constructor(configuration: Configuration, requestFactory?: ReportsApiRequestFactory, responseProcessor?: ReportsApiResponseProcessor);
499
532
  /**
500
533
  * Get commitment report
501
- * @param reportId
534
+ * @param [reportId]
502
535
  */
503
- getCommitmentReportResponseWithHttpInfo(reportId?: string, _options?: Configuration): Observable<HttpInfo<GetCommitmentReportResponse>>;
536
+ getCommitmentReportResponseWithHttpInfo(reportId?: string, _options?: ConfigurationOptions): Observable<HttpInfo<GetCommitmentReportResponse>>;
504
537
  /**
505
538
  * Get commitment report
506
- * @param reportId
539
+ * @param [reportId]
507
540
  */
508
- getCommitmentReportResponse(reportId?: string, _options?: Configuration): Observable<GetCommitmentReportResponse>;
541
+ getCommitmentReportResponse(reportId?: string, _options?: ConfigurationOptions): Observable<GetCommitmentReportResponse>;
509
542
  /**
510
543
  * Use this endpoint to get the products usage report.
511
544
  * Get products usage report
512
- * @param reportId
513
- * @param limit
514
- * @param cursor
545
+ * @param [reportId]
546
+ * @param [limit]
547
+ * @param [cursor]
515
548
  */
516
- getProductsUsageReportWithHttpInfo(reportId?: string, limit?: number, cursor?: string, _options?: Configuration): Observable<HttpInfo<GetProductsUsageReportResponse>>;
549
+ getProductsUsageReportWithHttpInfo(reportId?: string, limit?: number, cursor?: string, _options?: ConfigurationOptions): Observable<HttpInfo<GetProductsUsageReportResponse>>;
517
550
  /**
518
551
  * Use this endpoint to get the products usage report.
519
552
  * Get products usage report
520
- * @param reportId
521
- * @param limit
522
- * @param cursor
553
+ * @param [reportId]
554
+ * @param [limit]
555
+ * @param [cursor]
523
556
  */
524
- getProductsUsageReport(reportId?: string, limit?: number, cursor?: string, _options?: Configuration): Observable<GetProductsUsageReportResponse>;
557
+ getProductsUsageReport(reportId?: string, limit?: number, cursor?: string, _options?: ConfigurationOptions): Observable<GetProductsUsageReportResponse>;
525
558
  }
526
559
  import { WebhooksApiRequestFactory, WebhooksApiResponseProcessor } from "../apis/WebhooksApi";
527
560
  export declare class ObservableWebhooksApi {
@@ -534,11 +567,11 @@ export declare class ObservableWebhooksApi {
534
567
  * Subscribe to webhooks
535
568
  * @param webhookSubscribeRequest Subscribe to webhooks and receive event notifications.
536
569
  */
537
- webhookSubscribeWithHttpInfo(webhookSubscribeRequest: WebhookSubscribeRequest, _options?: Configuration): Observable<HttpInfo<void>>;
570
+ webhookSubscribeWithHttpInfo(webhookSubscribeRequest: WebhookSubscribeRequest, _options?: ConfigurationOptions): Observable<HttpInfo<void>>;
538
571
  /**
539
572
  * Use this endpoint to subscribe to webhooks and receive event notifications.
540
573
  * Subscribe to webhooks
541
574
  * @param webhookSubscribeRequest Subscribe to webhooks and receive event notifications.
542
575
  */
543
- webhookSubscribe(webhookSubscribeRequest: WebhookSubscribeRequest, _options?: Configuration): Observable<void>;
576
+ webhookSubscribe(webhookSubscribeRequest: WebhookSubscribeRequest, _options?: ConfigurationOptions): Observable<void>;
544
577
  }