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