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, ConfigurationOptions } from '../configuration';
|
|
3
3
|
import { Observable } from '../rxjsStub';
|
|
4
4
|
import { CreateContractRequest } from '../models/CreateContractRequest';
|
|
5
5
|
import { CreateContractResponse } from '../models/CreateContractResponse';
|
|
@@ -15,11 +15,13 @@ import { EventsDryRunRequest } from '../models/EventsDryRunRequest';
|
|
|
15
15
|
import { EventsDryRunResponse } from '../models/EventsDryRunResponse';
|
|
16
16
|
import { GetCommitmentReportResponse } from '../models/GetCommitmentReportResponse';
|
|
17
17
|
import { GetContractResponse } from '../models/GetContractResponse';
|
|
18
|
+
import { GetCustomerProductsConsumptionsResponse } from '../models/GetCustomerProductsConsumptionsResponse';
|
|
18
19
|
import { GetCustomerResponse } from '../models/GetCustomerResponse';
|
|
19
20
|
import { GetEventResponse } from '../models/GetEventResponse';
|
|
20
21
|
import { GetInvoiceResponse } from '../models/GetInvoiceResponse';
|
|
21
22
|
import { GetMeterResponse } from '../models/GetMeterResponse';
|
|
22
23
|
import { GetPlanResponse } from '../models/GetPlanResponse';
|
|
24
|
+
import { GetProductConsumptionResponse } from '../models/GetProductConsumptionResponse';
|
|
23
25
|
import { GetProductsUsageReportResponse } from '../models/GetProductsUsageReportResponse';
|
|
24
26
|
import { GrantCreditsRequest } from '../models/GrantCreditsRequest';
|
|
25
27
|
import { ListContractsResponse } from '../models/ListContractsResponse';
|
|
@@ -52,13 +54,13 @@ export declare class ObservableAuthApi {
|
|
|
52
54
|
* Login by obtaining a new access token
|
|
53
55
|
* @param loginRequest
|
|
54
56
|
*/
|
|
55
|
-
loginWithHttpInfo(loginRequest: LoginRequest, _options?:
|
|
57
|
+
loginWithHttpInfo(loginRequest: LoginRequest, _options?: ConfigurationOptions): Observable<HttpInfo<LoginResponse>>;
|
|
56
58
|
/**
|
|
57
59
|
* 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.
|
|
58
60
|
* Login by obtaining a new access token
|
|
59
61
|
* @param loginRequest
|
|
60
62
|
*/
|
|
61
|
-
login(loginRequest: LoginRequest, _options?:
|
|
63
|
+
login(loginRequest: LoginRequest, _options?: ConfigurationOptions): Observable<LoginResponse>;
|
|
62
64
|
}
|
|
63
65
|
import { ContractsApiRequestFactory, ContractsApiResponseProcessor } from "../apis/ContractsApi";
|
|
64
66
|
export declare class ObservableContractsApi {
|
|
@@ -71,51 +73,51 @@ export declare class ObservableContractsApi {
|
|
|
71
73
|
* Create Contract
|
|
72
74
|
* @param createContractRequest
|
|
73
75
|
*/
|
|
74
|
-
createContractWithHttpInfo(createContractRequest: CreateContractRequest, _options?:
|
|
76
|
+
createContractWithHttpInfo(createContractRequest: CreateContractRequest, _options?: ConfigurationOptions): Observable<HttpInfo<CreateContractResponse>>;
|
|
75
77
|
/**
|
|
76
78
|
* Create a new Contract.
|
|
77
79
|
* Create Contract
|
|
78
80
|
* @param createContractRequest
|
|
79
81
|
*/
|
|
80
|
-
createContract(createContractRequest: CreateContractRequest, _options?:
|
|
82
|
+
createContract(createContractRequest: CreateContractRequest, _options?: ConfigurationOptions): Observable<CreateContractResponse>;
|
|
81
83
|
/**
|
|
82
84
|
* Delete a Contract by id.
|
|
83
85
|
* Delete Contract
|
|
84
86
|
* @param contractId
|
|
85
87
|
*/
|
|
86
|
-
deleteContractWithHttpInfo(contractId: string, _options?:
|
|
88
|
+
deleteContractWithHttpInfo(contractId: string, _options?: ConfigurationOptions): Observable<HttpInfo<DeleteContractResponse>>;
|
|
87
89
|
/**
|
|
88
90
|
* Delete a Contract by id.
|
|
89
91
|
* Delete Contract
|
|
90
92
|
* @param contractId
|
|
91
93
|
*/
|
|
92
|
-
deleteContract(contractId: string, _options?:
|
|
94
|
+
deleteContract(contractId: string, _options?: ConfigurationOptions): Observable<DeleteContractResponse>;
|
|
93
95
|
/**
|
|
94
96
|
* Get a Contract by id.
|
|
95
97
|
* Get Contract
|
|
96
98
|
* @param contractId
|
|
97
99
|
*/
|
|
98
|
-
getContractWithHttpInfo(contractId: string, _options?:
|
|
100
|
+
getContractWithHttpInfo(contractId: string, _options?: ConfigurationOptions): Observable<HttpInfo<GetContractResponse>>;
|
|
99
101
|
/**
|
|
100
102
|
* Get a Contract by id.
|
|
101
103
|
* Get Contract
|
|
102
104
|
* @param contractId
|
|
103
105
|
*/
|
|
104
|
-
getContract(contractId: string, _options?:
|
|
106
|
+
getContract(contractId: string, _options?: ConfigurationOptions): Observable<GetContractResponse>;
|
|
105
107
|
/**
|
|
106
108
|
* Get a list of Contracts.
|
|
107
109
|
* List Contracts
|
|
108
|
-
* @param limit
|
|
109
|
-
* @param cursor
|
|
110
|
+
* @param [limit]
|
|
111
|
+
* @param [cursor]
|
|
110
112
|
*/
|
|
111
|
-
listContractsWithHttpInfo(limit?: number, cursor?: string, _options?:
|
|
113
|
+
listContractsWithHttpInfo(limit?: number, cursor?: string, _options?: ConfigurationOptions): Observable<HttpInfo<ListContractsResponse>>;
|
|
112
114
|
/**
|
|
113
115
|
* Get a list of Contracts.
|
|
114
116
|
* List Contracts
|
|
115
|
-
* @param limit
|
|
116
|
-
* @param cursor
|
|
117
|
+
* @param [limit]
|
|
118
|
+
* @param [cursor]
|
|
117
119
|
*/
|
|
118
|
-
listContracts(limit?: number, cursor?: string, _options?:
|
|
120
|
+
listContracts(limit?: number, cursor?: string, _options?: ConfigurationOptions): Observable<ListContractsResponse>;
|
|
119
121
|
}
|
|
120
122
|
import { CreditsApiRequestFactory, CreditsApiResponseProcessor } from "../apis/CreditsApi";
|
|
121
123
|
export declare class ObservableCreditsApi {
|
|
@@ -128,41 +130,41 @@ export declare class ObservableCreditsApi {
|
|
|
128
130
|
* Deduct credits from customer credit ledger
|
|
129
131
|
* @param deductCreditsRequest
|
|
130
132
|
*/
|
|
131
|
-
deductCreditsWithHttpInfo(deductCreditsRequest: DeductCreditsRequest, _options?:
|
|
133
|
+
deductCreditsWithHttpInfo(deductCreditsRequest: DeductCreditsRequest, _options?: ConfigurationOptions): Observable<HttpInfo<void>>;
|
|
132
134
|
/**
|
|
133
135
|
* 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.
|
|
134
136
|
* Deduct credits from customer credit ledger
|
|
135
137
|
* @param deductCreditsRequest
|
|
136
138
|
*/
|
|
137
|
-
deductCredits(deductCreditsRequest: DeductCreditsRequest, _options?:
|
|
139
|
+
deductCredits(deductCreditsRequest: DeductCreditsRequest, _options?: ConfigurationOptions): Observable<void>;
|
|
138
140
|
/**
|
|
139
141
|
* 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.
|
|
140
142
|
* Grant credits to a customer credit ledger
|
|
141
143
|
* @param grantCreditsRequest
|
|
142
144
|
*/
|
|
143
|
-
grantCreditsWithHttpInfo(grantCreditsRequest: GrantCreditsRequest, _options?:
|
|
145
|
+
grantCreditsWithHttpInfo(grantCreditsRequest: GrantCreditsRequest, _options?: ConfigurationOptions): Observable<HttpInfo<void>>;
|
|
144
146
|
/**
|
|
145
147
|
* 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.
|
|
146
148
|
* Grant credits to a customer credit ledger
|
|
147
149
|
* @param grantCreditsRequest
|
|
148
150
|
*/
|
|
149
|
-
grantCredits(grantCreditsRequest: GrantCreditsRequest, _options?:
|
|
151
|
+
grantCredits(grantCreditsRequest: GrantCreditsRequest, _options?: ConfigurationOptions): Observable<void>;
|
|
150
152
|
/**
|
|
151
153
|
* This endpoint is used to retrieve the credit ledger entries for a specific customer.
|
|
152
154
|
* Retrieve credit ledger entries for customer.
|
|
153
155
|
* @param customerId
|
|
154
|
-
* @param limit
|
|
155
|
-
* @param cursor
|
|
156
|
+
* @param [limit]
|
|
157
|
+
* @param [cursor]
|
|
156
158
|
*/
|
|
157
|
-
listCreditLedgerEntriesWithHttpInfo(customerId: string, limit?: number, cursor?: string, _options?:
|
|
159
|
+
listCreditLedgerEntriesWithHttpInfo(customerId: string, limit?: number, cursor?: string, _options?: ConfigurationOptions): Observable<HttpInfo<ListCreditLedgerEntriesResponse>>;
|
|
158
160
|
/**
|
|
159
161
|
* This endpoint is used to retrieve the credit ledger entries for a specific customer.
|
|
160
162
|
* Retrieve credit ledger entries for customer.
|
|
161
163
|
* @param customerId
|
|
162
|
-
* @param limit
|
|
163
|
-
* @param cursor
|
|
164
|
+
* @param [limit]
|
|
165
|
+
* @param [cursor]
|
|
164
166
|
*/
|
|
165
|
-
listCreditLedgerEntries(customerId: string, limit?: number, cursor?: string, _options?:
|
|
167
|
+
listCreditLedgerEntries(customerId: string, limit?: number, cursor?: string, _options?: ConfigurationOptions): Observable<ListCreditLedgerEntriesResponse>;
|
|
166
168
|
}
|
|
167
169
|
import { CustomersApiRequestFactory, CustomersApiResponseProcessor } from "../apis/CustomersApi";
|
|
168
170
|
export declare class ObservableCustomersApi {
|
|
@@ -175,77 +177,89 @@ export declare class ObservableCustomersApi {
|
|
|
175
177
|
* Create Customer
|
|
176
178
|
* @param createCustomerRequest
|
|
177
179
|
*/
|
|
178
|
-
createCustomerWithHttpInfo(createCustomerRequest: CreateCustomerRequest, _options?:
|
|
180
|
+
createCustomerWithHttpInfo(createCustomerRequest: CreateCustomerRequest, _options?: ConfigurationOptions): Observable<HttpInfo<CreateCustomerResponse>>;
|
|
179
181
|
/**
|
|
180
182
|
* Create a new Customer.
|
|
181
183
|
* Create Customer
|
|
182
184
|
* @param createCustomerRequest
|
|
183
185
|
*/
|
|
184
|
-
createCustomer(createCustomerRequest: CreateCustomerRequest, _options?:
|
|
186
|
+
createCustomer(createCustomerRequest: CreateCustomerRequest, _options?: ConfigurationOptions): Observable<CreateCustomerResponse>;
|
|
185
187
|
/**
|
|
186
188
|
* Delete a Customer by id.
|
|
187
189
|
* Delete Customer
|
|
188
190
|
* @param customerId
|
|
189
191
|
*/
|
|
190
|
-
deleteCustomerWithHttpInfo(customerId: string, _options?:
|
|
192
|
+
deleteCustomerWithHttpInfo(customerId: string, _options?: ConfigurationOptions): Observable<HttpInfo<DeleteCustomerResponse>>;
|
|
191
193
|
/**
|
|
192
194
|
* Delete a Customer by id.
|
|
193
195
|
* Delete Customer
|
|
194
196
|
* @param customerId
|
|
195
197
|
*/
|
|
196
|
-
deleteCustomer(customerId: string, _options?:
|
|
198
|
+
deleteCustomer(customerId: string, _options?: ConfigurationOptions): Observable<DeleteCustomerResponse>;
|
|
197
199
|
/**
|
|
198
200
|
* Get a Customer by id.
|
|
199
201
|
* Get Customer
|
|
200
202
|
* @param customerId
|
|
201
203
|
*/
|
|
202
|
-
getCustomerWithHttpInfo(customerId: string, _options?:
|
|
204
|
+
getCustomerWithHttpInfo(customerId: string, _options?: ConfigurationOptions): Observable<HttpInfo<GetCustomerResponse>>;
|
|
203
205
|
/**
|
|
204
206
|
* Get a Customer by id.
|
|
205
207
|
* Get Customer
|
|
206
208
|
* @param customerId
|
|
207
209
|
*/
|
|
208
|
-
getCustomer(customerId: string, _options?:
|
|
210
|
+
getCustomer(customerId: string, _options?: ConfigurationOptions): Observable<GetCustomerResponse>;
|
|
209
211
|
/**
|
|
210
212
|
* Use this endpoint to get a specific customer using its external Id.
|
|
211
213
|
* Get customer by externalId
|
|
212
214
|
* @param externalId
|
|
213
215
|
*/
|
|
214
|
-
getCustomerByExternalIdWithHttpInfo(externalId: string, _options?:
|
|
216
|
+
getCustomerByExternalIdWithHttpInfo(externalId: string, _options?: ConfigurationOptions): Observable<HttpInfo<GetCustomerResponse>>;
|
|
215
217
|
/**
|
|
216
218
|
* Use this endpoint to get a specific customer using its external Id.
|
|
217
219
|
* Get customer by externalId
|
|
218
220
|
* @param externalId
|
|
219
221
|
*/
|
|
220
|
-
getCustomerByExternalId(externalId: string, _options?:
|
|
222
|
+
getCustomerByExternalId(externalId: string, _options?: ConfigurationOptions): Observable<GetCustomerResponse>;
|
|
223
|
+
/**
|
|
224
|
+
* Use this endpoint to get the products consumptions by the customer id.
|
|
225
|
+
* Get products consumptions by customer id
|
|
226
|
+
* @param customerId
|
|
227
|
+
*/
|
|
228
|
+
getCustomerProductsConsumptionsWithHttpInfo(customerId: string, _options?: ConfigurationOptions): Observable<HttpInfo<GetCustomerProductsConsumptionsResponse>>;
|
|
229
|
+
/**
|
|
230
|
+
* Use this endpoint to get the products consumptions by the customer id.
|
|
231
|
+
* Get products consumptions by customer id
|
|
232
|
+
* @param customerId
|
|
233
|
+
*/
|
|
234
|
+
getCustomerProductsConsumptions(customerId: string, _options?: ConfigurationOptions): Observable<GetCustomerProductsConsumptionsResponse>;
|
|
221
235
|
/**
|
|
222
236
|
* Get a list of Customers.
|
|
223
237
|
* List Customers
|
|
224
|
-
* @param limit
|
|
225
|
-
* @param cursor
|
|
238
|
+
* @param [limit]
|
|
239
|
+
* @param [cursor]
|
|
226
240
|
*/
|
|
227
|
-
listCustomersWithHttpInfo(limit?: number, cursor?: string, _options?:
|
|
241
|
+
listCustomersWithHttpInfo(limit?: number, cursor?: string, _options?: ConfigurationOptions): Observable<HttpInfo<ListCustomersResponse>>;
|
|
228
242
|
/**
|
|
229
243
|
* Get a list of Customers.
|
|
230
244
|
* List Customers
|
|
231
|
-
* @param limit
|
|
232
|
-
* @param cursor
|
|
245
|
+
* @param [limit]
|
|
246
|
+
* @param [cursor]
|
|
233
247
|
*/
|
|
234
|
-
listCustomers(limit?: number, cursor?: string, _options?:
|
|
248
|
+
listCustomers(limit?: number, cursor?: string, _options?: ConfigurationOptions): Observable<ListCustomersResponse>;
|
|
235
249
|
/**
|
|
236
250
|
* Update a Customer by id.
|
|
237
251
|
* Update Customer
|
|
238
252
|
* @param updateCustomerRequest
|
|
239
253
|
* @param customerId
|
|
240
254
|
*/
|
|
241
|
-
updateCustomerWithHttpInfo(updateCustomerRequest: UpdateCustomerRequest, customerId: string, _options?:
|
|
255
|
+
updateCustomerWithHttpInfo(updateCustomerRequest: UpdateCustomerRequest, customerId: string, _options?: ConfigurationOptions): Observable<HttpInfo<UpdateCustomerResponse>>;
|
|
242
256
|
/**
|
|
243
257
|
* Update a Customer by id.
|
|
244
258
|
* Update Customer
|
|
245
259
|
* @param updateCustomerRequest
|
|
246
260
|
* @param customerId
|
|
247
261
|
*/
|
|
248
|
-
updateCustomer(updateCustomerRequest: UpdateCustomerRequest, customerId: string, _options?:
|
|
262
|
+
updateCustomer(updateCustomerRequest: UpdateCustomerRequest, customerId: string, _options?: ConfigurationOptions): Observable<UpdateCustomerResponse>;
|
|
249
263
|
}
|
|
250
264
|
import { EventsApiRequestFactory, EventsApiResponseProcessor } from "../apis/EventsApi";
|
|
251
265
|
export declare class ObservableEventsApi {
|
|
@@ -258,69 +272,69 @@ export declare class ObservableEventsApi {
|
|
|
258
272
|
* Delete an event by refId
|
|
259
273
|
* @param refId
|
|
260
274
|
*/
|
|
261
|
-
deleteEventByRefIdWithHttpInfo(refId: string, _options?:
|
|
275
|
+
deleteEventByRefIdWithHttpInfo(refId: string, _options?: ConfigurationOptions): Observable<HttpInfo<DeleteEventResponse>>;
|
|
262
276
|
/**
|
|
263
277
|
* Use this endpoint to remove a specific event using its reference ID.
|
|
264
278
|
* Delete an event by refId
|
|
265
279
|
* @param refId
|
|
266
280
|
*/
|
|
267
|
-
deleteEventByRefId(refId: string, _options?:
|
|
281
|
+
deleteEventByRefId(refId: string, _options?: ConfigurationOptions): Observable<DeleteEventResponse>;
|
|
268
282
|
/**
|
|
269
283
|
* Use this endpoint to get a specific event using its reference ID.
|
|
270
284
|
* Get event by refId
|
|
271
285
|
* @param refId
|
|
272
286
|
*/
|
|
273
|
-
getEventByRefIdWithHttpInfo(refId: string, _options?:
|
|
287
|
+
getEventByRefIdWithHttpInfo(refId: string, _options?: ConfigurationOptions): Observable<HttpInfo<GetEventResponse>>;
|
|
274
288
|
/**
|
|
275
289
|
* Use this endpoint to get a specific event using its reference ID.
|
|
276
290
|
* Get event by refId
|
|
277
291
|
* @param refId
|
|
278
292
|
*/
|
|
279
|
-
getEventByRefId(refId: string, _options?:
|
|
293
|
+
getEventByRefId(refId: string, _options?: ConfigurationOptions): Observable<GetEventResponse>;
|
|
280
294
|
/**
|
|
281
295
|
* Fetch events occurring within a specified timestamp range. An optional event name can be provided to further filter the events.
|
|
282
296
|
* Query events by timestamp period and optional event name
|
|
283
297
|
* @param startTime
|
|
284
298
|
* @param endTime
|
|
285
|
-
* @param eventName
|
|
286
|
-
* @param limit
|
|
287
|
-
* @param cursor
|
|
299
|
+
* @param [eventName]
|
|
300
|
+
* @param [limit]
|
|
301
|
+
* @param [cursor]
|
|
288
302
|
*/
|
|
289
|
-
queryEventsWithHttpInfo(startTime: Date, endTime: Date, eventName?: string, limit?: number, cursor?: string, _options?:
|
|
303
|
+
queryEventsWithHttpInfo(startTime: Date, endTime: Date, eventName?: string, limit?: number, cursor?: string, _options?: ConfigurationOptions): Observable<HttpInfo<QueryEventsResponse>>;
|
|
290
304
|
/**
|
|
291
305
|
* Fetch events occurring within a specified timestamp range. An optional event name can be provided to further filter the events.
|
|
292
306
|
* Query events by timestamp period and optional event name
|
|
293
307
|
* @param startTime
|
|
294
308
|
* @param endTime
|
|
295
|
-
* @param eventName
|
|
296
|
-
* @param limit
|
|
297
|
-
* @param cursor
|
|
309
|
+
* @param [eventName]
|
|
310
|
+
* @param [limit]
|
|
311
|
+
* @param [cursor]
|
|
298
312
|
*/
|
|
299
|
-
queryEvents(startTime: Date, endTime: Date, eventName?: string, limit?: number, cursor?: string, _options?:
|
|
313
|
+
queryEvents(startTime: Date, endTime: Date, eventName?: string, limit?: number, cursor?: string, _options?: ConfigurationOptions): Observable<QueryEventsResponse>;
|
|
300
314
|
/**
|
|
301
315
|
* Use this endpoint to send an array of events for processing and storage. Make sure to comply with the request schema for each event.
|
|
302
316
|
* Submit a batch of events for ingestion
|
|
303
317
|
* @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
|
|
304
318
|
*/
|
|
305
|
-
sendEventsWithHttpInfo(sendEventsRequest: SendEventsRequest, _options?:
|
|
319
|
+
sendEventsWithHttpInfo(sendEventsRequest: SendEventsRequest, _options?: ConfigurationOptions): Observable<HttpInfo<SendEventsResponse>>;
|
|
306
320
|
/**
|
|
307
321
|
* Use this endpoint to send an array of events for processing and storage. Make sure to comply with the request schema for each event.
|
|
308
322
|
* Submit a batch of events for ingestion
|
|
309
323
|
* @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
|
|
310
324
|
*/
|
|
311
|
-
sendEvents(sendEventsRequest: SendEventsRequest, _options?:
|
|
325
|
+
sendEvents(sendEventsRequest: SendEventsRequest, _options?: ConfigurationOptions): Observable<SendEventsResponse>;
|
|
312
326
|
/**
|
|
313
327
|
* 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.
|
|
314
328
|
* Submit a batch of events for testing
|
|
315
329
|
* @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
|
|
316
330
|
*/
|
|
317
|
-
sendEventsDryRunWithHttpInfo(eventsDryRunRequest: EventsDryRunRequest, _options?:
|
|
331
|
+
sendEventsDryRunWithHttpInfo(eventsDryRunRequest: EventsDryRunRequest, _options?: ConfigurationOptions): Observable<HttpInfo<EventsDryRunResponse>>;
|
|
318
332
|
/**
|
|
319
333
|
* 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.
|
|
320
334
|
* Submit a batch of events for testing
|
|
321
335
|
* @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
|
|
322
336
|
*/
|
|
323
|
-
sendEventsDryRun(eventsDryRunRequest: EventsDryRunRequest, _options?:
|
|
337
|
+
sendEventsDryRun(eventsDryRunRequest: EventsDryRunRequest, _options?: ConfigurationOptions): Observable<EventsDryRunResponse>;
|
|
324
338
|
}
|
|
325
339
|
import { IntegrationsApiRequestFactory, IntegrationsApiResponseProcessor } from "../apis/IntegrationsApi";
|
|
326
340
|
export declare class ObservableIntegrationsApi {
|
|
@@ -333,25 +347,25 @@ export declare class ObservableIntegrationsApi {
|
|
|
333
347
|
* Export sales order to NetSuite
|
|
334
348
|
* @param netSuiteExportSalesOrderRequest
|
|
335
349
|
*/
|
|
336
|
-
exportNetSuiteSalesOrderWithHttpInfo(netSuiteExportSalesOrderRequest: NetSuiteExportSalesOrderRequest, _options?:
|
|
350
|
+
exportNetSuiteSalesOrderWithHttpInfo(netSuiteExportSalesOrderRequest: NetSuiteExportSalesOrderRequest, _options?: ConfigurationOptions): Observable<HttpInfo<void>>;
|
|
337
351
|
/**
|
|
338
352
|
* This endpoint is used to export sales order to NetSuite.
|
|
339
353
|
* Export sales order to NetSuite
|
|
340
354
|
* @param netSuiteExportSalesOrderRequest
|
|
341
355
|
*/
|
|
342
|
-
exportNetSuiteSalesOrder(netSuiteExportSalesOrderRequest: NetSuiteExportSalesOrderRequest, _options?:
|
|
356
|
+
exportNetSuiteSalesOrder(netSuiteExportSalesOrderRequest: NetSuiteExportSalesOrderRequest, _options?: ConfigurationOptions): Observable<void>;
|
|
343
357
|
/**
|
|
344
358
|
* This endpoint is used to sync invoices to NetSuite.
|
|
345
359
|
* Sync invoices to NetSuite
|
|
346
360
|
* @param netSuiteSyncInvoicesRequest
|
|
347
361
|
*/
|
|
348
|
-
netSuiteSyncInvoicesWithHttpInfo(netSuiteSyncInvoicesRequest: NetSuiteSyncInvoicesRequest, _options?:
|
|
362
|
+
netSuiteSyncInvoicesWithHttpInfo(netSuiteSyncInvoicesRequest: NetSuiteSyncInvoicesRequest, _options?: ConfigurationOptions): Observable<HttpInfo<NetSuiteSyncInvoicesResponse>>;
|
|
349
363
|
/**
|
|
350
364
|
* This endpoint is used to sync invoices to NetSuite.
|
|
351
365
|
* Sync invoices to NetSuite
|
|
352
366
|
* @param netSuiteSyncInvoicesRequest
|
|
353
367
|
*/
|
|
354
|
-
netSuiteSyncInvoices(netSuiteSyncInvoicesRequest: NetSuiteSyncInvoicesRequest, _options?:
|
|
368
|
+
netSuiteSyncInvoices(netSuiteSyncInvoicesRequest: NetSuiteSyncInvoicesRequest, _options?: ConfigurationOptions): Observable<NetSuiteSyncInvoicesResponse>;
|
|
355
369
|
}
|
|
356
370
|
import { InvoicesApiRequestFactory, InvoicesApiResponseProcessor } from "../apis/InvoicesApi";
|
|
357
371
|
export declare class ObservableInvoicesApi {
|
|
@@ -364,27 +378,27 @@ export declare class ObservableInvoicesApi {
|
|
|
364
378
|
* Get Invoice
|
|
365
379
|
* @param invoiceId
|
|
366
380
|
*/
|
|
367
|
-
getInvoiceWithHttpInfo(invoiceId: string, _options?:
|
|
381
|
+
getInvoiceWithHttpInfo(invoiceId: string, _options?: ConfigurationOptions): Observable<HttpInfo<GetInvoiceResponse>>;
|
|
368
382
|
/**
|
|
369
383
|
* Get a Invoice by id.
|
|
370
384
|
* Get Invoice
|
|
371
385
|
* @param invoiceId
|
|
372
386
|
*/
|
|
373
|
-
getInvoice(invoiceId: string, _options?:
|
|
387
|
+
getInvoice(invoiceId: string, _options?: ConfigurationOptions): Observable<GetInvoiceResponse>;
|
|
374
388
|
/**
|
|
375
389
|
* Get a list of Invoices.
|
|
376
390
|
* List Invoices
|
|
377
|
-
* @param limit
|
|
378
|
-
* @param cursor
|
|
391
|
+
* @param [limit]
|
|
392
|
+
* @param [cursor]
|
|
379
393
|
*/
|
|
380
|
-
listInvoicesWithHttpInfo(limit?: number, cursor?: string, _options?:
|
|
394
|
+
listInvoicesWithHttpInfo(limit?: number, cursor?: string, _options?: ConfigurationOptions): Observable<HttpInfo<ListInvoicesResponse>>;
|
|
381
395
|
/**
|
|
382
396
|
* Get a list of Invoices.
|
|
383
397
|
* List Invoices
|
|
384
|
-
* @param limit
|
|
385
|
-
* @param cursor
|
|
398
|
+
* @param [limit]
|
|
399
|
+
* @param [cursor]
|
|
386
400
|
*/
|
|
387
|
-
listInvoices(limit?: number, cursor?: string, _options?:
|
|
401
|
+
listInvoices(limit?: number, cursor?: string, _options?: ConfigurationOptions): Observable<ListInvoicesResponse>;
|
|
388
402
|
}
|
|
389
403
|
import { MetersApiRequestFactory, MetersApiResponseProcessor } from "../apis/MetersApi";
|
|
390
404
|
export declare class ObservableMetersApi {
|
|
@@ -397,53 +411,53 @@ export declare class ObservableMetersApi {
|
|
|
397
411
|
* Delete Meter
|
|
398
412
|
* @param meterId
|
|
399
413
|
*/
|
|
400
|
-
deleteMeterWithHttpInfo(meterId: string, _options?:
|
|
414
|
+
deleteMeterWithHttpInfo(meterId: string, _options?: ConfigurationOptions): Observable<HttpInfo<DeleteMeterResponse>>;
|
|
401
415
|
/**
|
|
402
416
|
* Delete a Meter by id.
|
|
403
417
|
* Delete Meter
|
|
404
418
|
* @param meterId
|
|
405
419
|
*/
|
|
406
|
-
deleteMeter(meterId: string, _options?:
|
|
420
|
+
deleteMeter(meterId: string, _options?: ConfigurationOptions): Observable<DeleteMeterResponse>;
|
|
407
421
|
/**
|
|
408
422
|
* Get a Meter by id.
|
|
409
423
|
* Get Meter
|
|
410
424
|
* @param meterId
|
|
411
425
|
*/
|
|
412
|
-
getMeterWithHttpInfo(meterId: string, _options?:
|
|
426
|
+
getMeterWithHttpInfo(meterId: string, _options?: ConfigurationOptions): Observable<HttpInfo<GetMeterResponse>>;
|
|
413
427
|
/**
|
|
414
428
|
* Get a Meter by id.
|
|
415
429
|
* Get Meter
|
|
416
430
|
* @param meterId
|
|
417
431
|
*/
|
|
418
|
-
getMeter(meterId: string, _options?:
|
|
432
|
+
getMeter(meterId: string, _options?: ConfigurationOptions): Observable<GetMeterResponse>;
|
|
419
433
|
/**
|
|
420
434
|
* Get a list of Meters.
|
|
421
435
|
* List Meters
|
|
422
|
-
* @param limit
|
|
423
|
-
* @param cursor
|
|
436
|
+
* @param [limit]
|
|
437
|
+
* @param [cursor]
|
|
424
438
|
*/
|
|
425
|
-
listMetersWithHttpInfo(limit?: number, cursor?: string, _options?:
|
|
439
|
+
listMetersWithHttpInfo(limit?: number, cursor?: string, _options?: ConfigurationOptions): Observable<HttpInfo<ListMetersResponse>>;
|
|
426
440
|
/**
|
|
427
441
|
* Get a list of Meters.
|
|
428
442
|
* List Meters
|
|
429
|
-
* @param limit
|
|
430
|
-
* @param cursor
|
|
443
|
+
* @param [limit]
|
|
444
|
+
* @param [cursor]
|
|
431
445
|
*/
|
|
432
|
-
listMeters(limit?: number, cursor?: string, _options?:
|
|
446
|
+
listMeters(limit?: number, cursor?: string, _options?: ConfigurationOptions): Observable<ListMetersResponse>;
|
|
433
447
|
/**
|
|
434
448
|
* Update a Meter by id.
|
|
435
449
|
* Update Meter
|
|
436
450
|
* @param updateMeterRequest
|
|
437
451
|
* @param meterId
|
|
438
452
|
*/
|
|
439
|
-
updateMeterWithHttpInfo(updateMeterRequest: UpdateMeterRequest, meterId: string, _options?:
|
|
453
|
+
updateMeterWithHttpInfo(updateMeterRequest: UpdateMeterRequest, meterId: string, _options?: ConfigurationOptions): Observable<HttpInfo<UpdateMeterResponse>>;
|
|
440
454
|
/**
|
|
441
455
|
* Update a Meter by id.
|
|
442
456
|
* Update Meter
|
|
443
457
|
* @param updateMeterRequest
|
|
444
458
|
* @param meterId
|
|
445
459
|
*/
|
|
446
|
-
updateMeter(updateMeterRequest: UpdateMeterRequest, meterId: string, _options?:
|
|
460
|
+
updateMeter(updateMeterRequest: UpdateMeterRequest, meterId: string, _options?: ConfigurationOptions): Observable<UpdateMeterResponse>;
|
|
447
461
|
}
|
|
448
462
|
import { PlansApiRequestFactory, PlansApiResponseProcessor } from "../apis/PlansApi";
|
|
449
463
|
export declare class ObservablePlansApi {
|
|
@@ -456,39 +470,58 @@ export declare class ObservablePlansApi {
|
|
|
456
470
|
* Delete Plan
|
|
457
471
|
* @param planId
|
|
458
472
|
*/
|
|
459
|
-
deletePlanWithHttpInfo(planId: string, _options?:
|
|
473
|
+
deletePlanWithHttpInfo(planId: string, _options?: ConfigurationOptions): Observable<HttpInfo<DeletePlanResponse>>;
|
|
460
474
|
/**
|
|
461
475
|
* Delete a Plan by id.
|
|
462
476
|
* Delete Plan
|
|
463
477
|
* @param planId
|
|
464
478
|
*/
|
|
465
|
-
deletePlan(planId: string, _options?:
|
|
479
|
+
deletePlan(planId: string, _options?: ConfigurationOptions): Observable<DeletePlanResponse>;
|
|
466
480
|
/**
|
|
467
481
|
* Get a Plan by id.
|
|
468
482
|
* Get Plan
|
|
469
483
|
* @param planId
|
|
470
484
|
*/
|
|
471
|
-
getPlanWithHttpInfo(planId: string, _options?:
|
|
485
|
+
getPlanWithHttpInfo(planId: string, _options?: ConfigurationOptions): Observable<HttpInfo<GetPlanResponse>>;
|
|
472
486
|
/**
|
|
473
487
|
* Get a Plan by id.
|
|
474
488
|
* Get Plan
|
|
475
489
|
* @param planId
|
|
476
490
|
*/
|
|
477
|
-
getPlan(planId: string, _options?:
|
|
491
|
+
getPlan(planId: string, _options?: ConfigurationOptions): Observable<GetPlanResponse>;
|
|
478
492
|
/**
|
|
479
493
|
* Get a list of Plans.
|
|
480
494
|
* List Plans
|
|
481
|
-
* @param limit
|
|
482
|
-
* @param cursor
|
|
495
|
+
* @param [limit]
|
|
496
|
+
* @param [cursor]
|
|
483
497
|
*/
|
|
484
|
-
listPlansWithHttpInfo(limit?: number, cursor?: string, _options?:
|
|
498
|
+
listPlansWithHttpInfo(limit?: number, cursor?: string, _options?: ConfigurationOptions): Observable<HttpInfo<ListPlansResponse>>;
|
|
485
499
|
/**
|
|
486
500
|
* Get a list of Plans.
|
|
487
501
|
* List Plans
|
|
488
|
-
* @param limit
|
|
489
|
-
* @param cursor
|
|
502
|
+
* @param [limit]
|
|
503
|
+
* @param [cursor]
|
|
504
|
+
*/
|
|
505
|
+
listPlans(limit?: number, cursor?: string, _options?: ConfigurationOptions): Observable<ListPlansResponse>;
|
|
506
|
+
}
|
|
507
|
+
import { ProductConsumptionsApiRequestFactory, ProductConsumptionsApiResponseProcessor } from "../apis/ProductConsumptionsApi";
|
|
508
|
+
export declare class ObservableProductConsumptionsApi {
|
|
509
|
+
private requestFactory;
|
|
510
|
+
private responseProcessor;
|
|
511
|
+
private configuration;
|
|
512
|
+
constructor(configuration: Configuration, requestFactory?: ProductConsumptionsApiRequestFactory, responseProcessor?: ProductConsumptionsApiResponseProcessor);
|
|
513
|
+
/**
|
|
514
|
+
* Use this action to get the consumption data for a product
|
|
515
|
+
* Get product consumption
|
|
516
|
+
* @param productId
|
|
517
|
+
*/
|
|
518
|
+
getProductConsumptionWithHttpInfo(productId: string, _options?: ConfigurationOptions): Observable<HttpInfo<GetProductConsumptionResponse>>;
|
|
519
|
+
/**
|
|
520
|
+
* Use this action to get the consumption data for a product
|
|
521
|
+
* Get product consumption
|
|
522
|
+
* @param productId
|
|
490
523
|
*/
|
|
491
|
-
|
|
524
|
+
getProductConsumption(productId: string, _options?: ConfigurationOptions): Observable<GetProductConsumptionResponse>;
|
|
492
525
|
}
|
|
493
526
|
import { ReportsApiRequestFactory, ReportsApiResponseProcessor } from "../apis/ReportsApi";
|
|
494
527
|
export declare class ObservableReportsApi {
|
|
@@ -498,30 +531,30 @@ export declare class ObservableReportsApi {
|
|
|
498
531
|
constructor(configuration: Configuration, requestFactory?: ReportsApiRequestFactory, responseProcessor?: ReportsApiResponseProcessor);
|
|
499
532
|
/**
|
|
500
533
|
* Get commitment report
|
|
501
|
-
* @param reportId
|
|
534
|
+
* @param [reportId]
|
|
502
535
|
*/
|
|
503
|
-
getCommitmentReportResponseWithHttpInfo(reportId?: string, _options?:
|
|
536
|
+
getCommitmentReportResponseWithHttpInfo(reportId?: string, _options?: ConfigurationOptions): Observable<HttpInfo<GetCommitmentReportResponse>>;
|
|
504
537
|
/**
|
|
505
538
|
* Get commitment report
|
|
506
|
-
* @param reportId
|
|
539
|
+
* @param [reportId]
|
|
507
540
|
*/
|
|
508
|
-
getCommitmentReportResponse(reportId?: string, _options?:
|
|
541
|
+
getCommitmentReportResponse(reportId?: string, _options?: ConfigurationOptions): Observable<GetCommitmentReportResponse>;
|
|
509
542
|
/**
|
|
510
543
|
* Use this endpoint to get the products usage report.
|
|
511
544
|
* Get products usage report
|
|
512
|
-
* @param reportId
|
|
513
|
-
* @param limit
|
|
514
|
-
* @param cursor
|
|
545
|
+
* @param [reportId]
|
|
546
|
+
* @param [limit]
|
|
547
|
+
* @param [cursor]
|
|
515
548
|
*/
|
|
516
|
-
getProductsUsageReportWithHttpInfo(reportId?: string, limit?: number, cursor?: string, _options?:
|
|
549
|
+
getProductsUsageReportWithHttpInfo(reportId?: string, limit?: number, cursor?: string, _options?: ConfigurationOptions): Observable<HttpInfo<GetProductsUsageReportResponse>>;
|
|
517
550
|
/**
|
|
518
551
|
* Use this endpoint to get the products usage report.
|
|
519
552
|
* Get products usage report
|
|
520
|
-
* @param reportId
|
|
521
|
-
* @param limit
|
|
522
|
-
* @param cursor
|
|
553
|
+
* @param [reportId]
|
|
554
|
+
* @param [limit]
|
|
555
|
+
* @param [cursor]
|
|
523
556
|
*/
|
|
524
|
-
getProductsUsageReport(reportId?: string, limit?: number, cursor?: string, _options?:
|
|
557
|
+
getProductsUsageReport(reportId?: string, limit?: number, cursor?: string, _options?: ConfigurationOptions): Observable<GetProductsUsageReportResponse>;
|
|
525
558
|
}
|
|
526
559
|
import { WebhooksApiRequestFactory, WebhooksApiResponseProcessor } from "../apis/WebhooksApi";
|
|
527
560
|
export declare class ObservableWebhooksApi {
|
|
@@ -534,11 +567,11 @@ export declare class ObservableWebhooksApi {
|
|
|
534
567
|
* Subscribe to webhooks
|
|
535
568
|
* @param webhookSubscribeRequest Subscribe to webhooks and receive event notifications.
|
|
536
569
|
*/
|
|
537
|
-
webhookSubscribeWithHttpInfo(webhookSubscribeRequest: WebhookSubscribeRequest, _options?:
|
|
570
|
+
webhookSubscribeWithHttpInfo(webhookSubscribeRequest: WebhookSubscribeRequest, _options?: ConfigurationOptions): Observable<HttpInfo<void>>;
|
|
538
571
|
/**
|
|
539
572
|
* Use this endpoint to subscribe to webhooks and receive event notifications.
|
|
540
573
|
* Subscribe to webhooks
|
|
541
574
|
* @param webhookSubscribeRequest Subscribe to webhooks and receive event notifications.
|
|
542
575
|
*/
|
|
543
|
-
webhookSubscribe(webhookSubscribeRequest: WebhookSubscribeRequest, _options?:
|
|
576
|
+
webhookSubscribe(webhookSubscribeRequest: WebhookSubscribeRequest, _options?: ConfigurationOptions): Observable<void>;
|
|
544
577
|
}
|