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