vayu-ts 0.2.5 → 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 (29) 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/types/index.d.ts +1 -1
  24. package/dist/sdk-v2/types/index.js +2 -1
  25. package/package.json +1 -1
  26. package/dist/openapi-v2/models/Event.d.ts +0 -54
  27. package/dist/openapi-v2/models/Event.js +0 -85
  28. package/dist/openapi-v2/models/UpdateEventPayload.d.ts +0 -33
  29. package/dist/openapi-v2/models/UpdateEventPayload.js +0 -31
@@ -45,7 +45,8 @@ class ObservableCustomersApi {
45
45
  this.responseProcessor = responseProcessor || new CustomersApi_1.CustomersApiResponseProcessor();
46
46
  }
47
47
  /**
48
- * @param aPICreateCustomerPayload
48
+ * Create a new customer.
49
+ * @param aPICreateCustomerPayload - The details of the customer to create.
49
50
  */
50
51
  createCustomerWithHttpInfo(aPICreateCustomerPayload, _options) {
51
52
  const requestContextPromise = this.requestFactory.createCustomer(aPICreateCustomerPayload, _options);
@@ -64,13 +65,15 @@ class ObservableCustomersApi {
64
65
  }));
65
66
  }
66
67
  /**
67
- * @param aPICreateCustomerPayload
68
+ * Create a new customer.
69
+ * @param aPICreateCustomerPayload - The details of the customer to create.
68
70
  */
69
71
  createCustomer(aPICreateCustomerPayload, _options) {
70
72
  return this.createCustomerWithHttpInfo(aPICreateCustomerPayload, _options).pipe((0, rxjsStub_2.map)((apiResponse) => apiResponse.data));
71
73
  }
72
74
  /**
73
- * @param id
75
+ * Delete a customer by ID.
76
+ * @param id - The ID of the customer to delete.
74
77
  */
75
78
  deleteCustomerWithHttpInfo(id, _options) {
76
79
  const requestContextPromise = this.requestFactory.deleteCustomer(id, _options);
@@ -89,13 +92,15 @@ class ObservableCustomersApi {
89
92
  }));
90
93
  }
91
94
  /**
92
- * @param id
95
+ * Delete a customer by ID.
96
+ * @param id - The ID of the customer to delete.
93
97
  */
94
98
  deleteCustomer(id, _options) {
95
99
  return this.deleteCustomerWithHttpInfo(id, _options).pipe((0, rxjsStub_2.map)((apiResponse) => apiResponse.data));
96
100
  }
97
101
  /**
98
- * @param id
102
+ * Get a single customer by ID.
103
+ * @param id - The ID of the customer to fetch.
99
104
  */
100
105
  getCustomerWithHttpInfo(id, _options) {
101
106
  const requestContextPromise = this.requestFactory.getCustomer(id, _options);
@@ -114,13 +119,15 @@ class ObservableCustomersApi {
114
119
  }));
115
120
  }
116
121
  /**
117
- * @param id
122
+ * Get a single customer by ID.
123
+ * @param id - The ID of the customer to fetch.
118
124
  */
119
125
  getCustomer(id, _options) {
120
126
  return this.getCustomerWithHttpInfo(id, _options).pipe((0, rxjsStub_2.map)((apiResponse) => apiResponse.data));
121
127
  }
122
128
  /**
123
- * @param aPIQueryPayloadAPICustomer
129
+ * Query customers based on filters and pagination.
130
+ * @param aPIQueryPayloadAPICustomer - The query filters and pagination options.
124
131
  */
125
132
  queryCustomersWithHttpInfo(aPIQueryPayloadAPICustomer, _options) {
126
133
  const requestContextPromise = this.requestFactory.queryCustomers(aPIQueryPayloadAPICustomer, _options);
@@ -139,15 +146,17 @@ class ObservableCustomersApi {
139
146
  }));
140
147
  }
141
148
  /**
142
- * @param aPIQueryPayloadAPICustomer
149
+ * Query customers based on filters and pagination.
150
+ * @param aPIQueryPayloadAPICustomer - The query filters and pagination options.
143
151
  */
144
152
  queryCustomers(aPIQueryPayloadAPICustomer, _options) {
145
153
  return this.queryCustomersWithHttpInfo(aPIQueryPayloadAPICustomer, _options).pipe((0, rxjsStub_2.map)((apiResponse) => apiResponse.data));
146
154
  }
147
155
  /**
148
- * @param body
149
- * @param id
150
- * @param productId
156
+ * Revise a customer\'s product.
157
+ * @param body - The details of the revision to apply.
158
+ * @param id - The ID of the customer to revise.
159
+ * @param productId - The ID of the product to revise.
151
160
  */
152
161
  updateACustomersProductWithHttpInfo(body, id, productId, _options) {
153
162
  const requestContextPromise = this.requestFactory.updateACustomersProduct(body, id, productId, _options);
@@ -166,16 +175,18 @@ class ObservableCustomersApi {
166
175
  }));
167
176
  }
168
177
  /**
169
- * @param body
170
- * @param id
171
- * @param productId
178
+ * Revise a customer\'s product.
179
+ * @param body - The details of the revision to apply.
180
+ * @param id - The ID of the customer to revise.
181
+ * @param productId - The ID of the product to revise.
172
182
  */
173
183
  updateACustomersProduct(body, id, productId, _options) {
174
184
  return this.updateACustomersProductWithHttpInfo(body, id, productId, _options).pipe((0, rxjsStub_2.map)((apiResponse) => apiResponse.data));
175
185
  }
176
186
  /**
177
- * @param aPIUpdateCustomerPayload
178
- * @param id
187
+ * Update an existing customer.
188
+ * @param aPIUpdateCustomerPayload - The updated details of the customer.
189
+ * @param id - The ID of the customer to update.
179
190
  */
180
191
  updateCustomerWithHttpInfo(aPIUpdateCustomerPayload, id, _options) {
181
192
  const requestContextPromise = this.requestFactory.updateCustomer(aPIUpdateCustomerPayload, id, _options);
@@ -194,8 +205,9 @@ class ObservableCustomersApi {
194
205
  }));
195
206
  }
196
207
  /**
197
- * @param aPIUpdateCustomerPayload
198
- * @param id
208
+ * Update an existing customer.
209
+ * @param aPIUpdateCustomerPayload - The updated details of the customer.
210
+ * @param id - The ID of the customer to update.
199
211
  */
200
212
  updateCustomer(aPIUpdateCustomerPayload, id, _options) {
201
213
  return this.updateCustomerWithHttpInfo(aPIUpdateCustomerPayload, id, _options).pipe((0, rxjsStub_2.map)((apiResponse) => apiResponse.data));
@@ -210,7 +222,8 @@ class ObservableEntitlementsApi {
210
222
  this.responseProcessor = responseProcessor || new EntitlementsApi_1.EntitlementsApiResponseProcessor();
211
223
  }
212
224
  /**
213
- * @param id
225
+ * Delete an entitlement by ID.
226
+ * @param id - The ID of the entitlement to delete.
214
227
  */
215
228
  deleteEntitlementWithHttpInfo(id, _options) {
216
229
  const requestContextPromise = this.requestFactory.deleteEntitlement(id, _options);
@@ -229,13 +242,15 @@ class ObservableEntitlementsApi {
229
242
  }));
230
243
  }
231
244
  /**
232
- * @param id
245
+ * Delete an entitlement by ID.
246
+ * @param id - The ID of the entitlement to delete.
233
247
  */
234
248
  deleteEntitlement(id, _options) {
235
249
  return this.deleteEntitlementWithHttpInfo(id, _options).pipe((0, rxjsStub_2.map)((apiResponse) => apiResponse.data));
236
250
  }
237
251
  /**
238
- * @param id
252
+ * Get a single entitlement by ID.
253
+ * @param id - The ID of the entitlement to fetch.
239
254
  */
240
255
  getEntitlementWithHttpInfo(id, _options) {
241
256
  const requestContextPromise = this.requestFactory.getEntitlement(id, _options);
@@ -254,13 +269,15 @@ class ObservableEntitlementsApi {
254
269
  }));
255
270
  }
256
271
  /**
257
- * @param id
272
+ * Get a single entitlement by ID.
273
+ * @param id - The ID of the entitlement to fetch.
258
274
  */
259
275
  getEntitlement(id, _options) {
260
276
  return this.getEntitlementWithHttpInfo(id, _options).pipe((0, rxjsStub_2.map)((apiResponse) => apiResponse.data));
261
277
  }
262
278
  /**
263
- * @param aPIQueryPayloadAPIEntitlement
279
+ * Query entitlements based on filters and pagination.
280
+ * @param aPIQueryPayloadAPIEntitlement - The query filters and pagination options.
264
281
  */
265
282
  queryEntitlementsWithHttpInfo(aPIQueryPayloadAPIEntitlement, _options) {
266
283
  const requestContextPromise = this.requestFactory.queryEntitlements(aPIQueryPayloadAPIEntitlement, _options);
@@ -279,7 +296,8 @@ class ObservableEntitlementsApi {
279
296
  }));
280
297
  }
281
298
  /**
282
- * @param aPIQueryPayloadAPIEntitlement
299
+ * Query entitlements based on filters and pagination.
300
+ * @param aPIQueryPayloadAPIEntitlement - The query filters and pagination options.
283
301
  */
284
302
  queryEntitlements(aPIQueryPayloadAPIEntitlement, _options) {
285
303
  return this.queryEntitlementsWithHttpInfo(aPIQueryPayloadAPIEntitlement, _options).pipe((0, rxjsStub_2.map)((apiResponse) => apiResponse.data));
@@ -294,7 +312,8 @@ class ObservableEventsApi {
294
312
  this.responseProcessor = responseProcessor || new EventsApi_1.EventsApiResponseProcessor();
295
313
  }
296
314
  /**
297
- * @param id
315
+ * Delete an event by ID.
316
+ * @param id - The ID of the event to delete.
298
317
  */
299
318
  deleteEventWithHttpInfo(id, _options) {
300
319
  const requestContextPromise = this.requestFactory.deleteEvent(id, _options);
@@ -313,13 +332,15 @@ class ObservableEventsApi {
313
332
  }));
314
333
  }
315
334
  /**
316
- * @param id
335
+ * Delete an event by ID.
336
+ * @param id - The ID of the event to delete.
317
337
  */
318
338
  deleteEvent(id, _options) {
319
339
  return this.deleteEventWithHttpInfo(id, _options).pipe((0, rxjsStub_2.map)((apiResponse) => apiResponse.data));
320
340
  }
321
341
  /**
322
- * @param id
342
+ * Get a single event by ID.
343
+ * @param id - The ID of the event to fetch.
323
344
  */
324
345
  getEventWithHttpInfo(id, _options) {
325
346
  const requestContextPromise = this.requestFactory.getEvent(id, _options);
@@ -338,13 +359,15 @@ class ObservableEventsApi {
338
359
  }));
339
360
  }
340
361
  /**
341
- * @param id
362
+ * Get a single event by ID.
363
+ * @param id - The ID of the event to fetch.
342
364
  */
343
365
  getEvent(id, _options) {
344
366
  return this.getEventWithHttpInfo(id, _options).pipe((0, rxjsStub_2.map)((apiResponse) => apiResponse.data));
345
367
  }
346
368
  /**
347
- * @param aPIIngestEventPayload
369
+ * Ingest events to the system
370
+ * @param aPIIngestEventPayload - The events to ingest
348
371
  */
349
372
  ingestEventToTheSystemWithHttpInfo(aPIIngestEventPayload, _options) {
350
373
  const requestContextPromise = this.requestFactory.ingestEventToTheSystem(aPIIngestEventPayload, _options);
@@ -363,13 +386,15 @@ class ObservableEventsApi {
363
386
  }));
364
387
  }
365
388
  /**
366
- * @param aPIIngestEventPayload
389
+ * Ingest events to the system
390
+ * @param aPIIngestEventPayload - The events to ingest
367
391
  */
368
392
  ingestEventToTheSystem(aPIIngestEventPayload, _options) {
369
393
  return this.ingestEventToTheSystemWithHttpInfo(aPIIngestEventPayload, _options).pipe((0, rxjsStub_2.map)((apiResponse) => apiResponse.data));
370
394
  }
371
395
  /**
372
- * @param aPIQueryPayloadAPIEvent
396
+ * Query events based on filters and pagination.
397
+ * @param aPIQueryPayloadAPIEvent - The query filters and pagination options.
373
398
  */
374
399
  queryEventsWithHttpInfo(aPIQueryPayloadAPIEvent, _options) {
375
400
  const requestContextPromise = this.requestFactory.queryEvents(aPIQueryPayloadAPIEvent, _options);
@@ -388,7 +413,8 @@ class ObservableEventsApi {
388
413
  }));
389
414
  }
390
415
  /**
391
- * @param aPIQueryPayloadAPIEvent
416
+ * Query events based on filters and pagination.
417
+ * @param aPIQueryPayloadAPIEvent - The query filters and pagination options.
392
418
  */
393
419
  queryEvents(aPIQueryPayloadAPIEvent, _options) {
394
420
  return this.queryEventsWithHttpInfo(aPIQueryPayloadAPIEvent, _options).pipe((0, rxjsStub_2.map)((apiResponse) => apiResponse.data));
@@ -403,7 +429,8 @@ class ObservableInvoicesApi {
403
429
  this.responseProcessor = responseProcessor || new InvoicesApi_1.InvoicesApiResponseProcessor();
404
430
  }
405
431
  /**
406
- * @param id
432
+ * Calculate the total of an invoice.
433
+ * @param id - The ID of the invoice to calculate.
407
434
  */
408
435
  calculateInvoiceWithHttpInfo(id, _options) {
409
436
  const requestContextPromise = this.requestFactory.calculateInvoice(id, _options);
@@ -422,13 +449,15 @@ class ObservableInvoicesApi {
422
449
  }));
423
450
  }
424
451
  /**
425
- * @param id
452
+ * Calculate the total of an invoice.
453
+ * @param id - The ID of the invoice to calculate.
426
454
  */
427
455
  calculateInvoice(id, _options) {
428
456
  return this.calculateInvoiceWithHttpInfo(id, _options).pipe((0, rxjsStub_2.map)((apiResponse) => apiResponse.data));
429
457
  }
430
458
  /**
431
- * @param aPICreateInvoicePayload
459
+ * Create a new invoice.
460
+ * @param aPICreateInvoicePayload - The details of the invoice to create.
432
461
  */
433
462
  createInvoiceWithHttpInfo(aPICreateInvoicePayload, _options) {
434
463
  const requestContextPromise = this.requestFactory.createInvoice(aPICreateInvoicePayload, _options);
@@ -447,13 +476,15 @@ class ObservableInvoicesApi {
447
476
  }));
448
477
  }
449
478
  /**
450
- * @param aPICreateInvoicePayload
479
+ * Create a new invoice.
480
+ * @param aPICreateInvoicePayload - The details of the invoice to create.
451
481
  */
452
482
  createInvoice(aPICreateInvoicePayload, _options) {
453
483
  return this.createInvoiceWithHttpInfo(aPICreateInvoicePayload, _options).pipe((0, rxjsStub_2.map)((apiResponse) => apiResponse.data));
454
484
  }
455
485
  /**
456
- * @param id
486
+ * Delete an invoice by ID.
487
+ * @param id - The ID of the invoice to delete.
457
488
  */
458
489
  deleteInvoiceWithHttpInfo(id, _options) {
459
490
  const requestContextPromise = this.requestFactory.deleteInvoice(id, _options);
@@ -472,13 +503,15 @@ class ObservableInvoicesApi {
472
503
  }));
473
504
  }
474
505
  /**
475
- * @param id
506
+ * Delete an invoice by ID.
507
+ * @param id - The ID of the invoice to delete.
476
508
  */
477
509
  deleteInvoice(id, _options) {
478
510
  return this.deleteInvoiceWithHttpInfo(id, _options).pipe((0, rxjsStub_2.map)((apiResponse) => apiResponse.data));
479
511
  }
480
512
  /**
481
- * @param id
513
+ * Get a single invoice by ID.
514
+ * @param id - The ID of the invoice to fetch.
482
515
  */
483
516
  getInvoiceWithHttpInfo(id, _options) {
484
517
  const requestContextPromise = this.requestFactory.getInvoice(id, _options);
@@ -497,13 +530,15 @@ class ObservableInvoicesApi {
497
530
  }));
498
531
  }
499
532
  /**
500
- * @param id
533
+ * Get a single invoice by ID.
534
+ * @param id - The ID of the invoice to fetch.
501
535
  */
502
536
  getInvoice(id, _options) {
503
537
  return this.getInvoiceWithHttpInfo(id, _options).pipe((0, rxjsStub_2.map)((apiResponse) => apiResponse.data));
504
538
  }
505
539
  /**
506
- * @param aPIQueryPayloadAPIInvoice
540
+ * Query invoices based on filters and pagination.
541
+ * @param aPIQueryPayloadAPIInvoice - The query filters and pagination options.
507
542
  */
508
543
  queryInvoicesWithHttpInfo(aPIQueryPayloadAPIInvoice, _options) {
509
544
  const requestContextPromise = this.requestFactory.queryInvoices(aPIQueryPayloadAPIInvoice, _options);
@@ -522,14 +557,16 @@ class ObservableInvoicesApi {
522
557
  }));
523
558
  }
524
559
  /**
525
- * @param aPIQueryPayloadAPIInvoice
560
+ * Query invoices based on filters and pagination.
561
+ * @param aPIQueryPayloadAPIInvoice - The query filters and pagination options.
526
562
  */
527
563
  queryInvoices(aPIQueryPayloadAPIInvoice, _options) {
528
564
  return this.queryInvoicesWithHttpInfo(aPIQueryPayloadAPIInvoice, _options).pipe((0, rxjsStub_2.map)((apiResponse) => apiResponse.data));
529
565
  }
530
566
  /**
531
- * @param aPIUpdateInvoicePayload
532
- * @param id
567
+ * Update an existing invoice.
568
+ * @param aPIUpdateInvoicePayload - The updated details of the invoice.
569
+ * @param id - The ID of the invoice to update.
533
570
  */
534
571
  updateInvoiceWithHttpInfo(aPIUpdateInvoicePayload, id, _options) {
535
572
  const requestContextPromise = this.requestFactory.updateInvoice(aPIUpdateInvoicePayload, id, _options);
@@ -548,8 +585,9 @@ class ObservableInvoicesApi {
548
585
  }));
549
586
  }
550
587
  /**
551
- * @param aPIUpdateInvoicePayload
552
- * @param id
588
+ * Update an existing invoice.
589
+ * @param aPIUpdateInvoicePayload - The updated details of the invoice.
590
+ * @param id - The ID of the invoice to update.
553
591
  */
554
592
  updateInvoice(aPIUpdateInvoicePayload, id, _options) {
555
593
  return this.updateInvoiceWithHttpInfo(aPIUpdateInvoicePayload, id, _options).pipe((0, rxjsStub_2.map)((apiResponse) => apiResponse.data));
@@ -564,7 +602,8 @@ class ObservableProductsApi {
564
602
  this.responseProcessor = responseProcessor || new ProductsApi_1.ProductsApiResponseProcessor();
565
603
  }
566
604
  /**
567
- * @param aPICreateProductPayload
605
+ * Create a new product.
606
+ * @param aPICreateProductPayload - The details of the product to create.
568
607
  */
569
608
  createProductWithHttpInfo(aPICreateProductPayload, _options) {
570
609
  const requestContextPromise = this.requestFactory.createProduct(aPICreateProductPayload, _options);
@@ -583,13 +622,15 @@ class ObservableProductsApi {
583
622
  }));
584
623
  }
585
624
  /**
586
- * @param aPICreateProductPayload
625
+ * Create a new product.
626
+ * @param aPICreateProductPayload - The details of the product to create.
587
627
  */
588
628
  createProduct(aPICreateProductPayload, _options) {
589
629
  return this.createProductWithHttpInfo(aPICreateProductPayload, _options).pipe((0, rxjsStub_2.map)((apiResponse) => apiResponse.data));
590
630
  }
591
631
  /**
592
- * @param id
632
+ * Delete a product by ID.
633
+ * @param id - The ID of the product to delete.
593
634
  */
594
635
  deleteProductWithHttpInfo(id, _options) {
595
636
  const requestContextPromise = this.requestFactory.deleteProduct(id, _options);
@@ -608,13 +649,15 @@ class ObservableProductsApi {
608
649
  }));
609
650
  }
610
651
  /**
611
- * @param id
652
+ * Delete a product by ID.
653
+ * @param id - The ID of the product to delete.
612
654
  */
613
655
  deleteProduct(id, _options) {
614
656
  return this.deleteProductWithHttpInfo(id, _options).pipe((0, rxjsStub_2.map)((apiResponse) => apiResponse.data));
615
657
  }
616
658
  /**
617
- * @param id
659
+ * Get a single product by ID.
660
+ * @param id - The ID of the product to fetch.
618
661
  */
619
662
  getProductWithHttpInfo(id, _options) {
620
663
  const requestContextPromise = this.requestFactory.getProduct(id, _options);
@@ -633,13 +676,15 @@ class ObservableProductsApi {
633
676
  }));
634
677
  }
635
678
  /**
636
- * @param id
679
+ * Get a single product by ID.
680
+ * @param id - The ID of the product to fetch.
637
681
  */
638
682
  getProduct(id, _options) {
639
683
  return this.getProductWithHttpInfo(id, _options).pipe((0, rxjsStub_2.map)((apiResponse) => apiResponse.data));
640
684
  }
641
685
  /**
642
- * @param aPIQueryPayloadAPIProduct
686
+ * Query products based on filters and pagination.
687
+ * @param aPIQueryPayloadAPIProduct - The query filters and pagination details.
643
688
  */
644
689
  queryProductsWithHttpInfo(aPIQueryPayloadAPIProduct, _options) {
645
690
  const requestContextPromise = this.requestFactory.queryProducts(aPIQueryPayloadAPIProduct, _options);
@@ -658,14 +703,16 @@ class ObservableProductsApi {
658
703
  }));
659
704
  }
660
705
  /**
661
- * @param aPIQueryPayloadAPIProduct
706
+ * Query products based on filters and pagination.
707
+ * @param aPIQueryPayloadAPIProduct - The query filters and pagination details.
662
708
  */
663
709
  queryProducts(aPIQueryPayloadAPIProduct, _options) {
664
710
  return this.queryProductsWithHttpInfo(aPIQueryPayloadAPIProduct, _options).pipe((0, rxjsStub_2.map)((apiResponse) => apiResponse.data));
665
711
  }
666
712
  /**
667
- * @param aPIUpdateProductPayload
668
- * @param id
713
+ * Update an existing product.
714
+ * @param aPIUpdateProductPayload - The updated details of the product.
715
+ * @param id - The ID of the product to update.
669
716
  */
670
717
  updateProductWithHttpInfo(aPIUpdateProductPayload, id, _options) {
671
718
  const requestContextPromise = this.requestFactory.updateProduct(aPIUpdateProductPayload, id, _options);
@@ -684,8 +731,9 @@ class ObservableProductsApi {
684
731
  }));
685
732
  }
686
733
  /**
687
- * @param aPIUpdateProductPayload
688
- * @param id
734
+ * Update an existing product.
735
+ * @param aPIUpdateProductPayload - The updated details of the product.
736
+ * @param id - The ID of the product to update.
689
737
  */
690
738
  updateProduct(aPIUpdateProductPayload, id, _options) {
691
739
  return this.updateProductWithHttpInfo(aPIUpdateProductPayload, id, _options).pipe((0, rxjsStub_2.map)((apiResponse) => apiResponse.data));