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,58 +0,0 @@
1
- "use strict";
2
- /**
3
- * Vayu API
4
- * The Vayu API is a RESTful API that allows you to submit events for processing and storage & manage billing related entities. The API is secured using the Bearer Authentication scheme with JWT tokens. To obtain a JWT token, please contact Vayu at team@withvayu.com
5
- *
6
- * OpenAPI spec version: 1.0.0
7
- * Contact: dev@withvayu.com
8
- *
9
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
10
- * https://openapi-generator.tech
11
- * Do not edit the class manually.
12
- */
13
- Object.defineProperty(exports, "__esModule", { value: true });
14
- exports.PlanBillingData = void 0;
15
- /**
16
- * The billing data of the plan. The billing data contains the billing interval, the plan duration the payment terms and auto renewal, and the billing method.
17
- */
18
- class PlanBillingData {
19
- static getAttributeTypeMap() {
20
- return PlanBillingData.attributeTypeMap;
21
- }
22
- constructor() {
23
- }
24
- }
25
- exports.PlanBillingData = PlanBillingData;
26
- PlanBillingData.discriminator = undefined;
27
- PlanBillingData.attributeTypeMap = [
28
- {
29
- "name": "billingInterval",
30
- "baseName": "billingInterval",
31
- "type": "BillingInterval",
32
- "format": ""
33
- },
34
- {
35
- "name": "duration",
36
- "baseName": "duration",
37
- "type": "number",
38
- "format": ""
39
- },
40
- {
41
- "name": "paymentTerm",
42
- "baseName": "paymentTerm",
43
- "type": "PaymentTerm",
44
- "format": ""
45
- },
46
- {
47
- "name": "autoRenewal",
48
- "baseName": "autoRenewal",
49
- "type": "boolean",
50
- "format": ""
51
- },
52
- {
53
- "name": "proRated",
54
- "baseName": "proRated",
55
- "type": "boolean",
56
- "format": ""
57
- }
58
- ];
@@ -1,19 +0,0 @@
1
- /**
2
- * Vayu API
3
- * The Vayu API is a RESTful API that allows you to submit events for processing and storage & manage billing related entities. The API is secured using the Bearer Authentication scheme with JWT tokens. To obtain a JWT token, please contact Vayu at team@withvayu.com
4
- *
5
- * OpenAPI spec version: 1.0.0
6
- * Contact: dev@withvayu.com
7
- *
8
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
- * https://openapi-generator.tech
10
- * Do not edit the class manually.
11
- */
12
- /**
13
- * The status of the plan. plan statuses are active, inactive
14
- */
15
- export declare enum PlanStatus {
16
- Active = "Active",
17
- Inactive = "Inactive",
18
- Error = "Error"
19
- }
@@ -1,23 +0,0 @@
1
- "use strict";
2
- /**
3
- * Vayu API
4
- * The Vayu API is a RESTful API that allows you to submit events for processing and storage & manage billing related entities. The API is secured using the Bearer Authentication scheme with JWT tokens. To obtain a JWT token, please contact Vayu at team@withvayu.com
5
- *
6
- * OpenAPI spec version: 1.0.0
7
- * Contact: dev@withvayu.com
8
- *
9
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
10
- * https://openapi-generator.tech
11
- * Do not edit the class manually.
12
- */
13
- Object.defineProperty(exports, "__esModule", { value: true });
14
- exports.PlanStatus = void 0;
15
- /**
16
- * The status of the plan. plan statuses are active, inactive
17
- */
18
- var PlanStatus;
19
- (function (PlanStatus) {
20
- PlanStatus["Active"] = "Active";
21
- PlanStatus["Inactive"] = "Inactive";
22
- PlanStatus["Error"] = "Error";
23
- })(PlanStatus = exports.PlanStatus || (exports.PlanStatus = {}));
@@ -1,32 +0,0 @@
1
- /**
2
- * Vayu API
3
- * The Vayu API is a RESTful API that allows you to submit events for processing and storage & manage billing related entities. The API is secured using the Bearer Authentication scheme with JWT tokens. To obtain a JWT token, please contact Vayu at team@withvayu.com
4
- *
5
- * OpenAPI spec version: 1.0.0
6
- * Contact: dev@withvayu.com
7
- *
8
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
- * https://openapi-generator.tech
10
- * Do not edit the class manually.
11
- */
12
- import { QueryEventsResponseEventsInner } from '../models/QueryEventsResponseEventsInner';
13
- export declare class QueryEventsResponse {
14
- /**
15
- * An array of events matching the query criteria
16
- */
17
- 'events': Array<QueryEventsResponseEventsInner>;
18
- static readonly discriminator: string | undefined;
19
- static readonly attributeTypeMap: Array<{
20
- name: string;
21
- baseName: string;
22
- type: string;
23
- format: string;
24
- }>;
25
- static getAttributeTypeMap(): {
26
- name: string;
27
- baseName: string;
28
- type: string;
29
- format: string;
30
- }[];
31
- constructor();
32
- }
@@ -1,31 +0,0 @@
1
- "use strict";
2
- /**
3
- * Vayu API
4
- * The Vayu API is a RESTful API that allows you to submit events for processing and storage & manage billing related entities. The API is secured using the Bearer Authentication scheme with JWT tokens. To obtain a JWT token, please contact Vayu at team@withvayu.com
5
- *
6
- * OpenAPI spec version: 1.0.0
7
- * Contact: dev@withvayu.com
8
- *
9
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
10
- * https://openapi-generator.tech
11
- * Do not edit the class manually.
12
- */
13
- Object.defineProperty(exports, "__esModule", { value: true });
14
- exports.QueryEventsResponse = void 0;
15
- class QueryEventsResponse {
16
- static getAttributeTypeMap() {
17
- return QueryEventsResponse.attributeTypeMap;
18
- }
19
- constructor() {
20
- }
21
- }
22
- exports.QueryEventsResponse = QueryEventsResponse;
23
- QueryEventsResponse.discriminator = undefined;
24
- QueryEventsResponse.attributeTypeMap = [
25
- {
26
- "name": "events",
27
- "baseName": "events",
28
- "type": "Array<QueryEventsResponseEventsInner>",
29
- "format": ""
30
- }
31
- ];
@@ -1,52 +0,0 @@
1
- /**
2
- * Vayu API
3
- * The Vayu API is a RESTful API that allows you to submit events for processing and storage & manage billing related entities. The API is secured using the Bearer Authentication scheme with JWT tokens. To obtain a JWT token, please contact Vayu at team@withvayu.com
4
- *
5
- * OpenAPI spec version: 1.0.0
6
- * Contact: dev@withvayu.com
7
- *
8
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
- * https://openapi-generator.tech
10
- * Do not edit the class manually.
11
- */
12
- export declare class QueryEventsResponseEventsInner {
13
- /**
14
- * The distinctive label assigned to an event, serving as a critical identifier for categorizing and pricing events within the system\'s backend infrastructure.
15
- */
16
- 'name': string;
17
- /**
18
- * The temporal marker denoting the exact moment of event occurrence. The timestamp is formatted as an ISO 8601 string and is expressed in Coordinated Universal Time (UTC). i.e. YYYY-MM-DDTHH:MM:SS.SSSZ
19
- */
20
- 'timestamp': Date;
21
- /**
22
- * A pseudonymous or otherwise obfuscated identifier uniquely assigned to each customer.
23
- */
24
- 'customerAlias': string;
25
- /**
26
- * A universally unique identifier (UUID) or other form of high-entropy string serving as an immutable reference for each event entry.
27
- */
28
- 'ref': string;
29
- /**
30
- * A schema-less JSON object encapsulating miscellaneous attributes and metrics associated with the event.
31
- */
32
- 'data'?: {
33
- [key: string]: any | null;
34
- } | null;
35
- 'id': string;
36
- 'createdAt': Date;
37
- 'updatedAt': Date;
38
- static readonly discriminator: string | undefined;
39
- static readonly attributeTypeMap: Array<{
40
- name: string;
41
- baseName: string;
42
- type: string;
43
- format: string;
44
- }>;
45
- static getAttributeTypeMap(): {
46
- name: string;
47
- baseName: string;
48
- type: string;
49
- format: string;
50
- }[];
51
- constructor();
52
- }
@@ -1,73 +0,0 @@
1
- "use strict";
2
- /**
3
- * Vayu API
4
- * The Vayu API is a RESTful API that allows you to submit events for processing and storage & manage billing related entities. The API is secured using the Bearer Authentication scheme with JWT tokens. To obtain a JWT token, please contact Vayu at team@withvayu.com
5
- *
6
- * OpenAPI spec version: 1.0.0
7
- * Contact: dev@withvayu.com
8
- *
9
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
10
- * https://openapi-generator.tech
11
- * Do not edit the class manually.
12
- */
13
- Object.defineProperty(exports, "__esModule", { value: true });
14
- exports.QueryEventsResponseEventsInner = void 0;
15
- class QueryEventsResponseEventsInner {
16
- static getAttributeTypeMap() {
17
- return QueryEventsResponseEventsInner.attributeTypeMap;
18
- }
19
- constructor() {
20
- }
21
- }
22
- exports.QueryEventsResponseEventsInner = QueryEventsResponseEventsInner;
23
- QueryEventsResponseEventsInner.discriminator = undefined;
24
- QueryEventsResponseEventsInner.attributeTypeMap = [
25
- {
26
- "name": "name",
27
- "baseName": "name",
28
- "type": "string",
29
- "format": ""
30
- },
31
- {
32
- "name": "timestamp",
33
- "baseName": "timestamp",
34
- "type": "Date",
35
- "format": "date-time"
36
- },
37
- {
38
- "name": "customerAlias",
39
- "baseName": "customerAlias",
40
- "type": "string",
41
- "format": ""
42
- },
43
- {
44
- "name": "ref",
45
- "baseName": "ref",
46
- "type": "string",
47
- "format": ""
48
- },
49
- {
50
- "name": "data",
51
- "baseName": "data",
52
- "type": "{ [key: string]: any | null; }",
53
- "format": ""
54
- },
55
- {
56
- "name": "id",
57
- "baseName": "id",
58
- "type": "string",
59
- "format": ""
60
- },
61
- {
62
- "name": "createdAt",
63
- "baseName": "createdAt",
64
- "type": "Date",
65
- "format": "date-time"
66
- },
67
- {
68
- "name": "updatedAt",
69
- "baseName": "updatedAt",
70
- "type": "Date",
71
- "format": "date-time"
72
- }
73
- ];
@@ -1,29 +0,0 @@
1
- /**
2
- * Vayu API
3
- * The Vayu API is a RESTful API that allows you to submit events for processing and storage & manage billing related entities. The API is secured using the Bearer Authentication scheme with JWT tokens. To obtain a JWT token, please contact Vayu at team@withvayu.com
4
- *
5
- * OpenAPI spec version: 1.0.0
6
- * Contact: dev@withvayu.com
7
- *
8
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
- * https://openapi-generator.tech
10
- * Do not edit the class manually.
11
- */
12
- import { Event } from '../models/Event';
13
- export declare class SendEventsRequest {
14
- 'events': Array<Event>;
15
- static readonly discriminator: string | undefined;
16
- static readonly attributeTypeMap: Array<{
17
- name: string;
18
- baseName: string;
19
- type: string;
20
- format: string;
21
- }>;
22
- static getAttributeTypeMap(): {
23
- name: string;
24
- baseName: string;
25
- type: string;
26
- format: string;
27
- }[];
28
- constructor();
29
- }
@@ -1,31 +0,0 @@
1
- "use strict";
2
- /**
3
- * Vayu API
4
- * The Vayu API is a RESTful API that allows you to submit events for processing and storage & manage billing related entities. The API is secured using the Bearer Authentication scheme with JWT tokens. To obtain a JWT token, please contact Vayu at team@withvayu.com
5
- *
6
- * OpenAPI spec version: 1.0.0
7
- * Contact: dev@withvayu.com
8
- *
9
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
10
- * https://openapi-generator.tech
11
- * Do not edit the class manually.
12
- */
13
- Object.defineProperty(exports, "__esModule", { value: true });
14
- exports.SendEventsRequest = void 0;
15
- class SendEventsRequest {
16
- static getAttributeTypeMap() {
17
- return SendEventsRequest.attributeTypeMap;
18
- }
19
- constructor() {
20
- }
21
- }
22
- exports.SendEventsRequest = SendEventsRequest;
23
- SendEventsRequest.discriminator = undefined;
24
- SendEventsRequest.attributeTypeMap = [
25
- {
26
- "name": "events",
27
- "baseName": "events",
28
- "type": "Array<Event>",
29
- "format": ""
30
- }
31
- ];
@@ -1,37 +0,0 @@
1
- /**
2
- * Vayu API
3
- * The Vayu API is a RESTful API that allows you to submit events for processing and storage & manage billing related entities. The API is secured using the Bearer Authentication scheme with JWT tokens. To obtain a JWT token, please contact Vayu at team@withvayu.com
4
- *
5
- * OpenAPI spec version: 1.0.0
6
- * Contact: dev@withvayu.com
7
- *
8
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
- * https://openapi-generator.tech
10
- * Do not edit the class manually.
11
- */
12
- import { Event } from '../models/Event';
13
- import { InvalidEvent } from '../models/InvalidEvent';
14
- export declare class SendEventsResponse {
15
- /**
16
- * An array of events that were successfully processed and sent to the queue.
17
- */
18
- 'validEvents': Array<Event>;
19
- /**
20
- * An array of events that failed validation and were not sent to the queue. Each object contains the event and the error message.
21
- */
22
- 'invalidEvents': Array<InvalidEvent>;
23
- static readonly discriminator: string | undefined;
24
- static readonly attributeTypeMap: Array<{
25
- name: string;
26
- baseName: string;
27
- type: string;
28
- format: string;
29
- }>;
30
- static getAttributeTypeMap(): {
31
- name: string;
32
- baseName: string;
33
- type: string;
34
- format: string;
35
- }[];
36
- constructor();
37
- }
@@ -1,37 +0,0 @@
1
- "use strict";
2
- /**
3
- * Vayu API
4
- * The Vayu API is a RESTful API that allows you to submit events for processing and storage & manage billing related entities. The API is secured using the Bearer Authentication scheme with JWT tokens. To obtain a JWT token, please contact Vayu at team@withvayu.com
5
- *
6
- * OpenAPI spec version: 1.0.0
7
- * Contact: dev@withvayu.com
8
- *
9
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
10
- * https://openapi-generator.tech
11
- * Do not edit the class manually.
12
- */
13
- Object.defineProperty(exports, "__esModule", { value: true });
14
- exports.SendEventsResponse = void 0;
15
- class SendEventsResponse {
16
- static getAttributeTypeMap() {
17
- return SendEventsResponse.attributeTypeMap;
18
- }
19
- constructor() {
20
- }
21
- }
22
- exports.SendEventsResponse = SendEventsResponse;
23
- SendEventsResponse.discriminator = undefined;
24
- SendEventsResponse.attributeTypeMap = [
25
- {
26
- "name": "validEvents",
27
- "baseName": "validEvents",
28
- "type": "Array<Event>",
29
- "format": ""
30
- },
31
- {
32
- "name": "invalidEvents",
33
- "baseName": "invalidEvents",
34
- "type": "Array<InvalidEvent>",
35
- "format": ""
36
- }
37
- ];
@@ -1,35 +0,0 @@
1
- /**
2
- * Vayu API
3
- * The Vayu API is a RESTful API that allows you to submit events for processing and storage & manage billing related entities. The API is secured using the Bearer Authentication scheme with JWT tokens. To obtain a JWT token, please contact Vayu at team@withvayu.com
4
- *
5
- * OpenAPI spec version: 1.0.0
6
- * Contact: dev@withvayu.com
7
- *
8
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
- * https://openapi-generator.tech
10
- * Do not edit the class manually.
11
- */
12
- export declare class UpdateCustomerRequest {
13
- /**
14
- * The name of the customer
15
- */
16
- 'name'?: string;
17
- /**
18
- * The alias of the customer used to match events to the customer.
19
- */
20
- 'alias'?: string;
21
- static readonly discriminator: string | undefined;
22
- static readonly attributeTypeMap: Array<{
23
- name: string;
24
- baseName: string;
25
- type: string;
26
- format: string;
27
- }>;
28
- static getAttributeTypeMap(): {
29
- name: string;
30
- baseName: string;
31
- type: string;
32
- format: string;
33
- }[];
34
- constructor();
35
- }
@@ -1,37 +0,0 @@
1
- "use strict";
2
- /**
3
- * Vayu API
4
- * The Vayu API is a RESTful API that allows you to submit events for processing and storage & manage billing related entities. The API is secured using the Bearer Authentication scheme with JWT tokens. To obtain a JWT token, please contact Vayu at team@withvayu.com
5
- *
6
- * OpenAPI spec version: 1.0.0
7
- * Contact: dev@withvayu.com
8
- *
9
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
10
- * https://openapi-generator.tech
11
- * Do not edit the class manually.
12
- */
13
- Object.defineProperty(exports, "__esModule", { value: true });
14
- exports.UpdateCustomerRequest = void 0;
15
- class UpdateCustomerRequest {
16
- static getAttributeTypeMap() {
17
- return UpdateCustomerRequest.attributeTypeMap;
18
- }
19
- constructor() {
20
- }
21
- }
22
- exports.UpdateCustomerRequest = UpdateCustomerRequest;
23
- UpdateCustomerRequest.discriminator = undefined;
24
- UpdateCustomerRequest.attributeTypeMap = [
25
- {
26
- "name": "name",
27
- "baseName": "name",
28
- "type": "string",
29
- "format": ""
30
- },
31
- {
32
- "name": "alias",
33
- "baseName": "alias",
34
- "type": "string",
35
- "format": ""
36
- }
37
- ];
@@ -1,29 +0,0 @@
1
- /**
2
- * Vayu API
3
- * The Vayu API is a RESTful API that allows you to submit events for processing and storage & manage billing related entities. The API is secured using the Bearer Authentication scheme with JWT tokens. To obtain a JWT token, please contact Vayu at team@withvayu.com
4
- *
5
- * OpenAPI spec version: 1.0.0
6
- * Contact: dev@withvayu.com
7
- *
8
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
- * https://openapi-generator.tech
10
- * Do not edit the class manually.
11
- */
12
- import { CreateCustomerResponseCustomer } from '../models/CreateCustomerResponseCustomer';
13
- export declare class UpdateCustomerResponse {
14
- 'customer': CreateCustomerResponseCustomer;
15
- static readonly discriminator: string | undefined;
16
- static readonly attributeTypeMap: Array<{
17
- name: string;
18
- baseName: string;
19
- type: string;
20
- format: string;
21
- }>;
22
- static getAttributeTypeMap(): {
23
- name: string;
24
- baseName: string;
25
- type: string;
26
- format: string;
27
- }[];
28
- constructor();
29
- }
@@ -1,31 +0,0 @@
1
- "use strict";
2
- /**
3
- * Vayu API
4
- * The Vayu API is a RESTful API that allows you to submit events for processing and storage & manage billing related entities. The API is secured using the Bearer Authentication scheme with JWT tokens. To obtain a JWT token, please contact Vayu at team@withvayu.com
5
- *
6
- * OpenAPI spec version: 1.0.0
7
- * Contact: dev@withvayu.com
8
- *
9
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
10
- * https://openapi-generator.tech
11
- * Do not edit the class manually.
12
- */
13
- Object.defineProperty(exports, "__esModule", { value: true });
14
- exports.UpdateCustomerResponse = void 0;
15
- class UpdateCustomerResponse {
16
- static getAttributeTypeMap() {
17
- return UpdateCustomerResponse.attributeTypeMap;
18
- }
19
- constructor() {
20
- }
21
- }
22
- exports.UpdateCustomerResponse = UpdateCustomerResponse;
23
- UpdateCustomerResponse.discriminator = undefined;
24
- UpdateCustomerResponse.attributeTypeMap = [
25
- {
26
- "name": "customer",
27
- "baseName": "customer",
28
- "type": "CreateCustomerResponseCustomer",
29
- "format": ""
30
- }
31
- ];
@@ -1,39 +0,0 @@
1
- /**
2
- * Vayu API
3
- * The Vayu API is a RESTful API that allows you to submit events for processing and storage & manage billing related entities. The API is secured using the Bearer Authentication scheme with JWT tokens. To obtain a JWT token, please contact Vayu at team@withvayu.com
4
- *
5
- * OpenAPI spec version: 1.0.0
6
- * Contact: dev@withvayu.com
7
- *
8
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
- * https://openapi-generator.tech
10
- * Do not edit the class manually.
11
- */
12
- import { AggregationMethod } from '../models/AggregationMethod';
13
- import { Filter } from '../models/Filter';
14
- export declare class UpdateMeterRequest {
15
- /**
16
- * The name of the meter
17
- */
18
- 'name'?: string;
19
- /**
20
- * The name of the event that the meter is tracking.
21
- */
22
- 'eventName'?: string;
23
- 'aggregationMethod'?: AggregationMethod;
24
- 'filter'?: Filter;
25
- static readonly discriminator: string | undefined;
26
- static readonly attributeTypeMap: Array<{
27
- name: string;
28
- baseName: string;
29
- type: string;
30
- format: string;
31
- }>;
32
- static getAttributeTypeMap(): {
33
- name: string;
34
- baseName: string;
35
- type: string;
36
- format: string;
37
- }[];
38
- constructor();
39
- }
@@ -1,49 +0,0 @@
1
- "use strict";
2
- /**
3
- * Vayu API
4
- * The Vayu API is a RESTful API that allows you to submit events for processing and storage & manage billing related entities. The API is secured using the Bearer Authentication scheme with JWT tokens. To obtain a JWT token, please contact Vayu at team@withvayu.com
5
- *
6
- * OpenAPI spec version: 1.0.0
7
- * Contact: dev@withvayu.com
8
- *
9
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
10
- * https://openapi-generator.tech
11
- * Do not edit the class manually.
12
- */
13
- Object.defineProperty(exports, "__esModule", { value: true });
14
- exports.UpdateMeterRequest = void 0;
15
- class UpdateMeterRequest {
16
- static getAttributeTypeMap() {
17
- return UpdateMeterRequest.attributeTypeMap;
18
- }
19
- constructor() {
20
- }
21
- }
22
- exports.UpdateMeterRequest = UpdateMeterRequest;
23
- UpdateMeterRequest.discriminator = undefined;
24
- UpdateMeterRequest.attributeTypeMap = [
25
- {
26
- "name": "name",
27
- "baseName": "name",
28
- "type": "string",
29
- "format": ""
30
- },
31
- {
32
- "name": "eventName",
33
- "baseName": "eventName",
34
- "type": "string",
35
- "format": ""
36
- },
37
- {
38
- "name": "aggregationMethod",
39
- "baseName": "aggregationMethod",
40
- "type": "AggregationMethod",
41
- "format": ""
42
- },
43
- {
44
- "name": "filter",
45
- "baseName": "filter",
46
- "type": "Filter",
47
- "format": ""
48
- }
49
- ];