vayu-ts 0.2.15 → 0.3.7
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/example/index.d.ts +1 -0
- package/dist/example/index.js +74 -0
- package/dist/openapi/apis/AuthApi.js +8 -4
- package/dist/openapi/apis/CatalogProductsApi.d.ts +89 -0
- package/dist/openapi/apis/CatalogProductsApi.js +377 -0
- package/dist/openapi/apis/CloudUsageSubmissionApi.d.ts +25 -0
- package/dist/openapi/apis/CloudUsageSubmissionApi.js +89 -0
- package/dist/openapi/apis/ContractsApi.d.ts +21 -3
- package/dist/openapi/apis/ContractsApi.js +119 -21
- package/dist/openapi/apis/CreditsApi.js +24 -12
- package/dist/openapi/apis/CustomFieldsApi.d.ts +89 -0
- package/dist/openapi/apis/CustomFieldsApi.js +377 -0
- package/dist/openapi/apis/CustomersApi.d.ts +63 -0
- package/dist/openapi/apis/CustomersApi.js +360 -38
- package/dist/openapi/apis/EventsApi.d.ts +132 -1
- package/dist/openapi/apis/EventsApi.js +660 -25
- package/dist/openapi/apis/InvoicesApi.d.ts +19 -3
- package/dist/openapi/apis/InvoicesApi.js +91 -12
- package/dist/openapi/apis/MeasurementsApi.js +36 -18
- package/dist/openapi/apis/MetersApi.js +38 -19
- package/dist/openapi/apis/PlansApi.d.ts +56 -0
- package/dist/openapi/apis/PlansApi.js +225 -0
- package/dist/openapi/apis/ProductConsumptionsApi.js +10 -5
- package/dist/openapi/apis/WebhooksApi.js +10 -5
- package/dist/openapi/http/http.d.ts +6 -18
- package/dist/openapi/http/http.js +25 -13
- package/dist/openapi/http/isomorphic-fetch.d.ts +1 -0
- package/dist/openapi/http/isomorphic-fetch.js +4 -7
- package/dist/openapi/index.d.ts +1 -1
- package/dist/openapi/index.js +5 -1
- package/dist/openapi/models/Address.d.ts +5 -5
- package/dist/openapi/models/BillingInterval.d.ts +18 -0
- package/dist/openapi/models/BillingInterval.js +22 -0
- package/dist/openapi/models/CloudUsageResult.d.ts +83 -0
- package/dist/openapi/models/CloudUsageResult.js +103 -0
- package/dist/openapi/models/ConflictErrorResponse.d.ts +42 -0
- package/dist/openapi/models/ConflictErrorResponse.js +52 -0
- package/dist/openapi/models/Contact.d.ts +3 -1
- package/dist/openapi/models/Contact.js +13 -1
- package/dist/openapi/models/ContractStatus.d.ts +23 -0
- package/dist/openapi/models/ContractStatus.js +27 -0
- package/dist/openapi/models/CreateCatalogProductRequest.d.ts +42 -0
- package/dist/openapi/models/CreateCatalogProductRequest.js +44 -0
- package/dist/openapi/models/CreateCatalogProductResponse.d.ts +32 -0
- package/dist/openapi/models/CreateCatalogProductResponse.js +32 -0
- package/dist/openapi/models/CreateCatalogProductResponseCatalogProduct.d.ts +45 -0
- package/dist/openapi/models/CreateCatalogProductResponseCatalogProduct.js +62 -0
- package/dist/openapi/models/CreateContractRequest.d.ts +53 -5
- package/dist/openapi/models/CreateContractRequest.js +76 -4
- package/dist/openapi/models/CreateCustomFieldRequest.d.ts +71 -0
- package/dist/openapi/models/CreateCustomFieldRequest.js +90 -0
- package/dist/openapi/models/CreateCustomFieldResponse.d.ts +32 -0
- package/dist/openapi/models/CreateCustomFieldResponse.js +32 -0
- package/dist/openapi/models/CreateCustomFieldResponseCustomField.d.ts +74 -0
- package/dist/openapi/models/CreateCustomFieldResponseCustomField.js +108 -0
- package/dist/openapi/models/CreateCustomerRelationRequest.d.ts +38 -0
- package/dist/openapi/models/CreateCustomerRelationRequest.js +38 -0
- package/dist/openapi/models/CreateCustomerRelationResponse.d.ts +32 -0
- package/dist/openapi/models/CreateCustomerRelationResponse.js +32 -0
- package/dist/openapi/models/CreateCustomerRelationResponseCustomerRelation.d.ts +41 -0
- package/dist/openapi/models/CreateCustomerRelationResponseCustomerRelation.js +56 -0
- package/dist/openapi/models/CreateCustomerRequest.d.ts +70 -2
- package/dist/openapi/models/CreateCustomerRequest.js +112 -6
- package/dist/openapi/models/CreateCustomerResponseCustomer.d.ts +70 -2
- package/dist/openapi/models/CreateCustomerResponseCustomer.js +112 -6
- package/dist/openapi/models/CreditLedgerEntry.d.ts +3 -1
- package/dist/openapi/models/CreditLedgerEntry.js +8 -2
- package/dist/openapi/models/Currency.d.ts +24 -0
- package/dist/openapi/models/Currency.js +28 -0
- package/dist/openapi/models/CustomField.d.ts +65 -0
- package/dist/openapi/models/CustomField.js +78 -0
- package/dist/openapi/models/CustomFieldEntities.d.ts +20 -0
- package/dist/openapi/models/CustomFieldEntities.js +24 -0
- package/dist/openapi/models/CustomFieldValue.d.ts +33 -0
- package/dist/openapi/models/CustomFieldValue.js +44 -0
- package/dist/openapi/models/CustomFieldValueTypes.d.ts +20 -0
- package/dist/openapi/models/CustomFieldValueTypes.js +24 -0
- package/dist/openapi/models/CustomerCloudProviderSettings.d.ts +39 -0
- package/dist/openapi/models/CustomerCloudProviderSettings.js +51 -0
- package/dist/openapi/models/CustomerSource.d.ts +21 -0
- package/dist/openapi/models/CustomerSource.js +25 -0
- package/dist/openapi/models/DeleteCatalogProductResponse.d.ts +32 -0
- package/dist/openapi/models/DeleteCatalogProductResponse.js +32 -0
- package/dist/openapi/models/DeleteCatalogProductResponseCatalogProduct.d.ts +46 -0
- package/dist/openapi/models/DeleteCatalogProductResponseCatalogProduct.js +68 -0
- package/dist/openapi/models/DeleteContractResponseContract.d.ts +53 -5
- package/dist/openapi/models/DeleteContractResponseContract.js +76 -4
- package/dist/openapi/models/DeleteCustomFieldResponse.d.ts +32 -0
- package/dist/openapi/models/DeleteCustomFieldResponse.js +32 -0
- package/dist/openapi/models/DeleteCustomFieldResponseCustomField.d.ts +75 -0
- package/dist/openapi/models/DeleteCustomFieldResponseCustomField.js +114 -0
- package/dist/openapi/models/DeleteCustomerResponseCustomer.d.ts +70 -2
- package/dist/openapi/models/DeleteCustomerResponseCustomer.js +112 -6
- package/dist/openapi/models/DeleteEventsByRefsRequest.d.ts +31 -0
- package/dist/openapi/models/DeleteEventsByRefsRequest.js +32 -0
- package/dist/openapi/models/DeleteEventsByRefsResponse.d.ts +35 -0
- package/dist/openapi/models/DeleteEventsByRefsResponse.js +32 -0
- package/dist/openapi/models/DeleteEventsByRefsResponseEventsInner.d.ts +56 -0
- package/dist/openapi/models/DeleteEventsByRefsResponseEventsInner.js +80 -0
- package/dist/openapi/models/DeletePlanResponse.d.ts +32 -0
- package/dist/openapi/models/DeletePlanResponse.js +32 -0
- package/dist/openapi/models/DeletePlanResponsePlan.d.ts +42 -0
- package/dist/openapi/models/DeletePlanResponsePlan.js +68 -0
- package/dist/openapi/models/EventsDryRunResponseObjectMeterWithValuesInner.d.ts +1 -1
- package/dist/openapi/models/ExternalOverageStrategy.d.ts +20 -0
- package/dist/openapi/models/ExternalOverageStrategy.js +24 -0
- package/dist/openapi/models/GetCatalogProductResponse.d.ts +32 -0
- package/dist/openapi/models/GetCatalogProductResponse.js +32 -0
- package/dist/openapi/models/GetContractByIntegrationIdResponse.d.ts +32 -0
- package/dist/openapi/models/GetContractByIntegrationIdResponse.js +32 -0
- package/dist/openapi/models/GetContractResponseContract.d.ts +53 -5
- package/dist/openapi/models/GetContractResponseContract.js +76 -4
- package/dist/openapi/models/GetCustomFieldResponse.d.ts +32 -0
- package/dist/openapi/models/GetCustomFieldResponse.js +32 -0
- package/dist/openapi/models/GetCustomerByIntegrationIdResponse.d.ts +32 -0
- package/dist/openapi/models/GetCustomerByIntegrationIdResponse.js +32 -0
- package/dist/openapi/models/GetCustomerByNameResponse.d.ts +32 -0
- package/dist/openapi/models/GetCustomerByNameResponse.js +32 -0
- package/dist/openapi/models/GetCustomerByNameResponseCustomer.d.ts +123 -0
- package/dist/openapi/models/GetCustomerByNameResponseCustomer.js +183 -0
- package/dist/openapi/models/GetCustomerRelationResponse.d.ts +32 -0
- package/dist/openapi/models/GetCustomerRelationResponse.js +32 -0
- package/dist/openapi/models/GetInvoiceResponseInvoice.d.ts +14 -0
- package/dist/openapi/models/GetInvoiceResponseInvoice.js +30 -0
- package/dist/openapi/models/GetInvoiceResponseInvoiceRevenueBreakdown.d.ts +39 -0
- package/dist/openapi/models/GetInvoiceResponseInvoiceRevenueBreakdown.js +65 -0
- package/dist/openapi/models/GetPlanResponse.d.ts +32 -0
- package/dist/openapi/models/GetPlanResponse.js +32 -0
- package/dist/openapi/models/GetPlanResponsePlan.d.ts +41 -0
- package/dist/openapi/models/GetPlanResponsePlan.js +62 -0
- package/dist/openapi/models/IntegrationEntity.d.ts +42 -0
- package/dist/openapi/models/IntegrationEntity.js +62 -0
- package/dist/openapi/models/IntegrationEntityTypes.d.ts +23 -0
- package/dist/openapi/models/IntegrationEntityTypes.js +27 -0
- package/dist/openapi/models/IntegrationProviders.d.ts +26 -0
- package/dist/openapi/models/IntegrationProviders.js +30 -0
- package/dist/openapi/models/IntegrationType.d.ts +26 -0
- package/dist/openapi/models/IntegrationType.js +30 -0
- package/dist/openapi/models/InternalServerErrorResponse.d.ts +42 -0
- package/dist/openapi/models/InternalServerErrorResponse.js +52 -0
- package/dist/openapi/models/InvoiceBillingStatus.d.ts +21 -0
- package/dist/openapi/models/InvoiceBillingStatus.js +25 -0
- package/dist/openapi/models/InvoicePaymentStatusResponse.d.ts +39 -0
- package/dist/openapi/models/InvoicePaymentStatusResponse.js +74 -0
- package/dist/openapi/models/ListCatalogProductsResponse.d.ts +35 -0
- package/dist/openapi/models/ListCatalogProductsResponse.js +50 -0
- package/dist/openapi/models/ListCustomFieldsResponse.d.ts +35 -0
- package/dist/openapi/models/ListCustomFieldsResponse.js +50 -0
- package/dist/openapi/models/ListPlansResponse.d.ts +35 -0
- package/dist/openapi/models/ListPlansResponse.js +50 -0
- package/dist/openapi/models/NotFoundErrorResponse.d.ts +42 -0
- package/dist/openapi/models/NotFoundErrorResponse.js +52 -0
- package/dist/openapi/models/NotificationEventType.d.ts +7 -1
- package/dist/openapi/models/NotificationEventType.js +6 -0
- package/dist/openapi/models/ObjectSerializer.d.ts +112 -0
- package/dist/openapi/models/ObjectSerializer.js +367 -0
- package/dist/openapi/models/PartnerSubmissionDetail.d.ts +46 -0
- package/dist/openapi/models/PartnerSubmissionDetail.js +49 -0
- package/dist/openapi/models/PaymentInfo.d.ts +45 -0
- package/dist/openapi/models/PaymentInfo.js +89 -0
- package/dist/openapi/models/PaymentInfoDepositTo.d.ts +32 -0
- package/dist/openapi/models/PaymentInfoDepositTo.js +38 -0
- package/dist/openapi/models/PaymentTerm.d.ts +18 -0
- package/dist/openapi/models/PaymentTerm.js +22 -0
- package/dist/openapi/models/PlanBillingData.d.ts +41 -0
- package/dist/openapi/models/PlanBillingData.js +59 -0
- package/dist/openapi/models/PlanDuration.d.ts +30 -0
- package/dist/openapi/models/PlanDuration.js +25 -0
- package/dist/openapi/models/PlanStatus.d.ts +19 -0
- package/dist/openapi/models/PlanStatus.js +23 -0
- package/dist/openapi/models/ProductCloudProviderSettings.d.ts +39 -0
- package/dist/openapi/models/ProductCloudProviderSettings.js +51 -0
- package/dist/openapi/models/ProductGroup.d.ts +65 -0
- package/dist/openapi/models/ProductGroup.js +80 -0
- package/dist/openapi/models/ProductGroupCommitment.d.ts +53 -0
- package/dist/openapi/models/ProductGroupCommitment.js +64 -0
- package/dist/openapi/models/ProductGroupProductsInner.d.ts +68 -0
- package/dist/openapi/models/ProductGroupProductsInner.js +98 -0
- package/dist/openapi/models/ProductGroupProductsInnerCommitment.d.ts +53 -0
- package/dist/openapi/models/ProductGroupProductsInnerCommitment.js +64 -0
- package/dist/openapi/models/ProductGroupProductsInnerCommitmentScheduling.d.ts +39 -0
- package/dist/openapi/models/ProductGroupProductsInnerCommitmentScheduling.js +41 -0
- package/dist/openapi/models/ProductGroupProductsInnerCommitmentSchedulingDuration.d.ts +41 -0
- package/dist/openapi/models/ProductGroupProductsInnerCommitmentSchedulingDuration.js +48 -0
- package/dist/openapi/models/ProductGroupProductsInnerPricing.d.ts +38 -0
- package/dist/openapi/models/ProductGroupProductsInnerPricing.js +24 -0
- package/dist/openapi/models/ProductGroupProductsInnerPricingOneOf.d.ts +41 -0
- package/dist/openapi/models/ProductGroupProductsInnerPricingOneOf.js +54 -0
- package/dist/openapi/models/ProductGroupProductsInnerPricingOneOf1.d.ts +39 -0
- package/dist/openapi/models/ProductGroupProductsInnerPricingOneOf1.js +54 -0
- package/dist/openapi/models/ProductGroupProductsInnerPricingOneOf1InstallmentsInner.d.ts +32 -0
- package/dist/openapi/models/ProductGroupProductsInnerPricingOneOf1InstallmentsInner.js +38 -0
- package/dist/openapi/models/ProductGroupProductsInnerPricingOneOf2.d.ts +39 -0
- package/dist/openapi/models/ProductGroupProductsInnerPricingOneOf2.js +54 -0
- package/dist/openapi/models/ProductGroupProductsInnerPricingOneOf2SubscriptionCadence.d.ts +38 -0
- package/dist/openapi/models/ProductGroupProductsInnerPricingOneOf2SubscriptionCadence.js +45 -0
- package/dist/openapi/models/ProductGroupProductsInnerPricingOneOf3.d.ts +46 -0
- package/dist/openapi/models/ProductGroupProductsInnerPricingOneOf3.js +78 -0
- package/dist/openapi/models/ProductGroupProductsInnerPricingOneOf3SubscriptionCadence.d.ts +38 -0
- package/dist/openapi/models/ProductGroupProductsInnerPricingOneOf3SubscriptionCadence.js +45 -0
- package/dist/openapi/models/ProductGroupProductsInnerPricingOneOf3TiersInner.d.ts +35 -0
- package/dist/openapi/models/ProductGroupProductsInnerPricingOneOf3TiersInner.js +56 -0
- package/dist/openapi/models/ProductGroupProductsInnerPricingOneOf4.d.ts +41 -0
- package/dist/openapi/models/ProductGroupProductsInnerPricingOneOf4.js +60 -0
- package/dist/openapi/models/ProductGroupProductsInnerPricingOneOf5.d.ts +42 -0
- package/dist/openapi/models/ProductGroupProductsInnerPricingOneOf5.js +48 -0
- package/dist/openapi/models/ProductGroupProductsInnerPricingOneOf6.d.ts +42 -0
- package/dist/openapi/models/ProductGroupProductsInnerPricingOneOf6.js +48 -0
- package/dist/openapi/models/ProductGroupProductsInnerPricingOneOfDiscount.d.ts +53 -0
- package/dist/openapi/models/ProductGroupProductsInnerPricingOneOfDiscount.js +58 -0
- package/dist/openapi/models/ProductGroupProductsInnerScheduling.d.ts +39 -0
- package/dist/openapi/models/ProductGroupProductsInnerScheduling.js +41 -0
- package/dist/openapi/models/ProductGroupProductsInnerSchedulingDuration.d.ts +41 -0
- package/dist/openapi/models/ProductGroupProductsInnerSchedulingDuration.js +48 -0
- package/dist/openapi/models/QueryEventsResponse.d.ts +3 -3
- package/dist/openapi/models/QueryEventsResponse.js +18 -0
- package/dist/openapi/models/RateLimitErrorResponse.d.ts +42 -0
- package/dist/openapi/models/RateLimitErrorResponse.js +52 -0
- package/dist/openapi/models/RequestTooLongErrorResponse.d.ts +42 -0
- package/dist/openapi/models/RequestTooLongErrorResponse.js +52 -0
- package/dist/openapi/models/SubmitCloudUsageRequest.d.ts +39 -0
- package/dist/openapi/models/SubmitCloudUsageRequest.js +38 -0
- package/dist/openapi/models/SyncStatus.d.ts +16 -0
- package/dist/openapi/models/SyncStatus.js +20 -0
- package/dist/openapi/models/UnauthorizedErrorResponse.d.ts +42 -0
- package/dist/openapi/models/UnauthorizedErrorResponse.js +52 -0
- package/dist/openapi/models/UnlimitedDuration.d.ts +14 -0
- package/dist/openapi/models/UnlimitedDuration.js +18 -0
- package/dist/openapi/models/UpdateCatalogProductRequest.d.ts +42 -0
- package/dist/openapi/models/UpdateCatalogProductRequest.js +44 -0
- package/dist/openapi/models/UpdateCatalogProductResponse.d.ts +32 -0
- package/dist/openapi/models/UpdateCatalogProductResponse.js +32 -0
- package/dist/openapi/models/UpdateCustomFieldRequest.d.ts +71 -0
- package/dist/openapi/models/UpdateCustomFieldRequest.js +90 -0
- package/dist/openapi/models/UpdateCustomFieldResponse.d.ts +32 -0
- package/dist/openapi/models/UpdateCustomFieldResponse.js +32 -0
- package/dist/openapi/models/UpdateCustomerRequest.d.ts +70 -2
- package/dist/openapi/models/UpdateCustomerRequest.js +112 -6
- package/dist/openapi/models/UsageWindow.d.ts +41 -0
- package/dist/openapi/models/UsageWindow.js +41 -0
- package/dist/openapi/models/V2DeleteEventResponse.d.ts +32 -0
- package/dist/openapi/models/V2DeleteEventResponse.js +32 -0
- package/dist/openapi/models/V2DeleteEventsByRefsRequest.d.ts +31 -0
- package/dist/openapi/models/V2DeleteEventsByRefsRequest.js +32 -0
- package/dist/openapi/models/V2DeleteEventsByRefsResponse.d.ts +35 -0
- package/dist/openapi/models/V2DeleteEventsByRefsResponse.js +32 -0
- package/dist/openapi/models/V2EventsDryRunRequest.d.ts +32 -0
- package/dist/openapi/models/V2EventsDryRunRequest.js +32 -0
- package/dist/openapi/models/V2EventsDryRunResponse.d.ts +32 -0
- package/dist/openapi/models/V2EventsDryRunResponse.js +32 -0
- package/dist/openapi/models/V2GetEventResponse.d.ts +32 -0
- package/dist/openapi/models/V2GetEventResponse.js +32 -0
- package/dist/openapi/models/V2QueryEventsAggregationRequest.d.ts +45 -0
- package/dist/openapi/models/V2QueryEventsAggregationRequest.js +70 -0
- package/dist/openapi/models/V2QueryEventsAggregationRequestMetersInner.d.ts +39 -0
- package/dist/openapi/models/V2QueryEventsAggregationRequestMetersInner.js +62 -0
- package/dist/openapi/models/V2QueryEventsAggregationRequestMetersInnerAggregation.d.ts +35 -0
- package/dist/openapi/models/V2QueryEventsAggregationRequestMetersInnerAggregation.js +44 -0
- package/dist/openapi/models/V2QueryEventsAggregationRequestMetersInnerAggregationFieldArithmetic.d.ts +38 -0
- package/dist/openapi/models/V2QueryEventsAggregationRequestMetersInnerAggregationFieldArithmetic.js +45 -0
- package/dist/openapi/models/V2QueryEventsAggregationRequestMetersInnerFiltersInner.d.ts +43 -0
- package/dist/openapi/models/V2QueryEventsAggregationRequestMetersInnerFiltersInner.js +54 -0
- package/dist/openapi/models/V2QueryEventsAggregationRequestMetersInnerFiltersInnerValue.d.ts +30 -0
- package/dist/openapi/models/V2QueryEventsAggregationRequestMetersInnerFiltersInnerValue.js +25 -0
- package/dist/openapi/models/V2QueryEventsAggregationRequestMetersInnerSqlFullQuery.d.ts +34 -0
- package/dist/openapi/models/V2QueryEventsAggregationRequestMetersInnerSqlFullQuery.js +38 -0
- package/dist/openapi/models/V2QueryEventsAggregationRequestPeriod.d.ts +32 -0
- package/dist/openapi/models/V2QueryEventsAggregationRequestPeriod.js +38 -0
- package/dist/openapi/models/V2QueryEventsAggregationResponse.d.ts +42 -0
- package/dist/openapi/models/V2QueryEventsAggregationResponse.js +52 -0
- package/dist/openapi/models/V2QueryEventsAggregationResponseDataPointsInner.d.ts +34 -0
- package/dist/openapi/models/V2QueryEventsAggregationResponseDataPointsInner.js +38 -0
- package/dist/openapi/models/V2QueryEventsResponse.d.ts +35 -0
- package/dist/openapi/models/V2QueryEventsResponse.js +50 -0
- package/dist/openapi/models/V2SendEventsRequest.d.ts +32 -0
- package/dist/openapi/models/V2SendEventsRequest.js +32 -0
- package/dist/openapi/models/V2SendEventsResponse.d.ts +40 -0
- package/dist/openapi/models/V2SendEventsResponse.js +38 -0
- package/dist/openapi/models/ValidationErrorResponse.d.ts +51 -0
- package/dist/openapi/models/ValidationErrorResponse.js +60 -0
- package/dist/openapi/models/ValidationErrorResponseParamsInner.d.ts +38 -0
- package/dist/openapi/models/ValidationErrorResponseParamsInner.js +38 -0
- package/dist/openapi/models/WebhookSubscribeRequest.d.ts +1 -0
- package/dist/openapi/models/WebhookSubscribeRequest.js +6 -0
- package/dist/openapi/models/all.d.ts +112 -0
- package/dist/openapi/models/all.js +112 -0
- package/dist/openapi/types/ObservableAPI.d.ts +447 -14
- package/dist/openapi/types/ObservableAPI.js +907 -29
- package/dist/openapi/types/PromiseAPI.d.ts +439 -14
- package/dist/openapi/types/PromiseAPI.js +600 -38
- package/dist/sdk/clients/CatalogProductsClient.d.ts +11 -0
- package/dist/sdk/clients/CatalogProductsClient.js +28 -0
- package/dist/sdk/clients/CloudUsageSubmissionClient.d.ts +6 -0
- package/dist/sdk/clients/CloudUsageSubmissionClient.js +14 -0
- package/dist/sdk/clients/ContractsClient.d.ts +2 -1
- package/dist/sdk/clients/ContractsClient.js +3 -0
- package/dist/sdk/clients/CreditsClient.d.ts +9 -0
- package/dist/sdk/clients/CreditsClient.js +22 -0
- package/dist/sdk/clients/CustomersClient.d.ts +5 -1
- package/dist/sdk/clients/CustomersClient.js +12 -0
- package/dist/sdk/clients/EventsClient.d.ts +2 -1
- package/dist/sdk/clients/EventsClient.js +4 -1
- package/dist/sdk/clients/InvoicesClient.d.ts +1 -0
- package/dist/sdk/clients/InvoicesClient.js +3 -0
- package/dist/sdk/clients/MeasurementsClient.d.ts +10 -0
- package/dist/sdk/clients/MeasurementsClient.js +25 -0
- package/dist/sdk/clients/WebhooksClient.d.ts +2 -0
- package/dist/sdk/clients/WebhooksClient.js +14 -0
- package/dist/sdk/clients/index.d.ts +4 -0
- package/dist/sdk/clients/index.js +4 -0
- package/dist/sdk/index.d.ts +6 -1
- package/dist/sdk/index.js +13 -0
- package/dist/sdk/services/authenticated-http-library.d.ts +11 -0
- package/dist/sdk/services/authenticated-http-library.js +29 -0
- package/dist/sdk/services/authenticator.d.ts +11 -0
- package/dist/sdk/services/authenticator.js +57 -0
- package/dist/sdk/services/configuration.service.d.ts +7 -6
- package/dist/sdk/services/configuration.service.js +12 -44
- package/dist/sdk/types/CatalogProducts.d.ts +1 -0
- package/dist/sdk/types/CatalogProducts.js +2 -0
- package/dist/sdk/types/CloudUsageSubmission.d.ts +1 -0
- package/dist/sdk/types/CloudUsageSubmission.js +2 -0
- package/dist/sdk/types/Contracts.d.ts +1 -1
- package/dist/sdk/types/Credits.d.ts +1 -0
- package/dist/sdk/types/Credits.js +2 -0
- package/dist/sdk/types/Customers.d.ts +1 -1
- package/dist/sdk/types/Events.d.ts +1 -1
- package/dist/sdk/types/Invoices.d.ts +1 -1
- package/dist/sdk/types/Measurements.d.ts +1 -0
- package/dist/sdk/types/Measurements.js +2 -0
- package/dist/sdk/types/index.d.ts +4 -0
- package/dist/sdk/types/index.js +4 -0
- package/dist/sdk-v2/services/configuration.service.js +16 -8
- package/package.json +3 -4
|
@@ -1,45 +1,84 @@
|
|
|
1
1
|
import { HttpInfo } from '../http/http';
|
|
2
2
|
import { Configuration } from '../configuration';
|
|
3
3
|
import { Observable } from '../rxjsStub';
|
|
4
|
+
import { CreateCatalogProductRequest } from '../models/CreateCatalogProductRequest';
|
|
5
|
+
import { CreateCatalogProductResponse } from '../models/CreateCatalogProductResponse';
|
|
4
6
|
import { CreateContractRequest } from '../models/CreateContractRequest';
|
|
5
7
|
import { CreateContractResponse } from '../models/CreateContractResponse';
|
|
8
|
+
import { CreateCustomFieldRequest } from '../models/CreateCustomFieldRequest';
|
|
9
|
+
import { CreateCustomFieldResponse } from '../models/CreateCustomFieldResponse';
|
|
10
|
+
import { CreateCustomerRelationRequest } from '../models/CreateCustomerRelationRequest';
|
|
11
|
+
import { CreateCustomerRelationResponse } from '../models/CreateCustomerRelationResponse';
|
|
6
12
|
import { CreateCustomerRequest } from '../models/CreateCustomerRequest';
|
|
7
13
|
import { CreateCustomerResponse } from '../models/CreateCustomerResponse';
|
|
8
14
|
import { CreateMeasurementRequest } from '../models/CreateMeasurementRequest';
|
|
9
15
|
import { CreateMeasurementResponse } from '../models/CreateMeasurementResponse';
|
|
10
16
|
import { DeductCreditsRequest } from '../models/DeductCreditsRequest';
|
|
17
|
+
import { DeleteCatalogProductResponse } from '../models/DeleteCatalogProductResponse';
|
|
11
18
|
import { DeleteContractResponse } from '../models/DeleteContractResponse';
|
|
19
|
+
import { DeleteCustomFieldResponse } from '../models/DeleteCustomFieldResponse';
|
|
12
20
|
import { DeleteCustomerResponse } from '../models/DeleteCustomerResponse';
|
|
13
21
|
import { DeleteEventResponse } from '../models/DeleteEventResponse';
|
|
22
|
+
import { DeleteEventsByRefsRequest } from '../models/DeleteEventsByRefsRequest';
|
|
23
|
+
import { DeleteEventsByRefsResponse } from '../models/DeleteEventsByRefsResponse';
|
|
14
24
|
import { DeleteMeasurementResponse } from '../models/DeleteMeasurementResponse';
|
|
15
25
|
import { DeleteMeterResponse } from '../models/DeleteMeterResponse';
|
|
26
|
+
import { DeletePlanResponse } from '../models/DeletePlanResponse';
|
|
16
27
|
import { EventsDryRunRequest } from '../models/EventsDryRunRequest';
|
|
17
28
|
import { EventsDryRunResponse } from '../models/EventsDryRunResponse';
|
|
29
|
+
import { GetCatalogProductResponse } from '../models/GetCatalogProductResponse';
|
|
30
|
+
import { GetContractByIntegrationIdResponse } from '../models/GetContractByIntegrationIdResponse';
|
|
18
31
|
import { GetContractResponse } from '../models/GetContractResponse';
|
|
32
|
+
import { GetCustomFieldResponse } from '../models/GetCustomFieldResponse';
|
|
33
|
+
import { GetCustomerByIntegrationIdResponse } from '../models/GetCustomerByIntegrationIdResponse';
|
|
34
|
+
import { GetCustomerByNameResponse } from '../models/GetCustomerByNameResponse';
|
|
19
35
|
import { GetCustomerProductsConsumptionsByAliasResponse } from '../models/GetCustomerProductsConsumptionsByAliasResponse';
|
|
20
36
|
import { GetCustomerProductsConsumptionsResponse } from '../models/GetCustomerProductsConsumptionsResponse';
|
|
37
|
+
import { GetCustomerRelationResponse } from '../models/GetCustomerRelationResponse';
|
|
21
38
|
import { GetCustomerResponse } from '../models/GetCustomerResponse';
|
|
22
39
|
import { GetEventResponse } from '../models/GetEventResponse';
|
|
23
40
|
import { GetInvoiceResponse } from '../models/GetInvoiceResponse';
|
|
24
41
|
import { GetMeasurementResponse } from '../models/GetMeasurementResponse';
|
|
25
42
|
import { GetMeterResponse } from '../models/GetMeterResponse';
|
|
43
|
+
import { GetPlanResponse } from '../models/GetPlanResponse';
|
|
26
44
|
import { GetProductConsumptionResponse } from '../models/GetProductConsumptionResponse';
|
|
27
45
|
import { GrantCreditsRequest } from '../models/GrantCreditsRequest';
|
|
46
|
+
import { IntegrationType } from '../models/IntegrationType';
|
|
47
|
+
import { InvoicePaymentStatusResponse } from '../models/InvoicePaymentStatusResponse';
|
|
48
|
+
import { ListCatalogProductsResponse } from '../models/ListCatalogProductsResponse';
|
|
28
49
|
import { ListContractsResponse } from '../models/ListContractsResponse';
|
|
29
50
|
import { ListCreditLedgerEntriesResponse } from '../models/ListCreditLedgerEntriesResponse';
|
|
51
|
+
import { ListCustomFieldsResponse } from '../models/ListCustomFieldsResponse';
|
|
30
52
|
import { ListCustomersResponse } from '../models/ListCustomersResponse';
|
|
31
53
|
import { ListInvoicesResponse } from '../models/ListInvoicesResponse';
|
|
32
54
|
import { ListMeasurementsResponse } from '../models/ListMeasurementsResponse';
|
|
33
55
|
import { ListMetersResponse } from '../models/ListMetersResponse';
|
|
56
|
+
import { ListPlansResponse } from '../models/ListPlansResponse';
|
|
34
57
|
import { LoginRequest } from '../models/LoginRequest';
|
|
35
58
|
import { LoginResponse } from '../models/LoginResponse';
|
|
36
59
|
import { QueryEventsResponse } from '../models/QueryEventsResponse';
|
|
37
60
|
import { SendEventsRequest } from '../models/SendEventsRequest';
|
|
38
61
|
import { SendEventsResponse } from '../models/SendEventsResponse';
|
|
62
|
+
import { SubmitCloudUsageRequest } from '../models/SubmitCloudUsageRequest';
|
|
63
|
+
import { UpdateCatalogProductRequest } from '../models/UpdateCatalogProductRequest';
|
|
64
|
+
import { UpdateCatalogProductResponse } from '../models/UpdateCatalogProductResponse';
|
|
65
|
+
import { UpdateCustomFieldRequest } from '../models/UpdateCustomFieldRequest';
|
|
66
|
+
import { UpdateCustomFieldResponse } from '../models/UpdateCustomFieldResponse';
|
|
39
67
|
import { UpdateCustomerRequest } from '../models/UpdateCustomerRequest';
|
|
40
68
|
import { UpdateCustomerResponse } from '../models/UpdateCustomerResponse';
|
|
41
69
|
import { UpdateMeterRequest } from '../models/UpdateMeterRequest';
|
|
42
70
|
import { UpdateMeterResponse } from '../models/UpdateMeterResponse';
|
|
71
|
+
import { V2DeleteEventResponse } from '../models/V2DeleteEventResponse';
|
|
72
|
+
import { V2DeleteEventsByRefsRequest } from '../models/V2DeleteEventsByRefsRequest';
|
|
73
|
+
import { V2DeleteEventsByRefsResponse } from '../models/V2DeleteEventsByRefsResponse';
|
|
74
|
+
import { V2EventsDryRunRequest } from '../models/V2EventsDryRunRequest';
|
|
75
|
+
import { V2EventsDryRunResponse } from '../models/V2EventsDryRunResponse';
|
|
76
|
+
import { V2GetEventResponse } from '../models/V2GetEventResponse';
|
|
77
|
+
import { V2QueryEventsAggregationRequest } from '../models/V2QueryEventsAggregationRequest';
|
|
78
|
+
import { V2QueryEventsAggregationResponse } from '../models/V2QueryEventsAggregationResponse';
|
|
79
|
+
import { V2QueryEventsResponse } from '../models/V2QueryEventsResponse';
|
|
80
|
+
import { V2SendEventsRequest } from '../models/V2SendEventsRequest';
|
|
81
|
+
import { V2SendEventsResponse } from '../models/V2SendEventsResponse';
|
|
43
82
|
import { WebhookSubscribeRequest } from '../models/WebhookSubscribeRequest';
|
|
44
83
|
import { AuthApiRequestFactory, AuthApiResponseProcessor } from "../apis/AuthApi";
|
|
45
84
|
export declare class ObservableAuthApi {
|
|
@@ -60,6 +99,96 @@ export declare class ObservableAuthApi {
|
|
|
60
99
|
*/
|
|
61
100
|
login(loginRequest: LoginRequest, _options?: Configuration): Observable<LoginResponse>;
|
|
62
101
|
}
|
|
102
|
+
import { CatalogProductsApiRequestFactory, CatalogProductsApiResponseProcessor } from "../apis/CatalogProductsApi";
|
|
103
|
+
export declare class ObservableCatalogProductsApi {
|
|
104
|
+
private requestFactory;
|
|
105
|
+
private responseProcessor;
|
|
106
|
+
private configuration;
|
|
107
|
+
constructor(configuration: Configuration, requestFactory?: CatalogProductsApiRequestFactory, responseProcessor?: CatalogProductsApiResponseProcessor);
|
|
108
|
+
/**
|
|
109
|
+
* Create a new Catalog product.
|
|
110
|
+
* Create Catalog product
|
|
111
|
+
* @param createCatalogProductRequest
|
|
112
|
+
*/
|
|
113
|
+
createCatalogProductWithHttpInfo(createCatalogProductRequest: CreateCatalogProductRequest, _options?: Configuration): Observable<HttpInfo<CreateCatalogProductResponse>>;
|
|
114
|
+
/**
|
|
115
|
+
* Create a new Catalog product.
|
|
116
|
+
* Create Catalog product
|
|
117
|
+
* @param createCatalogProductRequest
|
|
118
|
+
*/
|
|
119
|
+
createCatalogProduct(createCatalogProductRequest: CreateCatalogProductRequest, _options?: Configuration): Observable<CreateCatalogProductResponse>;
|
|
120
|
+
/**
|
|
121
|
+
* Delete a Catalog product by id.
|
|
122
|
+
* Delete Catalog product
|
|
123
|
+
* @param catalogProductId
|
|
124
|
+
*/
|
|
125
|
+
deleteCatalogProductWithHttpInfo(catalogProductId: string, _options?: Configuration): Observable<HttpInfo<DeleteCatalogProductResponse>>;
|
|
126
|
+
/**
|
|
127
|
+
* Delete a Catalog product by id.
|
|
128
|
+
* Delete Catalog product
|
|
129
|
+
* @param catalogProductId
|
|
130
|
+
*/
|
|
131
|
+
deleteCatalogProduct(catalogProductId: string, _options?: Configuration): Observable<DeleteCatalogProductResponse>;
|
|
132
|
+
/**
|
|
133
|
+
* Get a Catalog product by id.
|
|
134
|
+
* Get Catalog product
|
|
135
|
+
* @param catalogProductId
|
|
136
|
+
*/
|
|
137
|
+
getCatalogProductWithHttpInfo(catalogProductId: string, _options?: Configuration): Observable<HttpInfo<GetCatalogProductResponse>>;
|
|
138
|
+
/**
|
|
139
|
+
* Get a Catalog product by id.
|
|
140
|
+
* Get Catalog product
|
|
141
|
+
* @param catalogProductId
|
|
142
|
+
*/
|
|
143
|
+
getCatalogProduct(catalogProductId: string, _options?: Configuration): Observable<GetCatalogProductResponse>;
|
|
144
|
+
/**
|
|
145
|
+
* Get a list of Catalog products.
|
|
146
|
+
* List Catalog products
|
|
147
|
+
* @param [limit]
|
|
148
|
+
* @param [cursor]
|
|
149
|
+
*/
|
|
150
|
+
listCatalogProductsWithHttpInfo(limit?: number, cursor?: string, _options?: Configuration): Observable<HttpInfo<ListCatalogProductsResponse>>;
|
|
151
|
+
/**
|
|
152
|
+
* Get a list of Catalog products.
|
|
153
|
+
* List Catalog products
|
|
154
|
+
* @param [limit]
|
|
155
|
+
* @param [cursor]
|
|
156
|
+
*/
|
|
157
|
+
listCatalogProducts(limit?: number, cursor?: string, _options?: Configuration): Observable<ListCatalogProductsResponse>;
|
|
158
|
+
/**
|
|
159
|
+
* Update a Catalog product by id.
|
|
160
|
+
* Update Catalog product
|
|
161
|
+
* @param updateCatalogProductRequest
|
|
162
|
+
* @param catalogProductId
|
|
163
|
+
*/
|
|
164
|
+
updateCatalogProductWithHttpInfo(updateCatalogProductRequest: UpdateCatalogProductRequest, catalogProductId: string, _options?: Configuration): Observable<HttpInfo<UpdateCatalogProductResponse>>;
|
|
165
|
+
/**
|
|
166
|
+
* Update a Catalog product by id.
|
|
167
|
+
* Update Catalog product
|
|
168
|
+
* @param updateCatalogProductRequest
|
|
169
|
+
* @param catalogProductId
|
|
170
|
+
*/
|
|
171
|
+
updateCatalogProduct(updateCatalogProductRequest: UpdateCatalogProductRequest, catalogProductId: string, _options?: Configuration): Observable<UpdateCatalogProductResponse>;
|
|
172
|
+
}
|
|
173
|
+
import { CloudUsageSubmissionApiRequestFactory, CloudUsageSubmissionApiResponseProcessor } from "../apis/CloudUsageSubmissionApi";
|
|
174
|
+
export declare class ObservableCloudUsageSubmissionApi {
|
|
175
|
+
private requestFactory;
|
|
176
|
+
private responseProcessor;
|
|
177
|
+
private configuration;
|
|
178
|
+
constructor(configuration: Configuration, requestFactory?: CloudUsageSubmissionApiRequestFactory, responseProcessor?: CloudUsageSubmissionApiResponseProcessor);
|
|
179
|
+
/**
|
|
180
|
+
* Submit cloud usage data
|
|
181
|
+
* Submit cloud usage
|
|
182
|
+
* @param submitCloudUsageRequest
|
|
183
|
+
*/
|
|
184
|
+
submitCloudUsageWithHttpInfo(submitCloudUsageRequest: SubmitCloudUsageRequest, _options?: Configuration): Observable<HttpInfo<any>>;
|
|
185
|
+
/**
|
|
186
|
+
* Submit cloud usage data
|
|
187
|
+
* Submit cloud usage
|
|
188
|
+
* @param submitCloudUsageRequest
|
|
189
|
+
*/
|
|
190
|
+
submitCloudUsage(submitCloudUsageRequest: SubmitCloudUsageRequest, _options?: Configuration): Observable<any>;
|
|
191
|
+
}
|
|
63
192
|
import { ContractsApiRequestFactory, ContractsApiResponseProcessor } from "../apis/ContractsApi";
|
|
64
193
|
export declare class ObservableContractsApi {
|
|
65
194
|
private requestFactory;
|
|
@@ -103,19 +232,35 @@ export declare class ObservableContractsApi {
|
|
|
103
232
|
*/
|
|
104
233
|
getContract(contractId: string, _options?: Configuration): Observable<GetContractResponse>;
|
|
105
234
|
/**
|
|
106
|
-
*
|
|
107
|
-
*
|
|
235
|
+
* Use this endpoint to get a specific contract using its integration provider and identifier.
|
|
236
|
+
* Get contract by integration id
|
|
237
|
+
* @param integrationType
|
|
238
|
+
* @param integrationId
|
|
239
|
+
*/
|
|
240
|
+
getContractByIntegrationIdWithHttpInfo(integrationType: IntegrationType, integrationId: string, _options?: Configuration): Observable<HttpInfo<GetContractByIntegrationIdResponse>>;
|
|
241
|
+
/**
|
|
242
|
+
* Use this endpoint to get a specific contract using its integration provider and identifier.
|
|
243
|
+
* Get contract by integration id
|
|
244
|
+
* @param integrationType
|
|
245
|
+
* @param integrationId
|
|
246
|
+
*/
|
|
247
|
+
getContractByIntegrationId(integrationType: IntegrationType, integrationId: string, _options?: Configuration): Observable<GetContractByIntegrationIdResponse>;
|
|
248
|
+
/**
|
|
249
|
+
* List contracts for the account. Optionally filter by customerId to retrieve contracts for a specific customer.
|
|
250
|
+
* List contracts
|
|
108
251
|
* @param [limit]
|
|
109
252
|
* @param [cursor]
|
|
253
|
+
* @param [customerId]
|
|
110
254
|
*/
|
|
111
|
-
listContractsWithHttpInfo(limit?: number, cursor?: string, _options?: Configuration): Observable<HttpInfo<ListContractsResponse>>;
|
|
255
|
+
listContractsWithHttpInfo(limit?: number, cursor?: string, customerId?: string, _options?: Configuration): Observable<HttpInfo<ListContractsResponse>>;
|
|
112
256
|
/**
|
|
113
|
-
*
|
|
114
|
-
* List
|
|
257
|
+
* List contracts for the account. Optionally filter by customerId to retrieve contracts for a specific customer.
|
|
258
|
+
* List contracts
|
|
115
259
|
* @param [limit]
|
|
116
260
|
* @param [cursor]
|
|
261
|
+
* @param [customerId]
|
|
117
262
|
*/
|
|
118
|
-
listContracts(limit?: number, cursor?: string, _options?: Configuration): Observable<ListContractsResponse>;
|
|
263
|
+
listContracts(limit?: number, cursor?: string, customerId?: string, _options?: Configuration): Observable<ListContractsResponse>;
|
|
119
264
|
}
|
|
120
265
|
import { CreditsApiRequestFactory, CreditsApiResponseProcessor } from "../apis/CreditsApi";
|
|
121
266
|
export declare class ObservableCreditsApi {
|
|
@@ -164,6 +309,77 @@ export declare class ObservableCreditsApi {
|
|
|
164
309
|
*/
|
|
165
310
|
listCreditLedgerEntries(customerId: string, limit?: number, cursor?: string, _options?: Configuration): Observable<ListCreditLedgerEntriesResponse>;
|
|
166
311
|
}
|
|
312
|
+
import { CustomFieldsApiRequestFactory, CustomFieldsApiResponseProcessor } from "../apis/CustomFieldsApi";
|
|
313
|
+
export declare class ObservableCustomFieldsApi {
|
|
314
|
+
private requestFactory;
|
|
315
|
+
private responseProcessor;
|
|
316
|
+
private configuration;
|
|
317
|
+
constructor(configuration: Configuration, requestFactory?: CustomFieldsApiRequestFactory, responseProcessor?: CustomFieldsApiResponseProcessor);
|
|
318
|
+
/**
|
|
319
|
+
* Create a new Custom field.
|
|
320
|
+
* Create Custom field
|
|
321
|
+
* @param createCustomFieldRequest
|
|
322
|
+
*/
|
|
323
|
+
createCustomFieldWithHttpInfo(createCustomFieldRequest: CreateCustomFieldRequest, _options?: Configuration): Observable<HttpInfo<CreateCustomFieldResponse>>;
|
|
324
|
+
/**
|
|
325
|
+
* Create a new Custom field.
|
|
326
|
+
* Create Custom field
|
|
327
|
+
* @param createCustomFieldRequest
|
|
328
|
+
*/
|
|
329
|
+
createCustomField(createCustomFieldRequest: CreateCustomFieldRequest, _options?: Configuration): Observable<CreateCustomFieldResponse>;
|
|
330
|
+
/**
|
|
331
|
+
* Delete a Custom field by id.
|
|
332
|
+
* Delete Custom field
|
|
333
|
+
* @param customFieldId
|
|
334
|
+
*/
|
|
335
|
+
deleteCustomFieldWithHttpInfo(customFieldId: string, _options?: Configuration): Observable<HttpInfo<DeleteCustomFieldResponse>>;
|
|
336
|
+
/**
|
|
337
|
+
* Delete a Custom field by id.
|
|
338
|
+
* Delete Custom field
|
|
339
|
+
* @param customFieldId
|
|
340
|
+
*/
|
|
341
|
+
deleteCustomField(customFieldId: string, _options?: Configuration): Observable<DeleteCustomFieldResponse>;
|
|
342
|
+
/**
|
|
343
|
+
* Get a Custom field by id.
|
|
344
|
+
* Get Custom field
|
|
345
|
+
* @param customFieldId
|
|
346
|
+
*/
|
|
347
|
+
getCustomFieldWithHttpInfo(customFieldId: string, _options?: Configuration): Observable<HttpInfo<GetCustomFieldResponse>>;
|
|
348
|
+
/**
|
|
349
|
+
* Get a Custom field by id.
|
|
350
|
+
* Get Custom field
|
|
351
|
+
* @param customFieldId
|
|
352
|
+
*/
|
|
353
|
+
getCustomField(customFieldId: string, _options?: Configuration): Observable<GetCustomFieldResponse>;
|
|
354
|
+
/**
|
|
355
|
+
* Get a list of Custom fields.
|
|
356
|
+
* List Custom fields
|
|
357
|
+
* @param [limit]
|
|
358
|
+
* @param [cursor]
|
|
359
|
+
*/
|
|
360
|
+
listCustomFieldsWithHttpInfo(limit?: number, cursor?: string, _options?: Configuration): Observable<HttpInfo<ListCustomFieldsResponse>>;
|
|
361
|
+
/**
|
|
362
|
+
* Get a list of Custom fields.
|
|
363
|
+
* List Custom fields
|
|
364
|
+
* @param [limit]
|
|
365
|
+
* @param [cursor]
|
|
366
|
+
*/
|
|
367
|
+
listCustomFields(limit?: number, cursor?: string, _options?: Configuration): Observable<ListCustomFieldsResponse>;
|
|
368
|
+
/**
|
|
369
|
+
* Update a Custom field by id.
|
|
370
|
+
* Update Custom field
|
|
371
|
+
* @param updateCustomFieldRequest
|
|
372
|
+
* @param customFieldId
|
|
373
|
+
*/
|
|
374
|
+
updateCustomFieldWithHttpInfo(updateCustomFieldRequest: UpdateCustomFieldRequest, customFieldId: string, _options?: Configuration): Observable<HttpInfo<UpdateCustomFieldResponse>>;
|
|
375
|
+
/**
|
|
376
|
+
* Update a Custom field by id.
|
|
377
|
+
* Update Custom field
|
|
378
|
+
* @param updateCustomFieldRequest
|
|
379
|
+
* @param customFieldId
|
|
380
|
+
*/
|
|
381
|
+
updateCustomField(updateCustomFieldRequest: UpdateCustomFieldRequest, customFieldId: string, _options?: Configuration): Observable<UpdateCustomFieldResponse>;
|
|
382
|
+
}
|
|
167
383
|
import { CustomersApiRequestFactory, CustomersApiResponseProcessor } from "../apis/CustomersApi";
|
|
168
384
|
export declare class ObservableCustomersApi {
|
|
169
385
|
private requestFactory;
|
|
@@ -182,6 +398,18 @@ export declare class ObservableCustomersApi {
|
|
|
182
398
|
* @param createCustomerRequest
|
|
183
399
|
*/
|
|
184
400
|
createCustomer(createCustomerRequest: CreateCustomerRequest, _options?: Configuration): Observable<CreateCustomerResponse>;
|
|
401
|
+
/**
|
|
402
|
+
* Create a new Customer relation.
|
|
403
|
+
* Create Customer relation
|
|
404
|
+
* @param createCustomerRelationRequest
|
|
405
|
+
*/
|
|
406
|
+
createCustomerRelationWithHttpInfo(createCustomerRelationRequest: CreateCustomerRelationRequest, _options?: Configuration): Observable<HttpInfo<CreateCustomerRelationResponse>>;
|
|
407
|
+
/**
|
|
408
|
+
* Create a new Customer relation.
|
|
409
|
+
* Create Customer relation
|
|
410
|
+
* @param createCustomerRelationRequest
|
|
411
|
+
*/
|
|
412
|
+
createCustomerRelation(createCustomerRelationRequest: CreateCustomerRelationRequest, _options?: Configuration): Observable<CreateCustomerRelationResponse>;
|
|
185
413
|
/**
|
|
186
414
|
* Delete a Customer by id.
|
|
187
415
|
* Delete Customer
|
|
@@ -218,6 +446,32 @@ export declare class ObservableCustomersApi {
|
|
|
218
446
|
* @param externalId
|
|
219
447
|
*/
|
|
220
448
|
getCustomerByExternalId(externalId: string, _options?: Configuration): Observable<GetCustomerResponse>;
|
|
449
|
+
/**
|
|
450
|
+
* Use this endpoint to get a specific customer using its integration provider and identifier.
|
|
451
|
+
* Get customer by integration id
|
|
452
|
+
* @param integrationType
|
|
453
|
+
* @param integrationId
|
|
454
|
+
*/
|
|
455
|
+
getCustomerByIntegrationIdWithHttpInfo(integrationType: IntegrationType, integrationId: string, _options?: Configuration): Observable<HttpInfo<GetCustomerByIntegrationIdResponse>>;
|
|
456
|
+
/**
|
|
457
|
+
* Use this endpoint to get a specific customer using its integration provider and identifier.
|
|
458
|
+
* Get customer by integration id
|
|
459
|
+
* @param integrationType
|
|
460
|
+
* @param integrationId
|
|
461
|
+
*/
|
|
462
|
+
getCustomerByIntegrationId(integrationType: IntegrationType, integrationId: string, _options?: Configuration): Observable<GetCustomerByIntegrationIdResponse>;
|
|
463
|
+
/**
|
|
464
|
+
* Use this endpoint to get a specific customer using its name.
|
|
465
|
+
* Get customer by name
|
|
466
|
+
* @param name
|
|
467
|
+
*/
|
|
468
|
+
getCustomerByNameWithHttpInfo(name: string, _options?: Configuration): Observable<HttpInfo<GetCustomerByNameResponse>>;
|
|
469
|
+
/**
|
|
470
|
+
* Use this endpoint to get a specific customer using its name.
|
|
471
|
+
* Get customer by name
|
|
472
|
+
* @param name
|
|
473
|
+
*/
|
|
474
|
+
getCustomerByName(name: string, _options?: Configuration): Observable<GetCustomerByNameResponse>;
|
|
221
475
|
/**
|
|
222
476
|
* Use this endpoint to get the products consumptions by the customer id.
|
|
223
477
|
* Get products consumptions by customer id
|
|
@@ -242,6 +496,18 @@ export declare class ObservableCustomersApi {
|
|
|
242
496
|
* @param alias
|
|
243
497
|
*/
|
|
244
498
|
getCustomerProductsConsumptionsByAlias(alias: string, _options?: Configuration): Observable<GetCustomerProductsConsumptionsByAliasResponse>;
|
|
499
|
+
/**
|
|
500
|
+
* Get a Customer relation by id.
|
|
501
|
+
* Get Customer relation
|
|
502
|
+
* @param customerRelationId
|
|
503
|
+
*/
|
|
504
|
+
getCustomerRelationWithHttpInfo(customerRelationId: string, _options?: Configuration): Observable<HttpInfo<GetCustomerRelationResponse>>;
|
|
505
|
+
/**
|
|
506
|
+
* Get a Customer relation by id.
|
|
507
|
+
* Get Customer relation
|
|
508
|
+
* @param customerRelationId
|
|
509
|
+
*/
|
|
510
|
+
getCustomerRelation(customerRelationId: string, _options?: Configuration): Observable<GetCustomerRelationResponse>;
|
|
245
511
|
/**
|
|
246
512
|
* Get a list of Customers.
|
|
247
513
|
* List Customers
|
|
@@ -289,6 +555,18 @@ export declare class ObservableEventsApi {
|
|
|
289
555
|
* @param refId
|
|
290
556
|
*/
|
|
291
557
|
deleteEventByRefId(refId: string, _options?: Configuration): Observable<DeleteEventResponse>;
|
|
558
|
+
/**
|
|
559
|
+
* Delete multiple events, identified by ref, in a single request.
|
|
560
|
+
* Delete events by refs
|
|
561
|
+
* @param deleteEventsByRefsRequest A list of event refs to delete. The request deletes the matching events for the authenticated account.
|
|
562
|
+
*/
|
|
563
|
+
deleteEventsByRefsWithHttpInfo(deleteEventsByRefsRequest: DeleteEventsByRefsRequest, _options?: Configuration): Observable<HttpInfo<DeleteEventsByRefsResponse>>;
|
|
564
|
+
/**
|
|
565
|
+
* Delete multiple events, identified by ref, in a single request.
|
|
566
|
+
* Delete events by refs
|
|
567
|
+
* @param deleteEventsByRefsRequest A list of event refs to delete. The request deletes the matching events for the authenticated account.
|
|
568
|
+
*/
|
|
569
|
+
deleteEventsByRefs(deleteEventsByRefsRequest: DeleteEventsByRefsRequest, _options?: Configuration): Observable<DeleteEventsByRefsResponse>;
|
|
292
570
|
/**
|
|
293
571
|
* Use this endpoint to get a specific event using its reference ID.
|
|
294
572
|
* Get event by refId
|
|
@@ -307,20 +585,22 @@ export declare class ObservableEventsApi {
|
|
|
307
585
|
* @param startTime
|
|
308
586
|
* @param endTime
|
|
309
587
|
* @param [eventName]
|
|
588
|
+
* @param [customerAlias]
|
|
310
589
|
* @param [limit]
|
|
311
590
|
* @param [cursor]
|
|
312
591
|
*/
|
|
313
|
-
queryEventsWithHttpInfo(startTime: Date, endTime: Date, eventName?: string, limit?: number, cursor?: string, _options?: Configuration): Observable<HttpInfo<QueryEventsResponse>>;
|
|
592
|
+
queryEventsWithHttpInfo(startTime: Date, endTime: Date, eventName?: string, customerAlias?: string, limit?: number, cursor?: string, _options?: Configuration): Observable<HttpInfo<QueryEventsResponse>>;
|
|
314
593
|
/**
|
|
315
594
|
* Fetch events occurring within a specified timestamp range. An optional event name can be provided to further filter the events.
|
|
316
595
|
* Query events by timestamp period and optional event name
|
|
317
596
|
* @param startTime
|
|
318
597
|
* @param endTime
|
|
319
598
|
* @param [eventName]
|
|
599
|
+
* @param [customerAlias]
|
|
320
600
|
* @param [limit]
|
|
321
601
|
* @param [cursor]
|
|
322
602
|
*/
|
|
323
|
-
queryEvents(startTime: Date, endTime: Date, eventName?: string, limit?: number, cursor?: string, _options?: Configuration): Observable<QueryEventsResponse>;
|
|
603
|
+
queryEvents(startTime: Date, endTime: Date, eventName?: string, customerAlias?: string, limit?: number, cursor?: string, _options?: Configuration): Observable<QueryEventsResponse>;
|
|
324
604
|
/**
|
|
325
605
|
* Use this endpoint to send an array of events for processing and storage. Make sure to comply with the request schema for each event.
|
|
326
606
|
* Submit a batch of events for ingestion
|
|
@@ -345,6 +625,100 @@ export declare class ObservableEventsApi {
|
|
|
345
625
|
* @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
|
|
346
626
|
*/
|
|
347
627
|
sendEventsDryRun(eventsDryRunRequest: EventsDryRunRequest, _options?: Configuration): Observable<EventsDryRunResponse>;
|
|
628
|
+
/**
|
|
629
|
+
* Use this endpoint to remove a specific event using its reference ID (v2).
|
|
630
|
+
* Delete an event by refId (v2)
|
|
631
|
+
* @param refId
|
|
632
|
+
*/
|
|
633
|
+
v2DeleteEventByRefIdWithHttpInfo(refId: string, _options?: Configuration): Observable<HttpInfo<V2DeleteEventResponse>>;
|
|
634
|
+
/**
|
|
635
|
+
* Use this endpoint to remove a specific event using its reference ID (v2).
|
|
636
|
+
* Delete an event by refId (v2)
|
|
637
|
+
* @param refId
|
|
638
|
+
*/
|
|
639
|
+
v2DeleteEventByRefId(refId: string, _options?: Configuration): Observable<V2DeleteEventResponse>;
|
|
640
|
+
/**
|
|
641
|
+
* Delete multiple events, identified by ref, in a single request (v2).
|
|
642
|
+
* Delete events by refs (v2)
|
|
643
|
+
* @param v2DeleteEventsByRefsRequest A list of event refs to delete. The request deletes the matching events for the authenticated account.
|
|
644
|
+
*/
|
|
645
|
+
v2DeleteEventsByRefsWithHttpInfo(v2DeleteEventsByRefsRequest: V2DeleteEventsByRefsRequest, _options?: Configuration): Observable<HttpInfo<V2DeleteEventsByRefsResponse>>;
|
|
646
|
+
/**
|
|
647
|
+
* Delete multiple events, identified by ref, in a single request (v2).
|
|
648
|
+
* Delete events by refs (v2)
|
|
649
|
+
* @param v2DeleteEventsByRefsRequest A list of event refs to delete. The request deletes the matching events for the authenticated account.
|
|
650
|
+
*/
|
|
651
|
+
v2DeleteEventsByRefs(v2DeleteEventsByRefsRequest: V2DeleteEventsByRefsRequest, _options?: Configuration): Observable<V2DeleteEventsByRefsResponse>;
|
|
652
|
+
/**
|
|
653
|
+
* Use this endpoint to get a specific event using its reference ID (v2).
|
|
654
|
+
* Get event by refId (v2)
|
|
655
|
+
* @param refId
|
|
656
|
+
*/
|
|
657
|
+
v2GetEventByRefIdWithHttpInfo(refId: string, _options?: Configuration): Observable<HttpInfo<V2GetEventResponse>>;
|
|
658
|
+
/**
|
|
659
|
+
* Use this endpoint to get a specific event using its reference ID (v2).
|
|
660
|
+
* Get event by refId (v2)
|
|
661
|
+
* @param refId
|
|
662
|
+
*/
|
|
663
|
+
v2GetEventByRefId(refId: string, _options?: Configuration): Observable<V2GetEventResponse>;
|
|
664
|
+
/**
|
|
665
|
+
* Fetch events occurring within a specified timestamp range via the events-service (ClickHouse-backed).
|
|
666
|
+
* Query events by timestamp period and optional event name (v2)
|
|
667
|
+
* @param startTime
|
|
668
|
+
* @param endTime
|
|
669
|
+
* @param [eventName]
|
|
670
|
+
* @param [customerAlias]
|
|
671
|
+
* @param [limit]
|
|
672
|
+
* @param [cursor]
|
|
673
|
+
*/
|
|
674
|
+
v2QueryEventsWithHttpInfo(startTime: Date, endTime: Date, eventName?: string, customerAlias?: string, limit?: number, cursor?: string, _options?: Configuration): Observable<HttpInfo<V2QueryEventsResponse>>;
|
|
675
|
+
/**
|
|
676
|
+
* Fetch events occurring within a specified timestamp range via the events-service (ClickHouse-backed).
|
|
677
|
+
* Query events by timestamp period and optional event name (v2)
|
|
678
|
+
* @param startTime
|
|
679
|
+
* @param endTime
|
|
680
|
+
* @param [eventName]
|
|
681
|
+
* @param [customerAlias]
|
|
682
|
+
* @param [limit]
|
|
683
|
+
* @param [cursor]
|
|
684
|
+
*/
|
|
685
|
+
v2QueryEvents(startTime: Date, endTime: Date, eventName?: string, customerAlias?: string, limit?: number, cursor?: string, _options?: Configuration): Observable<V2QueryEventsResponse>;
|
|
686
|
+
/**
|
|
687
|
+
* Aggregate events by meters and time grouping via the events-service.
|
|
688
|
+
* Aggregate events (v2)
|
|
689
|
+
* @param v2QueryEventsAggregationRequest Configuration for aggregating events by meters and time grouping.
|
|
690
|
+
*/
|
|
691
|
+
v2QueryEventsAggregationWithHttpInfo(v2QueryEventsAggregationRequest: V2QueryEventsAggregationRequest, _options?: Configuration): Observable<HttpInfo<V2QueryEventsAggregationResponse>>;
|
|
692
|
+
/**
|
|
693
|
+
* Aggregate events by meters and time grouping via the events-service.
|
|
694
|
+
* Aggregate events (v2)
|
|
695
|
+
* @param v2QueryEventsAggregationRequest Configuration for aggregating events by meters and time grouping.
|
|
696
|
+
*/
|
|
697
|
+
v2QueryEventsAggregation(v2QueryEventsAggregationRequest: V2QueryEventsAggregationRequest, _options?: Configuration): Observable<V2QueryEventsAggregationResponse>;
|
|
698
|
+
/**
|
|
699
|
+
* Submit a batch of events for ingestion via the events-service.
|
|
700
|
+
* Submit a batch of events for ingestion (v2)
|
|
701
|
+
* @param v2SendEventsRequest An array of events following the EventInput schema. Up to 1000 events or a total payload max size of 256KB
|
|
702
|
+
*/
|
|
703
|
+
v2SendEventsWithHttpInfo(v2SendEventsRequest: V2SendEventsRequest, _options?: Configuration): Observable<HttpInfo<V2SendEventsResponse>>;
|
|
704
|
+
/**
|
|
705
|
+
* Submit a batch of events for ingestion via the events-service.
|
|
706
|
+
* Submit a batch of events for ingestion (v2)
|
|
707
|
+
* @param v2SendEventsRequest An array of events following the EventInput schema. Up to 1000 events or a total payload max size of 256KB
|
|
708
|
+
*/
|
|
709
|
+
v2SendEvents(v2SendEventsRequest: V2SendEventsRequest, _options?: Configuration): Observable<V2SendEventsResponse>;
|
|
710
|
+
/**
|
|
711
|
+
* Submit a batch of events for testing via the events-service. NOTE: this is a dry run and will not store the events.
|
|
712
|
+
* Submit a batch of events for testing (v2)
|
|
713
|
+
* @param v2EventsDryRunRequest An array of events following the EventInput schema. Up to 1000 events or a total payload max size of 256KB
|
|
714
|
+
*/
|
|
715
|
+
v2SendEventsDryRunWithHttpInfo(v2EventsDryRunRequest: V2EventsDryRunRequest, _options?: Configuration): Observable<HttpInfo<V2EventsDryRunResponse>>;
|
|
716
|
+
/**
|
|
717
|
+
* Submit a batch of events for testing via the events-service. NOTE: this is a dry run and will not store the events.
|
|
718
|
+
* Submit a batch of events for testing (v2)
|
|
719
|
+
* @param v2EventsDryRunRequest An array of events following the EventInput schema. Up to 1000 events or a total payload max size of 256KB
|
|
720
|
+
*/
|
|
721
|
+
v2SendEventsDryRun(v2EventsDryRunRequest: V2EventsDryRunRequest, _options?: Configuration): Observable<V2EventsDryRunResponse>;
|
|
348
722
|
}
|
|
349
723
|
import { InvoicesApiRequestFactory, InvoicesApiResponseProcessor } from "../apis/InvoicesApi";
|
|
350
724
|
export declare class ObservableInvoicesApi {
|
|
@@ -365,19 +739,33 @@ export declare class ObservableInvoicesApi {
|
|
|
365
739
|
*/
|
|
366
740
|
getInvoice(invoiceId: string, _options?: Configuration): Observable<GetInvoiceResponse>;
|
|
367
741
|
/**
|
|
368
|
-
*
|
|
369
|
-
*
|
|
742
|
+
* Use this endpoint to retrieve payment status information for a specific invoice, including payment status, amount due, amount paid, total, due date, paid date, and invoice PDF URL.
|
|
743
|
+
* Get invoice payment status
|
|
744
|
+
* @param invoiceId
|
|
745
|
+
*/
|
|
746
|
+
getInvoicePaymentStatusWithHttpInfo(invoiceId: string, _options?: Configuration): Observable<HttpInfo<InvoicePaymentStatusResponse>>;
|
|
747
|
+
/**
|
|
748
|
+
* Use this endpoint to retrieve payment status information for a specific invoice, including payment status, amount due, amount paid, total, due date, paid date, and invoice PDF URL.
|
|
749
|
+
* Get invoice payment status
|
|
750
|
+
* @param invoiceId
|
|
751
|
+
*/
|
|
752
|
+
getInvoicePaymentStatus(invoiceId: string, _options?: Configuration): Observable<InvoicePaymentStatusResponse>;
|
|
753
|
+
/**
|
|
754
|
+
* List invoices for the account. Optionally filter by customerId to retrieve invoices for a specific customer.
|
|
755
|
+
* List invoices
|
|
370
756
|
* @param [limit]
|
|
371
757
|
* @param [cursor]
|
|
758
|
+
* @param [customerId]
|
|
372
759
|
*/
|
|
373
|
-
listInvoicesWithHttpInfo(limit?: number, cursor?: string, _options?: Configuration): Observable<HttpInfo<ListInvoicesResponse>>;
|
|
760
|
+
listInvoicesWithHttpInfo(limit?: number, cursor?: string, customerId?: string, _options?: Configuration): Observable<HttpInfo<ListInvoicesResponse>>;
|
|
374
761
|
/**
|
|
375
|
-
*
|
|
376
|
-
* List
|
|
762
|
+
* List invoices for the account. Optionally filter by customerId to retrieve invoices for a specific customer.
|
|
763
|
+
* List invoices
|
|
377
764
|
* @param [limit]
|
|
378
765
|
* @param [cursor]
|
|
766
|
+
* @param [customerId]
|
|
379
767
|
*/
|
|
380
|
-
listInvoices(limit?: number, cursor?: string, _options?: Configuration): Observable<ListInvoicesResponse>;
|
|
768
|
+
listInvoices(limit?: number, cursor?: string, customerId?: string, _options?: Configuration): Observable<ListInvoicesResponse>;
|
|
381
769
|
}
|
|
382
770
|
import { MeasurementsApiRequestFactory, MeasurementsApiResponseProcessor } from "../apis/MeasurementsApi";
|
|
383
771
|
export declare class ObservableMeasurementsApi {
|
|
@@ -495,6 +883,51 @@ export declare class ObservableMetersApi {
|
|
|
495
883
|
*/
|
|
496
884
|
updateMeter(updateMeterRequest: UpdateMeterRequest, meterId: string, _options?: Configuration): Observable<UpdateMeterResponse>;
|
|
497
885
|
}
|
|
886
|
+
import { PlansApiRequestFactory, PlansApiResponseProcessor } from "../apis/PlansApi";
|
|
887
|
+
export declare class ObservablePlansApi {
|
|
888
|
+
private requestFactory;
|
|
889
|
+
private responseProcessor;
|
|
890
|
+
private configuration;
|
|
891
|
+
constructor(configuration: Configuration, requestFactory?: PlansApiRequestFactory, responseProcessor?: PlansApiResponseProcessor);
|
|
892
|
+
/**
|
|
893
|
+
* Delete a Plan by id.
|
|
894
|
+
* Delete Plan
|
|
895
|
+
* @param planId
|
|
896
|
+
*/
|
|
897
|
+
deletePlanWithHttpInfo(planId: string, _options?: Configuration): Observable<HttpInfo<DeletePlanResponse>>;
|
|
898
|
+
/**
|
|
899
|
+
* Delete a Plan by id.
|
|
900
|
+
* Delete Plan
|
|
901
|
+
* @param planId
|
|
902
|
+
*/
|
|
903
|
+
deletePlan(planId: string, _options?: Configuration): Observable<DeletePlanResponse>;
|
|
904
|
+
/**
|
|
905
|
+
* Get a Plan by id.
|
|
906
|
+
* Get Plan
|
|
907
|
+
* @param planId
|
|
908
|
+
*/
|
|
909
|
+
getPlanWithHttpInfo(planId: string, _options?: Configuration): Observable<HttpInfo<GetPlanResponse>>;
|
|
910
|
+
/**
|
|
911
|
+
* Get a Plan by id.
|
|
912
|
+
* Get Plan
|
|
913
|
+
* @param planId
|
|
914
|
+
*/
|
|
915
|
+
getPlan(planId: string, _options?: Configuration): Observable<GetPlanResponse>;
|
|
916
|
+
/**
|
|
917
|
+
* Get a list of Plans.
|
|
918
|
+
* List Plans
|
|
919
|
+
* @param [limit]
|
|
920
|
+
* @param [cursor]
|
|
921
|
+
*/
|
|
922
|
+
listPlansWithHttpInfo(limit?: number, cursor?: string, _options?: Configuration): Observable<HttpInfo<ListPlansResponse>>;
|
|
923
|
+
/**
|
|
924
|
+
* Get a list of Plans.
|
|
925
|
+
* List Plans
|
|
926
|
+
* @param [limit]
|
|
927
|
+
* @param [cursor]
|
|
928
|
+
*/
|
|
929
|
+
listPlans(limit?: number, cursor?: string, _options?: Configuration): Observable<ListPlansResponse>;
|
|
930
|
+
}
|
|
498
931
|
import { ProductConsumptionsApiRequestFactory, ProductConsumptionsApiResponseProcessor } from "../apis/ProductConsumptionsApi";
|
|
499
932
|
export declare class ObservableProductConsumptionsApi {
|
|
500
933
|
private requestFactory;
|