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.
@@ -152,7 +152,7 @@ class HttpClient {
152
152
  exports.HttpClient = HttpClient;
153
153
  /**
154
154
  * @title Lago API documentation
155
- * @version 1.15.0
155
+ * @version 1.17.0
156
156
  * @license AGPLv3
157
157
  * @baseUrl https://api.getlago.com/api/v1
158
158
  * @externalDocs https://github.com/getlago
@@ -408,6 +408,24 @@ class Api extends HttpClient {
408
408
  format: "json",
409
409
  ...params,
410
410
  }),
411
+ /**
412
+ * @description Evaluate an expression for a billable metric creation by providing the expression and test data
413
+ *
414
+ * @tags billable_metrics
415
+ * @name EvaluateBillableMetricExpression
416
+ * @summary Evaluate an expression for a billable metric
417
+ * @request POST:/billable_metrics/evaluate_expression
418
+ * @secure
419
+ */
420
+ evaluateBillableMetricExpression: (data, params = {}) => this.request({
421
+ path: `/billable_metrics/evaluate_expression`,
422
+ method: "POST",
423
+ body: data,
424
+ secure: true,
425
+ type: ContentType.Json,
426
+ format: "json",
427
+ ...params,
428
+ }),
411
429
  /**
412
430
  * @description This endpoint updates an existing billable metric representing a pricing component of your application.
413
431
  *