vayu-ts 0.0.4 → 0.0.13

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