lago-javascript-client 1.31.0 → 1.32.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.
@@ -1023,6 +1023,7 @@ export class Api extends HttpClient {
1023
1023
  body: data,
1024
1024
  secure: true,
1025
1025
  type: ContentType.Json,
1026
+ format: "json",
1026
1027
  ...params,
1027
1028
  }),
1028
1029
  /**
@@ -1043,6 +1044,42 @@ export class Api extends HttpClient {
1043
1044
  format: "json",
1044
1045
  ...params,
1045
1046
  }),
1047
+ /**
1048
+ * @description Estimate the fees that would be created after reception of an event for a billable metric attached to one or multiple pay in advance standard or percentage charges
1049
+ *
1050
+ * @tags events
1051
+ * @name EventEstimateInstantFees
1052
+ * @summary Estimate instant fees for a pay in advance charge
1053
+ * @request POST:/events/estimate_instant_fees
1054
+ * @secure
1055
+ */
1056
+ eventEstimateInstantFees: (data, params = {}) => this.request({
1057
+ path: `/events/estimate_instant_fees`,
1058
+ method: "POST",
1059
+ body: data,
1060
+ secure: true,
1061
+ type: ContentType.Json,
1062
+ format: "json",
1063
+ ...params,
1064
+ }),
1065
+ /**
1066
+ * @description Estimate the fees that would be created after reception of an event for a billable metric attached to one or multiple pay in advance standard or percentage charges
1067
+ *
1068
+ * @tags events
1069
+ * @name EventBatchEstimateInstantFees
1070
+ * @summary Batch estimate instant fees for a pay in advance charge
1071
+ * @request POST:/events/batch_estimate_instant_fees
1072
+ * @secure
1073
+ */
1074
+ eventBatchEstimateInstantFees: (data, params = {}) => this.request({
1075
+ path: `/events/batch_estimate_instant_fees`,
1076
+ method: "POST",
1077
+ body: data,
1078
+ secure: true,
1079
+ type: ContentType.Json,
1080
+ format: "json",
1081
+ ...params,
1082
+ }),
1046
1083
  /**
1047
1084
  * @description This endpoint is used for retrieving a specific usage measurement event that has been sent to a customer or a subscription.
1048
1085
  *
package/package.json CHANGED
@@ -3,7 +3,7 @@
3
3
  "main": "./script/mod.js",
4
4
  "name": "lago-javascript-client",
5
5
  "sideEffects": false,
6
- "version": "v1.31.0",
6
+ "version": "v1.32.0",
7
7
  "description": "Lago JavaScript API Client",
8
8
  "repository": {
9
9
  "type": "git",