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,509 +0,0 @@
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 declare class PromiseAuthApi {
45
- private api;
46
- constructor(configuration: Configuration, requestFactory?: AuthApiRequestFactory, responseProcessor?: AuthApiResponseProcessor);
47
- /**
48
- * 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.
49
- * Login by obtaining a new access token
50
- * @param loginRequest
51
- */
52
- loginWithHttpInfo(loginRequest: LoginRequest, _options?: Configuration): Promise<HttpInfo<LoginResponse>>;
53
- /**
54
- * 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.
55
- * Login by obtaining a new access token
56
- * @param loginRequest
57
- */
58
- login(loginRequest: LoginRequest, _options?: Configuration): Promise<LoginResponse>;
59
- }
60
- import { ContractsApiRequestFactory, ContractsApiResponseProcessor } from "../apis/ContractsApi";
61
- export declare class PromiseContractsApi {
62
- private api;
63
- constructor(configuration: Configuration, requestFactory?: ContractsApiRequestFactory, responseProcessor?: ContractsApiResponseProcessor);
64
- /**
65
- * Create a new Contract.
66
- * Create Contract
67
- * @param createContractRequest
68
- */
69
- createContractWithHttpInfo(createContractRequest: CreateContractRequest, _options?: Configuration): Promise<HttpInfo<CreateContractResponse>>;
70
- /**
71
- * Create a new Contract.
72
- * Create Contract
73
- * @param createContractRequest
74
- */
75
- createContract(createContractRequest: CreateContractRequest, _options?: Configuration): Promise<CreateContractResponse>;
76
- /**
77
- * Delete a Contract by id.
78
- * Delete Contract
79
- * @param contractId
80
- */
81
- deleteContractWithHttpInfo(contractId: string, _options?: Configuration): Promise<HttpInfo<DeleteContractResponse>>;
82
- /**
83
- * Delete a Contract by id.
84
- * Delete Contract
85
- * @param contractId
86
- */
87
- deleteContract(contractId: string, _options?: Configuration): Promise<DeleteContractResponse>;
88
- /**
89
- * Get a Contract by id.
90
- * Get Contract
91
- * @param contractId
92
- */
93
- getContractWithHttpInfo(contractId: string, _options?: Configuration): Promise<HttpInfo<GetContractResponse>>;
94
- /**
95
- * Get a Contract by id.
96
- * Get Contract
97
- * @param contractId
98
- */
99
- getContract(contractId: string, _options?: Configuration): Promise<GetContractResponse>;
100
- /**
101
- * Get a list of Contracts.
102
- * List Contracts
103
- * @param limit
104
- * @param cursor
105
- */
106
- listContractsWithHttpInfo(limit?: number, cursor?: string, _options?: Configuration): Promise<HttpInfo<ListContractsResponse>>;
107
- /**
108
- * Get a list of Contracts.
109
- * List Contracts
110
- * @param limit
111
- * @param cursor
112
- */
113
- listContracts(limit?: number, cursor?: string, _options?: Configuration): Promise<ListContractsResponse>;
114
- }
115
- import { CreditsApiRequestFactory, CreditsApiResponseProcessor } from "../apis/CreditsApi";
116
- export declare class PromiseCreditsApi {
117
- private api;
118
- constructor(configuration: Configuration, requestFactory?: CreditsApiRequestFactory, responseProcessor?: CreditsApiResponseProcessor);
119
- /**
120
- * 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.
121
- * Deduct credits from customer credit ledger
122
- * @param deductCreditsRequest
123
- */
124
- deductCreditsWithHttpInfo(deductCreditsRequest: DeductCreditsRequest, _options?: Configuration): Promise<HttpInfo<void>>;
125
- /**
126
- * 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.
127
- * Deduct credits from customer credit ledger
128
- * @param deductCreditsRequest
129
- */
130
- deductCredits(deductCreditsRequest: DeductCreditsRequest, _options?: Configuration): Promise<void>;
131
- /**
132
- * 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.
133
- * Grant credits to a customer credit ledger
134
- * @param grantCreditsRequest
135
- */
136
- grantCreditsWithHttpInfo(grantCreditsRequest: GrantCreditsRequest, _options?: Configuration): Promise<HttpInfo<void>>;
137
- /**
138
- * 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.
139
- * Grant credits to a customer credit ledger
140
- * @param grantCreditsRequest
141
- */
142
- grantCredits(grantCreditsRequest: GrantCreditsRequest, _options?: Configuration): Promise<void>;
143
- /**
144
- * This endpoint is used to retrieve the credit ledger entries for a specific customer.
145
- * Retrieve credit ledger entries for customer.
146
- * @param customerId
147
- * @param limit
148
- * @param cursor
149
- */
150
- listCreditLedgerEntriesWithHttpInfo(customerId: string, limit?: number, cursor?: string, _options?: Configuration): Promise<HttpInfo<ListCreditLedgerEntriesResponse>>;
151
- /**
152
- * This endpoint is used to retrieve the credit ledger entries for a specific customer.
153
- * Retrieve credit ledger entries for customer.
154
- * @param customerId
155
- * @param limit
156
- * @param cursor
157
- */
158
- listCreditLedgerEntries(customerId: string, limit?: number, cursor?: string, _options?: Configuration): Promise<ListCreditLedgerEntriesResponse>;
159
- }
160
- import { CustomersApiRequestFactory, CustomersApiResponseProcessor } from "../apis/CustomersApi";
161
- export declare class PromiseCustomersApi {
162
- private api;
163
- constructor(configuration: Configuration, requestFactory?: CustomersApiRequestFactory, responseProcessor?: CustomersApiResponseProcessor);
164
- /**
165
- * Create a new Customer.
166
- * Create Customer
167
- * @param createCustomerRequest
168
- */
169
- createCustomerWithHttpInfo(createCustomerRequest: CreateCustomerRequest, _options?: Configuration): Promise<HttpInfo<CreateCustomerResponse>>;
170
- /**
171
- * Create a new Customer.
172
- * Create Customer
173
- * @param createCustomerRequest
174
- */
175
- createCustomer(createCustomerRequest: CreateCustomerRequest, _options?: Configuration): Promise<CreateCustomerResponse>;
176
- /**
177
- * Delete a Customer by id.
178
- * Delete Customer
179
- * @param customerId
180
- */
181
- deleteCustomerWithHttpInfo(customerId: string, _options?: Configuration): Promise<HttpInfo<DeleteCustomerResponse>>;
182
- /**
183
- * Delete a Customer by id.
184
- * Delete Customer
185
- * @param customerId
186
- */
187
- deleteCustomer(customerId: string, _options?: Configuration): Promise<DeleteCustomerResponse>;
188
- /**
189
- * Get a Customer by id.
190
- * Get Customer
191
- * @param customerId
192
- */
193
- getCustomerWithHttpInfo(customerId: string, _options?: Configuration): Promise<HttpInfo<GetCustomerResponse>>;
194
- /**
195
- * Get a Customer by id.
196
- * Get Customer
197
- * @param customerId
198
- */
199
- getCustomer(customerId: string, _options?: Configuration): Promise<GetCustomerResponse>;
200
- /**
201
- * Get a list of Customers.
202
- * List Customers
203
- * @param limit
204
- * @param cursor
205
- */
206
- listCustomersWithHttpInfo(limit?: number, cursor?: string, _options?: Configuration): Promise<HttpInfo<ListCustomersResponse>>;
207
- /**
208
- * Get a list of Customers.
209
- * List Customers
210
- * @param limit
211
- * @param cursor
212
- */
213
- listCustomers(limit?: number, cursor?: string, _options?: Configuration): Promise<ListCustomersResponse>;
214
- /**
215
- * Update a Customer by id.
216
- * Update Customer
217
- * @param updateCustomerRequest
218
- * @param customerId
219
- */
220
- updateCustomerWithHttpInfo(updateCustomerRequest: UpdateCustomerRequest, customerId: string, _options?: Configuration): Promise<HttpInfo<UpdateCustomerResponse>>;
221
- /**
222
- * Update a Customer by id.
223
- * Update Customer
224
- * @param updateCustomerRequest
225
- * @param customerId
226
- */
227
- updateCustomer(updateCustomerRequest: UpdateCustomerRequest, customerId: string, _options?: Configuration): Promise<UpdateCustomerResponse>;
228
- }
229
- import { EventsApiRequestFactory, EventsApiResponseProcessor } from "../apis/EventsApi";
230
- export declare class PromiseEventsApi {
231
- private api;
232
- constructor(configuration: Configuration, requestFactory?: EventsApiRequestFactory, responseProcessor?: EventsApiResponseProcessor);
233
- /**
234
- * Use this endpoint to remove a specific event using its reference ID.
235
- * Delete an event by refId
236
- * @param refId
237
- */
238
- deleteEventByRefIdWithHttpInfo(refId: string, _options?: Configuration): Promise<HttpInfo<DeleteEventResponse>>;
239
- /**
240
- * Use this endpoint to remove a specific event using its reference ID.
241
- * Delete an event by refId
242
- * @param refId
243
- */
244
- deleteEventByRefId(refId: string, _options?: Configuration): Promise<DeleteEventResponse>;
245
- /**
246
- * Use this endpoint to get a specific event using its reference ID.
247
- * Get event by refId
248
- * @param refId
249
- */
250
- getEventByRefIdWithHttpInfo(refId: string, _options?: Configuration): Promise<HttpInfo<GetEventResponse>>;
251
- /**
252
- * Use this endpoint to get a specific event using its reference ID.
253
- * Get event by refId
254
- * @param refId
255
- */
256
- getEventByRefId(refId: string, _options?: Configuration): Promise<GetEventResponse>;
257
- /**
258
- * Fetch events occurring within a specified timestamp range. An optional event name can be provided to further filter the events.
259
- * Query events by timestamp period and optional event name
260
- * @param startTime
261
- * @param endTime
262
- * @param eventName
263
- * @param limit
264
- * @param cursor
265
- */
266
- queryEventsWithHttpInfo(startTime: Date, endTime: Date, eventName?: string, limit?: number, cursor?: string, _options?: Configuration): Promise<HttpInfo<QueryEventsResponse>>;
267
- /**
268
- * Fetch events occurring within a specified timestamp range. An optional event name can be provided to further filter the events.
269
- * Query events by timestamp period and optional event name
270
- * @param startTime
271
- * @param endTime
272
- * @param eventName
273
- * @param limit
274
- * @param cursor
275
- */
276
- queryEvents(startTime: Date, endTime: Date, eventName?: string, limit?: number, cursor?: string, _options?: Configuration): Promise<QueryEventsResponse>;
277
- /**
278
- * Use this endpoint to send an array of events for processing and storage. Make sure to comply with the request schema for each event.
279
- * Submit a batch of events for ingestion
280
- * @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
281
- */
282
- sendEventsWithHttpInfo(sendEventsRequest: SendEventsRequest, _options?: Configuration): Promise<HttpInfo<SendEventsResponse>>;
283
- /**
284
- * Use this endpoint to send an array of events for processing and storage. Make sure to comply with the request schema for each event.
285
- * Submit a batch of events for ingestion
286
- * @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
287
- */
288
- sendEvents(sendEventsRequest: SendEventsRequest, _options?: Configuration): Promise<SendEventsResponse>;
289
- /**
290
- * 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.
291
- * Submit a batch of events for testing
292
- * @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
293
- */
294
- sendEventsDryRunWithHttpInfo(eventsDryRunRequest: EventsDryRunRequest, _options?: Configuration): Promise<HttpInfo<EventsDryRunResponse>>;
295
- /**
296
- * 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.
297
- * Submit a batch of events for testing
298
- * @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
299
- */
300
- sendEventsDryRun(eventsDryRunRequest: EventsDryRunRequest, _options?: Configuration): Promise<EventsDryRunResponse>;
301
- }
302
- import { IntegrationsApiRequestFactory, IntegrationsApiResponseProcessor } from "../apis/IntegrationsApi";
303
- export declare class PromiseIntegrationsApi {
304
- private api;
305
- constructor(configuration: Configuration, requestFactory?: IntegrationsApiRequestFactory, responseProcessor?: IntegrationsApiResponseProcessor);
306
- /**
307
- * This endpoint is used to export sales order to NetSuite.
308
- * Export sales order to NetSuite
309
- * @param netSuiteExportSalesOrderRequest
310
- */
311
- exportNetSuiteSalesOrderWithHttpInfo(netSuiteExportSalesOrderRequest: NetSuiteExportSalesOrderRequest, _options?: Configuration): Promise<HttpInfo<void>>;
312
- /**
313
- * This endpoint is used to export sales order to NetSuite.
314
- * Export sales order to NetSuite
315
- * @param netSuiteExportSalesOrderRequest
316
- */
317
- exportNetSuiteSalesOrder(netSuiteExportSalesOrderRequest: NetSuiteExportSalesOrderRequest, _options?: Configuration): Promise<void>;
318
- /**
319
- * This endpoint is used to sync invoices to NetSuite.
320
- * Sync invoices to NetSuite
321
- * @param netSuiteSyncInvoicesRequest
322
- */
323
- netSuiteSyncInvoicesWithHttpInfo(netSuiteSyncInvoicesRequest: NetSuiteSyncInvoicesRequest, _options?: Configuration): Promise<HttpInfo<NetSuiteSyncInvoicesResponse>>;
324
- /**
325
- * This endpoint is used to sync invoices to NetSuite.
326
- * Sync invoices to NetSuite
327
- * @param netSuiteSyncInvoicesRequest
328
- */
329
- netSuiteSyncInvoices(netSuiteSyncInvoicesRequest: NetSuiteSyncInvoicesRequest, _options?: Configuration): Promise<NetSuiteSyncInvoicesResponse>;
330
- }
331
- import { InvoicesApiRequestFactory, InvoicesApiResponseProcessor } from "../apis/InvoicesApi";
332
- export declare class PromiseInvoicesApi {
333
- private api;
334
- constructor(configuration: Configuration, requestFactory?: InvoicesApiRequestFactory, responseProcessor?: InvoicesApiResponseProcessor);
335
- /**
336
- * Get a Invoice by id.
337
- * Get Invoice
338
- * @param invoiceId
339
- */
340
- getInvoiceWithHttpInfo(invoiceId: string, _options?: Configuration): Promise<HttpInfo<GetInvoiceResponse>>;
341
- /**
342
- * Get a Invoice by id.
343
- * Get Invoice
344
- * @param invoiceId
345
- */
346
- getInvoice(invoiceId: string, _options?: Configuration): Promise<GetInvoiceResponse>;
347
- /**
348
- * Get a list of Invoices.
349
- * List Invoices
350
- * @param limit
351
- * @param cursor
352
- */
353
- listInvoicesWithHttpInfo(limit?: number, cursor?: string, _options?: Configuration): Promise<HttpInfo<ListInvoicesResponse>>;
354
- /**
355
- * Get a list of Invoices.
356
- * List Invoices
357
- * @param limit
358
- * @param cursor
359
- */
360
- listInvoices(limit?: number, cursor?: string, _options?: Configuration): Promise<ListInvoicesResponse>;
361
- }
362
- import { MetersApiRequestFactory, MetersApiResponseProcessor } from "../apis/MetersApi";
363
- export declare class PromiseMetersApi {
364
- private api;
365
- constructor(configuration: Configuration, requestFactory?: MetersApiRequestFactory, responseProcessor?: MetersApiResponseProcessor);
366
- /**
367
- * Delete a Meter by id.
368
- * Delete Meter
369
- * @param meterId
370
- */
371
- deleteMeterWithHttpInfo(meterId: string, _options?: Configuration): Promise<HttpInfo<DeleteMeterResponse>>;
372
- /**
373
- * Delete a Meter by id.
374
- * Delete Meter
375
- * @param meterId
376
- */
377
- deleteMeter(meterId: string, _options?: Configuration): Promise<DeleteMeterResponse>;
378
- /**
379
- * Get a Meter by id.
380
- * Get Meter
381
- * @param meterId
382
- */
383
- getMeterWithHttpInfo(meterId: string, _options?: Configuration): Promise<HttpInfo<GetMeterResponse>>;
384
- /**
385
- * Get a Meter by id.
386
- * Get Meter
387
- * @param meterId
388
- */
389
- getMeter(meterId: string, _options?: Configuration): Promise<GetMeterResponse>;
390
- /**
391
- * Get a list of Meters.
392
- * List Meters
393
- * @param limit
394
- * @param cursor
395
- */
396
- listMetersWithHttpInfo(limit?: number, cursor?: string, _options?: Configuration): Promise<HttpInfo<ListMetersResponse>>;
397
- /**
398
- * Get a list of Meters.
399
- * List Meters
400
- * @param limit
401
- * @param cursor
402
- */
403
- listMeters(limit?: number, cursor?: string, _options?: Configuration): Promise<ListMetersResponse>;
404
- /**
405
- * Update a Meter by id.
406
- * Update Meter
407
- * @param updateMeterRequest
408
- * @param meterId
409
- */
410
- updateMeterWithHttpInfo(updateMeterRequest: UpdateMeterRequest, meterId: string, _options?: Configuration): Promise<HttpInfo<UpdateMeterResponse>>;
411
- /**
412
- * Update a Meter by id.
413
- * Update Meter
414
- * @param updateMeterRequest
415
- * @param meterId
416
- */
417
- updateMeter(updateMeterRequest: UpdateMeterRequest, meterId: string, _options?: Configuration): Promise<UpdateMeterResponse>;
418
- }
419
- import { PlansApiRequestFactory, PlansApiResponseProcessor } from "../apis/PlansApi";
420
- export declare class PromisePlansApi {
421
- private api;
422
- constructor(configuration: Configuration, requestFactory?: PlansApiRequestFactory, responseProcessor?: PlansApiResponseProcessor);
423
- /**
424
- * Delete a Plan by id.
425
- * Delete Plan
426
- * @param planId
427
- */
428
- deletePlanWithHttpInfo(planId: string, _options?: Configuration): Promise<HttpInfo<DeletePlanResponse>>;
429
- /**
430
- * Delete a Plan by id.
431
- * Delete Plan
432
- * @param planId
433
- */
434
- deletePlan(planId: string, _options?: Configuration): Promise<DeletePlanResponse>;
435
- /**
436
- * Get a Plan by id.
437
- * Get Plan
438
- * @param planId
439
- */
440
- getPlanWithHttpInfo(planId: string, _options?: Configuration): Promise<HttpInfo<GetPlanResponse>>;
441
- /**
442
- * Get a Plan by id.
443
- * Get Plan
444
- * @param planId
445
- */
446
- getPlan(planId: string, _options?: Configuration): Promise<GetPlanResponse>;
447
- /**
448
- * Get a list of Plans.
449
- * List Plans
450
- * @param limit
451
- * @param cursor
452
- */
453
- listPlansWithHttpInfo(limit?: number, cursor?: string, _options?: Configuration): Promise<HttpInfo<ListPlansResponse>>;
454
- /**
455
- * Get a list of Plans.
456
- * List Plans
457
- * @param limit
458
- * @param cursor
459
- */
460
- listPlans(limit?: number, cursor?: string, _options?: Configuration): Promise<ListPlansResponse>;
461
- }
462
- import { ReportsApiRequestFactory, ReportsApiResponseProcessor } from "../apis/ReportsApi";
463
- export declare class PromiseReportsApi {
464
- private api;
465
- constructor(configuration: Configuration, requestFactory?: ReportsApiRequestFactory, responseProcessor?: ReportsApiResponseProcessor);
466
- /**
467
- * Get commitment report
468
- * @param reportId
469
- */
470
- getCommitmentReportResponseWithHttpInfo(reportId?: string, _options?: Configuration): Promise<HttpInfo<GetCommitmentReportResponse>>;
471
- /**
472
- * Get commitment report
473
- * @param reportId
474
- */
475
- getCommitmentReportResponse(reportId?: string, _options?: Configuration): Promise<GetCommitmentReportResponse>;
476
- /**
477
- * Use this endpoint to get the products usage report.
478
- * Get products usage report
479
- * @param reportId
480
- * @param limit
481
- * @param cursor
482
- */
483
- getProductsUsageReportWithHttpInfo(reportId?: string, limit?: number, cursor?: string, _options?: Configuration): Promise<HttpInfo<GetProductsUsageReportResponse>>;
484
- /**
485
- * Use this endpoint to get the products usage report.
486
- * Get products usage report
487
- * @param reportId
488
- * @param limit
489
- * @param cursor
490
- */
491
- getProductsUsageReport(reportId?: string, limit?: number, cursor?: string, _options?: Configuration): Promise<GetProductsUsageReportResponse>;
492
- }
493
- import { WebhooksApiRequestFactory, WebhooksApiResponseProcessor } from "../apis/WebhooksApi";
494
- export declare class PromiseWebhooksApi {
495
- private api;
496
- constructor(configuration: Configuration, requestFactory?: WebhooksApiRequestFactory, responseProcessor?: WebhooksApiResponseProcessor);
497
- /**
498
- * Use this endpoint to subscribe to webhooks and receive event notifications.
499
- * Subscribe to webhooks
500
- * @param webhookSubscribeRequest Subscribe to webhooks and receive event notifications.
501
- */
502
- webhookSubscribeWithHttpInfo(webhookSubscribeRequest: WebhookSubscribeRequest, _options?: Configuration): Promise<HttpInfo<void>>;
503
- /**
504
- * Use this endpoint to subscribe to webhooks and receive event notifications.
505
- * Subscribe to webhooks
506
- * @param webhookSubscribeRequest Subscribe to webhooks and receive event notifications.
507
- */
508
- webhookSubscribe(webhookSubscribeRequest: WebhookSubscribeRequest, _options?: Configuration): Promise<void>;
509
- }