vayu-ts 0.2.5 → 0.2.7
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/openapi/apis/AuthApi.js +47 -61
- package/dist/openapi/apis/ContractsApi.js +203 -232
- package/dist/openapi/apis/CreditsApi.js +162 -186
- package/dist/openapi/apis/CustomersApi.d.ts +15 -0
- package/dist/openapi/apis/CustomersApi.js +378 -353
- package/dist/openapi/apis/EventsApi.js +282 -316
- package/dist/openapi/apis/IntegrationsApi.js +105 -124
- package/dist/openapi/apis/InvoicesApi.js +100 -119
- package/dist/openapi/apis/MetersApi.js +211 -240
- package/dist/openapi/apis/PlansApi.js +150 -174
- package/dist/openapi/apis/ProductConsumptionsApi.d.ts +25 -0
- package/dist/openapi/apis/ProductConsumptionsApi.js +82 -0
- package/dist/openapi/apis/ReportsApi.js +100 -119
- package/dist/openapi/apis/WebhooksApi.js +55 -69
- package/dist/openapi/auth/auth.d.ts +1 -0
- package/dist/openapi/auth/auth.js +2 -13
- package/dist/openapi/configuration.d.ts +8 -2
- package/dist/openapi/http/http.d.ts +7 -20
- package/dist/openapi/http/http.js +15 -25
- package/dist/openapi/index.d.ts +4 -3
- package/dist/openapi/index.js +4 -1
- package/dist/openapi/models/Address.d.ts +3 -0
- package/dist/openapi/models/Address.js +1 -0
- package/dist/openapi/models/AggregationMethod.d.ts +3 -0
- package/dist/openapi/models/AggregationMethod.js +1 -0
- package/dist/openapi/models/Condition.d.ts +3 -0
- package/dist/openapi/models/Condition.js +1 -0
- package/dist/openapi/models/Contact.d.ts +4 -1
- package/dist/openapi/models/Contact.js +3 -2
- package/dist/openapi/models/ContractStatus.d.ts +1 -0
- package/dist/openapi/models/ContractStatus.js +1 -0
- package/dist/openapi/models/CreateContractRequest.d.ts +3 -0
- package/dist/openapi/models/CreateContractRequest.js +1 -0
- package/dist/openapi/models/CreateContractResponse.d.ts +3 -0
- package/dist/openapi/models/CreateContractResponse.js +1 -0
- package/dist/openapi/models/CreateCustomerRequest.d.ts +3 -0
- package/dist/openapi/models/CreateCustomerRequest.js +1 -0
- package/dist/openapi/models/CreateCustomerResponse.d.ts +3 -0
- package/dist/openapi/models/CreateCustomerResponse.js +1 -0
- package/dist/openapi/models/CreateCustomerResponseCustomer.d.ts +3 -0
- package/dist/openapi/models/CreateCustomerResponseCustomer.js +1 -0
- package/dist/openapi/models/CreditLedgerEntry.d.ts +3 -0
- package/dist/openapi/models/CreditLedgerEntry.js +1 -0
- package/dist/openapi/models/Criterion.d.ts +3 -0
- package/dist/openapi/models/Criterion.js +1 -0
- package/dist/openapi/models/CriterionOperator.d.ts +3 -1
- package/dist/openapi/models/CriterionOperator.js +2 -0
- package/dist/openapi/models/DeductCreditsRequest.d.ts +3 -0
- package/dist/openapi/models/DeductCreditsRequest.js +1 -0
- package/dist/openapi/models/DeleteContractResponse.d.ts +3 -0
- package/dist/openapi/models/DeleteContractResponse.js +1 -0
- package/dist/openapi/models/DeleteContractResponseContract.d.ts +3 -0
- package/dist/openapi/models/DeleteContractResponseContract.js +1 -0
- package/dist/openapi/models/DeleteCustomerResponse.d.ts +3 -0
- package/dist/openapi/models/DeleteCustomerResponse.js +1 -0
- package/dist/openapi/models/DeleteCustomerResponseCustomer.d.ts +3 -0
- package/dist/openapi/models/DeleteCustomerResponseCustomer.js +1 -0
- package/dist/openapi/models/DeleteEventResponse.d.ts +3 -0
- package/dist/openapi/models/DeleteEventResponse.js +1 -0
- package/dist/openapi/models/DeleteEventResponseEvent.d.ts +3 -0
- package/dist/openapi/models/DeleteEventResponseEvent.js +1 -0
- package/dist/openapi/models/DeleteMeterResponse.d.ts +3 -0
- package/dist/openapi/models/DeleteMeterResponse.js +1 -0
- package/dist/openapi/models/DeleteMeterResponseMeter.d.ts +3 -0
- package/dist/openapi/models/DeleteMeterResponseMeter.js +1 -0
- package/dist/openapi/models/DeletePlanResponse.d.ts +3 -0
- package/dist/openapi/models/DeletePlanResponse.js +1 -0
- package/dist/openapi/models/DeletePlanResponsePlan.d.ts +3 -0
- package/dist/openapi/models/DeletePlanResponsePlan.js +1 -0
- package/dist/openapi/models/Event.d.ts +3 -0
- package/dist/openapi/models/Event.js +1 -0
- package/dist/openapi/models/EventsDryRunRequest.d.ts +3 -0
- package/dist/openapi/models/EventsDryRunRequest.js +1 -0
- package/dist/openapi/models/EventsDryRunResponse.d.ts +3 -0
- package/dist/openapi/models/EventsDryRunResponse.js +1 -0
- package/dist/openapi/models/EventsDryRunResponseObject.d.ts +3 -0
- package/dist/openapi/models/EventsDryRunResponseObject.js +1 -0
- package/dist/openapi/models/EventsDryRunResponseObjectEvent.d.ts +3 -0
- package/dist/openapi/models/EventsDryRunResponseObjectEvent.js +1 -0
- package/dist/openapi/models/EventsDryRunResponseObjectMeterWithValuesInner.d.ts +3 -0
- package/dist/openapi/models/EventsDryRunResponseObjectMeterWithValuesInner.js +1 -0
- package/dist/openapi/models/Filter.d.ts +3 -0
- package/dist/openapi/models/Filter.js +1 -0
- package/dist/openapi/models/FullDayPeriod.d.ts +3 -0
- package/dist/openapi/models/FullDayPeriod.js +1 -0
- package/dist/openapi/models/GetCommitmentReportResponse.d.ts +5 -0
- package/dist/openapi/models/GetCommitmentReportResponse.js +13 -0
- package/dist/openapi/models/GetContractResponse.d.ts +3 -0
- package/dist/openapi/models/GetContractResponse.js +1 -0
- package/dist/openapi/models/GetContractResponseContract.d.ts +3 -0
- package/dist/openapi/models/GetContractResponseContract.js +1 -0
- package/dist/openapi/models/GetCustomerProductsConsumptionsResponse.d.ts +32 -0
- package/dist/openapi/models/GetCustomerProductsConsumptionsResponse.js +32 -0
- package/dist/openapi/models/GetCustomerResponse.d.ts +3 -0
- package/dist/openapi/models/GetCustomerResponse.js +1 -0
- package/dist/openapi/models/GetEventResponse.d.ts +3 -0
- package/dist/openapi/models/GetEventResponse.js +1 -0
- package/dist/openapi/models/GetEventResponseEvent.d.ts +3 -0
- package/dist/openapi/models/GetEventResponseEvent.js +1 -0
- package/dist/openapi/models/GetInvoiceResponse.d.ts +3 -0
- package/dist/openapi/models/GetInvoiceResponse.js +1 -0
- package/dist/openapi/models/GetInvoiceResponseInvoice.d.ts +3 -0
- package/dist/openapi/models/GetInvoiceResponseInvoice.js +1 -0
- package/dist/openapi/models/GetMeterResponse.d.ts +3 -0
- package/dist/openapi/models/GetMeterResponse.js +1 -0
- package/dist/openapi/models/GetMeterResponseMeter.d.ts +3 -0
- package/dist/openapi/models/GetMeterResponseMeter.js +1 -0
- package/dist/openapi/models/GetPlanResponse.d.ts +3 -0
- package/dist/openapi/models/GetPlanResponse.js +1 -0
- package/dist/openapi/models/GetPlanResponsePlan.d.ts +3 -0
- package/dist/openapi/models/GetPlanResponsePlan.js +1 -0
- package/dist/openapi/models/GetProductConsumptionResponse.d.ts +32 -0
- package/dist/openapi/models/GetProductConsumptionResponse.js +32 -0
- package/dist/openapi/models/GetProductConsumptionResponseProductConsumption.d.ts +59 -0
- package/dist/openapi/models/GetProductConsumptionResponseProductConsumption.js +74 -0
- package/dist/openapi/models/GetProductsUsageReportResponse.d.ts +5 -0
- package/dist/openapi/models/GetProductsUsageReportResponse.js +13 -0
- package/dist/openapi/models/GrantCreditsRequest.d.ts +3 -0
- package/dist/openapi/models/GrantCreditsRequest.js +1 -0
- package/dist/openapi/models/InvalidEvent.d.ts +3 -0
- package/dist/openapi/models/InvalidEvent.js +1 -0
- package/dist/openapi/models/LineItem.d.ts +3 -0
- package/dist/openapi/models/LineItem.js +1 -0
- package/dist/openapi/models/LineItemRevenueBreakdown.d.ts +3 -0
- package/dist/openapi/models/LineItemRevenueBreakdown.js +1 -0
- package/dist/openapi/models/ListContractsResponse.d.ts +3 -0
- package/dist/openapi/models/ListContractsResponse.js +1 -0
- package/dist/openapi/models/ListCreditLedgerEntriesResponse.d.ts +3 -0
- package/dist/openapi/models/ListCreditLedgerEntriesResponse.js +1 -0
- package/dist/openapi/models/ListCustomersResponse.d.ts +3 -0
- package/dist/openapi/models/ListCustomersResponse.js +1 -0
- package/dist/openapi/models/ListInvoicesResponse.d.ts +3 -0
- package/dist/openapi/models/ListInvoicesResponse.js +1 -0
- package/dist/openapi/models/ListMetersResponse.d.ts +3 -0
- package/dist/openapi/models/ListMetersResponse.js +1 -0
- package/dist/openapi/models/ListPlansResponse.d.ts +3 -0
- package/dist/openapi/models/ListPlansResponse.js +1 -0
- package/dist/openapi/models/LoginRequest.d.ts +3 -0
- package/dist/openapi/models/LoginRequest.js +1 -0
- package/dist/openapi/models/LoginResponse.d.ts +3 -0
- package/dist/openapi/models/LoginResponse.js +1 -0
- package/dist/openapi/models/Meter.d.ts +3 -0
- package/dist/openapi/models/Meter.js +1 -0
- package/dist/openapi/models/NetSuiteExportSalesOrderRequest.d.ts +3 -0
- package/dist/openapi/models/NetSuiteExportSalesOrderRequest.js +1 -0
- package/dist/openapi/models/NetSuiteSyncInvoicesRequest.d.ts +3 -0
- package/dist/openapi/models/NetSuiteSyncInvoicesRequest.js +1 -0
- package/dist/openapi/models/NetSuiteSyncInvoicesRequestData.d.ts +3 -0
- package/dist/openapi/models/NetSuiteSyncInvoicesRequestData.js +1 -0
- package/dist/openapi/models/NetSuiteSyncInvoicesRequestDataEntity.d.ts +3 -0
- package/dist/openapi/models/NetSuiteSyncInvoicesRequestDataEntity.js +1 -0
- package/dist/openapi/models/NetSuiteSyncInvoicesRequestDataItem.d.ts +3 -0
- package/dist/openapi/models/NetSuiteSyncInvoicesRequestDataItem.js +1 -0
- package/dist/openapi/models/NetSuiteSyncInvoicesRequestDataItemItemsInner.d.ts +3 -0
- package/dist/openapi/models/NetSuiteSyncInvoicesRequestDataItemItemsInner.js +1 -0
- package/dist/openapi/models/NetSuiteSyncInvoicesResponse.d.ts +3 -0
- package/dist/openapi/models/NetSuiteSyncInvoicesResponse.js +1 -0
- package/dist/openapi/models/NotificationEventType.d.ts +2 -1
- package/dist/openapi/models/NotificationEventType.js +1 -0
- package/dist/openapi/models/ObjectSerializer.d.ts +6 -0
- package/dist/openapi/models/ObjectSerializer.js +68 -11
- package/dist/openapi/models/PlanBillingData.d.ts +5 -1
- package/dist/openapi/models/PlanBillingData.js +2 -1
- package/dist/{openapi-v2/models/UpdateEventPayload.d.ts → openapi/models/PlanDuration.d.ts} +7 -10
- package/dist/openapi/models/PlanDuration.js +25 -0
- package/dist/openapi/models/ProductConsumption.d.ts +59 -0
- package/dist/openapi/models/ProductConsumption.js +74 -0
- package/dist/openapi/models/QueryEventsResponse.d.ts +3 -0
- package/dist/openapi/models/QueryEventsResponse.js +1 -0
- package/dist/openapi/models/QueryEventsResponseEventsInner.d.ts +3 -0
- package/dist/openapi/models/QueryEventsResponseEventsInner.js +1 -0
- package/dist/openapi/models/SendEventsRequest.d.ts +3 -0
- package/dist/openapi/models/SendEventsRequest.js +1 -0
- package/dist/openapi/models/SendEventsResponse.d.ts +3 -0
- package/dist/openapi/models/SendEventsResponse.js +1 -0
- package/dist/openapi/models/UnlimitedDuration.d.ts +14 -0
- package/dist/openapi/models/UnlimitedDuration.js +18 -0
- package/dist/openapi/models/UpdateCustomerRequest.d.ts +3 -0
- package/dist/openapi/models/UpdateCustomerRequest.js +1 -0
- package/dist/openapi/models/UpdateCustomerResponse.d.ts +3 -0
- package/dist/openapi/models/UpdateCustomerResponse.js +1 -0
- package/dist/openapi/models/UpdateMeterRequest.d.ts +3 -0
- package/dist/openapi/models/UpdateMeterRequest.js +1 -0
- package/dist/openapi/models/UpdateMeterResponse.d.ts +3 -0
- package/dist/openapi/models/UpdateMeterResponse.js +1 -0
- package/dist/openapi/models/WebhookSubscribeRequest.d.ts +3 -0
- package/dist/openapi/models/WebhookSubscribeRequest.js +1 -0
- package/dist/openapi/models/all.d.ts +6 -0
- package/dist/openapi/models/all.js +6 -0
- package/dist/openapi/servers.js +2 -3
- package/dist/openapi/types/ObservableAPI.d.ts +138 -105
- package/dist/openapi/types/ObservableAPI.js +1185 -138
- package/dist/openapi/types/PromiseAPI.d.ts +136 -105
- package/dist/openapi/types/PromiseAPI.js +852 -108
- package/dist/openapi-v2/apis/AuthenticationApi.js +35 -49
- package/dist/openapi-v2/apis/CustomersApi.d.ts +15 -9
- package/dist/openapi-v2/apis/CustomersApi.js +245 -278
- package/dist/openapi-v2/apis/EntitlementsApi.d.ts +6 -3
- package/dist/openapi-v2/apis/EntitlementsApi.js +104 -125
- package/dist/openapi-v2/apis/EventsApi.d.ts +8 -4
- package/dist/openapi-v2/apis/EventsApi.js +144 -169
- package/dist/openapi-v2/apis/InvoicesApi.d.ts +13 -7
- package/dist/openapi-v2/apis/InvoicesApi.js +227 -260
- package/dist/openapi-v2/apis/ProductsApi.d.ts +11 -6
- package/dist/openapi-v2/apis/ProductsApi.js +193 -222
- package/dist/openapi-v2/auth/auth.d.ts +1 -0
- package/dist/openapi-v2/configuration.d.ts +8 -2
- package/dist/openapi-v2/http/http.d.ts +7 -20
- package/dist/openapi-v2/http/http.js +15 -25
- package/dist/openapi-v2/index.d.ts +3 -2
- package/dist/openapi-v2/index.js +3 -1
- package/dist/openapi-v2/models/APICreateCustomerPayload.d.ts +3 -0
- package/dist/openapi-v2/models/APICreateCustomerPayload.js +1 -0
- package/dist/openapi-v2/models/APICreateInvoicePayload.d.ts +3 -0
- package/dist/openapi-v2/models/APICreateInvoicePayload.js +1 -0
- package/dist/openapi-v2/models/APICreateProductPayload.d.ts +3 -0
- package/dist/openapi-v2/models/APICreateProductPayload.js +1 -0
- package/dist/openapi-v2/models/APICustomer.d.ts +3 -0
- package/dist/openapi-v2/models/APICustomer.js +1 -0
- package/dist/openapi-v2/models/APIEntitlement.d.ts +3 -0
- package/dist/openapi-v2/models/APIEntitlement.js +1 -0
- package/dist/openapi-v2/models/APIEvent.d.ts +3 -0
- package/dist/openapi-v2/models/APIEvent.js +1 -0
- package/dist/openapi-v2/models/APIIngestEventPayload.d.ts +3 -0
- package/dist/openapi-v2/models/APIIngestEventPayload.js +1 -0
- package/dist/openapi-v2/models/APIInvoice.d.ts +3 -0
- package/dist/openapi-v2/models/APIInvoice.js +1 -0
- package/dist/openapi-v2/models/APIInvoiceBillingPeriod.d.ts +3 -0
- package/dist/openapi-v2/models/APIInvoiceBillingPeriod.js +1 -0
- package/dist/openapi-v2/models/APIProduct.d.ts +3 -0
- package/dist/openapi-v2/models/APIProduct.js +1 -0
- package/dist/openapi-v2/models/APIQueryPayloadAPICustomer.d.ts +3 -0
- package/dist/openapi-v2/models/APIQueryPayloadAPICustomer.js +1 -0
- package/dist/openapi-v2/models/APIQueryPayloadAPIEntitlement.d.ts +3 -0
- package/dist/openapi-v2/models/APIQueryPayloadAPIEntitlement.js +1 -0
- package/dist/openapi-v2/models/APIQueryPayloadAPIEvent.d.ts +3 -0
- package/dist/openapi-v2/models/APIQueryPayloadAPIEvent.js +1 -0
- package/dist/openapi-v2/models/APIQueryPayloadAPIInvoice.d.ts +3 -0
- package/dist/openapi-v2/models/APIQueryPayloadAPIInvoice.js +1 -0
- package/dist/openapi-v2/models/APIQueryPayloadAPIProduct.d.ts +3 -0
- package/dist/openapi-v2/models/APIQueryPayloadAPIProduct.js +1 -0
- package/dist/openapi-v2/models/APIUpdateCustomerPayload.d.ts +3 -0
- package/dist/openapi-v2/models/APIUpdateCustomerPayload.js +1 -0
- package/dist/openapi-v2/models/APIUpdateInvoicePayload.d.ts +3 -0
- package/dist/openapi-v2/models/APIUpdateInvoicePayload.js +1 -0
- package/dist/openapi-v2/models/APIUpdateProductPayload.d.ts +3 -0
- package/dist/openapi-v2/models/APIUpdateProductPayload.js +1 -0
- package/dist/openapi-v2/models/Aggregation.d.ts +3 -0
- package/dist/openapi-v2/models/Aggregation.js +1 -0
- package/dist/openapi-v2/models/Condition.d.ts +3 -0
- package/dist/openapi-v2/models/Condition.js +1 -0
- package/dist/openapi-v2/models/Criterion.d.ts +3 -0
- package/dist/openapi-v2/models/Criterion.js +1 -0
- package/dist/openapi-v2/models/CriterionValue.d.ts +3 -0
- package/dist/openapi-v2/models/CriterionValue.js +1 -0
- package/dist/openapi-v2/models/EntitlementRevision.d.ts +3 -0
- package/dist/openapi-v2/models/EntitlementRevision.js +1 -0
- package/dist/openapi-v2/models/IngestEventToTheSystem201Response.d.ts +3 -0
- package/dist/openapi-v2/models/IngestEventToTheSystem201Response.js +1 -0
- package/dist/openapi-v2/models/InvoiceProductBreakdown.d.ts +3 -0
- package/dist/openapi-v2/models/InvoiceProductBreakdown.js +1 -0
- package/dist/openapi-v2/models/Login200Response.d.ts +3 -0
- package/dist/openapi-v2/models/Login200Response.js +1 -0
- package/dist/openapi-v2/models/LoginRequest.d.ts +3 -0
- package/dist/openapi-v2/models/LoginRequest.js +1 -0
- package/dist/openapi-v2/models/ObjectSerializer.d.ts +1 -2
- package/dist/openapi-v2/models/ObjectSerializer.js +53 -17
- package/dist/openapi-v2/models/Pricing.d.ts +5 -0
- package/dist/openapi-v2/models/Pricing.js +7 -0
- package/dist/openapi-v2/models/PricingCadence.d.ts +18 -0
- package/dist/openapi-v2/models/PricingCadence.js +22 -0
- package/dist/openapi-v2/models/PricingTiersInner.d.ts +3 -0
- package/dist/openapi-v2/models/PricingTiersInner.js +1 -0
- package/dist/openapi-v2/models/ProductBreakdown.d.ts +3 -0
- package/dist/openapi-v2/models/ProductBreakdown.js +1 -0
- package/dist/openapi-v2/models/QueryResultAPICustomer.d.ts +3 -0
- package/dist/openapi-v2/models/QueryResultAPICustomer.js +1 -0
- package/dist/openapi-v2/models/QueryResultAPIEntitlement.d.ts +3 -0
- package/dist/openapi-v2/models/QueryResultAPIEntitlement.js +1 -0
- package/dist/openapi-v2/models/QueryResultAPIEvent.d.ts +3 -0
- package/dist/openapi-v2/models/QueryResultAPIEvent.js +1 -0
- package/dist/openapi-v2/models/QueryResultAPIInvoice.d.ts +3 -0
- package/dist/openapi-v2/models/QueryResultAPIInvoice.js +1 -0
- package/dist/openapi-v2/models/QueryResultAPIProduct.d.ts +3 -0
- package/dist/openapi-v2/models/QueryResultAPIProduct.js +1 -0
- package/dist/openapi-v2/models/ReviseEntitlementPayload.d.ts +3 -0
- package/dist/openapi-v2/models/ReviseEntitlementPayload.js +1 -0
- package/dist/openapi-v2/models/all.d.ts +1 -2
- package/dist/openapi-v2/models/all.js +1 -2
- package/dist/openapi-v2/servers.js +2 -3
- package/dist/openapi-v2/types/ObservableAPI.d.ts +157 -109
- package/dist/openapi-v2/types/ObservableAPI.js +881 -133
- package/dist/openapi-v2/types/PromiseAPI.d.ts +157 -109
- package/dist/openapi-v2/types/PromiseAPI.js +657 -108
- package/dist/sdk/clients/ContractsClient.js +10 -27
- package/dist/sdk/clients/CustomersClient.js +14 -35
- package/dist/sdk/clients/EventsClient.js +13 -32
- package/dist/sdk/clients/InvoicesClient.js +6 -19
- package/dist/sdk/clients/MetersClient.js +10 -27
- package/dist/sdk/clients/PlansClient.js +8 -23
- package/dist/sdk/clients/ProductsConsumptionsClient.d.ts +5 -0
- package/dist/sdk/clients/ProductsConsumptionsClient.js +14 -0
- package/dist/sdk/clients/WebhooksClient.js +2 -13
- package/dist/sdk/clients/index.d.ts +1 -0
- package/dist/sdk/clients/index.js +1 -0
- package/dist/sdk/index.d.ts +2 -1
- package/dist/sdk/index.js +5 -13
- package/dist/sdk/services/configuration.service.js +21 -33
- package/dist/sdk-v2/clients/CustomersClient.js +12 -33
- package/dist/sdk-v2/clients/EntitlementsClient.js +6 -21
- package/dist/sdk-v2/clients/EventsClient.js +8 -25
- package/dist/sdk-v2/clients/InvoicesClient.js +12 -33
- package/dist/sdk-v2/clients/ProductsClient.js +10 -29
- package/dist/sdk-v2/index.js +2 -13
- package/dist/sdk-v2/services/configuration.service.js +22 -34
- package/dist/sdk-v2/types/index.d.ts +1 -1
- package/dist/sdk-v2/types/index.js +2 -1
- package/package.json +1 -1
- package/dist/openapi-v2/models/Event.d.ts +0 -54
- package/dist/openapi-v2/models/Event.js +0 -85
- package/dist/openapi-v2/models/UpdateEventPayload.js +0 -31
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { HttpInfo } from '../http/http';
|
|
2
|
-
import { Configuration } from '../configuration';
|
|
2
|
+
import { Configuration, PromiseConfigurationOptions } from '../configuration';
|
|
3
3
|
import { APICreateCustomerPayload } from '../models/APICreateCustomerPayload';
|
|
4
4
|
import { APICreateInvoicePayload } from '../models/APICreateInvoicePayload';
|
|
5
5
|
import { APICreateProductPayload } from '../models/APICreateProductPayload';
|
|
@@ -33,236 +33,284 @@ export declare class PromiseAuthenticationApi {
|
|
|
33
33
|
/**
|
|
34
34
|
* @param loginRequest
|
|
35
35
|
*/
|
|
36
|
-
loginWithHttpInfo(loginRequest: LoginRequest, _options?:
|
|
36
|
+
loginWithHttpInfo(loginRequest: LoginRequest, _options?: PromiseConfigurationOptions): Promise<HttpInfo<Login200Response>>;
|
|
37
37
|
/**
|
|
38
38
|
* @param loginRequest
|
|
39
39
|
*/
|
|
40
|
-
login(loginRequest: LoginRequest, _options?:
|
|
40
|
+
login(loginRequest: LoginRequest, _options?: PromiseConfigurationOptions): Promise<Login200Response>;
|
|
41
41
|
}
|
|
42
42
|
import { CustomersApiRequestFactory, CustomersApiResponseProcessor } from "../apis/CustomersApi";
|
|
43
43
|
export declare class PromiseCustomersApi {
|
|
44
44
|
private api;
|
|
45
45
|
constructor(configuration: Configuration, requestFactory?: CustomersApiRequestFactory, responseProcessor?: CustomersApiResponseProcessor);
|
|
46
46
|
/**
|
|
47
|
-
*
|
|
47
|
+
* Create a new customer.
|
|
48
|
+
* @param aPICreateCustomerPayload - The details of the customer to create.
|
|
48
49
|
*/
|
|
49
|
-
createCustomerWithHttpInfo(aPICreateCustomerPayload: APICreateCustomerPayload, _options?:
|
|
50
|
+
createCustomerWithHttpInfo(aPICreateCustomerPayload: APICreateCustomerPayload, _options?: PromiseConfigurationOptions): Promise<HttpInfo<APICustomer>>;
|
|
50
51
|
/**
|
|
51
|
-
*
|
|
52
|
+
* Create a new customer.
|
|
53
|
+
* @param aPICreateCustomerPayload - The details of the customer to create.
|
|
52
54
|
*/
|
|
53
|
-
createCustomer(aPICreateCustomerPayload: APICreateCustomerPayload, _options?:
|
|
55
|
+
createCustomer(aPICreateCustomerPayload: APICreateCustomerPayload, _options?: PromiseConfigurationOptions): Promise<APICustomer>;
|
|
54
56
|
/**
|
|
55
|
-
*
|
|
57
|
+
* Delete a customer by ID.
|
|
58
|
+
* @param id - The ID of the customer to delete.
|
|
56
59
|
*/
|
|
57
|
-
deleteCustomerWithHttpInfo(id: string, _options?:
|
|
60
|
+
deleteCustomerWithHttpInfo(id: string, _options?: PromiseConfigurationOptions): Promise<HttpInfo<void>>;
|
|
58
61
|
/**
|
|
59
|
-
*
|
|
62
|
+
* Delete a customer by ID.
|
|
63
|
+
* @param id - The ID of the customer to delete.
|
|
60
64
|
*/
|
|
61
|
-
deleteCustomer(id: string, _options?:
|
|
65
|
+
deleteCustomer(id: string, _options?: PromiseConfigurationOptions): Promise<void>;
|
|
62
66
|
/**
|
|
63
|
-
*
|
|
67
|
+
* Get a single customer by ID.
|
|
68
|
+
* @param id - The ID of the customer to fetch.
|
|
64
69
|
*/
|
|
65
|
-
getCustomerWithHttpInfo(id: string, _options?:
|
|
70
|
+
getCustomerWithHttpInfo(id: string, _options?: PromiseConfigurationOptions): Promise<HttpInfo<APICustomer>>;
|
|
66
71
|
/**
|
|
67
|
-
*
|
|
72
|
+
* Get a single customer by ID.
|
|
73
|
+
* @param id - The ID of the customer to fetch.
|
|
68
74
|
*/
|
|
69
|
-
getCustomer(id: string, _options?:
|
|
75
|
+
getCustomer(id: string, _options?: PromiseConfigurationOptions): Promise<APICustomer>;
|
|
70
76
|
/**
|
|
71
|
-
*
|
|
77
|
+
* Query customers based on filters and pagination.
|
|
78
|
+
* @param aPIQueryPayloadAPICustomer - The query filters and pagination options.
|
|
72
79
|
*/
|
|
73
|
-
queryCustomersWithHttpInfo(aPIQueryPayloadAPICustomer: APIQueryPayloadAPICustomer, _options?:
|
|
80
|
+
queryCustomersWithHttpInfo(aPIQueryPayloadAPICustomer: APIQueryPayloadAPICustomer, _options?: PromiseConfigurationOptions): Promise<HttpInfo<QueryResultAPICustomer>>;
|
|
74
81
|
/**
|
|
75
|
-
*
|
|
82
|
+
* Query customers based on filters and pagination.
|
|
83
|
+
* @param aPIQueryPayloadAPICustomer - The query filters and pagination options.
|
|
76
84
|
*/
|
|
77
|
-
queryCustomers(aPIQueryPayloadAPICustomer: APIQueryPayloadAPICustomer, _options?:
|
|
85
|
+
queryCustomers(aPIQueryPayloadAPICustomer: APIQueryPayloadAPICustomer, _options?: PromiseConfigurationOptions): Promise<QueryResultAPICustomer>;
|
|
78
86
|
/**
|
|
79
|
-
*
|
|
80
|
-
* @param
|
|
81
|
-
* @param
|
|
87
|
+
* Revise a customer\'s product.
|
|
88
|
+
* @param body - The details of the revision to apply.
|
|
89
|
+
* @param id - The ID of the customer to revise.
|
|
90
|
+
* @param productId - The ID of the product to revise.
|
|
82
91
|
*/
|
|
83
|
-
updateACustomersProductWithHttpInfo(body: ReviseEntitlementPayload, id: string, productId: string, _options?:
|
|
92
|
+
updateACustomersProductWithHttpInfo(body: ReviseEntitlementPayload, id: string, productId: string, _options?: PromiseConfigurationOptions): Promise<HttpInfo<APIEntitlement>>;
|
|
84
93
|
/**
|
|
85
|
-
*
|
|
86
|
-
* @param
|
|
87
|
-
* @param
|
|
94
|
+
* Revise a customer\'s product.
|
|
95
|
+
* @param body - The details of the revision to apply.
|
|
96
|
+
* @param id - The ID of the customer to revise.
|
|
97
|
+
* @param productId - The ID of the product to revise.
|
|
88
98
|
*/
|
|
89
|
-
updateACustomersProduct(body: ReviseEntitlementPayload, id: string, productId: string, _options?:
|
|
99
|
+
updateACustomersProduct(body: ReviseEntitlementPayload, id: string, productId: string, _options?: PromiseConfigurationOptions): Promise<APIEntitlement>;
|
|
90
100
|
/**
|
|
91
|
-
*
|
|
92
|
-
* @param
|
|
101
|
+
* Update an existing customer.
|
|
102
|
+
* @param aPIUpdateCustomerPayload - The updated details of the customer.
|
|
103
|
+
* @param id - The ID of the customer to update.
|
|
93
104
|
*/
|
|
94
|
-
updateCustomerWithHttpInfo(aPIUpdateCustomerPayload: APIUpdateCustomerPayload, id: string, _options?:
|
|
105
|
+
updateCustomerWithHttpInfo(aPIUpdateCustomerPayload: APIUpdateCustomerPayload, id: string, _options?: PromiseConfigurationOptions): Promise<HttpInfo<APICustomer>>;
|
|
95
106
|
/**
|
|
96
|
-
*
|
|
97
|
-
* @param
|
|
107
|
+
* Update an existing customer.
|
|
108
|
+
* @param aPIUpdateCustomerPayload - The updated details of the customer.
|
|
109
|
+
* @param id - The ID of the customer to update.
|
|
98
110
|
*/
|
|
99
|
-
updateCustomer(aPIUpdateCustomerPayload: APIUpdateCustomerPayload, id: string, _options?:
|
|
111
|
+
updateCustomer(aPIUpdateCustomerPayload: APIUpdateCustomerPayload, id: string, _options?: PromiseConfigurationOptions): Promise<APICustomer>;
|
|
100
112
|
}
|
|
101
113
|
import { EntitlementsApiRequestFactory, EntitlementsApiResponseProcessor } from "../apis/EntitlementsApi";
|
|
102
114
|
export declare class PromiseEntitlementsApi {
|
|
103
115
|
private api;
|
|
104
116
|
constructor(configuration: Configuration, requestFactory?: EntitlementsApiRequestFactory, responseProcessor?: EntitlementsApiResponseProcessor);
|
|
105
117
|
/**
|
|
106
|
-
*
|
|
118
|
+
* Delete an entitlement by ID.
|
|
119
|
+
* @param id - The ID of the entitlement to delete.
|
|
107
120
|
*/
|
|
108
|
-
deleteEntitlementWithHttpInfo(id: string, _options?:
|
|
121
|
+
deleteEntitlementWithHttpInfo(id: string, _options?: PromiseConfigurationOptions): Promise<HttpInfo<void>>;
|
|
109
122
|
/**
|
|
110
|
-
*
|
|
123
|
+
* Delete an entitlement by ID.
|
|
124
|
+
* @param id - The ID of the entitlement to delete.
|
|
111
125
|
*/
|
|
112
|
-
deleteEntitlement(id: string, _options?:
|
|
126
|
+
deleteEntitlement(id: string, _options?: PromiseConfigurationOptions): Promise<void>;
|
|
113
127
|
/**
|
|
114
|
-
*
|
|
128
|
+
* Get a single entitlement by ID.
|
|
129
|
+
* @param id - The ID of the entitlement to fetch.
|
|
115
130
|
*/
|
|
116
|
-
getEntitlementWithHttpInfo(id: string, _options?:
|
|
131
|
+
getEntitlementWithHttpInfo(id: string, _options?: PromiseConfigurationOptions): Promise<HttpInfo<APIEntitlement>>;
|
|
117
132
|
/**
|
|
118
|
-
*
|
|
133
|
+
* Get a single entitlement by ID.
|
|
134
|
+
* @param id - The ID of the entitlement to fetch.
|
|
119
135
|
*/
|
|
120
|
-
getEntitlement(id: string, _options?:
|
|
136
|
+
getEntitlement(id: string, _options?: PromiseConfigurationOptions): Promise<APIEntitlement>;
|
|
121
137
|
/**
|
|
122
|
-
*
|
|
138
|
+
* Query entitlements based on filters and pagination.
|
|
139
|
+
* @param aPIQueryPayloadAPIEntitlement - The query filters and pagination options.
|
|
123
140
|
*/
|
|
124
|
-
queryEntitlementsWithHttpInfo(aPIQueryPayloadAPIEntitlement: APIQueryPayloadAPIEntitlement, _options?:
|
|
141
|
+
queryEntitlementsWithHttpInfo(aPIQueryPayloadAPIEntitlement: APIQueryPayloadAPIEntitlement, _options?: PromiseConfigurationOptions): Promise<HttpInfo<QueryResultAPIEntitlement>>;
|
|
125
142
|
/**
|
|
126
|
-
*
|
|
143
|
+
* Query entitlements based on filters and pagination.
|
|
144
|
+
* @param aPIQueryPayloadAPIEntitlement - The query filters and pagination options.
|
|
127
145
|
*/
|
|
128
|
-
queryEntitlements(aPIQueryPayloadAPIEntitlement: APIQueryPayloadAPIEntitlement, _options?:
|
|
146
|
+
queryEntitlements(aPIQueryPayloadAPIEntitlement: APIQueryPayloadAPIEntitlement, _options?: PromiseConfigurationOptions): Promise<QueryResultAPIEntitlement>;
|
|
129
147
|
}
|
|
130
148
|
import { EventsApiRequestFactory, EventsApiResponseProcessor } from "../apis/EventsApi";
|
|
131
149
|
export declare class PromiseEventsApi {
|
|
132
150
|
private api;
|
|
133
151
|
constructor(configuration: Configuration, requestFactory?: EventsApiRequestFactory, responseProcessor?: EventsApiResponseProcessor);
|
|
134
152
|
/**
|
|
135
|
-
*
|
|
153
|
+
* Delete an event by ID.
|
|
154
|
+
* @param id - The ID of the event to delete.
|
|
136
155
|
*/
|
|
137
|
-
deleteEventWithHttpInfo(id: string, _options?:
|
|
156
|
+
deleteEventWithHttpInfo(id: string, _options?: PromiseConfigurationOptions): Promise<HttpInfo<void>>;
|
|
138
157
|
/**
|
|
139
|
-
*
|
|
158
|
+
* Delete an event by ID.
|
|
159
|
+
* @param id - The ID of the event to delete.
|
|
140
160
|
*/
|
|
141
|
-
deleteEvent(id: string, _options?:
|
|
161
|
+
deleteEvent(id: string, _options?: PromiseConfigurationOptions): Promise<void>;
|
|
142
162
|
/**
|
|
143
|
-
*
|
|
163
|
+
* Get a single event by ID.
|
|
164
|
+
* @param id - The ID of the event to fetch.
|
|
144
165
|
*/
|
|
145
|
-
getEventWithHttpInfo(id: string, _options?:
|
|
166
|
+
getEventWithHttpInfo(id: string, _options?: PromiseConfigurationOptions): Promise<HttpInfo<APIEvent>>;
|
|
146
167
|
/**
|
|
147
|
-
*
|
|
168
|
+
* Get a single event by ID.
|
|
169
|
+
* @param id - The ID of the event to fetch.
|
|
148
170
|
*/
|
|
149
|
-
getEvent(id: string, _options?:
|
|
171
|
+
getEvent(id: string, _options?: PromiseConfigurationOptions): Promise<APIEvent>;
|
|
150
172
|
/**
|
|
151
|
-
*
|
|
173
|
+
* Ingest events to the system
|
|
174
|
+
* @param aPIIngestEventPayload - The events to ingest
|
|
152
175
|
*/
|
|
153
|
-
ingestEventToTheSystemWithHttpInfo(aPIIngestEventPayload: Array<APIIngestEventPayload>, _options?:
|
|
176
|
+
ingestEventToTheSystemWithHttpInfo(aPIIngestEventPayload: Array<APIIngestEventPayload>, _options?: PromiseConfigurationOptions): Promise<HttpInfo<IngestEventToTheSystem201Response>>;
|
|
154
177
|
/**
|
|
155
|
-
*
|
|
178
|
+
* Ingest events to the system
|
|
179
|
+
* @param aPIIngestEventPayload - The events to ingest
|
|
156
180
|
*/
|
|
157
|
-
ingestEventToTheSystem(aPIIngestEventPayload: Array<APIIngestEventPayload>, _options?:
|
|
181
|
+
ingestEventToTheSystem(aPIIngestEventPayload: Array<APIIngestEventPayload>, _options?: PromiseConfigurationOptions): Promise<IngestEventToTheSystem201Response>;
|
|
158
182
|
/**
|
|
159
|
-
*
|
|
183
|
+
* Query events based on filters and pagination.
|
|
184
|
+
* @param aPIQueryPayloadAPIEvent - The query filters and pagination options.
|
|
160
185
|
*/
|
|
161
|
-
queryEventsWithHttpInfo(aPIQueryPayloadAPIEvent: APIQueryPayloadAPIEvent, _options?:
|
|
186
|
+
queryEventsWithHttpInfo(aPIQueryPayloadAPIEvent: APIQueryPayloadAPIEvent, _options?: PromiseConfigurationOptions): Promise<HttpInfo<QueryResultAPIEvent>>;
|
|
162
187
|
/**
|
|
163
|
-
*
|
|
188
|
+
* Query events based on filters and pagination.
|
|
189
|
+
* @param aPIQueryPayloadAPIEvent - The query filters and pagination options.
|
|
164
190
|
*/
|
|
165
|
-
queryEvents(aPIQueryPayloadAPIEvent: APIQueryPayloadAPIEvent, _options?:
|
|
191
|
+
queryEvents(aPIQueryPayloadAPIEvent: APIQueryPayloadAPIEvent, _options?: PromiseConfigurationOptions): Promise<QueryResultAPIEvent>;
|
|
166
192
|
}
|
|
167
193
|
import { InvoicesApiRequestFactory, InvoicesApiResponseProcessor } from "../apis/InvoicesApi";
|
|
168
194
|
export declare class PromiseInvoicesApi {
|
|
169
195
|
private api;
|
|
170
196
|
constructor(configuration: Configuration, requestFactory?: InvoicesApiRequestFactory, responseProcessor?: InvoicesApiResponseProcessor);
|
|
171
197
|
/**
|
|
172
|
-
*
|
|
198
|
+
* Calculate the total of an invoice.
|
|
199
|
+
* @param id - The ID of the invoice to calculate.
|
|
173
200
|
*/
|
|
174
|
-
calculateInvoiceWithHttpInfo(id: string, _options?:
|
|
201
|
+
calculateInvoiceWithHttpInfo(id: string, _options?: PromiseConfigurationOptions): Promise<HttpInfo<APIInvoice>>;
|
|
175
202
|
/**
|
|
176
|
-
*
|
|
203
|
+
* Calculate the total of an invoice.
|
|
204
|
+
* @param id - The ID of the invoice to calculate.
|
|
177
205
|
*/
|
|
178
|
-
calculateInvoice(id: string, _options?:
|
|
206
|
+
calculateInvoice(id: string, _options?: PromiseConfigurationOptions): Promise<APIInvoice>;
|
|
179
207
|
/**
|
|
180
|
-
*
|
|
208
|
+
* Create a new invoice.
|
|
209
|
+
* @param aPICreateInvoicePayload - The details of the invoice to create.
|
|
181
210
|
*/
|
|
182
|
-
createInvoiceWithHttpInfo(aPICreateInvoicePayload: APICreateInvoicePayload, _options?:
|
|
211
|
+
createInvoiceWithHttpInfo(aPICreateInvoicePayload: APICreateInvoicePayload, _options?: PromiseConfigurationOptions): Promise<HttpInfo<APIInvoice>>;
|
|
183
212
|
/**
|
|
184
|
-
*
|
|
213
|
+
* Create a new invoice.
|
|
214
|
+
* @param aPICreateInvoicePayload - The details of the invoice to create.
|
|
185
215
|
*/
|
|
186
|
-
createInvoice(aPICreateInvoicePayload: APICreateInvoicePayload, _options?:
|
|
216
|
+
createInvoice(aPICreateInvoicePayload: APICreateInvoicePayload, _options?: PromiseConfigurationOptions): Promise<APIInvoice>;
|
|
187
217
|
/**
|
|
188
|
-
*
|
|
218
|
+
* Delete an invoice by ID.
|
|
219
|
+
* @param id - The ID of the invoice to delete.
|
|
189
220
|
*/
|
|
190
|
-
deleteInvoiceWithHttpInfo(id: string, _options?:
|
|
221
|
+
deleteInvoiceWithHttpInfo(id: string, _options?: PromiseConfigurationOptions): Promise<HttpInfo<void>>;
|
|
191
222
|
/**
|
|
192
|
-
*
|
|
223
|
+
* Delete an invoice by ID.
|
|
224
|
+
* @param id - The ID of the invoice to delete.
|
|
193
225
|
*/
|
|
194
|
-
deleteInvoice(id: string, _options?:
|
|
226
|
+
deleteInvoice(id: string, _options?: PromiseConfigurationOptions): Promise<void>;
|
|
195
227
|
/**
|
|
196
|
-
*
|
|
228
|
+
* Get a single invoice by ID.
|
|
229
|
+
* @param id - The ID of the invoice to fetch.
|
|
197
230
|
*/
|
|
198
|
-
getInvoiceWithHttpInfo(id: string, _options?:
|
|
231
|
+
getInvoiceWithHttpInfo(id: string, _options?: PromiseConfigurationOptions): Promise<HttpInfo<APIInvoice>>;
|
|
199
232
|
/**
|
|
200
|
-
*
|
|
233
|
+
* Get a single invoice by ID.
|
|
234
|
+
* @param id - The ID of the invoice to fetch.
|
|
201
235
|
*/
|
|
202
|
-
getInvoice(id: string, _options?:
|
|
236
|
+
getInvoice(id: string, _options?: PromiseConfigurationOptions): Promise<APIInvoice>;
|
|
203
237
|
/**
|
|
204
|
-
*
|
|
238
|
+
* Query invoices based on filters and pagination.
|
|
239
|
+
* @param aPIQueryPayloadAPIInvoice - The query filters and pagination options.
|
|
205
240
|
*/
|
|
206
|
-
queryInvoicesWithHttpInfo(aPIQueryPayloadAPIInvoice: APIQueryPayloadAPIInvoice, _options?:
|
|
241
|
+
queryInvoicesWithHttpInfo(aPIQueryPayloadAPIInvoice: APIQueryPayloadAPIInvoice, _options?: PromiseConfigurationOptions): Promise<HttpInfo<QueryResultAPIInvoice>>;
|
|
207
242
|
/**
|
|
208
|
-
*
|
|
243
|
+
* Query invoices based on filters and pagination.
|
|
244
|
+
* @param aPIQueryPayloadAPIInvoice - The query filters and pagination options.
|
|
209
245
|
*/
|
|
210
|
-
queryInvoices(aPIQueryPayloadAPIInvoice: APIQueryPayloadAPIInvoice, _options?:
|
|
246
|
+
queryInvoices(aPIQueryPayloadAPIInvoice: APIQueryPayloadAPIInvoice, _options?: PromiseConfigurationOptions): Promise<QueryResultAPIInvoice>;
|
|
211
247
|
/**
|
|
212
|
-
*
|
|
213
|
-
* @param
|
|
248
|
+
* Update an existing invoice.
|
|
249
|
+
* @param aPIUpdateInvoicePayload - The updated details of the invoice.
|
|
250
|
+
* @param id - The ID of the invoice to update.
|
|
214
251
|
*/
|
|
215
|
-
updateInvoiceWithHttpInfo(aPIUpdateInvoicePayload: APIUpdateInvoicePayload, id: string, _options?:
|
|
252
|
+
updateInvoiceWithHttpInfo(aPIUpdateInvoicePayload: APIUpdateInvoicePayload, id: string, _options?: PromiseConfigurationOptions): Promise<HttpInfo<APIInvoice>>;
|
|
216
253
|
/**
|
|
217
|
-
*
|
|
218
|
-
* @param
|
|
254
|
+
* Update an existing invoice.
|
|
255
|
+
* @param aPIUpdateInvoicePayload - The updated details of the invoice.
|
|
256
|
+
* @param id - The ID of the invoice to update.
|
|
219
257
|
*/
|
|
220
|
-
updateInvoice(aPIUpdateInvoicePayload: APIUpdateInvoicePayload, id: string, _options?:
|
|
258
|
+
updateInvoice(aPIUpdateInvoicePayload: APIUpdateInvoicePayload, id: string, _options?: PromiseConfigurationOptions): Promise<APIInvoice>;
|
|
221
259
|
}
|
|
222
260
|
import { ProductsApiRequestFactory, ProductsApiResponseProcessor } from "../apis/ProductsApi";
|
|
223
261
|
export declare class PromiseProductsApi {
|
|
224
262
|
private api;
|
|
225
263
|
constructor(configuration: Configuration, requestFactory?: ProductsApiRequestFactory, responseProcessor?: ProductsApiResponseProcessor);
|
|
226
264
|
/**
|
|
227
|
-
*
|
|
265
|
+
* Create a new product.
|
|
266
|
+
* @param aPICreateProductPayload - The details of the product to create.
|
|
228
267
|
*/
|
|
229
|
-
createProductWithHttpInfo(aPICreateProductPayload: APICreateProductPayload, _options?:
|
|
268
|
+
createProductWithHttpInfo(aPICreateProductPayload: APICreateProductPayload, _options?: PromiseConfigurationOptions): Promise<HttpInfo<APIProduct>>;
|
|
230
269
|
/**
|
|
231
|
-
*
|
|
270
|
+
* Create a new product.
|
|
271
|
+
* @param aPICreateProductPayload - The details of the product to create.
|
|
232
272
|
*/
|
|
233
|
-
createProduct(aPICreateProductPayload: APICreateProductPayload, _options?:
|
|
273
|
+
createProduct(aPICreateProductPayload: APICreateProductPayload, _options?: PromiseConfigurationOptions): Promise<APIProduct>;
|
|
234
274
|
/**
|
|
235
|
-
*
|
|
275
|
+
* Delete a product by ID.
|
|
276
|
+
* @param id - The ID of the product to delete.
|
|
236
277
|
*/
|
|
237
|
-
deleteProductWithHttpInfo(id: string, _options?:
|
|
278
|
+
deleteProductWithHttpInfo(id: string, _options?: PromiseConfigurationOptions): Promise<HttpInfo<void>>;
|
|
238
279
|
/**
|
|
239
|
-
*
|
|
280
|
+
* Delete a product by ID.
|
|
281
|
+
* @param id - The ID of the product to delete.
|
|
240
282
|
*/
|
|
241
|
-
deleteProduct(id: string, _options?:
|
|
283
|
+
deleteProduct(id: string, _options?: PromiseConfigurationOptions): Promise<void>;
|
|
242
284
|
/**
|
|
243
|
-
*
|
|
285
|
+
* Get a single product by ID.
|
|
286
|
+
* @param id - The ID of the product to fetch.
|
|
244
287
|
*/
|
|
245
|
-
getProductWithHttpInfo(id: string, _options?:
|
|
288
|
+
getProductWithHttpInfo(id: string, _options?: PromiseConfigurationOptions): Promise<HttpInfo<APIProduct>>;
|
|
246
289
|
/**
|
|
247
|
-
*
|
|
290
|
+
* Get a single product by ID.
|
|
291
|
+
* @param id - The ID of the product to fetch.
|
|
248
292
|
*/
|
|
249
|
-
getProduct(id: string, _options?:
|
|
293
|
+
getProduct(id: string, _options?: PromiseConfigurationOptions): Promise<APIProduct>;
|
|
250
294
|
/**
|
|
251
|
-
*
|
|
295
|
+
* Query products based on filters and pagination.
|
|
296
|
+
* @param aPIQueryPayloadAPIProduct - The query filters and pagination details.
|
|
252
297
|
*/
|
|
253
|
-
queryProductsWithHttpInfo(aPIQueryPayloadAPIProduct: APIQueryPayloadAPIProduct, _options?:
|
|
298
|
+
queryProductsWithHttpInfo(aPIQueryPayloadAPIProduct: APIQueryPayloadAPIProduct, _options?: PromiseConfigurationOptions): Promise<HttpInfo<QueryResultAPIProduct>>;
|
|
254
299
|
/**
|
|
255
|
-
*
|
|
300
|
+
* Query products based on filters and pagination.
|
|
301
|
+
* @param aPIQueryPayloadAPIProduct - The query filters and pagination details.
|
|
256
302
|
*/
|
|
257
|
-
queryProducts(aPIQueryPayloadAPIProduct: APIQueryPayloadAPIProduct, _options?:
|
|
303
|
+
queryProducts(aPIQueryPayloadAPIProduct: APIQueryPayloadAPIProduct, _options?: PromiseConfigurationOptions): Promise<QueryResultAPIProduct>;
|
|
258
304
|
/**
|
|
259
|
-
*
|
|
260
|
-
* @param
|
|
305
|
+
* Update an existing product.
|
|
306
|
+
* @param aPIUpdateProductPayload - The updated details of the product.
|
|
307
|
+
* @param id - The ID of the product to update.
|
|
261
308
|
*/
|
|
262
|
-
updateProductWithHttpInfo(aPIUpdateProductPayload: APIUpdateProductPayload, id: string, _options?:
|
|
309
|
+
updateProductWithHttpInfo(aPIUpdateProductPayload: APIUpdateProductPayload, id: string, _options?: PromiseConfigurationOptions): Promise<HttpInfo<APIProduct>>;
|
|
263
310
|
/**
|
|
264
|
-
*
|
|
265
|
-
* @param
|
|
311
|
+
* Update an existing product.
|
|
312
|
+
* @param aPIUpdateProductPayload - The updated details of the product.
|
|
313
|
+
* @param id - The ID of the product to update.
|
|
266
314
|
*/
|
|
267
|
-
updateProduct(aPIUpdateProductPayload: APIUpdateProductPayload, id: string, _options?:
|
|
315
|
+
updateProduct(aPIUpdateProductPayload: APIUpdateProductPayload, id: string, _options?: PromiseConfigurationOptions): Promise<APIProduct>;
|
|
268
316
|
}
|