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,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 CreateCustomerResponse {
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.CreateCustomerResponse = void 0;
15
- class CreateCustomerResponse {
16
- static getAttributeTypeMap() {
17
- return CreateCustomerResponse.attributeTypeMap;
18
- }
19
- constructor() {
20
- }
21
- }
22
- exports.CreateCustomerResponse = CreateCustomerResponse;
23
- CreateCustomerResponse.discriminator = undefined;
24
- CreateCustomerResponse.attributeTypeMap = [
25
- {
26
- "name": "customer",
27
- "baseName": "customer",
28
- "type": "CreateCustomerResponseCustomer",
29
- "format": ""
30
- }
31
- ];
@@ -1,38 +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 CreateCustomerResponseCustomer {
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
- 'id': string;
22
- 'createdAt': Date;
23
- 'updatedAt': Date;
24
- static readonly discriminator: string | undefined;
25
- static readonly attributeTypeMap: Array<{
26
- name: string;
27
- baseName: string;
28
- type: string;
29
- format: string;
30
- }>;
31
- static getAttributeTypeMap(): {
32
- name: string;
33
- baseName: string;
34
- type: string;
35
- format: string;
36
- }[];
37
- constructor();
38
- }
@@ -1,55 +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.CreateCustomerResponseCustomer = void 0;
15
- class CreateCustomerResponseCustomer {
16
- static getAttributeTypeMap() {
17
- return CreateCustomerResponseCustomer.attributeTypeMap;
18
- }
19
- constructor() {
20
- }
21
- }
22
- exports.CreateCustomerResponseCustomer = CreateCustomerResponseCustomer;
23
- CreateCustomerResponseCustomer.discriminator = undefined;
24
- CreateCustomerResponseCustomer.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
- {
38
- "name": "id",
39
- "baseName": "id",
40
- "type": "string",
41
- "format": ""
42
- },
43
- {
44
- "name": "createdAt",
45
- "baseName": "createdAt",
46
- "type": "Date",
47
- "format": "date-time"
48
- },
49
- {
50
- "name": "updatedAt",
51
- "baseName": "updatedAt",
52
- "type": "Date",
53
- "format": "date-time"
54
- }
55
- ];
@@ -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 { BillingCycleStatus } from '../models/BillingCycleStatus';
13
- export declare class CreditLedgerEntry {
14
- 'type': BillingCycleStatus;
15
- 'amount': number;
16
- 'invoiceId'?: string;
17
- 'balanceAfterEntry': number;
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,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.CreditLedgerEntry = void 0;
15
- class CreditLedgerEntry {
16
- static getAttributeTypeMap() {
17
- return CreditLedgerEntry.attributeTypeMap;
18
- }
19
- constructor() {
20
- }
21
- }
22
- exports.CreditLedgerEntry = CreditLedgerEntry;
23
- CreditLedgerEntry.discriminator = undefined;
24
- CreditLedgerEntry.attributeTypeMap = [
25
- {
26
- "name": "type",
27
- "baseName": "type",
28
- "type": "BillingCycleStatus",
29
- "format": ""
30
- },
31
- {
32
- "name": "amount",
33
- "baseName": "amount",
34
- "type": "number",
35
- "format": ""
36
- },
37
- {
38
- "name": "invoiceId",
39
- "baseName": "invoiceId",
40
- "type": "string",
41
- "format": ""
42
- },
43
- {
44
- "name": "balanceAfterEntry",
45
- "baseName": "balanceAfterEntry",
46
- "type": "number",
47
- "format": ""
48
- }
49
- ];
@@ -1,31 +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 { CriterionOperator } from '../models/CriterionOperator';
13
- export declare class Criterion {
14
- 'field': string;
15
- 'operator': CriterionOperator;
16
- 'value': string;
17
- static readonly discriminator: string | undefined;
18
- static readonly attributeTypeMap: Array<{
19
- name: string;
20
- baseName: string;
21
- type: string;
22
- format: string;
23
- }>;
24
- static getAttributeTypeMap(): {
25
- name: string;
26
- baseName: string;
27
- type: string;
28
- format: string;
29
- }[];
30
- constructor();
31
- }
@@ -1,43 +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.Criterion = void 0;
15
- class Criterion {
16
- static getAttributeTypeMap() {
17
- return Criterion.attributeTypeMap;
18
- }
19
- constructor() {
20
- }
21
- }
22
- exports.Criterion = Criterion;
23
- Criterion.discriminator = undefined;
24
- Criterion.attributeTypeMap = [
25
- {
26
- "name": "field",
27
- "baseName": "field",
28
- "type": "string",
29
- "format": ""
30
- },
31
- {
32
- "name": "operator",
33
- "baseName": "operator",
34
- "type": "CriterionOperator",
35
- "format": ""
36
- },
37
- {
38
- "name": "value",
39
- "baseName": "value",
40
- "type": "string",
41
- "format": ""
42
- }
43
- ];
@@ -1,23 +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 CriterionOperator {
13
- Equals = "Equals",
14
- DoesntEqual = "DoesntEqual",
15
- Has = "Has",
16
- In = "In",
17
- Contains = "Contains",
18
- DoesntContain = "DoesntContain",
19
- LargerThan = "LargerThan",
20
- LowerThan = "LowerThan",
21
- LowerEqualTo = "LowerEqualTo",
22
- LargerEqualTo = "LargerEqualTo"
23
- }
@@ -1,27 +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.CriterionOperator = void 0;
15
- var CriterionOperator;
16
- (function (CriterionOperator) {
17
- CriterionOperator["Equals"] = "Equals";
18
- CriterionOperator["DoesntEqual"] = "DoesntEqual";
19
- CriterionOperator["Has"] = "Has";
20
- CriterionOperator["In"] = "In";
21
- CriterionOperator["Contains"] = "Contains";
22
- CriterionOperator["DoesntContain"] = "DoesntContain";
23
- CriterionOperator["LargerThan"] = "LargerThan";
24
- CriterionOperator["LowerThan"] = "LowerThan";
25
- CriterionOperator["LowerEqualTo"] = "LowerEqualTo";
26
- CriterionOperator["LargerEqualTo"] = "LargerEqualTo";
27
- })(CriterionOperator = exports.CriterionOperator || (exports.CriterionOperator = {}));
@@ -1,17 +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 Currency {
13
- Usd = "USD",
14
- Eur = "EUR",
15
- Gbp = "GBP",
16
- Ils = "ILS"
17
- }
@@ -1,21 +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.Currency = void 0;
15
- var Currency;
16
- (function (Currency) {
17
- Currency["Usd"] = "USD";
18
- Currency["Eur"] = "EUR";
19
- Currency["Gbp"] = "GBP";
20
- Currency["Ils"] = "ILS";
21
- })(Currency = exports.Currency || (exports.Currency = {}));
@@ -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 DeductCreditsRequest {
13
- /**
14
- * The amount of credits to be deducted from the user.
15
- */
16
- 'creditAmount': number;
17
- /**
18
- * The ID of the customer to whom the credits will be deducted from.
19
- */
20
- 'customerId': 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.DeductCreditsRequest = void 0;
15
- class DeductCreditsRequest {
16
- static getAttributeTypeMap() {
17
- return DeductCreditsRequest.attributeTypeMap;
18
- }
19
- constructor() {
20
- }
21
- }
22
- exports.DeductCreditsRequest = DeductCreditsRequest;
23
- DeductCreditsRequest.discriminator = undefined;
24
- DeductCreditsRequest.attributeTypeMap = [
25
- {
26
- "name": "creditAmount",
27
- "baseName": "creditAmount",
28
- "type": "number",
29
- "format": ""
30
- },
31
- {
32
- "name": "customerId",
33
- "baseName": "customerId",
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 { DeleteContractResponseContract } from '../models/DeleteContractResponseContract';
13
- export declare class DeleteContractResponse {
14
- 'contract': DeleteContractResponseContract;
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.DeleteContractResponse = void 0;
15
- class DeleteContractResponse {
16
- static getAttributeTypeMap() {
17
- return DeleteContractResponse.attributeTypeMap;
18
- }
19
- constructor() {
20
- }
21
- }
22
- exports.DeleteContractResponse = DeleteContractResponse;
23
- DeleteContractResponse.discriminator = undefined;
24
- DeleteContractResponse.attributeTypeMap = [
25
- {
26
- "name": "contract",
27
- "baseName": "contract",
28
- "type": "DeleteContractResponseContract",
29
- "format": ""
30
- }
31
- ];
@@ -1,47 +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 DeleteContractResponseContract {
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
- 'id': string;
30
- 'createdAt': Date;
31
- 'updatedAt': Date;
32
- 'deletedAt': string;
33
- static readonly discriminator: string | undefined;
34
- static readonly attributeTypeMap: Array<{
35
- name: string;
36
- baseName: string;
37
- type: string;
38
- format: string;
39
- }>;
40
- static getAttributeTypeMap(): {
41
- name: string;
42
- baseName: string;
43
- type: string;
44
- format: string;
45
- }[];
46
- constructor();
47
- }
@@ -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.DeleteContractResponseContract = void 0;
15
- class DeleteContractResponseContract {
16
- static getAttributeTypeMap() {
17
- return DeleteContractResponseContract.attributeTypeMap;
18
- }
19
- constructor() {
20
- }
21
- }
22
- exports.DeleteContractResponseContract = DeleteContractResponseContract;
23
- DeleteContractResponseContract.discriminator = undefined;
24
- DeleteContractResponseContract.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
- {
50
- "name": "id",
51
- "baseName": "id",
52
- "type": "string",
53
- "format": ""
54
- },
55
- {
56
- "name": "createdAt",
57
- "baseName": "createdAt",
58
- "type": "Date",
59
- "format": "date-time"
60
- },
61
- {
62
- "name": "updatedAt",
63
- "baseName": "updatedAt",
64
- "type": "Date",
65
- "format": "date-time"
66
- },
67
- {
68
- "name": "deletedAt",
69
- "baseName": "deletedAt",
70
- "type": "string",
71
- "format": ""
72
- }
73
- ];