vayu-ts 0.2.4 → 0.2.6
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-v2/apis/CustomersApi.d.ts +15 -9
- package/dist/openapi-v2/apis/CustomersApi.js +15 -9
- package/dist/openapi-v2/apis/EntitlementsApi.d.ts +6 -3
- package/dist/openapi-v2/apis/EntitlementsApi.js +6 -3
- package/dist/openapi-v2/apis/EventsApi.d.ts +8 -4
- package/dist/openapi-v2/apis/EventsApi.js +8 -4
- package/dist/openapi-v2/apis/InvoicesApi.d.ts +13 -7
- package/dist/openapi-v2/apis/InvoicesApi.js +13 -7
- package/dist/openapi-v2/apis/ProductsApi.d.ts +11 -6
- package/dist/openapi-v2/apis/ProductsApi.js +11 -6
- package/dist/openapi-v2/models/ObjectSerializer.d.ts +1 -2
- package/dist/openapi-v2/models/ObjectSerializer.js +2 -6
- package/dist/openapi-v2/models/Pricing.d.ts +2 -0
- package/dist/openapi-v2/models/Pricing.js +6 -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/all.d.ts +1 -2
- package/dist/openapi-v2/models/all.js +1 -2
- package/dist/openapi-v2/types/ObservableAPI.d.ts +106 -58
- package/dist/openapi-v2/types/ObservableAPI.js +106 -58
- package/dist/openapi-v2/types/PromiseAPI.d.ts +106 -58
- package/dist/openapi-v2/types/PromiseAPI.js +106 -58
- package/dist/sdk-v2/clients/index.d.ts +1 -0
- package/dist/sdk-v2/clients/index.js +1 -0
- package/dist/sdk-v2/index.d.ts +2 -1
- package/dist/sdk-v2/index.js +3 -0
- package/dist/sdk-v2/types/index.d.ts +2 -1
- package/dist/sdk-v2/types/index.js +3 -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.d.ts +0 -33
- package/dist/openapi-v2/models/UpdateEventPayload.js +0 -31
|
@@ -49,57 +49,69 @@ export declare class ObservableCustomersApi {
|
|
|
49
49
|
private configuration;
|
|
50
50
|
constructor(configuration: Configuration, requestFactory?: CustomersApiRequestFactory, responseProcessor?: CustomersApiResponseProcessor);
|
|
51
51
|
/**
|
|
52
|
-
*
|
|
52
|
+
* Create a new customer.
|
|
53
|
+
* @param aPICreateCustomerPayload - The details of the customer to create.
|
|
53
54
|
*/
|
|
54
55
|
createCustomerWithHttpInfo(aPICreateCustomerPayload: APICreateCustomerPayload, _options?: Configuration): Observable<HttpInfo<APICustomer>>;
|
|
55
56
|
/**
|
|
56
|
-
*
|
|
57
|
+
* Create a new customer.
|
|
58
|
+
* @param aPICreateCustomerPayload - The details of the customer to create.
|
|
57
59
|
*/
|
|
58
60
|
createCustomer(aPICreateCustomerPayload: APICreateCustomerPayload, _options?: Configuration): Observable<APICustomer>;
|
|
59
61
|
/**
|
|
60
|
-
*
|
|
62
|
+
* Delete a customer by ID.
|
|
63
|
+
* @param id - The ID of the customer to delete.
|
|
61
64
|
*/
|
|
62
65
|
deleteCustomerWithHttpInfo(id: string, _options?: Configuration): Observable<HttpInfo<void>>;
|
|
63
66
|
/**
|
|
64
|
-
*
|
|
67
|
+
* Delete a customer by ID.
|
|
68
|
+
* @param id - The ID of the customer to delete.
|
|
65
69
|
*/
|
|
66
70
|
deleteCustomer(id: string, _options?: Configuration): Observable<void>;
|
|
67
71
|
/**
|
|
68
|
-
*
|
|
72
|
+
* Get a single customer by ID.
|
|
73
|
+
* @param id - The ID of the customer to fetch.
|
|
69
74
|
*/
|
|
70
75
|
getCustomerWithHttpInfo(id: string, _options?: Configuration): Observable<HttpInfo<APICustomer>>;
|
|
71
76
|
/**
|
|
72
|
-
*
|
|
77
|
+
* Get a single customer by ID.
|
|
78
|
+
* @param id - The ID of the customer to fetch.
|
|
73
79
|
*/
|
|
74
80
|
getCustomer(id: string, _options?: Configuration): Observable<APICustomer>;
|
|
75
81
|
/**
|
|
76
|
-
*
|
|
82
|
+
* Query customers based on filters and pagination.
|
|
83
|
+
* @param aPIQueryPayloadAPICustomer - The query filters and pagination options.
|
|
77
84
|
*/
|
|
78
85
|
queryCustomersWithHttpInfo(aPIQueryPayloadAPICustomer: APIQueryPayloadAPICustomer, _options?: Configuration): Observable<HttpInfo<QueryResultAPICustomer>>;
|
|
79
86
|
/**
|
|
80
|
-
*
|
|
87
|
+
* Query customers based on filters and pagination.
|
|
88
|
+
* @param aPIQueryPayloadAPICustomer - The query filters and pagination options.
|
|
81
89
|
*/
|
|
82
90
|
queryCustomers(aPIQueryPayloadAPICustomer: APIQueryPayloadAPICustomer, _options?: Configuration): Observable<QueryResultAPICustomer>;
|
|
83
91
|
/**
|
|
84
|
-
*
|
|
85
|
-
* @param
|
|
86
|
-
* @param
|
|
92
|
+
* Revise a customer\'s product.
|
|
93
|
+
* @param body - The details of the revision to apply.
|
|
94
|
+
* @param id - The ID of the customer to revise.
|
|
95
|
+
* @param productId - The ID of the product to revise.
|
|
87
96
|
*/
|
|
88
97
|
updateACustomersProductWithHttpInfo(body: ReviseEntitlementPayload, id: string, productId: string, _options?: Configuration): Observable<HttpInfo<APIEntitlement>>;
|
|
89
98
|
/**
|
|
90
|
-
*
|
|
91
|
-
* @param
|
|
92
|
-
* @param
|
|
99
|
+
* Revise a customer\'s product.
|
|
100
|
+
* @param body - The details of the revision to apply.
|
|
101
|
+
* @param id - The ID of the customer to revise.
|
|
102
|
+
* @param productId - The ID of the product to revise.
|
|
93
103
|
*/
|
|
94
104
|
updateACustomersProduct(body: ReviseEntitlementPayload, id: string, productId: string, _options?: Configuration): Observable<APIEntitlement>;
|
|
95
105
|
/**
|
|
96
|
-
*
|
|
97
|
-
* @param
|
|
106
|
+
* Update an existing customer.
|
|
107
|
+
* @param aPIUpdateCustomerPayload - The updated details of the customer.
|
|
108
|
+
* @param id - The ID of the customer to update.
|
|
98
109
|
*/
|
|
99
110
|
updateCustomerWithHttpInfo(aPIUpdateCustomerPayload: APIUpdateCustomerPayload, id: string, _options?: Configuration): Observable<HttpInfo<APICustomer>>;
|
|
100
111
|
/**
|
|
101
|
-
*
|
|
102
|
-
* @param
|
|
112
|
+
* Update an existing customer.
|
|
113
|
+
* @param aPIUpdateCustomerPayload - The updated details of the customer.
|
|
114
|
+
* @param id - The ID of the customer to update.
|
|
103
115
|
*/
|
|
104
116
|
updateCustomer(aPIUpdateCustomerPayload: APIUpdateCustomerPayload, id: string, _options?: Configuration): Observable<APICustomer>;
|
|
105
117
|
}
|
|
@@ -110,27 +122,33 @@ export declare class ObservableEntitlementsApi {
|
|
|
110
122
|
private configuration;
|
|
111
123
|
constructor(configuration: Configuration, requestFactory?: EntitlementsApiRequestFactory, responseProcessor?: EntitlementsApiResponseProcessor);
|
|
112
124
|
/**
|
|
113
|
-
*
|
|
125
|
+
* Delete an entitlement by ID.
|
|
126
|
+
* @param id - The ID of the entitlement to delete.
|
|
114
127
|
*/
|
|
115
128
|
deleteEntitlementWithHttpInfo(id: string, _options?: Configuration): Observable<HttpInfo<void>>;
|
|
116
129
|
/**
|
|
117
|
-
*
|
|
130
|
+
* Delete an entitlement by ID.
|
|
131
|
+
* @param id - The ID of the entitlement to delete.
|
|
118
132
|
*/
|
|
119
133
|
deleteEntitlement(id: string, _options?: Configuration): Observable<void>;
|
|
120
134
|
/**
|
|
121
|
-
*
|
|
135
|
+
* Get a single entitlement by ID.
|
|
136
|
+
* @param id - The ID of the entitlement to fetch.
|
|
122
137
|
*/
|
|
123
138
|
getEntitlementWithHttpInfo(id: string, _options?: Configuration): Observable<HttpInfo<APIEntitlement>>;
|
|
124
139
|
/**
|
|
125
|
-
*
|
|
140
|
+
* Get a single entitlement by ID.
|
|
141
|
+
* @param id - The ID of the entitlement to fetch.
|
|
126
142
|
*/
|
|
127
143
|
getEntitlement(id: string, _options?: Configuration): Observable<APIEntitlement>;
|
|
128
144
|
/**
|
|
129
|
-
*
|
|
145
|
+
* Query entitlements based on filters and pagination.
|
|
146
|
+
* @param aPIQueryPayloadAPIEntitlement - The query filters and pagination options.
|
|
130
147
|
*/
|
|
131
148
|
queryEntitlementsWithHttpInfo(aPIQueryPayloadAPIEntitlement: APIQueryPayloadAPIEntitlement, _options?: Configuration): Observable<HttpInfo<QueryResultAPIEntitlement>>;
|
|
132
149
|
/**
|
|
133
|
-
*
|
|
150
|
+
* Query entitlements based on filters and pagination.
|
|
151
|
+
* @param aPIQueryPayloadAPIEntitlement - The query filters and pagination options.
|
|
134
152
|
*/
|
|
135
153
|
queryEntitlements(aPIQueryPayloadAPIEntitlement: APIQueryPayloadAPIEntitlement, _options?: Configuration): Observable<QueryResultAPIEntitlement>;
|
|
136
154
|
}
|
|
@@ -141,35 +159,43 @@ export declare class ObservableEventsApi {
|
|
|
141
159
|
private configuration;
|
|
142
160
|
constructor(configuration: Configuration, requestFactory?: EventsApiRequestFactory, responseProcessor?: EventsApiResponseProcessor);
|
|
143
161
|
/**
|
|
144
|
-
*
|
|
162
|
+
* Delete an event by ID.
|
|
163
|
+
* @param id - The ID of the event to delete.
|
|
145
164
|
*/
|
|
146
165
|
deleteEventWithHttpInfo(id: string, _options?: Configuration): Observable<HttpInfo<void>>;
|
|
147
166
|
/**
|
|
148
|
-
*
|
|
167
|
+
* Delete an event by ID.
|
|
168
|
+
* @param id - The ID of the event to delete.
|
|
149
169
|
*/
|
|
150
170
|
deleteEvent(id: string, _options?: Configuration): Observable<void>;
|
|
151
171
|
/**
|
|
152
|
-
*
|
|
172
|
+
* Get a single event by ID.
|
|
173
|
+
* @param id - The ID of the event to fetch.
|
|
153
174
|
*/
|
|
154
175
|
getEventWithHttpInfo(id: string, _options?: Configuration): Observable<HttpInfo<APIEvent>>;
|
|
155
176
|
/**
|
|
156
|
-
*
|
|
177
|
+
* Get a single event by ID.
|
|
178
|
+
* @param id - The ID of the event to fetch.
|
|
157
179
|
*/
|
|
158
180
|
getEvent(id: string, _options?: Configuration): Observable<APIEvent>;
|
|
159
181
|
/**
|
|
160
|
-
*
|
|
182
|
+
* Ingest events to the system
|
|
183
|
+
* @param aPIIngestEventPayload - The events to ingest
|
|
161
184
|
*/
|
|
162
185
|
ingestEventToTheSystemWithHttpInfo(aPIIngestEventPayload: Array<APIIngestEventPayload>, _options?: Configuration): Observable<HttpInfo<IngestEventToTheSystem201Response>>;
|
|
163
186
|
/**
|
|
164
|
-
*
|
|
187
|
+
* Ingest events to the system
|
|
188
|
+
* @param aPIIngestEventPayload - The events to ingest
|
|
165
189
|
*/
|
|
166
190
|
ingestEventToTheSystem(aPIIngestEventPayload: Array<APIIngestEventPayload>, _options?: Configuration): Observable<IngestEventToTheSystem201Response>;
|
|
167
191
|
/**
|
|
168
|
-
*
|
|
192
|
+
* Query events based on filters and pagination.
|
|
193
|
+
* @param aPIQueryPayloadAPIEvent - The query filters and pagination options.
|
|
169
194
|
*/
|
|
170
195
|
queryEventsWithHttpInfo(aPIQueryPayloadAPIEvent: APIQueryPayloadAPIEvent, _options?: Configuration): Observable<HttpInfo<QueryResultAPIEvent>>;
|
|
171
196
|
/**
|
|
172
|
-
*
|
|
197
|
+
* Query events based on filters and pagination.
|
|
198
|
+
* @param aPIQueryPayloadAPIEvent - The query filters and pagination options.
|
|
173
199
|
*/
|
|
174
200
|
queryEvents(aPIQueryPayloadAPIEvent: APIQueryPayloadAPIEvent, _options?: Configuration): Observable<QueryResultAPIEvent>;
|
|
175
201
|
}
|
|
@@ -180,53 +206,65 @@ export declare class ObservableInvoicesApi {
|
|
|
180
206
|
private configuration;
|
|
181
207
|
constructor(configuration: Configuration, requestFactory?: InvoicesApiRequestFactory, responseProcessor?: InvoicesApiResponseProcessor);
|
|
182
208
|
/**
|
|
183
|
-
*
|
|
209
|
+
* Calculate the total of an invoice.
|
|
210
|
+
* @param id - The ID of the invoice to calculate.
|
|
184
211
|
*/
|
|
185
212
|
calculateInvoiceWithHttpInfo(id: string, _options?: Configuration): Observable<HttpInfo<APIInvoice>>;
|
|
186
213
|
/**
|
|
187
|
-
*
|
|
214
|
+
* Calculate the total of an invoice.
|
|
215
|
+
* @param id - The ID of the invoice to calculate.
|
|
188
216
|
*/
|
|
189
217
|
calculateInvoice(id: string, _options?: Configuration): Observable<APIInvoice>;
|
|
190
218
|
/**
|
|
191
|
-
*
|
|
219
|
+
* Create a new invoice.
|
|
220
|
+
* @param aPICreateInvoicePayload - The details of the invoice to create.
|
|
192
221
|
*/
|
|
193
222
|
createInvoiceWithHttpInfo(aPICreateInvoicePayload: APICreateInvoicePayload, _options?: Configuration): Observable<HttpInfo<APIInvoice>>;
|
|
194
223
|
/**
|
|
195
|
-
*
|
|
224
|
+
* Create a new invoice.
|
|
225
|
+
* @param aPICreateInvoicePayload - The details of the invoice to create.
|
|
196
226
|
*/
|
|
197
227
|
createInvoice(aPICreateInvoicePayload: APICreateInvoicePayload, _options?: Configuration): Observable<APIInvoice>;
|
|
198
228
|
/**
|
|
199
|
-
*
|
|
229
|
+
* Delete an invoice by ID.
|
|
230
|
+
* @param id - The ID of the invoice to delete.
|
|
200
231
|
*/
|
|
201
232
|
deleteInvoiceWithHttpInfo(id: string, _options?: Configuration): Observable<HttpInfo<void>>;
|
|
202
233
|
/**
|
|
203
|
-
*
|
|
234
|
+
* Delete an invoice by ID.
|
|
235
|
+
* @param id - The ID of the invoice to delete.
|
|
204
236
|
*/
|
|
205
237
|
deleteInvoice(id: string, _options?: Configuration): Observable<void>;
|
|
206
238
|
/**
|
|
207
|
-
*
|
|
239
|
+
* Get a single invoice by ID.
|
|
240
|
+
* @param id - The ID of the invoice to fetch.
|
|
208
241
|
*/
|
|
209
242
|
getInvoiceWithHttpInfo(id: string, _options?: Configuration): Observable<HttpInfo<APIInvoice>>;
|
|
210
243
|
/**
|
|
211
|
-
*
|
|
244
|
+
* Get a single invoice by ID.
|
|
245
|
+
* @param id - The ID of the invoice to fetch.
|
|
212
246
|
*/
|
|
213
247
|
getInvoice(id: string, _options?: Configuration): Observable<APIInvoice>;
|
|
214
248
|
/**
|
|
215
|
-
*
|
|
249
|
+
* Query invoices based on filters and pagination.
|
|
250
|
+
* @param aPIQueryPayloadAPIInvoice - The query filters and pagination options.
|
|
216
251
|
*/
|
|
217
252
|
queryInvoicesWithHttpInfo(aPIQueryPayloadAPIInvoice: APIQueryPayloadAPIInvoice, _options?: Configuration): Observable<HttpInfo<QueryResultAPIInvoice>>;
|
|
218
253
|
/**
|
|
219
|
-
*
|
|
254
|
+
* Query invoices based on filters and pagination.
|
|
255
|
+
* @param aPIQueryPayloadAPIInvoice - The query filters and pagination options.
|
|
220
256
|
*/
|
|
221
257
|
queryInvoices(aPIQueryPayloadAPIInvoice: APIQueryPayloadAPIInvoice, _options?: Configuration): Observable<QueryResultAPIInvoice>;
|
|
222
258
|
/**
|
|
223
|
-
*
|
|
224
|
-
* @param
|
|
259
|
+
* Update an existing invoice.
|
|
260
|
+
* @param aPIUpdateInvoicePayload - The updated details of the invoice.
|
|
261
|
+
* @param id - The ID of the invoice to update.
|
|
225
262
|
*/
|
|
226
263
|
updateInvoiceWithHttpInfo(aPIUpdateInvoicePayload: APIUpdateInvoicePayload, id: string, _options?: Configuration): Observable<HttpInfo<APIInvoice>>;
|
|
227
264
|
/**
|
|
228
|
-
*
|
|
229
|
-
* @param
|
|
265
|
+
* Update an existing invoice.
|
|
266
|
+
* @param aPIUpdateInvoicePayload - The updated details of the invoice.
|
|
267
|
+
* @param id - The ID of the invoice to update.
|
|
230
268
|
*/
|
|
231
269
|
updateInvoice(aPIUpdateInvoicePayload: APIUpdateInvoicePayload, id: string, _options?: Configuration): Observable<APIInvoice>;
|
|
232
270
|
}
|
|
@@ -237,45 +275,55 @@ export declare class ObservableProductsApi {
|
|
|
237
275
|
private configuration;
|
|
238
276
|
constructor(configuration: Configuration, requestFactory?: ProductsApiRequestFactory, responseProcessor?: ProductsApiResponseProcessor);
|
|
239
277
|
/**
|
|
240
|
-
*
|
|
278
|
+
* Create a new product.
|
|
279
|
+
* @param aPICreateProductPayload - The details of the product to create.
|
|
241
280
|
*/
|
|
242
281
|
createProductWithHttpInfo(aPICreateProductPayload: APICreateProductPayload, _options?: Configuration): Observable<HttpInfo<APIProduct>>;
|
|
243
282
|
/**
|
|
244
|
-
*
|
|
283
|
+
* Create a new product.
|
|
284
|
+
* @param aPICreateProductPayload - The details of the product to create.
|
|
245
285
|
*/
|
|
246
286
|
createProduct(aPICreateProductPayload: APICreateProductPayload, _options?: Configuration): Observable<APIProduct>;
|
|
247
287
|
/**
|
|
248
|
-
*
|
|
288
|
+
* Delete a product by ID.
|
|
289
|
+
* @param id - The ID of the product to delete.
|
|
249
290
|
*/
|
|
250
291
|
deleteProductWithHttpInfo(id: string, _options?: Configuration): Observable<HttpInfo<void>>;
|
|
251
292
|
/**
|
|
252
|
-
*
|
|
293
|
+
* Delete a product by ID.
|
|
294
|
+
* @param id - The ID of the product to delete.
|
|
253
295
|
*/
|
|
254
296
|
deleteProduct(id: string, _options?: Configuration): Observable<void>;
|
|
255
297
|
/**
|
|
256
|
-
*
|
|
298
|
+
* Get a single product by ID.
|
|
299
|
+
* @param id - The ID of the product to fetch.
|
|
257
300
|
*/
|
|
258
301
|
getProductWithHttpInfo(id: string, _options?: Configuration): Observable<HttpInfo<APIProduct>>;
|
|
259
302
|
/**
|
|
260
|
-
*
|
|
303
|
+
* Get a single product by ID.
|
|
304
|
+
* @param id - The ID of the product to fetch.
|
|
261
305
|
*/
|
|
262
306
|
getProduct(id: string, _options?: Configuration): Observable<APIProduct>;
|
|
263
307
|
/**
|
|
264
|
-
*
|
|
308
|
+
* Query products based on filters and pagination.
|
|
309
|
+
* @param aPIQueryPayloadAPIProduct - The query filters and pagination details.
|
|
265
310
|
*/
|
|
266
311
|
queryProductsWithHttpInfo(aPIQueryPayloadAPIProduct: APIQueryPayloadAPIProduct, _options?: Configuration): Observable<HttpInfo<QueryResultAPIProduct>>;
|
|
267
312
|
/**
|
|
268
|
-
*
|
|
313
|
+
* Query products based on filters and pagination.
|
|
314
|
+
* @param aPIQueryPayloadAPIProduct - The query filters and pagination details.
|
|
269
315
|
*/
|
|
270
316
|
queryProducts(aPIQueryPayloadAPIProduct: APIQueryPayloadAPIProduct, _options?: Configuration): Observable<QueryResultAPIProduct>;
|
|
271
317
|
/**
|
|
272
|
-
*
|
|
273
|
-
* @param
|
|
318
|
+
* Update an existing product.
|
|
319
|
+
* @param aPIUpdateProductPayload - The updated details of the product.
|
|
320
|
+
* @param id - The ID of the product to update.
|
|
274
321
|
*/
|
|
275
322
|
updateProductWithHttpInfo(aPIUpdateProductPayload: APIUpdateProductPayload, id: string, _options?: Configuration): Observable<HttpInfo<APIProduct>>;
|
|
276
323
|
/**
|
|
277
|
-
*
|
|
278
|
-
* @param
|
|
324
|
+
* Update an existing product.
|
|
325
|
+
* @param aPIUpdateProductPayload - The updated details of the product.
|
|
326
|
+
* @param id - The ID of the product to update.
|
|
279
327
|
*/
|
|
280
328
|
updateProduct(aPIUpdateProductPayload: APIUpdateProductPayload, id: string, _options?: Configuration): Observable<APIProduct>;
|
|
281
329
|
}
|