vayu-ts 0.0.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (255) hide show
  1. package/LICENSE +21 -0
  2. package/README.md +202 -0
  3. package/dist/index.d.ts +1 -0
  4. package/dist/index.js +17 -0
  5. package/dist/openapi/apis/AuthApi.d.ts +26 -0
  6. package/dist/openapi/apis/AuthApi.js +93 -0
  7. package/dist/openapi/apis/ContractsApi.d.ts +72 -0
  8. package/dist/openapi/apis/ContractsApi.js +307 -0
  9. package/dist/openapi/apis/CreditsApi.d.ts +57 -0
  10. package/dist/openapi/apis/CreditsApi.js +248 -0
  11. package/dist/openapi/apis/CustomersApi.d.ts +89 -0
  12. package/dist/openapi/apis/CustomersApi.js +388 -0
  13. package/dist/openapi/apis/EventsApi.d.ts +91 -0
  14. package/dist/openapi/apis/EventsApi.js +408 -0
  15. package/dist/openapi/apis/IntegrationsApi.d.ts +41 -0
  16. package/dist/openapi/apis/IntegrationsApi.js +170 -0
  17. package/dist/openapi/apis/InvoicesApi.d.ts +41 -0
  18. package/dist/openapi/apis/InvoicesApi.js +166 -0
  19. package/dist/openapi/apis/MetersApi.d.ts +73 -0
  20. package/dist/openapi/apis/MetersApi.js +316 -0
  21. package/dist/openapi/apis/PlansApi.d.ts +56 -0
  22. package/dist/openapi/apis/PlansApi.js +235 -0
  23. package/dist/openapi/apis/ReportsApi.d.ts +41 -0
  24. package/dist/openapi/apis/ReportsApi.js +166 -0
  25. package/dist/openapi/apis/WebhooksApi.d.ts +25 -0
  26. package/dist/openapi/apis/WebhooksApi.js +101 -0
  27. package/dist/openapi/apis/baseapi.d.ts +33 -0
  28. package/dist/openapi/apis/baseapi.js +41 -0
  29. package/dist/openapi/apis/exception.d.ts +19 -0
  30. package/dist/openapi/apis/exception.js +22 -0
  31. package/dist/openapi/auth/auth.d.ts +54 -0
  32. package/dist/openapi/auth/auth.js +50 -0
  33. package/dist/openapi/configuration.d.ts +63 -0
  34. package/dist/openapi/configuration.js +34 -0
  35. package/dist/openapi/http/http.d.ts +142 -0
  36. package/dist/openapi/http/http.js +229 -0
  37. package/dist/openapi/http/isomorphic-fetch.d.ts +5 -0
  38. package/dist/openapi/http/isomorphic-fetch.js +33 -0
  39. package/dist/openapi/index.d.ts +10 -0
  40. package/dist/openapi/index.js +38 -0
  41. package/dist/openapi/middleware.d.ts +54 -0
  42. package/dist/openapi/middleware.js +16 -0
  43. package/dist/openapi/models/AggregationMethod.d.ts +40 -0
  44. package/dist/openapi/models/AggregationMethod.js +46 -0
  45. package/dist/openapi/models/AggregationOperator.d.ts +24 -0
  46. package/dist/openapi/models/AggregationOperator.js +28 -0
  47. package/dist/openapi/models/BillingCycleStatus.d.ts +15 -0
  48. package/dist/openapi/models/BillingCycleStatus.js +19 -0
  49. package/dist/openapi/models/BillingInterval.d.ts +18 -0
  50. package/dist/openapi/models/BillingInterval.js +22 -0
  51. package/dist/openapi/models/Condition.d.ts +29 -0
  52. package/dist/openapi/models/Condition.js +31 -0
  53. package/dist/openapi/models/ContractStatus.d.ts +18 -0
  54. package/dist/openapi/models/ContractStatus.js +22 -0
  55. package/dist/openapi/models/CreateContractRequest.d.ts +43 -0
  56. package/dist/openapi/models/CreateContractRequest.js +49 -0
  57. package/dist/openapi/models/CreateContractResponse.d.ts +29 -0
  58. package/dist/openapi/models/CreateContractResponse.js +31 -0
  59. package/dist/openapi/models/CreateCustomerRequest.d.ts +35 -0
  60. package/dist/openapi/models/CreateCustomerRequest.js +37 -0
  61. package/dist/openapi/models/CreateCustomerResponse.d.ts +29 -0
  62. package/dist/openapi/models/CreateCustomerResponse.js +31 -0
  63. package/dist/openapi/models/CreateCustomerResponseCustomer.d.ts +38 -0
  64. package/dist/openapi/models/CreateCustomerResponseCustomer.js +55 -0
  65. package/dist/openapi/models/CreditLedgerEntry.d.ts +32 -0
  66. package/dist/openapi/models/CreditLedgerEntry.js +49 -0
  67. package/dist/openapi/models/Criterion.d.ts +31 -0
  68. package/dist/openapi/models/Criterion.js +43 -0
  69. package/dist/openapi/models/CriterionOperator.d.ts +23 -0
  70. package/dist/openapi/models/CriterionOperator.js +27 -0
  71. package/dist/openapi/models/Currency.d.ts +17 -0
  72. package/dist/openapi/models/Currency.js +21 -0
  73. package/dist/openapi/models/DeductCreditsRequest.d.ts +35 -0
  74. package/dist/openapi/models/DeductCreditsRequest.js +37 -0
  75. package/dist/openapi/models/DeleteContractResponse.d.ts +29 -0
  76. package/dist/openapi/models/DeleteContractResponse.js +31 -0
  77. package/dist/openapi/models/DeleteContractResponseContract.d.ts +47 -0
  78. package/dist/openapi/models/DeleteContractResponseContract.js +73 -0
  79. package/dist/openapi/models/DeleteCustomerResponse.d.ts +29 -0
  80. package/dist/openapi/models/DeleteCustomerResponse.js +31 -0
  81. package/dist/openapi/models/DeleteCustomerResponseCustomer.d.ts +39 -0
  82. package/dist/openapi/models/DeleteCustomerResponseCustomer.js +61 -0
  83. package/dist/openapi/models/DeleteEventResponse.d.ts +29 -0
  84. package/dist/openapi/models/DeleteEventResponse.js +31 -0
  85. package/dist/openapi/models/DeleteEventResponseEvent.d.ts +56 -0
  86. package/dist/openapi/models/DeleteEventResponseEvent.js +82 -0
  87. package/dist/openapi/models/DeleteMeterResponse.d.ts +29 -0
  88. package/dist/openapi/models/DeleteMeterResponse.js +31 -0
  89. package/dist/openapi/models/DeleteMeterResponseMeter.d.ts +43 -0
  90. package/dist/openapi/models/DeleteMeterResponseMeter.js +73 -0
  91. package/dist/openapi/models/DeletePlanResponse.d.ts +29 -0
  92. package/dist/openapi/models/DeletePlanResponse.js +31 -0
  93. package/dist/openapi/models/DeletePlanResponsePlan.d.ts +39 -0
  94. package/dist/openapi/models/DeletePlanResponsePlan.js +67 -0
  95. package/dist/openapi/models/Event.d.ts +49 -0
  96. package/dist/openapi/models/Event.js +55 -0
  97. package/dist/openapi/models/EventsDryRunRequest.d.ts +29 -0
  98. package/dist/openapi/models/EventsDryRunRequest.js +31 -0
  99. package/dist/openapi/models/EventsDryRunResponse.d.ts +29 -0
  100. package/dist/openapi/models/EventsDryRunResponse.js +31 -0
  101. package/dist/openapi/models/EventsDryRunResponseObject.d.ts +32 -0
  102. package/dist/openapi/models/EventsDryRunResponseObject.js +43 -0
  103. package/dist/openapi/models/EventsDryRunResponseObjectEvent.d.ts +35 -0
  104. package/dist/openapi/models/EventsDryRunResponseObjectEvent.js +61 -0
  105. package/dist/openapi/models/EventsDryRunResponseObjectMeterWithValuesInner.d.ts +41 -0
  106. package/dist/openapi/models/EventsDryRunResponseObjectMeterWithValuesInner.js +61 -0
  107. package/dist/openapi/models/Filter.d.ts +32 -0
  108. package/dist/openapi/models/Filter.js +34 -0
  109. package/dist/openapi/models/GetCommitmentReportResponse.d.ts +44 -0
  110. package/dist/openapi/models/GetCommitmentReportResponse.js +115 -0
  111. package/dist/openapi/models/GetContractResponse.d.ts +29 -0
  112. package/dist/openapi/models/GetContractResponse.js +31 -0
  113. package/dist/openapi/models/GetContractResponseContract.d.ts +46 -0
  114. package/dist/openapi/models/GetContractResponseContract.js +67 -0
  115. package/dist/openapi/models/GetCustomerResponse.d.ts +29 -0
  116. package/dist/openapi/models/GetCustomerResponse.js +31 -0
  117. package/dist/openapi/models/GetEventResponse.d.ts +29 -0
  118. package/dist/openapi/models/GetEventResponse.js +31 -0
  119. package/dist/openapi/models/GetEventResponseEvent.d.ts +55 -0
  120. package/dist/openapi/models/GetEventResponseEvent.js +76 -0
  121. package/dist/openapi/models/GetInvoiceResponse.d.ts +29 -0
  122. package/dist/openapi/models/GetInvoiceResponse.js +31 -0
  123. package/dist/openapi/models/GetInvoiceResponseInvoice.d.ts +50 -0
  124. package/dist/openapi/models/GetInvoiceResponseInvoice.js +79 -0
  125. package/dist/openapi/models/GetMeterResponse.d.ts +29 -0
  126. package/dist/openapi/models/GetMeterResponse.js +31 -0
  127. package/dist/openapi/models/GetMeterResponseMeter.d.ts +42 -0
  128. package/dist/openapi/models/GetMeterResponseMeter.js +67 -0
  129. package/dist/openapi/models/GetPlanResponse.d.ts +29 -0
  130. package/dist/openapi/models/GetPlanResponse.js +31 -0
  131. package/dist/openapi/models/GetPlanResponsePlan.d.ts +38 -0
  132. package/dist/openapi/models/GetPlanResponsePlan.js +61 -0
  133. package/dist/openapi/models/GetProductsUsageReportResponse.d.ts +44 -0
  134. package/dist/openapi/models/GetProductsUsageReportResponse.js +115 -0
  135. package/dist/openapi/models/GrantCreditsRequest.d.ts +35 -0
  136. package/dist/openapi/models/GrantCreditsRequest.js +37 -0
  137. package/dist/openapi/models/InvalidEvent.d.ts +33 -0
  138. package/dist/openapi/models/InvalidEvent.js +37 -0
  139. package/dist/openapi/models/LineItem.d.ts +35 -0
  140. package/dist/openapi/models/LineItem.js +37 -0
  141. package/dist/openapi/models/ListContractsResponse.d.ts +32 -0
  142. package/dist/openapi/models/ListContractsResponse.js +49 -0
  143. package/dist/openapi/models/ListCreditLedgerEntriesResponse.d.ts +32 -0
  144. package/dist/openapi/models/ListCreditLedgerEntriesResponse.js +31 -0
  145. package/dist/openapi/models/ListCustomersResponse.d.ts +32 -0
  146. package/dist/openapi/models/ListCustomersResponse.js +49 -0
  147. package/dist/openapi/models/ListInvoicesResponse.d.ts +32 -0
  148. package/dist/openapi/models/ListInvoicesResponse.js +49 -0
  149. package/dist/openapi/models/ListMetersResponse.d.ts +32 -0
  150. package/dist/openapi/models/ListMetersResponse.js +49 -0
  151. package/dist/openapi/models/ListPlansResponse.d.ts +32 -0
  152. package/dist/openapi/models/ListPlansResponse.js +49 -0
  153. package/dist/openapi/models/LoginRequest.d.ts +31 -0
  154. package/dist/openapi/models/LoginRequest.js +31 -0
  155. package/dist/openapi/models/LoginResponse.d.ts +31 -0
  156. package/dist/openapi/models/LoginResponse.js +31 -0
  157. package/dist/openapi/models/Meter.d.ts +39 -0
  158. package/dist/openapi/models/Meter.js +49 -0
  159. package/dist/openapi/models/NetSuiteExportSalesOrderRequest.d.ts +30 -0
  160. package/dist/openapi/models/NetSuiteExportSalesOrderRequest.js +43 -0
  161. package/dist/openapi/models/NetSuiteSyncInvoicesRequest.d.ts +34 -0
  162. package/dist/openapi/models/NetSuiteSyncInvoicesRequest.js +47 -0
  163. package/dist/openapi/models/NetSuiteSyncInvoicesRequestData.d.ts +39 -0
  164. package/dist/openapi/models/NetSuiteSyncInvoicesRequestData.js +85 -0
  165. package/dist/openapi/models/NetSuiteSyncInvoicesRequestDataEntity.d.ts +28 -0
  166. package/dist/openapi/models/NetSuiteSyncInvoicesRequestDataEntity.js +31 -0
  167. package/dist/openapi/models/NetSuiteSyncInvoicesRequestDataItem.d.ts +29 -0
  168. package/dist/openapi/models/NetSuiteSyncInvoicesRequestDataItem.js +31 -0
  169. package/dist/openapi/models/NetSuiteSyncInvoicesRequestDataItemItemsInner.d.ts +33 -0
  170. package/dist/openapi/models/NetSuiteSyncInvoicesRequestDataItemItemsInner.js +55 -0
  171. package/dist/openapi/models/NetSuiteSyncInvoicesResponse.d.ts +29 -0
  172. package/dist/openapi/models/NetSuiteSyncInvoicesResponse.js +37 -0
  173. package/dist/openapi/models/NotificationEventType.d.ts +17 -0
  174. package/dist/openapi/models/NotificationEventType.js +21 -0
  175. package/dist/openapi/models/ObjectSerializer.d.ts +106 -0
  176. package/dist/openapi/models/ObjectSerializer.js +488 -0
  177. package/dist/openapi/models/PaymentTerm.d.ts +15 -0
  178. package/dist/openapi/models/PaymentTerm.js +19 -0
  179. package/dist/openapi/models/Period.d.ts +32 -0
  180. package/dist/openapi/models/Period.js +40 -0
  181. package/dist/openapi/models/PlanBillingData.d.ts +37 -0
  182. package/dist/openapi/models/PlanBillingData.js +58 -0
  183. package/dist/openapi/models/PlanStatus.d.ts +19 -0
  184. package/dist/openapi/models/PlanStatus.js +23 -0
  185. package/dist/openapi/models/QueryEventsResponse.d.ts +32 -0
  186. package/dist/openapi/models/QueryEventsResponse.js +31 -0
  187. package/dist/openapi/models/QueryEventsResponseEventsInner.d.ts +52 -0
  188. package/dist/openapi/models/QueryEventsResponseEventsInner.js +73 -0
  189. package/dist/openapi/models/SendEventsRequest.d.ts +29 -0
  190. package/dist/openapi/models/SendEventsRequest.js +31 -0
  191. package/dist/openapi/models/SendEventsResponse.d.ts +37 -0
  192. package/dist/openapi/models/SendEventsResponse.js +37 -0
  193. package/dist/openapi/models/UpdateCustomerRequest.d.ts +35 -0
  194. package/dist/openapi/models/UpdateCustomerRequest.js +37 -0
  195. package/dist/openapi/models/UpdateCustomerResponse.d.ts +29 -0
  196. package/dist/openapi/models/UpdateCustomerResponse.js +31 -0
  197. package/dist/openapi/models/UpdateMeterRequest.d.ts +39 -0
  198. package/dist/openapi/models/UpdateMeterRequest.js +49 -0
  199. package/dist/openapi/models/UpdateMeterResponse.d.ts +29 -0
  200. package/dist/openapi/models/UpdateMeterResponse.js +31 -0
  201. package/dist/openapi/models/WebhookSubscribeRequest.d.ts +30 -0
  202. package/dist/openapi/models/WebhookSubscribeRequest.js +37 -0
  203. package/dist/openapi/models/all.d.ts +79 -0
  204. package/dist/openapi/models/all.js +95 -0
  205. package/dist/openapi/rxjsStub.d.ts +10 -0
  206. package/dist/openapi/rxjsStub.js +31 -0
  207. package/dist/openapi/servers.d.ts +39 -0
  208. package/dist/openapi/servers.js +52 -0
  209. package/dist/openapi/types/ObjectParamAPI.d.ts +825 -0
  210. package/dist/openapi/types/ObjectParamAPI.js +590 -0
  211. package/dist/openapi/types/ObservableAPI.d.ts +532 -0
  212. package/dist/openapi/types/ObservableAPI.js +1060 -0
  213. package/dist/openapi/types/PromiseAPI.d.ts +509 -0
  214. package/dist/openapi/types/PromiseAPI.js +684 -0
  215. package/dist/openapi/util.d.ts +15 -0
  216. package/dist/openapi/util.js +42 -0
  217. package/dist/sdk/clients/ContractsClient.d.ts +10 -0
  218. package/dist/sdk/clients/ContractsClient.js +42 -0
  219. package/dist/sdk/clients/CustomersClient.d.ts +11 -0
  220. package/dist/sdk/clients/CustomersClient.js +47 -0
  221. package/dist/sdk/clients/EventsClient.d.ts +11 -0
  222. package/dist/sdk/clients/EventsClient.js +49 -0
  223. package/dist/sdk/clients/InvoicesClient.d.ts +7 -0
  224. package/dist/sdk/clients/InvoicesClient.js +32 -0
  225. package/dist/sdk/clients/MetersClient.d.ts +10 -0
  226. package/dist/sdk/clients/MetersClient.js +42 -0
  227. package/dist/sdk/clients/PlansClient.d.ts +8 -0
  228. package/dist/sdk/clients/PlansClient.js +37 -0
  229. package/dist/sdk/clients/index.d.ts +6 -0
  230. package/dist/sdk/clients/index.js +22 -0
  231. package/dist/sdk/index.d.ts +13 -0
  232. package/dist/sdk/index.js +59 -0
  233. package/dist/sdk/services/configuration.service.d.ts +21 -0
  234. package/dist/sdk/services/configuration.service.js +104 -0
  235. package/dist/sdk/services/index.d.ts +1 -0
  236. package/dist/sdk/services/index.js +17 -0
  237. package/dist/sdk/types/Contracts.d.ts +1 -0
  238. package/dist/sdk/types/Contracts.js +2 -0
  239. package/dist/sdk/types/Customers.d.ts +1 -0
  240. package/dist/sdk/types/Customers.js +2 -0
  241. package/dist/sdk/types/Events.d.ts +1 -0
  242. package/dist/sdk/types/Events.js +2 -0
  243. package/dist/sdk/types/Invoices.d.ts +1 -0
  244. package/dist/sdk/types/Invoices.js +2 -0
  245. package/dist/sdk/types/Meters.d.ts +1 -0
  246. package/dist/sdk/types/Meters.js +2 -0
  247. package/dist/sdk/types/Plans.d.ts +1 -0
  248. package/dist/sdk/types/Plans.js +2 -0
  249. package/dist/sdk/types/index.d.ts +7 -0
  250. package/dist/sdk/types/index.js +23 -0
  251. package/dist/sdk/types/pagination-options.d.ts +4 -0
  252. package/dist/sdk/types/pagination-options.js +2 -0
  253. package/dist/types.d.ts +1 -0
  254. package/dist/types.js +17 -0
  255. package/package.json +51 -0
@@ -0,0 +1,31 @@
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 LoginRequest {
13
+ /**
14
+ * The refresh token issued for the authentication process. It is required to obtain a new access token.
15
+ */
16
+ 'refreshToken': 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
+ }
@@ -0,0 +1,31 @@
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.LoginRequest = void 0;
15
+ class LoginRequest {
16
+ static getAttributeTypeMap() {
17
+ return LoginRequest.attributeTypeMap;
18
+ }
19
+ constructor() {
20
+ }
21
+ }
22
+ exports.LoginRequest = LoginRequest;
23
+ LoginRequest.discriminator = undefined;
24
+ LoginRequest.attributeTypeMap = [
25
+ {
26
+ "name": "refreshToken",
27
+ "baseName": "refreshToken",
28
+ "type": "string",
29
+ "format": ""
30
+ }
31
+ ];
@@ -0,0 +1,31 @@
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 LoginResponse {
13
+ /**
14
+ * The new access token to be used for subsequent API calls. It is set to expire every hour.
15
+ */
16
+ 'accessToken': 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
+ }
@@ -0,0 +1,31 @@
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.LoginResponse = void 0;
15
+ class LoginResponse {
16
+ static getAttributeTypeMap() {
17
+ return LoginResponse.attributeTypeMap;
18
+ }
19
+ constructor() {
20
+ }
21
+ }
22
+ exports.LoginResponse = LoginResponse;
23
+ LoginResponse.discriminator = undefined;
24
+ LoginResponse.attributeTypeMap = [
25
+ {
26
+ "name": "accessToken",
27
+ "baseName": "accessToken",
28
+ "type": "string",
29
+ "format": ""
30
+ }
31
+ ];
@@ -0,0 +1,39 @@
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 Meter {
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
+ }
@@ -0,0 +1,49 @@
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.Meter = void 0;
15
+ class Meter {
16
+ static getAttributeTypeMap() {
17
+ return Meter.attributeTypeMap;
18
+ }
19
+ constructor() {
20
+ }
21
+ }
22
+ exports.Meter = Meter;
23
+ Meter.discriminator = undefined;
24
+ Meter.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
+ ];
@@ -0,0 +1,30 @@
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 NetSuiteExportSalesOrderRequest {
13
+ 'contractId': string;
14
+ 'productsIds': Array<string>;
15
+ 'subsidiaryId': string;
16
+ static readonly discriminator: string | undefined;
17
+ static readonly attributeTypeMap: Array<{
18
+ name: string;
19
+ baseName: string;
20
+ type: string;
21
+ format: string;
22
+ }>;
23
+ static getAttributeTypeMap(): {
24
+ name: string;
25
+ baseName: string;
26
+ type: string;
27
+ format: string;
28
+ }[];
29
+ constructor();
30
+ }
@@ -0,0 +1,43 @@
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.NetSuiteExportSalesOrderRequest = void 0;
15
+ class NetSuiteExportSalesOrderRequest {
16
+ static getAttributeTypeMap() {
17
+ return NetSuiteExportSalesOrderRequest.attributeTypeMap;
18
+ }
19
+ constructor() {
20
+ }
21
+ }
22
+ exports.NetSuiteExportSalesOrderRequest = NetSuiteExportSalesOrderRequest;
23
+ NetSuiteExportSalesOrderRequest.discriminator = undefined;
24
+ NetSuiteExportSalesOrderRequest.attributeTypeMap = [
25
+ {
26
+ "name": "contractId",
27
+ "baseName": "contractId",
28
+ "type": "string",
29
+ "format": ""
30
+ },
31
+ {
32
+ "name": "productsIds",
33
+ "baseName": "productsIds",
34
+ "type": "Array<string>",
35
+ "format": ""
36
+ },
37
+ {
38
+ "name": "subsidiaryId",
39
+ "baseName": "subsidiaryId",
40
+ "type": "string",
41
+ "format": ""
42
+ }
43
+ ];
@@ -0,0 +1,34 @@
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 { NetSuiteSyncInvoicesRequestData } from '../models/NetSuiteSyncInvoicesRequestData';
13
+ export declare class NetSuiteSyncInvoicesRequest {
14
+ 'integrationType': NetSuiteSyncInvoicesRequestIntegrationTypeEnum;
15
+ 'uid': string;
16
+ 'data': NetSuiteSyncInvoicesRequestData;
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
+ }
32
+ export declare enum NetSuiteSyncInvoicesRequestIntegrationTypeEnum {
33
+ UpsertInvoice = "upsertInvoice"
34
+ }
@@ -0,0 +1,47 @@
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.NetSuiteSyncInvoicesRequestIntegrationTypeEnum = exports.NetSuiteSyncInvoicesRequest = void 0;
15
+ class NetSuiteSyncInvoicesRequest {
16
+ static getAttributeTypeMap() {
17
+ return NetSuiteSyncInvoicesRequest.attributeTypeMap;
18
+ }
19
+ constructor() {
20
+ }
21
+ }
22
+ exports.NetSuiteSyncInvoicesRequest = NetSuiteSyncInvoicesRequest;
23
+ NetSuiteSyncInvoicesRequest.discriminator = undefined;
24
+ NetSuiteSyncInvoicesRequest.attributeTypeMap = [
25
+ {
26
+ "name": "integrationType",
27
+ "baseName": "integrationType",
28
+ "type": "NetSuiteSyncInvoicesRequestIntegrationTypeEnum",
29
+ "format": ""
30
+ },
31
+ {
32
+ "name": "uid",
33
+ "baseName": "uid",
34
+ "type": "string",
35
+ "format": ""
36
+ },
37
+ {
38
+ "name": "data",
39
+ "baseName": "data",
40
+ "type": "NetSuiteSyncInvoicesRequestData",
41
+ "format": ""
42
+ }
43
+ ];
44
+ var NetSuiteSyncInvoicesRequestIntegrationTypeEnum;
45
+ (function (NetSuiteSyncInvoicesRequestIntegrationTypeEnum) {
46
+ NetSuiteSyncInvoicesRequestIntegrationTypeEnum["UpsertInvoice"] = "upsertInvoice";
47
+ })(NetSuiteSyncInvoicesRequestIntegrationTypeEnum = exports.NetSuiteSyncInvoicesRequestIntegrationTypeEnum || (exports.NetSuiteSyncInvoicesRequestIntegrationTypeEnum = {}));
@@ -0,0 +1,39 @@
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 { NetSuiteSyncInvoicesRequestDataEntity } from '../models/NetSuiteSyncInvoicesRequestDataEntity';
13
+ import { NetSuiteSyncInvoicesRequestDataItem } from '../models/NetSuiteSyncInvoicesRequestDataItem';
14
+ export declare class NetSuiteSyncInvoicesRequestData {
15
+ 'startDate': Date;
16
+ 'endDate': Date;
17
+ 'tranDate': Date;
18
+ 'memo': string;
19
+ 'externalId': string;
20
+ 'entity': NetSuiteSyncInvoicesRequestDataEntity;
21
+ 'account'?: NetSuiteSyncInvoicesRequestDataEntity;
22
+ 'item': NetSuiteSyncInvoicesRequestDataItem;
23
+ 'discountItem'?: NetSuiteSyncInvoicesRequestDataEntity;
24
+ 'discountRate'?: number;
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
+ }
@@ -0,0 +1,85 @@
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.NetSuiteSyncInvoicesRequestData = void 0;
15
+ class NetSuiteSyncInvoicesRequestData {
16
+ static getAttributeTypeMap() {
17
+ return NetSuiteSyncInvoicesRequestData.attributeTypeMap;
18
+ }
19
+ constructor() {
20
+ }
21
+ }
22
+ exports.NetSuiteSyncInvoicesRequestData = NetSuiteSyncInvoicesRequestData;
23
+ NetSuiteSyncInvoicesRequestData.discriminator = undefined;
24
+ NetSuiteSyncInvoicesRequestData.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": "tranDate",
39
+ "baseName": "tranDate",
40
+ "type": "Date",
41
+ "format": "date-time"
42
+ },
43
+ {
44
+ "name": "memo",
45
+ "baseName": "memo",
46
+ "type": "string",
47
+ "format": ""
48
+ },
49
+ {
50
+ "name": "externalId",
51
+ "baseName": "externalId",
52
+ "type": "string",
53
+ "format": ""
54
+ },
55
+ {
56
+ "name": "entity",
57
+ "baseName": "entity",
58
+ "type": "NetSuiteSyncInvoicesRequestDataEntity",
59
+ "format": ""
60
+ },
61
+ {
62
+ "name": "account",
63
+ "baseName": "account",
64
+ "type": "NetSuiteSyncInvoicesRequestDataEntity",
65
+ "format": ""
66
+ },
67
+ {
68
+ "name": "item",
69
+ "baseName": "item",
70
+ "type": "NetSuiteSyncInvoicesRequestDataItem",
71
+ "format": ""
72
+ },
73
+ {
74
+ "name": "discountItem",
75
+ "baseName": "discountItem",
76
+ "type": "NetSuiteSyncInvoicesRequestDataEntity",
77
+ "format": ""
78
+ },
79
+ {
80
+ "name": "discountRate",
81
+ "baseName": "discountRate",
82
+ "type": "number",
83
+ "format": ""
84
+ }
85
+ ];
@@ -0,0 +1,28 @@
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 NetSuiteSyncInvoicesRequestDataEntity {
13
+ 'id': string;
14
+ static readonly discriminator: string | undefined;
15
+ static readonly attributeTypeMap: Array<{
16
+ name: string;
17
+ baseName: string;
18
+ type: string;
19
+ format: string;
20
+ }>;
21
+ static getAttributeTypeMap(): {
22
+ name: string;
23
+ baseName: string;
24
+ type: string;
25
+ format: string;
26
+ }[];
27
+ constructor();
28
+ }
@@ -0,0 +1,31 @@
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.NetSuiteSyncInvoicesRequestDataEntity = void 0;
15
+ class NetSuiteSyncInvoicesRequestDataEntity {
16
+ static getAttributeTypeMap() {
17
+ return NetSuiteSyncInvoicesRequestDataEntity.attributeTypeMap;
18
+ }
19
+ constructor() {
20
+ }
21
+ }
22
+ exports.NetSuiteSyncInvoicesRequestDataEntity = NetSuiteSyncInvoicesRequestDataEntity;
23
+ NetSuiteSyncInvoicesRequestDataEntity.discriminator = undefined;
24
+ NetSuiteSyncInvoicesRequestDataEntity.attributeTypeMap = [
25
+ {
26
+ "name": "id",
27
+ "baseName": "id",
28
+ "type": "string",
29
+ "format": ""
30
+ }
31
+ ];
@@ -0,0 +1,29 @@
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 { NetSuiteSyncInvoicesRequestDataItemItemsInner } from '../models/NetSuiteSyncInvoicesRequestDataItemItemsInner';
13
+ export declare class NetSuiteSyncInvoicesRequestDataItem {
14
+ 'items': Array<NetSuiteSyncInvoicesRequestDataItemItemsInner>;
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
+ }
@@ -0,0 +1,31 @@
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.NetSuiteSyncInvoicesRequestDataItem = void 0;
15
+ class NetSuiteSyncInvoicesRequestDataItem {
16
+ static getAttributeTypeMap() {
17
+ return NetSuiteSyncInvoicesRequestDataItem.attributeTypeMap;
18
+ }
19
+ constructor() {
20
+ }
21
+ }
22
+ exports.NetSuiteSyncInvoicesRequestDataItem = NetSuiteSyncInvoicesRequestDataItem;
23
+ NetSuiteSyncInvoicesRequestDataItem.discriminator = undefined;
24
+ NetSuiteSyncInvoicesRequestDataItem.attributeTypeMap = [
25
+ {
26
+ "name": "items",
27
+ "baseName": "items",
28
+ "type": "Array<NetSuiteSyncInvoicesRequestDataItemItemsInner>",
29
+ "format": ""
30
+ }
31
+ ];
@@ -0,0 +1,33 @@
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 { NetSuiteSyncInvoicesRequestDataEntity } from '../models/NetSuiteSyncInvoicesRequestDataEntity';
13
+ export declare class NetSuiteSyncInvoicesRequestDataItemItemsInner {
14
+ 'item': NetSuiteSyncInvoicesRequestDataEntity;
15
+ 'quantity': number;
16
+ 'amount': number;
17
+ 'description'?: string;
18
+ 'memo'?: string;
19
+ static readonly discriminator: string | undefined;
20
+ static readonly attributeTypeMap: Array<{
21
+ name: string;
22
+ baseName: string;
23
+ type: string;
24
+ format: string;
25
+ }>;
26
+ static getAttributeTypeMap(): {
27
+ name: string;
28
+ baseName: string;
29
+ type: string;
30
+ format: string;
31
+ }[];
32
+ constructor();
33
+ }