@flexprice/sdk 2.1.49-dev.12 → 2.1.49-dev.13
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/docs/sdk/models/get-usage-analytics-response.md +10 -10
- package/esm/lib/config.d.ts +2 -2
- package/esm/lib/config.js +2 -2
- package/esm/sdk/models/get-usage-analytics-response.d.ts +2 -2
- package/jsr.json +1 -1
- package/package.json +2 -2
- package/src/lib/config.ts +2 -2
- package/src/sdk/models/get-usage-analytics-response.ts +2 -2
|
@@ -44,13 +44,13 @@ let value: GetUsageAnalyticsResponse = {
|
|
|
44
44
|
|
|
45
45
|
## Fields
|
|
46
46
|
|
|
47
|
-
| Field
|
|
48
|
-
|
|
|
49
|
-
| `currency`
|
|
50
|
-
| `customAnalytics`
|
|
51
|
-
| `instalments`
|
|
52
|
-
| `items`
|
|
53
|
-
| `subtotal`
|
|
54
|
-
| `totalCost`
|
|
55
|
-
| `totalCostWithInstalments`
|
|
56
|
-
| `totalDiscount`
|
|
47
|
+
| Field | Type | Required | Description |
|
|
48
|
+
| -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
|
|
49
|
+
| `currency` | *string* | :heavy_minus_sign: | N/A |
|
|
50
|
+
| `customAnalytics` | [models.CustomAnalyticItem](../../sdk/models/custom-analytic-item.md)[] | :heavy_minus_sign: | N/A |
|
|
51
|
+
| `instalments` | [models.UsageAnalyticInstalment](../../sdk/models/usage-analytic-instalment.md)[] | :heavy_minus_sign: | Instalments lists, with expand "instalments", the instalments invoiced in the range for the v2 commitments covering<br/>a queried meter; it is empty with property or source filters, or when no usage line runs in the range. |
|
|
52
|
+
| `items` | [models.UsageAnalyticItem](../../sdk/models/usage-analytic-item.md)[] | :heavy_minus_sign: | N/A |
|
|
53
|
+
| `subtotal` | *string* | :heavy_minus_sign: | N/A |
|
|
54
|
+
| `totalCost` | *string* | :heavy_minus_sign: | TotalCost is the final cost after discount (Subtotal - TotalDiscount) |
|
|
55
|
+
| `totalCostWithInstalments` | *string* | :heavy_minus_sign: | TotalCostWithInstalments is TotalCost plus the amounts of Instalments, set when expand includes "instalments". |
|
|
56
|
+
| `totalDiscount` | *string* | :heavy_minus_sign: | N/A |
|
package/esm/lib/config.d.ts
CHANGED
|
@@ -35,8 +35,8 @@ export declare function serverURLFromOptions(options: SDKOptions): URL | null;
|
|
|
35
35
|
export declare const SDK_METADATA: {
|
|
36
36
|
readonly language: "typescript";
|
|
37
37
|
readonly openapiDocVersion: "1.0";
|
|
38
|
-
readonly sdkVersion: "2.1.49-dev.
|
|
38
|
+
readonly sdkVersion: "2.1.49-dev.13";
|
|
39
39
|
readonly genVersion: "2.948.4";
|
|
40
|
-
readonly userAgent: "speakeasy-sdk/typescript 2.1.49-dev.
|
|
40
|
+
readonly userAgent: "speakeasy-sdk/typescript 2.1.49-dev.13 2.948.4 1.0 @flexprice/sdk";
|
|
41
41
|
};
|
|
42
42
|
//# sourceMappingURL=config.d.ts.map
|
package/esm/lib/config.js
CHANGED
|
@@ -39,8 +39,8 @@ export function serverURLFromOptions(options) {
|
|
|
39
39
|
export const SDK_METADATA = {
|
|
40
40
|
language: "typescript",
|
|
41
41
|
openapiDocVersion: "1.0",
|
|
42
|
-
sdkVersion: "2.1.49-dev.
|
|
42
|
+
sdkVersion: "2.1.49-dev.13",
|
|
43
43
|
genVersion: "2.948.4",
|
|
44
|
-
userAgent: "speakeasy-sdk/typescript 2.1.49-dev.
|
|
44
|
+
userAgent: "speakeasy-sdk/typescript 2.1.49-dev.13 2.948.4 1.0 @flexprice/sdk",
|
|
45
45
|
};
|
|
46
46
|
//# sourceMappingURL=config.js.map
|
|
@@ -8,10 +8,10 @@ export type GetUsageAnalyticsResponse = {
|
|
|
8
8
|
currency?: string | undefined;
|
|
9
9
|
customAnalytics?: Array<CustomAnalyticItem> | undefined;
|
|
10
10
|
/**
|
|
11
|
-
* Instalments lists, with expand "instalments", the instalments
|
|
11
|
+
* Instalments lists, with expand "instalments", the instalments invoiced in the range for the v2 commitments covering
|
|
12
12
|
*
|
|
13
13
|
* @remarks
|
|
14
|
-
*
|
|
14
|
+
* a queried meter; it is empty with property or source filters, or when no usage line runs in the range.
|
|
15
15
|
*/
|
|
16
16
|
instalments?: Array<UsageAnalyticInstalment> | undefined;
|
|
17
17
|
items?: Array<UsageAnalyticItem> | undefined;
|
package/jsr.json
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@flexprice/sdk",
|
|
3
|
-
"version": "2.1.49-dev.
|
|
3
|
+
"version": "2.1.49-dev.13",
|
|
4
4
|
"author": "FlexPrice",
|
|
5
5
|
"engines": {
|
|
6
6
|
"node": ">=18"
|
|
@@ -49,5 +49,5 @@
|
|
|
49
49
|
"dependencies": {
|
|
50
50
|
"zod": "^3.25.65 || ^4.0.0"
|
|
51
51
|
},
|
|
52
|
-
"flexpriceCommit": "
|
|
52
|
+
"flexpriceCommit": "231f5461e165575796f3ef394ccce4bfdbdb2383"
|
|
53
53
|
}
|
package/src/lib/config.ts
CHANGED
|
@@ -77,8 +77,8 @@ export function serverURLFromOptions(options: SDKOptions): URL | null {
|
|
|
77
77
|
export const SDK_METADATA = {
|
|
78
78
|
language: "typescript",
|
|
79
79
|
openapiDocVersion: "1.0",
|
|
80
|
-
sdkVersion: "2.1.49-dev.
|
|
80
|
+
sdkVersion: "2.1.49-dev.13",
|
|
81
81
|
genVersion: "2.948.4",
|
|
82
82
|
userAgent:
|
|
83
|
-
"speakeasy-sdk/typescript 2.1.49-dev.
|
|
83
|
+
"speakeasy-sdk/typescript 2.1.49-dev.13 2.948.4 1.0 @flexprice/sdk",
|
|
84
84
|
} as const;
|
|
@@ -25,10 +25,10 @@ export type GetUsageAnalyticsResponse = {
|
|
|
25
25
|
currency?: string | undefined;
|
|
26
26
|
customAnalytics?: Array<CustomAnalyticItem> | undefined;
|
|
27
27
|
/**
|
|
28
|
-
* Instalments lists, with expand "instalments", the instalments
|
|
28
|
+
* Instalments lists, with expand "instalments", the instalments invoiced in the range for the v2 commitments covering
|
|
29
29
|
*
|
|
30
30
|
* @remarks
|
|
31
|
-
*
|
|
31
|
+
* a queried meter; it is empty with property or source filters, or when no usage line runs in the range.
|
|
32
32
|
*/
|
|
33
33
|
instalments?: Array<UsageAnalyticInstalment> | undefined;
|
|
34
34
|
items?: Array<UsageAnalyticItem> | undefined;
|