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
|
@@ -44,57 +44,69 @@ export declare class PromiseCustomersApi {
|
|
|
44
44
|
private api;
|
|
45
45
|
constructor(configuration: Configuration, requestFactory?: CustomersApiRequestFactory, responseProcessor?: CustomersApiResponseProcessor);
|
|
46
46
|
/**
|
|
47
|
-
*
|
|
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
|
-
*
|
|
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
|
-
*
|
|
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
|
-
*
|
|
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
|
-
*
|
|
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
|
-
*
|
|
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
|
-
*
|
|
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
|
-
*
|
|
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
|
-
*
|
|
80
|
-
* @param
|
|
81
|
-
* @param
|
|
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
|
-
*
|
|
86
|
-
* @param
|
|
87
|
-
* @param
|
|
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
|
-
*
|
|
92
|
-
* @param
|
|
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
|
-
*
|
|
97
|
-
* @param
|
|
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
|
-
*
|
|
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
|
-
*
|
|
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
|
-
*
|
|
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
|
-
*
|
|
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
|
-
*
|
|
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
|
-
*
|
|
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
|
-
*
|
|
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
|
-
*
|
|
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
|
-
*
|
|
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
|
-
*
|
|
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
|
-
*
|
|
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
|
-
*
|
|
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
|
-
*
|
|
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
|
-
*
|
|
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
|
-
*
|
|
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
|
-
*
|
|
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
|
-
*
|
|
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
|
-
*
|
|
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
|
-
*
|
|
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
|
-
*
|
|
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
|
-
*
|
|
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
|
-
*
|
|
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
|
-
*
|
|
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
|
-
*
|
|
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
|
-
*
|
|
213
|
-
* @param
|
|
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
|
-
*
|
|
218
|
-
* @param
|
|
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
|
-
*
|
|
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
|
-
*
|
|
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
|
-
*
|
|
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
|
-
*
|
|
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
|
-
*
|
|
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
|
-
*
|
|
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
|
-
*
|
|
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
|
-
*
|
|
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
|
-
*
|
|
260
|
-
* @param
|
|
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
|
-
*
|
|
265
|
-
* @param
|
|
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
|
}
|