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