vayu-ts 0.0.4 → 0.0.13
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +1 -1
- package/package.json +1 -1
- package/dist/index.d.ts +0 -1
- package/dist/index.js +0 -17
- package/dist/openapi/apis/AuthApi.d.ts +0 -26
- package/dist/openapi/apis/AuthApi.js +0 -93
- package/dist/openapi/apis/ContractsApi.d.ts +0 -72
- package/dist/openapi/apis/ContractsApi.js +0 -307
- package/dist/openapi/apis/CreditsApi.d.ts +0 -57
- package/dist/openapi/apis/CreditsApi.js +0 -248
- package/dist/openapi/apis/CustomersApi.d.ts +0 -89
- package/dist/openapi/apis/CustomersApi.js +0 -388
- package/dist/openapi/apis/EventsApi.d.ts +0 -91
- package/dist/openapi/apis/EventsApi.js +0 -408
- package/dist/openapi/apis/IntegrationsApi.d.ts +0 -41
- package/dist/openapi/apis/IntegrationsApi.js +0 -170
- package/dist/openapi/apis/InvoicesApi.d.ts +0 -41
- package/dist/openapi/apis/InvoicesApi.js +0 -166
- package/dist/openapi/apis/MetersApi.d.ts +0 -73
- package/dist/openapi/apis/MetersApi.js +0 -316
- package/dist/openapi/apis/PlansApi.d.ts +0 -56
- package/dist/openapi/apis/PlansApi.js +0 -235
- package/dist/openapi/apis/ReportsApi.d.ts +0 -41
- package/dist/openapi/apis/ReportsApi.js +0 -166
- package/dist/openapi/apis/WebhooksApi.d.ts +0 -25
- package/dist/openapi/apis/WebhooksApi.js +0 -101
- package/dist/openapi/apis/baseapi.d.ts +0 -33
- package/dist/openapi/apis/baseapi.js +0 -41
- package/dist/openapi/apis/exception.d.ts +0 -19
- package/dist/openapi/apis/exception.js +0 -22
- package/dist/openapi/auth/auth.d.ts +0 -54
- package/dist/openapi/auth/auth.js +0 -50
- package/dist/openapi/configuration.d.ts +0 -63
- package/dist/openapi/configuration.js +0 -34
- package/dist/openapi/http/http.d.ts +0 -142
- package/dist/openapi/http/http.js +0 -229
- package/dist/openapi/http/isomorphic-fetch.d.ts +0 -5
- package/dist/openapi/http/isomorphic-fetch.js +0 -33
- package/dist/openapi/index.d.ts +0 -10
- package/dist/openapi/index.js +0 -38
- package/dist/openapi/middleware.d.ts +0 -54
- package/dist/openapi/middleware.js +0 -16
- package/dist/openapi/models/AggregationMethod.d.ts +0 -40
- package/dist/openapi/models/AggregationMethod.js +0 -46
- package/dist/openapi/models/AggregationOperator.d.ts +0 -24
- package/dist/openapi/models/AggregationOperator.js +0 -28
- package/dist/openapi/models/BillingCycleStatus.d.ts +0 -15
- package/dist/openapi/models/BillingCycleStatus.js +0 -19
- package/dist/openapi/models/BillingInterval.d.ts +0 -18
- package/dist/openapi/models/BillingInterval.js +0 -22
- package/dist/openapi/models/Condition.d.ts +0 -29
- package/dist/openapi/models/Condition.js +0 -31
- package/dist/openapi/models/ContractStatus.d.ts +0 -18
- package/dist/openapi/models/ContractStatus.js +0 -22
- package/dist/openapi/models/CreateContractRequest.d.ts +0 -43
- package/dist/openapi/models/CreateContractRequest.js +0 -49
- package/dist/openapi/models/CreateContractResponse.d.ts +0 -29
- package/dist/openapi/models/CreateContractResponse.js +0 -31
- package/dist/openapi/models/CreateCustomerRequest.d.ts +0 -35
- package/dist/openapi/models/CreateCustomerRequest.js +0 -37
- package/dist/openapi/models/CreateCustomerResponse.d.ts +0 -29
- package/dist/openapi/models/CreateCustomerResponse.js +0 -31
- package/dist/openapi/models/CreateCustomerResponseCustomer.d.ts +0 -38
- package/dist/openapi/models/CreateCustomerResponseCustomer.js +0 -55
- package/dist/openapi/models/CreditLedgerEntry.d.ts +0 -32
- package/dist/openapi/models/CreditLedgerEntry.js +0 -49
- package/dist/openapi/models/Criterion.d.ts +0 -31
- package/dist/openapi/models/Criterion.js +0 -43
- package/dist/openapi/models/CriterionOperator.d.ts +0 -23
- package/dist/openapi/models/CriterionOperator.js +0 -27
- package/dist/openapi/models/Currency.d.ts +0 -17
- package/dist/openapi/models/Currency.js +0 -21
- package/dist/openapi/models/DeductCreditsRequest.d.ts +0 -35
- package/dist/openapi/models/DeductCreditsRequest.js +0 -37
- package/dist/openapi/models/DeleteContractResponse.d.ts +0 -29
- package/dist/openapi/models/DeleteContractResponse.js +0 -31
- package/dist/openapi/models/DeleteContractResponseContract.d.ts +0 -47
- package/dist/openapi/models/DeleteContractResponseContract.js +0 -73
- package/dist/openapi/models/DeleteCustomerResponse.d.ts +0 -29
- package/dist/openapi/models/DeleteCustomerResponse.js +0 -31
- package/dist/openapi/models/DeleteCustomerResponseCustomer.d.ts +0 -39
- package/dist/openapi/models/DeleteCustomerResponseCustomer.js +0 -61
- package/dist/openapi/models/DeleteEventResponse.d.ts +0 -29
- package/dist/openapi/models/DeleteEventResponse.js +0 -31
- package/dist/openapi/models/DeleteEventResponseEvent.d.ts +0 -56
- package/dist/openapi/models/DeleteEventResponseEvent.js +0 -82
- package/dist/openapi/models/DeleteMeterResponse.d.ts +0 -29
- package/dist/openapi/models/DeleteMeterResponse.js +0 -31
- package/dist/openapi/models/DeleteMeterResponseMeter.d.ts +0 -43
- package/dist/openapi/models/DeleteMeterResponseMeter.js +0 -73
- package/dist/openapi/models/DeletePlanResponse.d.ts +0 -29
- package/dist/openapi/models/DeletePlanResponse.js +0 -31
- package/dist/openapi/models/DeletePlanResponsePlan.d.ts +0 -39
- package/dist/openapi/models/DeletePlanResponsePlan.js +0 -67
- package/dist/openapi/models/Event.d.ts +0 -49
- package/dist/openapi/models/Event.js +0 -55
- package/dist/openapi/models/EventsDryRunRequest.d.ts +0 -29
- package/dist/openapi/models/EventsDryRunRequest.js +0 -31
- package/dist/openapi/models/EventsDryRunResponse.d.ts +0 -29
- package/dist/openapi/models/EventsDryRunResponse.js +0 -31
- package/dist/openapi/models/EventsDryRunResponseObject.d.ts +0 -32
- package/dist/openapi/models/EventsDryRunResponseObject.js +0 -43
- package/dist/openapi/models/EventsDryRunResponseObjectEvent.d.ts +0 -35
- package/dist/openapi/models/EventsDryRunResponseObjectEvent.js +0 -61
- package/dist/openapi/models/EventsDryRunResponseObjectMeterWithValuesInner.d.ts +0 -41
- package/dist/openapi/models/EventsDryRunResponseObjectMeterWithValuesInner.js +0 -61
- package/dist/openapi/models/Filter.d.ts +0 -32
- package/dist/openapi/models/Filter.js +0 -34
- package/dist/openapi/models/GetCommitmentReportResponse.d.ts +0 -44
- package/dist/openapi/models/GetCommitmentReportResponse.js +0 -115
- package/dist/openapi/models/GetContractResponse.d.ts +0 -29
- package/dist/openapi/models/GetContractResponse.js +0 -31
- package/dist/openapi/models/GetContractResponseContract.d.ts +0 -46
- package/dist/openapi/models/GetContractResponseContract.js +0 -67
- package/dist/openapi/models/GetCustomerResponse.d.ts +0 -29
- package/dist/openapi/models/GetCustomerResponse.js +0 -31
- package/dist/openapi/models/GetEventResponse.d.ts +0 -29
- package/dist/openapi/models/GetEventResponse.js +0 -31
- package/dist/openapi/models/GetEventResponseEvent.d.ts +0 -55
- package/dist/openapi/models/GetEventResponseEvent.js +0 -76
- package/dist/openapi/models/GetInvoiceResponse.d.ts +0 -29
- package/dist/openapi/models/GetInvoiceResponse.js +0 -31
- package/dist/openapi/models/GetInvoiceResponseInvoice.d.ts +0 -50
- package/dist/openapi/models/GetInvoiceResponseInvoice.js +0 -79
- package/dist/openapi/models/GetMeterResponse.d.ts +0 -29
- package/dist/openapi/models/GetMeterResponse.js +0 -31
- package/dist/openapi/models/GetMeterResponseMeter.d.ts +0 -42
- package/dist/openapi/models/GetMeterResponseMeter.js +0 -67
- package/dist/openapi/models/GetPlanResponse.d.ts +0 -29
- package/dist/openapi/models/GetPlanResponse.js +0 -31
- package/dist/openapi/models/GetPlanResponsePlan.d.ts +0 -38
- package/dist/openapi/models/GetPlanResponsePlan.js +0 -61
- package/dist/openapi/models/GetProductsUsageReportResponse.d.ts +0 -44
- package/dist/openapi/models/GetProductsUsageReportResponse.js +0 -115
- package/dist/openapi/models/GrantCreditsRequest.d.ts +0 -35
- package/dist/openapi/models/GrantCreditsRequest.js +0 -37
- package/dist/openapi/models/InvalidEvent.d.ts +0 -33
- package/dist/openapi/models/InvalidEvent.js +0 -37
- package/dist/openapi/models/LineItem.d.ts +0 -35
- package/dist/openapi/models/LineItem.js +0 -37
- package/dist/openapi/models/ListContractsResponse.d.ts +0 -32
- package/dist/openapi/models/ListContractsResponse.js +0 -49
- package/dist/openapi/models/ListCreditLedgerEntriesResponse.d.ts +0 -32
- package/dist/openapi/models/ListCreditLedgerEntriesResponse.js +0 -31
- package/dist/openapi/models/ListCustomersResponse.d.ts +0 -32
- package/dist/openapi/models/ListCustomersResponse.js +0 -49
- package/dist/openapi/models/ListInvoicesResponse.d.ts +0 -32
- package/dist/openapi/models/ListInvoicesResponse.js +0 -49
- package/dist/openapi/models/ListMetersResponse.d.ts +0 -32
- package/dist/openapi/models/ListMetersResponse.js +0 -49
- package/dist/openapi/models/ListPlansResponse.d.ts +0 -32
- package/dist/openapi/models/ListPlansResponse.js +0 -49
- package/dist/openapi/models/LoginRequest.d.ts +0 -31
- package/dist/openapi/models/LoginRequest.js +0 -31
- package/dist/openapi/models/LoginResponse.d.ts +0 -31
- package/dist/openapi/models/LoginResponse.js +0 -31
- package/dist/openapi/models/Meter.d.ts +0 -39
- package/dist/openapi/models/Meter.js +0 -49
- package/dist/openapi/models/NetSuiteExportSalesOrderRequest.d.ts +0 -30
- package/dist/openapi/models/NetSuiteExportSalesOrderRequest.js +0 -43
- package/dist/openapi/models/NetSuiteSyncInvoicesRequest.d.ts +0 -34
- package/dist/openapi/models/NetSuiteSyncInvoicesRequest.js +0 -47
- package/dist/openapi/models/NetSuiteSyncInvoicesRequestData.d.ts +0 -39
- package/dist/openapi/models/NetSuiteSyncInvoicesRequestData.js +0 -85
- package/dist/openapi/models/NetSuiteSyncInvoicesRequestDataEntity.d.ts +0 -28
- package/dist/openapi/models/NetSuiteSyncInvoicesRequestDataEntity.js +0 -31
- package/dist/openapi/models/NetSuiteSyncInvoicesRequestDataItem.d.ts +0 -29
- package/dist/openapi/models/NetSuiteSyncInvoicesRequestDataItem.js +0 -31
- package/dist/openapi/models/NetSuiteSyncInvoicesRequestDataItemItemsInner.d.ts +0 -33
- package/dist/openapi/models/NetSuiteSyncInvoicesRequestDataItemItemsInner.js +0 -55
- package/dist/openapi/models/NetSuiteSyncInvoicesResponse.d.ts +0 -29
- package/dist/openapi/models/NetSuiteSyncInvoicesResponse.js +0 -37
- package/dist/openapi/models/NotificationEventType.d.ts +0 -17
- package/dist/openapi/models/NotificationEventType.js +0 -21
- package/dist/openapi/models/ObjectSerializer.d.ts +0 -106
- package/dist/openapi/models/ObjectSerializer.js +0 -488
- package/dist/openapi/models/PaymentTerm.d.ts +0 -15
- package/dist/openapi/models/PaymentTerm.js +0 -19
- package/dist/openapi/models/Period.d.ts +0 -32
- package/dist/openapi/models/Period.js +0 -40
- package/dist/openapi/models/PlanBillingData.d.ts +0 -37
- package/dist/openapi/models/PlanBillingData.js +0 -58
- package/dist/openapi/models/PlanStatus.d.ts +0 -19
- package/dist/openapi/models/PlanStatus.js +0 -23
- package/dist/openapi/models/QueryEventsResponse.d.ts +0 -32
- package/dist/openapi/models/QueryEventsResponse.js +0 -31
- package/dist/openapi/models/QueryEventsResponseEventsInner.d.ts +0 -52
- package/dist/openapi/models/QueryEventsResponseEventsInner.js +0 -73
- package/dist/openapi/models/SendEventsRequest.d.ts +0 -29
- package/dist/openapi/models/SendEventsRequest.js +0 -31
- package/dist/openapi/models/SendEventsResponse.d.ts +0 -37
- package/dist/openapi/models/SendEventsResponse.js +0 -37
- package/dist/openapi/models/UpdateCustomerRequest.d.ts +0 -35
- package/dist/openapi/models/UpdateCustomerRequest.js +0 -37
- package/dist/openapi/models/UpdateCustomerResponse.d.ts +0 -29
- package/dist/openapi/models/UpdateCustomerResponse.js +0 -31
- package/dist/openapi/models/UpdateMeterRequest.d.ts +0 -39
- package/dist/openapi/models/UpdateMeterRequest.js +0 -49
- package/dist/openapi/models/UpdateMeterResponse.d.ts +0 -29
- package/dist/openapi/models/UpdateMeterResponse.js +0 -31
- package/dist/openapi/models/WebhookSubscribeRequest.d.ts +0 -30
- package/dist/openapi/models/WebhookSubscribeRequest.js +0 -37
- package/dist/openapi/models/all.d.ts +0 -79
- package/dist/openapi/models/all.js +0 -95
- package/dist/openapi/rxjsStub.d.ts +0 -10
- package/dist/openapi/rxjsStub.js +0 -31
- package/dist/openapi/servers.d.ts +0 -39
- package/dist/openapi/servers.js +0 -52
- package/dist/openapi/types/ObjectParamAPI.d.ts +0 -825
- package/dist/openapi/types/ObjectParamAPI.js +0 -590
- package/dist/openapi/types/ObservableAPI.d.ts +0 -532
- package/dist/openapi/types/ObservableAPI.js +0 -1060
- package/dist/openapi/types/PromiseAPI.d.ts +0 -509
- package/dist/openapi/types/PromiseAPI.js +0 -684
- package/dist/openapi/util.d.ts +0 -15
- package/dist/openapi/util.js +0 -42
- package/dist/sdk/clients/ContractsClient.d.ts +0 -10
- package/dist/sdk/clients/ContractsClient.js +0 -42
- package/dist/sdk/clients/CustomersClient.d.ts +0 -11
- package/dist/sdk/clients/CustomersClient.js +0 -47
- package/dist/sdk/clients/EventsClient.d.ts +0 -11
- package/dist/sdk/clients/EventsClient.js +0 -49
- package/dist/sdk/clients/InvoicesClient.d.ts +0 -7
- package/dist/sdk/clients/InvoicesClient.js +0 -32
- package/dist/sdk/clients/MetersClient.d.ts +0 -10
- package/dist/sdk/clients/MetersClient.js +0 -42
- package/dist/sdk/clients/PlansClient.d.ts +0 -8
- package/dist/sdk/clients/PlansClient.js +0 -37
- package/dist/sdk/clients/index.d.ts +0 -6
- package/dist/sdk/clients/index.js +0 -22
- package/dist/sdk/index.d.ts +0 -13
- package/dist/sdk/index.js +0 -59
- package/dist/sdk/services/configuration.service.d.ts +0 -21
- package/dist/sdk/services/configuration.service.js +0 -104
- package/dist/sdk/services/index.d.ts +0 -1
- package/dist/sdk/services/index.js +0 -17
- package/dist/sdk/types/Contracts.d.ts +0 -1
- package/dist/sdk/types/Contracts.js +0 -2
- package/dist/sdk/types/Customers.d.ts +0 -1
- package/dist/sdk/types/Customers.js +0 -2
- package/dist/sdk/types/Events.d.ts +0 -1
- package/dist/sdk/types/Events.js +0 -2
- package/dist/sdk/types/Invoices.d.ts +0 -1
- package/dist/sdk/types/Invoices.js +0 -2
- package/dist/sdk/types/Meters.d.ts +0 -1
- package/dist/sdk/types/Meters.js +0 -2
- package/dist/sdk/types/Plans.d.ts +0 -1
- package/dist/sdk/types/Plans.js +0 -2
- package/dist/sdk/types/index.d.ts +0 -7
- package/dist/sdk/types/index.js +0 -23
- package/dist/sdk/types/pagination-options.d.ts +0 -4
- package/dist/sdk/types/pagination-options.js +0 -2
- package/dist/types.d.ts +0 -1
- package/dist/types.js +0 -17
|
@@ -1,50 +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 { LineItem } from '../models/LineItem';
|
|
13
|
-
import { Period } from '../models/Period';
|
|
14
|
-
export declare class GetInvoiceResponseInvoice {
|
|
15
|
-
/**
|
|
16
|
-
* The id of the customer that the invoice is associated with
|
|
17
|
-
*/
|
|
18
|
-
'customerId': string;
|
|
19
|
-
/**
|
|
20
|
-
* The id of the contract that the invoice is associated with
|
|
21
|
-
*/
|
|
22
|
-
'contractId'?: string;
|
|
23
|
-
/**
|
|
24
|
-
* The name of the invoice, usually a description of the billing period
|
|
25
|
-
*/
|
|
26
|
-
'name': string;
|
|
27
|
-
'billingCycle': Period;
|
|
28
|
-
'lineItems': Array<LineItem>;
|
|
29
|
-
/**
|
|
30
|
-
* The total amount of the invoice
|
|
31
|
-
*/
|
|
32
|
-
'amount': number;
|
|
33
|
-
'id': string;
|
|
34
|
-
'createdAt': Date;
|
|
35
|
-
'updatedAt': Date;
|
|
36
|
-
static readonly discriminator: string | undefined;
|
|
37
|
-
static readonly attributeTypeMap: Array<{
|
|
38
|
-
name: string;
|
|
39
|
-
baseName: string;
|
|
40
|
-
type: string;
|
|
41
|
-
format: string;
|
|
42
|
-
}>;
|
|
43
|
-
static getAttributeTypeMap(): {
|
|
44
|
-
name: string;
|
|
45
|
-
baseName: string;
|
|
46
|
-
type: string;
|
|
47
|
-
format: string;
|
|
48
|
-
}[];
|
|
49
|
-
constructor();
|
|
50
|
-
}
|
|
@@ -1,79 +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.GetInvoiceResponseInvoice = void 0;
|
|
15
|
-
class GetInvoiceResponseInvoice {
|
|
16
|
-
static getAttributeTypeMap() {
|
|
17
|
-
return GetInvoiceResponseInvoice.attributeTypeMap;
|
|
18
|
-
}
|
|
19
|
-
constructor() {
|
|
20
|
-
}
|
|
21
|
-
}
|
|
22
|
-
exports.GetInvoiceResponseInvoice = GetInvoiceResponseInvoice;
|
|
23
|
-
GetInvoiceResponseInvoice.discriminator = undefined;
|
|
24
|
-
GetInvoiceResponseInvoice.attributeTypeMap = [
|
|
25
|
-
{
|
|
26
|
-
"name": "customerId",
|
|
27
|
-
"baseName": "customerId",
|
|
28
|
-
"type": "string",
|
|
29
|
-
"format": ""
|
|
30
|
-
},
|
|
31
|
-
{
|
|
32
|
-
"name": "contractId",
|
|
33
|
-
"baseName": "contractId",
|
|
34
|
-
"type": "string",
|
|
35
|
-
"format": ""
|
|
36
|
-
},
|
|
37
|
-
{
|
|
38
|
-
"name": "name",
|
|
39
|
-
"baseName": "name",
|
|
40
|
-
"type": "string",
|
|
41
|
-
"format": ""
|
|
42
|
-
},
|
|
43
|
-
{
|
|
44
|
-
"name": "billingCycle",
|
|
45
|
-
"baseName": "billingCycle",
|
|
46
|
-
"type": "Period",
|
|
47
|
-
"format": ""
|
|
48
|
-
},
|
|
49
|
-
{
|
|
50
|
-
"name": "lineItems",
|
|
51
|
-
"baseName": "lineItems",
|
|
52
|
-
"type": "Array<LineItem>",
|
|
53
|
-
"format": ""
|
|
54
|
-
},
|
|
55
|
-
{
|
|
56
|
-
"name": "amount",
|
|
57
|
-
"baseName": "amount",
|
|
58
|
-
"type": "number",
|
|
59
|
-
"format": ""
|
|
60
|
-
},
|
|
61
|
-
{
|
|
62
|
-
"name": "id",
|
|
63
|
-
"baseName": "id",
|
|
64
|
-
"type": "string",
|
|
65
|
-
"format": ""
|
|
66
|
-
},
|
|
67
|
-
{
|
|
68
|
-
"name": "createdAt",
|
|
69
|
-
"baseName": "createdAt",
|
|
70
|
-
"type": "Date",
|
|
71
|
-
"format": "date-time"
|
|
72
|
-
},
|
|
73
|
-
{
|
|
74
|
-
"name": "updatedAt",
|
|
75
|
-
"baseName": "updatedAt",
|
|
76
|
-
"type": "Date",
|
|
77
|
-
"format": "date-time"
|
|
78
|
-
}
|
|
79
|
-
];
|
|
@@ -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 { GetMeterResponseMeter } from '../models/GetMeterResponseMeter';
|
|
13
|
-
export declare class GetMeterResponse {
|
|
14
|
-
'meter': GetMeterResponseMeter;
|
|
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.GetMeterResponse = void 0;
|
|
15
|
-
class GetMeterResponse {
|
|
16
|
-
static getAttributeTypeMap() {
|
|
17
|
-
return GetMeterResponse.attributeTypeMap;
|
|
18
|
-
}
|
|
19
|
-
constructor() {
|
|
20
|
-
}
|
|
21
|
-
}
|
|
22
|
-
exports.GetMeterResponse = GetMeterResponse;
|
|
23
|
-
GetMeterResponse.discriminator = undefined;
|
|
24
|
-
GetMeterResponse.attributeTypeMap = [
|
|
25
|
-
{
|
|
26
|
-
"name": "meter",
|
|
27
|
-
"baseName": "meter",
|
|
28
|
-
"type": "GetMeterResponseMeter",
|
|
29
|
-
"format": ""
|
|
30
|
-
}
|
|
31
|
-
];
|
|
@@ -1,42 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Vayu API
|
|
3
|
-
* The Vayu API is a RESTful API that allows you to submit events for processing and storage & manage billing related entities. The API is secured using the Bearer Authentication scheme with JWT tokens. To obtain a JWT token, please contact Vayu at team@withvayu.com
|
|
4
|
-
*
|
|
5
|
-
* OpenAPI spec version: 1.0.0
|
|
6
|
-
* Contact: dev@withvayu.com
|
|
7
|
-
*
|
|
8
|
-
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
-
* https://openapi-generator.tech
|
|
10
|
-
* Do not edit the class manually.
|
|
11
|
-
*/
|
|
12
|
-
import { AggregationMethod } from '../models/AggregationMethod';
|
|
13
|
-
import { Filter } from '../models/Filter';
|
|
14
|
-
export declare class GetMeterResponseMeter {
|
|
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
|
-
'id': string;
|
|
26
|
-
'createdAt': Date;
|
|
27
|
-
'updatedAt': Date;
|
|
28
|
-
static readonly discriminator: string | undefined;
|
|
29
|
-
static readonly attributeTypeMap: Array<{
|
|
30
|
-
name: string;
|
|
31
|
-
baseName: string;
|
|
32
|
-
type: string;
|
|
33
|
-
format: string;
|
|
34
|
-
}>;
|
|
35
|
-
static getAttributeTypeMap(): {
|
|
36
|
-
name: string;
|
|
37
|
-
baseName: string;
|
|
38
|
-
type: string;
|
|
39
|
-
format: string;
|
|
40
|
-
}[];
|
|
41
|
-
constructor();
|
|
42
|
-
}
|
|
@@ -1,67 +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.GetMeterResponseMeter = void 0;
|
|
15
|
-
class GetMeterResponseMeter {
|
|
16
|
-
static getAttributeTypeMap() {
|
|
17
|
-
return GetMeterResponseMeter.attributeTypeMap;
|
|
18
|
-
}
|
|
19
|
-
constructor() {
|
|
20
|
-
}
|
|
21
|
-
}
|
|
22
|
-
exports.GetMeterResponseMeter = GetMeterResponseMeter;
|
|
23
|
-
GetMeterResponseMeter.discriminator = undefined;
|
|
24
|
-
GetMeterResponseMeter.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
|
-
{
|
|
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
|
-
];
|
|
@@ -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 { GetPlanResponsePlan } from '../models/GetPlanResponsePlan';
|
|
13
|
-
export declare class GetPlanResponse {
|
|
14
|
-
'plan': GetPlanResponsePlan;
|
|
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.GetPlanResponse = void 0;
|
|
15
|
-
class GetPlanResponse {
|
|
16
|
-
static getAttributeTypeMap() {
|
|
17
|
-
return GetPlanResponse.attributeTypeMap;
|
|
18
|
-
}
|
|
19
|
-
constructor() {
|
|
20
|
-
}
|
|
21
|
-
}
|
|
22
|
-
exports.GetPlanResponse = GetPlanResponse;
|
|
23
|
-
GetPlanResponse.discriminator = undefined;
|
|
24
|
-
GetPlanResponse.attributeTypeMap = [
|
|
25
|
-
{
|
|
26
|
-
"name": "plan",
|
|
27
|
-
"baseName": "plan",
|
|
28
|
-
"type": "GetPlanResponsePlan",
|
|
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
|
-
import { PlanBillingData } from '../models/PlanBillingData';
|
|
13
|
-
import { PlanStatus } from '../models/PlanStatus';
|
|
14
|
-
export declare class GetPlanResponsePlan {
|
|
15
|
-
/**
|
|
16
|
-
* The name of the plan
|
|
17
|
-
*/
|
|
18
|
-
'name': string;
|
|
19
|
-
'status': PlanStatus;
|
|
20
|
-
'billingData': PlanBillingData;
|
|
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,61 +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.GetPlanResponsePlan = void 0;
|
|
15
|
-
class GetPlanResponsePlan {
|
|
16
|
-
static getAttributeTypeMap() {
|
|
17
|
-
return GetPlanResponsePlan.attributeTypeMap;
|
|
18
|
-
}
|
|
19
|
-
constructor() {
|
|
20
|
-
}
|
|
21
|
-
}
|
|
22
|
-
exports.GetPlanResponsePlan = GetPlanResponsePlan;
|
|
23
|
-
GetPlanResponsePlan.discriminator = undefined;
|
|
24
|
-
GetPlanResponsePlan.attributeTypeMap = [
|
|
25
|
-
{
|
|
26
|
-
"name": "name",
|
|
27
|
-
"baseName": "name",
|
|
28
|
-
"type": "string",
|
|
29
|
-
"format": ""
|
|
30
|
-
},
|
|
31
|
-
{
|
|
32
|
-
"name": "status",
|
|
33
|
-
"baseName": "status",
|
|
34
|
-
"type": "PlanStatus",
|
|
35
|
-
"format": ""
|
|
36
|
-
},
|
|
37
|
-
{
|
|
38
|
-
"name": "billingData",
|
|
39
|
-
"baseName": "billingData",
|
|
40
|
-
"type": "PlanBillingData",
|
|
41
|
-
"format": ""
|
|
42
|
-
},
|
|
43
|
-
{
|
|
44
|
-
"name": "id",
|
|
45
|
-
"baseName": "id",
|
|
46
|
-
"type": "string",
|
|
47
|
-
"format": ""
|
|
48
|
-
},
|
|
49
|
-
{
|
|
50
|
-
"name": "createdAt",
|
|
51
|
-
"baseName": "createdAt",
|
|
52
|
-
"type": "Date",
|
|
53
|
-
"format": "date-time"
|
|
54
|
-
},
|
|
55
|
-
{
|
|
56
|
-
"name": "updatedAt",
|
|
57
|
-
"baseName": "updatedAt",
|
|
58
|
-
"type": "Date",
|
|
59
|
-
"format": "date-time"
|
|
60
|
-
}
|
|
61
|
-
];
|
|
@@ -1,44 +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 { ContractStatus } from '../models/ContractStatus';
|
|
13
|
-
import { Currency } from '../models/Currency';
|
|
14
|
-
export declare class GetProductsUsageReportResponse {
|
|
15
|
-
'contractStatus': ContractStatus;
|
|
16
|
-
'customerName': string;
|
|
17
|
-
'startDate': Date;
|
|
18
|
-
'endDate': Date;
|
|
19
|
-
'contractStartDate': Date;
|
|
20
|
-
'daysToContractEnd'?: number;
|
|
21
|
-
'productVariantName': string;
|
|
22
|
-
'commitmentConsumptionPercentage'?: number;
|
|
23
|
-
'totalCommitmentCurrencyAmount'?: number;
|
|
24
|
-
'totalCommitmentUnitsAmount'?: number;
|
|
25
|
-
'commercialTermsAmount'?: number;
|
|
26
|
-
'erpId'?: string;
|
|
27
|
-
'currency': Currency;
|
|
28
|
-
'usageConsumptionCurrencyAmount'?: number;
|
|
29
|
-
'usageConsumptionUnitsAmount'?: number;
|
|
30
|
-
static readonly discriminator: string | undefined;
|
|
31
|
-
static readonly attributeTypeMap: Array<{
|
|
32
|
-
name: string;
|
|
33
|
-
baseName: string;
|
|
34
|
-
type: string;
|
|
35
|
-
format: string;
|
|
36
|
-
}>;
|
|
37
|
-
static getAttributeTypeMap(): {
|
|
38
|
-
name: string;
|
|
39
|
-
baseName: string;
|
|
40
|
-
type: string;
|
|
41
|
-
format: string;
|
|
42
|
-
}[];
|
|
43
|
-
constructor();
|
|
44
|
-
}
|
|
@@ -1,115 +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.GetProductsUsageReportResponse = void 0;
|
|
15
|
-
class GetProductsUsageReportResponse {
|
|
16
|
-
static getAttributeTypeMap() {
|
|
17
|
-
return GetProductsUsageReportResponse.attributeTypeMap;
|
|
18
|
-
}
|
|
19
|
-
constructor() {
|
|
20
|
-
}
|
|
21
|
-
}
|
|
22
|
-
exports.GetProductsUsageReportResponse = GetProductsUsageReportResponse;
|
|
23
|
-
GetProductsUsageReportResponse.discriminator = undefined;
|
|
24
|
-
GetProductsUsageReportResponse.attributeTypeMap = [
|
|
25
|
-
{
|
|
26
|
-
"name": "contractStatus",
|
|
27
|
-
"baseName": "contractStatus",
|
|
28
|
-
"type": "ContractStatus",
|
|
29
|
-
"format": ""
|
|
30
|
-
},
|
|
31
|
-
{
|
|
32
|
-
"name": "customerName",
|
|
33
|
-
"baseName": "customerName",
|
|
34
|
-
"type": "string",
|
|
35
|
-
"format": ""
|
|
36
|
-
},
|
|
37
|
-
{
|
|
38
|
-
"name": "startDate",
|
|
39
|
-
"baseName": "startDate",
|
|
40
|
-
"type": "Date",
|
|
41
|
-
"format": "date-time"
|
|
42
|
-
},
|
|
43
|
-
{
|
|
44
|
-
"name": "endDate",
|
|
45
|
-
"baseName": "endDate",
|
|
46
|
-
"type": "Date",
|
|
47
|
-
"format": "date-time"
|
|
48
|
-
},
|
|
49
|
-
{
|
|
50
|
-
"name": "contractStartDate",
|
|
51
|
-
"baseName": "contractStartDate",
|
|
52
|
-
"type": "Date",
|
|
53
|
-
"format": "date-time"
|
|
54
|
-
},
|
|
55
|
-
{
|
|
56
|
-
"name": "daysToContractEnd",
|
|
57
|
-
"baseName": "daysToContractEnd",
|
|
58
|
-
"type": "number",
|
|
59
|
-
"format": ""
|
|
60
|
-
},
|
|
61
|
-
{
|
|
62
|
-
"name": "productVariantName",
|
|
63
|
-
"baseName": "productVariantName",
|
|
64
|
-
"type": "string",
|
|
65
|
-
"format": ""
|
|
66
|
-
},
|
|
67
|
-
{
|
|
68
|
-
"name": "commitmentConsumptionPercentage",
|
|
69
|
-
"baseName": "commitmentConsumptionPercentage",
|
|
70
|
-
"type": "number",
|
|
71
|
-
"format": ""
|
|
72
|
-
},
|
|
73
|
-
{
|
|
74
|
-
"name": "totalCommitmentCurrencyAmount",
|
|
75
|
-
"baseName": "totalCommitmentCurrencyAmount",
|
|
76
|
-
"type": "number",
|
|
77
|
-
"format": ""
|
|
78
|
-
},
|
|
79
|
-
{
|
|
80
|
-
"name": "totalCommitmentUnitsAmount",
|
|
81
|
-
"baseName": "totalCommitmentUnitsAmount",
|
|
82
|
-
"type": "number",
|
|
83
|
-
"format": ""
|
|
84
|
-
},
|
|
85
|
-
{
|
|
86
|
-
"name": "commercialTermsAmount",
|
|
87
|
-
"baseName": "commercialTermsAmount",
|
|
88
|
-
"type": "number",
|
|
89
|
-
"format": ""
|
|
90
|
-
},
|
|
91
|
-
{
|
|
92
|
-
"name": "erpId",
|
|
93
|
-
"baseName": "erpId",
|
|
94
|
-
"type": "string",
|
|
95
|
-
"format": ""
|
|
96
|
-
},
|
|
97
|
-
{
|
|
98
|
-
"name": "currency",
|
|
99
|
-
"baseName": "currency",
|
|
100
|
-
"type": "Currency",
|
|
101
|
-
"format": ""
|
|
102
|
-
},
|
|
103
|
-
{
|
|
104
|
-
"name": "usageConsumptionCurrencyAmount",
|
|
105
|
-
"baseName": "usageConsumptionCurrencyAmount",
|
|
106
|
-
"type": "number",
|
|
107
|
-
"format": ""
|
|
108
|
-
},
|
|
109
|
-
{
|
|
110
|
-
"name": "usageConsumptionUnitsAmount",
|
|
111
|
-
"baseName": "usageConsumptionUnitsAmount",
|
|
112
|
-
"type": "number",
|
|
113
|
-
"format": ""
|
|
114
|
-
}
|
|
115
|
-
];
|
|
@@ -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 GrantCreditsRequest {
|
|
13
|
-
/**
|
|
14
|
-
* The amount of credits to be granted to the user.
|
|
15
|
-
*/
|
|
16
|
-
'creditAmount': number;
|
|
17
|
-
/**
|
|
18
|
-
* The ID of the customer to whom the credits will be granted.
|
|
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
|
-
}
|