vayu-ts 0.0.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 (255) hide show
  1. package/LICENSE +21 -0
  2. package/README.md +202 -0
  3. package/dist/index.d.ts +1 -0
  4. package/dist/index.js +17 -0
  5. package/dist/openapi/apis/AuthApi.d.ts +26 -0
  6. package/dist/openapi/apis/AuthApi.js +93 -0
  7. package/dist/openapi/apis/ContractsApi.d.ts +72 -0
  8. package/dist/openapi/apis/ContractsApi.js +307 -0
  9. package/dist/openapi/apis/CreditsApi.d.ts +57 -0
  10. package/dist/openapi/apis/CreditsApi.js +248 -0
  11. package/dist/openapi/apis/CustomersApi.d.ts +89 -0
  12. package/dist/openapi/apis/CustomersApi.js +388 -0
  13. package/dist/openapi/apis/EventsApi.d.ts +91 -0
  14. package/dist/openapi/apis/EventsApi.js +408 -0
  15. package/dist/openapi/apis/IntegrationsApi.d.ts +41 -0
  16. package/dist/openapi/apis/IntegrationsApi.js +170 -0
  17. package/dist/openapi/apis/InvoicesApi.d.ts +41 -0
  18. package/dist/openapi/apis/InvoicesApi.js +166 -0
  19. package/dist/openapi/apis/MetersApi.d.ts +73 -0
  20. package/dist/openapi/apis/MetersApi.js +316 -0
  21. package/dist/openapi/apis/PlansApi.d.ts +56 -0
  22. package/dist/openapi/apis/PlansApi.js +235 -0
  23. package/dist/openapi/apis/ReportsApi.d.ts +41 -0
  24. package/dist/openapi/apis/ReportsApi.js +166 -0
  25. package/dist/openapi/apis/WebhooksApi.d.ts +25 -0
  26. package/dist/openapi/apis/WebhooksApi.js +101 -0
  27. package/dist/openapi/apis/baseapi.d.ts +33 -0
  28. package/dist/openapi/apis/baseapi.js +41 -0
  29. package/dist/openapi/apis/exception.d.ts +19 -0
  30. package/dist/openapi/apis/exception.js +22 -0
  31. package/dist/openapi/auth/auth.d.ts +54 -0
  32. package/dist/openapi/auth/auth.js +50 -0
  33. package/dist/openapi/configuration.d.ts +63 -0
  34. package/dist/openapi/configuration.js +34 -0
  35. package/dist/openapi/http/http.d.ts +142 -0
  36. package/dist/openapi/http/http.js +229 -0
  37. package/dist/openapi/http/isomorphic-fetch.d.ts +5 -0
  38. package/dist/openapi/http/isomorphic-fetch.js +33 -0
  39. package/dist/openapi/index.d.ts +10 -0
  40. package/dist/openapi/index.js +38 -0
  41. package/dist/openapi/middleware.d.ts +54 -0
  42. package/dist/openapi/middleware.js +16 -0
  43. package/dist/openapi/models/AggregationMethod.d.ts +40 -0
  44. package/dist/openapi/models/AggregationMethod.js +46 -0
  45. package/dist/openapi/models/AggregationOperator.d.ts +24 -0
  46. package/dist/openapi/models/AggregationOperator.js +28 -0
  47. package/dist/openapi/models/BillingCycleStatus.d.ts +15 -0
  48. package/dist/openapi/models/BillingCycleStatus.js +19 -0
  49. package/dist/openapi/models/BillingInterval.d.ts +18 -0
  50. package/dist/openapi/models/BillingInterval.js +22 -0
  51. package/dist/openapi/models/Condition.d.ts +29 -0
  52. package/dist/openapi/models/Condition.js +31 -0
  53. package/dist/openapi/models/ContractStatus.d.ts +18 -0
  54. package/dist/openapi/models/ContractStatus.js +22 -0
  55. package/dist/openapi/models/CreateContractRequest.d.ts +43 -0
  56. package/dist/openapi/models/CreateContractRequest.js +49 -0
  57. package/dist/openapi/models/CreateContractResponse.d.ts +29 -0
  58. package/dist/openapi/models/CreateContractResponse.js +31 -0
  59. package/dist/openapi/models/CreateCustomerRequest.d.ts +35 -0
  60. package/dist/openapi/models/CreateCustomerRequest.js +37 -0
  61. package/dist/openapi/models/CreateCustomerResponse.d.ts +29 -0
  62. package/dist/openapi/models/CreateCustomerResponse.js +31 -0
  63. package/dist/openapi/models/CreateCustomerResponseCustomer.d.ts +38 -0
  64. package/dist/openapi/models/CreateCustomerResponseCustomer.js +55 -0
  65. package/dist/openapi/models/CreditLedgerEntry.d.ts +32 -0
  66. package/dist/openapi/models/CreditLedgerEntry.js +49 -0
  67. package/dist/openapi/models/Criterion.d.ts +31 -0
  68. package/dist/openapi/models/Criterion.js +43 -0
  69. package/dist/openapi/models/CriterionOperator.d.ts +23 -0
  70. package/dist/openapi/models/CriterionOperator.js +27 -0
  71. package/dist/openapi/models/Currency.d.ts +17 -0
  72. package/dist/openapi/models/Currency.js +21 -0
  73. package/dist/openapi/models/DeductCreditsRequest.d.ts +35 -0
  74. package/dist/openapi/models/DeductCreditsRequest.js +37 -0
  75. package/dist/openapi/models/DeleteContractResponse.d.ts +29 -0
  76. package/dist/openapi/models/DeleteContractResponse.js +31 -0
  77. package/dist/openapi/models/DeleteContractResponseContract.d.ts +47 -0
  78. package/dist/openapi/models/DeleteContractResponseContract.js +73 -0
  79. package/dist/openapi/models/DeleteCustomerResponse.d.ts +29 -0
  80. package/dist/openapi/models/DeleteCustomerResponse.js +31 -0
  81. package/dist/openapi/models/DeleteCustomerResponseCustomer.d.ts +39 -0
  82. package/dist/openapi/models/DeleteCustomerResponseCustomer.js +61 -0
  83. package/dist/openapi/models/DeleteEventResponse.d.ts +29 -0
  84. package/dist/openapi/models/DeleteEventResponse.js +31 -0
  85. package/dist/openapi/models/DeleteEventResponseEvent.d.ts +56 -0
  86. package/dist/openapi/models/DeleteEventResponseEvent.js +82 -0
  87. package/dist/openapi/models/DeleteMeterResponse.d.ts +29 -0
  88. package/dist/openapi/models/DeleteMeterResponse.js +31 -0
  89. package/dist/openapi/models/DeleteMeterResponseMeter.d.ts +43 -0
  90. package/dist/openapi/models/DeleteMeterResponseMeter.js +73 -0
  91. package/dist/openapi/models/DeletePlanResponse.d.ts +29 -0
  92. package/dist/openapi/models/DeletePlanResponse.js +31 -0
  93. package/dist/openapi/models/DeletePlanResponsePlan.d.ts +39 -0
  94. package/dist/openapi/models/DeletePlanResponsePlan.js +67 -0
  95. package/dist/openapi/models/Event.d.ts +49 -0
  96. package/dist/openapi/models/Event.js +55 -0
  97. package/dist/openapi/models/EventsDryRunRequest.d.ts +29 -0
  98. package/dist/openapi/models/EventsDryRunRequest.js +31 -0
  99. package/dist/openapi/models/EventsDryRunResponse.d.ts +29 -0
  100. package/dist/openapi/models/EventsDryRunResponse.js +31 -0
  101. package/dist/openapi/models/EventsDryRunResponseObject.d.ts +32 -0
  102. package/dist/openapi/models/EventsDryRunResponseObject.js +43 -0
  103. package/dist/openapi/models/EventsDryRunResponseObjectEvent.d.ts +35 -0
  104. package/dist/openapi/models/EventsDryRunResponseObjectEvent.js +61 -0
  105. package/dist/openapi/models/EventsDryRunResponseObjectMeterWithValuesInner.d.ts +41 -0
  106. package/dist/openapi/models/EventsDryRunResponseObjectMeterWithValuesInner.js +61 -0
  107. package/dist/openapi/models/Filter.d.ts +32 -0
  108. package/dist/openapi/models/Filter.js +34 -0
  109. package/dist/openapi/models/GetCommitmentReportResponse.d.ts +44 -0
  110. package/dist/openapi/models/GetCommitmentReportResponse.js +115 -0
  111. package/dist/openapi/models/GetContractResponse.d.ts +29 -0
  112. package/dist/openapi/models/GetContractResponse.js +31 -0
  113. package/dist/openapi/models/GetContractResponseContract.d.ts +46 -0
  114. package/dist/openapi/models/GetContractResponseContract.js +67 -0
  115. package/dist/openapi/models/GetCustomerResponse.d.ts +29 -0
  116. package/dist/openapi/models/GetCustomerResponse.js +31 -0
  117. package/dist/openapi/models/GetEventResponse.d.ts +29 -0
  118. package/dist/openapi/models/GetEventResponse.js +31 -0
  119. package/dist/openapi/models/GetEventResponseEvent.d.ts +55 -0
  120. package/dist/openapi/models/GetEventResponseEvent.js +76 -0
  121. package/dist/openapi/models/GetInvoiceResponse.d.ts +29 -0
  122. package/dist/openapi/models/GetInvoiceResponse.js +31 -0
  123. package/dist/openapi/models/GetInvoiceResponseInvoice.d.ts +50 -0
  124. package/dist/openapi/models/GetInvoiceResponseInvoice.js +79 -0
  125. package/dist/openapi/models/GetMeterResponse.d.ts +29 -0
  126. package/dist/openapi/models/GetMeterResponse.js +31 -0
  127. package/dist/openapi/models/GetMeterResponseMeter.d.ts +42 -0
  128. package/dist/openapi/models/GetMeterResponseMeter.js +67 -0
  129. package/dist/openapi/models/GetPlanResponse.d.ts +29 -0
  130. package/dist/openapi/models/GetPlanResponse.js +31 -0
  131. package/dist/openapi/models/GetPlanResponsePlan.d.ts +38 -0
  132. package/dist/openapi/models/GetPlanResponsePlan.js +61 -0
  133. package/dist/openapi/models/GetProductsUsageReportResponse.d.ts +44 -0
  134. package/dist/openapi/models/GetProductsUsageReportResponse.js +115 -0
  135. package/dist/openapi/models/GrantCreditsRequest.d.ts +35 -0
  136. package/dist/openapi/models/GrantCreditsRequest.js +37 -0
  137. package/dist/openapi/models/InvalidEvent.d.ts +33 -0
  138. package/dist/openapi/models/InvalidEvent.js +37 -0
  139. package/dist/openapi/models/LineItem.d.ts +35 -0
  140. package/dist/openapi/models/LineItem.js +37 -0
  141. package/dist/openapi/models/ListContractsResponse.d.ts +32 -0
  142. package/dist/openapi/models/ListContractsResponse.js +49 -0
  143. package/dist/openapi/models/ListCreditLedgerEntriesResponse.d.ts +32 -0
  144. package/dist/openapi/models/ListCreditLedgerEntriesResponse.js +31 -0
  145. package/dist/openapi/models/ListCustomersResponse.d.ts +32 -0
  146. package/dist/openapi/models/ListCustomersResponse.js +49 -0
  147. package/dist/openapi/models/ListInvoicesResponse.d.ts +32 -0
  148. package/dist/openapi/models/ListInvoicesResponse.js +49 -0
  149. package/dist/openapi/models/ListMetersResponse.d.ts +32 -0
  150. package/dist/openapi/models/ListMetersResponse.js +49 -0
  151. package/dist/openapi/models/ListPlansResponse.d.ts +32 -0
  152. package/dist/openapi/models/ListPlansResponse.js +49 -0
  153. package/dist/openapi/models/LoginRequest.d.ts +31 -0
  154. package/dist/openapi/models/LoginRequest.js +31 -0
  155. package/dist/openapi/models/LoginResponse.d.ts +31 -0
  156. package/dist/openapi/models/LoginResponse.js +31 -0
  157. package/dist/openapi/models/Meter.d.ts +39 -0
  158. package/dist/openapi/models/Meter.js +49 -0
  159. package/dist/openapi/models/NetSuiteExportSalesOrderRequest.d.ts +30 -0
  160. package/dist/openapi/models/NetSuiteExportSalesOrderRequest.js +43 -0
  161. package/dist/openapi/models/NetSuiteSyncInvoicesRequest.d.ts +34 -0
  162. package/dist/openapi/models/NetSuiteSyncInvoicesRequest.js +47 -0
  163. package/dist/openapi/models/NetSuiteSyncInvoicesRequestData.d.ts +39 -0
  164. package/dist/openapi/models/NetSuiteSyncInvoicesRequestData.js +85 -0
  165. package/dist/openapi/models/NetSuiteSyncInvoicesRequestDataEntity.d.ts +28 -0
  166. package/dist/openapi/models/NetSuiteSyncInvoicesRequestDataEntity.js +31 -0
  167. package/dist/openapi/models/NetSuiteSyncInvoicesRequestDataItem.d.ts +29 -0
  168. package/dist/openapi/models/NetSuiteSyncInvoicesRequestDataItem.js +31 -0
  169. package/dist/openapi/models/NetSuiteSyncInvoicesRequestDataItemItemsInner.d.ts +33 -0
  170. package/dist/openapi/models/NetSuiteSyncInvoicesRequestDataItemItemsInner.js +55 -0
  171. package/dist/openapi/models/NetSuiteSyncInvoicesResponse.d.ts +29 -0
  172. package/dist/openapi/models/NetSuiteSyncInvoicesResponse.js +37 -0
  173. package/dist/openapi/models/NotificationEventType.d.ts +17 -0
  174. package/dist/openapi/models/NotificationEventType.js +21 -0
  175. package/dist/openapi/models/ObjectSerializer.d.ts +106 -0
  176. package/dist/openapi/models/ObjectSerializer.js +488 -0
  177. package/dist/openapi/models/PaymentTerm.d.ts +15 -0
  178. package/dist/openapi/models/PaymentTerm.js +19 -0
  179. package/dist/openapi/models/Period.d.ts +32 -0
  180. package/dist/openapi/models/Period.js +40 -0
  181. package/dist/openapi/models/PlanBillingData.d.ts +37 -0
  182. package/dist/openapi/models/PlanBillingData.js +58 -0
  183. package/dist/openapi/models/PlanStatus.d.ts +19 -0
  184. package/dist/openapi/models/PlanStatus.js +23 -0
  185. package/dist/openapi/models/QueryEventsResponse.d.ts +32 -0
  186. package/dist/openapi/models/QueryEventsResponse.js +31 -0
  187. package/dist/openapi/models/QueryEventsResponseEventsInner.d.ts +52 -0
  188. package/dist/openapi/models/QueryEventsResponseEventsInner.js +73 -0
  189. package/dist/openapi/models/SendEventsRequest.d.ts +29 -0
  190. package/dist/openapi/models/SendEventsRequest.js +31 -0
  191. package/dist/openapi/models/SendEventsResponse.d.ts +37 -0
  192. package/dist/openapi/models/SendEventsResponse.js +37 -0
  193. package/dist/openapi/models/UpdateCustomerRequest.d.ts +35 -0
  194. package/dist/openapi/models/UpdateCustomerRequest.js +37 -0
  195. package/dist/openapi/models/UpdateCustomerResponse.d.ts +29 -0
  196. package/dist/openapi/models/UpdateCustomerResponse.js +31 -0
  197. package/dist/openapi/models/UpdateMeterRequest.d.ts +39 -0
  198. package/dist/openapi/models/UpdateMeterRequest.js +49 -0
  199. package/dist/openapi/models/UpdateMeterResponse.d.ts +29 -0
  200. package/dist/openapi/models/UpdateMeterResponse.js +31 -0
  201. package/dist/openapi/models/WebhookSubscribeRequest.d.ts +30 -0
  202. package/dist/openapi/models/WebhookSubscribeRequest.js +37 -0
  203. package/dist/openapi/models/all.d.ts +79 -0
  204. package/dist/openapi/models/all.js +95 -0
  205. package/dist/openapi/rxjsStub.d.ts +10 -0
  206. package/dist/openapi/rxjsStub.js +31 -0
  207. package/dist/openapi/servers.d.ts +39 -0
  208. package/dist/openapi/servers.js +52 -0
  209. package/dist/openapi/types/ObjectParamAPI.d.ts +825 -0
  210. package/dist/openapi/types/ObjectParamAPI.js +590 -0
  211. package/dist/openapi/types/ObservableAPI.d.ts +532 -0
  212. package/dist/openapi/types/ObservableAPI.js +1060 -0
  213. package/dist/openapi/types/PromiseAPI.d.ts +509 -0
  214. package/dist/openapi/types/PromiseAPI.js +684 -0
  215. package/dist/openapi/util.d.ts +15 -0
  216. package/dist/openapi/util.js +42 -0
  217. package/dist/sdk/clients/ContractsClient.d.ts +10 -0
  218. package/dist/sdk/clients/ContractsClient.js +42 -0
  219. package/dist/sdk/clients/CustomersClient.d.ts +11 -0
  220. package/dist/sdk/clients/CustomersClient.js +47 -0
  221. package/dist/sdk/clients/EventsClient.d.ts +11 -0
  222. package/dist/sdk/clients/EventsClient.js +49 -0
  223. package/dist/sdk/clients/InvoicesClient.d.ts +7 -0
  224. package/dist/sdk/clients/InvoicesClient.js +32 -0
  225. package/dist/sdk/clients/MetersClient.d.ts +10 -0
  226. package/dist/sdk/clients/MetersClient.js +42 -0
  227. package/dist/sdk/clients/PlansClient.d.ts +8 -0
  228. package/dist/sdk/clients/PlansClient.js +37 -0
  229. package/dist/sdk/clients/index.d.ts +6 -0
  230. package/dist/sdk/clients/index.js +22 -0
  231. package/dist/sdk/index.d.ts +13 -0
  232. package/dist/sdk/index.js +59 -0
  233. package/dist/sdk/services/configuration.service.d.ts +21 -0
  234. package/dist/sdk/services/configuration.service.js +104 -0
  235. package/dist/sdk/services/index.d.ts +1 -0
  236. package/dist/sdk/services/index.js +17 -0
  237. package/dist/sdk/types/Contracts.d.ts +1 -0
  238. package/dist/sdk/types/Contracts.js +2 -0
  239. package/dist/sdk/types/Customers.d.ts +1 -0
  240. package/dist/sdk/types/Customers.js +2 -0
  241. package/dist/sdk/types/Events.d.ts +1 -0
  242. package/dist/sdk/types/Events.js +2 -0
  243. package/dist/sdk/types/Invoices.d.ts +1 -0
  244. package/dist/sdk/types/Invoices.js +2 -0
  245. package/dist/sdk/types/Meters.d.ts +1 -0
  246. package/dist/sdk/types/Meters.js +2 -0
  247. package/dist/sdk/types/Plans.d.ts +1 -0
  248. package/dist/sdk/types/Plans.js +2 -0
  249. package/dist/sdk/types/index.d.ts +7 -0
  250. package/dist/sdk/types/index.js +23 -0
  251. package/dist/sdk/types/pagination-options.d.ts +4 -0
  252. package/dist/sdk/types/pagination-options.js +2 -0
  253. package/dist/types.d.ts +1 -0
  254. package/dist/types.js +17 -0
  255. package/package.json +51 -0
@@ -0,0 +1,825 @@
1
+ import { HttpInfo } from '../http/http';
2
+ import { Configuration } from '../configuration';
3
+ import { CreateContractRequest } from '../models/CreateContractRequest';
4
+ import { CreateContractResponse } from '../models/CreateContractResponse';
5
+ import { CreateCustomerRequest } from '../models/CreateCustomerRequest';
6
+ import { CreateCustomerResponse } from '../models/CreateCustomerResponse';
7
+ import { DeductCreditsRequest } from '../models/DeductCreditsRequest';
8
+ import { DeleteContractResponse } from '../models/DeleteContractResponse';
9
+ import { DeleteCustomerResponse } from '../models/DeleteCustomerResponse';
10
+ import { DeleteEventResponse } from '../models/DeleteEventResponse';
11
+ import { DeleteMeterResponse } from '../models/DeleteMeterResponse';
12
+ import { DeletePlanResponse } from '../models/DeletePlanResponse';
13
+ import { EventsDryRunRequest } from '../models/EventsDryRunRequest';
14
+ import { EventsDryRunResponse } from '../models/EventsDryRunResponse';
15
+ import { GetCommitmentReportResponse } from '../models/GetCommitmentReportResponse';
16
+ import { GetContractResponse } from '../models/GetContractResponse';
17
+ import { GetCustomerResponse } from '../models/GetCustomerResponse';
18
+ import { GetEventResponse } from '../models/GetEventResponse';
19
+ import { GetInvoiceResponse } from '../models/GetInvoiceResponse';
20
+ import { GetMeterResponse } from '../models/GetMeterResponse';
21
+ import { GetPlanResponse } from '../models/GetPlanResponse';
22
+ import { GetProductsUsageReportResponse } from '../models/GetProductsUsageReportResponse';
23
+ import { GrantCreditsRequest } from '../models/GrantCreditsRequest';
24
+ import { ListContractsResponse } from '../models/ListContractsResponse';
25
+ import { ListCreditLedgerEntriesResponse } from '../models/ListCreditLedgerEntriesResponse';
26
+ import { ListCustomersResponse } from '../models/ListCustomersResponse';
27
+ import { ListInvoicesResponse } from '../models/ListInvoicesResponse';
28
+ import { ListMetersResponse } from '../models/ListMetersResponse';
29
+ import { ListPlansResponse } from '../models/ListPlansResponse';
30
+ import { LoginRequest } from '../models/LoginRequest';
31
+ import { LoginResponse } from '../models/LoginResponse';
32
+ import { NetSuiteExportSalesOrderRequest } from '../models/NetSuiteExportSalesOrderRequest';
33
+ import { NetSuiteSyncInvoicesRequest } from '../models/NetSuiteSyncInvoicesRequest';
34
+ import { NetSuiteSyncInvoicesResponse } from '../models/NetSuiteSyncInvoicesResponse';
35
+ import { QueryEventsResponse } from '../models/QueryEventsResponse';
36
+ import { SendEventsRequest } from '../models/SendEventsRequest';
37
+ import { SendEventsResponse } from '../models/SendEventsResponse';
38
+ import { UpdateCustomerRequest } from '../models/UpdateCustomerRequest';
39
+ import { UpdateCustomerResponse } from '../models/UpdateCustomerResponse';
40
+ import { UpdateMeterRequest } from '../models/UpdateMeterRequest';
41
+ import { UpdateMeterResponse } from '../models/UpdateMeterResponse';
42
+ import { WebhookSubscribeRequest } from '../models/WebhookSubscribeRequest';
43
+ import { AuthApiRequestFactory, AuthApiResponseProcessor } from "../apis/AuthApi";
44
+ export interface AuthApiLoginRequest {
45
+ /**
46
+ *
47
+ * @type LoginRequest
48
+ * @memberof AuthApilogin
49
+ */
50
+ loginRequest: LoginRequest;
51
+ }
52
+ export declare class ObjectAuthApi {
53
+ private api;
54
+ constructor(configuration: Configuration, requestFactory?: AuthApiRequestFactory, responseProcessor?: AuthApiResponseProcessor);
55
+ /**
56
+ * 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.
57
+ * Login by obtaining a new access token
58
+ * @param param the request object
59
+ */
60
+ loginWithHttpInfo(param: AuthApiLoginRequest, options?: Configuration): Promise<HttpInfo<LoginResponse>>;
61
+ /**
62
+ * 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.
63
+ * Login by obtaining a new access token
64
+ * @param param the request object
65
+ */
66
+ login(param: AuthApiLoginRequest, options?: Configuration): Promise<LoginResponse>;
67
+ }
68
+ import { ContractsApiRequestFactory, ContractsApiResponseProcessor } from "../apis/ContractsApi";
69
+ export interface ContractsApiCreateContractRequest {
70
+ /**
71
+ *
72
+ * @type CreateContractRequest
73
+ * @memberof ContractsApicreateContract
74
+ */
75
+ createContractRequest: CreateContractRequest;
76
+ }
77
+ export interface ContractsApiDeleteContractRequest {
78
+ /**
79
+ *
80
+ * @type string
81
+ * @memberof ContractsApideleteContract
82
+ */
83
+ contractId: string;
84
+ }
85
+ export interface ContractsApiGetContractRequest {
86
+ /**
87
+ *
88
+ * @type string
89
+ * @memberof ContractsApigetContract
90
+ */
91
+ contractId: string;
92
+ }
93
+ export interface ContractsApiListContractsRequest {
94
+ /**
95
+ *
96
+ * @type number
97
+ * @memberof ContractsApilistContracts
98
+ */
99
+ limit?: number;
100
+ /**
101
+ *
102
+ * @type string
103
+ * @memberof ContractsApilistContracts
104
+ */
105
+ cursor?: string;
106
+ }
107
+ export declare class ObjectContractsApi {
108
+ private api;
109
+ constructor(configuration: Configuration, requestFactory?: ContractsApiRequestFactory, responseProcessor?: ContractsApiResponseProcessor);
110
+ /**
111
+ * Create a new Contract.
112
+ * Create Contract
113
+ * @param param the request object
114
+ */
115
+ createContractWithHttpInfo(param: ContractsApiCreateContractRequest, options?: Configuration): Promise<HttpInfo<CreateContractResponse>>;
116
+ /**
117
+ * Create a new Contract.
118
+ * Create Contract
119
+ * @param param the request object
120
+ */
121
+ createContract(param: ContractsApiCreateContractRequest, options?: Configuration): Promise<CreateContractResponse>;
122
+ /**
123
+ * Delete a Contract by id.
124
+ * Delete Contract
125
+ * @param param the request object
126
+ */
127
+ deleteContractWithHttpInfo(param: ContractsApiDeleteContractRequest, options?: Configuration): Promise<HttpInfo<DeleteContractResponse>>;
128
+ /**
129
+ * Delete a Contract by id.
130
+ * Delete Contract
131
+ * @param param the request object
132
+ */
133
+ deleteContract(param: ContractsApiDeleteContractRequest, options?: Configuration): Promise<DeleteContractResponse>;
134
+ /**
135
+ * Get a Contract by id.
136
+ * Get Contract
137
+ * @param param the request object
138
+ */
139
+ getContractWithHttpInfo(param: ContractsApiGetContractRequest, options?: Configuration): Promise<HttpInfo<GetContractResponse>>;
140
+ /**
141
+ * Get a Contract by id.
142
+ * Get Contract
143
+ * @param param the request object
144
+ */
145
+ getContract(param: ContractsApiGetContractRequest, options?: Configuration): Promise<GetContractResponse>;
146
+ /**
147
+ * Get a list of Contracts.
148
+ * List Contracts
149
+ * @param param the request object
150
+ */
151
+ listContractsWithHttpInfo(param?: ContractsApiListContractsRequest, options?: Configuration): Promise<HttpInfo<ListContractsResponse>>;
152
+ /**
153
+ * Get a list of Contracts.
154
+ * List Contracts
155
+ * @param param the request object
156
+ */
157
+ listContracts(param?: ContractsApiListContractsRequest, options?: Configuration): Promise<ListContractsResponse>;
158
+ }
159
+ import { CreditsApiRequestFactory, CreditsApiResponseProcessor } from "../apis/CreditsApi";
160
+ export interface CreditsApiDeductCreditsRequest {
161
+ /**
162
+ *
163
+ * @type DeductCreditsRequest
164
+ * @memberof CreditsApideductCredits
165
+ */
166
+ deductCreditsRequest: DeductCreditsRequest;
167
+ }
168
+ export interface CreditsApiGrantCreditsRequest {
169
+ /**
170
+ *
171
+ * @type GrantCreditsRequest
172
+ * @memberof CreditsApigrantCredits
173
+ */
174
+ grantCreditsRequest: GrantCreditsRequest;
175
+ }
176
+ export interface CreditsApiListCreditLedgerEntriesRequest {
177
+ /**
178
+ *
179
+ * @type string
180
+ * @memberof CreditsApilistCreditLedgerEntries
181
+ */
182
+ customerId: string;
183
+ /**
184
+ *
185
+ * @type number
186
+ * @memberof CreditsApilistCreditLedgerEntries
187
+ */
188
+ limit?: number;
189
+ /**
190
+ *
191
+ * @type string
192
+ * @memberof CreditsApilistCreditLedgerEntries
193
+ */
194
+ cursor?: string;
195
+ }
196
+ export declare class ObjectCreditsApi {
197
+ private api;
198
+ constructor(configuration: Configuration, requestFactory?: CreditsApiRequestFactory, responseProcessor?: CreditsApiResponseProcessor);
199
+ /**
200
+ * 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.
201
+ * Deduct credits from customer credit ledger
202
+ * @param param the request object
203
+ */
204
+ deductCreditsWithHttpInfo(param: CreditsApiDeductCreditsRequest, options?: Configuration): Promise<HttpInfo<void>>;
205
+ /**
206
+ * 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.
207
+ * Deduct credits from customer credit ledger
208
+ * @param param the request object
209
+ */
210
+ deductCredits(param: CreditsApiDeductCreditsRequest, options?: Configuration): Promise<void>;
211
+ /**
212
+ * 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.
213
+ * Grant credits to a customer credit ledger
214
+ * @param param the request object
215
+ */
216
+ grantCreditsWithHttpInfo(param: CreditsApiGrantCreditsRequest, options?: Configuration): Promise<HttpInfo<void>>;
217
+ /**
218
+ * 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.
219
+ * Grant credits to a customer credit ledger
220
+ * @param param the request object
221
+ */
222
+ grantCredits(param: CreditsApiGrantCreditsRequest, options?: Configuration): Promise<void>;
223
+ /**
224
+ * This endpoint is used to retrieve the credit ledger entries for a specific customer.
225
+ * Retrieve credit ledger entries for customer.
226
+ * @param param the request object
227
+ */
228
+ listCreditLedgerEntriesWithHttpInfo(param: CreditsApiListCreditLedgerEntriesRequest, options?: Configuration): Promise<HttpInfo<ListCreditLedgerEntriesResponse>>;
229
+ /**
230
+ * This endpoint is used to retrieve the credit ledger entries for a specific customer.
231
+ * Retrieve credit ledger entries for customer.
232
+ * @param param the request object
233
+ */
234
+ listCreditLedgerEntries(param: CreditsApiListCreditLedgerEntriesRequest, options?: Configuration): Promise<ListCreditLedgerEntriesResponse>;
235
+ }
236
+ import { CustomersApiRequestFactory, CustomersApiResponseProcessor } from "../apis/CustomersApi";
237
+ export interface CustomersApiCreateCustomerRequest {
238
+ /**
239
+ *
240
+ * @type CreateCustomerRequest
241
+ * @memberof CustomersApicreateCustomer
242
+ */
243
+ createCustomerRequest: CreateCustomerRequest;
244
+ }
245
+ export interface CustomersApiDeleteCustomerRequest {
246
+ /**
247
+ *
248
+ * @type string
249
+ * @memberof CustomersApideleteCustomer
250
+ */
251
+ customerId: string;
252
+ }
253
+ export interface CustomersApiGetCustomerRequest {
254
+ /**
255
+ *
256
+ * @type string
257
+ * @memberof CustomersApigetCustomer
258
+ */
259
+ customerId: string;
260
+ }
261
+ export interface CustomersApiListCustomersRequest {
262
+ /**
263
+ *
264
+ * @type number
265
+ * @memberof CustomersApilistCustomers
266
+ */
267
+ limit?: number;
268
+ /**
269
+ *
270
+ * @type string
271
+ * @memberof CustomersApilistCustomers
272
+ */
273
+ cursor?: string;
274
+ }
275
+ export interface CustomersApiUpdateCustomerRequest {
276
+ /**
277
+ *
278
+ * @type UpdateCustomerRequest
279
+ * @memberof CustomersApiupdateCustomer
280
+ */
281
+ updateCustomerRequest: UpdateCustomerRequest;
282
+ /**
283
+ *
284
+ * @type string
285
+ * @memberof CustomersApiupdateCustomer
286
+ */
287
+ customerId: string;
288
+ }
289
+ export declare class ObjectCustomersApi {
290
+ private api;
291
+ constructor(configuration: Configuration, requestFactory?: CustomersApiRequestFactory, responseProcessor?: CustomersApiResponseProcessor);
292
+ /**
293
+ * Create a new Customer.
294
+ * Create Customer
295
+ * @param param the request object
296
+ */
297
+ createCustomerWithHttpInfo(param: CustomersApiCreateCustomerRequest, options?: Configuration): Promise<HttpInfo<CreateCustomerResponse>>;
298
+ /**
299
+ * Create a new Customer.
300
+ * Create Customer
301
+ * @param param the request object
302
+ */
303
+ createCustomer(param: CustomersApiCreateCustomerRequest, options?: Configuration): Promise<CreateCustomerResponse>;
304
+ /**
305
+ * Delete a Customer by id.
306
+ * Delete Customer
307
+ * @param param the request object
308
+ */
309
+ deleteCustomerWithHttpInfo(param: CustomersApiDeleteCustomerRequest, options?: Configuration): Promise<HttpInfo<DeleteCustomerResponse>>;
310
+ /**
311
+ * Delete a Customer by id.
312
+ * Delete Customer
313
+ * @param param the request object
314
+ */
315
+ deleteCustomer(param: CustomersApiDeleteCustomerRequest, options?: Configuration): Promise<DeleteCustomerResponse>;
316
+ /**
317
+ * Get a Customer by id.
318
+ * Get Customer
319
+ * @param param the request object
320
+ */
321
+ getCustomerWithHttpInfo(param: CustomersApiGetCustomerRequest, options?: Configuration): Promise<HttpInfo<GetCustomerResponse>>;
322
+ /**
323
+ * Get a Customer by id.
324
+ * Get Customer
325
+ * @param param the request object
326
+ */
327
+ getCustomer(param: CustomersApiGetCustomerRequest, options?: Configuration): Promise<GetCustomerResponse>;
328
+ /**
329
+ * Get a list of Customers.
330
+ * List Customers
331
+ * @param param the request object
332
+ */
333
+ listCustomersWithHttpInfo(param?: CustomersApiListCustomersRequest, options?: Configuration): Promise<HttpInfo<ListCustomersResponse>>;
334
+ /**
335
+ * Get a list of Customers.
336
+ * List Customers
337
+ * @param param the request object
338
+ */
339
+ listCustomers(param?: CustomersApiListCustomersRequest, options?: Configuration): Promise<ListCustomersResponse>;
340
+ /**
341
+ * Update a Customer by id.
342
+ * Update Customer
343
+ * @param param the request object
344
+ */
345
+ updateCustomerWithHttpInfo(param: CustomersApiUpdateCustomerRequest, options?: Configuration): Promise<HttpInfo<UpdateCustomerResponse>>;
346
+ /**
347
+ * Update a Customer by id.
348
+ * Update Customer
349
+ * @param param the request object
350
+ */
351
+ updateCustomer(param: CustomersApiUpdateCustomerRequest, options?: Configuration): Promise<UpdateCustomerResponse>;
352
+ }
353
+ import { EventsApiRequestFactory, EventsApiResponseProcessor } from "../apis/EventsApi";
354
+ export interface EventsApiDeleteEventByRefIdRequest {
355
+ /**
356
+ *
357
+ * @type string
358
+ * @memberof EventsApideleteEventByRefId
359
+ */
360
+ refId: string;
361
+ }
362
+ export interface EventsApiGetEventByRefIdRequest {
363
+ /**
364
+ *
365
+ * @type string
366
+ * @memberof EventsApigetEventByRefId
367
+ */
368
+ refId: string;
369
+ }
370
+ export interface EventsApiQueryEventsRequest {
371
+ /**
372
+ *
373
+ * @type Date
374
+ * @memberof EventsApiqueryEvents
375
+ */
376
+ startTime: Date;
377
+ /**
378
+ *
379
+ * @type Date
380
+ * @memberof EventsApiqueryEvents
381
+ */
382
+ endTime: Date;
383
+ /**
384
+ *
385
+ * @type string
386
+ * @memberof EventsApiqueryEvents
387
+ */
388
+ eventName?: string;
389
+ /**
390
+ *
391
+ * @type number
392
+ * @memberof EventsApiqueryEvents
393
+ */
394
+ limit?: number;
395
+ /**
396
+ *
397
+ * @type string
398
+ * @memberof EventsApiqueryEvents
399
+ */
400
+ cursor?: string;
401
+ }
402
+ export interface EventsApiSendEventsRequest {
403
+ /**
404
+ * 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
405
+ * @type SendEventsRequest
406
+ * @memberof EventsApisendEvents
407
+ */
408
+ sendEventsRequest: SendEventsRequest;
409
+ }
410
+ export interface EventsApiSendEventsDryRunRequest {
411
+ /**
412
+ * 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
413
+ * @type EventsDryRunRequest
414
+ * @memberof EventsApisendEventsDryRun
415
+ */
416
+ eventsDryRunRequest: EventsDryRunRequest;
417
+ }
418
+ export declare class ObjectEventsApi {
419
+ private api;
420
+ constructor(configuration: Configuration, requestFactory?: EventsApiRequestFactory, responseProcessor?: EventsApiResponseProcessor);
421
+ /**
422
+ * Use this endpoint to remove a specific event using its reference ID.
423
+ * Delete an event by refId
424
+ * @param param the request object
425
+ */
426
+ deleteEventByRefIdWithHttpInfo(param: EventsApiDeleteEventByRefIdRequest, options?: Configuration): Promise<HttpInfo<DeleteEventResponse>>;
427
+ /**
428
+ * Use this endpoint to remove a specific event using its reference ID.
429
+ * Delete an event by refId
430
+ * @param param the request object
431
+ */
432
+ deleteEventByRefId(param: EventsApiDeleteEventByRefIdRequest, options?: Configuration): Promise<DeleteEventResponse>;
433
+ /**
434
+ * Use this endpoint to get a specific event using its reference ID.
435
+ * Get event by refId
436
+ * @param param the request object
437
+ */
438
+ getEventByRefIdWithHttpInfo(param: EventsApiGetEventByRefIdRequest, options?: Configuration): Promise<HttpInfo<GetEventResponse>>;
439
+ /**
440
+ * Use this endpoint to get a specific event using its reference ID.
441
+ * Get event by refId
442
+ * @param param the request object
443
+ */
444
+ getEventByRefId(param: EventsApiGetEventByRefIdRequest, options?: Configuration): Promise<GetEventResponse>;
445
+ /**
446
+ * Fetch events occurring within a specified timestamp range. An optional event name can be provided to further filter the events.
447
+ * Query events by timestamp period and optional event name
448
+ * @param param the request object
449
+ */
450
+ queryEventsWithHttpInfo(param: EventsApiQueryEventsRequest, options?: Configuration): Promise<HttpInfo<QueryEventsResponse>>;
451
+ /**
452
+ * Fetch events occurring within a specified timestamp range. An optional event name can be provided to further filter the events.
453
+ * Query events by timestamp period and optional event name
454
+ * @param param the request object
455
+ */
456
+ queryEvents(param: EventsApiQueryEventsRequest, options?: Configuration): Promise<QueryEventsResponse>;
457
+ /**
458
+ * Use this endpoint to send an array of events for processing and storage. Make sure to comply with the request schema for each event.
459
+ * Submit a batch of events for ingestion
460
+ * @param param the request object
461
+ */
462
+ sendEventsWithHttpInfo(param: EventsApiSendEventsRequest, options?: Configuration): Promise<HttpInfo<SendEventsResponse>>;
463
+ /**
464
+ * Use this endpoint to send an array of events for processing and storage. Make sure to comply with the request schema for each event.
465
+ * Submit a batch of events for ingestion
466
+ * @param param the request object
467
+ */
468
+ sendEvents(param: EventsApiSendEventsRequest, options?: Configuration): Promise<SendEventsResponse>;
469
+ /**
470
+ * 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.
471
+ * Submit a batch of events for testing
472
+ * @param param the request object
473
+ */
474
+ sendEventsDryRunWithHttpInfo(param: EventsApiSendEventsDryRunRequest, options?: Configuration): Promise<HttpInfo<EventsDryRunResponse>>;
475
+ /**
476
+ * 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.
477
+ * Submit a batch of events for testing
478
+ * @param param the request object
479
+ */
480
+ sendEventsDryRun(param: EventsApiSendEventsDryRunRequest, options?: Configuration): Promise<EventsDryRunResponse>;
481
+ }
482
+ import { IntegrationsApiRequestFactory, IntegrationsApiResponseProcessor } from "../apis/IntegrationsApi";
483
+ export interface IntegrationsApiExportNetSuiteSalesOrderRequest {
484
+ /**
485
+ *
486
+ * @type NetSuiteExportSalesOrderRequest
487
+ * @memberof IntegrationsApiexportNetSuiteSalesOrder
488
+ */
489
+ netSuiteExportSalesOrderRequest: NetSuiteExportSalesOrderRequest;
490
+ }
491
+ export interface IntegrationsApiNetSuiteSyncInvoicesRequest {
492
+ /**
493
+ *
494
+ * @type NetSuiteSyncInvoicesRequest
495
+ * @memberof IntegrationsApinetSuiteSyncInvoices
496
+ */
497
+ netSuiteSyncInvoicesRequest: NetSuiteSyncInvoicesRequest;
498
+ }
499
+ export declare class ObjectIntegrationsApi {
500
+ private api;
501
+ constructor(configuration: Configuration, requestFactory?: IntegrationsApiRequestFactory, responseProcessor?: IntegrationsApiResponseProcessor);
502
+ /**
503
+ * This endpoint is used to export sales order to NetSuite.
504
+ * Export sales order to NetSuite
505
+ * @param param the request object
506
+ */
507
+ exportNetSuiteSalesOrderWithHttpInfo(param: IntegrationsApiExportNetSuiteSalesOrderRequest, options?: Configuration): Promise<HttpInfo<void>>;
508
+ /**
509
+ * This endpoint is used to export sales order to NetSuite.
510
+ * Export sales order to NetSuite
511
+ * @param param the request object
512
+ */
513
+ exportNetSuiteSalesOrder(param: IntegrationsApiExportNetSuiteSalesOrderRequest, options?: Configuration): Promise<void>;
514
+ /**
515
+ * This endpoint is used to sync invoices to NetSuite.
516
+ * Sync invoices to NetSuite
517
+ * @param param the request object
518
+ */
519
+ netSuiteSyncInvoicesWithHttpInfo(param: IntegrationsApiNetSuiteSyncInvoicesRequest, options?: Configuration): Promise<HttpInfo<NetSuiteSyncInvoicesResponse>>;
520
+ /**
521
+ * This endpoint is used to sync invoices to NetSuite.
522
+ * Sync invoices to NetSuite
523
+ * @param param the request object
524
+ */
525
+ netSuiteSyncInvoices(param: IntegrationsApiNetSuiteSyncInvoicesRequest, options?: Configuration): Promise<NetSuiteSyncInvoicesResponse>;
526
+ }
527
+ import { InvoicesApiRequestFactory, InvoicesApiResponseProcessor } from "../apis/InvoicesApi";
528
+ export interface InvoicesApiGetInvoiceRequest {
529
+ /**
530
+ *
531
+ * @type string
532
+ * @memberof InvoicesApigetInvoice
533
+ */
534
+ invoiceId: string;
535
+ }
536
+ export interface InvoicesApiListInvoicesRequest {
537
+ /**
538
+ *
539
+ * @type number
540
+ * @memberof InvoicesApilistInvoices
541
+ */
542
+ limit?: number;
543
+ /**
544
+ *
545
+ * @type string
546
+ * @memberof InvoicesApilistInvoices
547
+ */
548
+ cursor?: string;
549
+ }
550
+ export declare class ObjectInvoicesApi {
551
+ private api;
552
+ constructor(configuration: Configuration, requestFactory?: InvoicesApiRequestFactory, responseProcessor?: InvoicesApiResponseProcessor);
553
+ /**
554
+ * Get a Invoice by id.
555
+ * Get Invoice
556
+ * @param param the request object
557
+ */
558
+ getInvoiceWithHttpInfo(param: InvoicesApiGetInvoiceRequest, options?: Configuration): Promise<HttpInfo<GetInvoiceResponse>>;
559
+ /**
560
+ * Get a Invoice by id.
561
+ * Get Invoice
562
+ * @param param the request object
563
+ */
564
+ getInvoice(param: InvoicesApiGetInvoiceRequest, options?: Configuration): Promise<GetInvoiceResponse>;
565
+ /**
566
+ * Get a list of Invoices.
567
+ * List Invoices
568
+ * @param param the request object
569
+ */
570
+ listInvoicesWithHttpInfo(param?: InvoicesApiListInvoicesRequest, options?: Configuration): Promise<HttpInfo<ListInvoicesResponse>>;
571
+ /**
572
+ * Get a list of Invoices.
573
+ * List Invoices
574
+ * @param param the request object
575
+ */
576
+ listInvoices(param?: InvoicesApiListInvoicesRequest, options?: Configuration): Promise<ListInvoicesResponse>;
577
+ }
578
+ import { MetersApiRequestFactory, MetersApiResponseProcessor } from "../apis/MetersApi";
579
+ export interface MetersApiDeleteMeterRequest {
580
+ /**
581
+ *
582
+ * @type string
583
+ * @memberof MetersApideleteMeter
584
+ */
585
+ meterId: string;
586
+ }
587
+ export interface MetersApiGetMeterRequest {
588
+ /**
589
+ *
590
+ * @type string
591
+ * @memberof MetersApigetMeter
592
+ */
593
+ meterId: string;
594
+ }
595
+ export interface MetersApiListMetersRequest {
596
+ /**
597
+ *
598
+ * @type number
599
+ * @memberof MetersApilistMeters
600
+ */
601
+ limit?: number;
602
+ /**
603
+ *
604
+ * @type string
605
+ * @memberof MetersApilistMeters
606
+ */
607
+ cursor?: string;
608
+ }
609
+ export interface MetersApiUpdateMeterRequest {
610
+ /**
611
+ *
612
+ * @type UpdateMeterRequest
613
+ * @memberof MetersApiupdateMeter
614
+ */
615
+ updateMeterRequest: UpdateMeterRequest;
616
+ /**
617
+ *
618
+ * @type string
619
+ * @memberof MetersApiupdateMeter
620
+ */
621
+ meterId: string;
622
+ }
623
+ export declare class ObjectMetersApi {
624
+ private api;
625
+ constructor(configuration: Configuration, requestFactory?: MetersApiRequestFactory, responseProcessor?: MetersApiResponseProcessor);
626
+ /**
627
+ * Delete a Meter by id.
628
+ * Delete Meter
629
+ * @param param the request object
630
+ */
631
+ deleteMeterWithHttpInfo(param: MetersApiDeleteMeterRequest, options?: Configuration): Promise<HttpInfo<DeleteMeterResponse>>;
632
+ /**
633
+ * Delete a Meter by id.
634
+ * Delete Meter
635
+ * @param param the request object
636
+ */
637
+ deleteMeter(param: MetersApiDeleteMeterRequest, options?: Configuration): Promise<DeleteMeterResponse>;
638
+ /**
639
+ * Get a Meter by id.
640
+ * Get Meter
641
+ * @param param the request object
642
+ */
643
+ getMeterWithHttpInfo(param: MetersApiGetMeterRequest, options?: Configuration): Promise<HttpInfo<GetMeterResponse>>;
644
+ /**
645
+ * Get a Meter by id.
646
+ * Get Meter
647
+ * @param param the request object
648
+ */
649
+ getMeter(param: MetersApiGetMeterRequest, options?: Configuration): Promise<GetMeterResponse>;
650
+ /**
651
+ * Get a list of Meters.
652
+ * List Meters
653
+ * @param param the request object
654
+ */
655
+ listMetersWithHttpInfo(param?: MetersApiListMetersRequest, options?: Configuration): Promise<HttpInfo<ListMetersResponse>>;
656
+ /**
657
+ * Get a list of Meters.
658
+ * List Meters
659
+ * @param param the request object
660
+ */
661
+ listMeters(param?: MetersApiListMetersRequest, options?: Configuration): Promise<ListMetersResponse>;
662
+ /**
663
+ * Update a Meter by id.
664
+ * Update Meter
665
+ * @param param the request object
666
+ */
667
+ updateMeterWithHttpInfo(param: MetersApiUpdateMeterRequest, options?: Configuration): Promise<HttpInfo<UpdateMeterResponse>>;
668
+ /**
669
+ * Update a Meter by id.
670
+ * Update Meter
671
+ * @param param the request object
672
+ */
673
+ updateMeter(param: MetersApiUpdateMeterRequest, options?: Configuration): Promise<UpdateMeterResponse>;
674
+ }
675
+ import { PlansApiRequestFactory, PlansApiResponseProcessor } from "../apis/PlansApi";
676
+ export interface PlansApiDeletePlanRequest {
677
+ /**
678
+ *
679
+ * @type string
680
+ * @memberof PlansApideletePlan
681
+ */
682
+ planId: string;
683
+ }
684
+ export interface PlansApiGetPlanRequest {
685
+ /**
686
+ *
687
+ * @type string
688
+ * @memberof PlansApigetPlan
689
+ */
690
+ planId: string;
691
+ }
692
+ export interface PlansApiListPlansRequest {
693
+ /**
694
+ *
695
+ * @type number
696
+ * @memberof PlansApilistPlans
697
+ */
698
+ limit?: number;
699
+ /**
700
+ *
701
+ * @type string
702
+ * @memberof PlansApilistPlans
703
+ */
704
+ cursor?: string;
705
+ }
706
+ export declare class ObjectPlansApi {
707
+ private api;
708
+ constructor(configuration: Configuration, requestFactory?: PlansApiRequestFactory, responseProcessor?: PlansApiResponseProcessor);
709
+ /**
710
+ * Delete a Plan by id.
711
+ * Delete Plan
712
+ * @param param the request object
713
+ */
714
+ deletePlanWithHttpInfo(param: PlansApiDeletePlanRequest, options?: Configuration): Promise<HttpInfo<DeletePlanResponse>>;
715
+ /**
716
+ * Delete a Plan by id.
717
+ * Delete Plan
718
+ * @param param the request object
719
+ */
720
+ deletePlan(param: PlansApiDeletePlanRequest, options?: Configuration): Promise<DeletePlanResponse>;
721
+ /**
722
+ * Get a Plan by id.
723
+ * Get Plan
724
+ * @param param the request object
725
+ */
726
+ getPlanWithHttpInfo(param: PlansApiGetPlanRequest, options?: Configuration): Promise<HttpInfo<GetPlanResponse>>;
727
+ /**
728
+ * Get a Plan by id.
729
+ * Get Plan
730
+ * @param param the request object
731
+ */
732
+ getPlan(param: PlansApiGetPlanRequest, options?: Configuration): Promise<GetPlanResponse>;
733
+ /**
734
+ * Get a list of Plans.
735
+ * List Plans
736
+ * @param param the request object
737
+ */
738
+ listPlansWithHttpInfo(param?: PlansApiListPlansRequest, options?: Configuration): Promise<HttpInfo<ListPlansResponse>>;
739
+ /**
740
+ * Get a list of Plans.
741
+ * List Plans
742
+ * @param param the request object
743
+ */
744
+ listPlans(param?: PlansApiListPlansRequest, options?: Configuration): Promise<ListPlansResponse>;
745
+ }
746
+ import { ReportsApiRequestFactory, ReportsApiResponseProcessor } from "../apis/ReportsApi";
747
+ export interface ReportsApiGetCommitmentReportResponseRequest {
748
+ /**
749
+ *
750
+ * @type string
751
+ * @memberof ReportsApigetCommitmentReportResponse
752
+ */
753
+ reportId?: string;
754
+ }
755
+ export interface ReportsApiGetProductsUsageReportRequest {
756
+ /**
757
+ *
758
+ * @type string
759
+ * @memberof ReportsApigetProductsUsageReport
760
+ */
761
+ reportId?: string;
762
+ /**
763
+ *
764
+ * @type number
765
+ * @memberof ReportsApigetProductsUsageReport
766
+ */
767
+ limit?: number;
768
+ /**
769
+ *
770
+ * @type string
771
+ * @memberof ReportsApigetProductsUsageReport
772
+ */
773
+ cursor?: string;
774
+ }
775
+ export declare class ObjectReportsApi {
776
+ private api;
777
+ constructor(configuration: Configuration, requestFactory?: ReportsApiRequestFactory, responseProcessor?: ReportsApiResponseProcessor);
778
+ /**
779
+ * Get commitment report
780
+ * @param param the request object
781
+ */
782
+ getCommitmentReportResponseWithHttpInfo(param?: ReportsApiGetCommitmentReportResponseRequest, options?: Configuration): Promise<HttpInfo<GetCommitmentReportResponse>>;
783
+ /**
784
+ * Get commitment report
785
+ * @param param the request object
786
+ */
787
+ getCommitmentReportResponse(param?: ReportsApiGetCommitmentReportResponseRequest, options?: Configuration): Promise<GetCommitmentReportResponse>;
788
+ /**
789
+ * Use this endpoint to get the products usage report.
790
+ * Get products usage report
791
+ * @param param the request object
792
+ */
793
+ getProductsUsageReportWithHttpInfo(param?: ReportsApiGetProductsUsageReportRequest, options?: Configuration): Promise<HttpInfo<GetProductsUsageReportResponse>>;
794
+ /**
795
+ * Use this endpoint to get the products usage report.
796
+ * Get products usage report
797
+ * @param param the request object
798
+ */
799
+ getProductsUsageReport(param?: ReportsApiGetProductsUsageReportRequest, options?: Configuration): Promise<GetProductsUsageReportResponse>;
800
+ }
801
+ import { WebhooksApiRequestFactory, WebhooksApiResponseProcessor } from "../apis/WebhooksApi";
802
+ export interface WebhooksApiWebhookSubscribeRequest {
803
+ /**
804
+ * Subscribe to webhooks and receive event notifications.
805
+ * @type WebhookSubscribeRequest
806
+ * @memberof WebhooksApiwebhookSubscribe
807
+ */
808
+ webhookSubscribeRequest: WebhookSubscribeRequest;
809
+ }
810
+ export declare class ObjectWebhooksApi {
811
+ private api;
812
+ constructor(configuration: Configuration, requestFactory?: WebhooksApiRequestFactory, responseProcessor?: WebhooksApiResponseProcessor);
813
+ /**
814
+ * Use this endpoint to subscribe to webhooks and receive event notifications.
815
+ * Subscribe to webhooks
816
+ * @param param the request object
817
+ */
818
+ webhookSubscribeWithHttpInfo(param: WebhooksApiWebhookSubscribeRequest, options?: Configuration): Promise<HttpInfo<void>>;
819
+ /**
820
+ * Use this endpoint to subscribe to webhooks and receive event notifications.
821
+ * Subscribe to webhooks
822
+ * @param param the request object
823
+ */
824
+ webhookSubscribe(param: WebhooksApiWebhookSubscribeRequest, options?: Configuration): Promise<void>;
825
+ }