vayu-ts 0.2.6 → 0.2.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 +47 -61
- package/dist/openapi/apis/ContractsApi.js +203 -232
- package/dist/openapi/apis/CreditsApi.js +162 -186
- package/dist/openapi/apis/CustomersApi.d.ts +15 -0
- package/dist/openapi/apis/CustomersApi.js +378 -353
- package/dist/openapi/apis/EventsApi.js +282 -316
- package/dist/openapi/apis/IntegrationsApi.js +105 -124
- package/dist/openapi/apis/InvoicesApi.js +100 -119
- package/dist/openapi/apis/MetersApi.js +211 -240
- package/dist/openapi/apis/PlansApi.js +150 -174
- package/dist/openapi/apis/ProductConsumptionsApi.d.ts +25 -0
- package/dist/openapi/apis/ProductConsumptionsApi.js +82 -0
- package/dist/openapi/apis/ReportsApi.js +100 -119
- package/dist/openapi/apis/WebhooksApi.js +55 -69
- package/dist/openapi/auth/auth.d.ts +1 -0
- package/dist/openapi/auth/auth.js +2 -13
- package/dist/openapi/configuration.d.ts +8 -2
- package/dist/openapi/http/http.d.ts +7 -20
- package/dist/openapi/http/http.js +15 -25
- package/dist/openapi/index.d.ts +4 -3
- package/dist/openapi/index.js +4 -1
- package/dist/openapi/models/Address.d.ts +3 -0
- package/dist/openapi/models/Address.js +1 -0
- package/dist/openapi/models/AggregationMethod.d.ts +3 -0
- package/dist/openapi/models/AggregationMethod.js +1 -0
- package/dist/openapi/models/Condition.d.ts +3 -0
- package/dist/openapi/models/Condition.js +1 -0
- package/dist/openapi/models/Contact.d.ts +4 -1
- package/dist/openapi/models/Contact.js +3 -2
- package/dist/openapi/models/ContractStatus.d.ts +1 -0
- package/dist/openapi/models/ContractStatus.js +1 -0
- package/dist/openapi/models/CreateContractRequest.d.ts +3 -0
- package/dist/openapi/models/CreateContractRequest.js +1 -0
- package/dist/openapi/models/CreateContractResponse.d.ts +3 -0
- package/dist/openapi/models/CreateContractResponse.js +1 -0
- package/dist/openapi/models/CreateCustomerRequest.d.ts +3 -0
- package/dist/openapi/models/CreateCustomerRequest.js +1 -0
- package/dist/openapi/models/CreateCustomerResponse.d.ts +3 -0
- package/dist/openapi/models/CreateCustomerResponse.js +1 -0
- package/dist/openapi/models/CreateCustomerResponseCustomer.d.ts +3 -0
- package/dist/openapi/models/CreateCustomerResponseCustomer.js +1 -0
- package/dist/openapi/models/CreditLedgerEntry.d.ts +3 -0
- package/dist/openapi/models/CreditLedgerEntry.js +1 -0
- package/dist/openapi/models/Criterion.d.ts +3 -0
- package/dist/openapi/models/Criterion.js +1 -0
- package/dist/openapi/models/CriterionOperator.d.ts +3 -1
- package/dist/openapi/models/CriterionOperator.js +2 -0
- package/dist/openapi/models/DeductCreditsRequest.d.ts +3 -0
- package/dist/openapi/models/DeductCreditsRequest.js +1 -0
- package/dist/openapi/models/DeleteContractResponse.d.ts +3 -0
- package/dist/openapi/models/DeleteContractResponse.js +1 -0
- package/dist/openapi/models/DeleteContractResponseContract.d.ts +3 -0
- package/dist/openapi/models/DeleteContractResponseContract.js +1 -0
- package/dist/openapi/models/DeleteCustomerResponse.d.ts +3 -0
- package/dist/openapi/models/DeleteCustomerResponse.js +1 -0
- package/dist/openapi/models/DeleteCustomerResponseCustomer.d.ts +3 -0
- package/dist/openapi/models/DeleteCustomerResponseCustomer.js +1 -0
- package/dist/openapi/models/DeleteEventResponse.d.ts +3 -0
- package/dist/openapi/models/DeleteEventResponse.js +1 -0
- package/dist/openapi/models/DeleteEventResponseEvent.d.ts +3 -0
- package/dist/openapi/models/DeleteEventResponseEvent.js +1 -0
- package/dist/openapi/models/DeleteMeterResponse.d.ts +3 -0
- package/dist/openapi/models/DeleteMeterResponse.js +1 -0
- package/dist/openapi/models/DeleteMeterResponseMeter.d.ts +3 -0
- package/dist/openapi/models/DeleteMeterResponseMeter.js +1 -0
- package/dist/openapi/models/DeletePlanResponse.d.ts +3 -0
- package/dist/openapi/models/DeletePlanResponse.js +1 -0
- package/dist/openapi/models/DeletePlanResponsePlan.d.ts +3 -0
- package/dist/openapi/models/DeletePlanResponsePlan.js +1 -0
- package/dist/openapi/models/Event.d.ts +3 -0
- package/dist/openapi/models/Event.js +1 -0
- package/dist/openapi/models/EventsDryRunRequest.d.ts +3 -0
- package/dist/openapi/models/EventsDryRunRequest.js +1 -0
- package/dist/openapi/models/EventsDryRunResponse.d.ts +3 -0
- package/dist/openapi/models/EventsDryRunResponse.js +1 -0
- package/dist/openapi/models/EventsDryRunResponseObject.d.ts +3 -0
- package/dist/openapi/models/EventsDryRunResponseObject.js +1 -0
- package/dist/openapi/models/EventsDryRunResponseObjectEvent.d.ts +3 -0
- package/dist/openapi/models/EventsDryRunResponseObjectEvent.js +1 -0
- package/dist/openapi/models/EventsDryRunResponseObjectMeterWithValuesInner.d.ts +3 -0
- package/dist/openapi/models/EventsDryRunResponseObjectMeterWithValuesInner.js +1 -0
- package/dist/openapi/models/Filter.d.ts +3 -0
- package/dist/openapi/models/Filter.js +1 -0
- package/dist/openapi/models/FullDayPeriod.d.ts +3 -0
- package/dist/openapi/models/FullDayPeriod.js +1 -0
- package/dist/openapi/models/GetCommitmentReportResponse.d.ts +5 -0
- package/dist/openapi/models/GetCommitmentReportResponse.js +13 -0
- package/dist/openapi/models/GetContractResponse.d.ts +3 -0
- package/dist/openapi/models/GetContractResponse.js +1 -0
- package/dist/openapi/models/GetContractResponseContract.d.ts +3 -0
- package/dist/openapi/models/GetContractResponseContract.js +1 -0
- package/dist/openapi/models/GetCustomerProductsConsumptionsResponse.d.ts +32 -0
- package/dist/openapi/models/GetCustomerProductsConsumptionsResponse.js +32 -0
- package/dist/openapi/models/GetCustomerResponse.d.ts +3 -0
- package/dist/openapi/models/GetCustomerResponse.js +1 -0
- package/dist/openapi/models/GetEventResponse.d.ts +3 -0
- package/dist/openapi/models/GetEventResponse.js +1 -0
- package/dist/openapi/models/GetEventResponseEvent.d.ts +3 -0
- package/dist/openapi/models/GetEventResponseEvent.js +1 -0
- package/dist/openapi/models/GetInvoiceResponse.d.ts +3 -0
- package/dist/openapi/models/GetInvoiceResponse.js +1 -0
- package/dist/openapi/models/GetInvoiceResponseInvoice.d.ts +3 -0
- package/dist/openapi/models/GetInvoiceResponseInvoice.js +1 -0
- package/dist/openapi/models/GetMeterResponse.d.ts +3 -0
- package/dist/openapi/models/GetMeterResponse.js +1 -0
- package/dist/openapi/models/GetMeterResponseMeter.d.ts +3 -0
- package/dist/openapi/models/GetMeterResponseMeter.js +1 -0
- package/dist/openapi/models/GetPlanResponse.d.ts +3 -0
- package/dist/openapi/models/GetPlanResponse.js +1 -0
- package/dist/openapi/models/GetPlanResponsePlan.d.ts +3 -0
- package/dist/openapi/models/GetPlanResponsePlan.js +1 -0
- package/dist/openapi/models/GetProductConsumptionResponse.d.ts +32 -0
- package/dist/openapi/models/GetProductConsumptionResponse.js +32 -0
- package/dist/openapi/models/GetProductConsumptionResponseProductConsumption.d.ts +59 -0
- package/dist/openapi/models/GetProductConsumptionResponseProductConsumption.js +74 -0
- package/dist/openapi/models/GetProductsUsageReportResponse.d.ts +5 -0
- package/dist/openapi/models/GetProductsUsageReportResponse.js +13 -0
- package/dist/openapi/models/GrantCreditsRequest.d.ts +3 -0
- package/dist/openapi/models/GrantCreditsRequest.js +1 -0
- package/dist/openapi/models/InvalidEvent.d.ts +3 -0
- package/dist/openapi/models/InvalidEvent.js +1 -0
- package/dist/openapi/models/LineItem.d.ts +3 -0
- package/dist/openapi/models/LineItem.js +1 -0
- package/dist/openapi/models/LineItemRevenueBreakdown.d.ts +3 -0
- package/dist/openapi/models/LineItemRevenueBreakdown.js +1 -0
- package/dist/openapi/models/ListContractsResponse.d.ts +3 -0
- package/dist/openapi/models/ListContractsResponse.js +1 -0
- package/dist/openapi/models/ListCreditLedgerEntriesResponse.d.ts +3 -0
- package/dist/openapi/models/ListCreditLedgerEntriesResponse.js +1 -0
- package/dist/openapi/models/ListCustomersResponse.d.ts +3 -0
- package/dist/openapi/models/ListCustomersResponse.js +1 -0
- package/dist/openapi/models/ListInvoicesResponse.d.ts +3 -0
- package/dist/openapi/models/ListInvoicesResponse.js +1 -0
- package/dist/openapi/models/ListMetersResponse.d.ts +3 -0
- package/dist/openapi/models/ListMetersResponse.js +1 -0
- package/dist/openapi/models/ListPlansResponse.d.ts +3 -0
- package/dist/openapi/models/ListPlansResponse.js +1 -0
- package/dist/openapi/models/LoginRequest.d.ts +3 -0
- package/dist/openapi/models/LoginRequest.js +1 -0
- package/dist/openapi/models/LoginResponse.d.ts +3 -0
- package/dist/openapi/models/LoginResponse.js +1 -0
- package/dist/openapi/models/Meter.d.ts +3 -0
- package/dist/openapi/models/Meter.js +1 -0
- package/dist/openapi/models/NetSuiteExportSalesOrderRequest.d.ts +3 -0
- package/dist/openapi/models/NetSuiteExportSalesOrderRequest.js +1 -0
- package/dist/openapi/models/NetSuiteSyncInvoicesRequest.d.ts +3 -0
- package/dist/openapi/models/NetSuiteSyncInvoicesRequest.js +1 -0
- package/dist/openapi/models/NetSuiteSyncInvoicesRequestData.d.ts +3 -0
- package/dist/openapi/models/NetSuiteSyncInvoicesRequestData.js +1 -0
- package/dist/openapi/models/NetSuiteSyncInvoicesRequestDataEntity.d.ts +3 -0
- package/dist/openapi/models/NetSuiteSyncInvoicesRequestDataEntity.js +1 -0
- package/dist/openapi/models/NetSuiteSyncInvoicesRequestDataItem.d.ts +3 -0
- package/dist/openapi/models/NetSuiteSyncInvoicesRequestDataItem.js +1 -0
- package/dist/openapi/models/NetSuiteSyncInvoicesRequestDataItemItemsInner.d.ts +3 -0
- package/dist/openapi/models/NetSuiteSyncInvoicesRequestDataItemItemsInner.js +1 -0
- package/dist/openapi/models/NetSuiteSyncInvoicesResponse.d.ts +3 -0
- package/dist/openapi/models/NetSuiteSyncInvoicesResponse.js +1 -0
- package/dist/openapi/models/NotificationEventType.d.ts +2 -1
- package/dist/openapi/models/NotificationEventType.js +1 -0
- package/dist/openapi/models/ObjectSerializer.d.ts +6 -0
- package/dist/openapi/models/ObjectSerializer.js +68 -11
- package/dist/openapi/models/PlanBillingData.d.ts +5 -1
- package/dist/openapi/models/PlanBillingData.js +2 -1
- package/dist/openapi/models/PlanDuration.d.ts +30 -0
- package/dist/openapi/models/PlanDuration.js +25 -0
- package/dist/openapi/models/ProductConsumption.d.ts +59 -0
- package/dist/openapi/models/ProductConsumption.js +74 -0
- package/dist/openapi/models/QueryEventsResponse.d.ts +3 -0
- package/dist/openapi/models/QueryEventsResponse.js +1 -0
- package/dist/openapi/models/QueryEventsResponseEventsInner.d.ts +3 -0
- package/dist/openapi/models/QueryEventsResponseEventsInner.js +1 -0
- package/dist/openapi/models/SendEventsRequest.d.ts +3 -0
- package/dist/openapi/models/SendEventsRequest.js +1 -0
- package/dist/openapi/models/SendEventsResponse.d.ts +3 -0
- package/dist/openapi/models/SendEventsResponse.js +1 -0
- package/dist/openapi/models/UnlimitedDuration.d.ts +14 -0
- package/dist/openapi/models/UnlimitedDuration.js +18 -0
- package/dist/openapi/models/UpdateCustomerRequest.d.ts +3 -0
- package/dist/openapi/models/UpdateCustomerRequest.js +1 -0
- package/dist/openapi/models/UpdateCustomerResponse.d.ts +3 -0
- package/dist/openapi/models/UpdateCustomerResponse.js +1 -0
- package/dist/openapi/models/UpdateMeterRequest.d.ts +3 -0
- package/dist/openapi/models/UpdateMeterRequest.js +1 -0
- package/dist/openapi/models/UpdateMeterResponse.d.ts +3 -0
- package/dist/openapi/models/UpdateMeterResponse.js +1 -0
- package/dist/openapi/models/WebhookSubscribeRequest.d.ts +3 -0
- package/dist/openapi/models/WebhookSubscribeRequest.js +1 -0
- package/dist/openapi/models/all.d.ts +6 -0
- package/dist/openapi/models/all.js +6 -0
- package/dist/openapi/servers.js +2 -3
- package/dist/openapi/types/ObservableAPI.d.ts +138 -105
- package/dist/openapi/types/ObservableAPI.js +1185 -138
- package/dist/openapi/types/PromiseAPI.d.ts +136 -105
- package/dist/openapi/types/PromiseAPI.js +852 -108
- package/dist/openapi-v2/apis/AuthenticationApi.js +35 -49
- package/dist/openapi-v2/apis/CustomersApi.js +230 -269
- package/dist/openapi-v2/apis/EntitlementsApi.js +98 -122
- package/dist/openapi-v2/apis/EventsApi.js +136 -165
- package/dist/openapi-v2/apis/InvoicesApi.js +214 -253
- package/dist/openapi-v2/apis/ProductsApi.js +182 -216
- package/dist/openapi-v2/auth/auth.d.ts +1 -0
- package/dist/openapi-v2/configuration.d.ts +8 -2
- package/dist/openapi-v2/http/http.d.ts +7 -20
- package/dist/openapi-v2/http/http.js +15 -25
- package/dist/openapi-v2/index.d.ts +3 -2
- package/dist/openapi-v2/index.js +3 -1
- package/dist/openapi-v2/models/APICreateCustomerPayload.d.ts +3 -0
- package/dist/openapi-v2/models/APICreateCustomerPayload.js +1 -0
- package/dist/openapi-v2/models/APICreateInvoicePayload.d.ts +3 -0
- package/dist/openapi-v2/models/APICreateInvoicePayload.js +1 -0
- package/dist/openapi-v2/models/APICreateProductPayload.d.ts +3 -0
- package/dist/openapi-v2/models/APICreateProductPayload.js +1 -0
- package/dist/openapi-v2/models/APICustomer.d.ts +3 -0
- package/dist/openapi-v2/models/APICustomer.js +1 -0
- package/dist/openapi-v2/models/APIEntitlement.d.ts +3 -0
- package/dist/openapi-v2/models/APIEntitlement.js +1 -0
- package/dist/openapi-v2/models/APIEvent.d.ts +3 -0
- package/dist/openapi-v2/models/APIEvent.js +1 -0
- package/dist/openapi-v2/models/APIIngestEventPayload.d.ts +3 -0
- package/dist/openapi-v2/models/APIIngestEventPayload.js +1 -0
- package/dist/openapi-v2/models/APIInvoice.d.ts +3 -0
- package/dist/openapi-v2/models/APIInvoice.js +1 -0
- package/dist/openapi-v2/models/APIInvoiceBillingPeriod.d.ts +3 -0
- package/dist/openapi-v2/models/APIInvoiceBillingPeriod.js +1 -0
- package/dist/openapi-v2/models/APIProduct.d.ts +3 -0
- package/dist/openapi-v2/models/APIProduct.js +1 -0
- package/dist/openapi-v2/models/APIQueryPayloadAPICustomer.d.ts +3 -0
- package/dist/openapi-v2/models/APIQueryPayloadAPICustomer.js +1 -0
- package/dist/openapi-v2/models/APIQueryPayloadAPIEntitlement.d.ts +3 -0
- package/dist/openapi-v2/models/APIQueryPayloadAPIEntitlement.js +1 -0
- package/dist/openapi-v2/models/APIQueryPayloadAPIEvent.d.ts +3 -0
- package/dist/openapi-v2/models/APIQueryPayloadAPIEvent.js +1 -0
- package/dist/openapi-v2/models/APIQueryPayloadAPIInvoice.d.ts +3 -0
- package/dist/openapi-v2/models/APIQueryPayloadAPIInvoice.js +1 -0
- package/dist/openapi-v2/models/APIQueryPayloadAPIProduct.d.ts +3 -0
- package/dist/openapi-v2/models/APIQueryPayloadAPIProduct.js +1 -0
- package/dist/openapi-v2/models/APIUpdateCustomerPayload.d.ts +3 -0
- package/dist/openapi-v2/models/APIUpdateCustomerPayload.js +1 -0
- package/dist/openapi-v2/models/APIUpdateInvoicePayload.d.ts +3 -0
- package/dist/openapi-v2/models/APIUpdateInvoicePayload.js +1 -0
- package/dist/openapi-v2/models/APIUpdateProductPayload.d.ts +3 -0
- package/dist/openapi-v2/models/APIUpdateProductPayload.js +1 -0
- package/dist/openapi-v2/models/Aggregation.d.ts +3 -0
- package/dist/openapi-v2/models/Aggregation.js +1 -0
- package/dist/openapi-v2/models/Condition.d.ts +3 -0
- package/dist/openapi-v2/models/Condition.js +1 -0
- package/dist/openapi-v2/models/Criterion.d.ts +3 -0
- package/dist/openapi-v2/models/Criterion.js +1 -0
- package/dist/openapi-v2/models/CriterionValue.d.ts +3 -0
- package/dist/openapi-v2/models/CriterionValue.js +1 -0
- package/dist/openapi-v2/models/EntitlementRevision.d.ts +3 -0
- package/dist/openapi-v2/models/EntitlementRevision.js +1 -0
- package/dist/openapi-v2/models/IngestEventToTheSystem201Response.d.ts +3 -0
- package/dist/openapi-v2/models/IngestEventToTheSystem201Response.js +1 -0
- package/dist/openapi-v2/models/InvoiceProductBreakdown.d.ts +3 -0
- package/dist/openapi-v2/models/InvoiceProductBreakdown.js +1 -0
- package/dist/openapi-v2/models/Login200Response.d.ts +3 -0
- package/dist/openapi-v2/models/Login200Response.js +1 -0
- package/dist/openapi-v2/models/LoginRequest.d.ts +3 -0
- package/dist/openapi-v2/models/LoginRequest.js +1 -0
- package/dist/openapi-v2/models/ObjectSerializer.js +51 -11
- package/dist/openapi-v2/models/Pricing.d.ts +3 -0
- package/dist/openapi-v2/models/Pricing.js +1 -0
- package/dist/openapi-v2/models/PricingTiersInner.d.ts +3 -0
- package/dist/openapi-v2/models/PricingTiersInner.js +1 -0
- package/dist/openapi-v2/models/ProductBreakdown.d.ts +3 -0
- package/dist/openapi-v2/models/ProductBreakdown.js +1 -0
- package/dist/openapi-v2/models/QueryResultAPICustomer.d.ts +3 -0
- package/dist/openapi-v2/models/QueryResultAPICustomer.js +1 -0
- package/dist/openapi-v2/models/QueryResultAPIEntitlement.d.ts +3 -0
- package/dist/openapi-v2/models/QueryResultAPIEntitlement.js +1 -0
- package/dist/openapi-v2/models/QueryResultAPIEvent.d.ts +3 -0
- package/dist/openapi-v2/models/QueryResultAPIEvent.js +1 -0
- package/dist/openapi-v2/models/QueryResultAPIInvoice.d.ts +3 -0
- package/dist/openapi-v2/models/QueryResultAPIInvoice.js +1 -0
- package/dist/openapi-v2/models/QueryResultAPIProduct.d.ts +3 -0
- package/dist/openapi-v2/models/QueryResultAPIProduct.js +1 -0
- package/dist/openapi-v2/models/ReviseEntitlementPayload.d.ts +3 -0
- package/dist/openapi-v2/models/ReviseEntitlementPayload.js +1 -0
- package/dist/openapi-v2/servers.js +2 -3
- package/dist/openapi-v2/types/ObservableAPI.d.ts +51 -51
- package/dist/openapi-v2/types/ObservableAPI.js +775 -75
- package/dist/openapi-v2/types/PromiseAPI.d.ts +51 -51
- package/dist/openapi-v2/types/PromiseAPI.js +551 -50
- package/dist/sdk/clients/ContractsClient.js +10 -27
- package/dist/sdk/clients/CustomersClient.js +14 -35
- package/dist/sdk/clients/EventsClient.js +13 -32
- package/dist/sdk/clients/InvoicesClient.js +6 -19
- package/dist/sdk/clients/MetersClient.js +10 -27
- package/dist/sdk/clients/PlansClient.js +8 -23
- package/dist/sdk/clients/ProductsConsumptionsClient.d.ts +5 -0
- package/dist/sdk/clients/ProductsConsumptionsClient.js +14 -0
- package/dist/sdk/clients/WebhooksClient.js +2 -13
- package/dist/sdk/clients/index.d.ts +1 -0
- package/dist/sdk/clients/index.js +1 -0
- package/dist/sdk/index.d.ts +2 -1
- package/dist/sdk/index.js +5 -13
- package/dist/sdk/services/configuration.service.js +21 -33
- package/dist/sdk-v2/clients/CustomersClient.js +12 -33
- package/dist/sdk-v2/clients/EntitlementsClient.js +6 -21
- package/dist/sdk-v2/clients/EventsClient.js +8 -25
- package/dist/sdk-v2/clients/InvoicesClient.js +12 -33
- package/dist/sdk-v2/clients/ProductsClient.js +10 -29
- package/dist/sdk-v2/index.js +2 -13
- package/dist/sdk-v2/services/configuration.service.js +22 -34
- package/package.json +1 -1
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { HttpInfo } from '../http/http';
|
|
2
|
-
import { Configuration } from '../configuration';
|
|
2
|
+
import { Configuration, PromiseConfigurationOptions } from '../configuration';
|
|
3
3
|
import { CreateContractRequest } from '../models/CreateContractRequest';
|
|
4
4
|
import { CreateContractResponse } from '../models/CreateContractResponse';
|
|
5
5
|
import { CreateCustomerRequest } from '../models/CreateCustomerRequest';
|
|
@@ -14,11 +14,13 @@ import { EventsDryRunRequest } from '../models/EventsDryRunRequest';
|
|
|
14
14
|
import { EventsDryRunResponse } from '../models/EventsDryRunResponse';
|
|
15
15
|
import { GetCommitmentReportResponse } from '../models/GetCommitmentReportResponse';
|
|
16
16
|
import { GetContractResponse } from '../models/GetContractResponse';
|
|
17
|
+
import { GetCustomerProductsConsumptionsResponse } from '../models/GetCustomerProductsConsumptionsResponse';
|
|
17
18
|
import { GetCustomerResponse } from '../models/GetCustomerResponse';
|
|
18
19
|
import { GetEventResponse } from '../models/GetEventResponse';
|
|
19
20
|
import { GetInvoiceResponse } from '../models/GetInvoiceResponse';
|
|
20
21
|
import { GetMeterResponse } from '../models/GetMeterResponse';
|
|
21
22
|
import { GetPlanResponse } from '../models/GetPlanResponse';
|
|
23
|
+
import { GetProductConsumptionResponse } from '../models/GetProductConsumptionResponse';
|
|
22
24
|
import { GetProductsUsageReportResponse } from '../models/GetProductsUsageReportResponse';
|
|
23
25
|
import { GrantCreditsRequest } from '../models/GrantCreditsRequest';
|
|
24
26
|
import { ListContractsResponse } from '../models/ListContractsResponse';
|
|
@@ -49,13 +51,13 @@ export declare class PromiseAuthApi {
|
|
|
49
51
|
* Login by obtaining a new access token
|
|
50
52
|
* @param loginRequest
|
|
51
53
|
*/
|
|
52
|
-
loginWithHttpInfo(loginRequest: LoginRequest, _options?:
|
|
54
|
+
loginWithHttpInfo(loginRequest: LoginRequest, _options?: PromiseConfigurationOptions): Promise<HttpInfo<LoginResponse>>;
|
|
53
55
|
/**
|
|
54
56
|
* This endpoint is designed to acquire a temporary access token. Submit the auth token in the request body to obtain a new access token. Use this new token for subsequent API calls. Token is set to expire every hour.
|
|
55
57
|
* Login by obtaining a new access token
|
|
56
58
|
* @param loginRequest
|
|
57
59
|
*/
|
|
58
|
-
login(loginRequest: LoginRequest, _options?:
|
|
60
|
+
login(loginRequest: LoginRequest, _options?: PromiseConfigurationOptions): Promise<LoginResponse>;
|
|
59
61
|
}
|
|
60
62
|
import { ContractsApiRequestFactory, ContractsApiResponseProcessor } from "../apis/ContractsApi";
|
|
61
63
|
export declare class PromiseContractsApi {
|
|
@@ -66,51 +68,51 @@ export declare class PromiseContractsApi {
|
|
|
66
68
|
* Create Contract
|
|
67
69
|
* @param createContractRequest
|
|
68
70
|
*/
|
|
69
|
-
createContractWithHttpInfo(createContractRequest: CreateContractRequest, _options?:
|
|
71
|
+
createContractWithHttpInfo(createContractRequest: CreateContractRequest, _options?: PromiseConfigurationOptions): Promise<HttpInfo<CreateContractResponse>>;
|
|
70
72
|
/**
|
|
71
73
|
* Create a new Contract.
|
|
72
74
|
* Create Contract
|
|
73
75
|
* @param createContractRequest
|
|
74
76
|
*/
|
|
75
|
-
createContract(createContractRequest: CreateContractRequest, _options?:
|
|
77
|
+
createContract(createContractRequest: CreateContractRequest, _options?: PromiseConfigurationOptions): Promise<CreateContractResponse>;
|
|
76
78
|
/**
|
|
77
79
|
* Delete a Contract by id.
|
|
78
80
|
* Delete Contract
|
|
79
81
|
* @param contractId
|
|
80
82
|
*/
|
|
81
|
-
deleteContractWithHttpInfo(contractId: string, _options?:
|
|
83
|
+
deleteContractWithHttpInfo(contractId: string, _options?: PromiseConfigurationOptions): Promise<HttpInfo<DeleteContractResponse>>;
|
|
82
84
|
/**
|
|
83
85
|
* Delete a Contract by id.
|
|
84
86
|
* Delete Contract
|
|
85
87
|
* @param contractId
|
|
86
88
|
*/
|
|
87
|
-
deleteContract(contractId: string, _options?:
|
|
89
|
+
deleteContract(contractId: string, _options?: PromiseConfigurationOptions): Promise<DeleteContractResponse>;
|
|
88
90
|
/**
|
|
89
91
|
* Get a Contract by id.
|
|
90
92
|
* Get Contract
|
|
91
93
|
* @param contractId
|
|
92
94
|
*/
|
|
93
|
-
getContractWithHttpInfo(contractId: string, _options?:
|
|
95
|
+
getContractWithHttpInfo(contractId: string, _options?: PromiseConfigurationOptions): Promise<HttpInfo<GetContractResponse>>;
|
|
94
96
|
/**
|
|
95
97
|
* Get a Contract by id.
|
|
96
98
|
* Get Contract
|
|
97
99
|
* @param contractId
|
|
98
100
|
*/
|
|
99
|
-
getContract(contractId: string, _options?:
|
|
101
|
+
getContract(contractId: string, _options?: PromiseConfigurationOptions): Promise<GetContractResponse>;
|
|
100
102
|
/**
|
|
101
103
|
* Get a list of Contracts.
|
|
102
104
|
* List Contracts
|
|
103
|
-
* @param limit
|
|
104
|
-
* @param cursor
|
|
105
|
+
* @param [limit]
|
|
106
|
+
* @param [cursor]
|
|
105
107
|
*/
|
|
106
|
-
listContractsWithHttpInfo(limit?: number, cursor?: string, _options?:
|
|
108
|
+
listContractsWithHttpInfo(limit?: number, cursor?: string, _options?: PromiseConfigurationOptions): Promise<HttpInfo<ListContractsResponse>>;
|
|
107
109
|
/**
|
|
108
110
|
* Get a list of Contracts.
|
|
109
111
|
* List Contracts
|
|
110
|
-
* @param limit
|
|
111
|
-
* @param cursor
|
|
112
|
+
* @param [limit]
|
|
113
|
+
* @param [cursor]
|
|
112
114
|
*/
|
|
113
|
-
listContracts(limit?: number, cursor?: string, _options?:
|
|
115
|
+
listContracts(limit?: number, cursor?: string, _options?: PromiseConfigurationOptions): Promise<ListContractsResponse>;
|
|
114
116
|
}
|
|
115
117
|
import { CreditsApiRequestFactory, CreditsApiResponseProcessor } from "../apis/CreditsApi";
|
|
116
118
|
export declare class PromiseCreditsApi {
|
|
@@ -121,41 +123,41 @@ export declare class PromiseCreditsApi {
|
|
|
121
123
|
* Deduct credits from customer credit ledger
|
|
122
124
|
* @param deductCreditsRequest
|
|
123
125
|
*/
|
|
124
|
-
deductCreditsWithHttpInfo(deductCreditsRequest: DeductCreditsRequest, _options?:
|
|
126
|
+
deductCreditsWithHttpInfo(deductCreditsRequest: DeductCreditsRequest, _options?: PromiseConfigurationOptions): Promise<HttpInfo<void>>;
|
|
125
127
|
/**
|
|
126
128
|
* This endpoint is used to deduct credits from the specified customer account. Submit the credit amount and customer ID in the request body to deduct the credits. The deducted credits will be subtracted from the customer\'s account.
|
|
127
129
|
* Deduct credits from customer credit ledger
|
|
128
130
|
* @param deductCreditsRequest
|
|
129
131
|
*/
|
|
130
|
-
deductCredits(deductCreditsRequest: DeductCreditsRequest, _options?:
|
|
132
|
+
deductCredits(deductCreditsRequest: DeductCreditsRequest, _options?: PromiseConfigurationOptions): Promise<void>;
|
|
131
133
|
/**
|
|
132
134
|
* This endpoint is used to grant credits to a customer. Submit the credit amount and customer ID in the request body to grant the credits. The granted credits will be added to the customer\'s account.
|
|
133
135
|
* Grant credits to a customer credit ledger
|
|
134
136
|
* @param grantCreditsRequest
|
|
135
137
|
*/
|
|
136
|
-
grantCreditsWithHttpInfo(grantCreditsRequest: GrantCreditsRequest, _options?:
|
|
138
|
+
grantCreditsWithHttpInfo(grantCreditsRequest: GrantCreditsRequest, _options?: PromiseConfigurationOptions): Promise<HttpInfo<void>>;
|
|
137
139
|
/**
|
|
138
140
|
* This endpoint is used to grant credits to a customer. Submit the credit amount and customer ID in the request body to grant the credits. The granted credits will be added to the customer\'s account.
|
|
139
141
|
* Grant credits to a customer credit ledger
|
|
140
142
|
* @param grantCreditsRequest
|
|
141
143
|
*/
|
|
142
|
-
grantCredits(grantCreditsRequest: GrantCreditsRequest, _options?:
|
|
144
|
+
grantCredits(grantCreditsRequest: GrantCreditsRequest, _options?: PromiseConfigurationOptions): Promise<void>;
|
|
143
145
|
/**
|
|
144
146
|
* This endpoint is used to retrieve the credit ledger entries for a specific customer.
|
|
145
147
|
* Retrieve credit ledger entries for customer.
|
|
146
148
|
* @param customerId
|
|
147
|
-
* @param limit
|
|
148
|
-
* @param cursor
|
|
149
|
+
* @param [limit]
|
|
150
|
+
* @param [cursor]
|
|
149
151
|
*/
|
|
150
|
-
listCreditLedgerEntriesWithHttpInfo(customerId: string, limit?: number, cursor?: string, _options?:
|
|
152
|
+
listCreditLedgerEntriesWithHttpInfo(customerId: string, limit?: number, cursor?: string, _options?: PromiseConfigurationOptions): Promise<HttpInfo<ListCreditLedgerEntriesResponse>>;
|
|
151
153
|
/**
|
|
152
154
|
* This endpoint is used to retrieve the credit ledger entries for a specific customer.
|
|
153
155
|
* Retrieve credit ledger entries for customer.
|
|
154
156
|
* @param customerId
|
|
155
|
-
* @param limit
|
|
156
|
-
* @param cursor
|
|
157
|
+
* @param [limit]
|
|
158
|
+
* @param [cursor]
|
|
157
159
|
*/
|
|
158
|
-
listCreditLedgerEntries(customerId: string, limit?: number, cursor?: string, _options?:
|
|
160
|
+
listCreditLedgerEntries(customerId: string, limit?: number, cursor?: string, _options?: PromiseConfigurationOptions): Promise<ListCreditLedgerEntriesResponse>;
|
|
159
161
|
}
|
|
160
162
|
import { CustomersApiRequestFactory, CustomersApiResponseProcessor } from "../apis/CustomersApi";
|
|
161
163
|
export declare class PromiseCustomersApi {
|
|
@@ -166,77 +168,89 @@ export declare class PromiseCustomersApi {
|
|
|
166
168
|
* Create Customer
|
|
167
169
|
* @param createCustomerRequest
|
|
168
170
|
*/
|
|
169
|
-
createCustomerWithHttpInfo(createCustomerRequest: CreateCustomerRequest, _options?:
|
|
171
|
+
createCustomerWithHttpInfo(createCustomerRequest: CreateCustomerRequest, _options?: PromiseConfigurationOptions): Promise<HttpInfo<CreateCustomerResponse>>;
|
|
170
172
|
/**
|
|
171
173
|
* Create a new Customer.
|
|
172
174
|
* Create Customer
|
|
173
175
|
* @param createCustomerRequest
|
|
174
176
|
*/
|
|
175
|
-
createCustomer(createCustomerRequest: CreateCustomerRequest, _options?:
|
|
177
|
+
createCustomer(createCustomerRequest: CreateCustomerRequest, _options?: PromiseConfigurationOptions): Promise<CreateCustomerResponse>;
|
|
176
178
|
/**
|
|
177
179
|
* Delete a Customer by id.
|
|
178
180
|
* Delete Customer
|
|
179
181
|
* @param customerId
|
|
180
182
|
*/
|
|
181
|
-
deleteCustomerWithHttpInfo(customerId: string, _options?:
|
|
183
|
+
deleteCustomerWithHttpInfo(customerId: string, _options?: PromiseConfigurationOptions): Promise<HttpInfo<DeleteCustomerResponse>>;
|
|
182
184
|
/**
|
|
183
185
|
* Delete a Customer by id.
|
|
184
186
|
* Delete Customer
|
|
185
187
|
* @param customerId
|
|
186
188
|
*/
|
|
187
|
-
deleteCustomer(customerId: string, _options?:
|
|
189
|
+
deleteCustomer(customerId: string, _options?: PromiseConfigurationOptions): Promise<DeleteCustomerResponse>;
|
|
188
190
|
/**
|
|
189
191
|
* Get a Customer by id.
|
|
190
192
|
* Get Customer
|
|
191
193
|
* @param customerId
|
|
192
194
|
*/
|
|
193
|
-
getCustomerWithHttpInfo(customerId: string, _options?:
|
|
195
|
+
getCustomerWithHttpInfo(customerId: string, _options?: PromiseConfigurationOptions): Promise<HttpInfo<GetCustomerResponse>>;
|
|
194
196
|
/**
|
|
195
197
|
* Get a Customer by id.
|
|
196
198
|
* Get Customer
|
|
197
199
|
* @param customerId
|
|
198
200
|
*/
|
|
199
|
-
getCustomer(customerId: string, _options?:
|
|
201
|
+
getCustomer(customerId: string, _options?: PromiseConfigurationOptions): Promise<GetCustomerResponse>;
|
|
200
202
|
/**
|
|
201
203
|
* Use this endpoint to get a specific customer using its external Id.
|
|
202
204
|
* Get customer by externalId
|
|
203
205
|
* @param externalId
|
|
204
206
|
*/
|
|
205
|
-
getCustomerByExternalIdWithHttpInfo(externalId: string, _options?:
|
|
207
|
+
getCustomerByExternalIdWithHttpInfo(externalId: string, _options?: PromiseConfigurationOptions): Promise<HttpInfo<GetCustomerResponse>>;
|
|
206
208
|
/**
|
|
207
209
|
* Use this endpoint to get a specific customer using its external Id.
|
|
208
210
|
* Get customer by externalId
|
|
209
211
|
* @param externalId
|
|
210
212
|
*/
|
|
211
|
-
getCustomerByExternalId(externalId: string, _options?:
|
|
213
|
+
getCustomerByExternalId(externalId: string, _options?: PromiseConfigurationOptions): Promise<GetCustomerResponse>;
|
|
214
|
+
/**
|
|
215
|
+
* Use this endpoint to get the products consumptions by the customer id.
|
|
216
|
+
* Get products consumptions by customer id
|
|
217
|
+
* @param customerId
|
|
218
|
+
*/
|
|
219
|
+
getCustomerProductsConsumptionsWithHttpInfo(customerId: string, _options?: PromiseConfigurationOptions): Promise<HttpInfo<GetCustomerProductsConsumptionsResponse>>;
|
|
220
|
+
/**
|
|
221
|
+
* Use this endpoint to get the products consumptions by the customer id.
|
|
222
|
+
* Get products consumptions by customer id
|
|
223
|
+
* @param customerId
|
|
224
|
+
*/
|
|
225
|
+
getCustomerProductsConsumptions(customerId: string, _options?: PromiseConfigurationOptions): Promise<GetCustomerProductsConsumptionsResponse>;
|
|
212
226
|
/**
|
|
213
227
|
* Get a list of Customers.
|
|
214
228
|
* List Customers
|
|
215
|
-
* @param limit
|
|
216
|
-
* @param cursor
|
|
229
|
+
* @param [limit]
|
|
230
|
+
* @param [cursor]
|
|
217
231
|
*/
|
|
218
|
-
listCustomersWithHttpInfo(limit?: number, cursor?: string, _options?:
|
|
232
|
+
listCustomersWithHttpInfo(limit?: number, cursor?: string, _options?: PromiseConfigurationOptions): Promise<HttpInfo<ListCustomersResponse>>;
|
|
219
233
|
/**
|
|
220
234
|
* Get a list of Customers.
|
|
221
235
|
* List Customers
|
|
222
|
-
* @param limit
|
|
223
|
-
* @param cursor
|
|
236
|
+
* @param [limit]
|
|
237
|
+
* @param [cursor]
|
|
224
238
|
*/
|
|
225
|
-
listCustomers(limit?: number, cursor?: string, _options?:
|
|
239
|
+
listCustomers(limit?: number, cursor?: string, _options?: PromiseConfigurationOptions): Promise<ListCustomersResponse>;
|
|
226
240
|
/**
|
|
227
241
|
* Update a Customer by id.
|
|
228
242
|
* Update Customer
|
|
229
243
|
* @param updateCustomerRequest
|
|
230
244
|
* @param customerId
|
|
231
245
|
*/
|
|
232
|
-
updateCustomerWithHttpInfo(updateCustomerRequest: UpdateCustomerRequest, customerId: string, _options?:
|
|
246
|
+
updateCustomerWithHttpInfo(updateCustomerRequest: UpdateCustomerRequest, customerId: string, _options?: PromiseConfigurationOptions): Promise<HttpInfo<UpdateCustomerResponse>>;
|
|
233
247
|
/**
|
|
234
248
|
* Update a Customer by id.
|
|
235
249
|
* Update Customer
|
|
236
250
|
* @param updateCustomerRequest
|
|
237
251
|
* @param customerId
|
|
238
252
|
*/
|
|
239
|
-
updateCustomer(updateCustomerRequest: UpdateCustomerRequest, customerId: string, _options?:
|
|
253
|
+
updateCustomer(updateCustomerRequest: UpdateCustomerRequest, customerId: string, _options?: PromiseConfigurationOptions): Promise<UpdateCustomerResponse>;
|
|
240
254
|
}
|
|
241
255
|
import { EventsApiRequestFactory, EventsApiResponseProcessor } from "../apis/EventsApi";
|
|
242
256
|
export declare class PromiseEventsApi {
|
|
@@ -247,69 +261,69 @@ export declare class PromiseEventsApi {
|
|
|
247
261
|
* Delete an event by refId
|
|
248
262
|
* @param refId
|
|
249
263
|
*/
|
|
250
|
-
deleteEventByRefIdWithHttpInfo(refId: string, _options?:
|
|
264
|
+
deleteEventByRefIdWithHttpInfo(refId: string, _options?: PromiseConfigurationOptions): Promise<HttpInfo<DeleteEventResponse>>;
|
|
251
265
|
/**
|
|
252
266
|
* Use this endpoint to remove a specific event using its reference ID.
|
|
253
267
|
* Delete an event by refId
|
|
254
268
|
* @param refId
|
|
255
269
|
*/
|
|
256
|
-
deleteEventByRefId(refId: string, _options?:
|
|
270
|
+
deleteEventByRefId(refId: string, _options?: PromiseConfigurationOptions): Promise<DeleteEventResponse>;
|
|
257
271
|
/**
|
|
258
272
|
* Use this endpoint to get a specific event using its reference ID.
|
|
259
273
|
* Get event by refId
|
|
260
274
|
* @param refId
|
|
261
275
|
*/
|
|
262
|
-
getEventByRefIdWithHttpInfo(refId: string, _options?:
|
|
276
|
+
getEventByRefIdWithHttpInfo(refId: string, _options?: PromiseConfigurationOptions): Promise<HttpInfo<GetEventResponse>>;
|
|
263
277
|
/**
|
|
264
278
|
* Use this endpoint to get a specific event using its reference ID.
|
|
265
279
|
* Get event by refId
|
|
266
280
|
* @param refId
|
|
267
281
|
*/
|
|
268
|
-
getEventByRefId(refId: string, _options?:
|
|
282
|
+
getEventByRefId(refId: string, _options?: PromiseConfigurationOptions): Promise<GetEventResponse>;
|
|
269
283
|
/**
|
|
270
284
|
* Fetch events occurring within a specified timestamp range. An optional event name can be provided to further filter the events.
|
|
271
285
|
* Query events by timestamp period and optional event name
|
|
272
286
|
* @param startTime
|
|
273
287
|
* @param endTime
|
|
274
|
-
* @param eventName
|
|
275
|
-
* @param limit
|
|
276
|
-
* @param cursor
|
|
288
|
+
* @param [eventName]
|
|
289
|
+
* @param [limit]
|
|
290
|
+
* @param [cursor]
|
|
277
291
|
*/
|
|
278
|
-
queryEventsWithHttpInfo(startTime: Date, endTime: Date, eventName?: string, limit?: number, cursor?: string, _options?:
|
|
292
|
+
queryEventsWithHttpInfo(startTime: Date, endTime: Date, eventName?: string, limit?: number, cursor?: string, _options?: PromiseConfigurationOptions): Promise<HttpInfo<QueryEventsResponse>>;
|
|
279
293
|
/**
|
|
280
294
|
* Fetch events occurring within a specified timestamp range. An optional event name can be provided to further filter the events.
|
|
281
295
|
* Query events by timestamp period and optional event name
|
|
282
296
|
* @param startTime
|
|
283
297
|
* @param endTime
|
|
284
|
-
* @param eventName
|
|
285
|
-
* @param limit
|
|
286
|
-
* @param cursor
|
|
298
|
+
* @param [eventName]
|
|
299
|
+
* @param [limit]
|
|
300
|
+
* @param [cursor]
|
|
287
301
|
*/
|
|
288
|
-
queryEvents(startTime: Date, endTime: Date, eventName?: string, limit?: number, cursor?: string, _options?:
|
|
302
|
+
queryEvents(startTime: Date, endTime: Date, eventName?: string, limit?: number, cursor?: string, _options?: PromiseConfigurationOptions): Promise<QueryEventsResponse>;
|
|
289
303
|
/**
|
|
290
304
|
* Use this endpoint to send an array of events for processing and storage. Make sure to comply with the request schema for each event.
|
|
291
305
|
* Submit a batch of events for ingestion
|
|
292
306
|
* @param sendEventsRequest An array of events following the EventInput schema. This request body should be included in the PUT request to \'/events\' Up to 1000 events or a total payload max size of 256KB
|
|
293
307
|
*/
|
|
294
|
-
sendEventsWithHttpInfo(sendEventsRequest: SendEventsRequest, _options?:
|
|
308
|
+
sendEventsWithHttpInfo(sendEventsRequest: SendEventsRequest, _options?: PromiseConfigurationOptions): Promise<HttpInfo<SendEventsResponse>>;
|
|
295
309
|
/**
|
|
296
310
|
* Use this endpoint to send an array of events for processing and storage. Make sure to comply with the request schema for each event.
|
|
297
311
|
* Submit a batch of events for ingestion
|
|
298
312
|
* @param sendEventsRequest An array of events following the EventInput schema. This request body should be included in the PUT request to \'/events\' Up to 1000 events or a total payload max size of 256KB
|
|
299
313
|
*/
|
|
300
|
-
sendEvents(sendEventsRequest: SendEventsRequest, _options?:
|
|
314
|
+
sendEvents(sendEventsRequest: SendEventsRequest, _options?: PromiseConfigurationOptions): Promise<SendEventsResponse>;
|
|
301
315
|
/**
|
|
302
316
|
* Use this endpoint to send an array of events for processing. Make sure to comply with the request schema for each event. NOTE: this is a dry run and will not result in actual storage of the events.
|
|
303
317
|
* Submit a batch of events for testing
|
|
304
318
|
* @param eventsDryRunRequest An array of events following the EventInput schema. This request body should be included in the PUT request to \'/events\' Up to 1000 events or a total payload max size of 256KB
|
|
305
319
|
*/
|
|
306
|
-
sendEventsDryRunWithHttpInfo(eventsDryRunRequest: EventsDryRunRequest, _options?:
|
|
320
|
+
sendEventsDryRunWithHttpInfo(eventsDryRunRequest: EventsDryRunRequest, _options?: PromiseConfigurationOptions): Promise<HttpInfo<EventsDryRunResponse>>;
|
|
307
321
|
/**
|
|
308
322
|
* Use this endpoint to send an array of events for processing. Make sure to comply with the request schema for each event. NOTE: this is a dry run and will not result in actual storage of the events.
|
|
309
323
|
* Submit a batch of events for testing
|
|
310
324
|
* @param eventsDryRunRequest An array of events following the EventInput schema. This request body should be included in the PUT request to \'/events\' Up to 1000 events or a total payload max size of 256KB
|
|
311
325
|
*/
|
|
312
|
-
sendEventsDryRun(eventsDryRunRequest: EventsDryRunRequest, _options?:
|
|
326
|
+
sendEventsDryRun(eventsDryRunRequest: EventsDryRunRequest, _options?: PromiseConfigurationOptions): Promise<EventsDryRunResponse>;
|
|
313
327
|
}
|
|
314
328
|
import { IntegrationsApiRequestFactory, IntegrationsApiResponseProcessor } from "../apis/IntegrationsApi";
|
|
315
329
|
export declare class PromiseIntegrationsApi {
|
|
@@ -320,25 +334,25 @@ export declare class PromiseIntegrationsApi {
|
|
|
320
334
|
* Export sales order to NetSuite
|
|
321
335
|
* @param netSuiteExportSalesOrderRequest
|
|
322
336
|
*/
|
|
323
|
-
exportNetSuiteSalesOrderWithHttpInfo(netSuiteExportSalesOrderRequest: NetSuiteExportSalesOrderRequest, _options?:
|
|
337
|
+
exportNetSuiteSalesOrderWithHttpInfo(netSuiteExportSalesOrderRequest: NetSuiteExportSalesOrderRequest, _options?: PromiseConfigurationOptions): Promise<HttpInfo<void>>;
|
|
324
338
|
/**
|
|
325
339
|
* This endpoint is used to export sales order to NetSuite.
|
|
326
340
|
* Export sales order to NetSuite
|
|
327
341
|
* @param netSuiteExportSalesOrderRequest
|
|
328
342
|
*/
|
|
329
|
-
exportNetSuiteSalesOrder(netSuiteExportSalesOrderRequest: NetSuiteExportSalesOrderRequest, _options?:
|
|
343
|
+
exportNetSuiteSalesOrder(netSuiteExportSalesOrderRequest: NetSuiteExportSalesOrderRequest, _options?: PromiseConfigurationOptions): Promise<void>;
|
|
330
344
|
/**
|
|
331
345
|
* This endpoint is used to sync invoices to NetSuite.
|
|
332
346
|
* Sync invoices to NetSuite
|
|
333
347
|
* @param netSuiteSyncInvoicesRequest
|
|
334
348
|
*/
|
|
335
|
-
netSuiteSyncInvoicesWithHttpInfo(netSuiteSyncInvoicesRequest: NetSuiteSyncInvoicesRequest, _options?:
|
|
349
|
+
netSuiteSyncInvoicesWithHttpInfo(netSuiteSyncInvoicesRequest: NetSuiteSyncInvoicesRequest, _options?: PromiseConfigurationOptions): Promise<HttpInfo<NetSuiteSyncInvoicesResponse>>;
|
|
336
350
|
/**
|
|
337
351
|
* This endpoint is used to sync invoices to NetSuite.
|
|
338
352
|
* Sync invoices to NetSuite
|
|
339
353
|
* @param netSuiteSyncInvoicesRequest
|
|
340
354
|
*/
|
|
341
|
-
netSuiteSyncInvoices(netSuiteSyncInvoicesRequest: NetSuiteSyncInvoicesRequest, _options?:
|
|
355
|
+
netSuiteSyncInvoices(netSuiteSyncInvoicesRequest: NetSuiteSyncInvoicesRequest, _options?: PromiseConfigurationOptions): Promise<NetSuiteSyncInvoicesResponse>;
|
|
342
356
|
}
|
|
343
357
|
import { InvoicesApiRequestFactory, InvoicesApiResponseProcessor } from "../apis/InvoicesApi";
|
|
344
358
|
export declare class PromiseInvoicesApi {
|
|
@@ -349,27 +363,27 @@ export declare class PromiseInvoicesApi {
|
|
|
349
363
|
* Get Invoice
|
|
350
364
|
* @param invoiceId
|
|
351
365
|
*/
|
|
352
|
-
getInvoiceWithHttpInfo(invoiceId: string, _options?:
|
|
366
|
+
getInvoiceWithHttpInfo(invoiceId: string, _options?: PromiseConfigurationOptions): Promise<HttpInfo<GetInvoiceResponse>>;
|
|
353
367
|
/**
|
|
354
368
|
* Get a Invoice by id.
|
|
355
369
|
* Get Invoice
|
|
356
370
|
* @param invoiceId
|
|
357
371
|
*/
|
|
358
|
-
getInvoice(invoiceId: string, _options?:
|
|
372
|
+
getInvoice(invoiceId: string, _options?: PromiseConfigurationOptions): Promise<GetInvoiceResponse>;
|
|
359
373
|
/**
|
|
360
374
|
* Get a list of Invoices.
|
|
361
375
|
* List Invoices
|
|
362
|
-
* @param limit
|
|
363
|
-
* @param cursor
|
|
376
|
+
* @param [limit]
|
|
377
|
+
* @param [cursor]
|
|
364
378
|
*/
|
|
365
|
-
listInvoicesWithHttpInfo(limit?: number, cursor?: string, _options?:
|
|
379
|
+
listInvoicesWithHttpInfo(limit?: number, cursor?: string, _options?: PromiseConfigurationOptions): Promise<HttpInfo<ListInvoicesResponse>>;
|
|
366
380
|
/**
|
|
367
381
|
* Get a list of Invoices.
|
|
368
382
|
* List Invoices
|
|
369
|
-
* @param limit
|
|
370
|
-
* @param cursor
|
|
383
|
+
* @param [limit]
|
|
384
|
+
* @param [cursor]
|
|
371
385
|
*/
|
|
372
|
-
listInvoices(limit?: number, cursor?: string, _options?:
|
|
386
|
+
listInvoices(limit?: number, cursor?: string, _options?: PromiseConfigurationOptions): Promise<ListInvoicesResponse>;
|
|
373
387
|
}
|
|
374
388
|
import { MetersApiRequestFactory, MetersApiResponseProcessor } from "../apis/MetersApi";
|
|
375
389
|
export declare class PromiseMetersApi {
|
|
@@ -380,53 +394,53 @@ export declare class PromiseMetersApi {
|
|
|
380
394
|
* Delete Meter
|
|
381
395
|
* @param meterId
|
|
382
396
|
*/
|
|
383
|
-
deleteMeterWithHttpInfo(meterId: string, _options?:
|
|
397
|
+
deleteMeterWithHttpInfo(meterId: string, _options?: PromiseConfigurationOptions): Promise<HttpInfo<DeleteMeterResponse>>;
|
|
384
398
|
/**
|
|
385
399
|
* Delete a Meter by id.
|
|
386
400
|
* Delete Meter
|
|
387
401
|
* @param meterId
|
|
388
402
|
*/
|
|
389
|
-
deleteMeter(meterId: string, _options?:
|
|
403
|
+
deleteMeter(meterId: string, _options?: PromiseConfigurationOptions): Promise<DeleteMeterResponse>;
|
|
390
404
|
/**
|
|
391
405
|
* Get a Meter by id.
|
|
392
406
|
* Get Meter
|
|
393
407
|
* @param meterId
|
|
394
408
|
*/
|
|
395
|
-
getMeterWithHttpInfo(meterId: string, _options?:
|
|
409
|
+
getMeterWithHttpInfo(meterId: string, _options?: PromiseConfigurationOptions): Promise<HttpInfo<GetMeterResponse>>;
|
|
396
410
|
/**
|
|
397
411
|
* Get a Meter by id.
|
|
398
412
|
* Get Meter
|
|
399
413
|
* @param meterId
|
|
400
414
|
*/
|
|
401
|
-
getMeter(meterId: string, _options?:
|
|
415
|
+
getMeter(meterId: string, _options?: PromiseConfigurationOptions): Promise<GetMeterResponse>;
|
|
402
416
|
/**
|
|
403
417
|
* Get a list of Meters.
|
|
404
418
|
* List Meters
|
|
405
|
-
* @param limit
|
|
406
|
-
* @param cursor
|
|
419
|
+
* @param [limit]
|
|
420
|
+
* @param [cursor]
|
|
407
421
|
*/
|
|
408
|
-
listMetersWithHttpInfo(limit?: number, cursor?: string, _options?:
|
|
422
|
+
listMetersWithHttpInfo(limit?: number, cursor?: string, _options?: PromiseConfigurationOptions): Promise<HttpInfo<ListMetersResponse>>;
|
|
409
423
|
/**
|
|
410
424
|
* Get a list of Meters.
|
|
411
425
|
* List Meters
|
|
412
|
-
* @param limit
|
|
413
|
-
* @param cursor
|
|
426
|
+
* @param [limit]
|
|
427
|
+
* @param [cursor]
|
|
414
428
|
*/
|
|
415
|
-
listMeters(limit?: number, cursor?: string, _options?:
|
|
429
|
+
listMeters(limit?: number, cursor?: string, _options?: PromiseConfigurationOptions): Promise<ListMetersResponse>;
|
|
416
430
|
/**
|
|
417
431
|
* Update a Meter by id.
|
|
418
432
|
* Update Meter
|
|
419
433
|
* @param updateMeterRequest
|
|
420
434
|
* @param meterId
|
|
421
435
|
*/
|
|
422
|
-
updateMeterWithHttpInfo(updateMeterRequest: UpdateMeterRequest, meterId: string, _options?:
|
|
436
|
+
updateMeterWithHttpInfo(updateMeterRequest: UpdateMeterRequest, meterId: string, _options?: PromiseConfigurationOptions): Promise<HttpInfo<UpdateMeterResponse>>;
|
|
423
437
|
/**
|
|
424
438
|
* Update a Meter by id.
|
|
425
439
|
* Update Meter
|
|
426
440
|
* @param updateMeterRequest
|
|
427
441
|
* @param meterId
|
|
428
442
|
*/
|
|
429
|
-
updateMeter(updateMeterRequest: UpdateMeterRequest, meterId: string, _options?:
|
|
443
|
+
updateMeter(updateMeterRequest: UpdateMeterRequest, meterId: string, _options?: PromiseConfigurationOptions): Promise<UpdateMeterResponse>;
|
|
430
444
|
}
|
|
431
445
|
import { PlansApiRequestFactory, PlansApiResponseProcessor } from "../apis/PlansApi";
|
|
432
446
|
export declare class PromisePlansApi {
|
|
@@ -437,39 +451,56 @@ export declare class PromisePlansApi {
|
|
|
437
451
|
* Delete Plan
|
|
438
452
|
* @param planId
|
|
439
453
|
*/
|
|
440
|
-
deletePlanWithHttpInfo(planId: string, _options?:
|
|
454
|
+
deletePlanWithHttpInfo(planId: string, _options?: PromiseConfigurationOptions): Promise<HttpInfo<DeletePlanResponse>>;
|
|
441
455
|
/**
|
|
442
456
|
* Delete a Plan by id.
|
|
443
457
|
* Delete Plan
|
|
444
458
|
* @param planId
|
|
445
459
|
*/
|
|
446
|
-
deletePlan(planId: string, _options?:
|
|
460
|
+
deletePlan(planId: string, _options?: PromiseConfigurationOptions): Promise<DeletePlanResponse>;
|
|
447
461
|
/**
|
|
448
462
|
* Get a Plan by id.
|
|
449
463
|
* Get Plan
|
|
450
464
|
* @param planId
|
|
451
465
|
*/
|
|
452
|
-
getPlanWithHttpInfo(planId: string, _options?:
|
|
466
|
+
getPlanWithHttpInfo(planId: string, _options?: PromiseConfigurationOptions): Promise<HttpInfo<GetPlanResponse>>;
|
|
453
467
|
/**
|
|
454
468
|
* Get a Plan by id.
|
|
455
469
|
* Get Plan
|
|
456
470
|
* @param planId
|
|
457
471
|
*/
|
|
458
|
-
getPlan(planId: string, _options?:
|
|
472
|
+
getPlan(planId: string, _options?: PromiseConfigurationOptions): Promise<GetPlanResponse>;
|
|
459
473
|
/**
|
|
460
474
|
* Get a list of Plans.
|
|
461
475
|
* List Plans
|
|
462
|
-
* @param limit
|
|
463
|
-
* @param cursor
|
|
476
|
+
* @param [limit]
|
|
477
|
+
* @param [cursor]
|
|
464
478
|
*/
|
|
465
|
-
listPlansWithHttpInfo(limit?: number, cursor?: string, _options?:
|
|
479
|
+
listPlansWithHttpInfo(limit?: number, cursor?: string, _options?: PromiseConfigurationOptions): Promise<HttpInfo<ListPlansResponse>>;
|
|
466
480
|
/**
|
|
467
481
|
* Get a list of Plans.
|
|
468
482
|
* List Plans
|
|
469
|
-
* @param limit
|
|
470
|
-
* @param cursor
|
|
483
|
+
* @param [limit]
|
|
484
|
+
* @param [cursor]
|
|
485
|
+
*/
|
|
486
|
+
listPlans(limit?: number, cursor?: string, _options?: PromiseConfigurationOptions): Promise<ListPlansResponse>;
|
|
487
|
+
}
|
|
488
|
+
import { ProductConsumptionsApiRequestFactory, ProductConsumptionsApiResponseProcessor } from "../apis/ProductConsumptionsApi";
|
|
489
|
+
export declare class PromiseProductConsumptionsApi {
|
|
490
|
+
private api;
|
|
491
|
+
constructor(configuration: Configuration, requestFactory?: ProductConsumptionsApiRequestFactory, responseProcessor?: ProductConsumptionsApiResponseProcessor);
|
|
492
|
+
/**
|
|
493
|
+
* Use this action to get the consumption data for a product
|
|
494
|
+
* Get product consumption
|
|
495
|
+
* @param productId
|
|
496
|
+
*/
|
|
497
|
+
getProductConsumptionWithHttpInfo(productId: string, _options?: PromiseConfigurationOptions): Promise<HttpInfo<GetProductConsumptionResponse>>;
|
|
498
|
+
/**
|
|
499
|
+
* Use this action to get the consumption data for a product
|
|
500
|
+
* Get product consumption
|
|
501
|
+
* @param productId
|
|
471
502
|
*/
|
|
472
|
-
|
|
503
|
+
getProductConsumption(productId: string, _options?: PromiseConfigurationOptions): Promise<GetProductConsumptionResponse>;
|
|
473
504
|
}
|
|
474
505
|
import { ReportsApiRequestFactory, ReportsApiResponseProcessor } from "../apis/ReportsApi";
|
|
475
506
|
export declare class PromiseReportsApi {
|
|
@@ -477,30 +508,30 @@ export declare class PromiseReportsApi {
|
|
|
477
508
|
constructor(configuration: Configuration, requestFactory?: ReportsApiRequestFactory, responseProcessor?: ReportsApiResponseProcessor);
|
|
478
509
|
/**
|
|
479
510
|
* Get commitment report
|
|
480
|
-
* @param reportId
|
|
511
|
+
* @param [reportId]
|
|
481
512
|
*/
|
|
482
|
-
getCommitmentReportResponseWithHttpInfo(reportId?: string, _options?:
|
|
513
|
+
getCommitmentReportResponseWithHttpInfo(reportId?: string, _options?: PromiseConfigurationOptions): Promise<HttpInfo<GetCommitmentReportResponse>>;
|
|
483
514
|
/**
|
|
484
515
|
* Get commitment report
|
|
485
|
-
* @param reportId
|
|
516
|
+
* @param [reportId]
|
|
486
517
|
*/
|
|
487
|
-
getCommitmentReportResponse(reportId?: string, _options?:
|
|
518
|
+
getCommitmentReportResponse(reportId?: string, _options?: PromiseConfigurationOptions): Promise<GetCommitmentReportResponse>;
|
|
488
519
|
/**
|
|
489
520
|
* Use this endpoint to get the products usage report.
|
|
490
521
|
* Get products usage report
|
|
491
|
-
* @param reportId
|
|
492
|
-
* @param limit
|
|
493
|
-
* @param cursor
|
|
522
|
+
* @param [reportId]
|
|
523
|
+
* @param [limit]
|
|
524
|
+
* @param [cursor]
|
|
494
525
|
*/
|
|
495
|
-
getProductsUsageReportWithHttpInfo(reportId?: string, limit?: number, cursor?: string, _options?:
|
|
526
|
+
getProductsUsageReportWithHttpInfo(reportId?: string, limit?: number, cursor?: string, _options?: PromiseConfigurationOptions): Promise<HttpInfo<GetProductsUsageReportResponse>>;
|
|
496
527
|
/**
|
|
497
528
|
* Use this endpoint to get the products usage report.
|
|
498
529
|
* Get products usage report
|
|
499
|
-
* @param reportId
|
|
500
|
-
* @param limit
|
|
501
|
-
* @param cursor
|
|
530
|
+
* @param [reportId]
|
|
531
|
+
* @param [limit]
|
|
532
|
+
* @param [cursor]
|
|
502
533
|
*/
|
|
503
|
-
getProductsUsageReport(reportId?: string, limit?: number, cursor?: string, _options?:
|
|
534
|
+
getProductsUsageReport(reportId?: string, limit?: number, cursor?: string, _options?: PromiseConfigurationOptions): Promise<GetProductsUsageReportResponse>;
|
|
504
535
|
}
|
|
505
536
|
import { WebhooksApiRequestFactory, WebhooksApiResponseProcessor } from "../apis/WebhooksApi";
|
|
506
537
|
export declare class PromiseWebhooksApi {
|
|
@@ -511,11 +542,11 @@ export declare class PromiseWebhooksApi {
|
|
|
511
542
|
* Subscribe to webhooks
|
|
512
543
|
* @param webhookSubscribeRequest Subscribe to webhooks and receive event notifications.
|
|
513
544
|
*/
|
|
514
|
-
webhookSubscribeWithHttpInfo(webhookSubscribeRequest: WebhookSubscribeRequest, _options?:
|
|
545
|
+
webhookSubscribeWithHttpInfo(webhookSubscribeRequest: WebhookSubscribeRequest, _options?: PromiseConfigurationOptions): Promise<HttpInfo<void>>;
|
|
515
546
|
/**
|
|
516
547
|
* Use this endpoint to subscribe to webhooks and receive event notifications.
|
|
517
548
|
* Subscribe to webhooks
|
|
518
549
|
* @param webhookSubscribeRequest Subscribe to webhooks and receive event notifications.
|
|
519
550
|
*/
|
|
520
|
-
webhookSubscribe(webhookSubscribeRequest: WebhookSubscribeRequest, _options?:
|
|
551
|
+
webhookSubscribe(webhookSubscribeRequest: WebhookSubscribeRequest, _options?: PromiseConfigurationOptions): Promise<void>;
|
|
521
552
|
}
|