vayu-ts 0.0.7 → 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 (253) hide show
  1. package/package.json +1 -1
  2. package/dist/index.d.ts +0 -1
  3. package/dist/index.js +0 -17
  4. package/dist/openapi/apis/AuthApi.d.ts +0 -26
  5. package/dist/openapi/apis/AuthApi.js +0 -93
  6. package/dist/openapi/apis/ContractsApi.d.ts +0 -72
  7. package/dist/openapi/apis/ContractsApi.js +0 -307
  8. package/dist/openapi/apis/CreditsApi.d.ts +0 -57
  9. package/dist/openapi/apis/CreditsApi.js +0 -248
  10. package/dist/openapi/apis/CustomersApi.d.ts +0 -89
  11. package/dist/openapi/apis/CustomersApi.js +0 -388
  12. package/dist/openapi/apis/EventsApi.d.ts +0 -91
  13. package/dist/openapi/apis/EventsApi.js +0 -408
  14. package/dist/openapi/apis/IntegrationsApi.d.ts +0 -41
  15. package/dist/openapi/apis/IntegrationsApi.js +0 -170
  16. package/dist/openapi/apis/InvoicesApi.d.ts +0 -41
  17. package/dist/openapi/apis/InvoicesApi.js +0 -166
  18. package/dist/openapi/apis/MetersApi.d.ts +0 -73
  19. package/dist/openapi/apis/MetersApi.js +0 -316
  20. package/dist/openapi/apis/PlansApi.d.ts +0 -56
  21. package/dist/openapi/apis/PlansApi.js +0 -235
  22. package/dist/openapi/apis/ReportsApi.d.ts +0 -41
  23. package/dist/openapi/apis/ReportsApi.js +0 -166
  24. package/dist/openapi/apis/WebhooksApi.d.ts +0 -25
  25. package/dist/openapi/apis/WebhooksApi.js +0 -101
  26. package/dist/openapi/apis/baseapi.d.ts +0 -33
  27. package/dist/openapi/apis/baseapi.js +0 -41
  28. package/dist/openapi/apis/exception.d.ts +0 -19
  29. package/dist/openapi/apis/exception.js +0 -22
  30. package/dist/openapi/auth/auth.d.ts +0 -54
  31. package/dist/openapi/auth/auth.js +0 -50
  32. package/dist/openapi/configuration.d.ts +0 -63
  33. package/dist/openapi/configuration.js +0 -34
  34. package/dist/openapi/http/http.d.ts +0 -142
  35. package/dist/openapi/http/http.js +0 -229
  36. package/dist/openapi/http/isomorphic-fetch.d.ts +0 -5
  37. package/dist/openapi/http/isomorphic-fetch.js +0 -33
  38. package/dist/openapi/index.d.ts +0 -10
  39. package/dist/openapi/index.js +0 -38
  40. package/dist/openapi/middleware.d.ts +0 -54
  41. package/dist/openapi/middleware.js +0 -16
  42. package/dist/openapi/models/AggregationMethod.d.ts +0 -40
  43. package/dist/openapi/models/AggregationMethod.js +0 -46
  44. package/dist/openapi/models/AggregationOperator.d.ts +0 -24
  45. package/dist/openapi/models/AggregationOperator.js +0 -28
  46. package/dist/openapi/models/BillingCycleStatus.d.ts +0 -15
  47. package/dist/openapi/models/BillingCycleStatus.js +0 -19
  48. package/dist/openapi/models/BillingInterval.d.ts +0 -18
  49. package/dist/openapi/models/BillingInterval.js +0 -22
  50. package/dist/openapi/models/Condition.d.ts +0 -29
  51. package/dist/openapi/models/Condition.js +0 -31
  52. package/dist/openapi/models/ContractStatus.d.ts +0 -18
  53. package/dist/openapi/models/ContractStatus.js +0 -22
  54. package/dist/openapi/models/CreateContractRequest.d.ts +0 -43
  55. package/dist/openapi/models/CreateContractRequest.js +0 -49
  56. package/dist/openapi/models/CreateContractResponse.d.ts +0 -29
  57. package/dist/openapi/models/CreateContractResponse.js +0 -31
  58. package/dist/openapi/models/CreateCustomerRequest.d.ts +0 -35
  59. package/dist/openapi/models/CreateCustomerRequest.js +0 -37
  60. package/dist/openapi/models/CreateCustomerResponse.d.ts +0 -29
  61. package/dist/openapi/models/CreateCustomerResponse.js +0 -31
  62. package/dist/openapi/models/CreateCustomerResponseCustomer.d.ts +0 -38
  63. package/dist/openapi/models/CreateCustomerResponseCustomer.js +0 -55
  64. package/dist/openapi/models/CreditLedgerEntry.d.ts +0 -32
  65. package/dist/openapi/models/CreditLedgerEntry.js +0 -49
  66. package/dist/openapi/models/Criterion.d.ts +0 -31
  67. package/dist/openapi/models/Criterion.js +0 -43
  68. package/dist/openapi/models/CriterionOperator.d.ts +0 -23
  69. package/dist/openapi/models/CriterionOperator.js +0 -27
  70. package/dist/openapi/models/Currency.d.ts +0 -17
  71. package/dist/openapi/models/Currency.js +0 -21
  72. package/dist/openapi/models/DeductCreditsRequest.d.ts +0 -35
  73. package/dist/openapi/models/DeductCreditsRequest.js +0 -37
  74. package/dist/openapi/models/DeleteContractResponse.d.ts +0 -29
  75. package/dist/openapi/models/DeleteContractResponse.js +0 -31
  76. package/dist/openapi/models/DeleteContractResponseContract.d.ts +0 -47
  77. package/dist/openapi/models/DeleteContractResponseContract.js +0 -73
  78. package/dist/openapi/models/DeleteCustomerResponse.d.ts +0 -29
  79. package/dist/openapi/models/DeleteCustomerResponse.js +0 -31
  80. package/dist/openapi/models/DeleteCustomerResponseCustomer.d.ts +0 -39
  81. package/dist/openapi/models/DeleteCustomerResponseCustomer.js +0 -61
  82. package/dist/openapi/models/DeleteEventResponse.d.ts +0 -29
  83. package/dist/openapi/models/DeleteEventResponse.js +0 -31
  84. package/dist/openapi/models/DeleteEventResponseEvent.d.ts +0 -56
  85. package/dist/openapi/models/DeleteEventResponseEvent.js +0 -82
  86. package/dist/openapi/models/DeleteMeterResponse.d.ts +0 -29
  87. package/dist/openapi/models/DeleteMeterResponse.js +0 -31
  88. package/dist/openapi/models/DeleteMeterResponseMeter.d.ts +0 -43
  89. package/dist/openapi/models/DeleteMeterResponseMeter.js +0 -73
  90. package/dist/openapi/models/DeletePlanResponse.d.ts +0 -29
  91. package/dist/openapi/models/DeletePlanResponse.js +0 -31
  92. package/dist/openapi/models/DeletePlanResponsePlan.d.ts +0 -39
  93. package/dist/openapi/models/DeletePlanResponsePlan.js +0 -67
  94. package/dist/openapi/models/Event.d.ts +0 -49
  95. package/dist/openapi/models/Event.js +0 -55
  96. package/dist/openapi/models/EventsDryRunRequest.d.ts +0 -29
  97. package/dist/openapi/models/EventsDryRunRequest.js +0 -31
  98. package/dist/openapi/models/EventsDryRunResponse.d.ts +0 -29
  99. package/dist/openapi/models/EventsDryRunResponse.js +0 -31
  100. package/dist/openapi/models/EventsDryRunResponseObject.d.ts +0 -32
  101. package/dist/openapi/models/EventsDryRunResponseObject.js +0 -43
  102. package/dist/openapi/models/EventsDryRunResponseObjectEvent.d.ts +0 -35
  103. package/dist/openapi/models/EventsDryRunResponseObjectEvent.js +0 -61
  104. package/dist/openapi/models/EventsDryRunResponseObjectMeterWithValuesInner.d.ts +0 -41
  105. package/dist/openapi/models/EventsDryRunResponseObjectMeterWithValuesInner.js +0 -61
  106. package/dist/openapi/models/Filter.d.ts +0 -32
  107. package/dist/openapi/models/Filter.js +0 -34
  108. package/dist/openapi/models/GetCommitmentReportResponse.d.ts +0 -44
  109. package/dist/openapi/models/GetCommitmentReportResponse.js +0 -115
  110. package/dist/openapi/models/GetContractResponse.d.ts +0 -29
  111. package/dist/openapi/models/GetContractResponse.js +0 -31
  112. package/dist/openapi/models/GetContractResponseContract.d.ts +0 -46
  113. package/dist/openapi/models/GetContractResponseContract.js +0 -67
  114. package/dist/openapi/models/GetCustomerResponse.d.ts +0 -29
  115. package/dist/openapi/models/GetCustomerResponse.js +0 -31
  116. package/dist/openapi/models/GetEventResponse.d.ts +0 -29
  117. package/dist/openapi/models/GetEventResponse.js +0 -31
  118. package/dist/openapi/models/GetEventResponseEvent.d.ts +0 -55
  119. package/dist/openapi/models/GetEventResponseEvent.js +0 -76
  120. package/dist/openapi/models/GetInvoiceResponse.d.ts +0 -29
  121. package/dist/openapi/models/GetInvoiceResponse.js +0 -31
  122. package/dist/openapi/models/GetInvoiceResponseInvoice.d.ts +0 -50
  123. package/dist/openapi/models/GetInvoiceResponseInvoice.js +0 -79
  124. package/dist/openapi/models/GetMeterResponse.d.ts +0 -29
  125. package/dist/openapi/models/GetMeterResponse.js +0 -31
  126. package/dist/openapi/models/GetMeterResponseMeter.d.ts +0 -42
  127. package/dist/openapi/models/GetMeterResponseMeter.js +0 -67
  128. package/dist/openapi/models/GetPlanResponse.d.ts +0 -29
  129. package/dist/openapi/models/GetPlanResponse.js +0 -31
  130. package/dist/openapi/models/GetPlanResponsePlan.d.ts +0 -38
  131. package/dist/openapi/models/GetPlanResponsePlan.js +0 -61
  132. package/dist/openapi/models/GetProductsUsageReportResponse.d.ts +0 -44
  133. package/dist/openapi/models/GetProductsUsageReportResponse.js +0 -115
  134. package/dist/openapi/models/GrantCreditsRequest.d.ts +0 -35
  135. package/dist/openapi/models/GrantCreditsRequest.js +0 -37
  136. package/dist/openapi/models/InvalidEvent.d.ts +0 -33
  137. package/dist/openapi/models/InvalidEvent.js +0 -37
  138. package/dist/openapi/models/LineItem.d.ts +0 -35
  139. package/dist/openapi/models/LineItem.js +0 -37
  140. package/dist/openapi/models/ListContractsResponse.d.ts +0 -32
  141. package/dist/openapi/models/ListContractsResponse.js +0 -49
  142. package/dist/openapi/models/ListCreditLedgerEntriesResponse.d.ts +0 -32
  143. package/dist/openapi/models/ListCreditLedgerEntriesResponse.js +0 -31
  144. package/dist/openapi/models/ListCustomersResponse.d.ts +0 -32
  145. package/dist/openapi/models/ListCustomersResponse.js +0 -49
  146. package/dist/openapi/models/ListInvoicesResponse.d.ts +0 -32
  147. package/dist/openapi/models/ListInvoicesResponse.js +0 -49
  148. package/dist/openapi/models/ListMetersResponse.d.ts +0 -32
  149. package/dist/openapi/models/ListMetersResponse.js +0 -49
  150. package/dist/openapi/models/ListPlansResponse.d.ts +0 -32
  151. package/dist/openapi/models/ListPlansResponse.js +0 -49
  152. package/dist/openapi/models/LoginRequest.d.ts +0 -31
  153. package/dist/openapi/models/LoginRequest.js +0 -31
  154. package/dist/openapi/models/LoginResponse.d.ts +0 -31
  155. package/dist/openapi/models/LoginResponse.js +0 -31
  156. package/dist/openapi/models/Meter.d.ts +0 -39
  157. package/dist/openapi/models/Meter.js +0 -49
  158. package/dist/openapi/models/NetSuiteExportSalesOrderRequest.d.ts +0 -30
  159. package/dist/openapi/models/NetSuiteExportSalesOrderRequest.js +0 -43
  160. package/dist/openapi/models/NetSuiteSyncInvoicesRequest.d.ts +0 -34
  161. package/dist/openapi/models/NetSuiteSyncInvoicesRequest.js +0 -47
  162. package/dist/openapi/models/NetSuiteSyncInvoicesRequestData.d.ts +0 -39
  163. package/dist/openapi/models/NetSuiteSyncInvoicesRequestData.js +0 -85
  164. package/dist/openapi/models/NetSuiteSyncInvoicesRequestDataEntity.d.ts +0 -28
  165. package/dist/openapi/models/NetSuiteSyncInvoicesRequestDataEntity.js +0 -31
  166. package/dist/openapi/models/NetSuiteSyncInvoicesRequestDataItem.d.ts +0 -29
  167. package/dist/openapi/models/NetSuiteSyncInvoicesRequestDataItem.js +0 -31
  168. package/dist/openapi/models/NetSuiteSyncInvoicesRequestDataItemItemsInner.d.ts +0 -33
  169. package/dist/openapi/models/NetSuiteSyncInvoicesRequestDataItemItemsInner.js +0 -55
  170. package/dist/openapi/models/NetSuiteSyncInvoicesResponse.d.ts +0 -29
  171. package/dist/openapi/models/NetSuiteSyncInvoicesResponse.js +0 -37
  172. package/dist/openapi/models/NotificationEventType.d.ts +0 -17
  173. package/dist/openapi/models/NotificationEventType.js +0 -21
  174. package/dist/openapi/models/ObjectSerializer.d.ts +0 -106
  175. package/dist/openapi/models/ObjectSerializer.js +0 -488
  176. package/dist/openapi/models/PaymentTerm.d.ts +0 -15
  177. package/dist/openapi/models/PaymentTerm.js +0 -19
  178. package/dist/openapi/models/Period.d.ts +0 -32
  179. package/dist/openapi/models/Period.js +0 -40
  180. package/dist/openapi/models/PlanBillingData.d.ts +0 -37
  181. package/dist/openapi/models/PlanBillingData.js +0 -58
  182. package/dist/openapi/models/PlanStatus.d.ts +0 -19
  183. package/dist/openapi/models/PlanStatus.js +0 -23
  184. package/dist/openapi/models/QueryEventsResponse.d.ts +0 -32
  185. package/dist/openapi/models/QueryEventsResponse.js +0 -31
  186. package/dist/openapi/models/QueryEventsResponseEventsInner.d.ts +0 -52
  187. package/dist/openapi/models/QueryEventsResponseEventsInner.js +0 -73
  188. package/dist/openapi/models/SendEventsRequest.d.ts +0 -29
  189. package/dist/openapi/models/SendEventsRequest.js +0 -31
  190. package/dist/openapi/models/SendEventsResponse.d.ts +0 -37
  191. package/dist/openapi/models/SendEventsResponse.js +0 -37
  192. package/dist/openapi/models/UpdateCustomerRequest.d.ts +0 -35
  193. package/dist/openapi/models/UpdateCustomerRequest.js +0 -37
  194. package/dist/openapi/models/UpdateCustomerResponse.d.ts +0 -29
  195. package/dist/openapi/models/UpdateCustomerResponse.js +0 -31
  196. package/dist/openapi/models/UpdateMeterRequest.d.ts +0 -39
  197. package/dist/openapi/models/UpdateMeterRequest.js +0 -49
  198. package/dist/openapi/models/UpdateMeterResponse.d.ts +0 -29
  199. package/dist/openapi/models/UpdateMeterResponse.js +0 -31
  200. package/dist/openapi/models/WebhookSubscribeRequest.d.ts +0 -30
  201. package/dist/openapi/models/WebhookSubscribeRequest.js +0 -37
  202. package/dist/openapi/models/all.d.ts +0 -79
  203. package/dist/openapi/models/all.js +0 -95
  204. package/dist/openapi/rxjsStub.d.ts +0 -10
  205. package/dist/openapi/rxjsStub.js +0 -31
  206. package/dist/openapi/servers.d.ts +0 -39
  207. package/dist/openapi/servers.js +0 -52
  208. package/dist/openapi/types/ObjectParamAPI.d.ts +0 -825
  209. package/dist/openapi/types/ObjectParamAPI.js +0 -590
  210. package/dist/openapi/types/ObservableAPI.d.ts +0 -532
  211. package/dist/openapi/types/ObservableAPI.js +0 -1060
  212. package/dist/openapi/types/PromiseAPI.d.ts +0 -509
  213. package/dist/openapi/types/PromiseAPI.js +0 -684
  214. package/dist/openapi/util.d.ts +0 -15
  215. package/dist/openapi/util.js +0 -42
  216. package/dist/sdk/clients/ContractsClient.d.ts +0 -10
  217. package/dist/sdk/clients/ContractsClient.js +0 -42
  218. package/dist/sdk/clients/CustomersClient.d.ts +0 -11
  219. package/dist/sdk/clients/CustomersClient.js +0 -47
  220. package/dist/sdk/clients/EventsClient.d.ts +0 -11
  221. package/dist/sdk/clients/EventsClient.js +0 -49
  222. package/dist/sdk/clients/InvoicesClient.d.ts +0 -7
  223. package/dist/sdk/clients/InvoicesClient.js +0 -32
  224. package/dist/sdk/clients/MetersClient.d.ts +0 -10
  225. package/dist/sdk/clients/MetersClient.js +0 -42
  226. package/dist/sdk/clients/PlansClient.d.ts +0 -8
  227. package/dist/sdk/clients/PlansClient.js +0 -37
  228. package/dist/sdk/clients/index.d.ts +0 -6
  229. package/dist/sdk/clients/index.js +0 -22
  230. package/dist/sdk/index.d.ts +0 -13
  231. package/dist/sdk/index.js +0 -59
  232. package/dist/sdk/services/configuration.service.d.ts +0 -21
  233. package/dist/sdk/services/configuration.service.js +0 -104
  234. package/dist/sdk/services/index.d.ts +0 -1
  235. package/dist/sdk/services/index.js +0 -17
  236. package/dist/sdk/types/Contracts.d.ts +0 -1
  237. package/dist/sdk/types/Contracts.js +0 -2
  238. package/dist/sdk/types/Customers.d.ts +0 -1
  239. package/dist/sdk/types/Customers.js +0 -2
  240. package/dist/sdk/types/Events.d.ts +0 -1
  241. package/dist/sdk/types/Events.js +0 -2
  242. package/dist/sdk/types/Invoices.d.ts +0 -1
  243. package/dist/sdk/types/Invoices.js +0 -2
  244. package/dist/sdk/types/Meters.d.ts +0 -1
  245. package/dist/sdk/types/Meters.js +0 -2
  246. package/dist/sdk/types/Plans.d.ts +0 -1
  247. package/dist/sdk/types/Plans.js +0 -2
  248. package/dist/sdk/types/index.d.ts +0 -7
  249. package/dist/sdk/types/index.js +0 -23
  250. package/dist/sdk/types/pagination-options.d.ts +0 -4
  251. package/dist/sdk/types/pagination-options.js +0 -2
  252. package/dist/types.d.ts +0 -1
  253. package/dist/types.js +0 -17
@@ -1,38 +0,0 @@
1
- "use strict";
2
- var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
- if (k2 === undefined) k2 = k;
4
- var desc = Object.getOwnPropertyDescriptor(m, k);
5
- if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
- desc = { enumerable: true, get: function() { return m[k]; } };
7
- }
8
- Object.defineProperty(o, k2, desc);
9
- }) : (function(o, m, k, k2) {
10
- if (k2 === undefined) k2 = k;
11
- o[k2] = m[k];
12
- }));
13
- var __exportStar = (this && this.__exportStar) || function(m, exports) {
14
- for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
15
- };
16
- Object.defineProperty(exports, "__esModule", { value: true });
17
- exports.WebhooksApi = exports.ReportsApi = exports.PlansApi = exports.MetersApi = exports.InvoicesApi = exports.IntegrationsApi = exports.EventsApi = exports.CustomersApi = exports.CreditsApi = exports.ContractsApi = exports.AuthApi = exports.RequiredError = exports.createConfiguration = void 0;
18
- __exportStar(require("./http/http"), exports);
19
- __exportStar(require("./auth/auth"), exports);
20
- __exportStar(require("./models/all"), exports);
21
- var configuration_1 = require("./configuration");
22
- Object.defineProperty(exports, "createConfiguration", { enumerable: true, get: function () { return configuration_1.createConfiguration; } });
23
- __exportStar(require("./apis/exception"), exports);
24
- __exportStar(require("./servers"), exports);
25
- var baseapi_1 = require("./apis/baseapi");
26
- Object.defineProperty(exports, "RequiredError", { enumerable: true, get: function () { return baseapi_1.RequiredError; } });
27
- var PromiseAPI_1 = require("./types/PromiseAPI");
28
- Object.defineProperty(exports, "AuthApi", { enumerable: true, get: function () { return PromiseAPI_1.PromiseAuthApi; } });
29
- Object.defineProperty(exports, "ContractsApi", { enumerable: true, get: function () { return PromiseAPI_1.PromiseContractsApi; } });
30
- Object.defineProperty(exports, "CreditsApi", { enumerable: true, get: function () { return PromiseAPI_1.PromiseCreditsApi; } });
31
- Object.defineProperty(exports, "CustomersApi", { enumerable: true, get: function () { return PromiseAPI_1.PromiseCustomersApi; } });
32
- Object.defineProperty(exports, "EventsApi", { enumerable: true, get: function () { return PromiseAPI_1.PromiseEventsApi; } });
33
- Object.defineProperty(exports, "IntegrationsApi", { enumerable: true, get: function () { return PromiseAPI_1.PromiseIntegrationsApi; } });
34
- Object.defineProperty(exports, "InvoicesApi", { enumerable: true, get: function () { return PromiseAPI_1.PromiseInvoicesApi; } });
35
- Object.defineProperty(exports, "MetersApi", { enumerable: true, get: function () { return PromiseAPI_1.PromiseMetersApi; } });
36
- Object.defineProperty(exports, "PlansApi", { enumerable: true, get: function () { return PromiseAPI_1.PromisePlansApi; } });
37
- Object.defineProperty(exports, "ReportsApi", { enumerable: true, get: function () { return PromiseAPI_1.PromiseReportsApi; } });
38
- Object.defineProperty(exports, "WebhooksApi", { enumerable: true, get: function () { return PromiseAPI_1.PromiseWebhooksApi; } });
@@ -1,54 +0,0 @@
1
- import { RequestContext, ResponseContext } from './http/http';
2
- import { Observable } from './rxjsStub';
3
- /**
4
- * Defines the contract for a middleware intercepting requests before
5
- * they are sent (but after the RequestContext was created)
6
- * and before the ResponseContext is unwrapped.
7
- *
8
- */
9
- export interface Middleware {
10
- /**
11
- * Modifies the request before the request is sent.
12
- *
13
- * @param context RequestContext of a request which is about to be sent to the server
14
- * @returns an observable of the updated request context
15
- *
16
- */
17
- pre(context: RequestContext): Observable<RequestContext>;
18
- /**
19
- * Modifies the returned response before it is deserialized.
20
- *
21
- * @param context ResponseContext of a sent request
22
- * @returns an observable of the modified response context
23
- */
24
- post(context: ResponseContext): Observable<ResponseContext>;
25
- }
26
- export declare class PromiseMiddlewareWrapper implements Middleware {
27
- private middleware;
28
- constructor(middleware: PromiseMiddleware);
29
- pre(context: RequestContext): Observable<RequestContext>;
30
- post(context: ResponseContext): Observable<ResponseContext>;
31
- }
32
- /**
33
- * Defines the contract for a middleware intercepting requests before
34
- * they are sent (but after the RequestContext was created)
35
- * and before the ResponseContext is unwrapped.
36
- *
37
- */
38
- export interface PromiseMiddleware {
39
- /**
40
- * Modifies the request before the request is sent.
41
- *
42
- * @param context RequestContext of a request which is about to be sent to the server
43
- * @returns an observable of the updated request context
44
- *
45
- */
46
- pre(context: RequestContext): Promise<RequestContext>;
47
- /**
48
- * Modifies the returned response before it is deserialized.
49
- *
50
- * @param context ResponseContext of a sent request
51
- * @returns an observable of the modified response context
52
- */
53
- post(context: ResponseContext): Promise<ResponseContext>;
54
- }
@@ -1,16 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.PromiseMiddlewareWrapper = void 0;
4
- const rxjsStub_1 = require("./rxjsStub");
5
- class PromiseMiddlewareWrapper {
6
- constructor(middleware) {
7
- this.middleware = middleware;
8
- }
9
- pre(context) {
10
- return (0, rxjsStub_1.from)(this.middleware.pre(context));
11
- }
12
- post(context) {
13
- return (0, rxjsStub_1.from)(this.middleware.post(context));
14
- }
15
- }
16
- exports.PromiseMiddlewareWrapper = PromiseMiddlewareWrapper;
@@ -1,40 +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 { AggregationOperator } from '../models/AggregationOperator';
13
- /**
14
- * The aggregation method defines how the events should be summed to represent a usage value.
15
- */
16
- export declare class AggregationMethod {
17
- 'operator': AggregationOperator;
18
- /**
19
- * The field inside the \"data\" property to apply the aggregation method to.
20
- */
21
- 'field'?: string;
22
- /**
23
- * The fields that is used to group different events together when measuring the usage.
24
- */
25
- 'instanceKey'?: string;
26
- static readonly discriminator: string | undefined;
27
- static readonly attributeTypeMap: Array<{
28
- name: string;
29
- baseName: string;
30
- type: string;
31
- format: string;
32
- }>;
33
- static getAttributeTypeMap(): {
34
- name: string;
35
- baseName: string;
36
- type: string;
37
- format: string;
38
- }[];
39
- constructor();
40
- }
@@ -1,46 +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.AggregationMethod = void 0;
15
- /**
16
- * The aggregation method defines how the events should be summed to represent a usage value.
17
- */
18
- class AggregationMethod {
19
- static getAttributeTypeMap() {
20
- return AggregationMethod.attributeTypeMap;
21
- }
22
- constructor() {
23
- }
24
- }
25
- exports.AggregationMethod = AggregationMethod;
26
- AggregationMethod.discriminator = undefined;
27
- AggregationMethod.attributeTypeMap = [
28
- {
29
- "name": "operator",
30
- "baseName": "operator",
31
- "type": "AggregationOperator",
32
- "format": ""
33
- },
34
- {
35
- "name": "field",
36
- "baseName": "field",
37
- "type": "string",
38
- "format": ""
39
- },
40
- {
41
- "name": "instanceKey",
42
- "baseName": "instanceKey",
43
- "type": "string",
44
- "format": ""
45
- }
46
- ];
@@ -1,24 +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 aggregation method defines how the events should be summed to represent a usage value.
14
- */
15
- export declare enum AggregationOperator {
16
- Count = "Count",
17
- Sum = "Sum",
18
- Distinct = "Distinct",
19
- Max = "Max",
20
- Min = "Min",
21
- Average = "Average",
22
- First = "First",
23
- Last = "Last"
24
- }
@@ -1,28 +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.AggregationOperator = void 0;
15
- /**
16
- * The aggregation method defines how the events should be summed to represent a usage value.
17
- */
18
- var AggregationOperator;
19
- (function (AggregationOperator) {
20
- AggregationOperator["Count"] = "Count";
21
- AggregationOperator["Sum"] = "Sum";
22
- AggregationOperator["Distinct"] = "Distinct";
23
- AggregationOperator["Max"] = "Max";
24
- AggregationOperator["Min"] = "Min";
25
- AggregationOperator["Average"] = "Average";
26
- AggregationOperator["First"] = "First";
27
- AggregationOperator["Last"] = "Last";
28
- })(AggregationOperator = exports.AggregationOperator || (exports.AggregationOperator = {}));
@@ -1,15 +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 enum BillingCycleStatus {
13
- Grant = "Grant",
14
- Deduct = "Deduct"
15
- }
@@ -1,19 +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.BillingCycleStatus = void 0;
15
- var BillingCycleStatus;
16
- (function (BillingCycleStatus) {
17
- BillingCycleStatus["Grant"] = "Grant";
18
- BillingCycleStatus["Deduct"] = "Deduct";
19
- })(BillingCycleStatus = exports.BillingCycleStatus || (exports.BillingCycleStatus = {}));
@@ -1,18 +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 enum BillingInterval {
13
- Monthly = "Monthly",
14
- BiMonthly = "BiMonthly",
15
- Quarterly = "Quarterly",
16
- SixMonths = "SixMonths",
17
- Yearly = "Yearly"
18
- }
@@ -1,22 +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.BillingInterval = void 0;
15
- var BillingInterval;
16
- (function (BillingInterval) {
17
- BillingInterval["Monthly"] = "Monthly";
18
- BillingInterval["BiMonthly"] = "BiMonthly";
19
- BillingInterval["Quarterly"] = "Quarterly";
20
- BillingInterval["SixMonths"] = "SixMonths";
21
- BillingInterval["Yearly"] = "Yearly";
22
- })(BillingInterval = exports.BillingInterval || (exports.BillingInterval = {}));
@@ -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 { Criterion } from '../models/Criterion';
13
- export declare class Condition {
14
- 'criterions': Array<Criterion>;
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.Condition = void 0;
15
- class Condition {
16
- static getAttributeTypeMap() {
17
- return Condition.attributeTypeMap;
18
- }
19
- constructor() {
20
- }
21
- }
22
- exports.Condition = Condition;
23
- Condition.discriminator = undefined;
24
- Condition.attributeTypeMap = [
25
- {
26
- "name": "criterions",
27
- "baseName": "criterions",
28
- "type": "Array<Criterion>",
29
- "format": ""
30
- }
31
- ];
@@ -1,18 +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 enum ContractStatus {
13
- Active = "Active",
14
- Inactive = "Inactive",
15
- Terminated = "Terminated",
16
- PendingTermination = "PendingTermination",
17
- Error = "Error"
18
- }
@@ -1,22 +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.ContractStatus = void 0;
15
- var ContractStatus;
16
- (function (ContractStatus) {
17
- ContractStatus["Active"] = "Active";
18
- ContractStatus["Inactive"] = "Inactive";
19
- ContractStatus["Terminated"] = "Terminated";
20
- ContractStatus["PendingTermination"] = "PendingTermination";
21
- ContractStatus["Error"] = "Error";
22
- })(ContractStatus = exports.ContractStatus || (exports.ContractStatus = {}));
@@ -1,43 +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 CreateContractRequest {
13
- /**
14
- * The start date of the contract
15
- */
16
- 'startDate': Date;
17
- /**
18
- * The end date of the contract
19
- */
20
- 'endDate'?: Date;
21
- /**
22
- * The id of the customer that the contract is associated with
23
- */
24
- 'customerId': string;
25
- /**
26
- * The id of the plan that the contract is associated with
27
- */
28
- 'planId': string;
29
- static readonly discriminator: string | undefined;
30
- static readonly attributeTypeMap: Array<{
31
- name: string;
32
- baseName: string;
33
- type: string;
34
- format: string;
35
- }>;
36
- static getAttributeTypeMap(): {
37
- name: string;
38
- baseName: string;
39
- type: string;
40
- format: string;
41
- }[];
42
- constructor();
43
- }
@@ -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.CreateContractRequest = void 0;
15
- class CreateContractRequest {
16
- static getAttributeTypeMap() {
17
- return CreateContractRequest.attributeTypeMap;
18
- }
19
- constructor() {
20
- }
21
- }
22
- exports.CreateContractRequest = CreateContractRequest;
23
- CreateContractRequest.discriminator = undefined;
24
- CreateContractRequest.attributeTypeMap = [
25
- {
26
- "name": "startDate",
27
- "baseName": "startDate",
28
- "type": "Date",
29
- "format": "date-time"
30
- },
31
- {
32
- "name": "endDate",
33
- "baseName": "endDate",
34
- "type": "Date",
35
- "format": "date-time"
36
- },
37
- {
38
- "name": "customerId",
39
- "baseName": "customerId",
40
- "type": "string",
41
- "format": ""
42
- },
43
- {
44
- "name": "planId",
45
- "baseName": "planId",
46
- "type": "string",
47
- "format": ""
48
- }
49
- ];
@@ -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 { GetContractResponseContract } from '../models/GetContractResponseContract';
13
- export declare class CreateContractResponse {
14
- 'contract': GetContractResponseContract;
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.CreateContractResponse = void 0;
15
- class CreateContractResponse {
16
- static getAttributeTypeMap() {
17
- return CreateContractResponse.attributeTypeMap;
18
- }
19
- constructor() {
20
- }
21
- }
22
- exports.CreateContractResponse = CreateContractResponse;
23
- CreateContractResponse.discriminator = undefined;
24
- CreateContractResponse.attributeTypeMap = [
25
- {
26
- "name": "contract",
27
- "baseName": "contract",
28
- "type": "GetContractResponseContract",
29
- "format": ""
30
- }
31
- ];
@@ -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 CreateCustomerRequest {
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.CreateCustomerRequest = void 0;
15
- class CreateCustomerRequest {
16
- static getAttributeTypeMap() {
17
- return CreateCustomerRequest.attributeTypeMap;
18
- }
19
- constructor() {
20
- }
21
- }
22
- exports.CreateCustomerRequest = CreateCustomerRequest;
23
- CreateCustomerRequest.discriminator = undefined;
24
- CreateCustomerRequest.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
- ];