vayu-ts 0.2.15 → 0.3.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/example/index.d.ts +1 -0
- package/dist/example/index.js +74 -0
- package/dist/openapi/apis/CatalogProductsApi.d.ts +89 -0
- package/dist/openapi/apis/CatalogProductsApi.js +354 -0
- package/dist/openapi/apis/CloudUsageSubmissionApi.d.ts +25 -0
- package/dist/openapi/apis/CloudUsageSubmissionApi.js +85 -0
- package/dist/openapi/apis/ContractsApi.d.ts +21 -3
- package/dist/openapi/apis/ContractsApi.js +75 -3
- package/dist/openapi/apis/CustomersApi.d.ts +63 -0
- package/dist/openapi/apis/CustomersApi.js +257 -7
- package/dist/openapi/apis/EventsApi.d.ts +16 -0
- package/dist/openapi/apis/EventsApi.js +67 -12
- package/dist/openapi/apis/InvoicesApi.d.ts +19 -3
- package/dist/openapi/apis/InvoicesApi.js +69 -3
- package/dist/openapi/apis/ProductConsumptionsApi.js +0 -3
- package/dist/openapi/apis/WebhooksApi.js +0 -3
- package/dist/openapi/http/http.d.ts +6 -18
- package/dist/openapi/http/http.js +25 -13
- package/dist/openapi/http/isomorphic-fetch.d.ts +1 -0
- package/dist/openapi/http/isomorphic-fetch.js +4 -7
- package/dist/openapi/index.d.ts +1 -1
- package/dist/openapi/index.js +3 -1
- package/dist/openapi/models/Address.d.ts +5 -5
- package/dist/openapi/models/CloudUsageResult.d.ts +83 -0
- package/dist/openapi/models/CloudUsageResult.js +103 -0
- package/dist/openapi/models/Contact.d.ts +3 -1
- package/dist/openapi/models/Contact.js +12 -0
- package/dist/openapi/models/ContractStatus.d.ts +23 -0
- package/dist/openapi/models/ContractStatus.js +27 -0
- package/dist/openapi/models/CreateCatalogProductRequest.d.ts +42 -0
- package/dist/openapi/models/CreateCatalogProductRequest.js +44 -0
- package/dist/openapi/models/CreateCatalogProductResponse.d.ts +32 -0
- package/dist/openapi/models/CreateCatalogProductResponse.js +32 -0
- package/dist/openapi/models/CreateCatalogProductResponseCatalogProduct.d.ts +45 -0
- package/dist/openapi/models/CreateCatalogProductResponseCatalogProduct.js +62 -0
- package/dist/openapi/models/CreateContractRequest.d.ts +47 -5
- package/dist/openapi/models/CreateContractRequest.js +65 -5
- package/dist/openapi/models/CreateCustomerRelationRequest.d.ts +38 -0
- package/dist/openapi/models/CreateCustomerRelationRequest.js +38 -0
- package/dist/openapi/models/CreateCustomerRelationResponse.d.ts +32 -0
- package/dist/openapi/models/CreateCustomerRelationResponse.js +32 -0
- package/dist/openapi/models/CreateCustomerRelationResponseCustomerRelation.d.ts +41 -0
- package/dist/openapi/models/CreateCustomerRelationResponseCustomerRelation.js +56 -0
- package/dist/openapi/models/CreateCustomerRequest.d.ts +50 -2
- package/dist/openapi/models/CreateCustomerRequest.js +82 -6
- package/dist/openapi/models/CreateCustomerResponseCustomer.d.ts +50 -2
- package/dist/openapi/models/CreateCustomerResponseCustomer.js +82 -6
- package/dist/openapi/models/CreditLedgerEntry.d.ts +3 -1
- package/dist/openapi/models/CreditLedgerEntry.js +8 -2
- package/dist/openapi/models/Currency.d.ts +24 -0
- package/dist/openapi/models/Currency.js +28 -0
- package/dist/openapi/models/CustomField.d.ts +65 -0
- package/dist/openapi/models/CustomField.js +78 -0
- package/dist/openapi/models/CustomFieldValue.d.ts +33 -0
- package/dist/openapi/models/CustomFieldValue.js +44 -0
- package/dist/openapi/models/CustomFieldValueTypes.d.ts +19 -0
- package/dist/openapi/models/CustomFieldValueTypes.js +23 -0
- package/dist/openapi/models/CustomerCloudProviderSettings.d.ts +39 -0
- package/dist/openapi/models/CustomerCloudProviderSettings.js +51 -0
- package/dist/openapi/models/CustomerSource.d.ts +21 -0
- package/dist/openapi/models/CustomerSource.js +25 -0
- package/dist/openapi/models/DeleteCatalogProductResponse.d.ts +32 -0
- package/dist/openapi/models/DeleteCatalogProductResponse.js +32 -0
- package/dist/openapi/models/DeleteCatalogProductResponseCatalogProduct.d.ts +46 -0
- package/dist/openapi/models/DeleteCatalogProductResponseCatalogProduct.js +68 -0
- package/dist/openapi/models/DeleteContractResponseContract.d.ts +47 -5
- package/dist/openapi/models/DeleteContractResponseContract.js +65 -5
- package/dist/openapi/models/DeleteCustomerResponseCustomer.d.ts +50 -2
- package/dist/openapi/models/DeleteCustomerResponseCustomer.js +82 -6
- package/dist/openapi/models/DeleteEventsByRefsRequest.d.ts +31 -0
- package/dist/openapi/models/DeleteEventsByRefsRequest.js +32 -0
- package/dist/openapi/models/DeleteEventsByRefsResponse.d.ts +35 -0
- package/dist/openapi/models/DeleteEventsByRefsResponse.js +32 -0
- package/dist/openapi/models/DeleteEventsByRefsResponseEventsInner.d.ts +56 -0
- package/dist/openapi/models/DeleteEventsByRefsResponseEventsInner.js +80 -0
- package/dist/openapi/models/ExternalOverageStrategy.d.ts +20 -0
- package/dist/openapi/models/ExternalOverageStrategy.js +24 -0
- package/dist/openapi/models/GetCatalogProductResponse.d.ts +32 -0
- package/dist/openapi/models/GetCatalogProductResponse.js +32 -0
- package/dist/openapi/models/GetContractByIntegrationIdResponse.d.ts +32 -0
- package/dist/openapi/models/GetContractByIntegrationIdResponse.js +32 -0
- package/dist/openapi/models/GetContractResponseContract.d.ts +47 -5
- package/dist/openapi/models/GetContractResponseContract.js +65 -5
- package/dist/openapi/models/GetCustomerByIntegrationIdResponse.d.ts +32 -0
- package/dist/openapi/models/GetCustomerByIntegrationIdResponse.js +32 -0
- package/dist/openapi/models/GetCustomerByNameResponse.d.ts +32 -0
- package/dist/openapi/models/GetCustomerByNameResponse.js +32 -0
- package/dist/openapi/models/GetCustomerByNameResponseCustomer.d.ts +103 -0
- package/dist/openapi/models/GetCustomerByNameResponseCustomer.js +153 -0
- package/dist/openapi/models/GetCustomerRelationResponse.d.ts +32 -0
- package/dist/openapi/models/GetCustomerRelationResponse.js +32 -0
- package/dist/openapi/models/GetInvoiceResponseInvoice.d.ts +14 -0
- package/dist/openapi/models/GetInvoiceResponseInvoice.js +30 -0
- package/dist/openapi/models/GetInvoiceResponseInvoiceRevenueBreakdown.d.ts +39 -0
- package/dist/openapi/models/GetInvoiceResponseInvoiceRevenueBreakdown.js +65 -0
- package/dist/openapi/models/IntegrationEntity.d.ts +42 -0
- package/dist/openapi/models/IntegrationEntity.js +62 -0
- package/dist/openapi/models/IntegrationEntityTypes.d.ts +23 -0
- package/dist/openapi/models/IntegrationEntityTypes.js +27 -0
- package/dist/openapi/models/IntegrationProviders.d.ts +26 -0
- package/dist/openapi/models/IntegrationProviders.js +30 -0
- package/dist/openapi/models/IntegrationType.d.ts +26 -0
- package/dist/openapi/models/IntegrationType.js +30 -0
- package/dist/openapi/models/InvoiceBillingStatus.d.ts +21 -0
- package/dist/openapi/models/InvoiceBillingStatus.js +25 -0
- package/dist/openapi/models/InvoicePaymentStatusResponse.d.ts +39 -0
- package/dist/openapi/models/InvoicePaymentStatusResponse.js +74 -0
- package/dist/openapi/models/ListCatalogProductsResponse.d.ts +35 -0
- package/dist/openapi/models/ListCatalogProductsResponse.js +50 -0
- package/dist/openapi/models/NotificationEventType.d.ts +3 -1
- package/dist/openapi/models/NotificationEventType.js +2 -0
- package/dist/openapi/models/ObjectSerializer.d.ts +61 -0
- package/dist/openapi/models/ObjectSerializer.js +191 -0
- package/dist/openapi/models/PartnerSubmissionDetail.d.ts +46 -0
- package/dist/openapi/models/PartnerSubmissionDetail.js +49 -0
- package/dist/openapi/models/PaymentInfo.d.ts +45 -0
- package/dist/openapi/models/PaymentInfo.js +89 -0
- package/dist/openapi/models/PaymentInfoDepositTo.d.ts +32 -0
- package/dist/openapi/models/PaymentInfoDepositTo.js +38 -0
- package/dist/openapi/models/PaymentTerm.d.ts +18 -0
- package/dist/openapi/models/PaymentTerm.js +22 -0
- package/dist/openapi/models/ProductCloudProviderSettings.d.ts +39 -0
- package/dist/openapi/models/ProductCloudProviderSettings.js +51 -0
- package/dist/openapi/models/ProductGroup.d.ts +65 -0
- package/dist/openapi/models/ProductGroup.js +80 -0
- package/dist/openapi/models/ProductGroupCommitment.d.ts +45 -0
- package/dist/openapi/models/ProductGroupCommitment.js +53 -0
- package/dist/openapi/models/ProductGroupProductsInner.d.ts +68 -0
- package/dist/openapi/models/ProductGroupProductsInner.js +98 -0
- package/dist/openapi/models/ProductGroupProductsInnerCommitment.d.ts +45 -0
- package/dist/openapi/models/ProductGroupProductsInnerCommitment.js +53 -0
- package/dist/openapi/models/ProductGroupProductsInnerCommitmentScheduling.d.ts +39 -0
- package/dist/openapi/models/ProductGroupProductsInnerCommitmentScheduling.js +41 -0
- package/dist/openapi/models/ProductGroupProductsInnerPricing.d.ts +36 -0
- package/dist/openapi/models/ProductGroupProductsInnerPricing.js +24 -0
- package/dist/openapi/models/ProductGroupProductsInnerPricingOneOf.d.ts +35 -0
- package/dist/openapi/models/ProductGroupProductsInnerPricingOneOf.js +42 -0
- package/dist/openapi/models/ProductGroupProductsInnerPricingOneOf1.d.ts +37 -0
- package/dist/openapi/models/ProductGroupProductsInnerPricingOneOf1.js +48 -0
- package/dist/openapi/models/ProductGroupProductsInnerPricingOneOf1InstallmentsInner.d.ts +32 -0
- package/dist/openapi/models/ProductGroupProductsInnerPricingOneOf1InstallmentsInner.js +38 -0
- package/dist/openapi/models/ProductGroupProductsInnerPricingOneOf2.d.ts +37 -0
- package/dist/openapi/models/ProductGroupProductsInnerPricingOneOf2.js +48 -0
- package/dist/openapi/models/ProductGroupProductsInnerPricingOneOf2SubscriptionCadence.d.ts +38 -0
- package/dist/openapi/models/ProductGroupProductsInnerPricingOneOf2SubscriptionCadence.js +45 -0
- package/dist/openapi/models/ProductGroupProductsInnerPricingOneOf3.d.ts +46 -0
- package/dist/openapi/models/ProductGroupProductsInnerPricingOneOf3.js +78 -0
- package/dist/openapi/models/ProductGroupProductsInnerPricingOneOf3SubscriptionCadence.d.ts +38 -0
- package/dist/openapi/models/ProductGroupProductsInnerPricingOneOf3SubscriptionCadence.js +45 -0
- package/dist/openapi/models/ProductGroupProductsInnerPricingOneOf3TiersInner.d.ts +35 -0
- package/dist/openapi/models/ProductGroupProductsInnerPricingOneOf3TiersInner.js +56 -0
- package/dist/openapi/models/ProductGroupProductsInnerPricingOneOf4.d.ts +41 -0
- package/dist/openapi/models/ProductGroupProductsInnerPricingOneOf4.js +60 -0
- package/dist/openapi/models/ProductGroupProductsInnerScheduling.d.ts +39 -0
- package/dist/openapi/models/ProductGroupProductsInnerScheduling.js +41 -0
- package/dist/openapi/models/ProductGroupProductsInnerSchedulingDuration.d.ts +41 -0
- package/dist/openapi/models/ProductGroupProductsInnerSchedulingDuration.js +48 -0
- package/dist/openapi/models/SubmitCloudUsageRequest.d.ts +39 -0
- package/dist/openapi/models/SubmitCloudUsageRequest.js +38 -0
- package/dist/openapi/models/SyncStatus.d.ts +16 -0
- package/dist/openapi/models/SyncStatus.js +20 -0
- package/dist/openapi/models/UpdateCatalogProductRequest.d.ts +42 -0
- package/dist/openapi/models/UpdateCatalogProductRequest.js +44 -0
- package/dist/openapi/models/UpdateCatalogProductResponse.d.ts +32 -0
- package/dist/openapi/models/UpdateCatalogProductResponse.js +32 -0
- package/dist/openapi/models/UpdateCustomerRequest.d.ts +50 -2
- package/dist/openapi/models/UpdateCustomerRequest.js +82 -6
- package/dist/openapi/models/UsageWindow.d.ts +41 -0
- package/dist/openapi/models/UsageWindow.js +41 -0
- package/dist/openapi/models/all.d.ts +61 -0
- package/dist/openapi/models/all.js +61 -0
- package/dist/openapi/types/ObservableAPI.d.ts +212 -12
- package/dist/openapi/types/ObservableAPI.js +424 -17
- package/dist/openapi/types/PromiseAPI.d.ts +208 -12
- package/dist/openapi/types/PromiseAPI.js +294 -34
- package/dist/sdk/clients/CatalogProductsClient.d.ts +11 -0
- package/dist/sdk/clients/CatalogProductsClient.js +28 -0
- package/dist/sdk/clients/CloudUsageSubmissionClient.d.ts +6 -0
- package/dist/sdk/clients/CloudUsageSubmissionClient.js +14 -0
- package/dist/sdk/clients/ContractsClient.d.ts +2 -1
- package/dist/sdk/clients/ContractsClient.js +3 -0
- package/dist/sdk/clients/CreditsClient.d.ts +9 -0
- package/dist/sdk/clients/CreditsClient.js +22 -0
- package/dist/sdk/clients/CustomersClient.d.ts +5 -1
- package/dist/sdk/clients/CustomersClient.js +12 -0
- package/dist/sdk/clients/EventsClient.d.ts +2 -1
- package/dist/sdk/clients/EventsClient.js +3 -0
- package/dist/sdk/clients/InvoicesClient.d.ts +1 -0
- package/dist/sdk/clients/InvoicesClient.js +3 -0
- package/dist/sdk/clients/MeasurementsClient.d.ts +10 -0
- package/dist/sdk/clients/MeasurementsClient.js +25 -0
- package/dist/sdk/clients/index.d.ts +4 -0
- package/dist/sdk/clients/index.js +4 -0
- package/dist/sdk/index.d.ts +6 -1
- package/dist/sdk/index.js +13 -0
- package/dist/sdk/services/authenticated-http-library.d.ts +11 -0
- package/dist/sdk/services/authenticated-http-library.js +29 -0
- package/dist/sdk/services/authenticator.d.ts +11 -0
- package/dist/sdk/services/authenticator.js +57 -0
- package/dist/sdk/services/configuration.service.d.ts +7 -6
- package/dist/sdk/services/configuration.service.js +12 -44
- package/dist/sdk/types/CatalogProducts.d.ts +1 -0
- package/dist/sdk/types/CatalogProducts.js +2 -0
- package/dist/sdk/types/CloudUsageSubmission.d.ts +1 -0
- package/dist/sdk/types/CloudUsageSubmission.js +2 -0
- package/dist/sdk/types/Contracts.d.ts +1 -1
- package/dist/sdk/types/Credits.d.ts +1 -0
- package/dist/sdk/types/Credits.js +2 -0
- package/dist/sdk/types/Customers.d.ts +1 -1
- package/dist/sdk/types/Events.d.ts +1 -1
- package/dist/sdk/types/Invoices.d.ts +1 -1
- package/dist/sdk/types/Measurements.d.ts +1 -0
- package/dist/sdk/types/Measurements.js +2 -0
- package/dist/sdk/types/index.d.ts +4 -0
- package/dist/sdk/types/index.js +4 -0
- package/dist/sdk-v2/services/configuration.service.js +16 -8
- package/package.json +3 -4
|
@@ -1,22 +1,34 @@
|
|
|
1
1
|
import { HttpInfo } from '../http/http';
|
|
2
2
|
import { Configuration } from '../configuration';
|
|
3
|
+
import { CreateCatalogProductRequest } from '../models/CreateCatalogProductRequest';
|
|
4
|
+
import { CreateCatalogProductResponse } from '../models/CreateCatalogProductResponse';
|
|
3
5
|
import { CreateContractRequest } from '../models/CreateContractRequest';
|
|
4
6
|
import { CreateContractResponse } from '../models/CreateContractResponse';
|
|
7
|
+
import { CreateCustomerRelationRequest } from '../models/CreateCustomerRelationRequest';
|
|
8
|
+
import { CreateCustomerRelationResponse } from '../models/CreateCustomerRelationResponse';
|
|
5
9
|
import { CreateCustomerRequest } from '../models/CreateCustomerRequest';
|
|
6
10
|
import { CreateCustomerResponse } from '../models/CreateCustomerResponse';
|
|
7
11
|
import { CreateMeasurementRequest } from '../models/CreateMeasurementRequest';
|
|
8
12
|
import { CreateMeasurementResponse } from '../models/CreateMeasurementResponse';
|
|
9
13
|
import { DeductCreditsRequest } from '../models/DeductCreditsRequest';
|
|
14
|
+
import { DeleteCatalogProductResponse } from '../models/DeleteCatalogProductResponse';
|
|
10
15
|
import { DeleteContractResponse } from '../models/DeleteContractResponse';
|
|
11
16
|
import { DeleteCustomerResponse } from '../models/DeleteCustomerResponse';
|
|
12
17
|
import { DeleteEventResponse } from '../models/DeleteEventResponse';
|
|
18
|
+
import { DeleteEventsByRefsRequest } from '../models/DeleteEventsByRefsRequest';
|
|
19
|
+
import { DeleteEventsByRefsResponse } from '../models/DeleteEventsByRefsResponse';
|
|
13
20
|
import { DeleteMeasurementResponse } from '../models/DeleteMeasurementResponse';
|
|
14
21
|
import { DeleteMeterResponse } from '../models/DeleteMeterResponse';
|
|
15
22
|
import { EventsDryRunRequest } from '../models/EventsDryRunRequest';
|
|
16
23
|
import { EventsDryRunResponse } from '../models/EventsDryRunResponse';
|
|
24
|
+
import { GetCatalogProductResponse } from '../models/GetCatalogProductResponse';
|
|
25
|
+
import { GetContractByIntegrationIdResponse } from '../models/GetContractByIntegrationIdResponse';
|
|
17
26
|
import { GetContractResponse } from '../models/GetContractResponse';
|
|
27
|
+
import { GetCustomerByIntegrationIdResponse } from '../models/GetCustomerByIntegrationIdResponse';
|
|
28
|
+
import { GetCustomerByNameResponse } from '../models/GetCustomerByNameResponse';
|
|
18
29
|
import { GetCustomerProductsConsumptionsByAliasResponse } from '../models/GetCustomerProductsConsumptionsByAliasResponse';
|
|
19
30
|
import { GetCustomerProductsConsumptionsResponse } from '../models/GetCustomerProductsConsumptionsResponse';
|
|
31
|
+
import { GetCustomerRelationResponse } from '../models/GetCustomerRelationResponse';
|
|
20
32
|
import { GetCustomerResponse } from '../models/GetCustomerResponse';
|
|
21
33
|
import { GetEventResponse } from '../models/GetEventResponse';
|
|
22
34
|
import { GetInvoiceResponse } from '../models/GetInvoiceResponse';
|
|
@@ -24,6 +36,9 @@ import { GetMeasurementResponse } from '../models/GetMeasurementResponse';
|
|
|
24
36
|
import { GetMeterResponse } from '../models/GetMeterResponse';
|
|
25
37
|
import { GetProductConsumptionResponse } from '../models/GetProductConsumptionResponse';
|
|
26
38
|
import { GrantCreditsRequest } from '../models/GrantCreditsRequest';
|
|
39
|
+
import { IntegrationType } from '../models/IntegrationType';
|
|
40
|
+
import { InvoicePaymentStatusResponse } from '../models/InvoicePaymentStatusResponse';
|
|
41
|
+
import { ListCatalogProductsResponse } from '../models/ListCatalogProductsResponse';
|
|
27
42
|
import { ListContractsResponse } from '../models/ListContractsResponse';
|
|
28
43
|
import { ListCreditLedgerEntriesResponse } from '../models/ListCreditLedgerEntriesResponse';
|
|
29
44
|
import { ListCustomersResponse } from '../models/ListCustomersResponse';
|
|
@@ -35,6 +50,9 @@ import { LoginResponse } from '../models/LoginResponse';
|
|
|
35
50
|
import { QueryEventsResponse } from '../models/QueryEventsResponse';
|
|
36
51
|
import { SendEventsRequest } from '../models/SendEventsRequest';
|
|
37
52
|
import { SendEventsResponse } from '../models/SendEventsResponse';
|
|
53
|
+
import { SubmitCloudUsageRequest } from '../models/SubmitCloudUsageRequest';
|
|
54
|
+
import { UpdateCatalogProductRequest } from '../models/UpdateCatalogProductRequest';
|
|
55
|
+
import { UpdateCatalogProductResponse } from '../models/UpdateCatalogProductResponse';
|
|
38
56
|
import { UpdateCustomerRequest } from '../models/UpdateCustomerRequest';
|
|
39
57
|
import { UpdateCustomerResponse } from '../models/UpdateCustomerResponse';
|
|
40
58
|
import { UpdateMeterRequest } from '../models/UpdateMeterRequest';
|
|
@@ -57,6 +75,92 @@ export declare class PromiseAuthApi {
|
|
|
57
75
|
*/
|
|
58
76
|
login(loginRequest: LoginRequest, _options?: Configuration): Promise<LoginResponse>;
|
|
59
77
|
}
|
|
78
|
+
import { CatalogProductsApiRequestFactory, CatalogProductsApiResponseProcessor } from "../apis/CatalogProductsApi";
|
|
79
|
+
export declare class PromiseCatalogProductsApi {
|
|
80
|
+
private api;
|
|
81
|
+
constructor(configuration: Configuration, requestFactory?: CatalogProductsApiRequestFactory, responseProcessor?: CatalogProductsApiResponseProcessor);
|
|
82
|
+
/**
|
|
83
|
+
* Create a new Catalog product.
|
|
84
|
+
* Create Catalog product
|
|
85
|
+
* @param createCatalogProductRequest
|
|
86
|
+
*/
|
|
87
|
+
createCatalogProductWithHttpInfo(createCatalogProductRequest: CreateCatalogProductRequest, _options?: Configuration): Promise<HttpInfo<CreateCatalogProductResponse>>;
|
|
88
|
+
/**
|
|
89
|
+
* Create a new Catalog product.
|
|
90
|
+
* Create Catalog product
|
|
91
|
+
* @param createCatalogProductRequest
|
|
92
|
+
*/
|
|
93
|
+
createCatalogProduct(createCatalogProductRequest: CreateCatalogProductRequest, _options?: Configuration): Promise<CreateCatalogProductResponse>;
|
|
94
|
+
/**
|
|
95
|
+
* Delete a Catalog product by id.
|
|
96
|
+
* Delete Catalog product
|
|
97
|
+
* @param catalogProductId
|
|
98
|
+
*/
|
|
99
|
+
deleteCatalogProductWithHttpInfo(catalogProductId: string, _options?: Configuration): Promise<HttpInfo<DeleteCatalogProductResponse>>;
|
|
100
|
+
/**
|
|
101
|
+
* Delete a Catalog product by id.
|
|
102
|
+
* Delete Catalog product
|
|
103
|
+
* @param catalogProductId
|
|
104
|
+
*/
|
|
105
|
+
deleteCatalogProduct(catalogProductId: string, _options?: Configuration): Promise<DeleteCatalogProductResponse>;
|
|
106
|
+
/**
|
|
107
|
+
* Get a Catalog product by id.
|
|
108
|
+
* Get Catalog product
|
|
109
|
+
* @param catalogProductId
|
|
110
|
+
*/
|
|
111
|
+
getCatalogProductWithHttpInfo(catalogProductId: string, _options?: Configuration): Promise<HttpInfo<GetCatalogProductResponse>>;
|
|
112
|
+
/**
|
|
113
|
+
* Get a Catalog product by id.
|
|
114
|
+
* Get Catalog product
|
|
115
|
+
* @param catalogProductId
|
|
116
|
+
*/
|
|
117
|
+
getCatalogProduct(catalogProductId: string, _options?: Configuration): Promise<GetCatalogProductResponse>;
|
|
118
|
+
/**
|
|
119
|
+
* Get a list of Catalog products.
|
|
120
|
+
* List Catalog products
|
|
121
|
+
* @param [limit]
|
|
122
|
+
* @param [cursor]
|
|
123
|
+
*/
|
|
124
|
+
listCatalogProductsWithHttpInfo(limit?: number, cursor?: string, _options?: Configuration): Promise<HttpInfo<ListCatalogProductsResponse>>;
|
|
125
|
+
/**
|
|
126
|
+
* Get a list of Catalog products.
|
|
127
|
+
* List Catalog products
|
|
128
|
+
* @param [limit]
|
|
129
|
+
* @param [cursor]
|
|
130
|
+
*/
|
|
131
|
+
listCatalogProducts(limit?: number, cursor?: string, _options?: Configuration): Promise<ListCatalogProductsResponse>;
|
|
132
|
+
/**
|
|
133
|
+
* Update a Catalog product by id.
|
|
134
|
+
* Update Catalog product
|
|
135
|
+
* @param updateCatalogProductRequest
|
|
136
|
+
* @param catalogProductId
|
|
137
|
+
*/
|
|
138
|
+
updateCatalogProductWithHttpInfo(updateCatalogProductRequest: UpdateCatalogProductRequest, catalogProductId: string, _options?: Configuration): Promise<HttpInfo<UpdateCatalogProductResponse>>;
|
|
139
|
+
/**
|
|
140
|
+
* Update a Catalog product by id.
|
|
141
|
+
* Update Catalog product
|
|
142
|
+
* @param updateCatalogProductRequest
|
|
143
|
+
* @param catalogProductId
|
|
144
|
+
*/
|
|
145
|
+
updateCatalogProduct(updateCatalogProductRequest: UpdateCatalogProductRequest, catalogProductId: string, _options?: Configuration): Promise<UpdateCatalogProductResponse>;
|
|
146
|
+
}
|
|
147
|
+
import { CloudUsageSubmissionApiRequestFactory, CloudUsageSubmissionApiResponseProcessor } from "../apis/CloudUsageSubmissionApi";
|
|
148
|
+
export declare class PromiseCloudUsageSubmissionApi {
|
|
149
|
+
private api;
|
|
150
|
+
constructor(configuration: Configuration, requestFactory?: CloudUsageSubmissionApiRequestFactory, responseProcessor?: CloudUsageSubmissionApiResponseProcessor);
|
|
151
|
+
/**
|
|
152
|
+
* Submit cloud usage data
|
|
153
|
+
* Submit cloud usage
|
|
154
|
+
* @param submitCloudUsageRequest
|
|
155
|
+
*/
|
|
156
|
+
submitCloudUsageWithHttpInfo(submitCloudUsageRequest: SubmitCloudUsageRequest, _options?: Configuration): Promise<HttpInfo<any>>;
|
|
157
|
+
/**
|
|
158
|
+
* Submit cloud usage data
|
|
159
|
+
* Submit cloud usage
|
|
160
|
+
* @param submitCloudUsageRequest
|
|
161
|
+
*/
|
|
162
|
+
submitCloudUsage(submitCloudUsageRequest: SubmitCloudUsageRequest, _options?: Configuration): Promise<any>;
|
|
163
|
+
}
|
|
60
164
|
import { ContractsApiRequestFactory, ContractsApiResponseProcessor } from "../apis/ContractsApi";
|
|
61
165
|
export declare class PromiseContractsApi {
|
|
62
166
|
private api;
|
|
@@ -98,19 +202,35 @@ export declare class PromiseContractsApi {
|
|
|
98
202
|
*/
|
|
99
203
|
getContract(contractId: string, _options?: Configuration): Promise<GetContractResponse>;
|
|
100
204
|
/**
|
|
101
|
-
*
|
|
102
|
-
*
|
|
205
|
+
* Use this endpoint to get a specific contract using its integration provider and identifier.
|
|
206
|
+
* Get contract by integration id
|
|
207
|
+
* @param integrationType
|
|
208
|
+
* @param integrationId
|
|
209
|
+
*/
|
|
210
|
+
getContractByIntegrationIdWithHttpInfo(integrationType: IntegrationType, integrationId: string, _options?: Configuration): Promise<HttpInfo<GetContractByIntegrationIdResponse>>;
|
|
211
|
+
/**
|
|
212
|
+
* Use this endpoint to get a specific contract using its integration provider and identifier.
|
|
213
|
+
* Get contract by integration id
|
|
214
|
+
* @param integrationType
|
|
215
|
+
* @param integrationId
|
|
216
|
+
*/
|
|
217
|
+
getContractByIntegrationId(integrationType: IntegrationType, integrationId: string, _options?: Configuration): Promise<GetContractByIntegrationIdResponse>;
|
|
218
|
+
/**
|
|
219
|
+
* List contracts for the account. Optionally filter by customerId to retrieve contracts for a specific customer.
|
|
220
|
+
* List contracts
|
|
103
221
|
* @param [limit]
|
|
104
222
|
* @param [cursor]
|
|
223
|
+
* @param [customerId]
|
|
105
224
|
*/
|
|
106
|
-
listContractsWithHttpInfo(limit?: number, cursor?: string, _options?: Configuration): Promise<HttpInfo<ListContractsResponse>>;
|
|
225
|
+
listContractsWithHttpInfo(limit?: number, cursor?: string, customerId?: string, _options?: Configuration): Promise<HttpInfo<ListContractsResponse>>;
|
|
107
226
|
/**
|
|
108
|
-
*
|
|
109
|
-
* List
|
|
227
|
+
* List contracts for the account. Optionally filter by customerId to retrieve contracts for a specific customer.
|
|
228
|
+
* List contracts
|
|
110
229
|
* @param [limit]
|
|
111
230
|
* @param [cursor]
|
|
231
|
+
* @param [customerId]
|
|
112
232
|
*/
|
|
113
|
-
listContracts(limit?: number, cursor?: string, _options?: Configuration): Promise<ListContractsResponse>;
|
|
233
|
+
listContracts(limit?: number, cursor?: string, customerId?: string, _options?: Configuration): Promise<ListContractsResponse>;
|
|
114
234
|
}
|
|
115
235
|
import { CreditsApiRequestFactory, CreditsApiResponseProcessor } from "../apis/CreditsApi";
|
|
116
236
|
export declare class PromiseCreditsApi {
|
|
@@ -173,6 +293,18 @@ export declare class PromiseCustomersApi {
|
|
|
173
293
|
* @param createCustomerRequest
|
|
174
294
|
*/
|
|
175
295
|
createCustomer(createCustomerRequest: CreateCustomerRequest, _options?: Configuration): Promise<CreateCustomerResponse>;
|
|
296
|
+
/**
|
|
297
|
+
* Create a new Customer relation.
|
|
298
|
+
* Create Customer relation
|
|
299
|
+
* @param createCustomerRelationRequest
|
|
300
|
+
*/
|
|
301
|
+
createCustomerRelationWithHttpInfo(createCustomerRelationRequest: CreateCustomerRelationRequest, _options?: Configuration): Promise<HttpInfo<CreateCustomerRelationResponse>>;
|
|
302
|
+
/**
|
|
303
|
+
* Create a new Customer relation.
|
|
304
|
+
* Create Customer relation
|
|
305
|
+
* @param createCustomerRelationRequest
|
|
306
|
+
*/
|
|
307
|
+
createCustomerRelation(createCustomerRelationRequest: CreateCustomerRelationRequest, _options?: Configuration): Promise<CreateCustomerRelationResponse>;
|
|
176
308
|
/**
|
|
177
309
|
* Delete a Customer by id.
|
|
178
310
|
* Delete Customer
|
|
@@ -209,6 +341,32 @@ export declare class PromiseCustomersApi {
|
|
|
209
341
|
* @param externalId
|
|
210
342
|
*/
|
|
211
343
|
getCustomerByExternalId(externalId: string, _options?: Configuration): Promise<GetCustomerResponse>;
|
|
344
|
+
/**
|
|
345
|
+
* Use this endpoint to get a specific customer using its integration provider and identifier.
|
|
346
|
+
* Get customer by integration id
|
|
347
|
+
* @param integrationType
|
|
348
|
+
* @param integrationId
|
|
349
|
+
*/
|
|
350
|
+
getCustomerByIntegrationIdWithHttpInfo(integrationType: IntegrationType, integrationId: string, _options?: Configuration): Promise<HttpInfo<GetCustomerByIntegrationIdResponse>>;
|
|
351
|
+
/**
|
|
352
|
+
* Use this endpoint to get a specific customer using its integration provider and identifier.
|
|
353
|
+
* Get customer by integration id
|
|
354
|
+
* @param integrationType
|
|
355
|
+
* @param integrationId
|
|
356
|
+
*/
|
|
357
|
+
getCustomerByIntegrationId(integrationType: IntegrationType, integrationId: string, _options?: Configuration): Promise<GetCustomerByIntegrationIdResponse>;
|
|
358
|
+
/**
|
|
359
|
+
* Use this endpoint to get a specific customer using its name.
|
|
360
|
+
* Get customer by name
|
|
361
|
+
* @param name
|
|
362
|
+
*/
|
|
363
|
+
getCustomerByNameWithHttpInfo(name: string, _options?: Configuration): Promise<HttpInfo<GetCustomerByNameResponse>>;
|
|
364
|
+
/**
|
|
365
|
+
* Use this endpoint to get a specific customer using its name.
|
|
366
|
+
* Get customer by name
|
|
367
|
+
* @param name
|
|
368
|
+
*/
|
|
369
|
+
getCustomerByName(name: string, _options?: Configuration): Promise<GetCustomerByNameResponse>;
|
|
212
370
|
/**
|
|
213
371
|
* Use this endpoint to get the products consumptions by the customer id.
|
|
214
372
|
* Get products consumptions by customer id
|
|
@@ -233,6 +391,18 @@ export declare class PromiseCustomersApi {
|
|
|
233
391
|
* @param alias
|
|
234
392
|
*/
|
|
235
393
|
getCustomerProductsConsumptionsByAlias(alias: string, _options?: Configuration): Promise<GetCustomerProductsConsumptionsByAliasResponse>;
|
|
394
|
+
/**
|
|
395
|
+
* Get a Customer relation by id.
|
|
396
|
+
* Get Customer relation
|
|
397
|
+
* @param customerRelationId
|
|
398
|
+
*/
|
|
399
|
+
getCustomerRelationWithHttpInfo(customerRelationId: string, _options?: Configuration): Promise<HttpInfo<GetCustomerRelationResponse>>;
|
|
400
|
+
/**
|
|
401
|
+
* Get a Customer relation by id.
|
|
402
|
+
* Get Customer relation
|
|
403
|
+
* @param customerRelationId
|
|
404
|
+
*/
|
|
405
|
+
getCustomerRelation(customerRelationId: string, _options?: Configuration): Promise<GetCustomerRelationResponse>;
|
|
236
406
|
/**
|
|
237
407
|
* Get a list of Customers.
|
|
238
408
|
* List Customers
|
|
@@ -278,6 +448,18 @@ export declare class PromiseEventsApi {
|
|
|
278
448
|
* @param refId
|
|
279
449
|
*/
|
|
280
450
|
deleteEventByRefId(refId: string, _options?: Configuration): Promise<DeleteEventResponse>;
|
|
451
|
+
/**
|
|
452
|
+
* Delete multiple events, identified by ref, in a single request.
|
|
453
|
+
* Delete events by refs
|
|
454
|
+
* @param deleteEventsByRefsRequest A list of event refs to delete. The request deletes the matching events for the authenticated account.
|
|
455
|
+
*/
|
|
456
|
+
deleteEventsByRefsWithHttpInfo(deleteEventsByRefsRequest: DeleteEventsByRefsRequest, _options?: Configuration): Promise<HttpInfo<DeleteEventsByRefsResponse>>;
|
|
457
|
+
/**
|
|
458
|
+
* Delete multiple events, identified by ref, in a single request.
|
|
459
|
+
* Delete events by refs
|
|
460
|
+
* @param deleteEventsByRefsRequest A list of event refs to delete. The request deletes the matching events for the authenticated account.
|
|
461
|
+
*/
|
|
462
|
+
deleteEventsByRefs(deleteEventsByRefsRequest: DeleteEventsByRefsRequest, _options?: Configuration): Promise<DeleteEventsByRefsResponse>;
|
|
281
463
|
/**
|
|
282
464
|
* Use this endpoint to get a specific event using its reference ID.
|
|
283
465
|
* Get event by refId
|
|
@@ -352,19 +534,33 @@ export declare class PromiseInvoicesApi {
|
|
|
352
534
|
*/
|
|
353
535
|
getInvoice(invoiceId: string, _options?: Configuration): Promise<GetInvoiceResponse>;
|
|
354
536
|
/**
|
|
355
|
-
*
|
|
356
|
-
*
|
|
537
|
+
* 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.
|
|
538
|
+
* Get invoice payment status
|
|
539
|
+
* @param invoiceId
|
|
540
|
+
*/
|
|
541
|
+
getInvoicePaymentStatusWithHttpInfo(invoiceId: string, _options?: Configuration): Promise<HttpInfo<InvoicePaymentStatusResponse>>;
|
|
542
|
+
/**
|
|
543
|
+
* 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.
|
|
544
|
+
* Get invoice payment status
|
|
545
|
+
* @param invoiceId
|
|
546
|
+
*/
|
|
547
|
+
getInvoicePaymentStatus(invoiceId: string, _options?: Configuration): Promise<InvoicePaymentStatusResponse>;
|
|
548
|
+
/**
|
|
549
|
+
* List invoices for the account. Optionally filter by customerId to retrieve invoices for a specific customer.
|
|
550
|
+
* List invoices
|
|
357
551
|
* @param [limit]
|
|
358
552
|
* @param [cursor]
|
|
553
|
+
* @param [customerId]
|
|
359
554
|
*/
|
|
360
|
-
listInvoicesWithHttpInfo(limit?: number, cursor?: string, _options?: Configuration): Promise<HttpInfo<ListInvoicesResponse>>;
|
|
555
|
+
listInvoicesWithHttpInfo(limit?: number, cursor?: string, customerId?: string, _options?: Configuration): Promise<HttpInfo<ListInvoicesResponse>>;
|
|
361
556
|
/**
|
|
362
|
-
*
|
|
363
|
-
* List
|
|
557
|
+
* List invoices for the account. Optionally filter by customerId to retrieve invoices for a specific customer.
|
|
558
|
+
* List invoices
|
|
364
559
|
* @param [limit]
|
|
365
560
|
* @param [cursor]
|
|
561
|
+
* @param [customerId]
|
|
366
562
|
*/
|
|
367
|
-
listInvoices(limit?: number, cursor?: string, _options?: Configuration): Promise<ListInvoicesResponse>;
|
|
563
|
+
listInvoices(limit?: number, cursor?: string, customerId?: string, _options?: Configuration): Promise<ListInvoicesResponse>;
|
|
368
564
|
}
|
|
369
565
|
import { MeasurementsApiRequestFactory, MeasurementsApiResponseProcessor } from "../apis/MeasurementsApi";
|
|
370
566
|
export declare class PromiseMeasurementsApi {
|