lago-javascript-client 1.15.0 → 1.17.0
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/esm/openapi/client.d.ts +278 -55
- package/esm/openapi/client.js +19 -1
- package/package.json +1 -1
- package/script/openapi/client.d.ts +278 -55
- package/script/openapi/client.js +19 -1
package/esm/openapi/client.js
CHANGED
|
@@ -148,7 +148,7 @@ export class HttpClient {
|
|
|
148
148
|
}
|
|
149
149
|
/**
|
|
150
150
|
* @title Lago API documentation
|
|
151
|
-
* @version 1.
|
|
151
|
+
* @version 1.17.0
|
|
152
152
|
* @license AGPLv3
|
|
153
153
|
* @baseUrl https://api.getlago.com/api/v1
|
|
154
154
|
* @externalDocs https://github.com/getlago
|
|
@@ -404,6 +404,24 @@ export class Api extends HttpClient {
|
|
|
404
404
|
format: "json",
|
|
405
405
|
...params,
|
|
406
406
|
}),
|
|
407
|
+
/**
|
|
408
|
+
* @description Evaluate an expression for a billable metric creation by providing the expression and test data
|
|
409
|
+
*
|
|
410
|
+
* @tags billable_metrics
|
|
411
|
+
* @name EvaluateBillableMetricExpression
|
|
412
|
+
* @summary Evaluate an expression for a billable metric
|
|
413
|
+
* @request POST:/billable_metrics/evaluate_expression
|
|
414
|
+
* @secure
|
|
415
|
+
*/
|
|
416
|
+
evaluateBillableMetricExpression: (data, params = {}) => this.request({
|
|
417
|
+
path: `/billable_metrics/evaluate_expression`,
|
|
418
|
+
method: "POST",
|
|
419
|
+
body: data,
|
|
420
|
+
secure: true,
|
|
421
|
+
type: ContentType.Json,
|
|
422
|
+
format: "json",
|
|
423
|
+
...params,
|
|
424
|
+
}),
|
|
407
425
|
/**
|
|
408
426
|
* @description This endpoint updates an existing billable metric representing a pricing component of your application.
|
|
409
427
|
*
|