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.
Files changed (33) hide show
  1. package/dist/openapi-v2/apis/CustomersApi.d.ts +15 -9
  2. package/dist/openapi-v2/apis/CustomersApi.js +15 -9
  3. package/dist/openapi-v2/apis/EntitlementsApi.d.ts +6 -3
  4. package/dist/openapi-v2/apis/EntitlementsApi.js +6 -3
  5. package/dist/openapi-v2/apis/EventsApi.d.ts +8 -4
  6. package/dist/openapi-v2/apis/EventsApi.js +8 -4
  7. package/dist/openapi-v2/apis/InvoicesApi.d.ts +13 -7
  8. package/dist/openapi-v2/apis/InvoicesApi.js +13 -7
  9. package/dist/openapi-v2/apis/ProductsApi.d.ts +11 -6
  10. package/dist/openapi-v2/apis/ProductsApi.js +11 -6
  11. package/dist/openapi-v2/models/ObjectSerializer.d.ts +1 -2
  12. package/dist/openapi-v2/models/ObjectSerializer.js +2 -6
  13. package/dist/openapi-v2/models/Pricing.d.ts +2 -0
  14. package/dist/openapi-v2/models/Pricing.js +6 -0
  15. package/dist/openapi-v2/models/PricingCadence.d.ts +18 -0
  16. package/dist/openapi-v2/models/PricingCadence.js +22 -0
  17. package/dist/openapi-v2/models/all.d.ts +1 -2
  18. package/dist/openapi-v2/models/all.js +1 -2
  19. package/dist/openapi-v2/types/ObservableAPI.d.ts +106 -58
  20. package/dist/openapi-v2/types/ObservableAPI.js +106 -58
  21. package/dist/openapi-v2/types/PromiseAPI.d.ts +106 -58
  22. package/dist/openapi-v2/types/PromiseAPI.js +106 -58
  23. package/dist/sdk-v2/clients/index.d.ts +1 -0
  24. package/dist/sdk-v2/clients/index.js +1 -0
  25. package/dist/sdk-v2/index.d.ts +2 -1
  26. package/dist/sdk-v2/index.js +3 -0
  27. package/dist/sdk-v2/types/index.d.ts +2 -1
  28. package/dist/sdk-v2/types/index.js +3 -1
  29. package/package.json +1 -1
  30. package/dist/openapi-v2/models/Event.d.ts +0 -54
  31. package/dist/openapi-v2/models/Event.js +0 -85
  32. package/dist/openapi-v2/models/UpdateEventPayload.d.ts +0 -33
  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
- * @param aPICreateCustomerPayload
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
- * @param aPICreateCustomerPayload
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
- * @param id
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
- * @param id
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
- * @param id
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
- * @param id
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
- * @param aPIQueryPayloadAPICustomer
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
- * @param aPIQueryPayloadAPICustomer
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
- * @param body
85
- * @param id
86
- * @param productId
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
- * @param body
91
- * @param id
92
- * @param productId
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
- * @param aPIUpdateCustomerPayload
97
- * @param id
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
- * @param aPIUpdateCustomerPayload
102
- * @param id
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
- * @param id
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
- * @param id
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
- * @param id
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
- * @param id
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
- * @param aPIQueryPayloadAPIEntitlement
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
- * @param aPIQueryPayloadAPIEntitlement
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
- * @param id
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
- * @param id
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
- * @param id
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
- * @param id
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
- * @param aPIIngestEventPayload
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
- * @param aPIIngestEventPayload
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
- * @param aPIQueryPayloadAPIEvent
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
- * @param aPIQueryPayloadAPIEvent
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
- * @param id
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
- * @param id
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
- * @param aPICreateInvoicePayload
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
- * @param aPICreateInvoicePayload
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
- * @param id
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
- * @param id
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
- * @param id
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
- * @param id
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
- * @param aPIQueryPayloadAPIInvoice
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
- * @param aPIQueryPayloadAPIInvoice
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
- * @param aPIUpdateInvoicePayload
224
- * @param id
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
- * @param aPIUpdateInvoicePayload
229
- * @param id
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
- * @param aPICreateProductPayload
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
- * @param aPICreateProductPayload
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
- * @param id
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
- * @param id
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
- * @param id
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
- * @param id
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
- * @param aPIQueryPayloadAPIProduct
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
- * @param aPIQueryPayloadAPIProduct
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
- * @param aPIUpdateProductPayload
273
- * @param id
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
- * @param aPIUpdateProductPayload
278
- * @param id
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
  }