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.
- package/esm/openapi/client.d.ts +526 -155
- package/esm/openapi/client.js +37 -0
- package/package.json +1 -1
- package/script/openapi/client.d.ts +526 -155
- package/script/openapi/client.js +37 -0
package/script/openapi/client.js
CHANGED
|
@@ -1027,6 +1027,7 @@ class Api extends HttpClient {
|
|
|
1027
1027
|
body: data,
|
|
1028
1028
|
secure: true,
|
|
1029
1029
|
type: ContentType.Json,
|
|
1030
|
+
format: "json",
|
|
1030
1031
|
...params,
|
|
1031
1032
|
}),
|
|
1032
1033
|
/**
|
|
@@ -1047,6 +1048,42 @@ class Api extends HttpClient {
|
|
|
1047
1048
|
format: "json",
|
|
1048
1049
|
...params,
|
|
1049
1050
|
}),
|
|
1051
|
+
/**
|
|
1052
|
+
* @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
|
|
1053
|
+
*
|
|
1054
|
+
* @tags events
|
|
1055
|
+
* @name EventEstimateInstantFees
|
|
1056
|
+
* @summary Estimate instant fees for a pay in advance charge
|
|
1057
|
+
* @request POST:/events/estimate_instant_fees
|
|
1058
|
+
* @secure
|
|
1059
|
+
*/
|
|
1060
|
+
eventEstimateInstantFees: (data, params = {}) => this.request({
|
|
1061
|
+
path: `/events/estimate_instant_fees`,
|
|
1062
|
+
method: "POST",
|
|
1063
|
+
body: data,
|
|
1064
|
+
secure: true,
|
|
1065
|
+
type: ContentType.Json,
|
|
1066
|
+
format: "json",
|
|
1067
|
+
...params,
|
|
1068
|
+
}),
|
|
1069
|
+
/**
|
|
1070
|
+
* @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
|
|
1071
|
+
*
|
|
1072
|
+
* @tags events
|
|
1073
|
+
* @name EventBatchEstimateInstantFees
|
|
1074
|
+
* @summary Batch estimate instant fees for a pay in advance charge
|
|
1075
|
+
* @request POST:/events/batch_estimate_instant_fees
|
|
1076
|
+
* @secure
|
|
1077
|
+
*/
|
|
1078
|
+
eventBatchEstimateInstantFees: (data, params = {}) => this.request({
|
|
1079
|
+
path: `/events/batch_estimate_instant_fees`,
|
|
1080
|
+
method: "POST",
|
|
1081
|
+
body: data,
|
|
1082
|
+
secure: true,
|
|
1083
|
+
type: ContentType.Json,
|
|
1084
|
+
format: "json",
|
|
1085
|
+
...params,
|
|
1086
|
+
}),
|
|
1050
1087
|
/**
|
|
1051
1088
|
* @description This endpoint is used for retrieving a specific usage measurement event that has been sent to a customer or a subscription.
|
|
1052
1089
|
*
|