vayu-ts 0.2.15 → 0.3.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.
- package/dist/example/index.d.ts +1 -0
- package/dist/example/index.js +74 -0
- package/dist/openapi/apis/CatalogProductsApi.d.ts +89 -0
- package/dist/openapi/apis/CatalogProductsApi.js +354 -0
- package/dist/openapi/apis/CloudUsageSubmissionApi.d.ts +25 -0
- package/dist/openapi/apis/CloudUsageSubmissionApi.js +85 -0
- package/dist/openapi/apis/ContractsApi.d.ts +21 -3
- package/dist/openapi/apis/ContractsApi.js +75 -3
- package/dist/openapi/apis/CustomersApi.d.ts +63 -0
- package/dist/openapi/apis/CustomersApi.js +257 -7
- package/dist/openapi/apis/EventsApi.d.ts +16 -0
- package/dist/openapi/apis/EventsApi.js +67 -12
- package/dist/openapi/apis/InvoicesApi.d.ts +19 -3
- package/dist/openapi/apis/InvoicesApi.js +69 -3
- package/dist/openapi/apis/ProductConsumptionsApi.js +0 -3
- package/dist/openapi/apis/WebhooksApi.js +0 -3
- package/dist/openapi/http/http.d.ts +6 -18
- package/dist/openapi/http/http.js +25 -13
- package/dist/openapi/http/isomorphic-fetch.d.ts +1 -0
- package/dist/openapi/http/isomorphic-fetch.js +4 -7
- package/dist/openapi/index.d.ts +1 -1
- package/dist/openapi/index.js +3 -1
- package/dist/openapi/models/Address.d.ts +5 -5
- package/dist/openapi/models/CloudUsageResult.d.ts +83 -0
- package/dist/openapi/models/CloudUsageResult.js +103 -0
- package/dist/openapi/models/Contact.d.ts +3 -1
- package/dist/openapi/models/Contact.js +12 -0
- package/dist/openapi/models/ContractStatus.d.ts +23 -0
- package/dist/openapi/models/ContractStatus.js +27 -0
- package/dist/openapi/models/CreateCatalogProductRequest.d.ts +42 -0
- package/dist/openapi/models/CreateCatalogProductRequest.js +44 -0
- package/dist/openapi/models/CreateCatalogProductResponse.d.ts +32 -0
- package/dist/openapi/models/CreateCatalogProductResponse.js +32 -0
- package/dist/openapi/models/CreateCatalogProductResponseCatalogProduct.d.ts +45 -0
- package/dist/openapi/models/CreateCatalogProductResponseCatalogProduct.js +62 -0
- package/dist/openapi/models/CreateContractRequest.d.ts +47 -5
- package/dist/openapi/models/CreateContractRequest.js +65 -5
- package/dist/openapi/models/CreateCustomerRelationRequest.d.ts +38 -0
- package/dist/openapi/models/CreateCustomerRelationRequest.js +38 -0
- package/dist/openapi/models/CreateCustomerRelationResponse.d.ts +32 -0
- package/dist/openapi/models/CreateCustomerRelationResponse.js +32 -0
- package/dist/openapi/models/CreateCustomerRelationResponseCustomerRelation.d.ts +41 -0
- package/dist/openapi/models/CreateCustomerRelationResponseCustomerRelation.js +56 -0
- package/dist/openapi/models/CreateCustomerRequest.d.ts +50 -2
- package/dist/openapi/models/CreateCustomerRequest.js +82 -6
- package/dist/openapi/models/CreateCustomerResponseCustomer.d.ts +50 -2
- package/dist/openapi/models/CreateCustomerResponseCustomer.js +82 -6
- package/dist/openapi/models/CreditLedgerEntry.d.ts +3 -1
- package/dist/openapi/models/CreditLedgerEntry.js +8 -2
- package/dist/openapi/models/Currency.d.ts +24 -0
- package/dist/openapi/models/Currency.js +28 -0
- package/dist/openapi/models/CustomField.d.ts +65 -0
- package/dist/openapi/models/CustomField.js +78 -0
- package/dist/openapi/models/CustomFieldValue.d.ts +33 -0
- package/dist/openapi/models/CustomFieldValue.js +44 -0
- package/dist/openapi/models/CustomFieldValueTypes.d.ts +19 -0
- package/dist/openapi/models/CustomFieldValueTypes.js +23 -0
- package/dist/openapi/models/CustomerCloudProviderSettings.d.ts +39 -0
- package/dist/openapi/models/CustomerCloudProviderSettings.js +51 -0
- package/dist/openapi/models/CustomerSource.d.ts +21 -0
- package/dist/openapi/models/CustomerSource.js +25 -0
- package/dist/openapi/models/DeleteCatalogProductResponse.d.ts +32 -0
- package/dist/openapi/models/DeleteCatalogProductResponse.js +32 -0
- package/dist/openapi/models/DeleteCatalogProductResponseCatalogProduct.d.ts +46 -0
- package/dist/openapi/models/DeleteCatalogProductResponseCatalogProduct.js +68 -0
- package/dist/openapi/models/DeleteContractResponseContract.d.ts +47 -5
- package/dist/openapi/models/DeleteContractResponseContract.js +65 -5
- package/dist/openapi/models/DeleteCustomerResponseCustomer.d.ts +50 -2
- package/dist/openapi/models/DeleteCustomerResponseCustomer.js +82 -6
- package/dist/openapi/models/DeleteEventsByRefsRequest.d.ts +31 -0
- package/dist/openapi/models/DeleteEventsByRefsRequest.js +32 -0
- package/dist/openapi/models/DeleteEventsByRefsResponse.d.ts +35 -0
- package/dist/openapi/models/DeleteEventsByRefsResponse.js +32 -0
- package/dist/openapi/models/DeleteEventsByRefsResponseEventsInner.d.ts +56 -0
- package/dist/openapi/models/DeleteEventsByRefsResponseEventsInner.js +80 -0
- package/dist/openapi/models/ExternalOverageStrategy.d.ts +20 -0
- package/dist/openapi/models/ExternalOverageStrategy.js +24 -0
- package/dist/openapi/models/GetCatalogProductResponse.d.ts +32 -0
- package/dist/openapi/models/GetCatalogProductResponse.js +32 -0
- package/dist/openapi/models/GetContractByIntegrationIdResponse.d.ts +32 -0
- package/dist/openapi/models/GetContractByIntegrationIdResponse.js +32 -0
- package/dist/openapi/models/GetContractResponseContract.d.ts +47 -5
- package/dist/openapi/models/GetContractResponseContract.js +65 -5
- package/dist/openapi/models/GetCustomerByIntegrationIdResponse.d.ts +32 -0
- package/dist/openapi/models/GetCustomerByIntegrationIdResponse.js +32 -0
- package/dist/openapi/models/GetCustomerByNameResponse.d.ts +32 -0
- package/dist/openapi/models/GetCustomerByNameResponse.js +32 -0
- package/dist/openapi/models/GetCustomerByNameResponseCustomer.d.ts +103 -0
- package/dist/openapi/models/GetCustomerByNameResponseCustomer.js +153 -0
- package/dist/openapi/models/GetCustomerRelationResponse.d.ts +32 -0
- package/dist/openapi/models/GetCustomerRelationResponse.js +32 -0
- package/dist/openapi/models/GetInvoiceResponseInvoice.d.ts +14 -0
- package/dist/openapi/models/GetInvoiceResponseInvoice.js +30 -0
- package/dist/openapi/models/GetInvoiceResponseInvoiceRevenueBreakdown.d.ts +39 -0
- package/dist/openapi/models/GetInvoiceResponseInvoiceRevenueBreakdown.js +65 -0
- package/dist/openapi/models/IntegrationEntity.d.ts +42 -0
- package/dist/openapi/models/IntegrationEntity.js +62 -0
- package/dist/openapi/models/IntegrationEntityTypes.d.ts +23 -0
- package/dist/openapi/models/IntegrationEntityTypes.js +27 -0
- package/dist/openapi/models/IntegrationProviders.d.ts +26 -0
- package/dist/openapi/models/IntegrationProviders.js +30 -0
- package/dist/openapi/models/IntegrationType.d.ts +26 -0
- package/dist/openapi/models/IntegrationType.js +30 -0
- package/dist/openapi/models/InvoiceBillingStatus.d.ts +21 -0
- package/dist/openapi/models/InvoiceBillingStatus.js +25 -0
- package/dist/openapi/models/InvoicePaymentStatusResponse.d.ts +39 -0
- package/dist/openapi/models/InvoicePaymentStatusResponse.js +74 -0
- package/dist/openapi/models/ListCatalogProductsResponse.d.ts +35 -0
- package/dist/openapi/models/ListCatalogProductsResponse.js +50 -0
- package/dist/openapi/models/NotificationEventType.d.ts +3 -1
- package/dist/openapi/models/NotificationEventType.js +2 -0
- package/dist/openapi/models/ObjectSerializer.d.ts +61 -0
- package/dist/openapi/models/ObjectSerializer.js +191 -0
- package/dist/openapi/models/PartnerSubmissionDetail.d.ts +46 -0
- package/dist/openapi/models/PartnerSubmissionDetail.js +49 -0
- package/dist/openapi/models/PaymentInfo.d.ts +45 -0
- package/dist/openapi/models/PaymentInfo.js +89 -0
- package/dist/openapi/models/PaymentInfoDepositTo.d.ts +32 -0
- package/dist/openapi/models/PaymentInfoDepositTo.js +38 -0
- package/dist/openapi/models/PaymentTerm.d.ts +18 -0
- package/dist/openapi/models/PaymentTerm.js +22 -0
- package/dist/openapi/models/ProductCloudProviderSettings.d.ts +39 -0
- package/dist/openapi/models/ProductCloudProviderSettings.js +51 -0
- package/dist/openapi/models/ProductGroup.d.ts +65 -0
- package/dist/openapi/models/ProductGroup.js +80 -0
- package/dist/openapi/models/ProductGroupCommitment.d.ts +45 -0
- package/dist/openapi/models/ProductGroupCommitment.js +53 -0
- package/dist/openapi/models/ProductGroupProductsInner.d.ts +68 -0
- package/dist/openapi/models/ProductGroupProductsInner.js +98 -0
- package/dist/openapi/models/ProductGroupProductsInnerCommitment.d.ts +45 -0
- package/dist/openapi/models/ProductGroupProductsInnerCommitment.js +53 -0
- package/dist/openapi/models/ProductGroupProductsInnerCommitmentScheduling.d.ts +39 -0
- package/dist/openapi/models/ProductGroupProductsInnerCommitmentScheduling.js +41 -0
- package/dist/openapi/models/ProductGroupProductsInnerPricing.d.ts +36 -0
- package/dist/openapi/models/ProductGroupProductsInnerPricing.js +24 -0
- package/dist/openapi/models/ProductGroupProductsInnerPricingOneOf.d.ts +35 -0
- package/dist/openapi/models/ProductGroupProductsInnerPricingOneOf.js +42 -0
- package/dist/openapi/models/ProductGroupProductsInnerPricingOneOf1.d.ts +37 -0
- package/dist/openapi/models/ProductGroupProductsInnerPricingOneOf1.js +48 -0
- package/dist/openapi/models/ProductGroupProductsInnerPricingOneOf1InstallmentsInner.d.ts +32 -0
- package/dist/openapi/models/ProductGroupProductsInnerPricingOneOf1InstallmentsInner.js +38 -0
- package/dist/openapi/models/ProductGroupProductsInnerPricingOneOf2.d.ts +37 -0
- package/dist/openapi/models/ProductGroupProductsInnerPricingOneOf2.js +48 -0
- package/dist/openapi/models/ProductGroupProductsInnerPricingOneOf2SubscriptionCadence.d.ts +38 -0
- package/dist/openapi/models/ProductGroupProductsInnerPricingOneOf2SubscriptionCadence.js +45 -0
- package/dist/openapi/models/ProductGroupProductsInnerPricingOneOf3.d.ts +46 -0
- package/dist/openapi/models/ProductGroupProductsInnerPricingOneOf3.js +78 -0
- package/dist/openapi/models/ProductGroupProductsInnerPricingOneOf3SubscriptionCadence.d.ts +38 -0
- package/dist/openapi/models/ProductGroupProductsInnerPricingOneOf3SubscriptionCadence.js +45 -0
- package/dist/openapi/models/ProductGroupProductsInnerPricingOneOf3TiersInner.d.ts +35 -0
- package/dist/openapi/models/ProductGroupProductsInnerPricingOneOf3TiersInner.js +56 -0
- package/dist/openapi/models/ProductGroupProductsInnerPricingOneOf4.d.ts +41 -0
- package/dist/openapi/models/ProductGroupProductsInnerPricingOneOf4.js +60 -0
- package/dist/openapi/models/ProductGroupProductsInnerScheduling.d.ts +39 -0
- package/dist/openapi/models/ProductGroupProductsInnerScheduling.js +41 -0
- package/dist/openapi/models/ProductGroupProductsInnerSchedulingDuration.d.ts +41 -0
- package/dist/openapi/models/ProductGroupProductsInnerSchedulingDuration.js +48 -0
- package/dist/openapi/models/SubmitCloudUsageRequest.d.ts +39 -0
- package/dist/openapi/models/SubmitCloudUsageRequest.js +38 -0
- package/dist/openapi/models/SyncStatus.d.ts +16 -0
- package/dist/openapi/models/SyncStatus.js +20 -0
- package/dist/openapi/models/UpdateCatalogProductRequest.d.ts +42 -0
- package/dist/openapi/models/UpdateCatalogProductRequest.js +44 -0
- package/dist/openapi/models/UpdateCatalogProductResponse.d.ts +32 -0
- package/dist/openapi/models/UpdateCatalogProductResponse.js +32 -0
- package/dist/openapi/models/UpdateCustomerRequest.d.ts +50 -2
- package/dist/openapi/models/UpdateCustomerRequest.js +82 -6
- package/dist/openapi/models/UsageWindow.d.ts +41 -0
- package/dist/openapi/models/UsageWindow.js +41 -0
- package/dist/openapi/models/all.d.ts +61 -0
- package/dist/openapi/models/all.js +61 -0
- package/dist/openapi/types/ObservableAPI.d.ts +212 -12
- package/dist/openapi/types/ObservableAPI.js +424 -17
- package/dist/openapi/types/PromiseAPI.d.ts +208 -12
- package/dist/openapi/types/PromiseAPI.js +294 -34
- package/dist/sdk/clients/CatalogProductsClient.d.ts +11 -0
- package/dist/sdk/clients/CatalogProductsClient.js +28 -0
- package/dist/sdk/clients/CloudUsageSubmissionClient.d.ts +6 -0
- package/dist/sdk/clients/CloudUsageSubmissionClient.js +14 -0
- package/dist/sdk/clients/ContractsClient.d.ts +2 -1
- package/dist/sdk/clients/ContractsClient.js +3 -0
- package/dist/sdk/clients/CreditsClient.d.ts +9 -0
- package/dist/sdk/clients/CreditsClient.js +22 -0
- package/dist/sdk/clients/CustomersClient.d.ts +5 -1
- package/dist/sdk/clients/CustomersClient.js +12 -0
- package/dist/sdk/clients/EventsClient.d.ts +2 -1
- package/dist/sdk/clients/EventsClient.js +3 -0
- package/dist/sdk/clients/InvoicesClient.d.ts +1 -0
- package/dist/sdk/clients/InvoicesClient.js +3 -0
- package/dist/sdk/clients/MeasurementsClient.d.ts +10 -0
- package/dist/sdk/clients/MeasurementsClient.js +25 -0
- package/dist/sdk/clients/index.d.ts +4 -0
- package/dist/sdk/clients/index.js +4 -0
- package/dist/sdk/index.d.ts +6 -1
- package/dist/sdk/index.js +13 -0
- package/dist/sdk/services/authenticated-http-library.d.ts +11 -0
- package/dist/sdk/services/authenticated-http-library.js +29 -0
- package/dist/sdk/services/authenticator.d.ts +11 -0
- package/dist/sdk/services/authenticator.js +57 -0
- package/dist/sdk/services/configuration.service.d.ts +7 -6
- package/dist/sdk/services/configuration.service.js +12 -44
- package/dist/sdk/types/CatalogProducts.d.ts +1 -0
- package/dist/sdk/types/CatalogProducts.js +2 -0
- package/dist/sdk/types/CloudUsageSubmission.d.ts +1 -0
- package/dist/sdk/types/CloudUsageSubmission.js +2 -0
- package/dist/sdk/types/Contracts.d.ts +1 -1
- package/dist/sdk/types/Credits.d.ts +1 -0
- package/dist/sdk/types/Credits.js +2 -0
- package/dist/sdk/types/Customers.d.ts +1 -1
- package/dist/sdk/types/Events.d.ts +1 -1
- package/dist/sdk/types/Invoices.d.ts +1 -1
- package/dist/sdk/types/Measurements.d.ts +1 -0
- package/dist/sdk/types/Measurements.js +2 -0
- package/dist/sdk/types/index.d.ts +4 -0
- package/dist/sdk/types/index.js +4 -0
- package/dist/sdk-v2/services/configuration.service.js +16 -8
- package/package.json +3 -4
|
@@ -0,0 +1,37 @@
|
|
|
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 { ProductGroupProductsInnerPricingOneOf2SubscriptionCadence } from '../models/ProductGroupProductsInnerPricingOneOf2SubscriptionCadence';
|
|
13
|
+
export declare class ProductGroupProductsInnerPricingOneOf2 {
|
|
14
|
+
'type': ProductGroupProductsInnerPricingOneOf2TypeEnum;
|
|
15
|
+
'price': number;
|
|
16
|
+
'subscriptionCadence': ProductGroupProductsInnerPricingOneOf2SubscriptionCadence;
|
|
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 ProductGroupProductsInnerPricingOneOf2TypeEnum {
|
|
36
|
+
Subscription = "SUBSCRIPTION"
|
|
37
|
+
}
|
|
@@ -0,0 +1,48 @@
|
|
|
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.ProductGroupProductsInnerPricingOneOf2TypeEnum = exports.ProductGroupProductsInnerPricingOneOf2 = void 0;
|
|
15
|
+
class ProductGroupProductsInnerPricingOneOf2 {
|
|
16
|
+
static getAttributeTypeMap() {
|
|
17
|
+
return ProductGroupProductsInnerPricingOneOf2.attributeTypeMap;
|
|
18
|
+
}
|
|
19
|
+
constructor() {
|
|
20
|
+
}
|
|
21
|
+
}
|
|
22
|
+
exports.ProductGroupProductsInnerPricingOneOf2 = ProductGroupProductsInnerPricingOneOf2;
|
|
23
|
+
ProductGroupProductsInnerPricingOneOf2.discriminator = undefined;
|
|
24
|
+
ProductGroupProductsInnerPricingOneOf2.mapping = undefined;
|
|
25
|
+
ProductGroupProductsInnerPricingOneOf2.attributeTypeMap = [
|
|
26
|
+
{
|
|
27
|
+
"name": "type",
|
|
28
|
+
"baseName": "type",
|
|
29
|
+
"type": "ProductGroupProductsInnerPricingOneOf2TypeEnum",
|
|
30
|
+
"format": ""
|
|
31
|
+
},
|
|
32
|
+
{
|
|
33
|
+
"name": "price",
|
|
34
|
+
"baseName": "price",
|
|
35
|
+
"type": "number",
|
|
36
|
+
"format": ""
|
|
37
|
+
},
|
|
38
|
+
{
|
|
39
|
+
"name": "subscriptionCadence",
|
|
40
|
+
"baseName": "subscriptionCadence",
|
|
41
|
+
"type": "ProductGroupProductsInnerPricingOneOf2SubscriptionCadence",
|
|
42
|
+
"format": ""
|
|
43
|
+
}
|
|
44
|
+
];
|
|
45
|
+
var ProductGroupProductsInnerPricingOneOf2TypeEnum;
|
|
46
|
+
(function (ProductGroupProductsInnerPricingOneOf2TypeEnum) {
|
|
47
|
+
ProductGroupProductsInnerPricingOneOf2TypeEnum["Subscription"] = "SUBSCRIPTION";
|
|
48
|
+
})(ProductGroupProductsInnerPricingOneOf2TypeEnum = exports.ProductGroupProductsInnerPricingOneOf2TypeEnum || (exports.ProductGroupProductsInnerPricingOneOf2TypeEnum = {}));
|
|
@@ -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 ProductGroupProductsInnerPricingOneOf2SubscriptionCadence {
|
|
13
|
+
'unit': ProductGroupProductsInnerPricingOneOf2SubscriptionCadenceUnitEnum;
|
|
14
|
+
'value': number;
|
|
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 ProductGroupProductsInnerPricingOneOf2SubscriptionCadenceUnitEnum {
|
|
34
|
+
Day = "DAY",
|
|
35
|
+
Week = "WEEK",
|
|
36
|
+
Month = "MONTH",
|
|
37
|
+
Year = "YEAR"
|
|
38
|
+
}
|
|
@@ -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.ProductGroupProductsInnerPricingOneOf2SubscriptionCadenceUnitEnum = exports.ProductGroupProductsInnerPricingOneOf2SubscriptionCadence = void 0;
|
|
15
|
+
class ProductGroupProductsInnerPricingOneOf2SubscriptionCadence {
|
|
16
|
+
static getAttributeTypeMap() {
|
|
17
|
+
return ProductGroupProductsInnerPricingOneOf2SubscriptionCadence.attributeTypeMap;
|
|
18
|
+
}
|
|
19
|
+
constructor() {
|
|
20
|
+
}
|
|
21
|
+
}
|
|
22
|
+
exports.ProductGroupProductsInnerPricingOneOf2SubscriptionCadence = ProductGroupProductsInnerPricingOneOf2SubscriptionCadence;
|
|
23
|
+
ProductGroupProductsInnerPricingOneOf2SubscriptionCadence.discriminator = undefined;
|
|
24
|
+
ProductGroupProductsInnerPricingOneOf2SubscriptionCadence.mapping = undefined;
|
|
25
|
+
ProductGroupProductsInnerPricingOneOf2SubscriptionCadence.attributeTypeMap = [
|
|
26
|
+
{
|
|
27
|
+
"name": "unit",
|
|
28
|
+
"baseName": "unit",
|
|
29
|
+
"type": "ProductGroupProductsInnerPricingOneOf2SubscriptionCadenceUnitEnum",
|
|
30
|
+
"format": ""
|
|
31
|
+
},
|
|
32
|
+
{
|
|
33
|
+
"name": "value",
|
|
34
|
+
"baseName": "value",
|
|
35
|
+
"type": "number",
|
|
36
|
+
"format": ""
|
|
37
|
+
}
|
|
38
|
+
];
|
|
39
|
+
var ProductGroupProductsInnerPricingOneOf2SubscriptionCadenceUnitEnum;
|
|
40
|
+
(function (ProductGroupProductsInnerPricingOneOf2SubscriptionCadenceUnitEnum) {
|
|
41
|
+
ProductGroupProductsInnerPricingOneOf2SubscriptionCadenceUnitEnum["Day"] = "DAY";
|
|
42
|
+
ProductGroupProductsInnerPricingOneOf2SubscriptionCadenceUnitEnum["Week"] = "WEEK";
|
|
43
|
+
ProductGroupProductsInnerPricingOneOf2SubscriptionCadenceUnitEnum["Month"] = "MONTH";
|
|
44
|
+
ProductGroupProductsInnerPricingOneOf2SubscriptionCadenceUnitEnum["Year"] = "YEAR";
|
|
45
|
+
})(ProductGroupProductsInnerPricingOneOf2SubscriptionCadenceUnitEnum = exports.ProductGroupProductsInnerPricingOneOf2SubscriptionCadenceUnitEnum || (exports.ProductGroupProductsInnerPricingOneOf2SubscriptionCadenceUnitEnum = {}));
|
|
@@ -0,0 +1,46 @@
|
|
|
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 { ProductGroupProductsInnerPricingOneOf3SubscriptionCadence } from '../models/ProductGroupProductsInnerPricingOneOf3SubscriptionCadence';
|
|
13
|
+
import { ProductGroupProductsInnerPricingOneOf3TiersInner } from '../models/ProductGroupProductsInnerPricingOneOf3TiersInner';
|
|
14
|
+
export declare class ProductGroupProductsInnerPricingOneOf3 {
|
|
15
|
+
'type': ProductGroupProductsInnerPricingOneOf3TypeEnum;
|
|
16
|
+
'tiers': Array<ProductGroupProductsInnerPricingOneOf3TiersInner>;
|
|
17
|
+
'subscriptionCadence'?: ProductGroupProductsInnerPricingOneOf3SubscriptionCadence | null;
|
|
18
|
+
'autoUpgrade'?: boolean | null;
|
|
19
|
+
'prorate'?: boolean | null;
|
|
20
|
+
'isRevShare'?: boolean | null;
|
|
21
|
+
'baseAmount'?: number | null;
|
|
22
|
+
/**
|
|
23
|
+
* Usage reset is represented in months and must be one of: 1, 2, 3, 6, 12
|
|
24
|
+
*/
|
|
25
|
+
'usageReset'?: number | null;
|
|
26
|
+
static readonly discriminator: string | undefined;
|
|
27
|
+
static readonly mapping: {
|
|
28
|
+
[index: string]: string;
|
|
29
|
+
} | undefined;
|
|
30
|
+
static readonly attributeTypeMap: Array<{
|
|
31
|
+
name: string;
|
|
32
|
+
baseName: string;
|
|
33
|
+
type: string;
|
|
34
|
+
format: string;
|
|
35
|
+
}>;
|
|
36
|
+
static getAttributeTypeMap(): {
|
|
37
|
+
name: string;
|
|
38
|
+
baseName: string;
|
|
39
|
+
type: string;
|
|
40
|
+
format: string;
|
|
41
|
+
}[];
|
|
42
|
+
constructor();
|
|
43
|
+
}
|
|
44
|
+
export declare enum ProductGroupProductsInnerPricingOneOf3TypeEnum {
|
|
45
|
+
Tiered = "TIERED"
|
|
46
|
+
}
|
|
@@ -0,0 +1,78 @@
|
|
|
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.ProductGroupProductsInnerPricingOneOf3TypeEnum = exports.ProductGroupProductsInnerPricingOneOf3 = void 0;
|
|
15
|
+
class ProductGroupProductsInnerPricingOneOf3 {
|
|
16
|
+
static getAttributeTypeMap() {
|
|
17
|
+
return ProductGroupProductsInnerPricingOneOf3.attributeTypeMap;
|
|
18
|
+
}
|
|
19
|
+
constructor() {
|
|
20
|
+
}
|
|
21
|
+
}
|
|
22
|
+
exports.ProductGroupProductsInnerPricingOneOf3 = ProductGroupProductsInnerPricingOneOf3;
|
|
23
|
+
ProductGroupProductsInnerPricingOneOf3.discriminator = undefined;
|
|
24
|
+
ProductGroupProductsInnerPricingOneOf3.mapping = undefined;
|
|
25
|
+
ProductGroupProductsInnerPricingOneOf3.attributeTypeMap = [
|
|
26
|
+
{
|
|
27
|
+
"name": "type",
|
|
28
|
+
"baseName": "type",
|
|
29
|
+
"type": "ProductGroupProductsInnerPricingOneOf3TypeEnum",
|
|
30
|
+
"format": ""
|
|
31
|
+
},
|
|
32
|
+
{
|
|
33
|
+
"name": "tiers",
|
|
34
|
+
"baseName": "tiers",
|
|
35
|
+
"type": "Array<ProductGroupProductsInnerPricingOneOf3TiersInner>",
|
|
36
|
+
"format": ""
|
|
37
|
+
},
|
|
38
|
+
{
|
|
39
|
+
"name": "subscriptionCadence",
|
|
40
|
+
"baseName": "subscriptionCadence",
|
|
41
|
+
"type": "ProductGroupProductsInnerPricingOneOf3SubscriptionCadence",
|
|
42
|
+
"format": ""
|
|
43
|
+
},
|
|
44
|
+
{
|
|
45
|
+
"name": "autoUpgrade",
|
|
46
|
+
"baseName": "autoUpgrade",
|
|
47
|
+
"type": "boolean",
|
|
48
|
+
"format": ""
|
|
49
|
+
},
|
|
50
|
+
{
|
|
51
|
+
"name": "prorate",
|
|
52
|
+
"baseName": "prorate",
|
|
53
|
+
"type": "boolean",
|
|
54
|
+
"format": ""
|
|
55
|
+
},
|
|
56
|
+
{
|
|
57
|
+
"name": "isRevShare",
|
|
58
|
+
"baseName": "isRevShare",
|
|
59
|
+
"type": "boolean",
|
|
60
|
+
"format": ""
|
|
61
|
+
},
|
|
62
|
+
{
|
|
63
|
+
"name": "baseAmount",
|
|
64
|
+
"baseName": "baseAmount",
|
|
65
|
+
"type": "number",
|
|
66
|
+
"format": ""
|
|
67
|
+
},
|
|
68
|
+
{
|
|
69
|
+
"name": "usageReset",
|
|
70
|
+
"baseName": "usageReset",
|
|
71
|
+
"type": "number",
|
|
72
|
+
"format": ""
|
|
73
|
+
}
|
|
74
|
+
];
|
|
75
|
+
var ProductGroupProductsInnerPricingOneOf3TypeEnum;
|
|
76
|
+
(function (ProductGroupProductsInnerPricingOneOf3TypeEnum) {
|
|
77
|
+
ProductGroupProductsInnerPricingOneOf3TypeEnum["Tiered"] = "TIERED";
|
|
78
|
+
})(ProductGroupProductsInnerPricingOneOf3TypeEnum = exports.ProductGroupProductsInnerPricingOneOf3TypeEnum || (exports.ProductGroupProductsInnerPricingOneOf3TypeEnum = {}));
|
|
@@ -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 ProductGroupProductsInnerPricingOneOf3SubscriptionCadence {
|
|
13
|
+
'unit': ProductGroupProductsInnerPricingOneOf3SubscriptionCadenceUnitEnum;
|
|
14
|
+
'value': number;
|
|
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 ProductGroupProductsInnerPricingOneOf3SubscriptionCadenceUnitEnum {
|
|
34
|
+
Day = "DAY",
|
|
35
|
+
Week = "WEEK",
|
|
36
|
+
Month = "MONTH",
|
|
37
|
+
Year = "YEAR"
|
|
38
|
+
}
|
|
@@ -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.ProductGroupProductsInnerPricingOneOf3SubscriptionCadenceUnitEnum = exports.ProductGroupProductsInnerPricingOneOf3SubscriptionCadence = void 0;
|
|
15
|
+
class ProductGroupProductsInnerPricingOneOf3SubscriptionCadence {
|
|
16
|
+
static getAttributeTypeMap() {
|
|
17
|
+
return ProductGroupProductsInnerPricingOneOf3SubscriptionCadence.attributeTypeMap;
|
|
18
|
+
}
|
|
19
|
+
constructor() {
|
|
20
|
+
}
|
|
21
|
+
}
|
|
22
|
+
exports.ProductGroupProductsInnerPricingOneOf3SubscriptionCadence = ProductGroupProductsInnerPricingOneOf3SubscriptionCadence;
|
|
23
|
+
ProductGroupProductsInnerPricingOneOf3SubscriptionCadence.discriminator = undefined;
|
|
24
|
+
ProductGroupProductsInnerPricingOneOf3SubscriptionCadence.mapping = undefined;
|
|
25
|
+
ProductGroupProductsInnerPricingOneOf3SubscriptionCadence.attributeTypeMap = [
|
|
26
|
+
{
|
|
27
|
+
"name": "unit",
|
|
28
|
+
"baseName": "unit",
|
|
29
|
+
"type": "ProductGroupProductsInnerPricingOneOf3SubscriptionCadenceUnitEnum",
|
|
30
|
+
"format": ""
|
|
31
|
+
},
|
|
32
|
+
{
|
|
33
|
+
"name": "value",
|
|
34
|
+
"baseName": "value",
|
|
35
|
+
"type": "number",
|
|
36
|
+
"format": ""
|
|
37
|
+
}
|
|
38
|
+
];
|
|
39
|
+
var ProductGroupProductsInnerPricingOneOf3SubscriptionCadenceUnitEnum;
|
|
40
|
+
(function (ProductGroupProductsInnerPricingOneOf3SubscriptionCadenceUnitEnum) {
|
|
41
|
+
ProductGroupProductsInnerPricingOneOf3SubscriptionCadenceUnitEnum["Day"] = "DAY";
|
|
42
|
+
ProductGroupProductsInnerPricingOneOf3SubscriptionCadenceUnitEnum["Week"] = "WEEK";
|
|
43
|
+
ProductGroupProductsInnerPricingOneOf3SubscriptionCadenceUnitEnum["Month"] = "MONTH";
|
|
44
|
+
ProductGroupProductsInnerPricingOneOf3SubscriptionCadenceUnitEnum["Year"] = "YEAR";
|
|
45
|
+
})(ProductGroupProductsInnerPricingOneOf3SubscriptionCadenceUnitEnum = exports.ProductGroupProductsInnerPricingOneOf3SubscriptionCadenceUnitEnum || (exports.ProductGroupProductsInnerPricingOneOf3SubscriptionCadenceUnitEnum = {}));
|
|
@@ -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
|
+
export declare class ProductGroupProductsInnerPricingOneOf3TiersInner {
|
|
13
|
+
'fromInclusive': number;
|
|
14
|
+
'toExclusive'?: number | null;
|
|
15
|
+
'rate'?: number | null;
|
|
16
|
+
'flatFee'?: number | null;
|
|
17
|
+
'packageSize'?: number | null;
|
|
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,56 @@
|
|
|
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.ProductGroupProductsInnerPricingOneOf3TiersInner = void 0;
|
|
15
|
+
class ProductGroupProductsInnerPricingOneOf3TiersInner {
|
|
16
|
+
static getAttributeTypeMap() {
|
|
17
|
+
return ProductGroupProductsInnerPricingOneOf3TiersInner.attributeTypeMap;
|
|
18
|
+
}
|
|
19
|
+
constructor() {
|
|
20
|
+
}
|
|
21
|
+
}
|
|
22
|
+
exports.ProductGroupProductsInnerPricingOneOf3TiersInner = ProductGroupProductsInnerPricingOneOf3TiersInner;
|
|
23
|
+
ProductGroupProductsInnerPricingOneOf3TiersInner.discriminator = undefined;
|
|
24
|
+
ProductGroupProductsInnerPricingOneOf3TiersInner.mapping = undefined;
|
|
25
|
+
ProductGroupProductsInnerPricingOneOf3TiersInner.attributeTypeMap = [
|
|
26
|
+
{
|
|
27
|
+
"name": "fromInclusive",
|
|
28
|
+
"baseName": "fromInclusive",
|
|
29
|
+
"type": "number",
|
|
30
|
+
"format": ""
|
|
31
|
+
},
|
|
32
|
+
{
|
|
33
|
+
"name": "toExclusive",
|
|
34
|
+
"baseName": "toExclusive",
|
|
35
|
+
"type": "number",
|
|
36
|
+
"format": ""
|
|
37
|
+
},
|
|
38
|
+
{
|
|
39
|
+
"name": "rate",
|
|
40
|
+
"baseName": "rate",
|
|
41
|
+
"type": "number",
|
|
42
|
+
"format": ""
|
|
43
|
+
},
|
|
44
|
+
{
|
|
45
|
+
"name": "flatFee",
|
|
46
|
+
"baseName": "flatFee",
|
|
47
|
+
"type": "number",
|
|
48
|
+
"format": ""
|
|
49
|
+
},
|
|
50
|
+
{
|
|
51
|
+
"name": "packageSize",
|
|
52
|
+
"baseName": "packageSize",
|
|
53
|
+
"type": "number",
|
|
54
|
+
"format": ""
|
|
55
|
+
}
|
|
56
|
+
];
|
|
@@ -0,0 +1,41 @@
|
|
|
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 ProductGroupProductsInnerPricingOneOf4 {
|
|
13
|
+
'type': ProductGroupProductsInnerPricingOneOf4TypeEnum;
|
|
14
|
+
'price': number;
|
|
15
|
+
'chunkSize'?: number | null;
|
|
16
|
+
/**
|
|
17
|
+
* Usage reset is represented in months and must be one of: 1, 2, 3, 6, 12
|
|
18
|
+
*/
|
|
19
|
+
'usageReset'?: number | null;
|
|
20
|
+
'baseAmount'?: number | null;
|
|
21
|
+
static readonly discriminator: string | undefined;
|
|
22
|
+
static readonly mapping: {
|
|
23
|
+
[index: string]: string;
|
|
24
|
+
} | 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
|
+
}
|
|
39
|
+
export declare enum ProductGroupProductsInnerPricingOneOf4TypeEnum {
|
|
40
|
+
PerUnit = "PER_UNIT"
|
|
41
|
+
}
|
|
@@ -0,0 +1,60 @@
|
|
|
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.ProductGroupProductsInnerPricingOneOf4TypeEnum = exports.ProductGroupProductsInnerPricingOneOf4 = void 0;
|
|
15
|
+
class ProductGroupProductsInnerPricingOneOf4 {
|
|
16
|
+
static getAttributeTypeMap() {
|
|
17
|
+
return ProductGroupProductsInnerPricingOneOf4.attributeTypeMap;
|
|
18
|
+
}
|
|
19
|
+
constructor() {
|
|
20
|
+
}
|
|
21
|
+
}
|
|
22
|
+
exports.ProductGroupProductsInnerPricingOneOf4 = ProductGroupProductsInnerPricingOneOf4;
|
|
23
|
+
ProductGroupProductsInnerPricingOneOf4.discriminator = undefined;
|
|
24
|
+
ProductGroupProductsInnerPricingOneOf4.mapping = undefined;
|
|
25
|
+
ProductGroupProductsInnerPricingOneOf4.attributeTypeMap = [
|
|
26
|
+
{
|
|
27
|
+
"name": "type",
|
|
28
|
+
"baseName": "type",
|
|
29
|
+
"type": "ProductGroupProductsInnerPricingOneOf4TypeEnum",
|
|
30
|
+
"format": ""
|
|
31
|
+
},
|
|
32
|
+
{
|
|
33
|
+
"name": "price",
|
|
34
|
+
"baseName": "price",
|
|
35
|
+
"type": "number",
|
|
36
|
+
"format": ""
|
|
37
|
+
},
|
|
38
|
+
{
|
|
39
|
+
"name": "chunkSize",
|
|
40
|
+
"baseName": "chunkSize",
|
|
41
|
+
"type": "number",
|
|
42
|
+
"format": ""
|
|
43
|
+
},
|
|
44
|
+
{
|
|
45
|
+
"name": "usageReset",
|
|
46
|
+
"baseName": "usageReset",
|
|
47
|
+
"type": "number",
|
|
48
|
+
"format": ""
|
|
49
|
+
},
|
|
50
|
+
{
|
|
51
|
+
"name": "baseAmount",
|
|
52
|
+
"baseName": "baseAmount",
|
|
53
|
+
"type": "number",
|
|
54
|
+
"format": ""
|
|
55
|
+
}
|
|
56
|
+
];
|
|
57
|
+
var ProductGroupProductsInnerPricingOneOf4TypeEnum;
|
|
58
|
+
(function (ProductGroupProductsInnerPricingOneOf4TypeEnum) {
|
|
59
|
+
ProductGroupProductsInnerPricingOneOf4TypeEnum["PerUnit"] = "PER_UNIT";
|
|
60
|
+
})(ProductGroupProductsInnerPricingOneOf4TypeEnum = exports.ProductGroupProductsInnerPricingOneOf4TypeEnum || (exports.ProductGroupProductsInnerPricingOneOf4TypeEnum = {}));
|
|
@@ -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 { ProductGroupProductsInnerSchedulingDuration } from '../models/ProductGroupProductsInnerSchedulingDuration';
|
|
13
|
+
/**
|
|
14
|
+
* The scheduling of the product
|
|
15
|
+
*/
|
|
16
|
+
export declare class ProductGroupProductsInnerScheduling {
|
|
17
|
+
/**
|
|
18
|
+
* The day of the month that the product is billed
|
|
19
|
+
*/
|
|
20
|
+
'billingDay'?: number;
|
|
21
|
+
'duration': ProductGroupProductsInnerSchedulingDuration;
|
|
22
|
+
static readonly discriminator: string | undefined;
|
|
23
|
+
static readonly mapping: {
|
|
24
|
+
[index: string]: string;
|
|
25
|
+
} | 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,41 @@
|
|
|
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.ProductGroupProductsInnerScheduling = void 0;
|
|
15
|
+
/**
|
|
16
|
+
* The scheduling of the product
|
|
17
|
+
*/
|
|
18
|
+
class ProductGroupProductsInnerScheduling {
|
|
19
|
+
static getAttributeTypeMap() {
|
|
20
|
+
return ProductGroupProductsInnerScheduling.attributeTypeMap;
|
|
21
|
+
}
|
|
22
|
+
constructor() {
|
|
23
|
+
}
|
|
24
|
+
}
|
|
25
|
+
exports.ProductGroupProductsInnerScheduling = ProductGroupProductsInnerScheduling;
|
|
26
|
+
ProductGroupProductsInnerScheduling.discriminator = undefined;
|
|
27
|
+
ProductGroupProductsInnerScheduling.mapping = undefined;
|
|
28
|
+
ProductGroupProductsInnerScheduling.attributeTypeMap = [
|
|
29
|
+
{
|
|
30
|
+
"name": "billingDay",
|
|
31
|
+
"baseName": "billingDay",
|
|
32
|
+
"type": "number",
|
|
33
|
+
"format": ""
|
|
34
|
+
},
|
|
35
|
+
{
|
|
36
|
+
"name": "duration",
|
|
37
|
+
"baseName": "duration",
|
|
38
|
+
"type": "ProductGroupProductsInnerSchedulingDuration",
|
|
39
|
+
"format": ""
|
|
40
|
+
}
|
|
41
|
+
];
|