@meetkai/mka1 0.54.43 → 0.54.45
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/bin/mcp-server.js +23 -10
- package/bin/mcp-server.js.map +12 -12
- package/dist/commonjs/funcs/analyticsQuery.d.ts +1 -1
- package/dist/commonjs/funcs/analyticsQuery.js +1 -1
- package/dist/commonjs/funcs/llmModelsListEffectivePrices.d.ts +1 -1
- package/dist/commonjs/funcs/llmModelsListEffectivePrices.js +1 -1
- package/dist/commonjs/lib/config.d.ts +2 -2
- package/dist/commonjs/lib/config.js +2 -2
- package/dist/commonjs/mcp-server/mcp-server.js +1 -1
- package/dist/commonjs/mcp-server/server.js +1 -1
- package/dist/commonjs/mcp-server/tools/analyticsQuery.js +1 -1
- package/dist/commonjs/mcp-server/tools/analyticsQuery.js.map +1 -1
- package/dist/commonjs/mcp-server/tools/llmModelsListEffectivePrices.js +1 -1
- package/dist/commonjs/mcp-server/tools/llmModelsListEffectivePrices.js.map +1 -1
- package/dist/commonjs/models/components/analyticsqueryrequest.d.ts +8 -3
- package/dist/commonjs/models/components/analyticsqueryrequest.d.ts.map +1 -1
- package/dist/commonjs/models/components/analyticsqueryrequest.js +3 -1
- package/dist/commonjs/models/components/analyticsqueryrequest.js.map +1 -1
- package/dist/commonjs/models/components/analyticsqueryresponse.d.ts +3 -0
- package/dist/commonjs/models/components/analyticsqueryresponse.d.ts.map +1 -1
- package/dist/commonjs/models/components/analyticsqueryresponse.js.map +1 -1
- package/dist/commonjs/models/components/effectivepricerow.d.ts +3 -0
- package/dist/commonjs/models/components/effectivepricerow.d.ts.map +1 -1
- package/dist/commonjs/models/components/effectivepricerow.js +11 -0
- package/dist/commonjs/models/components/effectivepricerow.js.map +1 -1
- package/dist/commonjs/react-query/analyticsQuery.d.ts +1 -1
- package/dist/commonjs/react-query/analyticsQuery.js +1 -1
- package/dist/commonjs/react-query/llmModelsListEffectivePrices.d.ts +2 -2
- package/dist/commonjs/react-query/llmModelsListEffectivePrices.js +2 -2
- package/dist/commonjs/sdk/analytics.d.ts +1 -1
- package/dist/commonjs/sdk/analytics.js +1 -1
- package/dist/commonjs/sdk/models.d.ts +1 -1
- package/dist/commonjs/sdk/models.js +1 -1
- package/dist/esm/funcs/analyticsQuery.d.ts +1 -1
- package/dist/esm/funcs/analyticsQuery.js +1 -1
- package/dist/esm/funcs/llmModelsListEffectivePrices.d.ts +1 -1
- package/dist/esm/funcs/llmModelsListEffectivePrices.js +1 -1
- package/dist/esm/lib/config.d.ts +2 -2
- package/dist/esm/lib/config.js +2 -2
- package/dist/esm/mcp-server/mcp-server.js +1 -1
- package/dist/esm/mcp-server/server.js +1 -1
- package/dist/esm/mcp-server/tools/analyticsQuery.js +1 -1
- package/dist/esm/mcp-server/tools/analyticsQuery.js.map +1 -1
- package/dist/esm/mcp-server/tools/llmModelsListEffectivePrices.js +1 -1
- package/dist/esm/mcp-server/tools/llmModelsListEffectivePrices.js.map +1 -1
- package/dist/esm/models/components/analyticsqueryrequest.d.ts +8 -3
- package/dist/esm/models/components/analyticsqueryrequest.d.ts.map +1 -1
- package/dist/esm/models/components/analyticsqueryrequest.js +3 -1
- package/dist/esm/models/components/analyticsqueryrequest.js.map +1 -1
- package/dist/esm/models/components/analyticsqueryresponse.d.ts +3 -0
- package/dist/esm/models/components/analyticsqueryresponse.d.ts.map +1 -1
- package/dist/esm/models/components/analyticsqueryresponse.js.map +1 -1
- package/dist/esm/models/components/effectivepricerow.d.ts +3 -0
- package/dist/esm/models/components/effectivepricerow.d.ts.map +1 -1
- package/dist/esm/models/components/effectivepricerow.js +11 -0
- package/dist/esm/models/components/effectivepricerow.js.map +1 -1
- package/dist/esm/react-query/analyticsQuery.d.ts +1 -1
- package/dist/esm/react-query/analyticsQuery.js +1 -1
- package/dist/esm/react-query/llmModelsListEffectivePrices.d.ts +2 -2
- package/dist/esm/react-query/llmModelsListEffectivePrices.js +2 -2
- package/dist/esm/sdk/analytics.d.ts +1 -1
- package/dist/esm/sdk/analytics.js +1 -1
- package/dist/esm/sdk/models.d.ts +1 -1
- package/dist/esm/sdk/models.js +1 -1
- package/jsr.json +1 -1
- package/package.json +1 -1
- package/src/funcs/analyticsQuery.ts +1 -1
- package/src/funcs/llmModelsListEffectivePrices.ts +1 -1
- package/src/lib/config.ts +2 -2
- package/src/mcp-server/mcp-server.ts +1 -1
- package/src/mcp-server/server.ts +1 -1
- package/src/mcp-server/tools/analyticsQuery.ts +1 -1
- package/src/mcp-server/tools/llmModelsListEffectivePrices.ts +1 -1
- package/src/models/components/analyticsqueryrequest.ts +10 -3
- package/src/models/components/analyticsqueryresponse.ts +3 -0
- package/src/models/components/effectivepricerow.ts +13 -0
- package/src/react-query/analyticsQuery.ts +1 -1
- package/src/react-query/llmModelsListEffectivePrices.ts +2 -2
- package/src/sdk/analytics.ts +1 -1
- package/src/sdk/models.ts +1 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"llmModelsListEffectivePrices.js","sourceRoot":"","sources":["../../../../src/mcp-server/tools/llmModelsListEffectivePrices.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,OAAO,EAAE,4BAA4B,EAAE,MAAM,6CAA6C,CAAC;AAC3F,OAAO,KAAK,UAAU,MAAM,kCAAkC,CAAC;AAC/D,OAAO,EAAE,YAAY,EAAkB,MAAM,aAAa,CAAC;AAE3D,MAAM,IAAI,GAAG;IACX,OAAO,EAAE,UAAU,CAAC,wCAAwC;CAC7D,CAAC;AAEF,MAAM,CAAC,MAAM,iCAAiC,GAAgC;IAC5E,IAAI,EAAE,kCAAkC;IACxC,WAAW,EAAE;;+
|
|
1
|
+
{"version":3,"file":"llmModelsListEffectivePrices.js","sourceRoot":"","sources":["../../../../src/mcp-server/tools/llmModelsListEffectivePrices.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,OAAO,EAAE,4BAA4B,EAAE,MAAM,6CAA6C,CAAC;AAC3F,OAAO,KAAK,UAAU,MAAM,kCAAkC,CAAC;AAC/D,OAAO,EAAE,YAAY,EAAkB,MAAM,aAAa,CAAC;AAE3D,MAAM,IAAI,GAAG;IACX,OAAO,EAAE,UAAU,CAAC,wCAAwC;CAC7D,CAAC;AAEF,MAAM,CAAC,MAAM,iCAAiC,GAAgC;IAC5E,IAAI,EAAE,kCAAkC;IACxC,WAAW,EAAE;;+WAEgW;IAC7W,IAAI;IACJ,IAAI,EAAE,KAAK,EAAE,MAAM,EAAE,IAAI,EAAE,GAAG,EAAE,EAAE;QAChC,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,GAAG,MAAM,4BAA4B,CAC1D,MAAM,EACN,IAAI,CAAC,OAAO,EACZ,EAAE,YAAY,EAAE,EAAE,MAAM,EAAE,GAAG,CAAC,MAAM,EAAE,EAAE,CACzC,CAAC,QAAQ,EAAE,CAAC;QAEb,IAAI,CAAC,MAAM,CAAC,EAAE,EAAE,CAAC;YACf,OAAO;gBACL,OAAO,EAAE,CAAC,EAAE,IAAI,EAAE,MAAM,EAAE,IAAI,EAAE,MAAM,CAAC,KAAK,CAAC,OAAO,EAAE,CAAC;gBACvD,OAAO,EAAE,IAAI;aACd,CAAC;QACJ,CAAC;QAED,MAAM,KAAK,GAAG,MAAM,CAAC,KAAK,CAAC;QAE3B,OAAO,YAAY,CAAC,KAAK,EAAE,OAAO,CAAC,CAAC;IACtC,CAAC;CACF,CAAC"}
|
|
@@ -14,7 +14,7 @@ export declare const AnalyticsQueryRequestMetric: {
|
|
|
14
14
|
*/
|
|
15
15
|
export type AnalyticsQueryRequestMetric = ClosedEnum<typeof AnalyticsQueryRequestMetric>;
|
|
16
16
|
/**
|
|
17
|
-
* Split results into
|
|
17
|
+
* Split results into time buckets. Hours, days, and Monday-start weeks begin on the clock of timezone, which defaults to UTC. Empty buckets are omitted.
|
|
18
18
|
*/
|
|
19
19
|
export declare const Bucket: {
|
|
20
20
|
readonly Hour: "hour";
|
|
@@ -22,7 +22,7 @@ export declare const Bucket: {
|
|
|
22
22
|
readonly Week: "week";
|
|
23
23
|
};
|
|
24
24
|
/**
|
|
25
|
-
* Split results into
|
|
25
|
+
* Split results into time buckets. Hours, days, and Monday-start weeks begin on the clock of timezone, which defaults to UTC. Empty buckets are omitted.
|
|
26
26
|
*/
|
|
27
27
|
export type Bucket = ClosedEnum<typeof Bucket>;
|
|
28
28
|
/**
|
|
@@ -78,9 +78,13 @@ export type AnalyticsQueryRequest = {
|
|
|
78
78
|
*/
|
|
79
79
|
eventName?: string | undefined;
|
|
80
80
|
/**
|
|
81
|
-
* Split results into
|
|
81
|
+
* Split results into time buckets. Hours, days, and Monday-start weeks begin on the clock of timezone, which defaults to UTC. Empty buckets are omitted.
|
|
82
82
|
*/
|
|
83
83
|
bucket?: Bucket | undefined;
|
|
84
|
+
/**
|
|
85
|
+
* IANA time zone name that sets where buckets start. Defaults to UTC. A day is a local calendar day and lasts 23 or 25 hours when the clocks change. In zones offset by 30 or 45 minutes, hours start on the local clock. UTC offsets such as +05:30 are rejected, as are identifiers outside the IANA database such as PST or BST, and names the service's time zone database does not know, which can lag the newest IANA zones; fall back to UTC when the 400 names timezone. Only bucket boundaries change: from, to, filters, and the UTC format of each row's bucket stay the same. Has no effect without bucket.
|
|
86
|
+
*/
|
|
87
|
+
timezone?: string | undefined;
|
|
84
88
|
/**
|
|
85
89
|
* Group results by one event property. Missing values and null share a group.
|
|
86
90
|
*/
|
|
@@ -135,6 +139,7 @@ export type AnalyticsQueryRequest$Outbound = {
|
|
|
135
139
|
to: string;
|
|
136
140
|
event_name?: string | undefined;
|
|
137
141
|
bucket?: string | undefined;
|
|
142
|
+
timezone?: string | undefined;
|
|
138
143
|
group_by?: string | undefined;
|
|
139
144
|
filters?: Array<AnalyticsQueryRequestFilters$Outbound> | undefined;
|
|
140
145
|
limit: number;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"analyticsqueryrequest.d.ts","sourceRoot":"","sources":["../../../../src/models/components/analyticsqueryrequest.ts"],"names":[],"mappings":"AAIA,OA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Ae,CAAC,0BAA0B,EAAE,kBAAkB,CAAC,CAMjE;AAED,gBAAgB;AAChB,eAAO,MAAM,0CAA0C,EAAE,CAAC,CAAC,OAAO,CAChE,4BAA4B,EAC5B,CAAC,CAAC,UAAU,EACZ,OAAO,CAKP,CAAC;AACH,gBAAgB;AAChB,MAAM,MAAM,qCAAqC,GAAG;IAClD,QAAQ,EAAE,MAAM,CAAC;IACjB,EAAE,EAAE,MAAM,CAAC;IACX,KAAK,CAAC,EAAE,MAAM,GAAG,MAAM,GAAG,OAAO,GAAG,IAAI,GAAG,SAAS,CAAC;CACtD,CAAC;AAEF,gBAAgB;AAChB,eAAO,MAAM,2CAA2C,EAAE,CAAC,CAAC,OAAO,CACjE,qCAAqC,EACrC,CAAC,CAAC,UAAU,EACZ,4BAA4B,CAK5B,CAAC;AAEH,wBAAgB,kCAAkC,CAChD,4BAA4B,EAAE,4BAA4B,GACzD,MAAM,CAMR;AACD,wBAAgB,oCAAoC,CAClD,UAAU,EAAE,MAAM,GACjB,eAAe,CAAC,4BAA4B,EAAE,kBAAkB,CAAC,CAMnE;AAED,gBAAgB;AAChB,eAAO,MAAM,mCAAmC,EAAE,CAAC,CAAC,OAAO,CACzD,qBAAqB,EACrB,CAAC,CAAC,UAAU,EACZ,OAAO,
|
|
1
|
+
{"version":3,"file":"analyticsqueryrequest.d.ts","sourceRoot":"","sources":["../../../../src/models/components/analyticsqueryrequest.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,CAAC,MAAM,QAAQ,CAAC;AAG5B,OAAO,EAAE,UAAU,EAAE,MAAM,sBAAsB,CAAC;AAClD,OAAO,EAAE,MAAM,IAAI,eAAe,EAAE,MAAM,mBAAmB,CAAC;AAC9D,OAAO,EAAE,kBAAkB,EAAE,MAAM,iCAAiC,CAAC;AAErE;;GAEG;AACH,eAAO,MAAM,2BAA2B;;;CAG9B,CAAC;AACX;;GAEG;AACH,MAAM,MAAM,2BAA2B,GAAG,UAAU,CAClD,OAAO,2BAA2B,CAC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ACjB,eAAe,CAAC,qBAAqB,EAAE,kBAAkB,CAAC,CAM5D"}
|
|
@@ -12,7 +12,7 @@ export const AnalyticsQueryRequestMetric = {
|
|
|
12
12
|
UniqueVisitors: "unique_visitors",
|
|
13
13
|
};
|
|
14
14
|
/**
|
|
15
|
-
* Split results into
|
|
15
|
+
* Split results into time buckets. Hours, days, and Monday-start weeks begin on the clock of timezone, which defaults to UTC. Empty buckets are omitted.
|
|
16
16
|
*/
|
|
17
17
|
export const Bucket = {
|
|
18
18
|
Hour: "hour",
|
|
@@ -80,6 +80,7 @@ export const AnalyticsQueryRequest$inboundSchema = z.object({
|
|
|
80
80
|
to: z.string().datetime({ offset: true }).transform(v => new Date(v)),
|
|
81
81
|
event_name: z.string().optional(),
|
|
82
82
|
bucket: Bucket$inboundSchema.optional(),
|
|
83
|
+
timezone: z.string().optional(),
|
|
83
84
|
group_by: z.string().optional(),
|
|
84
85
|
filters: z.array(z.lazy(() => AnalyticsQueryRequestFilters$inboundSchema))
|
|
85
86
|
.optional(),
|
|
@@ -97,6 +98,7 @@ export const AnalyticsQueryRequest$outboundSchema = z.object({
|
|
|
97
98
|
to: z.date().transform(v => v.toISOString()),
|
|
98
99
|
eventName: z.string().optional(),
|
|
99
100
|
bucket: Bucket$outboundSchema.optional(),
|
|
101
|
+
timezone: z.string().optional(),
|
|
100
102
|
groupBy: z.string().optional(),
|
|
101
103
|
filters: z.array(z.lazy(() => AnalyticsQueryRequestFilters$outboundSchema))
|
|
102
104
|
.optional(),
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"analyticsqueryrequest.js","sourceRoot":"","sources":["../../../../src/models/components/analyticsqueryrequest.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,OAAO,KAAK,CAAC,MAAM,QAAQ,CAAC;AAC5B,OAAO,EAAE,KAAK,IAAI,MAAM,EAAE,MAAM,yBAAyB,CAAC;AAC1D,OAAO,EAAE,SAAS,EAAE,MAAM,sBAAsB,CAAC;AAKjD;;GAEG;AACH,MAAM,CAAC,MAAM,2BAA2B,GAAG;IACzC,KAAK,EAAE,OAAO;IACd,cAAc,EAAE,iBAAiB;CACzB,CAAC;AAQX;;GAEG;AACH,MAAM,CAAC,MAAM,MAAM,GAAG;IACpB,IAAI,EAAE,MAAM;IACZ,GAAG,EAAE,KAAK;IACV,IAAI,EAAE,MAAM;CACJ,CAAC;AAMX;;GAEG;AACH,MAAM,CAAC,MAAM,EAAE,GAAG;IAChB,EAAE,EAAE,IAAI;IACR,GAAG,EAAE,KAAK;IACV,EAAE,EAAE,IAAI;IACR,GAAG,EAAE,KAAK;IACV,EAAE,EAAE,IAAI;IACR,GAAG,EAAE,KAAK;IACV,MAAM,EAAE,QAAQ;IAChB,SAAS,EAAE,YAAY;CACf,CAAC;
|
|
1
|
+
{"version":3,"file":"analyticsqueryrequest.js","sourceRoot":"","sources":["../../../../src/models/components/analyticsqueryrequest.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,OAAO,KAAK,CAAC,MAAM,QAAQ,CAAC;AAC5B,OAAO,EAAE,KAAK,IAAI,MAAM,EAAE,MAAM,yBAAyB,CAAC;AAC1D,OAAO,EAAE,SAAS,EAAE,MAAM,sBAAsB,CAAC;AAKjD;;GAEG;AACH,MAAM,CAAC,MAAM,2BAA2B,GAAG;IACzC,KAAK,EAAE,OAAO;IACd,cAAc,EAAE,iBAAiB;CACzB,CAAC;AAQX;;GAEG;AACH,MAAM,CAAC,MAAM,MAAM,GAAG;IACpB,IAAI,EAAE,MAAM;IACZ,GAAG,EAAE,KAAK;IACV,IAAI,EAAE,MAAM;CACJ,CAAC;AAMX;;GAEG;AACH,MAAM,CAAC,MAAM,EAAE,GAAG;IAChB,EAAE,EAAE,IAAI;IACR,GAAG,EAAE,KAAK;IACV,EAAE,EAAE,IAAI;IACR,GAAG,EAAE,KAAK;IACV,EAAE,EAAE,IAAI;IACR,GAAG,EAAE,KAAK;IACV,MAAM,EAAE,QAAQ;IAChB,SAAS,EAAE,YAAY;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C,CAAC,CAAC,WAAW,EAAE,CAAC;IAC5C,SAAS,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;IAChC,MAAM,EAAE,qBAAqB,CAAC,QAAQ,EAAE;IACxC,QAAQ,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;IAC/B,OAAO,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;IAC9B,OAAO,EAAE,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,IAAI,CAAC,GAAG,EAAE,CAAC,2CAA2C,CAAC,CAAC;SACxE,QAAQ,EAAE;IACb,KAAK,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,GAAG,EAAE,CAAC,OAAO,CAAC,GAAG,CAAC;CACrC,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,EAAE,EAAE;IACjB,OAAO,MAAM,CAAC,CAAC,EAAE;QACf,SAAS,EAAE,YAAY;QACvB,OAAO,EAAE,UAAU;KACpB,CAAC,CAAC;AACL,CAAC,CAAC,CAAC;AAEH,MAAM,UAAU,2BAA2B,CACzC,qBAA4C;IAE5C,OAAO,IAAI,CAAC,SAAS,CACnB,oCAAoC,CAAC,KAAK,CAAC,qBAAqB,CAAC,CAClE,CAAC;AACJ,CAAC;AACD,MAAM,UAAU,6BAA6B,CAC3C,UAAkB;IAElB,OAAO,SAAS,CACd,UAAU,EACV,CAAC,CAAC,EAAE,EAAE,CAAC,mCAAmC,CAAC,KAAK,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,EAC/D,mDAAmD,CACpD,CAAC;AACJ,CAAC"}
|
|
@@ -9,6 +9,9 @@ export declare const AnalyticsQueryResponseMetric: {
|
|
|
9
9
|
export type AnalyticsQueryResponseMetric = ClosedEnum<typeof AnalyticsQueryResponseMetric>;
|
|
10
10
|
export type Group = string | number | boolean;
|
|
11
11
|
export type Rows = {
|
|
12
|
+
/**
|
|
13
|
+
* Start of the bucket as an ISO 8601 UTC timestamp ending in Z. With a timezone, this is the UTC instant at which the local hour, day, or week starts. Format it in that time zone for display.
|
|
14
|
+
*/
|
|
12
15
|
bucket?: string | undefined;
|
|
13
16
|
group?: string | number | boolean | null | undefined;
|
|
14
17
|
value: number;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"analyticsqueryresponse.d.ts","sourceRoot":"","sources":["../../../../src/models/components/analyticsqueryresponse.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,CAAC,MAAM,QAAQ,CAAC;AAE5B,OAAO,EAAE,UAAU,EAAE,MAAM,sBAAsB,CAAC;AAClD,OAAO,EAAE,MAAM,IAAI,eAAe,EAAE,MAAM,mBAAmB,CAAC;AAC9D,OAAO,EAAE,kBAAkB,EAAE,MAAM,iCAAiC,CAAC;AAErE,eAAO,MAAM,4BAA4B;;;CAG/B,CAAC;AACX,MAAM,MAAM,4BAA4B,GAAG,UAAU,CACnD,OAAO,4BAA4B,CACpC,CAAC;AAEF,MAAM,MAAM,KAAK,GAAG,MAAM,GAAG,MAAM,GAAG,OAAO,CAAC;AAE9C,MAAM,MAAM,IAAI,GAAG;IACjB,MAAM,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IAC5B,KAAK,CAAC,EAAE,MAAM,GAAG,MAAM,GAAG,OAAO,GAAG,IAAI,GAAG,SAAS,CAAC;IACrD,KAAK,EAAE,MAAM,CAAC;CACf,CAAC;AAEF,MAAM,MAAM,sBAAsB,GAAG;IACnC,MAAM,EAAE,4BAA4B,CAAC;IACrC,IAAI,EAAE,KAAK,CAAC,IAAI,CAAC,CAAC;CACnB,CAAC;AAEF,gBAAgB;AAChB,eAAO,MAAM,0CAA0C,EAAE,CAAC,CAAC,aAAa,CACtE,OAAO,4BAA4B,CACS,CAAC;AAC/C,gBAAgB;AAChB,eAAO,MAAM,2CAA2C,EAAE,CAAC,CAAC,aAAa,CACvE,OAAO,4BAA4B,CACS,CAAC;AAE/C,gBAAgB;AAChB,eAAO,MAAM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B;AAChB,MAAM,MAAM,+BAA+B,GAAG;IAC5C,MAAM,EAAE,MAAM,CAAC;IACf,IAAI,EAAE,KAAK,CAAC,aAAa,CAAC,CAAC;CAC5B,CAAC;AAEF,gBAAgB;AAChB,eAAO,MAAM,qCAAqC,EAAE,CAAC,CAAC,OAAO,CAC3D,+BAA+B,EAC/B,CAAC,CAAC,UAAU,EACZ,sBAAsB,CAItB,CAAC;AAEH,wBAAgB,4BAA4B,CAC1C,sBAAsB,EAAE,sBAAsB,GAC7C,MAAM,CAIR;AACD,wBAAgB,8BAA8B,CAC5C,UAAU,EAAE,MAAM,GACjB,eAAe,CAAC,sBAAsB,EAAE,kBAAkB,CAAC,CAM7D"}
|
|
1
|
+
{"version":3,"file":"analyticsqueryresponse.d.ts","sourceRoot":"","sources":["../../../../src/models/components/analyticsqueryresponse.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,CAAC,MAAM,QAAQ,CAAC;AAE5B,OAAO,EAAE,UAAU,EAAE,MAAM,sBAAsB,CAAC;AAClD,OAAO,EAAE,MAAM,IAAI,eAAe,EAAE,MAAM,mBAAmB,CAAC;AAC9D,OAAO,EAAE,kBAAkB,EAAE,MAAM,iCAAiC,CAAC;AAErE,eAAO,MAAM,4BAA4B;;;CAG/B,CAAC;AACX,MAAM,MAAM,4BAA4B,GAAG,UAAU,CACnD,OAAO,4BAA4B,CACpC,CAAC;AAEF,MAAM,MAAM,KAAK,GAAG,MAAM,GAAG,MAAM,GAAG,OAAO,CAAC;AAE9C,MAAM,MAAM,IAAI,GAAG;IACjB;;OAEG;IACH,MAAM,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IAC5B,KAAK,CAAC,EAAE,MAAM,GAAG,MAAM,GAAG,OAAO,GAAG,IAAI,GAAG,SAAS,CAAC;IACrD,KAAK,EAAE,MAAM,CAAC;CACf,CAAC;AAEF,MAAM,MAAM,sBAAsB,GAAG;IACnC,MAAM,EAAE,4BAA4B,CAAC;IACrC,IAAI,EAAE,KAAK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AE,IAAI,GAAG,MAAM,CAE7C;AACD,wBAAgB,YAAY,CAC1B,UAAU,EAAE,MAAM,GACjB,eAAe,CAAC,IAAI,EAAE,kBAAkB,CAAC,CAM3C;AAED,gBAAgB;AAChB,eAAO,MAAM,oCAAoC,EAAE,CAAC,CAAC,OAAO,CAC1D,sBAAsB,EACtB,CAAC,CAAC,UAAU,EACZ,OAAO,CAIP,CAAC;AACH,gBAAgB;AAChB,MAAM,MAAM,+BAA+B,GAAG;IAC5C,MAAM,EAAE,MAAM,CAAC;IACf,IAAI,EAAE,KAAK,CAAC,aAAa,CAAC,CAAC;CAC5B,CAAC;AAEF,gBAAgB;AAChB,eAAO,MAAM,qCAAqC,EAAE,CAAC,CAAC,OAAO,CAC3D,+BAA+B,EAC/B,CAAC,CAAC,UAAU,EACZ,sBAAsB,CAItB,CAAC;AAEH,wBAAgB,4BAA4B,CAC1C,sBAAsB,EAAE,sBAAsB,GAC7C,MAAM,CAIR;AACD,wBAAgB,8BAA8B,CAC5C,UAAU,EAAE,MAAM,GACjB,eAAe,CAAC,sBAAsB,EAAE,kBAAkB,CAAC,CAM7D"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"analyticsqueryresponse.js","sourceRoot":"","sources":["../../../../src/models/components/analyticsqueryresponse.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,OAAO,KAAK,CAAC,MAAM,QAAQ,CAAC;AAC5B,OAAO,EAAE,SAAS,EAAE,MAAM,sBAAsB,CAAC;AAKjD,MAAM,CAAC,MAAM,4BAA4B,GAAG;IAC1C,KAAK,EAAE,OAAO;IACd,cAAc,EAAE,iBAAiB;CACzB,CAAC;
|
|
1
|
+
{"version":3,"file":"analyticsqueryresponse.js","sourceRoot":"","sources":["../../../../src/models/components/analyticsqueryresponse.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,OAAO,KAAK,CAAC,MAAM,QAAQ,CAAC;AAC5B,OAAO,EAAE,SAAS,EAAE,MAAM,sBAAsB,C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D,IAAI,EAAE,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,IAAI,CAAC,GAAG,EAAE,CAAC,mBAAmB,CAAC,CAAC;CACjD,CAAC,CAAC;AAEH,MAAM,UAAU,4BAA4B,CAC1C,sBAA8C;IAE9C,OAAO,IAAI,CAAC,SAAS,CACnB,qCAAqC,CAAC,KAAK,CAAC,sBAAsB,CAAC,CACpE,CAAC;AACJ,CAAC;AACD,MAAM,UAAU,8BAA8B,CAC5C,UAAkB;IAElB,OAAO,SAAS,CACd,UAAU,EACV,CAAC,CAAC,EAAE,EAAE,CAAC,oCAAoC,CAAC,KAAK,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,EAChE,oDAAoD,CACrD,CAAC;AACJ,CAAC"}
|
|
@@ -19,12 +19,14 @@ export declare const EffectivePriceRowSource: {
|
|
|
19
19
|
readonly OrgOverride: "org_override";
|
|
20
20
|
readonly ClusterDefault: "cluster_default";
|
|
21
21
|
readonly Unpriced: "unpriced";
|
|
22
|
+
readonly Auto: "auto";
|
|
22
23
|
};
|
|
23
24
|
export type EffectivePriceRowSource = ClosedEnum<typeof EffectivePriceRowSource>;
|
|
24
25
|
export type EffectivePriceRow = {
|
|
25
26
|
model: string;
|
|
26
27
|
rates: EffectivePriceRowRates | null;
|
|
27
28
|
source: EffectivePriceRowSource;
|
|
29
|
+
resolvesTo?: Array<string> | undefined;
|
|
28
30
|
};
|
|
29
31
|
/** @internal */
|
|
30
32
|
export declare const EffectivePriceRowRates$inboundSchema: z.ZodType<EffectivePriceRowRates, z.ZodTypeDef, unknown>;
|
|
@@ -57,6 +59,7 @@ export type EffectivePriceRow$Outbound = {
|
|
|
57
59
|
model: string;
|
|
58
60
|
rates: EffectivePriceRowRates$Outbound | null;
|
|
59
61
|
source: string;
|
|
62
|
+
resolves_to?: Array<string> | undefined;
|
|
60
63
|
};
|
|
61
64
|
/** @internal */
|
|
62
65
|
export declare const EffectivePriceRow$outboundSchema: z.ZodType<EffectivePriceRow$Outbound, z.ZodTypeDef, EffectivePriceRow>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"effectivepricerow.d.ts","sourceRoot":"","sources":["../../../../src/models/components/effectivepricerow.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,CAAC,MAAM,QAAQ,CAAC;AAG5B,OAAO,EAAE,UAAU,EAAE,MAAM,sBAAsB,CAAC;AAClD,OAAO,EAAE,MAAM,IAAI,eAAe,EAAE,MAAM,mBAAmB,CAAC;AAC9D,OAAO,EAAE,kBAAkB,EAAE,MAAM,iCAAiC,CAAC;AAErE,MAAM,MAAM,sBAAsB,GAAG;IACnC,WAAW,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IACjC,YAAY,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IAClC,YAAY,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IAClC,eAAe,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IACrC,UAAU,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IAChC,OAAO,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IAC7B,KAAK,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IAC3B,UAAU,CAAC,EAAE;QAAE,CAAC,CAAC,EAAE,MAAM,GAAG,MAAM,CAAA;KAAE,GAAG,SAAS,CAAC;IACjD,QAAQ,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;CAC/B,CAAC;AAEF,eAAO,MAAM,uBAAuB
|
|
1
|
+
{"version":3,"file":"effectivepricerow.d.ts","sourceRoot":"","sources":["../../../../src/models/components/effectivepricerow.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,CAAC,MAAM,QAAQ,CAAC;AAG5B,OAAO,EAAE,UAAU,EAAE,MAAM,sBAAsB,CAAC;AAClD,OAAO,EAAE,MAAM,IAAI,eAAe,EAAE,MAAM,mBAAmB,CAAC;AAC9D,OAAO,EAAE,kBAAkB,EAAE,MAAM,iCAAiC,CAAC;A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ACtD,0BAA0B,EAC1B,CAAC,CAAC,UAAU,EACZ,iBAAiB,CAUjB,CAAC;AAEH,wBAAgB,uBAAuB,CACrC,iBAAiB,EAAE,iBAAiB,GACnC,MAAM,CAIR;AACD,wBAAgB,yBAAyB,CACvC,UAAU,EAAE,MAAM,GACjB,eAAe,CAAC,iBAAiB,EAAE,kBAAkB,CAAC,CAMxD"}
|
|
@@ -8,6 +8,7 @@ export const EffectivePriceRowSource = {
|
|
|
8
8
|
OrgOverride: "org_override",
|
|
9
9
|
ClusterDefault: "cluster_default",
|
|
10
10
|
Unpriced: "unpriced",
|
|
11
|
+
Auto: "auto",
|
|
11
12
|
};
|
|
12
13
|
/** @internal */
|
|
13
14
|
export const EffectivePriceRowRates$inboundSchema = z.object({
|
|
@@ -64,12 +65,22 @@ export const EffectivePriceRow$inboundSchema = z.object({
|
|
|
64
65
|
model: z.string(),
|
|
65
66
|
rates: z.nullable(z.lazy(() => EffectivePriceRowRates$inboundSchema)),
|
|
66
67
|
source: EffectivePriceRowSource$inboundSchema,
|
|
68
|
+
resolves_to: z.array(z.string()).optional(),
|
|
69
|
+
}).transform((v) => {
|
|
70
|
+
return remap$(v, {
|
|
71
|
+
"resolves_to": "resolvesTo",
|
|
72
|
+
});
|
|
67
73
|
});
|
|
68
74
|
/** @internal */
|
|
69
75
|
export const EffectivePriceRow$outboundSchema = z.object({
|
|
70
76
|
model: z.string(),
|
|
71
77
|
rates: z.nullable(z.lazy(() => EffectivePriceRowRates$outboundSchema)),
|
|
72
78
|
source: EffectivePriceRowSource$outboundSchema,
|
|
79
|
+
resolvesTo: z.array(z.string()).optional(),
|
|
80
|
+
}).transform((v) => {
|
|
81
|
+
return remap$(v, {
|
|
82
|
+
resolvesTo: "resolves_to",
|
|
83
|
+
});
|
|
73
84
|
});
|
|
74
85
|
export function effectivePriceRowToJSON(effectivePriceRow) {
|
|
75
86
|
return JSON.stringify(EffectivePriceRow$outboundSchema.parse(effectivePriceRow));
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"effectivepricerow.js","sourceRoot":"","sources":["../../../../src/models/components/effectivepricerow.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,OAAO,KAAK,CAAC,MAAM,QAAQ,CAAC;AAC5B,OAAO,EAAE,KAAK,IAAI,MAAM,EAAE,MAAM,yBAAyB,CAAC;AAC1D,OAAO,EAAE,SAAS,EAAE,MAAM,sBAAsB,CAAC;AAiBjD,MAAM,CAAC,MAAM,uBAAuB,GAAG;IACrC,WAAW,EAAE,cAAc;IAC3B,cAAc,EAAE,iBAAiB;IACjC,QAAQ,EAAE,UAAU;
|
|
1
|
+
{"version":3,"file":"effectivepricerow.js","sourceRoot":"","sources":["../../../../src/models/components/effectivepricerow.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,OAAO,KAAK,CAAC,MAAM,QAAQ,CAAC;AAC5B,OAAO,EAAE,KAAK,IAAI,MAAM,EAAE,MAAM,yBAAyB,CAAC;AAC1D,OAAO,EAAE,SAAS,EAAE,MAAM,sBAAsB,CAAC;AAiBjD,MAAM,CAAC,MAAM,uBAAuB,GAAG;IACrC,WAAW,EAAE,cAAc;IAC3B,cAAc,EAAE,iBAAiB;IACjC,QAAQ,EAAE,UAAU;IACpB,IAAI,EAAE,MAAM;CACJ,CAAC;AAYX,gBAAgB;AAChB,MAAM,CAAC,MAAM,oCAAoC,GAI7C,CAAC,CAAC,MAAM,CAAC;IACX,YAAY,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;IACnC,aAAa,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;IACpC,aAAa,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;IACpC,gBAAgB,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;IACvC,UAAU,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;IACjC,OAAO,EAAE,CAAC,CAAC,MAAM,EAAE,C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AM,CAAC,MAAM,gCAAgC,GAIzC,CAAC,CAAC,MAAM,CAAC;IACX,KAAK,EAAE,CAAC,CAAC,MAAM,EAAE;IACjB,KAAK,EAAE,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,IAAI,CAAC,GAAG,EAAE,CAAC,qCAAqC,CAAC,CAAC;IACtE,MAAM,EAAE,sCAAsC;IAC9C,UAAU,EAAE,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,MAAM,EAAE,CAAC,CAAC,QAAQ,EAAE;CAC3C,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,EAAE,EAAE;IACjB,OAAO,MAAM,CAAC,CAAC,EAAE;QACf,UAAU,EAAE,aAAa;KAC1B,CAAC,CAAC;AACL,CAAC,CAAC,CAAC;AAEH,MAAM,UAAU,uBAAuB,CACrC,iBAAoC;IAEpC,OAAO,IAAI,CAAC,SAAS,CACnB,gCAAgC,CAAC,KAAK,CAAC,iBAAiB,CAAC,CAC1D,CAAC;AACJ,CAAC;AACD,MAAM,UAAU,yBAAyB,CACvC,UAAkB;IAElB,OAAO,SAAS,CACd,UAAU,EACV,CAAC,CAAC,EAAE,EAAE,CAAC,+BAA+B,CAAC,KAAK,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,EAC3D,+CAA+C,CAChD,CAAC;AACJ,CAAC"}
|
|
@@ -19,7 +19,7 @@ export type AnalyticsQueryMutationError = errors.AnalyticsError | SDKError | Res
|
|
|
19
19
|
* Query event counts or unique visitors
|
|
20
20
|
*
|
|
21
21
|
* @remarks
|
|
22
|
-
* Count events or unique visitors in a time range. Optionally filter by event name or properties, group by one property, and split results into
|
|
22
|
+
* Count events or unique visitors in a time range. Optionally filter by event name or properties, group by one property, and split results into hour, day, or week buckets that start on the clock of an IANA time zone, UTC by default. Each bucket is returned as the UTC instant at which it starts. The range includes from and excludes to. Duplicate event IDs are counted once. An unknown time zone returns 400.
|
|
23
23
|
*/
|
|
24
24
|
export declare function useAnalyticsQueryMutation(options?: MutationHookOptions<AnalyticsQueryMutationData, AnalyticsQueryMutationError, AnalyticsQueryMutationVariables>): UseMutationResult<AnalyticsQueryMutationData, AnalyticsQueryMutationError, AnalyticsQueryMutationVariables>;
|
|
25
25
|
export declare function mutationKeyAnalyticsQuery(): MutationKey;
|
|
@@ -10,7 +10,7 @@ import { useSDKContext } from "./_context.js";
|
|
|
10
10
|
* Query event counts or unique visitors
|
|
11
11
|
*
|
|
12
12
|
* @remarks
|
|
13
|
-
* Count events or unique visitors in a time range. Optionally filter by event name or properties, group by one property, and split results into
|
|
13
|
+
* Count events or unique visitors in a time range. Optionally filter by event name or properties, group by one property, and split results into hour, day, or week buckets that start on the clock of an IANA time zone, UTC by default. Each bucket is returned as the UTC instant at which it starts. The range includes from and excludes to. Duplicate event IDs are counted once. An unknown time zone returns 400.
|
|
14
14
|
*/
|
|
15
15
|
export function useAnalyticsQueryMutation(options) {
|
|
16
16
|
const client = useSDKContext();
|
|
@@ -12,14 +12,14 @@ export type LlmModelsListEffectivePricesQueryError = SDKError | ResponseValidati
|
|
|
12
12
|
* List effective prices for the caller's models
|
|
13
13
|
*
|
|
14
14
|
* @remarks
|
|
15
|
-
* For every active model, returns its registry-aware price: an org row, a cluster default for cluster lineage, or unpriced ($0).
|
|
15
|
+
* For every active model, returns its registry-aware price: an org row, a cluster default for cluster lineage, or unpriced ($0). Also lists the `auto` routing alias, priced at the per-metric maximum across every model it can be billed as (`resolves_to`): a judge policy's active candidates, or the direct/YAML target plus any reroute target it can fall through to.
|
|
16
16
|
*/
|
|
17
17
|
export declare function useLlmModelsListEffectivePrices(request: operations.ListEffectivePricesRequest, options?: QueryHookOptions<LlmModelsListEffectivePricesQueryData, LlmModelsListEffectivePricesQueryError>): UseQueryResult<LlmModelsListEffectivePricesQueryData, LlmModelsListEffectivePricesQueryError>;
|
|
18
18
|
/**
|
|
19
19
|
* List effective prices for the caller's models
|
|
20
20
|
*
|
|
21
21
|
* @remarks
|
|
22
|
-
* For every active model, returns its registry-aware price: an org row, a cluster default for cluster lineage, or unpriced ($0).
|
|
22
|
+
* For every active model, returns its registry-aware price: an org row, a cluster default for cluster lineage, or unpriced ($0). Also lists the `auto` routing alias, priced at the per-metric maximum across every model it can be billed as (`resolves_to`): a judge policy's active candidates, or the direct/YAML target plus any reroute target it can fall through to.
|
|
23
23
|
*/
|
|
24
24
|
export declare function useLlmModelsListEffectivePricesSuspense(request: operations.ListEffectivePricesRequest, options?: SuspenseQueryHookOptions<LlmModelsListEffectivePricesQueryData, LlmModelsListEffectivePricesQueryError>): UseSuspenseQueryResult<LlmModelsListEffectivePricesQueryData, LlmModelsListEffectivePricesQueryError>;
|
|
25
25
|
export declare function setLlmModelsListEffectivePricesData(client: QueryClient, queryKeyBase: [parameters: {
|
|
@@ -9,7 +9,7 @@ export { buildLlmModelsListEffectivePricesQuery, prefetchLlmModelsListEffectiveP
|
|
|
9
9
|
* List effective prices for the caller's models
|
|
10
10
|
*
|
|
11
11
|
* @remarks
|
|
12
|
-
* For every active model, returns its registry-aware price: an org row, a cluster default for cluster lineage, or unpriced ($0).
|
|
12
|
+
* For every active model, returns its registry-aware price: an org row, a cluster default for cluster lineage, or unpriced ($0). Also lists the `auto` routing alias, priced at the per-metric maximum across every model it can be billed as (`resolves_to`): a judge policy's active candidates, or the direct/YAML target plus any reroute target it can fall through to.
|
|
13
13
|
*/
|
|
14
14
|
export function useLlmModelsListEffectivePrices(request, options) {
|
|
15
15
|
const client = useSDKContext();
|
|
@@ -22,7 +22,7 @@ export function useLlmModelsListEffectivePrices(request, options) {
|
|
|
22
22
|
* List effective prices for the caller's models
|
|
23
23
|
*
|
|
24
24
|
* @remarks
|
|
25
|
-
* For every active model, returns its registry-aware price: an org row, a cluster default for cluster lineage, or unpriced ($0).
|
|
25
|
+
* For every active model, returns its registry-aware price: an org row, a cluster default for cluster lineage, or unpriced ($0). Also lists the `auto` routing alias, priced at the per-metric maximum across every model it can be billed as (`resolves_to`): a judge policy's active candidates, or the direct/YAML target plus any reroute target it can fall through to.
|
|
26
26
|
*/
|
|
27
27
|
export function useLlmModelsListEffectivePricesSuspense(request, options) {
|
|
28
28
|
const client = useSDKContext();
|
|
@@ -19,7 +19,7 @@ export declare class Analytics extends ClientSDK {
|
|
|
19
19
|
* Query event counts or unique visitors
|
|
20
20
|
*
|
|
21
21
|
* @remarks
|
|
22
|
-
* Count events or unique visitors in a time range. Optionally filter by event name or properties, group by one property, and split results into
|
|
22
|
+
* Count events or unique visitors in a time range. Optionally filter by event name or properties, group by one property, and split results into hour, day, or week buckets that start on the clock of an IANA time zone, UTC by default. Each bucket is returned as the UTC instant at which it starts. The range includes from and excludes to. Duplicate event IDs are counted once. An unknown time zone returns 400.
|
|
23
23
|
*/
|
|
24
24
|
query(request: operations.AnalyticsQueryRequest, options?: RequestOptions): Promise<components.AnalyticsQueryResponse>;
|
|
25
25
|
}
|
|
@@ -27,7 +27,7 @@ export class Analytics extends ClientSDK {
|
|
|
27
27
|
* Query event counts or unique visitors
|
|
28
28
|
*
|
|
29
29
|
* @remarks
|
|
30
|
-
* Count events or unique visitors in a time range. Optionally filter by event name or properties, group by one property, and split results into
|
|
30
|
+
* Count events or unique visitors in a time range. Optionally filter by event name or properties, group by one property, and split results into hour, day, or week buckets that start on the clock of an IANA time zone, UTC by default. Each bucket is returned as the UTC instant at which it starts. The range includes from and excludes to. Duplicate event IDs are counted once. An unknown time zone returns 400.
|
|
31
31
|
*/
|
|
32
32
|
async query(request, options) {
|
|
33
33
|
return unwrapAsync(analyticsQuery(this, request, options));
|
package/dist/esm/sdk/models.d.ts
CHANGED
|
@@ -181,7 +181,7 @@ export declare class Models extends ClientSDK {
|
|
|
181
181
|
* List effective prices for the caller's models
|
|
182
182
|
*
|
|
183
183
|
* @remarks
|
|
184
|
-
* For every active model, returns its registry-aware price: an org row, a cluster default for cluster lineage, or unpriced ($0).
|
|
184
|
+
* For every active model, returns its registry-aware price: an org row, a cluster default for cluster lineage, or unpriced ($0). Also lists the `auto` routing alias, priced at the per-metric maximum across every model it can be billed as (`resolves_to`): a judge policy's active candidates, or the direct/YAML target plus any reroute target it can fall through to.
|
|
185
185
|
*/
|
|
186
186
|
listEffectivePrices(request: operations.ListEffectivePricesRequest, options?: RequestOptions): Promise<components.EffectivePricesResponse>;
|
|
187
187
|
}
|
package/dist/esm/sdk/models.js
CHANGED
|
@@ -259,7 +259,7 @@ export class Models extends ClientSDK {
|
|
|
259
259
|
* List effective prices for the caller's models
|
|
260
260
|
*
|
|
261
261
|
* @remarks
|
|
262
|
-
* For every active model, returns its registry-aware price: an org row, a cluster default for cluster lineage, or unpriced ($0).
|
|
262
|
+
* For every active model, returns its registry-aware price: an org row, a cluster default for cluster lineage, or unpriced ($0). Also lists the `auto` routing alias, priced at the per-metric maximum across every model it can be billed as (`resolves_to`): a judge policy's active candidates, or the direct/YAML target plus any reroute target it can fall through to.
|
|
263
263
|
*/
|
|
264
264
|
async listEffectivePrices(request, options) {
|
|
265
265
|
return unwrapAsync(llmModelsListEffectivePrices(this, request, options));
|
package/jsr.json
CHANGED
package/package.json
CHANGED
|
@@ -31,7 +31,7 @@ import { Result } from "../types/fp.js";
|
|
|
31
31
|
* Query event counts or unique visitors
|
|
32
32
|
*
|
|
33
33
|
* @remarks
|
|
34
|
-
* Count events or unique visitors in a time range. Optionally filter by event name or properties, group by one property, and split results into
|
|
34
|
+
* Count events or unique visitors in a time range. Optionally filter by event name or properties, group by one property, and split results into hour, day, or week buckets that start on the clock of an IANA time zone, UTC by default. Each bucket is returned as the UTC instant at which it starts. The range includes from and excludes to. Duplicate event IDs are counted once. An unknown time zone returns 400.
|
|
35
35
|
*
|
|
36
36
|
* If set, this operation will use {@link Security.bearerAuth} from the global security.
|
|
37
37
|
*/
|
|
@@ -30,7 +30,7 @@ import { Result } from "../types/fp.js";
|
|
|
30
30
|
* List effective prices for the caller's models
|
|
31
31
|
*
|
|
32
32
|
* @remarks
|
|
33
|
-
* For every active model, returns its registry-aware price: an org row, a cluster default for cluster lineage, or unpriced ($0).
|
|
33
|
+
* For every active model, returns its registry-aware price: an org row, a cluster default for cluster lineage, or unpriced ($0). Also lists the `auto` routing alias, priced at the per-metric maximum across every model it can be billed as (`resolves_to`): a judge policy's active candidates, or the direct/YAML target plus any reroute target it can fall through to.
|
|
34
34
|
*
|
|
35
35
|
* If set, this operation will use {@link Security.bearerAuth} from the global security.
|
|
36
36
|
*/
|
package/src/lib/config.ts
CHANGED
|
@@ -65,7 +65,7 @@ export function serverURLFromOptions(options: SDKOptions): URL | null {
|
|
|
65
65
|
export const SDK_METADATA = {
|
|
66
66
|
language: "typescript",
|
|
67
67
|
openapiDocVersion: "1.1.0",
|
|
68
|
-
sdkVersion: "0.54.
|
|
68
|
+
sdkVersion: "0.54.45",
|
|
69
69
|
genVersion: "2.938.0",
|
|
70
|
-
userAgent: "speakeasy-sdk/typescript 0.54.
|
|
70
|
+
userAgent: "speakeasy-sdk/typescript 0.54.45 2.938.0 1.1.0 @meetkai/mka1",
|
|
71
71
|
} as const;
|
package/src/mcp-server/server.ts
CHANGED
|
@@ -14,7 +14,7 @@ export const tool$analyticsQuery: ToolDefinition<typeof args> = {
|
|
|
14
14
|
name: "analytics-query",
|
|
15
15
|
description: `Query event counts or unique visitors
|
|
16
16
|
|
|
17
|
-
Count events or unique visitors in a time range. Optionally filter by event name or properties, group by one property, and split results into
|
|
17
|
+
Count events or unique visitors in a time range. Optionally filter by event name or properties, group by one property, and split results into hour, day, or week buckets that start on the clock of an IANA time zone, UTC by default. Each bucket is returned as the UTC instant at which it starts. The range includes from and excludes to. Duplicate event IDs are counted once. An unknown time zone returns 400.`,
|
|
18
18
|
args,
|
|
19
19
|
tool: async (client, args, ctx) => {
|
|
20
20
|
const [result, apiCall] = await analyticsQuery(
|
|
@@ -14,7 +14,7 @@ export const tool$llmModelsListEffectivePrices: ToolDefinition<typeof args> = {
|
|
|
14
14
|
name: "llm-models-list-effective-prices",
|
|
15
15
|
description: `List effective prices for the caller's models
|
|
16
16
|
|
|
17
|
-
For every active model, returns its registry-aware price: an org row, a cluster default for cluster lineage, or unpriced ($0).`,
|
|
17
|
+
For every active model, returns its registry-aware price: an org row, a cluster default for cluster lineage, or unpriced ($0). Also lists the \`auto\` routing alias, priced at the per-metric maximum across every model it can be billed as (\`resolves_to\`): a judge policy's active candidates, or the direct/YAML target plus any reroute target it can fall through to.`,
|
|
18
18
|
args,
|
|
19
19
|
tool: async (client, args, ctx) => {
|
|
20
20
|
const [result, apiCall] = await llmModelsListEffectivePrices(
|
|
@@ -24,7 +24,7 @@ export type AnalyticsQueryRequestMetric = ClosedEnum<
|
|
|
24
24
|
>;
|
|
25
25
|
|
|
26
26
|
/**
|
|
27
|
-
* Split results into
|
|
27
|
+
* Split results into time buckets. Hours, days, and Monday-start weeks begin on the clock of timezone, which defaults to UTC. Empty buckets are omitted.
|
|
28
28
|
*/
|
|
29
29
|
export const Bucket = {
|
|
30
30
|
Hour: "hour",
|
|
@@ -32,7 +32,7 @@ export const Bucket = {
|
|
|
32
32
|
Week: "week",
|
|
33
33
|
} as const;
|
|
34
34
|
/**
|
|
35
|
-
* Split results into
|
|
35
|
+
* Split results into time buckets. Hours, days, and Monday-start weeks begin on the clock of timezone, which defaults to UTC. Empty buckets are omitted.
|
|
36
36
|
*/
|
|
37
37
|
export type Bucket = ClosedEnum<typeof Bucket>;
|
|
38
38
|
|
|
@@ -92,9 +92,13 @@ export type AnalyticsQueryRequest = {
|
|
|
92
92
|
*/
|
|
93
93
|
eventName?: string | undefined;
|
|
94
94
|
/**
|
|
95
|
-
* Split results into
|
|
95
|
+
* Split results into time buckets. Hours, days, and Monday-start weeks begin on the clock of timezone, which defaults to UTC. Empty buckets are omitted.
|
|
96
96
|
*/
|
|
97
97
|
bucket?: Bucket | undefined;
|
|
98
|
+
/**
|
|
99
|
+
* IANA time zone name that sets where buckets start. Defaults to UTC. A day is a local calendar day and lasts 23 or 25 hours when the clocks change. In zones offset by 30 or 45 minutes, hours start on the local clock. UTC offsets such as +05:30 are rejected, as are identifiers outside the IANA database such as PST or BST, and names the service's time zone database does not know, which can lag the newest IANA zones; fall back to UTC when the 400 names timezone. Only bucket boundaries change: from, to, filters, and the UTC format of each row's bucket stay the same. Has no effect without bucket.
|
|
100
|
+
*/
|
|
101
|
+
timezone?: string | undefined;
|
|
98
102
|
/**
|
|
99
103
|
* Group results by one event property. Missing values and null share a group.
|
|
100
104
|
*/
|
|
@@ -221,6 +225,7 @@ export const AnalyticsQueryRequest$inboundSchema: z.ZodType<
|
|
|
221
225
|
to: z.string().datetime({ offset: true }).transform(v => new Date(v)),
|
|
222
226
|
event_name: z.string().optional(),
|
|
223
227
|
bucket: Bucket$inboundSchema.optional(),
|
|
228
|
+
timezone: z.string().optional(),
|
|
224
229
|
group_by: z.string().optional(),
|
|
225
230
|
filters: z.array(z.lazy(() => AnalyticsQueryRequestFilters$inboundSchema))
|
|
226
231
|
.optional(),
|
|
@@ -238,6 +243,7 @@ export type AnalyticsQueryRequest$Outbound = {
|
|
|
238
243
|
to: string;
|
|
239
244
|
event_name?: string | undefined;
|
|
240
245
|
bucket?: string | undefined;
|
|
246
|
+
timezone?: string | undefined;
|
|
241
247
|
group_by?: string | undefined;
|
|
242
248
|
filters?: Array<AnalyticsQueryRequestFilters$Outbound> | undefined;
|
|
243
249
|
limit: number;
|
|
@@ -254,6 +260,7 @@ export const AnalyticsQueryRequest$outboundSchema: z.ZodType<
|
|
|
254
260
|
to: z.date().transform(v => v.toISOString()),
|
|
255
261
|
eventName: z.string().optional(),
|
|
256
262
|
bucket: Bucket$outboundSchema.optional(),
|
|
263
|
+
timezone: z.string().optional(),
|
|
257
264
|
groupBy: z.string().optional(),
|
|
258
265
|
filters: z.array(z.lazy(() => AnalyticsQueryRequestFilters$outboundSchema))
|
|
259
266
|
.optional(),
|
|
@@ -19,6 +19,9 @@ export type AnalyticsQueryResponseMetric = ClosedEnum<
|
|
|
19
19
|
export type Group = string | number | boolean;
|
|
20
20
|
|
|
21
21
|
export type Rows = {
|
|
22
|
+
/**
|
|
23
|
+
* Start of the bucket as an ISO 8601 UTC timestamp ending in Z. With a timezone, this is the UTC instant at which the local hour, day, or week starts. Format it in that time zone for display.
|
|
24
|
+
*/
|
|
22
25
|
bucket?: string | undefined;
|
|
23
26
|
group?: string | number | boolean | null | undefined;
|
|
24
27
|
value: number;
|
|
@@ -25,6 +25,7 @@ export const EffectivePriceRowSource = {
|
|
|
25
25
|
OrgOverride: "org_override",
|
|
26
26
|
ClusterDefault: "cluster_default",
|
|
27
27
|
Unpriced: "unpriced",
|
|
28
|
+
Auto: "auto",
|
|
28
29
|
} as const;
|
|
29
30
|
export type EffectivePriceRowSource = ClosedEnum<
|
|
30
31
|
typeof EffectivePriceRowSource
|
|
@@ -34,6 +35,7 @@ export type EffectivePriceRow = {
|
|
|
34
35
|
model: string;
|
|
35
36
|
rates: EffectivePriceRowRates | null;
|
|
36
37
|
source: EffectivePriceRowSource;
|
|
38
|
+
resolvesTo?: Array<string> | undefined;
|
|
37
39
|
};
|
|
38
40
|
|
|
39
41
|
/** @internal */
|
|
@@ -133,12 +135,18 @@ export const EffectivePriceRow$inboundSchema: z.ZodType<
|
|
|
133
135
|
model: z.string(),
|
|
134
136
|
rates: z.nullable(z.lazy(() => EffectivePriceRowRates$inboundSchema)),
|
|
135
137
|
source: EffectivePriceRowSource$inboundSchema,
|
|
138
|
+
resolves_to: z.array(z.string()).optional(),
|
|
139
|
+
}).transform((v) => {
|
|
140
|
+
return remap$(v, {
|
|
141
|
+
"resolves_to": "resolvesTo",
|
|
142
|
+
});
|
|
136
143
|
});
|
|
137
144
|
/** @internal */
|
|
138
145
|
export type EffectivePriceRow$Outbound = {
|
|
139
146
|
model: string;
|
|
140
147
|
rates: EffectivePriceRowRates$Outbound | null;
|
|
141
148
|
source: string;
|
|
149
|
+
resolves_to?: Array<string> | undefined;
|
|
142
150
|
};
|
|
143
151
|
|
|
144
152
|
/** @internal */
|
|
@@ -150,6 +158,11 @@ export const EffectivePriceRow$outboundSchema: z.ZodType<
|
|
|
150
158
|
model: z.string(),
|
|
151
159
|
rates: z.nullable(z.lazy(() => EffectivePriceRowRates$outboundSchema)),
|
|
152
160
|
source: EffectivePriceRowSource$outboundSchema,
|
|
161
|
+
resolvesTo: z.array(z.string()).optional(),
|
|
162
|
+
}).transform((v) => {
|
|
163
|
+
return remap$(v, {
|
|
164
|
+
resolvesTo: "resolves_to",
|
|
165
|
+
});
|
|
153
166
|
});
|
|
154
167
|
|
|
155
168
|
export function effectivePriceRowToJSON(
|
|
@@ -50,7 +50,7 @@ export type AnalyticsQueryMutationError =
|
|
|
50
50
|
* Query event counts or unique visitors
|
|
51
51
|
*
|
|
52
52
|
* @remarks
|
|
53
|
-
* Count events or unique visitors in a time range. Optionally filter by event name or properties, group by one property, and split results into
|
|
53
|
+
* Count events or unique visitors in a time range. Optionally filter by event name or properties, group by one property, and split results into hour, day, or week buckets that start on the clock of an IANA time zone, UTC by default. Each bucket is returned as the UTC instant at which it starts. The range includes from and excludes to. Duplicate event IDs are counted once. An unknown time zone returns 400.
|
|
54
54
|
*/
|
|
55
55
|
export function useAnalyticsQueryMutation(
|
|
56
56
|
options?: MutationHookOptions<
|
|
@@ -54,7 +54,7 @@ export type LlmModelsListEffectivePricesQueryError =
|
|
|
54
54
|
* List effective prices for the caller's models
|
|
55
55
|
*
|
|
56
56
|
* @remarks
|
|
57
|
-
* For every active model, returns its registry-aware price: an org row, a cluster default for cluster lineage, or unpriced ($0).
|
|
57
|
+
* For every active model, returns its registry-aware price: an org row, a cluster default for cluster lineage, or unpriced ($0). Also lists the `auto` routing alias, priced at the per-metric maximum across every model it can be billed as (`resolves_to`): a judge policy's active candidates, or the direct/YAML target plus any reroute target it can fall through to.
|
|
58
58
|
*/
|
|
59
59
|
export function useLlmModelsListEffectivePrices(
|
|
60
60
|
request: operations.ListEffectivePricesRequest,
|
|
@@ -81,7 +81,7 @@ export function useLlmModelsListEffectivePrices(
|
|
|
81
81
|
* List effective prices for the caller's models
|
|
82
82
|
*
|
|
83
83
|
* @remarks
|
|
84
|
-
* For every active model, returns its registry-aware price: an org row, a cluster default for cluster lineage, or unpriced ($0).
|
|
84
|
+
* For every active model, returns its registry-aware price: an org row, a cluster default for cluster lineage, or unpriced ($0). Also lists the `auto` routing alias, priced at the per-metric maximum across every model it can be billed as (`resolves_to`): a judge policy's active candidates, or the direct/YAML target plus any reroute target it can fall through to.
|
|
85
85
|
*/
|
|
86
86
|
export function useLlmModelsListEffectivePricesSuspense(
|
|
87
87
|
request: operations.ListEffectivePricesRequest,
|
package/src/sdk/analytics.ts
CHANGED
|
@@ -45,7 +45,7 @@ export class Analytics extends ClientSDK {
|
|
|
45
45
|
* Query event counts or unique visitors
|
|
46
46
|
*
|
|
47
47
|
* @remarks
|
|
48
|
-
* Count events or unique visitors in a time range. Optionally filter by event name or properties, group by one property, and split results into
|
|
48
|
+
* Count events or unique visitors in a time range. Optionally filter by event name or properties, group by one property, and split results into hour, day, or week buckets that start on the clock of an IANA time zone, UTC by default. Each bucket is returned as the UTC instant at which it starts. The range includes from and excludes to. Duplicate event IDs are counted once. An unknown time zone returns 400.
|
|
49
49
|
*/
|
|
50
50
|
async query(
|
|
51
51
|
request: operations.AnalyticsQueryRequest,
|