vayu-ts 0.1.2 → 0.1.4

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 (262) hide show
  1. package/README.md +24 -23
  2. package/dist/index.d.ts +1 -0
  3. package/dist/index.js +17 -0
  4. package/dist/openapi/apis/AuthApi.d.ts +26 -0
  5. package/dist/openapi/apis/AuthApi.js +93 -0
  6. package/dist/openapi/apis/ContractsApi.d.ts +72 -0
  7. package/dist/openapi/apis/ContractsApi.js +307 -0
  8. package/dist/openapi/apis/CreditsApi.d.ts +57 -0
  9. package/dist/openapi/apis/CreditsApi.js +248 -0
  10. package/dist/openapi/apis/CustomersApi.d.ts +103 -0
  11. package/dist/openapi/apis/CustomersApi.js +457 -0
  12. package/dist/openapi/apis/EventsApi.d.ts +91 -0
  13. package/dist/openapi/apis/EventsApi.js +408 -0
  14. package/dist/openapi/apis/IntegrationsApi.d.ts +41 -0
  15. package/dist/openapi/apis/IntegrationsApi.js +170 -0
  16. package/dist/openapi/apis/InvoicesApi.d.ts +41 -0
  17. package/dist/openapi/apis/InvoicesApi.js +166 -0
  18. package/dist/openapi/apis/MetersApi.d.ts +73 -0
  19. package/dist/openapi/apis/MetersApi.js +316 -0
  20. package/dist/openapi/apis/PlansApi.d.ts +56 -0
  21. package/dist/openapi/apis/PlansApi.js +235 -0
  22. package/dist/openapi/apis/ReportsApi.d.ts +41 -0
  23. package/dist/openapi/apis/ReportsApi.js +166 -0
  24. package/dist/openapi/apis/WebhooksApi.d.ts +25 -0
  25. package/dist/openapi/apis/WebhooksApi.js +101 -0
  26. package/dist/openapi/apis/baseapi.d.ts +33 -0
  27. package/dist/openapi/apis/baseapi.js +41 -0
  28. package/dist/openapi/apis/exception.d.ts +19 -0
  29. package/dist/openapi/apis/exception.js +22 -0
  30. package/dist/openapi/auth/auth.d.ts +54 -0
  31. package/dist/openapi/auth/auth.js +50 -0
  32. package/dist/openapi/configuration.d.ts +63 -0
  33. package/dist/openapi/configuration.js +34 -0
  34. package/dist/openapi/http/http.d.ts +142 -0
  35. package/dist/openapi/http/http.js +229 -0
  36. package/dist/openapi/http/isomorphic-fetch.d.ts +5 -0
  37. package/dist/openapi/http/isomorphic-fetch.js +33 -0
  38. package/dist/openapi/index.d.ts +10 -0
  39. package/dist/openapi/index.js +38 -0
  40. package/dist/openapi/middleware.d.ts +54 -0
  41. package/dist/openapi/middleware.js +16 -0
  42. package/dist/openapi/models/Address.d.ts +35 -0
  43. package/dist/openapi/models/Address.js +58 -0
  44. package/dist/openapi/models/AggregationMethod.d.ts +40 -0
  45. package/dist/openapi/models/AggregationMethod.js +46 -0
  46. package/dist/openapi/models/AggregationOperator.d.ts +24 -0
  47. package/dist/openapi/models/AggregationOperator.js +28 -0
  48. package/dist/openapi/models/BillingCycleStatus.d.ts +15 -0
  49. package/dist/openapi/models/BillingCycleStatus.js +19 -0
  50. package/dist/openapi/models/BillingInterval.d.ts +18 -0
  51. package/dist/openapi/models/BillingInterval.js +22 -0
  52. package/dist/openapi/models/Condition.d.ts +29 -0
  53. package/dist/openapi/models/Condition.js +31 -0
  54. package/dist/openapi/models/Contact.d.ts +30 -0
  55. package/dist/openapi/models/Contact.js +43 -0
  56. package/dist/openapi/models/ContractStatus.d.ts +18 -0
  57. package/dist/openapi/models/ContractStatus.js +22 -0
  58. package/dist/openapi/models/CreateContractRequest.d.ts +43 -0
  59. package/dist/openapi/models/CreateContractRequest.js +49 -0
  60. package/dist/openapi/models/CreateContractResponse.d.ts +29 -0
  61. package/dist/openapi/models/CreateContractResponse.js +31 -0
  62. package/dist/openapi/models/CreateCustomerRequest.d.ts +46 -0
  63. package/dist/openapi/models/CreateCustomerRequest.js +55 -0
  64. package/dist/openapi/models/CreateCustomerResponse.d.ts +29 -0
  65. package/dist/openapi/models/CreateCustomerResponse.js +31 -0
  66. package/dist/openapi/models/CreateCustomerResponseCustomer.d.ts +49 -0
  67. package/dist/openapi/models/CreateCustomerResponseCustomer.js +73 -0
  68. package/dist/openapi/models/CreditLedgerEntry.d.ts +32 -0
  69. package/dist/openapi/models/CreditLedgerEntry.js +49 -0
  70. package/dist/openapi/models/Criterion.d.ts +31 -0
  71. package/dist/openapi/models/Criterion.js +43 -0
  72. package/dist/openapi/models/CriterionOperator.d.ts +23 -0
  73. package/dist/openapi/models/CriterionOperator.js +27 -0
  74. package/dist/openapi/models/Currency.d.ts +17 -0
  75. package/dist/openapi/models/Currency.js +21 -0
  76. package/dist/openapi/models/DeductCreditsRequest.d.ts +35 -0
  77. package/dist/openapi/models/DeductCreditsRequest.js +37 -0
  78. package/dist/openapi/models/DeleteContractResponse.d.ts +29 -0
  79. package/dist/openapi/models/DeleteContractResponse.js +31 -0
  80. package/dist/openapi/models/DeleteContractResponseContract.d.ts +47 -0
  81. package/dist/openapi/models/DeleteContractResponseContract.js +73 -0
  82. package/dist/openapi/models/DeleteCustomerResponse.d.ts +29 -0
  83. package/dist/openapi/models/DeleteCustomerResponse.js +31 -0
  84. package/dist/openapi/models/DeleteCustomerResponseCustomer.d.ts +50 -0
  85. package/dist/openapi/models/DeleteCustomerResponseCustomer.js +79 -0
  86. package/dist/openapi/models/DeleteEventResponse.d.ts +29 -0
  87. package/dist/openapi/models/DeleteEventResponse.js +31 -0
  88. package/dist/openapi/models/DeleteEventResponseEvent.d.ts +56 -0
  89. package/dist/openapi/models/DeleteEventResponseEvent.js +82 -0
  90. package/dist/openapi/models/DeleteMeterResponse.d.ts +29 -0
  91. package/dist/openapi/models/DeleteMeterResponse.js +31 -0
  92. package/dist/openapi/models/DeleteMeterResponseMeter.d.ts +43 -0
  93. package/dist/openapi/models/DeleteMeterResponseMeter.js +73 -0
  94. package/dist/openapi/models/DeletePlanResponse.d.ts +29 -0
  95. package/dist/openapi/models/DeletePlanResponse.js +31 -0
  96. package/dist/openapi/models/DeletePlanResponsePlan.d.ts +39 -0
  97. package/dist/openapi/models/DeletePlanResponsePlan.js +67 -0
  98. package/dist/openapi/models/Event.d.ts +49 -0
  99. package/dist/openapi/models/Event.js +55 -0
  100. package/dist/openapi/models/EventsDryRunRequest.d.ts +29 -0
  101. package/dist/openapi/models/EventsDryRunRequest.js +31 -0
  102. package/dist/openapi/models/EventsDryRunResponse.d.ts +29 -0
  103. package/dist/openapi/models/EventsDryRunResponse.js +31 -0
  104. package/dist/openapi/models/EventsDryRunResponseObject.d.ts +32 -0
  105. package/dist/openapi/models/EventsDryRunResponseObject.js +43 -0
  106. package/dist/openapi/models/EventsDryRunResponseObjectEvent.d.ts +35 -0
  107. package/dist/openapi/models/EventsDryRunResponseObjectEvent.js +61 -0
  108. package/dist/openapi/models/EventsDryRunResponseObjectMeterWithValuesInner.d.ts +41 -0
  109. package/dist/openapi/models/EventsDryRunResponseObjectMeterWithValuesInner.js +61 -0
  110. package/dist/openapi/models/Filter.d.ts +32 -0
  111. package/dist/openapi/models/Filter.js +34 -0
  112. package/dist/openapi/models/FullDayPeriod.d.ts +32 -0
  113. package/dist/openapi/models/FullDayPeriod.js +40 -0
  114. package/dist/openapi/models/GetCommitmentReportResponse.d.ts +44 -0
  115. package/dist/openapi/models/GetCommitmentReportResponse.js +115 -0
  116. package/dist/openapi/models/GetContractResponse.d.ts +29 -0
  117. package/dist/openapi/models/GetContractResponse.js +31 -0
  118. package/dist/openapi/models/GetContractResponseContract.d.ts +46 -0
  119. package/dist/openapi/models/GetContractResponseContract.js +67 -0
  120. package/dist/openapi/models/GetCustomerResponse.d.ts +29 -0
  121. package/dist/openapi/models/GetCustomerResponse.js +31 -0
  122. package/dist/openapi/models/GetEventResponse.d.ts +29 -0
  123. package/dist/openapi/models/GetEventResponse.js +31 -0
  124. package/dist/openapi/models/GetEventResponseEvent.d.ts +55 -0
  125. package/dist/openapi/models/GetEventResponseEvent.js +76 -0
  126. package/dist/openapi/models/GetInvoiceResponse.d.ts +29 -0
  127. package/dist/openapi/models/GetInvoiceResponse.js +31 -0
  128. package/dist/openapi/models/GetInvoiceResponseInvoice.d.ts +50 -0
  129. package/dist/openapi/models/GetInvoiceResponseInvoice.js +79 -0
  130. package/dist/openapi/models/GetMeterResponse.d.ts +29 -0
  131. package/dist/openapi/models/GetMeterResponse.js +31 -0
  132. package/dist/openapi/models/GetMeterResponseMeter.d.ts +42 -0
  133. package/dist/openapi/models/GetMeterResponseMeter.js +67 -0
  134. package/dist/openapi/models/GetPlanResponse.d.ts +29 -0
  135. package/dist/openapi/models/GetPlanResponse.js +31 -0
  136. package/dist/openapi/models/GetPlanResponsePlan.d.ts +38 -0
  137. package/dist/openapi/models/GetPlanResponsePlan.js +61 -0
  138. package/dist/openapi/models/GetProductsUsageReportResponse.d.ts +44 -0
  139. package/dist/openapi/models/GetProductsUsageReportResponse.js +115 -0
  140. package/dist/openapi/models/GrantCreditsRequest.d.ts +35 -0
  141. package/dist/openapi/models/GrantCreditsRequest.js +37 -0
  142. package/dist/openapi/models/InvalidEvent.d.ts +33 -0
  143. package/dist/openapi/models/InvalidEvent.js +37 -0
  144. package/dist/openapi/models/LineItem.d.ts +33 -0
  145. package/dist/openapi/models/LineItem.js +37 -0
  146. package/dist/openapi/models/LineItemRevenueBreakdown.d.ts +36 -0
  147. package/dist/openapi/models/LineItemRevenueBreakdown.js +64 -0
  148. package/dist/openapi/models/ListContractsResponse.d.ts +32 -0
  149. package/dist/openapi/models/ListContractsResponse.js +49 -0
  150. package/dist/openapi/models/ListCreditLedgerEntriesResponse.d.ts +32 -0
  151. package/dist/openapi/models/ListCreditLedgerEntriesResponse.js +31 -0
  152. package/dist/openapi/models/ListCustomersResponse.d.ts +32 -0
  153. package/dist/openapi/models/ListCustomersResponse.js +49 -0
  154. package/dist/openapi/models/ListInvoicesResponse.d.ts +32 -0
  155. package/dist/openapi/models/ListInvoicesResponse.js +49 -0
  156. package/dist/openapi/models/ListMetersResponse.d.ts +32 -0
  157. package/dist/openapi/models/ListMetersResponse.js +49 -0
  158. package/dist/openapi/models/ListPlansResponse.d.ts +32 -0
  159. package/dist/openapi/models/ListPlansResponse.js +49 -0
  160. package/dist/openapi/models/LoginRequest.d.ts +31 -0
  161. package/dist/openapi/models/LoginRequest.js +31 -0
  162. package/dist/openapi/models/LoginResponse.d.ts +31 -0
  163. package/dist/openapi/models/LoginResponse.js +31 -0
  164. package/dist/openapi/models/Meter.d.ts +39 -0
  165. package/dist/openapi/models/Meter.js +49 -0
  166. package/dist/openapi/models/NetSuiteExportSalesOrderRequest.d.ts +30 -0
  167. package/dist/openapi/models/NetSuiteExportSalesOrderRequest.js +43 -0
  168. package/dist/openapi/models/NetSuiteSyncInvoicesRequest.d.ts +34 -0
  169. package/dist/openapi/models/NetSuiteSyncInvoicesRequest.js +47 -0
  170. package/dist/openapi/models/NetSuiteSyncInvoicesRequestData.d.ts +39 -0
  171. package/dist/openapi/models/NetSuiteSyncInvoicesRequestData.js +85 -0
  172. package/dist/openapi/models/NetSuiteSyncInvoicesRequestDataEntity.d.ts +28 -0
  173. package/dist/openapi/models/NetSuiteSyncInvoicesRequestDataEntity.js +31 -0
  174. package/dist/openapi/models/NetSuiteSyncInvoicesRequestDataItem.d.ts +29 -0
  175. package/dist/openapi/models/NetSuiteSyncInvoicesRequestDataItem.js +31 -0
  176. package/dist/openapi/models/NetSuiteSyncInvoicesRequestDataItemItemsInner.d.ts +33 -0
  177. package/dist/openapi/models/NetSuiteSyncInvoicesRequestDataItemItemsInner.js +55 -0
  178. package/dist/openapi/models/NetSuiteSyncInvoicesResponse.d.ts +29 -0
  179. package/dist/openapi/models/NetSuiteSyncInvoicesResponse.js +37 -0
  180. package/dist/openapi/models/NotificationEventType.d.ts +17 -0
  181. package/dist/openapi/models/NotificationEventType.js +21 -0
  182. package/dist/openapi/models/ObjectSerializer.d.ts +109 -0
  183. package/dist/openapi/models/ObjectSerializer.js +497 -0
  184. package/dist/openapi/models/PaymentTerm.d.ts +18 -0
  185. package/dist/openapi/models/PaymentTerm.js +22 -0
  186. package/dist/openapi/models/PlanBillingData.d.ts +37 -0
  187. package/dist/openapi/models/PlanBillingData.js +58 -0
  188. package/dist/openapi/models/PlanStatus.d.ts +19 -0
  189. package/dist/openapi/models/PlanStatus.js +23 -0
  190. package/dist/openapi/models/QueryEventsResponse.d.ts +32 -0
  191. package/dist/openapi/models/QueryEventsResponse.js +31 -0
  192. package/dist/openapi/models/QueryEventsResponseEventsInner.d.ts +52 -0
  193. package/dist/openapi/models/QueryEventsResponseEventsInner.js +73 -0
  194. package/dist/openapi/models/SendEventsRequest.d.ts +29 -0
  195. package/dist/openapi/models/SendEventsRequest.js +31 -0
  196. package/dist/openapi/models/SendEventsResponse.d.ts +37 -0
  197. package/dist/openapi/models/SendEventsResponse.js +37 -0
  198. package/dist/openapi/models/UpdateCustomerRequest.d.ts +46 -0
  199. package/dist/openapi/models/UpdateCustomerRequest.js +55 -0
  200. package/dist/openapi/models/UpdateCustomerResponse.d.ts +29 -0
  201. package/dist/openapi/models/UpdateCustomerResponse.js +31 -0
  202. package/dist/openapi/models/UpdateMeterRequest.d.ts +39 -0
  203. package/dist/openapi/models/UpdateMeterRequest.js +49 -0
  204. package/dist/openapi/models/UpdateMeterResponse.d.ts +29 -0
  205. package/dist/openapi/models/UpdateMeterResponse.js +31 -0
  206. package/dist/openapi/models/WebhookSubscribeRequest.d.ts +30 -0
  207. package/dist/openapi/models/WebhookSubscribeRequest.js +37 -0
  208. package/dist/openapi/models/all.d.ts +82 -0
  209. package/dist/openapi/models/all.js +98 -0
  210. package/dist/openapi/rxjsStub.d.ts +10 -0
  211. package/dist/openapi/rxjsStub.js +31 -0
  212. package/dist/openapi/servers.d.ts +39 -0
  213. package/dist/openapi/servers.js +52 -0
  214. package/dist/openapi/types/ObjectParamAPI.d.ts +845 -0
  215. package/dist/openapi/types/ObjectParamAPI.js +606 -0
  216. package/dist/openapi/types/ObservableAPI.d.ts +544 -0
  217. package/dist/openapi/types/ObservableAPI.js +1089 -0
  218. package/dist/openapi/types/PromiseAPI.d.ts +521 -0
  219. package/dist/openapi/types/PromiseAPI.js +702 -0
  220. package/dist/openapi/util.d.ts +15 -0
  221. package/dist/openapi/util.js +42 -0
  222. package/dist/sdk/clients/ContractsClient.d.ts +10 -0
  223. package/dist/sdk/clients/ContractsClient.js +42 -0
  224. package/dist/sdk/clients/CustomersClient.d.ts +12 -0
  225. package/dist/sdk/clients/CustomersClient.js +52 -0
  226. package/dist/sdk/clients/EventsClient.d.ts +11 -0
  227. package/dist/sdk/clients/EventsClient.js +49 -0
  228. package/dist/sdk/clients/InvoicesClient.d.ts +7 -0
  229. package/dist/sdk/clients/InvoicesClient.js +32 -0
  230. package/dist/sdk/clients/MetersClient.d.ts +10 -0
  231. package/dist/sdk/clients/MetersClient.js +42 -0
  232. package/dist/sdk/clients/PlansClient.d.ts +8 -0
  233. package/dist/sdk/clients/PlansClient.js +37 -0
  234. package/dist/sdk/clients/WebhooksClient.d.ts +6 -0
  235. package/dist/sdk/clients/WebhooksClient.js +25 -0
  236. package/dist/sdk/clients/index.d.ts +7 -0
  237. package/dist/sdk/clients/index.js +23 -0
  238. package/dist/sdk/index.d.ts +14 -0
  239. package/dist/sdk/index.js +62 -0
  240. package/dist/sdk/services/configuration.service.d.ts +21 -0
  241. package/dist/sdk/services/configuration.service.js +104 -0
  242. package/dist/sdk/services/index.d.ts +1 -0
  243. package/dist/sdk/services/index.js +17 -0
  244. package/dist/sdk/types/Contracts.d.ts +1 -0
  245. package/dist/sdk/types/Contracts.js +2 -0
  246. package/dist/sdk/types/Customers.d.ts +1 -0
  247. package/dist/sdk/types/Customers.js +2 -0
  248. package/dist/sdk/types/Events.d.ts +1 -0
  249. package/dist/sdk/types/Events.js +2 -0
  250. package/dist/sdk/types/Invoices.d.ts +1 -0
  251. package/dist/sdk/types/Invoices.js +2 -0
  252. package/dist/sdk/types/Meters.d.ts +1 -0
  253. package/dist/sdk/types/Meters.js +2 -0
  254. package/dist/sdk/types/Plans.d.ts +1 -0
  255. package/dist/sdk/types/Plans.js +2 -0
  256. package/dist/sdk/types/index.d.ts +7 -0
  257. package/dist/sdk/types/index.js +23 -0
  258. package/dist/sdk/types/pagination-options.d.ts +4 -0
  259. package/dist/sdk/types/pagination-options.js +2 -0
  260. package/dist/types.d.ts +1 -0
  261. package/dist/types.js +17 -0
  262. package/package.json +1 -1
@@ -0,0 +1,544 @@
1
+ import { HttpInfo } from '../http/http';
2
+ import { Configuration } from '../configuration';
3
+ import { Observable } from '../rxjsStub';
4
+ import { CreateContractRequest } from '../models/CreateContractRequest';
5
+ import { CreateContractResponse } from '../models/CreateContractResponse';
6
+ import { CreateCustomerRequest } from '../models/CreateCustomerRequest';
7
+ import { CreateCustomerResponse } from '../models/CreateCustomerResponse';
8
+ import { DeductCreditsRequest } from '../models/DeductCreditsRequest';
9
+ import { DeleteContractResponse } from '../models/DeleteContractResponse';
10
+ import { DeleteCustomerResponse } from '../models/DeleteCustomerResponse';
11
+ import { DeleteEventResponse } from '../models/DeleteEventResponse';
12
+ import { DeleteMeterResponse } from '../models/DeleteMeterResponse';
13
+ import { DeletePlanResponse } from '../models/DeletePlanResponse';
14
+ import { EventsDryRunRequest } from '../models/EventsDryRunRequest';
15
+ import { EventsDryRunResponse } from '../models/EventsDryRunResponse';
16
+ import { GetCommitmentReportResponse } from '../models/GetCommitmentReportResponse';
17
+ import { GetContractResponse } from '../models/GetContractResponse';
18
+ import { GetCustomerResponse } from '../models/GetCustomerResponse';
19
+ import { GetEventResponse } from '../models/GetEventResponse';
20
+ import { GetInvoiceResponse } from '../models/GetInvoiceResponse';
21
+ import { GetMeterResponse } from '../models/GetMeterResponse';
22
+ import { GetPlanResponse } from '../models/GetPlanResponse';
23
+ import { GetProductsUsageReportResponse } from '../models/GetProductsUsageReportResponse';
24
+ import { GrantCreditsRequest } from '../models/GrantCreditsRequest';
25
+ import { ListContractsResponse } from '../models/ListContractsResponse';
26
+ import { ListCreditLedgerEntriesResponse } from '../models/ListCreditLedgerEntriesResponse';
27
+ import { ListCustomersResponse } from '../models/ListCustomersResponse';
28
+ import { ListInvoicesResponse } from '../models/ListInvoicesResponse';
29
+ import { ListMetersResponse } from '../models/ListMetersResponse';
30
+ import { ListPlansResponse } from '../models/ListPlansResponse';
31
+ import { LoginRequest } from '../models/LoginRequest';
32
+ import { LoginResponse } from '../models/LoginResponse';
33
+ import { NetSuiteExportSalesOrderRequest } from '../models/NetSuiteExportSalesOrderRequest';
34
+ import { NetSuiteSyncInvoicesRequest } from '../models/NetSuiteSyncInvoicesRequest';
35
+ import { NetSuiteSyncInvoicesResponse } from '../models/NetSuiteSyncInvoicesResponse';
36
+ import { QueryEventsResponse } from '../models/QueryEventsResponse';
37
+ import { SendEventsRequest } from '../models/SendEventsRequest';
38
+ import { SendEventsResponse } from '../models/SendEventsResponse';
39
+ import { UpdateCustomerRequest } from '../models/UpdateCustomerRequest';
40
+ import { UpdateCustomerResponse } from '../models/UpdateCustomerResponse';
41
+ import { UpdateMeterRequest } from '../models/UpdateMeterRequest';
42
+ import { UpdateMeterResponse } from '../models/UpdateMeterResponse';
43
+ import { WebhookSubscribeRequest } from '../models/WebhookSubscribeRequest';
44
+ import { AuthApiRequestFactory, AuthApiResponseProcessor } from "../apis/AuthApi";
45
+ export declare class ObservableAuthApi {
46
+ private requestFactory;
47
+ private responseProcessor;
48
+ private configuration;
49
+ constructor(configuration: Configuration, requestFactory?: AuthApiRequestFactory, responseProcessor?: AuthApiResponseProcessor);
50
+ /**
51
+ * 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.
52
+ * Login by obtaining a new access token
53
+ * @param loginRequest
54
+ */
55
+ loginWithHttpInfo(loginRequest: LoginRequest, _options?: Configuration): Observable<HttpInfo<LoginResponse>>;
56
+ /**
57
+ * 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
+ * Login by obtaining a new access token
59
+ * @param loginRequest
60
+ */
61
+ login(loginRequest: LoginRequest, _options?: Configuration): Observable<LoginResponse>;
62
+ }
63
+ import { ContractsApiRequestFactory, ContractsApiResponseProcessor } from "../apis/ContractsApi";
64
+ export declare class ObservableContractsApi {
65
+ private requestFactory;
66
+ private responseProcessor;
67
+ private configuration;
68
+ constructor(configuration: Configuration, requestFactory?: ContractsApiRequestFactory, responseProcessor?: ContractsApiResponseProcessor);
69
+ /**
70
+ * Create a new Contract.
71
+ * Create Contract
72
+ * @param createContractRequest
73
+ */
74
+ createContractWithHttpInfo(createContractRequest: CreateContractRequest, _options?: Configuration): Observable<HttpInfo<CreateContractResponse>>;
75
+ /**
76
+ * Create a new Contract.
77
+ * Create Contract
78
+ * @param createContractRequest
79
+ */
80
+ createContract(createContractRequest: CreateContractRequest, _options?: Configuration): Observable<CreateContractResponse>;
81
+ /**
82
+ * Delete a Contract by id.
83
+ * Delete Contract
84
+ * @param contractId
85
+ */
86
+ deleteContractWithHttpInfo(contractId: string, _options?: Configuration): Observable<HttpInfo<DeleteContractResponse>>;
87
+ /**
88
+ * Delete a Contract by id.
89
+ * Delete Contract
90
+ * @param contractId
91
+ */
92
+ deleteContract(contractId: string, _options?: Configuration): Observable<DeleteContractResponse>;
93
+ /**
94
+ * Get a Contract by id.
95
+ * Get Contract
96
+ * @param contractId
97
+ */
98
+ getContractWithHttpInfo(contractId: string, _options?: Configuration): Observable<HttpInfo<GetContractResponse>>;
99
+ /**
100
+ * Get a Contract by id.
101
+ * Get Contract
102
+ * @param contractId
103
+ */
104
+ getContract(contractId: string, _options?: Configuration): Observable<GetContractResponse>;
105
+ /**
106
+ * Get a list of Contracts.
107
+ * List Contracts
108
+ * @param limit
109
+ * @param cursor
110
+ */
111
+ listContractsWithHttpInfo(limit?: number, cursor?: string, _options?: Configuration): Observable<HttpInfo<ListContractsResponse>>;
112
+ /**
113
+ * Get a list of Contracts.
114
+ * List Contracts
115
+ * @param limit
116
+ * @param cursor
117
+ */
118
+ listContracts(limit?: number, cursor?: string, _options?: Configuration): Observable<ListContractsResponse>;
119
+ }
120
+ import { CreditsApiRequestFactory, CreditsApiResponseProcessor } from "../apis/CreditsApi";
121
+ export declare class ObservableCreditsApi {
122
+ private requestFactory;
123
+ private responseProcessor;
124
+ private configuration;
125
+ constructor(configuration: Configuration, requestFactory?: CreditsApiRequestFactory, responseProcessor?: CreditsApiResponseProcessor);
126
+ /**
127
+ * 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.
128
+ * Deduct credits from customer credit ledger
129
+ * @param deductCreditsRequest
130
+ */
131
+ deductCreditsWithHttpInfo(deductCreditsRequest: DeductCreditsRequest, _options?: Configuration): Observable<HttpInfo<void>>;
132
+ /**
133
+ * 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
+ * Deduct credits from customer credit ledger
135
+ * @param deductCreditsRequest
136
+ */
137
+ deductCredits(deductCreditsRequest: DeductCreditsRequest, _options?: Configuration): Observable<void>;
138
+ /**
139
+ * 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
+ * Grant credits to a customer credit ledger
141
+ * @param grantCreditsRequest
142
+ */
143
+ grantCreditsWithHttpInfo(grantCreditsRequest: GrantCreditsRequest, _options?: Configuration): Observable<HttpInfo<void>>;
144
+ /**
145
+ * 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
+ * Grant credits to a customer credit ledger
147
+ * @param grantCreditsRequest
148
+ */
149
+ grantCredits(grantCreditsRequest: GrantCreditsRequest, _options?: Configuration): Observable<void>;
150
+ /**
151
+ * This endpoint is used to retrieve the credit ledger entries for a specific customer.
152
+ * Retrieve credit ledger entries for customer.
153
+ * @param customerId
154
+ * @param limit
155
+ * @param cursor
156
+ */
157
+ listCreditLedgerEntriesWithHttpInfo(customerId: string, limit?: number, cursor?: string, _options?: Configuration): Observable<HttpInfo<ListCreditLedgerEntriesResponse>>;
158
+ /**
159
+ * This endpoint is used to retrieve the credit ledger entries for a specific customer.
160
+ * Retrieve credit ledger entries for customer.
161
+ * @param customerId
162
+ * @param limit
163
+ * @param cursor
164
+ */
165
+ listCreditLedgerEntries(customerId: string, limit?: number, cursor?: string, _options?: Configuration): Observable<ListCreditLedgerEntriesResponse>;
166
+ }
167
+ import { CustomersApiRequestFactory, CustomersApiResponseProcessor } from "../apis/CustomersApi";
168
+ export declare class ObservableCustomersApi {
169
+ private requestFactory;
170
+ private responseProcessor;
171
+ private configuration;
172
+ constructor(configuration: Configuration, requestFactory?: CustomersApiRequestFactory, responseProcessor?: CustomersApiResponseProcessor);
173
+ /**
174
+ * Create a new Customer.
175
+ * Create Customer
176
+ * @param createCustomerRequest
177
+ */
178
+ createCustomerWithHttpInfo(createCustomerRequest: CreateCustomerRequest, _options?: Configuration): Observable<HttpInfo<CreateCustomerResponse>>;
179
+ /**
180
+ * Create a new Customer.
181
+ * Create Customer
182
+ * @param createCustomerRequest
183
+ */
184
+ createCustomer(createCustomerRequest: CreateCustomerRequest, _options?: Configuration): Observable<CreateCustomerResponse>;
185
+ /**
186
+ * Delete a Customer by id.
187
+ * Delete Customer
188
+ * @param customerId
189
+ */
190
+ deleteCustomerWithHttpInfo(customerId: string, _options?: Configuration): Observable<HttpInfo<DeleteCustomerResponse>>;
191
+ /**
192
+ * Delete a Customer by id.
193
+ * Delete Customer
194
+ * @param customerId
195
+ */
196
+ deleteCustomer(customerId: string, _options?: Configuration): Observable<DeleteCustomerResponse>;
197
+ /**
198
+ * Get a Customer by id.
199
+ * Get Customer
200
+ * @param customerId
201
+ */
202
+ getCustomerWithHttpInfo(customerId: string, _options?: Configuration): Observable<HttpInfo<GetCustomerResponse>>;
203
+ /**
204
+ * Get a Customer by id.
205
+ * Get Customer
206
+ * @param customerId
207
+ */
208
+ getCustomer(customerId: string, _options?: Configuration): Observable<GetCustomerResponse>;
209
+ /**
210
+ * Use this endpoint to get a specific customer using its external Id.
211
+ * Get customer by externalId
212
+ * @param externalId
213
+ */
214
+ getCustomerByExternalIdWithHttpInfo(externalId: string, _options?: Configuration): Observable<HttpInfo<GetCustomerResponse>>;
215
+ /**
216
+ * Use this endpoint to get a specific customer using its external Id.
217
+ * Get customer by externalId
218
+ * @param externalId
219
+ */
220
+ getCustomerByExternalId(externalId: string, _options?: Configuration): Observable<GetCustomerResponse>;
221
+ /**
222
+ * Get a list of Customers.
223
+ * List Customers
224
+ * @param limit
225
+ * @param cursor
226
+ */
227
+ listCustomersWithHttpInfo(limit?: number, cursor?: string, _options?: Configuration): Observable<HttpInfo<ListCustomersResponse>>;
228
+ /**
229
+ * Get a list of Customers.
230
+ * List Customers
231
+ * @param limit
232
+ * @param cursor
233
+ */
234
+ listCustomers(limit?: number, cursor?: string, _options?: Configuration): Observable<ListCustomersResponse>;
235
+ /**
236
+ * Update a Customer by id.
237
+ * Update Customer
238
+ * @param updateCustomerRequest
239
+ * @param customerId
240
+ */
241
+ updateCustomerWithHttpInfo(updateCustomerRequest: UpdateCustomerRequest, customerId: string, _options?: Configuration): Observable<HttpInfo<UpdateCustomerResponse>>;
242
+ /**
243
+ * Update a Customer by id.
244
+ * Update Customer
245
+ * @param updateCustomerRequest
246
+ * @param customerId
247
+ */
248
+ updateCustomer(updateCustomerRequest: UpdateCustomerRequest, customerId: string, _options?: Configuration): Observable<UpdateCustomerResponse>;
249
+ }
250
+ import { EventsApiRequestFactory, EventsApiResponseProcessor } from "../apis/EventsApi";
251
+ export declare class ObservableEventsApi {
252
+ private requestFactory;
253
+ private responseProcessor;
254
+ private configuration;
255
+ constructor(configuration: Configuration, requestFactory?: EventsApiRequestFactory, responseProcessor?: EventsApiResponseProcessor);
256
+ /**
257
+ * Use this endpoint to remove a specific event using its reference ID.
258
+ * Delete an event by refId
259
+ * @param refId
260
+ */
261
+ deleteEventByRefIdWithHttpInfo(refId: string, _options?: Configuration): Observable<HttpInfo<DeleteEventResponse>>;
262
+ /**
263
+ * Use this endpoint to remove a specific event using its reference ID.
264
+ * Delete an event by refId
265
+ * @param refId
266
+ */
267
+ deleteEventByRefId(refId: string, _options?: Configuration): Observable<DeleteEventResponse>;
268
+ /**
269
+ * Use this endpoint to get a specific event using its reference ID.
270
+ * Get event by refId
271
+ * @param refId
272
+ */
273
+ getEventByRefIdWithHttpInfo(refId: string, _options?: Configuration): Observable<HttpInfo<GetEventResponse>>;
274
+ /**
275
+ * Use this endpoint to get a specific event using its reference ID.
276
+ * Get event by refId
277
+ * @param refId
278
+ */
279
+ getEventByRefId(refId: string, _options?: Configuration): Observable<GetEventResponse>;
280
+ /**
281
+ * Fetch events occurring within a specified timestamp range. An optional event name can be provided to further filter the events.
282
+ * Query events by timestamp period and optional event name
283
+ * @param startTime
284
+ * @param endTime
285
+ * @param eventName
286
+ * @param limit
287
+ * @param cursor
288
+ */
289
+ queryEventsWithHttpInfo(startTime: Date, endTime: Date, eventName?: string, limit?: number, cursor?: string, _options?: Configuration): Observable<HttpInfo<QueryEventsResponse>>;
290
+ /**
291
+ * Fetch events occurring within a specified timestamp range. An optional event name can be provided to further filter the events.
292
+ * Query events by timestamp period and optional event name
293
+ * @param startTime
294
+ * @param endTime
295
+ * @param eventName
296
+ * @param limit
297
+ * @param cursor
298
+ */
299
+ queryEvents(startTime: Date, endTime: Date, eventName?: string, limit?: number, cursor?: string, _options?: Configuration): Observable<QueryEventsResponse>;
300
+ /**
301
+ * 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
+ * Submit a batch of events for ingestion
303
+ * @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
+ */
305
+ sendEventsWithHttpInfo(sendEventsRequest: SendEventsRequest, _options?: Configuration): Observable<HttpInfo<SendEventsResponse>>;
306
+ /**
307
+ * 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
+ * Submit a batch of events for ingestion
309
+ * @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
+ */
311
+ sendEvents(sendEventsRequest: SendEventsRequest, _options?: Configuration): Observable<SendEventsResponse>;
312
+ /**
313
+ * 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
+ * Submit a batch of events for testing
315
+ * @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
+ */
317
+ sendEventsDryRunWithHttpInfo(eventsDryRunRequest: EventsDryRunRequest, _options?: Configuration): Observable<HttpInfo<EventsDryRunResponse>>;
318
+ /**
319
+ * 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
+ * Submit a batch of events for testing
321
+ * @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
+ */
323
+ sendEventsDryRun(eventsDryRunRequest: EventsDryRunRequest, _options?: Configuration): Observable<EventsDryRunResponse>;
324
+ }
325
+ import { IntegrationsApiRequestFactory, IntegrationsApiResponseProcessor } from "../apis/IntegrationsApi";
326
+ export declare class ObservableIntegrationsApi {
327
+ private requestFactory;
328
+ private responseProcessor;
329
+ private configuration;
330
+ constructor(configuration: Configuration, requestFactory?: IntegrationsApiRequestFactory, responseProcessor?: IntegrationsApiResponseProcessor);
331
+ /**
332
+ * This endpoint is used to export sales order to NetSuite.
333
+ * Export sales order to NetSuite
334
+ * @param netSuiteExportSalesOrderRequest
335
+ */
336
+ exportNetSuiteSalesOrderWithHttpInfo(netSuiteExportSalesOrderRequest: NetSuiteExportSalesOrderRequest, _options?: Configuration): Observable<HttpInfo<void>>;
337
+ /**
338
+ * This endpoint is used to export sales order to NetSuite.
339
+ * Export sales order to NetSuite
340
+ * @param netSuiteExportSalesOrderRequest
341
+ */
342
+ exportNetSuiteSalesOrder(netSuiteExportSalesOrderRequest: NetSuiteExportSalesOrderRequest, _options?: Configuration): Observable<void>;
343
+ /**
344
+ * This endpoint is used to sync invoices to NetSuite.
345
+ * Sync invoices to NetSuite
346
+ * @param netSuiteSyncInvoicesRequest
347
+ */
348
+ netSuiteSyncInvoicesWithHttpInfo(netSuiteSyncInvoicesRequest: NetSuiteSyncInvoicesRequest, _options?: Configuration): Observable<HttpInfo<NetSuiteSyncInvoicesResponse>>;
349
+ /**
350
+ * This endpoint is used to sync invoices to NetSuite.
351
+ * Sync invoices to NetSuite
352
+ * @param netSuiteSyncInvoicesRequest
353
+ */
354
+ netSuiteSyncInvoices(netSuiteSyncInvoicesRequest: NetSuiteSyncInvoicesRequest, _options?: Configuration): Observable<NetSuiteSyncInvoicesResponse>;
355
+ }
356
+ import { InvoicesApiRequestFactory, InvoicesApiResponseProcessor } from "../apis/InvoicesApi";
357
+ export declare class ObservableInvoicesApi {
358
+ private requestFactory;
359
+ private responseProcessor;
360
+ private configuration;
361
+ constructor(configuration: Configuration, requestFactory?: InvoicesApiRequestFactory, responseProcessor?: InvoicesApiResponseProcessor);
362
+ /**
363
+ * Get a Invoice by id.
364
+ * Get Invoice
365
+ * @param invoiceId
366
+ */
367
+ getInvoiceWithHttpInfo(invoiceId: string, _options?: Configuration): Observable<HttpInfo<GetInvoiceResponse>>;
368
+ /**
369
+ * Get a Invoice by id.
370
+ * Get Invoice
371
+ * @param invoiceId
372
+ */
373
+ getInvoice(invoiceId: string, _options?: Configuration): Observable<GetInvoiceResponse>;
374
+ /**
375
+ * Get a list of Invoices.
376
+ * List Invoices
377
+ * @param limit
378
+ * @param cursor
379
+ */
380
+ listInvoicesWithHttpInfo(limit?: number, cursor?: string, _options?: Configuration): Observable<HttpInfo<ListInvoicesResponse>>;
381
+ /**
382
+ * Get a list of Invoices.
383
+ * List Invoices
384
+ * @param limit
385
+ * @param cursor
386
+ */
387
+ listInvoices(limit?: number, cursor?: string, _options?: Configuration): Observable<ListInvoicesResponse>;
388
+ }
389
+ import { MetersApiRequestFactory, MetersApiResponseProcessor } from "../apis/MetersApi";
390
+ export declare class ObservableMetersApi {
391
+ private requestFactory;
392
+ private responseProcessor;
393
+ private configuration;
394
+ constructor(configuration: Configuration, requestFactory?: MetersApiRequestFactory, responseProcessor?: MetersApiResponseProcessor);
395
+ /**
396
+ * Delete a Meter by id.
397
+ * Delete Meter
398
+ * @param meterId
399
+ */
400
+ deleteMeterWithHttpInfo(meterId: string, _options?: Configuration): Observable<HttpInfo<DeleteMeterResponse>>;
401
+ /**
402
+ * Delete a Meter by id.
403
+ * Delete Meter
404
+ * @param meterId
405
+ */
406
+ deleteMeter(meterId: string, _options?: Configuration): Observable<DeleteMeterResponse>;
407
+ /**
408
+ * Get a Meter by id.
409
+ * Get Meter
410
+ * @param meterId
411
+ */
412
+ getMeterWithHttpInfo(meterId: string, _options?: Configuration): Observable<HttpInfo<GetMeterResponse>>;
413
+ /**
414
+ * Get a Meter by id.
415
+ * Get Meter
416
+ * @param meterId
417
+ */
418
+ getMeter(meterId: string, _options?: Configuration): Observable<GetMeterResponse>;
419
+ /**
420
+ * Get a list of Meters.
421
+ * List Meters
422
+ * @param limit
423
+ * @param cursor
424
+ */
425
+ listMetersWithHttpInfo(limit?: number, cursor?: string, _options?: Configuration): Observable<HttpInfo<ListMetersResponse>>;
426
+ /**
427
+ * Get a list of Meters.
428
+ * List Meters
429
+ * @param limit
430
+ * @param cursor
431
+ */
432
+ listMeters(limit?: number, cursor?: string, _options?: Configuration): Observable<ListMetersResponse>;
433
+ /**
434
+ * Update a Meter by id.
435
+ * Update Meter
436
+ * @param updateMeterRequest
437
+ * @param meterId
438
+ */
439
+ updateMeterWithHttpInfo(updateMeterRequest: UpdateMeterRequest, meterId: string, _options?: Configuration): Observable<HttpInfo<UpdateMeterResponse>>;
440
+ /**
441
+ * Update a Meter by id.
442
+ * Update Meter
443
+ * @param updateMeterRequest
444
+ * @param meterId
445
+ */
446
+ updateMeter(updateMeterRequest: UpdateMeterRequest, meterId: string, _options?: Configuration): Observable<UpdateMeterResponse>;
447
+ }
448
+ import { PlansApiRequestFactory, PlansApiResponseProcessor } from "../apis/PlansApi";
449
+ export declare class ObservablePlansApi {
450
+ private requestFactory;
451
+ private responseProcessor;
452
+ private configuration;
453
+ constructor(configuration: Configuration, requestFactory?: PlansApiRequestFactory, responseProcessor?: PlansApiResponseProcessor);
454
+ /**
455
+ * Delete a Plan by id.
456
+ * Delete Plan
457
+ * @param planId
458
+ */
459
+ deletePlanWithHttpInfo(planId: string, _options?: Configuration): Observable<HttpInfo<DeletePlanResponse>>;
460
+ /**
461
+ * Delete a Plan by id.
462
+ * Delete Plan
463
+ * @param planId
464
+ */
465
+ deletePlan(planId: string, _options?: Configuration): Observable<DeletePlanResponse>;
466
+ /**
467
+ * Get a Plan by id.
468
+ * Get Plan
469
+ * @param planId
470
+ */
471
+ getPlanWithHttpInfo(planId: string, _options?: Configuration): Observable<HttpInfo<GetPlanResponse>>;
472
+ /**
473
+ * Get a Plan by id.
474
+ * Get Plan
475
+ * @param planId
476
+ */
477
+ getPlan(planId: string, _options?: Configuration): Observable<GetPlanResponse>;
478
+ /**
479
+ * Get a list of Plans.
480
+ * List Plans
481
+ * @param limit
482
+ * @param cursor
483
+ */
484
+ listPlansWithHttpInfo(limit?: number, cursor?: string, _options?: Configuration): Observable<HttpInfo<ListPlansResponse>>;
485
+ /**
486
+ * Get a list of Plans.
487
+ * List Plans
488
+ * @param limit
489
+ * @param cursor
490
+ */
491
+ listPlans(limit?: number, cursor?: string, _options?: Configuration): Observable<ListPlansResponse>;
492
+ }
493
+ import { ReportsApiRequestFactory, ReportsApiResponseProcessor } from "../apis/ReportsApi";
494
+ export declare class ObservableReportsApi {
495
+ private requestFactory;
496
+ private responseProcessor;
497
+ private configuration;
498
+ constructor(configuration: Configuration, requestFactory?: ReportsApiRequestFactory, responseProcessor?: ReportsApiResponseProcessor);
499
+ /**
500
+ * Get commitment report
501
+ * @param reportId
502
+ */
503
+ getCommitmentReportResponseWithHttpInfo(reportId?: string, _options?: Configuration): Observable<HttpInfo<GetCommitmentReportResponse>>;
504
+ /**
505
+ * Get commitment report
506
+ * @param reportId
507
+ */
508
+ getCommitmentReportResponse(reportId?: string, _options?: Configuration): Observable<GetCommitmentReportResponse>;
509
+ /**
510
+ * Use this endpoint to get the products usage report.
511
+ * Get products usage report
512
+ * @param reportId
513
+ * @param limit
514
+ * @param cursor
515
+ */
516
+ getProductsUsageReportWithHttpInfo(reportId?: string, limit?: number, cursor?: string, _options?: Configuration): Observable<HttpInfo<GetProductsUsageReportResponse>>;
517
+ /**
518
+ * Use this endpoint to get the products usage report.
519
+ * Get products usage report
520
+ * @param reportId
521
+ * @param limit
522
+ * @param cursor
523
+ */
524
+ getProductsUsageReport(reportId?: string, limit?: number, cursor?: string, _options?: Configuration): Observable<GetProductsUsageReportResponse>;
525
+ }
526
+ import { WebhooksApiRequestFactory, WebhooksApiResponseProcessor } from "../apis/WebhooksApi";
527
+ export declare class ObservableWebhooksApi {
528
+ private requestFactory;
529
+ private responseProcessor;
530
+ private configuration;
531
+ constructor(configuration: Configuration, requestFactory?: WebhooksApiRequestFactory, responseProcessor?: WebhooksApiResponseProcessor);
532
+ /**
533
+ * Use this endpoint to subscribe to webhooks and receive event notifications.
534
+ * Subscribe to webhooks
535
+ * @param webhookSubscribeRequest Subscribe to webhooks and receive event notifications.
536
+ */
537
+ webhookSubscribeWithHttpInfo(webhookSubscribeRequest: WebhookSubscribeRequest, _options?: Configuration): Observable<HttpInfo<void>>;
538
+ /**
539
+ * Use this endpoint to subscribe to webhooks and receive event notifications.
540
+ * Subscribe to webhooks
541
+ * @param webhookSubscribeRequest Subscribe to webhooks and receive event notifications.
542
+ */
543
+ webhookSubscribe(webhookSubscribeRequest: WebhookSubscribeRequest, _options?: Configuration): Observable<void>;
544
+ }