@to11ai/sdk 3.0.0-rc.25 → 3.0.0-rc.26
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.
|
@@ -26144,6 +26144,7 @@ export type SessionsListSessionsResponses = {
|
|
|
26144
26144
|
code: number;
|
|
26145
26145
|
data: {
|
|
26146
26146
|
items: Array<{
|
|
26147
|
+
agentTitle?: string | null;
|
|
26147
26148
|
apiPriceEquivalentUsd: number | null;
|
|
26148
26149
|
billedCostUsd: number | null;
|
|
26149
26150
|
billingMode: 'subscription' | 'api' | 'unknown' | 'mixed' | null;
|
|
@@ -26379,6 +26380,7 @@ export type SessionsGetSessionResponses = {
|
|
|
26379
26380
|
code: number;
|
|
26380
26381
|
data: {
|
|
26381
26382
|
session: {
|
|
26383
|
+
agentTitle?: string | null;
|
|
26382
26384
|
apiPriceEquivalentUsd: number | null;
|
|
26383
26385
|
billedCostUsd: number | null;
|
|
26384
26386
|
billingMode: 'subscription' | 'api' | 'unknown' | 'mixed' | null;
|
|
@@ -26531,9 +26533,11 @@ export type SessionsGetSessionResponses = {
|
|
|
26531
26533
|
}>;
|
|
26532
26534
|
};
|
|
26533
26535
|
timeline: Array<{
|
|
26536
|
+
agentCall?: 'quota-probe' | 'session-title' | null;
|
|
26534
26537
|
durationMs: number;
|
|
26535
26538
|
firstUserMessage: string | null;
|
|
26536
26539
|
inputTokens: number;
|
|
26540
|
+
lastUserMessage?: string | null;
|
|
26537
26541
|
model: string | null;
|
|
26538
26542
|
name: string;
|
|
26539
26543
|
outputTokens: number;
|
|
@@ -26638,6 +26642,7 @@ export type SessionsExportSessionResponses = {
|
|
|
26638
26642
|
*/
|
|
26639
26643
|
200: {
|
|
26640
26644
|
session: {
|
|
26645
|
+
agentTitle?: string | null;
|
|
26641
26646
|
apiPriceEquivalentUsd: number | null;
|
|
26642
26647
|
billedCostUsd: number | null;
|
|
26643
26648
|
billingMode: 'subscription' | 'api' | 'unknown' | 'mixed' | null;
|
|
@@ -15217,6 +15217,7 @@ export declare const zSessionsListSessionsResponse: z.ZodObject<{
|
|
|
15217
15217
|
code: z.ZodNumber;
|
|
15218
15218
|
data: z.ZodNullable<z.ZodObject<{
|
|
15219
15219
|
items: z.ZodArray<z.ZodObject<{
|
|
15220
|
+
agentTitle: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
15220
15221
|
apiPriceEquivalentUsd: z.ZodNullable<z.ZodNumber>;
|
|
15221
15222
|
billedCostUsd: z.ZodNullable<z.ZodNumber>;
|
|
15222
15223
|
billingMode: z.ZodNullable<z.ZodEnum<{
|
|
@@ -15409,6 +15410,7 @@ export declare const zSessionsGetSessionResponse: z.ZodObject<{
|
|
|
15409
15410
|
code: z.ZodNumber;
|
|
15410
15411
|
data: z.ZodNullable<z.ZodObject<{
|
|
15411
15412
|
session: z.ZodObject<{
|
|
15413
|
+
agentTitle: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
15412
15414
|
apiPriceEquivalentUsd: z.ZodNullable<z.ZodNumber>;
|
|
15413
15415
|
billedCostUsd: z.ZodNullable<z.ZodNumber>;
|
|
15414
15416
|
billingMode: z.ZodNullable<z.ZodEnum<{
|
|
@@ -15579,9 +15581,14 @@ export declare const zSessionsGetSessionResponse: z.ZodObject<{
|
|
|
15579
15581
|
}, z.core.$strip>>;
|
|
15580
15582
|
}, z.core.$strip>;
|
|
15581
15583
|
timeline: z.ZodArray<z.ZodObject<{
|
|
15584
|
+
agentCall: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
|
|
15585
|
+
"quota-probe": "quota-probe";
|
|
15586
|
+
"session-title": "session-title";
|
|
15587
|
+
}>>>;
|
|
15582
15588
|
durationMs: z.ZodNumber;
|
|
15583
15589
|
firstUserMessage: z.ZodNullable<z.ZodString>;
|
|
15584
15590
|
inputTokens: z.ZodInt;
|
|
15591
|
+
lastUserMessage: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
15585
15592
|
model: z.ZodNullable<z.ZodString>;
|
|
15586
15593
|
name: z.ZodString;
|
|
15587
15594
|
outputTokens: z.ZodInt;
|
|
@@ -15632,6 +15639,7 @@ export declare const zSessionsExportSessionPath: z.ZodObject<{
|
|
|
15632
15639
|
*/
|
|
15633
15640
|
export declare const zSessionsExportSessionResponse: z.ZodObject<{
|
|
15634
15641
|
session: z.ZodObject<{
|
|
15642
|
+
agentTitle: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
15635
15643
|
apiPriceEquivalentUsd: z.ZodNullable<z.ZodNumber>;
|
|
15636
15644
|
billedCostUsd: z.ZodNullable<z.ZodNumber>;
|
|
15637
15645
|
billingMode: z.ZodNullable<z.ZodEnum<{
|
package/package.json
CHANGED
|
@@ -27361,6 +27361,7 @@ export type SessionsListSessionsResponses = {
|
|
|
27361
27361
|
code: number;
|
|
27362
27362
|
data: {
|
|
27363
27363
|
items: Array<{
|
|
27364
|
+
agentTitle?: string | null;
|
|
27364
27365
|
apiPriceEquivalentUsd: number | null;
|
|
27365
27366
|
billedCostUsd: number | null;
|
|
27366
27367
|
billingMode: 'subscription' | 'api' | 'unknown' | 'mixed' | null;
|
|
@@ -27601,6 +27602,7 @@ export type SessionsGetSessionResponses = {
|
|
|
27601
27602
|
code: number;
|
|
27602
27603
|
data: {
|
|
27603
27604
|
session: {
|
|
27605
|
+
agentTitle?: string | null;
|
|
27604
27606
|
apiPriceEquivalentUsd: number | null;
|
|
27605
27607
|
billedCostUsd: number | null;
|
|
27606
27608
|
billingMode: 'subscription' | 'api' | 'unknown' | 'mixed' | null;
|
|
@@ -27753,9 +27755,11 @@ export type SessionsGetSessionResponses = {
|
|
|
27753
27755
|
}>;
|
|
27754
27756
|
};
|
|
27755
27757
|
timeline: Array<{
|
|
27758
|
+
agentCall?: 'quota-probe' | 'session-title' | null;
|
|
27756
27759
|
durationMs: number;
|
|
27757
27760
|
firstUserMessage: string | null;
|
|
27758
27761
|
inputTokens: number;
|
|
27762
|
+
lastUserMessage?: string | null;
|
|
27759
27763
|
model: string | null;
|
|
27760
27764
|
name: string;
|
|
27761
27765
|
outputTokens: number;
|
|
@@ -27865,6 +27869,7 @@ export type SessionsExportSessionResponses = {
|
|
|
27865
27869
|
*/
|
|
27866
27870
|
200: {
|
|
27867
27871
|
session: {
|
|
27872
|
+
agentTitle?: string | null;
|
|
27868
27873
|
apiPriceEquivalentUsd: number | null;
|
|
27869
27874
|
billedCostUsd: number | null;
|
|
27870
27875
|
billingMode: 'subscription' | 'api' | 'unknown' | 'mixed' | null;
|
package/src/generated/zod.gen.ts
CHANGED
|
@@ -13825,6 +13825,7 @@ export const zSessionsListSessionsResponse = z.object({
|
|
|
13825
13825
|
code: z.number(),
|
|
13826
13826
|
data: z.object({
|
|
13827
13827
|
items: z.array(z.object({
|
|
13828
|
+
agentTitle: z.string().nullish(),
|
|
13828
13829
|
apiPriceEquivalentUsd: z.number().nullable(),
|
|
13829
13830
|
billedCostUsd: z.number().nullable(),
|
|
13830
13831
|
billingMode: z.enum([
|
|
@@ -14017,6 +14018,7 @@ export const zSessionsGetSessionResponse = z.object({
|
|
|
14017
14018
|
code: z.number(),
|
|
14018
14019
|
data: z.object({
|
|
14019
14020
|
session: z.object({
|
|
14021
|
+
agentTitle: z.string().nullish(),
|
|
14020
14022
|
apiPriceEquivalentUsd: z.number().nullable(),
|
|
14021
14023
|
billedCostUsd: z.number().nullable(),
|
|
14022
14024
|
billingMode: z.enum([
|
|
@@ -14185,9 +14187,11 @@ export const zSessionsGetSessionResponse = z.object({
|
|
|
14185
14187
|
}))
|
|
14186
14188
|
}),
|
|
14187
14189
|
timeline: z.array(z.object({
|
|
14190
|
+
agentCall: z.enum(['quota-probe', 'session-title']).nullish(),
|
|
14188
14191
|
durationMs: z.number(),
|
|
14189
14192
|
firstUserMessage: z.string().nullable(),
|
|
14190
14193
|
inputTokens: z.int().gte(-9007199254740991).lte(9007199254740991),
|
|
14194
|
+
lastUserMessage: z.string().nullish(),
|
|
14191
14195
|
model: z.string().nullable(),
|
|
14192
14196
|
name: z.string(),
|
|
14193
14197
|
outputTokens: z.int().gte(-9007199254740991).lte(9007199254740991),
|
|
@@ -14237,6 +14241,7 @@ export const zSessionsExportSessionPath = z.object({
|
|
|
14237
14241
|
*/
|
|
14238
14242
|
export const zSessionsExportSessionResponse = z.object({
|
|
14239
14243
|
session: z.object({
|
|
14244
|
+
agentTitle: z.string().nullish(),
|
|
14240
14245
|
apiPriceEquivalentUsd: z.number().nullable(),
|
|
14241
14246
|
billedCostUsd: z.number().nullable(),
|
|
14242
14247
|
billingMode: z.enum([
|