vayu-ts 0.3.4 → 0.3.7
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.
- package/dist/openapi/apis/AuthApi.js +8 -4
- package/dist/openapi/apis/CatalogProductsApi.js +46 -23
- package/dist/openapi/apis/CloudUsageSubmissionApi.js +8 -4
- package/dist/openapi/apis/ContractsApi.js +48 -22
- package/dist/openapi/apis/CreditsApi.js +24 -12
- package/dist/openapi/apis/CustomFieldsApi.d.ts +89 -0
- package/dist/openapi/apis/CustomFieldsApi.js +377 -0
- package/dist/openapi/apis/CustomersApi.js +124 -52
- package/dist/openapi/apis/EventsApi.d.ts +116 -1
- package/dist/openapi/apis/EventsApi.js +605 -25
- package/dist/openapi/apis/InvoicesApi.js +26 -13
- package/dist/openapi/apis/MeasurementsApi.js +36 -18
- package/dist/openapi/apis/MetersApi.js +38 -19
- package/dist/openapi/apis/PlansApi.d.ts +56 -0
- package/dist/openapi/apis/PlansApi.js +225 -0
- package/dist/openapi/apis/ProductConsumptionsApi.js +12 -4
- package/dist/openapi/apis/WebhooksApi.js +12 -4
- package/dist/openapi/index.d.ts +1 -1
- package/dist/openapi/index.js +3 -1
- package/dist/openapi/models/BillingInterval.d.ts +18 -0
- package/dist/openapi/models/BillingInterval.js +22 -0
- package/dist/openapi/models/ConflictErrorResponse.d.ts +42 -0
- package/dist/openapi/models/ConflictErrorResponse.js +52 -0
- package/dist/openapi/models/Contact.js +1 -1
- package/dist/openapi/models/CreateContractRequest.d.ts +6 -0
- package/dist/openapi/models/CreateContractRequest.js +12 -0
- package/dist/openapi/models/CreateCustomFieldRequest.d.ts +71 -0
- package/dist/openapi/models/CreateCustomFieldRequest.js +90 -0
- package/dist/openapi/models/CreateCustomFieldResponse.d.ts +32 -0
- package/dist/openapi/models/CreateCustomFieldResponse.js +32 -0
- package/dist/openapi/models/CreateCustomFieldResponseCustomField.d.ts +74 -0
- package/dist/openapi/models/CreateCustomFieldResponseCustomField.js +108 -0
- package/dist/openapi/models/CreateCustomerRequest.d.ts +20 -0
- package/dist/openapi/models/CreateCustomerRequest.js +30 -0
- package/dist/openapi/models/CreateCustomerResponseCustomer.d.ts +20 -0
- package/dist/openapi/models/CreateCustomerResponseCustomer.js +30 -0
- package/dist/openapi/models/CustomFieldEntities.d.ts +20 -0
- package/dist/openapi/models/CustomFieldEntities.js +24 -0
- package/dist/openapi/models/CustomFieldValueTypes.d.ts +2 -1
- package/dist/openapi/models/CustomFieldValueTypes.js +1 -0
- package/dist/openapi/models/DeleteContractResponseContract.d.ts +6 -0
- package/dist/openapi/models/DeleteContractResponseContract.js +12 -0
- package/dist/openapi/models/DeleteCustomFieldResponse.d.ts +32 -0
- package/dist/openapi/models/DeleteCustomFieldResponse.js +32 -0
- package/dist/openapi/models/DeleteCustomFieldResponseCustomField.d.ts +75 -0
- package/dist/openapi/models/DeleteCustomFieldResponseCustomField.js +114 -0
- package/dist/openapi/models/DeleteCustomerResponseCustomer.d.ts +20 -0
- package/dist/openapi/models/DeleteCustomerResponseCustomer.js +30 -0
- package/dist/openapi/models/DeletePlanResponse.d.ts +32 -0
- package/dist/openapi/models/DeletePlanResponse.js +32 -0
- package/dist/openapi/models/DeletePlanResponsePlan.d.ts +42 -0
- package/dist/openapi/models/DeletePlanResponsePlan.js +68 -0
- package/dist/openapi/models/EventsDryRunResponseObjectMeterWithValuesInner.d.ts +1 -1
- package/dist/openapi/models/GetContractResponseContract.d.ts +6 -0
- package/dist/openapi/models/GetContractResponseContract.js +12 -0
- package/dist/openapi/models/GetCustomFieldResponse.d.ts +32 -0
- package/dist/openapi/models/GetCustomFieldResponse.js +32 -0
- package/dist/openapi/models/GetCustomerByNameResponseCustomer.d.ts +20 -0
- package/dist/openapi/models/GetCustomerByNameResponseCustomer.js +30 -0
- package/dist/openapi/models/GetPlanResponse.d.ts +32 -0
- package/dist/openapi/models/GetPlanResponse.js +32 -0
- package/dist/openapi/models/GetPlanResponsePlan.d.ts +41 -0
- package/dist/openapi/models/GetPlanResponsePlan.js +62 -0
- package/dist/openapi/models/InternalServerErrorResponse.d.ts +42 -0
- package/dist/openapi/models/InternalServerErrorResponse.js +52 -0
- package/dist/openapi/models/ListCustomFieldsResponse.d.ts +35 -0
- package/dist/openapi/models/ListCustomFieldsResponse.js +50 -0
- package/dist/openapi/models/ListPlansResponse.d.ts +35 -0
- package/dist/openapi/models/ListPlansResponse.js +50 -0
- package/dist/openapi/models/NotFoundErrorResponse.d.ts +42 -0
- package/dist/openapi/models/NotFoundErrorResponse.js +52 -0
- package/dist/openapi/models/NotificationEventType.d.ts +5 -1
- package/dist/openapi/models/NotificationEventType.js +4 -0
- package/dist/openapi/models/ObjectSerializer.d.ts +51 -0
- package/dist/openapi/models/ObjectSerializer.js +176 -0
- package/dist/openapi/models/PlanBillingData.d.ts +41 -0
- package/dist/openapi/models/PlanBillingData.js +59 -0
- package/dist/openapi/models/PlanDuration.d.ts +30 -0
- package/dist/openapi/models/PlanDuration.js +25 -0
- package/dist/openapi/models/PlanStatus.d.ts +19 -0
- package/dist/openapi/models/PlanStatus.js +23 -0
- package/dist/openapi/models/ProductGroupCommitment.d.ts +8 -0
- package/dist/openapi/models/ProductGroupCommitment.js +12 -1
- package/dist/openapi/models/ProductGroupProductsInnerCommitment.d.ts +8 -0
- package/dist/openapi/models/ProductGroupProductsInnerCommitment.js +12 -1
- package/dist/openapi/models/ProductGroupProductsInnerCommitmentScheduling.d.ts +4 -4
- package/dist/openapi/models/ProductGroupProductsInnerCommitmentScheduling.js +2 -2
- package/dist/openapi/models/ProductGroupProductsInnerCommitmentSchedulingDuration.d.ts +41 -0
- package/dist/openapi/models/ProductGroupProductsInnerCommitmentSchedulingDuration.js +48 -0
- package/dist/openapi/models/ProductGroupProductsInnerPricing.d.ts +3 -1
- package/dist/openapi/models/ProductGroupProductsInnerPricingOneOf.d.ts +6 -0
- package/dist/openapi/models/ProductGroupProductsInnerPricingOneOf.js +12 -0
- package/dist/openapi/models/ProductGroupProductsInnerPricingOneOf1.d.ts +2 -0
- package/dist/openapi/models/ProductGroupProductsInnerPricingOneOf1.js +6 -0
- package/dist/openapi/models/ProductGroupProductsInnerPricingOneOf2.d.ts +2 -0
- package/dist/openapi/models/ProductGroupProductsInnerPricingOneOf2.js +6 -0
- package/dist/openapi/models/ProductGroupProductsInnerPricingOneOf5.d.ts +42 -0
- package/dist/openapi/models/ProductGroupProductsInnerPricingOneOf5.js +48 -0
- package/dist/openapi/models/ProductGroupProductsInnerPricingOneOf6.d.ts +42 -0
- package/dist/openapi/models/ProductGroupProductsInnerPricingOneOf6.js +48 -0
- package/dist/openapi/models/ProductGroupProductsInnerPricingOneOfDiscount.d.ts +53 -0
- package/dist/openapi/models/ProductGroupProductsInnerPricingOneOfDiscount.js +58 -0
- package/dist/openapi/models/QueryEventsResponse.d.ts +3 -3
- package/dist/openapi/models/QueryEventsResponse.js +18 -0
- package/dist/openapi/models/RateLimitErrorResponse.d.ts +42 -0
- package/dist/openapi/models/RateLimitErrorResponse.js +52 -0
- package/dist/openapi/models/RequestTooLongErrorResponse.d.ts +42 -0
- package/dist/openapi/models/RequestTooLongErrorResponse.js +52 -0
- package/dist/openapi/models/UnauthorizedErrorResponse.d.ts +42 -0
- package/dist/openapi/models/UnauthorizedErrorResponse.js +52 -0
- package/dist/openapi/models/UnlimitedDuration.d.ts +14 -0
- package/dist/openapi/models/UnlimitedDuration.js +18 -0
- package/dist/openapi/models/UpdateCustomFieldRequest.d.ts +71 -0
- package/dist/openapi/models/UpdateCustomFieldRequest.js +90 -0
- package/dist/openapi/models/UpdateCustomFieldResponse.d.ts +32 -0
- package/dist/openapi/models/UpdateCustomFieldResponse.js +32 -0
- package/dist/openapi/models/UpdateCustomerRequest.d.ts +20 -0
- package/dist/openapi/models/UpdateCustomerRequest.js +30 -0
- package/dist/openapi/models/V2DeleteEventResponse.d.ts +32 -0
- package/dist/openapi/models/V2DeleteEventResponse.js +32 -0
- package/dist/openapi/models/V2DeleteEventsByRefsRequest.d.ts +31 -0
- package/dist/openapi/models/V2DeleteEventsByRefsRequest.js +32 -0
- package/dist/openapi/models/V2DeleteEventsByRefsResponse.d.ts +35 -0
- package/dist/openapi/models/V2DeleteEventsByRefsResponse.js +32 -0
- package/dist/openapi/models/V2EventsDryRunRequest.d.ts +32 -0
- package/dist/openapi/models/V2EventsDryRunRequest.js +32 -0
- package/dist/openapi/models/V2EventsDryRunResponse.d.ts +32 -0
- package/dist/openapi/models/V2EventsDryRunResponse.js +32 -0
- package/dist/openapi/models/V2GetEventResponse.d.ts +32 -0
- package/dist/openapi/models/V2GetEventResponse.js +32 -0
- package/dist/openapi/models/V2QueryEventsAggregationRequest.d.ts +45 -0
- package/dist/openapi/models/V2QueryEventsAggregationRequest.js +70 -0
- package/dist/openapi/models/V2QueryEventsAggregationRequestMetersInner.d.ts +39 -0
- package/dist/openapi/models/V2QueryEventsAggregationRequestMetersInner.js +62 -0
- package/dist/openapi/models/V2QueryEventsAggregationRequestMetersInnerAggregation.d.ts +35 -0
- package/dist/openapi/models/V2QueryEventsAggregationRequestMetersInnerAggregation.js +44 -0
- package/dist/openapi/models/V2QueryEventsAggregationRequestMetersInnerAggregationFieldArithmetic.d.ts +38 -0
- package/dist/openapi/models/V2QueryEventsAggregationRequestMetersInnerAggregationFieldArithmetic.js +45 -0
- package/dist/openapi/models/V2QueryEventsAggregationRequestMetersInnerFiltersInner.d.ts +43 -0
- package/dist/openapi/models/V2QueryEventsAggregationRequestMetersInnerFiltersInner.js +54 -0
- package/dist/openapi/models/V2QueryEventsAggregationRequestMetersInnerFiltersInnerValue.d.ts +30 -0
- package/dist/openapi/models/V2QueryEventsAggregationRequestMetersInnerFiltersInnerValue.js +25 -0
- package/dist/openapi/models/V2QueryEventsAggregationRequestMetersInnerSqlFullQuery.d.ts +34 -0
- package/dist/openapi/models/V2QueryEventsAggregationRequestMetersInnerSqlFullQuery.js +38 -0
- package/dist/openapi/models/V2QueryEventsAggregationRequestPeriod.d.ts +32 -0
- package/dist/openapi/models/V2QueryEventsAggregationRequestPeriod.js +38 -0
- package/dist/openapi/models/V2QueryEventsAggregationResponse.d.ts +42 -0
- package/dist/openapi/models/V2QueryEventsAggregationResponse.js +52 -0
- package/dist/openapi/models/V2QueryEventsAggregationResponseDataPointsInner.d.ts +34 -0
- package/dist/openapi/models/V2QueryEventsAggregationResponseDataPointsInner.js +38 -0
- package/dist/openapi/models/V2QueryEventsResponse.d.ts +35 -0
- package/dist/openapi/models/V2QueryEventsResponse.js +50 -0
- package/dist/openapi/models/V2SendEventsRequest.d.ts +32 -0
- package/dist/openapi/models/V2SendEventsRequest.js +32 -0
- package/dist/openapi/models/V2SendEventsResponse.d.ts +40 -0
- package/dist/openapi/models/V2SendEventsResponse.js +38 -0
- package/dist/openapi/models/ValidationErrorResponse.d.ts +51 -0
- package/dist/openapi/models/ValidationErrorResponse.js +60 -0
- package/dist/openapi/models/ValidationErrorResponseParamsInner.d.ts +38 -0
- package/dist/openapi/models/ValidationErrorResponseParamsInner.js +38 -0
- package/dist/openapi/models/WebhookSubscribeRequest.d.ts +1 -0
- package/dist/openapi/models/WebhookSubscribeRequest.js +6 -0
- package/dist/openapi/models/all.d.ts +51 -0
- package/dist/openapi/models/all.js +51 -0
- package/dist/openapi/types/ObservableAPI.d.ts +235 -2
- package/dist/openapi/types/ObservableAPI.js +476 -5
- package/dist/openapi/types/PromiseAPI.d.ts +231 -2
- package/dist/openapi/types/PromiseAPI.js +320 -18
- package/dist/sdk/clients/EventsClient.js +1 -1
- package/dist/sdk/clients/WebhooksClient.d.ts +2 -0
- package/dist/sdk/clients/WebhooksClient.js +14 -0
- package/package.json +1 -1
|
@@ -0,0 +1,35 @@
|
|
|
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
|
+
import { V2QueryEventsAggregationRequestMetersInnerAggregationFieldArithmetic } from '../models/V2QueryEventsAggregationRequestMetersInnerAggregationFieldArithmetic';
|
|
14
|
+
export declare class V2QueryEventsAggregationRequestMetersInnerAggregation {
|
|
15
|
+
'operator': AggregationOperator;
|
|
16
|
+
'field'?: string;
|
|
17
|
+
'fieldArithmetic'?: V2QueryEventsAggregationRequestMetersInnerAggregationFieldArithmetic;
|
|
18
|
+
static readonly discriminator: string | undefined;
|
|
19
|
+
static readonly mapping: {
|
|
20
|
+
[index: string]: string;
|
|
21
|
+
} | 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
|
+
}
|
|
@@ -0,0 +1,44 @@
|
|
|
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.V2QueryEventsAggregationRequestMetersInnerAggregation = void 0;
|
|
15
|
+
class V2QueryEventsAggregationRequestMetersInnerAggregation {
|
|
16
|
+
static getAttributeTypeMap() {
|
|
17
|
+
return V2QueryEventsAggregationRequestMetersInnerAggregation.attributeTypeMap;
|
|
18
|
+
}
|
|
19
|
+
constructor() {
|
|
20
|
+
}
|
|
21
|
+
}
|
|
22
|
+
exports.V2QueryEventsAggregationRequestMetersInnerAggregation = V2QueryEventsAggregationRequestMetersInnerAggregation;
|
|
23
|
+
V2QueryEventsAggregationRequestMetersInnerAggregation.discriminator = undefined;
|
|
24
|
+
V2QueryEventsAggregationRequestMetersInnerAggregation.mapping = undefined;
|
|
25
|
+
V2QueryEventsAggregationRequestMetersInnerAggregation.attributeTypeMap = [
|
|
26
|
+
{
|
|
27
|
+
"name": "operator",
|
|
28
|
+
"baseName": "operator",
|
|
29
|
+
"type": "AggregationOperator",
|
|
30
|
+
"format": ""
|
|
31
|
+
},
|
|
32
|
+
{
|
|
33
|
+
"name": "field",
|
|
34
|
+
"baseName": "field",
|
|
35
|
+
"type": "string",
|
|
36
|
+
"format": ""
|
|
37
|
+
},
|
|
38
|
+
{
|
|
39
|
+
"name": "fieldArithmetic",
|
|
40
|
+
"baseName": "fieldArithmetic",
|
|
41
|
+
"type": "V2QueryEventsAggregationRequestMetersInnerAggregationFieldArithmetic",
|
|
42
|
+
"format": ""
|
|
43
|
+
}
|
|
44
|
+
];
|
|
@@ -0,0 +1,38 @@
|
|
|
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 V2QueryEventsAggregationRequestMetersInnerAggregationFieldArithmetic {
|
|
13
|
+
'operator': V2QueryEventsAggregationRequestMetersInnerAggregationFieldArithmeticOperatorEnum;
|
|
14
|
+
'field': string;
|
|
15
|
+
static readonly discriminator: string | undefined;
|
|
16
|
+
static readonly mapping: {
|
|
17
|
+
[index: string]: string;
|
|
18
|
+
} | 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
|
+
}
|
|
33
|
+
export declare enum V2QueryEventsAggregationRequestMetersInnerAggregationFieldArithmeticOperatorEnum {
|
|
34
|
+
Star = "*",
|
|
35
|
+
Plus = "+",
|
|
36
|
+
Minus = "-",
|
|
37
|
+
Slash = "/"
|
|
38
|
+
}
|
package/dist/openapi/models/V2QueryEventsAggregationRequestMetersInnerAggregationFieldArithmetic.js
ADDED
|
@@ -0,0 +1,45 @@
|
|
|
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.V2QueryEventsAggregationRequestMetersInnerAggregationFieldArithmeticOperatorEnum = exports.V2QueryEventsAggregationRequestMetersInnerAggregationFieldArithmetic = void 0;
|
|
15
|
+
class V2QueryEventsAggregationRequestMetersInnerAggregationFieldArithmetic {
|
|
16
|
+
static getAttributeTypeMap() {
|
|
17
|
+
return V2QueryEventsAggregationRequestMetersInnerAggregationFieldArithmetic.attributeTypeMap;
|
|
18
|
+
}
|
|
19
|
+
constructor() {
|
|
20
|
+
}
|
|
21
|
+
}
|
|
22
|
+
exports.V2QueryEventsAggregationRequestMetersInnerAggregationFieldArithmetic = V2QueryEventsAggregationRequestMetersInnerAggregationFieldArithmetic;
|
|
23
|
+
V2QueryEventsAggregationRequestMetersInnerAggregationFieldArithmetic.discriminator = undefined;
|
|
24
|
+
V2QueryEventsAggregationRequestMetersInnerAggregationFieldArithmetic.mapping = undefined;
|
|
25
|
+
V2QueryEventsAggregationRequestMetersInnerAggregationFieldArithmetic.attributeTypeMap = [
|
|
26
|
+
{
|
|
27
|
+
"name": "operator",
|
|
28
|
+
"baseName": "operator",
|
|
29
|
+
"type": "V2QueryEventsAggregationRequestMetersInnerAggregationFieldArithmeticOperatorEnum",
|
|
30
|
+
"format": ""
|
|
31
|
+
},
|
|
32
|
+
{
|
|
33
|
+
"name": "field",
|
|
34
|
+
"baseName": "field",
|
|
35
|
+
"type": "string",
|
|
36
|
+
"format": ""
|
|
37
|
+
}
|
|
38
|
+
];
|
|
39
|
+
var V2QueryEventsAggregationRequestMetersInnerAggregationFieldArithmeticOperatorEnum;
|
|
40
|
+
(function (V2QueryEventsAggregationRequestMetersInnerAggregationFieldArithmeticOperatorEnum) {
|
|
41
|
+
V2QueryEventsAggregationRequestMetersInnerAggregationFieldArithmeticOperatorEnum["Star"] = "*";
|
|
42
|
+
V2QueryEventsAggregationRequestMetersInnerAggregationFieldArithmeticOperatorEnum["Plus"] = "+";
|
|
43
|
+
V2QueryEventsAggregationRequestMetersInnerAggregationFieldArithmeticOperatorEnum["Minus"] = "-";
|
|
44
|
+
V2QueryEventsAggregationRequestMetersInnerAggregationFieldArithmeticOperatorEnum["Slash"] = "/";
|
|
45
|
+
})(V2QueryEventsAggregationRequestMetersInnerAggregationFieldArithmeticOperatorEnum = exports.V2QueryEventsAggregationRequestMetersInnerAggregationFieldArithmeticOperatorEnum || (exports.V2QueryEventsAggregationRequestMetersInnerAggregationFieldArithmeticOperatorEnum = {}));
|
|
@@ -0,0 +1,43 @@
|
|
|
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 { V2QueryEventsAggregationRequestMetersInnerFiltersInnerValue } from '../models/V2QueryEventsAggregationRequestMetersInnerFiltersInnerValue';
|
|
13
|
+
export declare class V2QueryEventsAggregationRequestMetersInnerFiltersInner {
|
|
14
|
+
'field': string;
|
|
15
|
+
'operator': V2QueryEventsAggregationRequestMetersInnerFiltersInnerOperatorEnum;
|
|
16
|
+
'value': V2QueryEventsAggregationRequestMetersInnerFiltersInnerValue;
|
|
17
|
+
static readonly discriminator: string | undefined;
|
|
18
|
+
static readonly mapping: {
|
|
19
|
+
[index: string]: string;
|
|
20
|
+
} | undefined;
|
|
21
|
+
static readonly attributeTypeMap: Array<{
|
|
22
|
+
name: string;
|
|
23
|
+
baseName: string;
|
|
24
|
+
type: string;
|
|
25
|
+
format: string;
|
|
26
|
+
}>;
|
|
27
|
+
static getAttributeTypeMap(): {
|
|
28
|
+
name: string;
|
|
29
|
+
baseName: string;
|
|
30
|
+
type: string;
|
|
31
|
+
format: string;
|
|
32
|
+
}[];
|
|
33
|
+
constructor();
|
|
34
|
+
}
|
|
35
|
+
export declare enum V2QueryEventsAggregationRequestMetersInnerFiltersInnerOperatorEnum {
|
|
36
|
+
Eq = "eq",
|
|
37
|
+
Neq = "neq",
|
|
38
|
+
Gt = "gt",
|
|
39
|
+
Gte = "gte",
|
|
40
|
+
Lt = "lt",
|
|
41
|
+
Lte = "lte",
|
|
42
|
+
In = "in"
|
|
43
|
+
}
|
|
@@ -0,0 +1,54 @@
|
|
|
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.V2QueryEventsAggregationRequestMetersInnerFiltersInnerOperatorEnum = exports.V2QueryEventsAggregationRequestMetersInnerFiltersInner = void 0;
|
|
15
|
+
class V2QueryEventsAggregationRequestMetersInnerFiltersInner {
|
|
16
|
+
static getAttributeTypeMap() {
|
|
17
|
+
return V2QueryEventsAggregationRequestMetersInnerFiltersInner.attributeTypeMap;
|
|
18
|
+
}
|
|
19
|
+
constructor() {
|
|
20
|
+
}
|
|
21
|
+
}
|
|
22
|
+
exports.V2QueryEventsAggregationRequestMetersInnerFiltersInner = V2QueryEventsAggregationRequestMetersInnerFiltersInner;
|
|
23
|
+
V2QueryEventsAggregationRequestMetersInnerFiltersInner.discriminator = undefined;
|
|
24
|
+
V2QueryEventsAggregationRequestMetersInnerFiltersInner.mapping = undefined;
|
|
25
|
+
V2QueryEventsAggregationRequestMetersInnerFiltersInner.attributeTypeMap = [
|
|
26
|
+
{
|
|
27
|
+
"name": "field",
|
|
28
|
+
"baseName": "field",
|
|
29
|
+
"type": "string",
|
|
30
|
+
"format": ""
|
|
31
|
+
},
|
|
32
|
+
{
|
|
33
|
+
"name": "operator",
|
|
34
|
+
"baseName": "operator",
|
|
35
|
+
"type": "V2QueryEventsAggregationRequestMetersInnerFiltersInnerOperatorEnum",
|
|
36
|
+
"format": ""
|
|
37
|
+
},
|
|
38
|
+
{
|
|
39
|
+
"name": "value",
|
|
40
|
+
"baseName": "value",
|
|
41
|
+
"type": "V2QueryEventsAggregationRequestMetersInnerFiltersInnerValue",
|
|
42
|
+
"format": ""
|
|
43
|
+
}
|
|
44
|
+
];
|
|
45
|
+
var V2QueryEventsAggregationRequestMetersInnerFiltersInnerOperatorEnum;
|
|
46
|
+
(function (V2QueryEventsAggregationRequestMetersInnerFiltersInnerOperatorEnum) {
|
|
47
|
+
V2QueryEventsAggregationRequestMetersInnerFiltersInnerOperatorEnum["Eq"] = "eq";
|
|
48
|
+
V2QueryEventsAggregationRequestMetersInnerFiltersInnerOperatorEnum["Neq"] = "neq";
|
|
49
|
+
V2QueryEventsAggregationRequestMetersInnerFiltersInnerOperatorEnum["Gt"] = "gt";
|
|
50
|
+
V2QueryEventsAggregationRequestMetersInnerFiltersInnerOperatorEnum["Gte"] = "gte";
|
|
51
|
+
V2QueryEventsAggregationRequestMetersInnerFiltersInnerOperatorEnum["Lt"] = "lt";
|
|
52
|
+
V2QueryEventsAggregationRequestMetersInnerFiltersInnerOperatorEnum["Lte"] = "lte";
|
|
53
|
+
V2QueryEventsAggregationRequestMetersInnerFiltersInnerOperatorEnum["In"] = "in";
|
|
54
|
+
})(V2QueryEventsAggregationRequestMetersInnerFiltersInnerOperatorEnum = exports.V2QueryEventsAggregationRequestMetersInnerFiltersInnerOperatorEnum || (exports.V2QueryEventsAggregationRequestMetersInnerFiltersInnerOperatorEnum = {}));
|
|
@@ -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 V2QueryEventsAggregationRequestMetersInnerFiltersInnerValue {
|
|
13
|
+
static readonly discriminator: string | undefined;
|
|
14
|
+
static readonly mapping: {
|
|
15
|
+
[index: string]: string;
|
|
16
|
+
} | 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,25 @@
|
|
|
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.V2QueryEventsAggregationRequestMetersInnerFiltersInnerValue = void 0;
|
|
15
|
+
class V2QueryEventsAggregationRequestMetersInnerFiltersInnerValue {
|
|
16
|
+
static getAttributeTypeMap() {
|
|
17
|
+
return V2QueryEventsAggregationRequestMetersInnerFiltersInnerValue.attributeTypeMap;
|
|
18
|
+
}
|
|
19
|
+
constructor() {
|
|
20
|
+
}
|
|
21
|
+
}
|
|
22
|
+
exports.V2QueryEventsAggregationRequestMetersInnerFiltersInnerValue = V2QueryEventsAggregationRequestMetersInnerFiltersInnerValue;
|
|
23
|
+
V2QueryEventsAggregationRequestMetersInnerFiltersInnerValue.discriminator = undefined;
|
|
24
|
+
V2QueryEventsAggregationRequestMetersInnerFiltersInnerValue.mapping = undefined;
|
|
25
|
+
V2QueryEventsAggregationRequestMetersInnerFiltersInnerValue.attributeTypeMap = [];
|
|
@@ -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
|
+
export declare class V2QueryEventsAggregationRequestMetersInnerSqlFullQuery {
|
|
13
|
+
'sql': string;
|
|
14
|
+
'params': {
|
|
15
|
+
[key: string]: any | null;
|
|
16
|
+
};
|
|
17
|
+
static readonly discriminator: string | undefined;
|
|
18
|
+
static readonly mapping: {
|
|
19
|
+
[index: string]: string;
|
|
20
|
+
} | undefined;
|
|
21
|
+
static readonly attributeTypeMap: Array<{
|
|
22
|
+
name: string;
|
|
23
|
+
baseName: string;
|
|
24
|
+
type: string;
|
|
25
|
+
format: string;
|
|
26
|
+
}>;
|
|
27
|
+
static getAttributeTypeMap(): {
|
|
28
|
+
name: string;
|
|
29
|
+
baseName: string;
|
|
30
|
+
type: string;
|
|
31
|
+
format: string;
|
|
32
|
+
}[];
|
|
33
|
+
constructor();
|
|
34
|
+
}
|
|
@@ -0,0 +1,38 @@
|
|
|
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.V2QueryEventsAggregationRequestMetersInnerSqlFullQuery = void 0;
|
|
15
|
+
class V2QueryEventsAggregationRequestMetersInnerSqlFullQuery {
|
|
16
|
+
static getAttributeTypeMap() {
|
|
17
|
+
return V2QueryEventsAggregationRequestMetersInnerSqlFullQuery.attributeTypeMap;
|
|
18
|
+
}
|
|
19
|
+
constructor() {
|
|
20
|
+
}
|
|
21
|
+
}
|
|
22
|
+
exports.V2QueryEventsAggregationRequestMetersInnerSqlFullQuery = V2QueryEventsAggregationRequestMetersInnerSqlFullQuery;
|
|
23
|
+
V2QueryEventsAggregationRequestMetersInnerSqlFullQuery.discriminator = undefined;
|
|
24
|
+
V2QueryEventsAggregationRequestMetersInnerSqlFullQuery.mapping = undefined;
|
|
25
|
+
V2QueryEventsAggregationRequestMetersInnerSqlFullQuery.attributeTypeMap = [
|
|
26
|
+
{
|
|
27
|
+
"name": "sql",
|
|
28
|
+
"baseName": "sql",
|
|
29
|
+
"type": "string",
|
|
30
|
+
"format": ""
|
|
31
|
+
},
|
|
32
|
+
{
|
|
33
|
+
"name": "params",
|
|
34
|
+
"baseName": "params",
|
|
35
|
+
"type": "{ [key: string]: any | null; }",
|
|
36
|
+
"format": ""
|
|
37
|
+
}
|
|
38
|
+
];
|
|
@@ -0,0 +1,32 @@
|
|
|
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 V2QueryEventsAggregationRequestPeriod {
|
|
13
|
+
'startTime': string | null;
|
|
14
|
+
'endTime': string | null;
|
|
15
|
+
static readonly discriminator: string | undefined;
|
|
16
|
+
static readonly mapping: {
|
|
17
|
+
[index: string]: string;
|
|
18
|
+
} | 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
|
+
}
|
|
@@ -0,0 +1,38 @@
|
|
|
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.V2QueryEventsAggregationRequestPeriod = void 0;
|
|
15
|
+
class V2QueryEventsAggregationRequestPeriod {
|
|
16
|
+
static getAttributeTypeMap() {
|
|
17
|
+
return V2QueryEventsAggregationRequestPeriod.attributeTypeMap;
|
|
18
|
+
}
|
|
19
|
+
constructor() {
|
|
20
|
+
}
|
|
21
|
+
}
|
|
22
|
+
exports.V2QueryEventsAggregationRequestPeriod = V2QueryEventsAggregationRequestPeriod;
|
|
23
|
+
V2QueryEventsAggregationRequestPeriod.discriminator = undefined;
|
|
24
|
+
V2QueryEventsAggregationRequestPeriod.mapping = undefined;
|
|
25
|
+
V2QueryEventsAggregationRequestPeriod.attributeTypeMap = [
|
|
26
|
+
{
|
|
27
|
+
"name": "startTime",
|
|
28
|
+
"baseName": "startTime",
|
|
29
|
+
"type": "string",
|
|
30
|
+
"format": ""
|
|
31
|
+
},
|
|
32
|
+
{
|
|
33
|
+
"name": "endTime",
|
|
34
|
+
"baseName": "endTime",
|
|
35
|
+
"type": "string",
|
|
36
|
+
"format": ""
|
|
37
|
+
}
|
|
38
|
+
];
|
|
@@ -0,0 +1,42 @@
|
|
|
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 { V2QueryEventsAggregationRequestPeriod } from '../models/V2QueryEventsAggregationRequestPeriod';
|
|
13
|
+
import { V2QueryEventsAggregationResponseDataPointsInner } from '../models/V2QueryEventsAggregationResponseDataPointsInner';
|
|
14
|
+
export declare class V2QueryEventsAggregationResponse {
|
|
15
|
+
'dataPoints': Array<V2QueryEventsAggregationResponseDataPointsInner>;
|
|
16
|
+
'period': V2QueryEventsAggregationRequestPeriod;
|
|
17
|
+
'groupBy': V2QueryEventsAggregationResponseGroupByEnum;
|
|
18
|
+
static readonly discriminator: string | undefined;
|
|
19
|
+
static readonly mapping: {
|
|
20
|
+
[index: string]: string;
|
|
21
|
+
} | 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
|
+
}
|
|
36
|
+
export declare enum V2QueryEventsAggregationResponseGroupByEnum {
|
|
37
|
+
Event = "event",
|
|
38
|
+
Day = "day",
|
|
39
|
+
Month = "month",
|
|
40
|
+
Quarter = "quarter",
|
|
41
|
+
Year = "year"
|
|
42
|
+
}
|
|
@@ -0,0 +1,52 @@
|
|
|
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.V2QueryEventsAggregationResponseGroupByEnum = exports.V2QueryEventsAggregationResponse = void 0;
|
|
15
|
+
class V2QueryEventsAggregationResponse {
|
|
16
|
+
static getAttributeTypeMap() {
|
|
17
|
+
return V2QueryEventsAggregationResponse.attributeTypeMap;
|
|
18
|
+
}
|
|
19
|
+
constructor() {
|
|
20
|
+
}
|
|
21
|
+
}
|
|
22
|
+
exports.V2QueryEventsAggregationResponse = V2QueryEventsAggregationResponse;
|
|
23
|
+
V2QueryEventsAggregationResponse.discriminator = undefined;
|
|
24
|
+
V2QueryEventsAggregationResponse.mapping = undefined;
|
|
25
|
+
V2QueryEventsAggregationResponse.attributeTypeMap = [
|
|
26
|
+
{
|
|
27
|
+
"name": "dataPoints",
|
|
28
|
+
"baseName": "dataPoints",
|
|
29
|
+
"type": "Array<V2QueryEventsAggregationResponseDataPointsInner>",
|
|
30
|
+
"format": ""
|
|
31
|
+
},
|
|
32
|
+
{
|
|
33
|
+
"name": "period",
|
|
34
|
+
"baseName": "period",
|
|
35
|
+
"type": "V2QueryEventsAggregationRequestPeriod",
|
|
36
|
+
"format": ""
|
|
37
|
+
},
|
|
38
|
+
{
|
|
39
|
+
"name": "groupBy",
|
|
40
|
+
"baseName": "groupBy",
|
|
41
|
+
"type": "V2QueryEventsAggregationResponseGroupByEnum",
|
|
42
|
+
"format": ""
|
|
43
|
+
}
|
|
44
|
+
];
|
|
45
|
+
var V2QueryEventsAggregationResponseGroupByEnum;
|
|
46
|
+
(function (V2QueryEventsAggregationResponseGroupByEnum) {
|
|
47
|
+
V2QueryEventsAggregationResponseGroupByEnum["Event"] = "event";
|
|
48
|
+
V2QueryEventsAggregationResponseGroupByEnum["Day"] = "day";
|
|
49
|
+
V2QueryEventsAggregationResponseGroupByEnum["Month"] = "month";
|
|
50
|
+
V2QueryEventsAggregationResponseGroupByEnum["Quarter"] = "quarter";
|
|
51
|
+
V2QueryEventsAggregationResponseGroupByEnum["Year"] = "year";
|
|
52
|
+
})(V2QueryEventsAggregationResponseGroupByEnum = exports.V2QueryEventsAggregationResponseGroupByEnum || (exports.V2QueryEventsAggregationResponseGroupByEnum = {}));
|
|
@@ -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
|
+
export declare class V2QueryEventsAggregationResponseDataPointsInner {
|
|
13
|
+
'group': string;
|
|
14
|
+
'values': {
|
|
15
|
+
[key: string]: number;
|
|
16
|
+
};
|
|
17
|
+
static readonly discriminator: string | undefined;
|
|
18
|
+
static readonly mapping: {
|
|
19
|
+
[index: string]: string;
|
|
20
|
+
} | undefined;
|
|
21
|
+
static readonly attributeTypeMap: Array<{
|
|
22
|
+
name: string;
|
|
23
|
+
baseName: string;
|
|
24
|
+
type: string;
|
|
25
|
+
format: string;
|
|
26
|
+
}>;
|
|
27
|
+
static getAttributeTypeMap(): {
|
|
28
|
+
name: string;
|
|
29
|
+
baseName: string;
|
|
30
|
+
type: string;
|
|
31
|
+
format: string;
|
|
32
|
+
}[];
|
|
33
|
+
constructor();
|
|
34
|
+
}
|
|
@@ -0,0 +1,38 @@
|
|
|
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.V2QueryEventsAggregationResponseDataPointsInner = void 0;
|
|
15
|
+
class V2QueryEventsAggregationResponseDataPointsInner {
|
|
16
|
+
static getAttributeTypeMap() {
|
|
17
|
+
return V2QueryEventsAggregationResponseDataPointsInner.attributeTypeMap;
|
|
18
|
+
}
|
|
19
|
+
constructor() {
|
|
20
|
+
}
|
|
21
|
+
}
|
|
22
|
+
exports.V2QueryEventsAggregationResponseDataPointsInner = V2QueryEventsAggregationResponseDataPointsInner;
|
|
23
|
+
V2QueryEventsAggregationResponseDataPointsInner.discriminator = undefined;
|
|
24
|
+
V2QueryEventsAggregationResponseDataPointsInner.mapping = undefined;
|
|
25
|
+
V2QueryEventsAggregationResponseDataPointsInner.attributeTypeMap = [
|
|
26
|
+
{
|
|
27
|
+
"name": "group",
|
|
28
|
+
"baseName": "group",
|
|
29
|
+
"type": "string",
|
|
30
|
+
"format": ""
|
|
31
|
+
},
|
|
32
|
+
{
|
|
33
|
+
"name": "values",
|
|
34
|
+
"baseName": "values",
|
|
35
|
+
"type": "{ [key: string]: number; }",
|
|
36
|
+
"format": ""
|
|
37
|
+
}
|
|
38
|
+
];
|