@flexprice/sdk 2.1.49-dev.12 → 2.1.49-dev.14

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.
@@ -44,13 +44,13 @@ let value: GetUsageAnalyticsResponse = {
44
44
 
45
45
  ## Fields
46
46
 
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 of the v2 commitments the request applied that were<br/>invoiced in the range. Property and source filters apply no commitments, so they list none. |
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 |
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 |
@@ -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.12";
38
+ readonly sdkVersion: "2.1.49-dev.14";
39
39
  readonly genVersion: "2.948.4";
40
- readonly userAgent: "speakeasy-sdk/typescript 2.1.49-dev.12 2.948.4 1.0 @flexprice/sdk";
40
+ readonly userAgent: "speakeasy-sdk/typescript 2.1.49-dev.14 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.12",
42
+ sdkVersion: "2.1.49-dev.14",
43
43
  genVersion: "2.948.4",
44
- userAgent: "speakeasy-sdk/typescript 2.1.49-dev.12 2.948.4 1.0 @flexprice/sdk",
44
+ userAgent: "speakeasy-sdk/typescript 2.1.49-dev.14 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 of the v2 commitments the request applied that were
11
+ * Instalments lists, with expand "instalments", the instalments invoiced in the range for the v2 commitments covering
12
12
  *
13
13
  * @remarks
14
- * invoiced in the range. Property and source filters apply no commitments, so they list none.
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
@@ -2,7 +2,7 @@
2
2
 
3
3
  {
4
4
  "name": "@flexprice/sdk",
5
- "version": "2.1.49-dev.12",
5
+ "version": "2.1.49-dev.14",
6
6
  "exports": {
7
7
  ".": "./src/index.ts",
8
8
  "./sdk/models": "./src/sdk/models/index.ts",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@flexprice/sdk",
3
- "version": "2.1.49-dev.12",
3
+ "version": "2.1.49-dev.14",
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": "bf4e5af7346b4ec32d006bc6c2b43acd104036b2"
52
+ "flexpriceCommit": "d8904642ae25c34b6a3eff763a3a33cb30ec2603"
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.12",
80
+ sdkVersion: "2.1.49-dev.14",
81
81
  genVersion: "2.948.4",
82
82
  userAgent:
83
- "speakeasy-sdk/typescript 2.1.49-dev.12 2.948.4 1.0 @flexprice/sdk",
83
+ "speakeasy-sdk/typescript 2.1.49-dev.14 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 of the v2 commitments the request applied that were
28
+ * Instalments lists, with expand "instalments", the instalments invoiced in the range for the v2 commitments covering
29
29
  *
30
30
  * @remarks
31
- * invoiced in the range. Property and source filters apply no commitments, so they list none.
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;