@myagentroam/protocol 0.9.134 → 0.9.136

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/dist/index.d.ts CHANGED
@@ -30,10 +30,13 @@ export declare const runnerAvailabilitySchema: z.ZodObject<{
30
30
  available: boolean;
31
31
  version?: string | undefined;
32
32
  }>;
33
+ export declare const marAgentResponsesServiceTierSchema: z.ZodEnum<["auto", "default", "flex", "priority", "fast", "ultrafast"]>;
34
+ export type MarAgentResponsesServiceTier = z.infer<typeof marAgentResponsesServiceTierSchema>;
33
35
  export declare const marAgentRuntimeCredentialCapabilitySchema: z.ZodObject<{
34
36
  apiVersion: z.ZodLiteral<1>;
35
37
  websocket: z.ZodBoolean;
36
38
  fastMode: z.ZodOptional<z.ZodBoolean>;
39
+ serviceTiers: z.ZodOptional<z.ZodArray<z.ZodEnum<["auto", "default", "flex", "priority", "fast", "ultrafast"]>, "many">>;
37
40
  namespacedTools: z.ZodOptional<z.ZodBoolean>;
38
41
  httpVersions: z.ZodEffects<z.ZodArray<z.ZodEnum<["1.1", "2"]>, "many">, ("2" | "1.1")[], ("2" | "1.1")[]>;
39
42
  }, "strict", z.ZodTypeAny, {
@@ -41,12 +44,14 @@ export declare const marAgentRuntimeCredentialCapabilitySchema: z.ZodObject<{
41
44
  websocket: boolean;
42
45
  httpVersions: ("2" | "1.1")[];
43
46
  fastMode?: boolean | undefined;
47
+ serviceTiers?: ("auto" | "default" | "flex" | "priority" | "fast" | "ultrafast")[] | undefined;
44
48
  namespacedTools?: boolean | undefined;
45
49
  }, {
46
50
  apiVersion: 1;
47
51
  websocket: boolean;
48
52
  httpVersions: ("2" | "1.1")[];
49
53
  fastMode?: boolean | undefined;
54
+ serviceTiers?: ("auto" | "default" | "flex" | "priority" | "fast" | "ultrafast")[] | undefined;
50
55
  namespacedTools?: boolean | undefined;
51
56
  }>;
52
57
  export type MarAgentRuntimeCredentialCapability = z.infer<typeof marAgentRuntimeCredentialCapabilitySchema>;
@@ -970,6 +975,7 @@ export declare const nodeCapabilitiesSchema: z.ZodEffects<z.ZodObject<{
970
975
  apiVersion: z.ZodLiteral<1>;
971
976
  websocket: z.ZodBoolean;
972
977
  fastMode: z.ZodOptional<z.ZodBoolean>;
978
+ serviceTiers: z.ZodOptional<z.ZodArray<z.ZodEnum<["auto", "default", "flex", "priority", "fast", "ultrafast"]>, "many">>;
973
979
  namespacedTools: z.ZodOptional<z.ZodBoolean>;
974
980
  httpVersions: z.ZodEffects<z.ZodArray<z.ZodEnum<["1.1", "2"]>, "many">, ("2" | "1.1")[], ("2" | "1.1")[]>;
975
981
  }, "strict", z.ZodTypeAny, {
@@ -977,12 +983,14 @@ export declare const nodeCapabilitiesSchema: z.ZodEffects<z.ZodObject<{
977
983
  websocket: boolean;
978
984
  httpVersions: ("2" | "1.1")[];
979
985
  fastMode?: boolean | undefined;
986
+ serviceTiers?: ("auto" | "default" | "flex" | "priority" | "fast" | "ultrafast")[] | undefined;
980
987
  namespacedTools?: boolean | undefined;
981
988
  }, {
982
989
  apiVersion: 1;
983
990
  websocket: boolean;
984
991
  httpVersions: ("2" | "1.1")[];
985
992
  fastMode?: boolean | undefined;
993
+ serviceTiers?: ("auto" | "default" | "flex" | "priority" | "fast" | "ultrafast")[] | undefined;
986
994
  namespacedTools?: boolean | undefined;
987
995
  }>>;
988
996
  chatgptLogin: z.ZodOptional<z.ZodObject<{
@@ -1118,6 +1126,7 @@ export declare const nodeCapabilitiesSchema: z.ZodEffects<z.ZodObject<{
1118
1126
  websocket: boolean;
1119
1127
  httpVersions: ("2" | "1.1")[];
1120
1128
  fastMode?: boolean | undefined;
1129
+ serviceTiers?: ("auto" | "default" | "flex" | "priority" | "fast" | "ultrafast")[] | undefined;
1121
1130
  namespacedTools?: boolean | undefined;
1122
1131
  } | undefined;
1123
1132
  chatgptLogin?: {
@@ -1225,6 +1234,7 @@ export declare const nodeCapabilitiesSchema: z.ZodEffects<z.ZodObject<{
1225
1234
  websocket: boolean;
1226
1235
  httpVersions: ("2" | "1.1")[];
1227
1236
  fastMode?: boolean | undefined;
1237
+ serviceTiers?: ("auto" | "default" | "flex" | "priority" | "fast" | "ultrafast")[] | undefined;
1228
1238
  namespacedTools?: boolean | undefined;
1229
1239
  } | undefined;
1230
1240
  chatgptLogin?: {
@@ -1332,6 +1342,7 @@ export declare const nodeCapabilitiesSchema: z.ZodEffects<z.ZodObject<{
1332
1342
  websocket: boolean;
1333
1343
  httpVersions: ("2" | "1.1")[];
1334
1344
  fastMode?: boolean | undefined;
1345
+ serviceTiers?: ("auto" | "default" | "flex" | "priority" | "fast" | "ultrafast")[] | undefined;
1335
1346
  namespacedTools?: boolean | undefined;
1336
1347
  } | undefined;
1337
1348
  chatgptLogin?: {
@@ -1439,6 +1450,7 @@ export declare const nodeCapabilitiesSchema: z.ZodEffects<z.ZodObject<{
1439
1450
  websocket: boolean;
1440
1451
  httpVersions: ("2" | "1.1")[];
1441
1452
  fastMode?: boolean | undefined;
1453
+ serviceTiers?: ("auto" | "default" | "flex" | "priority" | "fast" | "ultrafast")[] | undefined;
1442
1454
  namespacedTools?: boolean | undefined;
1443
1455
  } | undefined;
1444
1456
  chatgptLogin?: {
@@ -2680,6 +2692,7 @@ export declare const marAgentNodeModelSummarySchema: z.ZodEffects<z.ZodObject<{
2680
2692
  codeMode: z.ZodDefault<z.ZodBoolean>;
2681
2693
  highDensityCompaction: z.ZodDefault<z.ZodBoolean>;
2682
2694
  fastMode: z.ZodOptional<z.ZodBoolean>;
2695
+ serviceTier: z.ZodOptional<z.ZodEnum<["auto", "default", "flex", "priority", "fast", "ultrafast"]>>;
2683
2696
  hostedWebSearch: z.ZodBoolean;
2684
2697
  responsesTransport: z.ZodOptional<z.ZodDiscriminatedUnion<"transport", [z.ZodObject<{
2685
2698
  transport: z.ZodLiteral<"WEBSOCKET">;
@@ -2730,6 +2743,7 @@ export declare const marAgentNodeModelSummarySchema: z.ZodEffects<z.ZodObject<{
2730
2743
  lastTestStatus?: "SUCCEEDED" | "FAILED" | "UNVERIFIED" | null | undefined;
2731
2744
  lastTestCode?: string | null | undefined;
2732
2745
  defaultReasoningEffort?: "low" | "medium" | "high" | "xhigh" | "max" | "ultra" | undefined;
2746
+ serviceTier?: "auto" | "default" | "flex" | "priority" | "fast" | "ultrafast" | undefined;
2733
2747
  responsesTransport?: {
2734
2748
  transport: "WEBSOCKET";
2735
2749
  } | {
@@ -2766,6 +2780,7 @@ export declare const marAgentNodeModelSummarySchema: z.ZodEffects<z.ZodObject<{
2766
2780
  titleGeneration?: boolean | undefined;
2767
2781
  codeMode?: boolean | undefined;
2768
2782
  highDensityCompaction?: boolean | undefined;
2783
+ serviceTier?: "auto" | "default" | "flex" | "priority" | "fast" | "ultrafast" | undefined;
2769
2784
  responsesTransport?: {
2770
2785
  transport: "WEBSOCKET";
2771
2786
  } | {
@@ -2822,6 +2837,7 @@ export declare const marAgentModelSummarySchema: z.ZodEffects<z.ZodObject<{
2822
2837
  codeMode: z.ZodDefault<z.ZodBoolean>;
2823
2838
  highDensityCompaction: z.ZodDefault<z.ZodBoolean>;
2824
2839
  fastMode: z.ZodOptional<z.ZodBoolean>;
2840
+ serviceTier: z.ZodOptional<z.ZodEnum<["auto", "default", "flex", "priority", "fast", "ultrafast"]>>;
2825
2841
  hostedWebSearch: z.ZodBoolean;
2826
2842
  responsesTransport: z.ZodOptional<z.ZodDiscriminatedUnion<"transport", [z.ZodObject<{
2827
2843
  transport: z.ZodLiteral<"WEBSOCKET">;
@@ -2876,6 +2892,7 @@ export declare const marAgentModelSummarySchema: z.ZodEffects<z.ZodObject<{
2876
2892
  lastTestStatus?: "SUCCEEDED" | "FAILED" | "UNVERIFIED" | null | undefined;
2877
2893
  lastTestCode?: string | null | undefined;
2878
2894
  defaultReasoningEffort?: "low" | "medium" | "high" | "xhigh" | "max" | "ultra" | undefined;
2895
+ serviceTier?: "auto" | "default" | "flex" | "priority" | "fast" | "ultrafast" | undefined;
2879
2896
  responsesTransport?: {
2880
2897
  transport: "WEBSOCKET";
2881
2898
  } | {
@@ -2916,6 +2933,7 @@ export declare const marAgentModelSummarySchema: z.ZodEffects<z.ZodObject<{
2916
2933
  titleGeneration?: boolean | undefined;
2917
2934
  codeMode?: boolean | undefined;
2918
2935
  highDensityCompaction?: boolean | undefined;
2936
+ serviceTier?: "auto" | "default" | "flex" | "priority" | "fast" | "ultrafast" | undefined;
2919
2937
  responsesTransport?: {
2920
2938
  transport: "WEBSOCKET";
2921
2939
  } | {
@@ -2945,6 +2963,7 @@ export interface MarAgentModelSummary {
2945
2963
  codeMode: boolean;
2946
2964
  highDensityCompaction: boolean;
2947
2965
  fastMode?: boolean;
2966
+ serviceTier?: MarAgentResponsesServiceTier;
2948
2967
  hostedWebSearch: boolean;
2949
2968
  responsesTransport?: MarAgentResponsesTransport;
2950
2969
  responsesEncoding?: 'STANDARD' | 'LITE';
@@ -3112,6 +3131,7 @@ export declare const marAgentRuntimeModelConfigurationSchema: z.ZodEffects<z.Zod
3112
3131
  };
3113
3132
  }>]>>;
3114
3133
  responsesToolNamespace: z.ZodOptional<z.ZodString>;
3134
+ responsesConfigurationUpdates: z.ZodOptional<z.ZodBoolean>;
3115
3135
  imageGeneration: z.ZodOptional<z.ZodObject<{
3116
3136
  provider: z.ZodOptional<z.ZodString>;
3117
3137
  config: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
@@ -3337,6 +3357,7 @@ export declare const marAgentRuntimeModelConfigurationSchema: z.ZodEffects<z.Zod
3337
3357
  codeMode: z.ZodDefault<z.ZodBoolean>;
3338
3358
  highDensityCompaction: z.ZodDefault<z.ZodBoolean>;
3339
3359
  fastMode: z.ZodOptional<z.ZodBoolean>;
3360
+ serviceTier: z.ZodOptional<z.ZodEnum<["auto", "default", "flex", "priority", "fast", "ultrafast"]>>;
3340
3361
  hostedWebSearch: z.ZodBoolean;
3341
3362
  responsesTransport: z.ZodOptional<z.ZodDiscriminatedUnion<"transport", [z.ZodObject<{
3342
3363
  transport: z.ZodLiteral<"WEBSOCKET">;
@@ -3427,6 +3448,7 @@ export declare const marAgentRuntimeModelConfigurationSchema: z.ZodEffects<z.Zod
3427
3448
  config?: Record<string, string> | undefined;
3428
3449
  } | undefined;
3429
3450
  defaultReasoningEffort?: "low" | "medium" | "high" | "xhigh" | "max" | "ultra" | undefined;
3451
+ serviceTier?: "auto" | "default" | "flex" | "priority" | "fast" | "ultrafast" | undefined;
3430
3452
  responsesTransport?: {
3431
3453
  transport: "WEBSOCKET";
3432
3454
  } | {
@@ -3435,6 +3457,7 @@ export declare const marAgentRuntimeModelConfigurationSchema: z.ZodEffects<z.Zod
3435
3457
  } | undefined;
3436
3458
  responsesEncoding?: "STANDARD" | "LITE" | undefined;
3437
3459
  responsesToolNamespace?: string | undefined;
3460
+ responsesConfigurationUpdates?: boolean | undefined;
3438
3461
  }, {
3439
3462
  name: string;
3440
3463
  id: string;
@@ -3504,6 +3527,7 @@ export declare const marAgentRuntimeModelConfigurationSchema: z.ZodEffects<z.Zod
3504
3527
  titleGeneration?: boolean | undefined;
3505
3528
  codeMode?: boolean | undefined;
3506
3529
  highDensityCompaction?: boolean | undefined;
3530
+ serviceTier?: "auto" | "default" | "flex" | "priority" | "fast" | "ultrafast" | undefined;
3507
3531
  responsesTransport?: {
3508
3532
  transport: "WEBSOCKET";
3509
3533
  } | {
@@ -3513,6 +3537,7 @@ export declare const marAgentRuntimeModelConfigurationSchema: z.ZodEffects<z.Zod
3513
3537
  responsesEncoding?: "STANDARD" | "LITE" | undefined;
3514
3538
  responsesPreviousResponseId?: boolean | undefined;
3515
3539
  responsesToolNamespace?: string | undefined;
3540
+ responsesConfigurationUpdates?: boolean | undefined;
3516
3541
  }>, {
3517
3542
  [x: string]: any;
3518
3543
  }, {
@@ -3677,6 +3702,7 @@ export declare const marAgentModelTransportTestInputSchema: z.ZodObject<{
3677
3702
  };
3678
3703
  }>]>>;
3679
3704
  responsesToolNamespace: z.ZodOptional<z.ZodString>;
3705
+ responsesConfigurationUpdates: z.ZodOptional<z.ZodBoolean>;
3680
3706
  imageGeneration: z.ZodOptional<z.ZodObject<{
3681
3707
  provider: z.ZodOptional<z.ZodString>;
3682
3708
  config: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
@@ -3902,6 +3928,7 @@ export declare const marAgentModelTransportTestInputSchema: z.ZodObject<{
3902
3928
  codeMode: z.ZodDefault<z.ZodBoolean>;
3903
3929
  highDensityCompaction: z.ZodDefault<z.ZodBoolean>;
3904
3930
  fastMode: z.ZodOptional<z.ZodBoolean>;
3931
+ serviceTier: z.ZodOptional<z.ZodEnum<["auto", "default", "flex", "priority", "fast", "ultrafast"]>>;
3905
3932
  hostedWebSearch: z.ZodBoolean;
3906
3933
  responsesTransport: z.ZodOptional<z.ZodDiscriminatedUnion<"transport", [z.ZodObject<{
3907
3934
  transport: z.ZodLiteral<"WEBSOCKET">;
@@ -3992,6 +4019,7 @@ export declare const marAgentModelTransportTestInputSchema: z.ZodObject<{
3992
4019
  config?: Record<string, string> | undefined;
3993
4020
  } | undefined;
3994
4021
  defaultReasoningEffort?: "low" | "medium" | "high" | "xhigh" | "max" | "ultra" | undefined;
4022
+ serviceTier?: "auto" | "default" | "flex" | "priority" | "fast" | "ultrafast" | undefined;
3995
4023
  responsesTransport?: {
3996
4024
  transport: "WEBSOCKET";
3997
4025
  } | {
@@ -4000,6 +4028,7 @@ export declare const marAgentModelTransportTestInputSchema: z.ZodObject<{
4000
4028
  } | undefined;
4001
4029
  responsesEncoding?: "STANDARD" | "LITE" | undefined;
4002
4030
  responsesToolNamespace?: string | undefined;
4031
+ responsesConfigurationUpdates?: boolean | undefined;
4003
4032
  }, {
4004
4033
  name: string;
4005
4034
  id: string;
@@ -4069,6 +4098,7 @@ export declare const marAgentModelTransportTestInputSchema: z.ZodObject<{
4069
4098
  titleGeneration?: boolean | undefined;
4070
4099
  codeMode?: boolean | undefined;
4071
4100
  highDensityCompaction?: boolean | undefined;
4101
+ serviceTier?: "auto" | "default" | "flex" | "priority" | "fast" | "ultrafast" | undefined;
4072
4102
  responsesTransport?: {
4073
4103
  transport: "WEBSOCKET";
4074
4104
  } | {
@@ -4078,6 +4108,7 @@ export declare const marAgentModelTransportTestInputSchema: z.ZodObject<{
4078
4108
  responsesEncoding?: "STANDARD" | "LITE" | undefined;
4079
4109
  responsesPreviousResponseId?: boolean | undefined;
4080
4110
  responsesToolNamespace?: string | undefined;
4111
+ responsesConfigurationUpdates?: boolean | undefined;
4081
4112
  }>, {
4082
4113
  [x: string]: any;
4083
4114
  }, {
@@ -4168,6 +4199,7 @@ export declare const marAgentStoredModelConfigurationSchema: z.ZodEffects<z.ZodO
4168
4199
  codeMode: z.ZodDefault<z.ZodBoolean>;
4169
4200
  highDensityCompaction: z.ZodDefault<z.ZodBoolean>;
4170
4201
  fastMode: z.ZodOptional<z.ZodBoolean>;
4202
+ serviceTier: z.ZodOptional<z.ZodEnum<["auto", "default", "flex", "priority", "fast", "ultrafast"]>>;
4171
4203
  hostedWebSearch: z.ZodBoolean;
4172
4204
  responsesTransport: z.ZodOptional<z.ZodDiscriminatedUnion<"transport", [z.ZodObject<{
4173
4205
  transport: z.ZodLiteral<"WEBSOCKET">;
@@ -4214,6 +4246,7 @@ export declare const marAgentStoredModelConfigurationSchema: z.ZodEffects<z.ZodO
4214
4246
  responsesPreviousResponseId: boolean;
4215
4247
  fastMode?: boolean | undefined;
4216
4248
  defaultReasoningEffort?: "low" | "medium" | "high" | "xhigh" | "max" | "ultra" | undefined;
4249
+ serviceTier?: "auto" | "default" | "flex" | "priority" | "fast" | "ultrafast" | undefined;
4217
4250
  responsesTransport?: {
4218
4251
  transport: "WEBSOCKET";
4219
4252
  } | {
@@ -4246,6 +4279,7 @@ export declare const marAgentStoredModelConfigurationSchema: z.ZodEffects<z.ZodO
4246
4279
  titleGeneration?: boolean | undefined;
4247
4280
  codeMode?: boolean | undefined;
4248
4281
  highDensityCompaction?: boolean | undefined;
4282
+ serviceTier?: "auto" | "default" | "flex" | "priority" | "fast" | "ultrafast" | undefined;
4249
4283
  responsesTransport?: {
4250
4284
  transport: "WEBSOCKET";
4251
4285
  } | {
@@ -4278,12 +4312,6 @@ export declare const codexCredentialOwnershipSchema: z.ZodDiscriminatedUnion<"ow
4278
4312
  }, {
4279
4313
  ownerType: "ORGANIZATION";
4280
4314
  ownerOrganizationId: number;
4281
- }>, z.ZodObject<{
4282
- ownerType: z.ZodLiteral<"ENTERPRISE">;
4283
- }, "strict", z.ZodTypeAny, {
4284
- ownerType: "ENTERPRISE";
4285
- }, {
4286
- ownerType: "ENTERPRISE";
4287
4315
  }>]>;
4288
4316
  export type CodexCredentialOwnership = z.infer<typeof codexCredentialOwnershipSchema>;
4289
4317
  export declare const codexCredentialSummarySchema: z.ZodObject<{
@@ -4309,12 +4337,6 @@ export declare const codexCredentialSummarySchema: z.ZodObject<{
4309
4337
  }, {
4310
4338
  ownerType: "ORGANIZATION";
4311
4339
  ownerOrganizationId: number;
4312
- }>, z.ZodObject<{
4313
- ownerType: z.ZodLiteral<"ENTERPRISE">;
4314
- }, "strict", z.ZodTypeAny, {
4315
- ownerType: "ENTERPRISE";
4316
- }, {
4317
- ownerType: "ENTERPRISE";
4318
4340
  }>]>;
4319
4341
  status: z.ZodEnum<["ACTIVE", "DEGRADED", "REAUTH_REQUIRED"]>;
4320
4342
  accessTokenExpiresAt: z.ZodNullable<z.ZodNumber>;
@@ -4357,8 +4379,6 @@ export declare const codexCredentialSummarySchema: z.ZodObject<{
4357
4379
  } | {
4358
4380
  ownerType: "ORGANIZATION";
4359
4381
  ownerOrganizationId: number;
4360
- } | {
4361
- ownerType: "ENTERPRISE";
4362
4382
  };
4363
4383
  accessTokenExpiresAt: number | null;
4364
4384
  lastRefreshAt: number | null;
@@ -4386,8 +4406,6 @@ export declare const codexCredentialSummarySchema: z.ZodObject<{
4386
4406
  } | {
4387
4407
  ownerType: "ORGANIZATION";
4388
4408
  ownerOrganizationId: number;
4389
- } | {
4390
- ownerType: "ENTERPRISE";
4391
4409
  };
4392
4410
  accessTokenExpiresAt: number | null;
4393
4411
  lastRefreshAt: number | null;
@@ -4429,12 +4447,6 @@ export declare const codexCredentialDetailsSchema: z.ZodEffects<z.ZodObject<{
4429
4447
  }, {
4430
4448
  ownerType: "ORGANIZATION";
4431
4449
  ownerOrganizationId: number;
4432
- }>, z.ZodObject<{
4433
- ownerType: z.ZodLiteral<"ENTERPRISE">;
4434
- }, "strict", z.ZodTypeAny, {
4435
- ownerType: "ENTERPRISE";
4436
- }, {
4437
- ownerType: "ENTERPRISE";
4438
4450
  }>]>;
4439
4451
  status: z.ZodEnum<["ACTIVE", "DEGRADED", "REAUTH_REQUIRED"]>;
4440
4452
  accessTokenExpiresAt: z.ZodNullable<z.ZodNumber>;
@@ -4477,8 +4489,6 @@ export declare const codexCredentialDetailsSchema: z.ZodEffects<z.ZodObject<{
4477
4489
  } | {
4478
4490
  ownerType: "ORGANIZATION";
4479
4491
  ownerOrganizationId: number;
4480
- } | {
4481
- ownerType: "ENTERPRISE";
4482
4492
  };
4483
4493
  accessTokenExpiresAt: number | null;
4484
4494
  lastRefreshAt: number | null;
@@ -4506,8 +4516,6 @@ export declare const codexCredentialDetailsSchema: z.ZodEffects<z.ZodObject<{
4506
4516
  } | {
4507
4517
  ownerType: "ORGANIZATION";
4508
4518
  ownerOrganizationId: number;
4509
- } | {
4510
- ownerType: "ENTERPRISE";
4511
4519
  };
4512
4520
  accessTokenExpiresAt: number | null;
4513
4521
  lastRefreshAt: number | null;
@@ -4539,8 +4547,6 @@ export declare const codexCredentialDetailsSchema: z.ZodEffects<z.ZodObject<{
4539
4547
  } | {
4540
4548
  ownerType: "ORGANIZATION";
4541
4549
  ownerOrganizationId: number;
4542
- } | {
4543
- ownerType: "ENTERPRISE";
4544
4550
  };
4545
4551
  accessTokenExpiresAt: number | null;
4546
4552
  lastRefreshAt: number | null;
@@ -4571,8 +4577,6 @@ export declare const codexCredentialDetailsSchema: z.ZodEffects<z.ZodObject<{
4571
4577
  } | {
4572
4578
  ownerType: "ORGANIZATION";
4573
4579
  ownerOrganizationId: number;
4574
- } | {
4575
- ownerType: "ENTERPRISE";
4576
4580
  };
4577
4581
  accessTokenExpiresAt: number | null;
4578
4582
  lastRefreshAt: number | null;
@@ -4603,8 +4607,6 @@ export declare const codexCredentialDetailsSchema: z.ZodEffects<z.ZodObject<{
4603
4607
  } | {
4604
4608
  ownerType: "ORGANIZATION";
4605
4609
  ownerOrganizationId: number;
4606
- } | {
4607
- ownerType: "ENTERPRISE";
4608
4610
  };
4609
4611
  accessTokenExpiresAt: number | null;
4610
4612
  lastRefreshAt: number | null;
@@ -4635,8 +4637,6 @@ export declare const codexCredentialDetailsSchema: z.ZodEffects<z.ZodObject<{
4635
4637
  } | {
4636
4638
  ownerType: "ORGANIZATION";
4637
4639
  ownerOrganizationId: number;
4638
- } | {
4639
- ownerType: "ENTERPRISE";
4640
4640
  };
4641
4641
  accessTokenExpiresAt: number | null;
4642
4642
  lastRefreshAt: number | null;
@@ -5574,6 +5574,29 @@ export declare const runEventSchema: z.ZodObject<{
5574
5574
  payload?: unknown;
5575
5575
  }>;
5576
5576
  export type RunEvent = z.infer<typeof runEventSchema>;
5577
+ /** Ephemeral metrics for the currently observed model request, never a history item. */
5578
+ export declare const runPerformanceSchema: z.ZodEffects<z.ZodObject<{
5579
+ runId: z.ZodString;
5580
+ ttftMs: z.ZodOptional<z.ZodNumber>;
5581
+ tokensPerSecond: z.ZodOptional<z.ZodNumber>;
5582
+ }, "strip", z.ZodTypeAny, {
5583
+ runId: string;
5584
+ ttftMs?: number | undefined;
5585
+ tokensPerSecond?: number | undefined;
5586
+ }, {
5587
+ runId: string;
5588
+ ttftMs?: number | undefined;
5589
+ tokensPerSecond?: number | undefined;
5590
+ }>, {
5591
+ runId: string;
5592
+ ttftMs?: number | undefined;
5593
+ tokensPerSecond?: number | undefined;
5594
+ }, {
5595
+ runId: string;
5596
+ ttftMs?: number | undefined;
5597
+ tokensPerSecond?: number | undefined;
5598
+ }>;
5599
+ export type RunPerformance = z.infer<typeof runPerformanceSchema>;
5577
5600
  /**
5578
5601
  * Node-to-Workbench asynchronous notifications. This is deliberately a
5579
5602
  * small envelope: business payloads remain owned by the Node and Server only
@@ -6936,6 +6959,37 @@ export declare const conversationItemSchema: z.ZodDiscriminatedUnion<"kind", [z.
6936
6959
  startLine?: number | undefined;
6937
6960
  endLine?: number | undefined;
6938
6961
  }>, "many">>;
6962
+ attachments: z.ZodOptional<z.ZodArray<z.ZodEffects<z.ZodObject<{
6963
+ name: z.ZodString;
6964
+ mime: z.ZodString;
6965
+ byteSize: z.ZodOptional<z.ZodNumber>;
6966
+ runId: z.ZodOptional<z.ZodString>;
6967
+ imageIndex: z.ZodOptional<z.ZodNumber>;
6968
+ }, "strict", z.ZodTypeAny, {
6969
+ name: string;
6970
+ mime: string;
6971
+ runId?: string | undefined;
6972
+ byteSize?: number | undefined;
6973
+ imageIndex?: number | undefined;
6974
+ }, {
6975
+ name: string;
6976
+ mime: string;
6977
+ runId?: string | undefined;
6978
+ byteSize?: number | undefined;
6979
+ imageIndex?: number | undefined;
6980
+ }>, {
6981
+ name: string;
6982
+ mime: string;
6983
+ runId?: string | undefined;
6984
+ byteSize?: number | undefined;
6985
+ imageIndex?: number | undefined;
6986
+ }, {
6987
+ name: string;
6988
+ mime: string;
6989
+ runId?: string | undefined;
6990
+ byteSize?: number | undefined;
6991
+ imageIndex?: number | undefined;
6992
+ }>, "many">>;
6939
6993
  source: z.ZodOptional<z.ZodLiteral<"SCHEDULED">>;
6940
6994
  delivery: z.ZodEnum<["PENDING", "ACCEPTED", "STEERED", "QUEUED_NEXT_TURN", "REJECTED"]>;
6941
6995
  }, "strip", z.ZodTypeAny, {
@@ -6951,6 +7005,13 @@ export declare const conversationItemSchema: z.ZodDiscriminatedUnion<"kind", [z.
6951
7005
  }[];
6952
7006
  delivery: "PENDING" | "ACCEPTED" | "STEERED" | "QUEUED_NEXT_TURN" | "REJECTED";
6953
7007
  source?: "SCHEDULED" | undefined;
7008
+ attachments?: {
7009
+ name: string;
7010
+ mime: string;
7011
+ runId?: string | undefined;
7012
+ byteSize?: number | undefined;
7013
+ imageIndex?: number | undefined;
7014
+ }[] | undefined;
6954
7015
  }, {
6955
7016
  clientMessageId: string | null;
6956
7017
  text: string;
@@ -6964,6 +7025,13 @@ export declare const conversationItemSchema: z.ZodDiscriminatedUnion<"kind", [z.
6964
7025
  startLine?: number | undefined;
6965
7026
  endLine?: number | undefined;
6966
7027
  }[] | undefined;
7028
+ attachments?: {
7029
+ name: string;
7030
+ mime: string;
7031
+ runId?: string | undefined;
7032
+ byteSize?: number | undefined;
7033
+ imageIndex?: number | undefined;
7034
+ }[] | undefined;
6967
7035
  }>;
6968
7036
  }, "strip", z.ZodTypeAny, {
6969
7037
  status: "PENDING" | "FAILED" | "CANCELLED" | "INTERRUPTED" | "IN_PROGRESS" | "COMPLETED" | "DECLINED";
@@ -6987,6 +7055,13 @@ export declare const conversationItemSchema: z.ZodDiscriminatedUnion<"kind", [z.
6987
7055
  }[];
6988
7056
  delivery: "PENDING" | "ACCEPTED" | "STEERED" | "QUEUED_NEXT_TURN" | "REJECTED";
6989
7057
  source?: "SCHEDULED" | undefined;
7058
+ attachments?: {
7059
+ name: string;
7060
+ mime: string;
7061
+ runId?: string | undefined;
7062
+ byteSize?: number | undefined;
7063
+ imageIndex?: number | undefined;
7064
+ }[] | undefined;
6990
7065
  };
6991
7066
  turnId: string;
6992
7067
  parentItemId: string | null;
@@ -7015,6 +7090,13 @@ export declare const conversationItemSchema: z.ZodDiscriminatedUnion<"kind", [z.
7015
7090
  startLine?: number | undefined;
7016
7091
  endLine?: number | undefined;
7017
7092
  }[] | undefined;
7093
+ attachments?: {
7094
+ name: string;
7095
+ mime: string;
7096
+ runId?: string | undefined;
7097
+ byteSize?: number | undefined;
7098
+ imageIndex?: number | undefined;
7099
+ }[] | undefined;
7018
7100
  };
7019
7101
  turnId: string;
7020
7102
  parentItemId: string | null;
@@ -7363,6 +7445,13 @@ export declare const conversationItemSchema: z.ZodDiscriminatedUnion<"kind", [z.
7363
7445
  inputSummary: string | null;
7364
7446
  outputSummary: string | null;
7365
7447
  progressLabel: string | null;
7448
+ attachments?: {
7449
+ name: string;
7450
+ mime: string;
7451
+ runId?: string | undefined;
7452
+ byteSize?: number | undefined;
7453
+ imageIndex?: number | undefined;
7454
+ }[] | undefined;
7366
7455
  toolCategory?: "IMAGE_GENERATION" | undefined;
7367
7456
  subagentOperation?: "MESSAGE" | "START" | "STATUS" | "CANCEL" | "RESUME" | undefined;
7368
7457
  subagentId?: string | null | undefined;
@@ -7377,13 +7466,6 @@ export declare const conversationItemSchema: z.ZodDiscriminatedUnion<"kind", [z.
7377
7466
  timestamp: string;
7378
7467
  truncated?: boolean | undefined;
7379
7468
  } | undefined;
7380
- attachments?: {
7381
- name: string;
7382
- mime: string;
7383
- runId?: string | undefined;
7384
- byteSize?: number | undefined;
7385
- imageIndex?: number | undefined;
7386
- }[] | undefined;
7387
7469
  }, {
7388
7470
  errorCode: string | null;
7389
7471
  title: string;
@@ -7393,6 +7475,13 @@ export declare const conversationItemSchema: z.ZodDiscriminatedUnion<"kind", [z.
7393
7475
  inputSummary: string | null;
7394
7476
  outputSummary: string | null;
7395
7477
  progressLabel: string | null;
7478
+ attachments?: {
7479
+ name: string;
7480
+ mime: string;
7481
+ runId?: string | undefined;
7482
+ byteSize?: number | undefined;
7483
+ imageIndex?: number | undefined;
7484
+ }[] | undefined;
7396
7485
  toolCategory?: "IMAGE_GENERATION" | undefined;
7397
7486
  subagentOperation?: "MESSAGE" | "START" | "STATUS" | "CANCEL" | "RESUME" | undefined;
7398
7487
  subagentId?: string | null | undefined;
@@ -7407,13 +7496,6 @@ export declare const conversationItemSchema: z.ZodDiscriminatedUnion<"kind", [z.
7407
7496
  timestamp: string;
7408
7497
  truncated?: boolean | undefined;
7409
7498
  } | undefined;
7410
- attachments?: {
7411
- name: string;
7412
- mime: string;
7413
- runId?: string | undefined;
7414
- byteSize?: number | undefined;
7415
- imageIndex?: number | undefined;
7416
- }[] | undefined;
7417
7499
  }>;
7418
7500
  }, "strip", z.ZodTypeAny, {
7419
7501
  status: "PENDING" | "FAILED" | "CANCELLED" | "INTERRUPTED" | "IN_PROGRESS" | "COMPLETED" | "DECLINED";
@@ -7433,6 +7515,13 @@ export declare const conversationItemSchema: z.ZodDiscriminatedUnion<"kind", [z.
7433
7515
  inputSummary: string | null;
7434
7516
  outputSummary: string | null;
7435
7517
  progressLabel: string | null;
7518
+ attachments?: {
7519
+ name: string;
7520
+ mime: string;
7521
+ runId?: string | undefined;
7522
+ byteSize?: number | undefined;
7523
+ imageIndex?: number | undefined;
7524
+ }[] | undefined;
7436
7525
  toolCategory?: "IMAGE_GENERATION" | undefined;
7437
7526
  subagentOperation?: "MESSAGE" | "START" | "STATUS" | "CANCEL" | "RESUME" | undefined;
7438
7527
  subagentId?: string | null | undefined;
@@ -7447,13 +7536,6 @@ export declare const conversationItemSchema: z.ZodDiscriminatedUnion<"kind", [z.
7447
7536
  timestamp: string;
7448
7537
  truncated?: boolean | undefined;
7449
7538
  } | undefined;
7450
- attachments?: {
7451
- name: string;
7452
- mime: string;
7453
- runId?: string | undefined;
7454
- byteSize?: number | undefined;
7455
- imageIndex?: number | undefined;
7456
- }[] | undefined;
7457
7539
  };
7458
7540
  turnId: string;
7459
7541
  parentItemId: string | null;
@@ -7478,6 +7560,13 @@ export declare const conversationItemSchema: z.ZodDiscriminatedUnion<"kind", [z.
7478
7560
  inputSummary: string | null;
7479
7561
  outputSummary: string | null;
7480
7562
  progressLabel: string | null;
7563
+ attachments?: {
7564
+ name: string;
7565
+ mime: string;
7566
+ runId?: string | undefined;
7567
+ byteSize?: number | undefined;
7568
+ imageIndex?: number | undefined;
7569
+ }[] | undefined;
7481
7570
  toolCategory?: "IMAGE_GENERATION" | undefined;
7482
7571
  subagentOperation?: "MESSAGE" | "START" | "STATUS" | "CANCEL" | "RESUME" | undefined;
7483
7572
  subagentId?: string | null | undefined;
@@ -7492,13 +7581,6 @@ export declare const conversationItemSchema: z.ZodDiscriminatedUnion<"kind", [z.
7492
7581
  timestamp: string;
7493
7582
  truncated?: boolean | undefined;
7494
7583
  } | undefined;
7495
- attachments?: {
7496
- name: string;
7497
- mime: string;
7498
- runId?: string | undefined;
7499
- byteSize?: number | undefined;
7500
- imageIndex?: number | undefined;
7501
- }[] | undefined;
7502
7584
  };
7503
7585
  turnId: string;
7504
7586
  parentItemId: string | null;
@@ -8363,6 +8445,37 @@ export declare const conversationTurnSchema: z.ZodObject<{
8363
8445
  startLine?: number | undefined;
8364
8446
  endLine?: number | undefined;
8365
8447
  }>, "many">>;
8448
+ attachments: z.ZodOptional<z.ZodArray<z.ZodEffects<z.ZodObject<{
8449
+ name: z.ZodString;
8450
+ mime: z.ZodString;
8451
+ byteSize: z.ZodOptional<z.ZodNumber>;
8452
+ runId: z.ZodOptional<z.ZodString>;
8453
+ imageIndex: z.ZodOptional<z.ZodNumber>;
8454
+ }, "strict", z.ZodTypeAny, {
8455
+ name: string;
8456
+ mime: string;
8457
+ runId?: string | undefined;
8458
+ byteSize?: number | undefined;
8459
+ imageIndex?: number | undefined;
8460
+ }, {
8461
+ name: string;
8462
+ mime: string;
8463
+ runId?: string | undefined;
8464
+ byteSize?: number | undefined;
8465
+ imageIndex?: number | undefined;
8466
+ }>, {
8467
+ name: string;
8468
+ mime: string;
8469
+ runId?: string | undefined;
8470
+ byteSize?: number | undefined;
8471
+ imageIndex?: number | undefined;
8472
+ }, {
8473
+ name: string;
8474
+ mime: string;
8475
+ runId?: string | undefined;
8476
+ byteSize?: number | undefined;
8477
+ imageIndex?: number | undefined;
8478
+ }>, "many">>;
8366
8479
  source: z.ZodOptional<z.ZodLiteral<"SCHEDULED">>;
8367
8480
  delivery: z.ZodEnum<["PENDING", "ACCEPTED", "STEERED", "QUEUED_NEXT_TURN", "REJECTED"]>;
8368
8481
  }, "strip", z.ZodTypeAny, {
@@ -8378,6 +8491,13 @@ export declare const conversationTurnSchema: z.ZodObject<{
8378
8491
  }[];
8379
8492
  delivery: "PENDING" | "ACCEPTED" | "STEERED" | "QUEUED_NEXT_TURN" | "REJECTED";
8380
8493
  source?: "SCHEDULED" | undefined;
8494
+ attachments?: {
8495
+ name: string;
8496
+ mime: string;
8497
+ runId?: string | undefined;
8498
+ byteSize?: number | undefined;
8499
+ imageIndex?: number | undefined;
8500
+ }[] | undefined;
8381
8501
  }, {
8382
8502
  clientMessageId: string | null;
8383
8503
  text: string;
@@ -8391,6 +8511,13 @@ export declare const conversationTurnSchema: z.ZodObject<{
8391
8511
  startLine?: number | undefined;
8392
8512
  endLine?: number | undefined;
8393
8513
  }[] | undefined;
8514
+ attachments?: {
8515
+ name: string;
8516
+ mime: string;
8517
+ runId?: string | undefined;
8518
+ byteSize?: number | undefined;
8519
+ imageIndex?: number | undefined;
8520
+ }[] | undefined;
8394
8521
  }>;
8395
8522
  }, "strip", z.ZodTypeAny, {
8396
8523
  status: "PENDING" | "FAILED" | "CANCELLED" | "INTERRUPTED" | "IN_PROGRESS" | "COMPLETED" | "DECLINED";
@@ -8414,6 +8541,13 @@ export declare const conversationTurnSchema: z.ZodObject<{
8414
8541
  }[];
8415
8542
  delivery: "PENDING" | "ACCEPTED" | "STEERED" | "QUEUED_NEXT_TURN" | "REJECTED";
8416
8543
  source?: "SCHEDULED" | undefined;
8544
+ attachments?: {
8545
+ name: string;
8546
+ mime: string;
8547
+ runId?: string | undefined;
8548
+ byteSize?: number | undefined;
8549
+ imageIndex?: number | undefined;
8550
+ }[] | undefined;
8417
8551
  };
8418
8552
  turnId: string;
8419
8553
  parentItemId: string | null;
@@ -8442,6 +8576,13 @@ export declare const conversationTurnSchema: z.ZodObject<{
8442
8576
  startLine?: number | undefined;
8443
8577
  endLine?: number | undefined;
8444
8578
  }[] | undefined;
8579
+ attachments?: {
8580
+ name: string;
8581
+ mime: string;
8582
+ runId?: string | undefined;
8583
+ byteSize?: number | undefined;
8584
+ imageIndex?: number | undefined;
8585
+ }[] | undefined;
8445
8586
  };
8446
8587
  turnId: string;
8447
8588
  parentItemId: string | null;
@@ -8790,6 +8931,13 @@ export declare const conversationTurnSchema: z.ZodObject<{
8790
8931
  inputSummary: string | null;
8791
8932
  outputSummary: string | null;
8792
8933
  progressLabel: string | null;
8934
+ attachments?: {
8935
+ name: string;
8936
+ mime: string;
8937
+ runId?: string | undefined;
8938
+ byteSize?: number | undefined;
8939
+ imageIndex?: number | undefined;
8940
+ }[] | undefined;
8793
8941
  toolCategory?: "IMAGE_GENERATION" | undefined;
8794
8942
  subagentOperation?: "MESSAGE" | "START" | "STATUS" | "CANCEL" | "RESUME" | undefined;
8795
8943
  subagentId?: string | null | undefined;
@@ -8804,13 +8952,6 @@ export declare const conversationTurnSchema: z.ZodObject<{
8804
8952
  timestamp: string;
8805
8953
  truncated?: boolean | undefined;
8806
8954
  } | undefined;
8807
- attachments?: {
8808
- name: string;
8809
- mime: string;
8810
- runId?: string | undefined;
8811
- byteSize?: number | undefined;
8812
- imageIndex?: number | undefined;
8813
- }[] | undefined;
8814
8955
  }, {
8815
8956
  errorCode: string | null;
8816
8957
  title: string;
@@ -8820,6 +8961,13 @@ export declare const conversationTurnSchema: z.ZodObject<{
8820
8961
  inputSummary: string | null;
8821
8962
  outputSummary: string | null;
8822
8963
  progressLabel: string | null;
8964
+ attachments?: {
8965
+ name: string;
8966
+ mime: string;
8967
+ runId?: string | undefined;
8968
+ byteSize?: number | undefined;
8969
+ imageIndex?: number | undefined;
8970
+ }[] | undefined;
8823
8971
  toolCategory?: "IMAGE_GENERATION" | undefined;
8824
8972
  subagentOperation?: "MESSAGE" | "START" | "STATUS" | "CANCEL" | "RESUME" | undefined;
8825
8973
  subagentId?: string | null | undefined;
@@ -8834,13 +8982,6 @@ export declare const conversationTurnSchema: z.ZodObject<{
8834
8982
  timestamp: string;
8835
8983
  truncated?: boolean | undefined;
8836
8984
  } | undefined;
8837
- attachments?: {
8838
- name: string;
8839
- mime: string;
8840
- runId?: string | undefined;
8841
- byteSize?: number | undefined;
8842
- imageIndex?: number | undefined;
8843
- }[] | undefined;
8844
8985
  }>;
8845
8986
  }, "strip", z.ZodTypeAny, {
8846
8987
  status: "PENDING" | "FAILED" | "CANCELLED" | "INTERRUPTED" | "IN_PROGRESS" | "COMPLETED" | "DECLINED";
@@ -8860,6 +9001,13 @@ export declare const conversationTurnSchema: z.ZodObject<{
8860
9001
  inputSummary: string | null;
8861
9002
  outputSummary: string | null;
8862
9003
  progressLabel: string | null;
9004
+ attachments?: {
9005
+ name: string;
9006
+ mime: string;
9007
+ runId?: string | undefined;
9008
+ byteSize?: number | undefined;
9009
+ imageIndex?: number | undefined;
9010
+ }[] | undefined;
8863
9011
  toolCategory?: "IMAGE_GENERATION" | undefined;
8864
9012
  subagentOperation?: "MESSAGE" | "START" | "STATUS" | "CANCEL" | "RESUME" | undefined;
8865
9013
  subagentId?: string | null | undefined;
@@ -8874,13 +9022,6 @@ export declare const conversationTurnSchema: z.ZodObject<{
8874
9022
  timestamp: string;
8875
9023
  truncated?: boolean | undefined;
8876
9024
  } | undefined;
8877
- attachments?: {
8878
- name: string;
8879
- mime: string;
8880
- runId?: string | undefined;
8881
- byteSize?: number | undefined;
8882
- imageIndex?: number | undefined;
8883
- }[] | undefined;
8884
9025
  };
8885
9026
  turnId: string;
8886
9027
  parentItemId: string | null;
@@ -8905,6 +9046,13 @@ export declare const conversationTurnSchema: z.ZodObject<{
8905
9046
  inputSummary: string | null;
8906
9047
  outputSummary: string | null;
8907
9048
  progressLabel: string | null;
9049
+ attachments?: {
9050
+ name: string;
9051
+ mime: string;
9052
+ runId?: string | undefined;
9053
+ byteSize?: number | undefined;
9054
+ imageIndex?: number | undefined;
9055
+ }[] | undefined;
8908
9056
  toolCategory?: "IMAGE_GENERATION" | undefined;
8909
9057
  subagentOperation?: "MESSAGE" | "START" | "STATUS" | "CANCEL" | "RESUME" | undefined;
8910
9058
  subagentId?: string | null | undefined;
@@ -8919,13 +9067,6 @@ export declare const conversationTurnSchema: z.ZodObject<{
8919
9067
  timestamp: string;
8920
9068
  truncated?: boolean | undefined;
8921
9069
  } | undefined;
8922
- attachments?: {
8923
- name: string;
8924
- mime: string;
8925
- runId?: string | undefined;
8926
- byteSize?: number | undefined;
8927
- imageIndex?: number | undefined;
8928
- }[] | undefined;
8929
9070
  };
8930
9071
  turnId: string;
8931
9072
  parentItemId: string | null;
@@ -9715,6 +9856,13 @@ export declare const conversationTurnSchema: z.ZodObject<{
9715
9856
  }[];
9716
9857
  delivery: "PENDING" | "ACCEPTED" | "STEERED" | "QUEUED_NEXT_TURN" | "REJECTED";
9717
9858
  source?: "SCHEDULED" | undefined;
9859
+ attachments?: {
9860
+ name: string;
9861
+ mime: string;
9862
+ runId?: string | undefined;
9863
+ byteSize?: number | undefined;
9864
+ imageIndex?: number | undefined;
9865
+ }[] | undefined;
9718
9866
  };
9719
9867
  turnId: string;
9720
9868
  parentItemId: string | null;
@@ -9841,6 +9989,13 @@ export declare const conversationTurnSchema: z.ZodObject<{
9841
9989
  inputSummary: string | null;
9842
9990
  outputSummary: string | null;
9843
9991
  progressLabel: string | null;
9992
+ attachments?: {
9993
+ name: string;
9994
+ mime: string;
9995
+ runId?: string | undefined;
9996
+ byteSize?: number | undefined;
9997
+ imageIndex?: number | undefined;
9998
+ }[] | undefined;
9844
9999
  toolCategory?: "IMAGE_GENERATION" | undefined;
9845
10000
  subagentOperation?: "MESSAGE" | "START" | "STATUS" | "CANCEL" | "RESUME" | undefined;
9846
10001
  subagentId?: string | null | undefined;
@@ -9855,13 +10010,6 @@ export declare const conversationTurnSchema: z.ZodObject<{
9855
10010
  timestamp: string;
9856
10011
  truncated?: boolean | undefined;
9857
10012
  } | undefined;
9858
- attachments?: {
9859
- name: string;
9860
- mime: string;
9861
- runId?: string | undefined;
9862
- byteSize?: number | undefined;
9863
- imageIndex?: number | undefined;
9864
- }[] | undefined;
9865
10013
  };
9866
10014
  turnId: string;
9867
10015
  parentItemId: string | null;
@@ -10076,6 +10224,13 @@ export declare const conversationTurnSchema: z.ZodObject<{
10076
10224
  startLine?: number | undefined;
10077
10225
  endLine?: number | undefined;
10078
10226
  }[] | undefined;
10227
+ attachments?: {
10228
+ name: string;
10229
+ mime: string;
10230
+ runId?: string | undefined;
10231
+ byteSize?: number | undefined;
10232
+ imageIndex?: number | undefined;
10233
+ }[] | undefined;
10079
10234
  };
10080
10235
  turnId: string;
10081
10236
  parentItemId: string | null;
@@ -10202,6 +10357,13 @@ export declare const conversationTurnSchema: z.ZodObject<{
10202
10357
  inputSummary: string | null;
10203
10358
  outputSummary: string | null;
10204
10359
  progressLabel: string | null;
10360
+ attachments?: {
10361
+ name: string;
10362
+ mime: string;
10363
+ runId?: string | undefined;
10364
+ byteSize?: number | undefined;
10365
+ imageIndex?: number | undefined;
10366
+ }[] | undefined;
10205
10367
  toolCategory?: "IMAGE_GENERATION" | undefined;
10206
10368
  subagentOperation?: "MESSAGE" | "START" | "STATUS" | "CANCEL" | "RESUME" | undefined;
10207
10369
  subagentId?: string | null | undefined;
@@ -10216,13 +10378,6 @@ export declare const conversationTurnSchema: z.ZodObject<{
10216
10378
  timestamp: string;
10217
10379
  truncated?: boolean | undefined;
10218
10380
  } | undefined;
10219
- attachments?: {
10220
- name: string;
10221
- mime: string;
10222
- runId?: string | undefined;
10223
- byteSize?: number | undefined;
10224
- imageIndex?: number | undefined;
10225
- }[] | undefined;
10226
10381
  };
10227
10382
  turnId: string;
10228
10383
  parentItemId: string | null;
@@ -11720,7 +11875,7 @@ export declare const conversationFileProjectionSchema: z.ZodObject<{
11720
11875
  updatedAt: number;
11721
11876
  displayName: string;
11722
11877
  conversationId: string;
11723
- source: "USER" | "SYSTEM" | "AGENT";
11878
+ source: "SYSTEM" | "USER" | "AGENT";
11724
11879
  category: "UPLOAD" | "OUTPUT";
11725
11880
  relativePath: string;
11726
11881
  mimeType: string;
@@ -11733,7 +11888,7 @@ export declare const conversationFileProjectionSchema: z.ZodObject<{
11733
11888
  updatedAt: number;
11734
11889
  displayName: string;
11735
11890
  conversationId: string;
11736
- source: "USER" | "SYSTEM" | "AGENT";
11891
+ source: "SYSTEM" | "USER" | "AGENT";
11737
11892
  category: "UPLOAD" | "OUTPUT";
11738
11893
  relativePath: string;
11739
11894
  mimeType: string;
@@ -12010,6 +12165,37 @@ export declare const hostedConversationSnapshotSchema: z.ZodEffects<z.ZodObject<
12010
12165
  startLine?: number | undefined;
12011
12166
  endLine?: number | undefined;
12012
12167
  }>, "many">>;
12168
+ attachments: z.ZodOptional<z.ZodArray<z.ZodEffects<z.ZodObject<{
12169
+ name: z.ZodString;
12170
+ mime: z.ZodString;
12171
+ byteSize: z.ZodOptional<z.ZodNumber>;
12172
+ runId: z.ZodOptional<z.ZodString>;
12173
+ imageIndex: z.ZodOptional<z.ZodNumber>;
12174
+ }, "strict", z.ZodTypeAny, {
12175
+ name: string;
12176
+ mime: string;
12177
+ runId?: string | undefined;
12178
+ byteSize?: number | undefined;
12179
+ imageIndex?: number | undefined;
12180
+ }, {
12181
+ name: string;
12182
+ mime: string;
12183
+ runId?: string | undefined;
12184
+ byteSize?: number | undefined;
12185
+ imageIndex?: number | undefined;
12186
+ }>, {
12187
+ name: string;
12188
+ mime: string;
12189
+ runId?: string | undefined;
12190
+ byteSize?: number | undefined;
12191
+ imageIndex?: number | undefined;
12192
+ }, {
12193
+ name: string;
12194
+ mime: string;
12195
+ runId?: string | undefined;
12196
+ byteSize?: number | undefined;
12197
+ imageIndex?: number | undefined;
12198
+ }>, "many">>;
12013
12199
  source: z.ZodOptional<z.ZodLiteral<"SCHEDULED">>;
12014
12200
  delivery: z.ZodEnum<["PENDING", "ACCEPTED", "STEERED", "QUEUED_NEXT_TURN", "REJECTED"]>;
12015
12201
  }, "strip", z.ZodTypeAny, {
@@ -12025,6 +12211,13 @@ export declare const hostedConversationSnapshotSchema: z.ZodEffects<z.ZodObject<
12025
12211
  }[];
12026
12212
  delivery: "PENDING" | "ACCEPTED" | "STEERED" | "QUEUED_NEXT_TURN" | "REJECTED";
12027
12213
  source?: "SCHEDULED" | undefined;
12214
+ attachments?: {
12215
+ name: string;
12216
+ mime: string;
12217
+ runId?: string | undefined;
12218
+ byteSize?: number | undefined;
12219
+ imageIndex?: number | undefined;
12220
+ }[] | undefined;
12028
12221
  }, {
12029
12222
  clientMessageId: string | null;
12030
12223
  text: string;
@@ -12038,6 +12231,13 @@ export declare const hostedConversationSnapshotSchema: z.ZodEffects<z.ZodObject<
12038
12231
  startLine?: number | undefined;
12039
12232
  endLine?: number | undefined;
12040
12233
  }[] | undefined;
12234
+ attachments?: {
12235
+ name: string;
12236
+ mime: string;
12237
+ runId?: string | undefined;
12238
+ byteSize?: number | undefined;
12239
+ imageIndex?: number | undefined;
12240
+ }[] | undefined;
12041
12241
  }>;
12042
12242
  }, "strip", z.ZodTypeAny, {
12043
12243
  status: "PENDING" | "FAILED" | "CANCELLED" | "INTERRUPTED" | "IN_PROGRESS" | "COMPLETED" | "DECLINED";
@@ -12061,6 +12261,13 @@ export declare const hostedConversationSnapshotSchema: z.ZodEffects<z.ZodObject<
12061
12261
  }[];
12062
12262
  delivery: "PENDING" | "ACCEPTED" | "STEERED" | "QUEUED_NEXT_TURN" | "REJECTED";
12063
12263
  source?: "SCHEDULED" | undefined;
12264
+ attachments?: {
12265
+ name: string;
12266
+ mime: string;
12267
+ runId?: string | undefined;
12268
+ byteSize?: number | undefined;
12269
+ imageIndex?: number | undefined;
12270
+ }[] | undefined;
12064
12271
  };
12065
12272
  turnId: string;
12066
12273
  parentItemId: string | null;
@@ -12089,6 +12296,13 @@ export declare const hostedConversationSnapshotSchema: z.ZodEffects<z.ZodObject<
12089
12296
  startLine?: number | undefined;
12090
12297
  endLine?: number | undefined;
12091
12298
  }[] | undefined;
12299
+ attachments?: {
12300
+ name: string;
12301
+ mime: string;
12302
+ runId?: string | undefined;
12303
+ byteSize?: number | undefined;
12304
+ imageIndex?: number | undefined;
12305
+ }[] | undefined;
12092
12306
  };
12093
12307
  turnId: string;
12094
12308
  parentItemId: string | null;
@@ -12437,6 +12651,13 @@ export declare const hostedConversationSnapshotSchema: z.ZodEffects<z.ZodObject<
12437
12651
  inputSummary: string | null;
12438
12652
  outputSummary: string | null;
12439
12653
  progressLabel: string | null;
12654
+ attachments?: {
12655
+ name: string;
12656
+ mime: string;
12657
+ runId?: string | undefined;
12658
+ byteSize?: number | undefined;
12659
+ imageIndex?: number | undefined;
12660
+ }[] | undefined;
12440
12661
  toolCategory?: "IMAGE_GENERATION" | undefined;
12441
12662
  subagentOperation?: "MESSAGE" | "START" | "STATUS" | "CANCEL" | "RESUME" | undefined;
12442
12663
  subagentId?: string | null | undefined;
@@ -12451,13 +12672,6 @@ export declare const hostedConversationSnapshotSchema: z.ZodEffects<z.ZodObject<
12451
12672
  timestamp: string;
12452
12673
  truncated?: boolean | undefined;
12453
12674
  } | undefined;
12454
- attachments?: {
12455
- name: string;
12456
- mime: string;
12457
- runId?: string | undefined;
12458
- byteSize?: number | undefined;
12459
- imageIndex?: number | undefined;
12460
- }[] | undefined;
12461
12675
  }, {
12462
12676
  errorCode: string | null;
12463
12677
  title: string;
@@ -12467,6 +12681,13 @@ export declare const hostedConversationSnapshotSchema: z.ZodEffects<z.ZodObject<
12467
12681
  inputSummary: string | null;
12468
12682
  outputSummary: string | null;
12469
12683
  progressLabel: string | null;
12684
+ attachments?: {
12685
+ name: string;
12686
+ mime: string;
12687
+ runId?: string | undefined;
12688
+ byteSize?: number | undefined;
12689
+ imageIndex?: number | undefined;
12690
+ }[] | undefined;
12470
12691
  toolCategory?: "IMAGE_GENERATION" | undefined;
12471
12692
  subagentOperation?: "MESSAGE" | "START" | "STATUS" | "CANCEL" | "RESUME" | undefined;
12472
12693
  subagentId?: string | null | undefined;
@@ -12481,13 +12702,6 @@ export declare const hostedConversationSnapshotSchema: z.ZodEffects<z.ZodObject<
12481
12702
  timestamp: string;
12482
12703
  truncated?: boolean | undefined;
12483
12704
  } | undefined;
12484
- attachments?: {
12485
- name: string;
12486
- mime: string;
12487
- runId?: string | undefined;
12488
- byteSize?: number | undefined;
12489
- imageIndex?: number | undefined;
12490
- }[] | undefined;
12491
12705
  }>;
12492
12706
  }, "strip", z.ZodTypeAny, {
12493
12707
  status: "PENDING" | "FAILED" | "CANCELLED" | "INTERRUPTED" | "IN_PROGRESS" | "COMPLETED" | "DECLINED";
@@ -12507,6 +12721,13 @@ export declare const hostedConversationSnapshotSchema: z.ZodEffects<z.ZodObject<
12507
12721
  inputSummary: string | null;
12508
12722
  outputSummary: string | null;
12509
12723
  progressLabel: string | null;
12724
+ attachments?: {
12725
+ name: string;
12726
+ mime: string;
12727
+ runId?: string | undefined;
12728
+ byteSize?: number | undefined;
12729
+ imageIndex?: number | undefined;
12730
+ }[] | undefined;
12510
12731
  toolCategory?: "IMAGE_GENERATION" | undefined;
12511
12732
  subagentOperation?: "MESSAGE" | "START" | "STATUS" | "CANCEL" | "RESUME" | undefined;
12512
12733
  subagentId?: string | null | undefined;
@@ -12521,13 +12742,6 @@ export declare const hostedConversationSnapshotSchema: z.ZodEffects<z.ZodObject<
12521
12742
  timestamp: string;
12522
12743
  truncated?: boolean | undefined;
12523
12744
  } | undefined;
12524
- attachments?: {
12525
- name: string;
12526
- mime: string;
12527
- runId?: string | undefined;
12528
- byteSize?: number | undefined;
12529
- imageIndex?: number | undefined;
12530
- }[] | undefined;
12531
12745
  };
12532
12746
  turnId: string;
12533
12747
  parentItemId: string | null;
@@ -12552,6 +12766,13 @@ export declare const hostedConversationSnapshotSchema: z.ZodEffects<z.ZodObject<
12552
12766
  inputSummary: string | null;
12553
12767
  outputSummary: string | null;
12554
12768
  progressLabel: string | null;
12769
+ attachments?: {
12770
+ name: string;
12771
+ mime: string;
12772
+ runId?: string | undefined;
12773
+ byteSize?: number | undefined;
12774
+ imageIndex?: number | undefined;
12775
+ }[] | undefined;
12555
12776
  toolCategory?: "IMAGE_GENERATION" | undefined;
12556
12777
  subagentOperation?: "MESSAGE" | "START" | "STATUS" | "CANCEL" | "RESUME" | undefined;
12557
12778
  subagentId?: string | null | undefined;
@@ -12566,13 +12787,6 @@ export declare const hostedConversationSnapshotSchema: z.ZodEffects<z.ZodObject<
12566
12787
  timestamp: string;
12567
12788
  truncated?: boolean | undefined;
12568
12789
  } | undefined;
12569
- attachments?: {
12570
- name: string;
12571
- mime: string;
12572
- runId?: string | undefined;
12573
- byteSize?: number | undefined;
12574
- imageIndex?: number | undefined;
12575
- }[] | undefined;
12576
12790
  };
12577
12791
  turnId: string;
12578
12792
  parentItemId: string | null;
@@ -13362,6 +13576,13 @@ export declare const hostedConversationSnapshotSchema: z.ZodEffects<z.ZodObject<
13362
13576
  }[];
13363
13577
  delivery: "PENDING" | "ACCEPTED" | "STEERED" | "QUEUED_NEXT_TURN" | "REJECTED";
13364
13578
  source?: "SCHEDULED" | undefined;
13579
+ attachments?: {
13580
+ name: string;
13581
+ mime: string;
13582
+ runId?: string | undefined;
13583
+ byteSize?: number | undefined;
13584
+ imageIndex?: number | undefined;
13585
+ }[] | undefined;
13365
13586
  };
13366
13587
  turnId: string;
13367
13588
  parentItemId: string | null;
@@ -13488,6 +13709,13 @@ export declare const hostedConversationSnapshotSchema: z.ZodEffects<z.ZodObject<
13488
13709
  inputSummary: string | null;
13489
13710
  outputSummary: string | null;
13490
13711
  progressLabel: string | null;
13712
+ attachments?: {
13713
+ name: string;
13714
+ mime: string;
13715
+ runId?: string | undefined;
13716
+ byteSize?: number | undefined;
13717
+ imageIndex?: number | undefined;
13718
+ }[] | undefined;
13491
13719
  toolCategory?: "IMAGE_GENERATION" | undefined;
13492
13720
  subagentOperation?: "MESSAGE" | "START" | "STATUS" | "CANCEL" | "RESUME" | undefined;
13493
13721
  subagentId?: string | null | undefined;
@@ -13502,13 +13730,6 @@ export declare const hostedConversationSnapshotSchema: z.ZodEffects<z.ZodObject<
13502
13730
  timestamp: string;
13503
13731
  truncated?: boolean | undefined;
13504
13732
  } | undefined;
13505
- attachments?: {
13506
- name: string;
13507
- mime: string;
13508
- runId?: string | undefined;
13509
- byteSize?: number | undefined;
13510
- imageIndex?: number | undefined;
13511
- }[] | undefined;
13512
13733
  };
13513
13734
  turnId: string;
13514
13735
  parentItemId: string | null;
@@ -13723,6 +13944,13 @@ export declare const hostedConversationSnapshotSchema: z.ZodEffects<z.ZodObject<
13723
13944
  startLine?: number | undefined;
13724
13945
  endLine?: number | undefined;
13725
13946
  }[] | undefined;
13947
+ attachments?: {
13948
+ name: string;
13949
+ mime: string;
13950
+ runId?: string | undefined;
13951
+ byteSize?: number | undefined;
13952
+ imageIndex?: number | undefined;
13953
+ }[] | undefined;
13726
13954
  };
13727
13955
  turnId: string;
13728
13956
  parentItemId: string | null;
@@ -13849,6 +14077,13 @@ export declare const hostedConversationSnapshotSchema: z.ZodEffects<z.ZodObject<
13849
14077
  inputSummary: string | null;
13850
14078
  outputSummary: string | null;
13851
14079
  progressLabel: string | null;
14080
+ attachments?: {
14081
+ name: string;
14082
+ mime: string;
14083
+ runId?: string | undefined;
14084
+ byteSize?: number | undefined;
14085
+ imageIndex?: number | undefined;
14086
+ }[] | undefined;
13852
14087
  toolCategory?: "IMAGE_GENERATION" | undefined;
13853
14088
  subagentOperation?: "MESSAGE" | "START" | "STATUS" | "CANCEL" | "RESUME" | undefined;
13854
14089
  subagentId?: string | null | undefined;
@@ -13863,13 +14098,6 @@ export declare const hostedConversationSnapshotSchema: z.ZodEffects<z.ZodObject<
13863
14098
  timestamp: string;
13864
14099
  truncated?: boolean | undefined;
13865
14100
  } | undefined;
13866
- attachments?: {
13867
- name: string;
13868
- mime: string;
13869
- runId?: string | undefined;
13870
- byteSize?: number | undefined;
13871
- imageIndex?: number | undefined;
13872
- }[] | undefined;
13873
14101
  };
13874
14102
  turnId: string;
13875
14103
  parentItemId: string | null;
@@ -14057,7 +14285,7 @@ export declare const hostedConversationSnapshotSchema: z.ZodEffects<z.ZodObject<
14057
14285
  updatedAt: number;
14058
14286
  displayName: string;
14059
14287
  conversationId: string;
14060
- source: "USER" | "SYSTEM" | "AGENT";
14288
+ source: "SYSTEM" | "USER" | "AGENT";
14061
14289
  category: "UPLOAD" | "OUTPUT";
14062
14290
  relativePath: string;
14063
14291
  mimeType: string;
@@ -14070,7 +14298,7 @@ export declare const hostedConversationSnapshotSchema: z.ZodEffects<z.ZodObject<
14070
14298
  updatedAt: number;
14071
14299
  displayName: string;
14072
14300
  conversationId: string;
14073
- source: "USER" | "SYSTEM" | "AGENT";
14301
+ source: "SYSTEM" | "USER" | "AGENT";
14074
14302
  category: "UPLOAD" | "OUTPUT";
14075
14303
  relativePath: string;
14076
14304
  mimeType: string;
@@ -14104,6 +14332,7 @@ export declare const hostedConversationSnapshotSchema: z.ZodEffects<z.ZodObject<
14104
14332
  codeMode: z.ZodDefault<z.ZodBoolean>;
14105
14333
  highDensityCompaction: z.ZodDefault<z.ZodBoolean>;
14106
14334
  fastMode: z.ZodOptional<z.ZodBoolean>;
14335
+ serviceTier: z.ZodOptional<z.ZodEnum<["auto", "default", "flex", "priority", "fast", "ultrafast"]>>;
14107
14336
  hostedWebSearch: z.ZodBoolean;
14108
14337
  responsesTransport: z.ZodOptional<z.ZodDiscriminatedUnion<"transport", [z.ZodObject<{
14109
14338
  transport: z.ZodLiteral<"WEBSOCKET">;
@@ -14154,6 +14383,7 @@ export declare const hostedConversationSnapshotSchema: z.ZodEffects<z.ZodObject<
14154
14383
  lastTestStatus?: "SUCCEEDED" | "FAILED" | "UNVERIFIED" | null | undefined;
14155
14384
  lastTestCode?: string | null | undefined;
14156
14385
  defaultReasoningEffort?: "low" | "medium" | "high" | "xhigh" | "max" | "ultra" | undefined;
14386
+ serviceTier?: "auto" | "default" | "flex" | "priority" | "fast" | "ultrafast" | undefined;
14157
14387
  responsesTransport?: {
14158
14388
  transport: "WEBSOCKET";
14159
14389
  } | {
@@ -14190,6 +14420,7 @@ export declare const hostedConversationSnapshotSchema: z.ZodEffects<z.ZodObject<
14190
14420
  titleGeneration?: boolean | undefined;
14191
14421
  codeMode?: boolean | undefined;
14192
14422
  highDensityCompaction?: boolean | undefined;
14423
+ serviceTier?: "auto" | "default" | "flex" | "priority" | "fast" | "ultrafast" | undefined;
14193
14424
  responsesTransport?: {
14194
14425
  transport: "WEBSOCKET";
14195
14426
  } | {
@@ -14256,7 +14487,7 @@ export declare const hostedConversationSnapshotSchema: z.ZodEffects<z.ZodObject<
14256
14487
  updatedAt: number;
14257
14488
  displayName: string;
14258
14489
  conversationId: string;
14259
- source: "USER" | "SYSTEM" | "AGENT";
14490
+ source: "SYSTEM" | "USER" | "AGENT";
14260
14491
  category: "UPLOAD" | "OUTPUT";
14261
14492
  relativePath: string;
14262
14493
  mimeType: string;
@@ -14313,6 +14544,13 @@ export declare const hostedConversationSnapshotSchema: z.ZodEffects<z.ZodObject<
14313
14544
  }[];
14314
14545
  delivery: "PENDING" | "ACCEPTED" | "STEERED" | "QUEUED_NEXT_TURN" | "REJECTED";
14315
14546
  source?: "SCHEDULED" | undefined;
14547
+ attachments?: {
14548
+ name: string;
14549
+ mime: string;
14550
+ runId?: string | undefined;
14551
+ byteSize?: number | undefined;
14552
+ imageIndex?: number | undefined;
14553
+ }[] | undefined;
14316
14554
  };
14317
14555
  turnId: string;
14318
14556
  parentItemId: string | null;
@@ -14439,6 +14677,13 @@ export declare const hostedConversationSnapshotSchema: z.ZodEffects<z.ZodObject<
14439
14677
  inputSummary: string | null;
14440
14678
  outputSummary: string | null;
14441
14679
  progressLabel: string | null;
14680
+ attachments?: {
14681
+ name: string;
14682
+ mime: string;
14683
+ runId?: string | undefined;
14684
+ byteSize?: number | undefined;
14685
+ imageIndex?: number | undefined;
14686
+ }[] | undefined;
14442
14687
  toolCategory?: "IMAGE_GENERATION" | undefined;
14443
14688
  subagentOperation?: "MESSAGE" | "START" | "STATUS" | "CANCEL" | "RESUME" | undefined;
14444
14689
  subagentId?: string | null | undefined;
@@ -14453,13 +14698,6 @@ export declare const hostedConversationSnapshotSchema: z.ZodEffects<z.ZodObject<
14453
14698
  timestamp: string;
14454
14699
  truncated?: boolean | undefined;
14455
14700
  } | undefined;
14456
- attachments?: {
14457
- name: string;
14458
- mime: string;
14459
- runId?: string | undefined;
14460
- byteSize?: number | undefined;
14461
- imageIndex?: number | undefined;
14462
- }[] | undefined;
14463
14701
  };
14464
14702
  turnId: string;
14465
14703
  parentItemId: string | null;
@@ -14682,7 +14920,7 @@ export declare const hostedConversationSnapshotSchema: z.ZodEffects<z.ZodObject<
14682
14920
  updatedAt: number;
14683
14921
  displayName: string;
14684
14922
  conversationId: string;
14685
- source: "USER" | "SYSTEM" | "AGENT";
14923
+ source: "SYSTEM" | "USER" | "AGENT";
14686
14924
  category: "UPLOAD" | "OUTPUT";
14687
14925
  relativePath: string;
14688
14926
  mimeType: string;
@@ -14739,6 +14977,13 @@ export declare const hostedConversationSnapshotSchema: z.ZodEffects<z.ZodObject<
14739
14977
  startLine?: number | undefined;
14740
14978
  endLine?: number | undefined;
14741
14979
  }[] | undefined;
14980
+ attachments?: {
14981
+ name: string;
14982
+ mime: string;
14983
+ runId?: string | undefined;
14984
+ byteSize?: number | undefined;
14985
+ imageIndex?: number | undefined;
14986
+ }[] | undefined;
14742
14987
  };
14743
14988
  turnId: string;
14744
14989
  parentItemId: string | null;
@@ -14865,6 +15110,13 @@ export declare const hostedConversationSnapshotSchema: z.ZodEffects<z.ZodObject<
14865
15110
  inputSummary: string | null;
14866
15111
  outputSummary: string | null;
14867
15112
  progressLabel: string | null;
15113
+ attachments?: {
15114
+ name: string;
15115
+ mime: string;
15116
+ runId?: string | undefined;
15117
+ byteSize?: number | undefined;
15118
+ imageIndex?: number | undefined;
15119
+ }[] | undefined;
14868
15120
  toolCategory?: "IMAGE_GENERATION" | undefined;
14869
15121
  subagentOperation?: "MESSAGE" | "START" | "STATUS" | "CANCEL" | "RESUME" | undefined;
14870
15122
  subagentId?: string | null | undefined;
@@ -14879,13 +15131,6 @@ export declare const hostedConversationSnapshotSchema: z.ZodEffects<z.ZodObject<
14879
15131
  timestamp: string;
14880
15132
  truncated?: boolean | undefined;
14881
15133
  } | undefined;
14882
- attachments?: {
14883
- name: string;
14884
- mime: string;
14885
- runId?: string | undefined;
14886
- byteSize?: number | undefined;
14887
- imageIndex?: number | undefined;
14888
- }[] | undefined;
14889
15134
  };
14890
15135
  turnId: string;
14891
15136
  parentItemId: string | null;
@@ -15108,7 +15353,7 @@ export declare const hostedConversationSnapshotSchema: z.ZodEffects<z.ZodObject<
15108
15353
  updatedAt: number;
15109
15354
  displayName: string;
15110
15355
  conversationId: string;
15111
- source: "USER" | "SYSTEM" | "AGENT";
15356
+ source: "SYSTEM" | "USER" | "AGENT";
15112
15357
  category: "UPLOAD" | "OUTPUT";
15113
15358
  relativePath: string;
15114
15359
  mimeType: string;
@@ -15165,6 +15410,13 @@ export declare const hostedConversationSnapshotSchema: z.ZodEffects<z.ZodObject<
15165
15410
  }[];
15166
15411
  delivery: "PENDING" | "ACCEPTED" | "STEERED" | "QUEUED_NEXT_TURN" | "REJECTED";
15167
15412
  source?: "SCHEDULED" | undefined;
15413
+ attachments?: {
15414
+ name: string;
15415
+ mime: string;
15416
+ runId?: string | undefined;
15417
+ byteSize?: number | undefined;
15418
+ imageIndex?: number | undefined;
15419
+ }[] | undefined;
15168
15420
  };
15169
15421
  turnId: string;
15170
15422
  parentItemId: string | null;
@@ -15291,6 +15543,13 @@ export declare const hostedConversationSnapshotSchema: z.ZodEffects<z.ZodObject<
15291
15543
  inputSummary: string | null;
15292
15544
  outputSummary: string | null;
15293
15545
  progressLabel: string | null;
15546
+ attachments?: {
15547
+ name: string;
15548
+ mime: string;
15549
+ runId?: string | undefined;
15550
+ byteSize?: number | undefined;
15551
+ imageIndex?: number | undefined;
15552
+ }[] | undefined;
15294
15553
  toolCategory?: "IMAGE_GENERATION" | undefined;
15295
15554
  subagentOperation?: "MESSAGE" | "START" | "STATUS" | "CANCEL" | "RESUME" | undefined;
15296
15555
  subagentId?: string | null | undefined;
@@ -15305,13 +15564,6 @@ export declare const hostedConversationSnapshotSchema: z.ZodEffects<z.ZodObject<
15305
15564
  timestamp: string;
15306
15565
  truncated?: boolean | undefined;
15307
15566
  } | undefined;
15308
- attachments?: {
15309
- name: string;
15310
- mime: string;
15311
- runId?: string | undefined;
15312
- byteSize?: number | undefined;
15313
- imageIndex?: number | undefined;
15314
- }[] | undefined;
15315
15567
  };
15316
15568
  turnId: string;
15317
15569
  parentItemId: string | null;
@@ -15534,7 +15786,7 @@ export declare const hostedConversationSnapshotSchema: z.ZodEffects<z.ZodObject<
15534
15786
  updatedAt: number;
15535
15787
  displayName: string;
15536
15788
  conversationId: string;
15537
- source: "USER" | "SYSTEM" | "AGENT";
15789
+ source: "SYSTEM" | "USER" | "AGENT";
15538
15790
  category: "UPLOAD" | "OUTPUT";
15539
15791
  relativePath: string;
15540
15792
  mimeType: string;
@@ -15591,6 +15843,13 @@ export declare const hostedConversationSnapshotSchema: z.ZodEffects<z.ZodObject<
15591
15843
  startLine?: number | undefined;
15592
15844
  endLine?: number | undefined;
15593
15845
  }[] | undefined;
15846
+ attachments?: {
15847
+ name: string;
15848
+ mime: string;
15849
+ runId?: string | undefined;
15850
+ byteSize?: number | undefined;
15851
+ imageIndex?: number | undefined;
15852
+ }[] | undefined;
15594
15853
  };
15595
15854
  turnId: string;
15596
15855
  parentItemId: string | null;
@@ -15717,6 +15976,13 @@ export declare const hostedConversationSnapshotSchema: z.ZodEffects<z.ZodObject<
15717
15976
  inputSummary: string | null;
15718
15977
  outputSummary: string | null;
15719
15978
  progressLabel: string | null;
15979
+ attachments?: {
15980
+ name: string;
15981
+ mime: string;
15982
+ runId?: string | undefined;
15983
+ byteSize?: number | undefined;
15984
+ imageIndex?: number | undefined;
15985
+ }[] | undefined;
15720
15986
  toolCategory?: "IMAGE_GENERATION" | undefined;
15721
15987
  subagentOperation?: "MESSAGE" | "START" | "STATUS" | "CANCEL" | "RESUME" | undefined;
15722
15988
  subagentId?: string | null | undefined;
@@ -15731,13 +15997,6 @@ export declare const hostedConversationSnapshotSchema: z.ZodEffects<z.ZodObject<
15731
15997
  timestamp: string;
15732
15998
  truncated?: boolean | undefined;
15733
15999
  } | undefined;
15734
- attachments?: {
15735
- name: string;
15736
- mime: string;
15737
- runId?: string | undefined;
15738
- byteSize?: number | undefined;
15739
- imageIndex?: number | undefined;
15740
- }[] | undefined;
15741
16000
  };
15742
16001
  turnId: string;
15743
16002
  parentItemId: string | null;
@@ -16331,6 +16590,37 @@ export declare const hostedConversationHistoryPageSchema: z.ZodObject<{
16331
16590
  startLine?: number | undefined;
16332
16591
  endLine?: number | undefined;
16333
16592
  }>, "many">>;
16593
+ attachments: z.ZodOptional<z.ZodArray<z.ZodEffects<z.ZodObject<{
16594
+ name: z.ZodString;
16595
+ mime: z.ZodString;
16596
+ byteSize: z.ZodOptional<z.ZodNumber>;
16597
+ runId: z.ZodOptional<z.ZodString>;
16598
+ imageIndex: z.ZodOptional<z.ZodNumber>;
16599
+ }, "strict", z.ZodTypeAny, {
16600
+ name: string;
16601
+ mime: string;
16602
+ runId?: string | undefined;
16603
+ byteSize?: number | undefined;
16604
+ imageIndex?: number | undefined;
16605
+ }, {
16606
+ name: string;
16607
+ mime: string;
16608
+ runId?: string | undefined;
16609
+ byteSize?: number | undefined;
16610
+ imageIndex?: number | undefined;
16611
+ }>, {
16612
+ name: string;
16613
+ mime: string;
16614
+ runId?: string | undefined;
16615
+ byteSize?: number | undefined;
16616
+ imageIndex?: number | undefined;
16617
+ }, {
16618
+ name: string;
16619
+ mime: string;
16620
+ runId?: string | undefined;
16621
+ byteSize?: number | undefined;
16622
+ imageIndex?: number | undefined;
16623
+ }>, "many">>;
16334
16624
  source: z.ZodOptional<z.ZodLiteral<"SCHEDULED">>;
16335
16625
  delivery: z.ZodEnum<["PENDING", "ACCEPTED", "STEERED", "QUEUED_NEXT_TURN", "REJECTED"]>;
16336
16626
  }, "strip", z.ZodTypeAny, {
@@ -16346,6 +16636,13 @@ export declare const hostedConversationHistoryPageSchema: z.ZodObject<{
16346
16636
  }[];
16347
16637
  delivery: "PENDING" | "ACCEPTED" | "STEERED" | "QUEUED_NEXT_TURN" | "REJECTED";
16348
16638
  source?: "SCHEDULED" | undefined;
16639
+ attachments?: {
16640
+ name: string;
16641
+ mime: string;
16642
+ runId?: string | undefined;
16643
+ byteSize?: number | undefined;
16644
+ imageIndex?: number | undefined;
16645
+ }[] | undefined;
16349
16646
  }, {
16350
16647
  clientMessageId: string | null;
16351
16648
  text: string;
@@ -16359,6 +16656,13 @@ export declare const hostedConversationHistoryPageSchema: z.ZodObject<{
16359
16656
  startLine?: number | undefined;
16360
16657
  endLine?: number | undefined;
16361
16658
  }[] | undefined;
16659
+ attachments?: {
16660
+ name: string;
16661
+ mime: string;
16662
+ runId?: string | undefined;
16663
+ byteSize?: number | undefined;
16664
+ imageIndex?: number | undefined;
16665
+ }[] | undefined;
16362
16666
  }>;
16363
16667
  }, "strip", z.ZodTypeAny, {
16364
16668
  status: "PENDING" | "FAILED" | "CANCELLED" | "INTERRUPTED" | "IN_PROGRESS" | "COMPLETED" | "DECLINED";
@@ -16382,6 +16686,13 @@ export declare const hostedConversationHistoryPageSchema: z.ZodObject<{
16382
16686
  }[];
16383
16687
  delivery: "PENDING" | "ACCEPTED" | "STEERED" | "QUEUED_NEXT_TURN" | "REJECTED";
16384
16688
  source?: "SCHEDULED" | undefined;
16689
+ attachments?: {
16690
+ name: string;
16691
+ mime: string;
16692
+ runId?: string | undefined;
16693
+ byteSize?: number | undefined;
16694
+ imageIndex?: number | undefined;
16695
+ }[] | undefined;
16385
16696
  };
16386
16697
  turnId: string;
16387
16698
  parentItemId: string | null;
@@ -16410,6 +16721,13 @@ export declare const hostedConversationHistoryPageSchema: z.ZodObject<{
16410
16721
  startLine?: number | undefined;
16411
16722
  endLine?: number | undefined;
16412
16723
  }[] | undefined;
16724
+ attachments?: {
16725
+ name: string;
16726
+ mime: string;
16727
+ runId?: string | undefined;
16728
+ byteSize?: number | undefined;
16729
+ imageIndex?: number | undefined;
16730
+ }[] | undefined;
16413
16731
  };
16414
16732
  turnId: string;
16415
16733
  parentItemId: string | null;
@@ -16758,6 +17076,13 @@ export declare const hostedConversationHistoryPageSchema: z.ZodObject<{
16758
17076
  inputSummary: string | null;
16759
17077
  outputSummary: string | null;
16760
17078
  progressLabel: string | null;
17079
+ attachments?: {
17080
+ name: string;
17081
+ mime: string;
17082
+ runId?: string | undefined;
17083
+ byteSize?: number | undefined;
17084
+ imageIndex?: number | undefined;
17085
+ }[] | undefined;
16761
17086
  toolCategory?: "IMAGE_GENERATION" | undefined;
16762
17087
  subagentOperation?: "MESSAGE" | "START" | "STATUS" | "CANCEL" | "RESUME" | undefined;
16763
17088
  subagentId?: string | null | undefined;
@@ -16772,13 +17097,6 @@ export declare const hostedConversationHistoryPageSchema: z.ZodObject<{
16772
17097
  timestamp: string;
16773
17098
  truncated?: boolean | undefined;
16774
17099
  } | undefined;
16775
- attachments?: {
16776
- name: string;
16777
- mime: string;
16778
- runId?: string | undefined;
16779
- byteSize?: number | undefined;
16780
- imageIndex?: number | undefined;
16781
- }[] | undefined;
16782
17100
  }, {
16783
17101
  errorCode: string | null;
16784
17102
  title: string;
@@ -16788,6 +17106,13 @@ export declare const hostedConversationHistoryPageSchema: z.ZodObject<{
16788
17106
  inputSummary: string | null;
16789
17107
  outputSummary: string | null;
16790
17108
  progressLabel: string | null;
17109
+ attachments?: {
17110
+ name: string;
17111
+ mime: string;
17112
+ runId?: string | undefined;
17113
+ byteSize?: number | undefined;
17114
+ imageIndex?: number | undefined;
17115
+ }[] | undefined;
16791
17116
  toolCategory?: "IMAGE_GENERATION" | undefined;
16792
17117
  subagentOperation?: "MESSAGE" | "START" | "STATUS" | "CANCEL" | "RESUME" | undefined;
16793
17118
  subagentId?: string | null | undefined;
@@ -16802,13 +17127,6 @@ export declare const hostedConversationHistoryPageSchema: z.ZodObject<{
16802
17127
  timestamp: string;
16803
17128
  truncated?: boolean | undefined;
16804
17129
  } | undefined;
16805
- attachments?: {
16806
- name: string;
16807
- mime: string;
16808
- runId?: string | undefined;
16809
- byteSize?: number | undefined;
16810
- imageIndex?: number | undefined;
16811
- }[] | undefined;
16812
17130
  }>;
16813
17131
  }, "strip", z.ZodTypeAny, {
16814
17132
  status: "PENDING" | "FAILED" | "CANCELLED" | "INTERRUPTED" | "IN_PROGRESS" | "COMPLETED" | "DECLINED";
@@ -16828,6 +17146,13 @@ export declare const hostedConversationHistoryPageSchema: z.ZodObject<{
16828
17146
  inputSummary: string | null;
16829
17147
  outputSummary: string | null;
16830
17148
  progressLabel: string | null;
17149
+ attachments?: {
17150
+ name: string;
17151
+ mime: string;
17152
+ runId?: string | undefined;
17153
+ byteSize?: number | undefined;
17154
+ imageIndex?: number | undefined;
17155
+ }[] | undefined;
16831
17156
  toolCategory?: "IMAGE_GENERATION" | undefined;
16832
17157
  subagentOperation?: "MESSAGE" | "START" | "STATUS" | "CANCEL" | "RESUME" | undefined;
16833
17158
  subagentId?: string | null | undefined;
@@ -16842,13 +17167,6 @@ export declare const hostedConversationHistoryPageSchema: z.ZodObject<{
16842
17167
  timestamp: string;
16843
17168
  truncated?: boolean | undefined;
16844
17169
  } | undefined;
16845
- attachments?: {
16846
- name: string;
16847
- mime: string;
16848
- runId?: string | undefined;
16849
- byteSize?: number | undefined;
16850
- imageIndex?: number | undefined;
16851
- }[] | undefined;
16852
17170
  };
16853
17171
  turnId: string;
16854
17172
  parentItemId: string | null;
@@ -16873,6 +17191,13 @@ export declare const hostedConversationHistoryPageSchema: z.ZodObject<{
16873
17191
  inputSummary: string | null;
16874
17192
  outputSummary: string | null;
16875
17193
  progressLabel: string | null;
17194
+ attachments?: {
17195
+ name: string;
17196
+ mime: string;
17197
+ runId?: string | undefined;
17198
+ byteSize?: number | undefined;
17199
+ imageIndex?: number | undefined;
17200
+ }[] | undefined;
16876
17201
  toolCategory?: "IMAGE_GENERATION" | undefined;
16877
17202
  subagentOperation?: "MESSAGE" | "START" | "STATUS" | "CANCEL" | "RESUME" | undefined;
16878
17203
  subagentId?: string | null | undefined;
@@ -16887,13 +17212,6 @@ export declare const hostedConversationHistoryPageSchema: z.ZodObject<{
16887
17212
  timestamp: string;
16888
17213
  truncated?: boolean | undefined;
16889
17214
  } | undefined;
16890
- attachments?: {
16891
- name: string;
16892
- mime: string;
16893
- runId?: string | undefined;
16894
- byteSize?: number | undefined;
16895
- imageIndex?: number | undefined;
16896
- }[] | undefined;
16897
17215
  };
16898
17216
  turnId: string;
16899
17217
  parentItemId: string | null;
@@ -17683,6 +18001,13 @@ export declare const hostedConversationHistoryPageSchema: z.ZodObject<{
17683
18001
  }[];
17684
18002
  delivery: "PENDING" | "ACCEPTED" | "STEERED" | "QUEUED_NEXT_TURN" | "REJECTED";
17685
18003
  source?: "SCHEDULED" | undefined;
18004
+ attachments?: {
18005
+ name: string;
18006
+ mime: string;
18007
+ runId?: string | undefined;
18008
+ byteSize?: number | undefined;
18009
+ imageIndex?: number | undefined;
18010
+ }[] | undefined;
17686
18011
  };
17687
18012
  turnId: string;
17688
18013
  parentItemId: string | null;
@@ -17809,6 +18134,13 @@ export declare const hostedConversationHistoryPageSchema: z.ZodObject<{
17809
18134
  inputSummary: string | null;
17810
18135
  outputSummary: string | null;
17811
18136
  progressLabel: string | null;
18137
+ attachments?: {
18138
+ name: string;
18139
+ mime: string;
18140
+ runId?: string | undefined;
18141
+ byteSize?: number | undefined;
18142
+ imageIndex?: number | undefined;
18143
+ }[] | undefined;
17812
18144
  toolCategory?: "IMAGE_GENERATION" | undefined;
17813
18145
  subagentOperation?: "MESSAGE" | "START" | "STATUS" | "CANCEL" | "RESUME" | undefined;
17814
18146
  subagentId?: string | null | undefined;
@@ -17823,13 +18155,6 @@ export declare const hostedConversationHistoryPageSchema: z.ZodObject<{
17823
18155
  timestamp: string;
17824
18156
  truncated?: boolean | undefined;
17825
18157
  } | undefined;
17826
- attachments?: {
17827
- name: string;
17828
- mime: string;
17829
- runId?: string | undefined;
17830
- byteSize?: number | undefined;
17831
- imageIndex?: number | undefined;
17832
- }[] | undefined;
17833
18158
  };
17834
18159
  turnId: string;
17835
18160
  parentItemId: string | null;
@@ -18044,6 +18369,13 @@ export declare const hostedConversationHistoryPageSchema: z.ZodObject<{
18044
18369
  startLine?: number | undefined;
18045
18370
  endLine?: number | undefined;
18046
18371
  }[] | undefined;
18372
+ attachments?: {
18373
+ name: string;
18374
+ mime: string;
18375
+ runId?: string | undefined;
18376
+ byteSize?: number | undefined;
18377
+ imageIndex?: number | undefined;
18378
+ }[] | undefined;
18047
18379
  };
18048
18380
  turnId: string;
18049
18381
  parentItemId: string | null;
@@ -18170,6 +18502,13 @@ export declare const hostedConversationHistoryPageSchema: z.ZodObject<{
18170
18502
  inputSummary: string | null;
18171
18503
  outputSummary: string | null;
18172
18504
  progressLabel: string | null;
18505
+ attachments?: {
18506
+ name: string;
18507
+ mime: string;
18508
+ runId?: string | undefined;
18509
+ byteSize?: number | undefined;
18510
+ imageIndex?: number | undefined;
18511
+ }[] | undefined;
18173
18512
  toolCategory?: "IMAGE_GENERATION" | undefined;
18174
18513
  subagentOperation?: "MESSAGE" | "START" | "STATUS" | "CANCEL" | "RESUME" | undefined;
18175
18514
  subagentId?: string | null | undefined;
@@ -18184,13 +18523,6 @@ export declare const hostedConversationHistoryPageSchema: z.ZodObject<{
18184
18523
  timestamp: string;
18185
18524
  truncated?: boolean | undefined;
18186
18525
  } | undefined;
18187
- attachments?: {
18188
- name: string;
18189
- mime: string;
18190
- runId?: string | undefined;
18191
- byteSize?: number | undefined;
18192
- imageIndex?: number | undefined;
18193
- }[] | undefined;
18194
18526
  };
18195
18527
  turnId: string;
18196
18528
  parentItemId: string | null;
@@ -18408,6 +18740,13 @@ export declare const hostedConversationHistoryPageSchema: z.ZodObject<{
18408
18740
  }[];
18409
18741
  delivery: "PENDING" | "ACCEPTED" | "STEERED" | "QUEUED_NEXT_TURN" | "REJECTED";
18410
18742
  source?: "SCHEDULED" | undefined;
18743
+ attachments?: {
18744
+ name: string;
18745
+ mime: string;
18746
+ runId?: string | undefined;
18747
+ byteSize?: number | undefined;
18748
+ imageIndex?: number | undefined;
18749
+ }[] | undefined;
18411
18750
  };
18412
18751
  turnId: string;
18413
18752
  parentItemId: string | null;
@@ -18534,6 +18873,13 @@ export declare const hostedConversationHistoryPageSchema: z.ZodObject<{
18534
18873
  inputSummary: string | null;
18535
18874
  outputSummary: string | null;
18536
18875
  progressLabel: string | null;
18876
+ attachments?: {
18877
+ name: string;
18878
+ mime: string;
18879
+ runId?: string | undefined;
18880
+ byteSize?: number | undefined;
18881
+ imageIndex?: number | undefined;
18882
+ }[] | undefined;
18537
18883
  toolCategory?: "IMAGE_GENERATION" | undefined;
18538
18884
  subagentOperation?: "MESSAGE" | "START" | "STATUS" | "CANCEL" | "RESUME" | undefined;
18539
18885
  subagentId?: string | null | undefined;
@@ -18548,13 +18894,6 @@ export declare const hostedConversationHistoryPageSchema: z.ZodObject<{
18548
18894
  timestamp: string;
18549
18895
  truncated?: boolean | undefined;
18550
18896
  } | undefined;
18551
- attachments?: {
18552
- name: string;
18553
- mime: string;
18554
- runId?: string | undefined;
18555
- byteSize?: number | undefined;
18556
- imageIndex?: number | undefined;
18557
- }[] | undefined;
18558
18897
  };
18559
18898
  turnId: string;
18560
18899
  parentItemId: string | null;
@@ -18772,6 +19111,13 @@ export declare const hostedConversationHistoryPageSchema: z.ZodObject<{
18772
19111
  startLine?: number | undefined;
18773
19112
  endLine?: number | undefined;
18774
19113
  }[] | undefined;
19114
+ attachments?: {
19115
+ name: string;
19116
+ mime: string;
19117
+ runId?: string | undefined;
19118
+ byteSize?: number | undefined;
19119
+ imageIndex?: number | undefined;
19120
+ }[] | undefined;
18775
19121
  };
18776
19122
  turnId: string;
18777
19123
  parentItemId: string | null;
@@ -18898,6 +19244,13 @@ export declare const hostedConversationHistoryPageSchema: z.ZodObject<{
18898
19244
  inputSummary: string | null;
18899
19245
  outputSummary: string | null;
18900
19246
  progressLabel: string | null;
19247
+ attachments?: {
19248
+ name: string;
19249
+ mime: string;
19250
+ runId?: string | undefined;
19251
+ byteSize?: number | undefined;
19252
+ imageIndex?: number | undefined;
19253
+ }[] | undefined;
18901
19254
  toolCategory?: "IMAGE_GENERATION" | undefined;
18902
19255
  subagentOperation?: "MESSAGE" | "START" | "STATUS" | "CANCEL" | "RESUME" | undefined;
18903
19256
  subagentId?: string | null | undefined;
@@ -18912,13 +19265,6 @@ export declare const hostedConversationHistoryPageSchema: z.ZodObject<{
18912
19265
  timestamp: string;
18913
19266
  truncated?: boolean | undefined;
18914
19267
  } | undefined;
18915
- attachments?: {
18916
- name: string;
18917
- mime: string;
18918
- runId?: string | undefined;
18919
- byteSize?: number | undefined;
18920
- imageIndex?: number | undefined;
18921
- }[] | undefined;
18922
19268
  };
18923
19269
  turnId: string;
18924
19270
  parentItemId: string | null;
@@ -19248,7 +19594,7 @@ export declare const hostedConversationFilesSchema: z.ZodObject<{
19248
19594
  updatedAt: number;
19249
19595
  displayName: string;
19250
19596
  conversationId: string;
19251
- source: "USER" | "SYSTEM" | "AGENT";
19597
+ source: "SYSTEM" | "USER" | "AGENT";
19252
19598
  category: "UPLOAD" | "OUTPUT";
19253
19599
  relativePath: string;
19254
19600
  mimeType: string;
@@ -19261,7 +19607,7 @@ export declare const hostedConversationFilesSchema: z.ZodObject<{
19261
19607
  updatedAt: number;
19262
19608
  displayName: string;
19263
19609
  conversationId: string;
19264
- source: "USER" | "SYSTEM" | "AGENT";
19610
+ source: "SYSTEM" | "USER" | "AGENT";
19265
19611
  category: "UPLOAD" | "OUTPUT";
19266
19612
  relativePath: string;
19267
19613
  mimeType: string;
@@ -19276,7 +19622,7 @@ export declare const hostedConversationFilesSchema: z.ZodObject<{
19276
19622
  updatedAt: number;
19277
19623
  displayName: string;
19278
19624
  conversationId: string;
19279
- source: "USER" | "SYSTEM" | "AGENT";
19625
+ source: "SYSTEM" | "USER" | "AGENT";
19280
19626
  category: "UPLOAD" | "OUTPUT";
19281
19627
  relativePath: string;
19282
19628
  mimeType: string;
@@ -19291,7 +19637,7 @@ export declare const hostedConversationFilesSchema: z.ZodObject<{
19291
19637
  updatedAt: number;
19292
19638
  displayName: string;
19293
19639
  conversationId: string;
19294
- source: "USER" | "SYSTEM" | "AGENT";
19640
+ source: "SYSTEM" | "USER" | "AGENT";
19295
19641
  category: "UPLOAD" | "OUTPUT";
19296
19642
  relativePath: string;
19297
19643
  mimeType: string;
@@ -19352,7 +19698,7 @@ export declare const hostedConversationFileDeleteResultSchema: z.ZodEffects<z.Zo
19352
19698
  updatedAt: number;
19353
19699
  displayName: string;
19354
19700
  conversationId: string;
19355
- source: "USER" | "SYSTEM" | "AGENT";
19701
+ source: "SYSTEM" | "USER" | "AGENT";
19356
19702
  category: "UPLOAD" | "OUTPUT";
19357
19703
  relativePath: string;
19358
19704
  mimeType: string;
@@ -19365,7 +19711,7 @@ export declare const hostedConversationFileDeleteResultSchema: z.ZodEffects<z.Zo
19365
19711
  updatedAt: number;
19366
19712
  displayName: string;
19367
19713
  conversationId: string;
19368
- source: "USER" | "SYSTEM" | "AGENT";
19714
+ source: "SYSTEM" | "USER" | "AGENT";
19369
19715
  category: "UPLOAD" | "OUTPUT";
19370
19716
  relativePath: string;
19371
19717
  mimeType: string;
@@ -19380,7 +19726,7 @@ export declare const hostedConversationFileDeleteResultSchema: z.ZodEffects<z.Zo
19380
19726
  updatedAt: number;
19381
19727
  displayName: string;
19382
19728
  conversationId: string;
19383
- source: "USER" | "SYSTEM" | "AGENT";
19729
+ source: "SYSTEM" | "USER" | "AGENT";
19384
19730
  category: "UPLOAD" | "OUTPUT";
19385
19731
  relativePath: string;
19386
19732
  mimeType: string;
@@ -19396,7 +19742,7 @@ export declare const hostedConversationFileDeleteResultSchema: z.ZodEffects<z.Zo
19396
19742
  updatedAt: number;
19397
19743
  displayName: string;
19398
19744
  conversationId: string;
19399
- source: "USER" | "SYSTEM" | "AGENT";
19745
+ source: "SYSTEM" | "USER" | "AGENT";
19400
19746
  category: "UPLOAD" | "OUTPUT";
19401
19747
  relativePath: string;
19402
19748
  mimeType: string;
@@ -19412,7 +19758,7 @@ export declare const hostedConversationFileDeleteResultSchema: z.ZodEffects<z.Zo
19412
19758
  updatedAt: number;
19413
19759
  displayName: string;
19414
19760
  conversationId: string;
19415
- source: "USER" | "SYSTEM" | "AGENT";
19761
+ source: "SYSTEM" | "USER" | "AGENT";
19416
19762
  category: "UPLOAD" | "OUTPUT";
19417
19763
  relativePath: string;
19418
19764
  mimeType: string;
@@ -19428,7 +19774,7 @@ export declare const hostedConversationFileDeleteResultSchema: z.ZodEffects<z.Zo
19428
19774
  updatedAt: number;
19429
19775
  displayName: string;
19430
19776
  conversationId: string;
19431
- source: "USER" | "SYSTEM" | "AGENT";
19777
+ source: "SYSTEM" | "USER" | "AGENT";
19432
19778
  category: "UPLOAD" | "OUTPUT";
19433
19779
  relativePath: string;
19434
19780
  mimeType: string;
@@ -19459,7 +19805,7 @@ export declare const hostedConversationFileReadResultSchema: z.ZodEffects<z.ZodO
19459
19805
  updatedAt: number;
19460
19806
  displayName: string;
19461
19807
  conversationId: string;
19462
- source: "USER" | "SYSTEM" | "AGENT";
19808
+ source: "SYSTEM" | "USER" | "AGENT";
19463
19809
  category: "UPLOAD" | "OUTPUT";
19464
19810
  relativePath: string;
19465
19811
  mimeType: string;
@@ -19472,7 +19818,7 @@ export declare const hostedConversationFileReadResultSchema: z.ZodEffects<z.ZodO
19472
19818
  updatedAt: number;
19473
19819
  displayName: string;
19474
19820
  conversationId: string;
19475
- source: "USER" | "SYSTEM" | "AGENT";
19821
+ source: "SYSTEM" | "USER" | "AGENT";
19476
19822
  category: "UPLOAD" | "OUTPUT";
19477
19823
  relativePath: string;
19478
19824
  mimeType: string;
@@ -19494,7 +19840,7 @@ export declare const hostedConversationFileReadResultSchema: z.ZodEffects<z.ZodO
19494
19840
  updatedAt: number;
19495
19841
  displayName: string;
19496
19842
  conversationId: string;
19497
- source: "USER" | "SYSTEM" | "AGENT";
19843
+ source: "SYSTEM" | "USER" | "AGENT";
19498
19844
  category: "UPLOAD" | "OUTPUT";
19499
19845
  relativePath: string;
19500
19846
  mimeType: string;
@@ -19514,7 +19860,7 @@ export declare const hostedConversationFileReadResultSchema: z.ZodEffects<z.ZodO
19514
19860
  updatedAt: number;
19515
19861
  displayName: string;
19516
19862
  conversationId: string;
19517
- source: "USER" | "SYSTEM" | "AGENT";
19863
+ source: "SYSTEM" | "USER" | "AGENT";
19518
19864
  category: "UPLOAD" | "OUTPUT";
19519
19865
  relativePath: string;
19520
19866
  mimeType: string;
@@ -19534,7 +19880,7 @@ export declare const hostedConversationFileReadResultSchema: z.ZodEffects<z.ZodO
19534
19880
  updatedAt: number;
19535
19881
  displayName: string;
19536
19882
  conversationId: string;
19537
- source: "USER" | "SYSTEM" | "AGENT";
19883
+ source: "SYSTEM" | "USER" | "AGENT";
19538
19884
  category: "UPLOAD" | "OUTPUT";
19539
19885
  relativePath: string;
19540
19886
  mimeType: string;
@@ -19554,7 +19900,7 @@ export declare const hostedConversationFileReadResultSchema: z.ZodEffects<z.ZodO
19554
19900
  updatedAt: number;
19555
19901
  displayName: string;
19556
19902
  conversationId: string;
19557
- source: "USER" | "SYSTEM" | "AGENT";
19903
+ source: "SYSTEM" | "USER" | "AGENT";
19558
19904
  category: "UPLOAD" | "OUTPUT";
19559
19905
  relativePath: string;
19560
19906
  mimeType: string;
@@ -19700,7 +20046,7 @@ export declare const hostedConversationUploadSchema: z.ZodEffects<z.ZodObject<{
19700
20046
  updatedAt: number;
19701
20047
  displayName: string;
19702
20048
  conversationId: string;
19703
- source: "USER" | "SYSTEM" | "AGENT";
20049
+ source: "SYSTEM" | "USER" | "AGENT";
19704
20050
  category: "UPLOAD" | "OUTPUT";
19705
20051
  relativePath: string;
19706
20052
  mimeType: string;
@@ -19713,7 +20059,7 @@ export declare const hostedConversationUploadSchema: z.ZodEffects<z.ZodObject<{
19713
20059
  updatedAt: number;
19714
20060
  displayName: string;
19715
20061
  conversationId: string;
19716
- source: "USER" | "SYSTEM" | "AGENT";
20062
+ source: "SYSTEM" | "USER" | "AGENT";
19717
20063
  category: "UPLOAD" | "OUTPUT";
19718
20064
  relativePath: string;
19719
20065
  mimeType: string;
@@ -19735,7 +20081,7 @@ export declare const hostedConversationUploadSchema: z.ZodEffects<z.ZodObject<{
19735
20081
  updatedAt: number;
19736
20082
  displayName: string;
19737
20083
  conversationId: string;
19738
- source: "USER" | "SYSTEM" | "AGENT";
20084
+ source: "SYSTEM" | "USER" | "AGENT";
19739
20085
  category: "UPLOAD" | "OUTPUT";
19740
20086
  relativePath: string;
19741
20087
  mimeType: string;
@@ -19757,7 +20103,7 @@ export declare const hostedConversationUploadSchema: z.ZodEffects<z.ZodObject<{
19757
20103
  updatedAt: number;
19758
20104
  displayName: string;
19759
20105
  conversationId: string;
19760
- source: "USER" | "SYSTEM" | "AGENT";
20106
+ source: "SYSTEM" | "USER" | "AGENT";
19761
20107
  category: "UPLOAD" | "OUTPUT";
19762
20108
  relativePath: string;
19763
20109
  mimeType: string;
@@ -19779,7 +20125,7 @@ export declare const hostedConversationUploadSchema: z.ZodEffects<z.ZodObject<{
19779
20125
  updatedAt: number;
19780
20126
  displayName: string;
19781
20127
  conversationId: string;
19782
- source: "USER" | "SYSTEM" | "AGENT";
20128
+ source: "SYSTEM" | "USER" | "AGENT";
19783
20129
  category: "UPLOAD" | "OUTPUT";
19784
20130
  relativePath: string;
19785
20131
  mimeType: string;
@@ -19801,7 +20147,7 @@ export declare const hostedConversationUploadSchema: z.ZodEffects<z.ZodObject<{
19801
20147
  updatedAt: number;
19802
20148
  displayName: string;
19803
20149
  conversationId: string;
19804
- source: "USER" | "SYSTEM" | "AGENT";
20150
+ source: "SYSTEM" | "USER" | "AGENT";
19805
20151
  category: "UPLOAD" | "OUTPUT";
19806
20152
  relativePath: string;
19807
20153
  mimeType: string;
@@ -19933,35 +20279,80 @@ export declare const conversationSegmentSchema: z.ZodObject<{
19933
20279
  startLine?: number | undefined;
19934
20280
  endLine?: number | undefined;
19935
20281
  }>, "many">>;
19936
- source: z.ZodOptional<z.ZodLiteral<"SCHEDULED">>;
19937
- delivery: z.ZodEnum<["PENDING", "ACCEPTED", "STEERED", "QUEUED_NEXT_TURN", "REJECTED"]>;
19938
- }, "strip", z.ZodTypeAny, {
19939
- clientMessageId: string | null;
19940
- text: string;
19941
- contexts: {
19942
- type: "message" | "changes" | "file" | "directory" | "diff" | "turn" | "terminal_selection";
19943
- label: string;
19944
- referenceId: string;
19945
- path?: string | undefined;
19946
- startLine?: number | undefined;
19947
- endLine?: number | undefined;
19948
- }[];
19949
- delivery: "PENDING" | "ACCEPTED" | "STEERED" | "QUEUED_NEXT_TURN" | "REJECTED";
19950
- source?: "SCHEDULED" | undefined;
19951
- }, {
19952
- clientMessageId: string | null;
19953
- text: string;
19954
- delivery: "PENDING" | "ACCEPTED" | "STEERED" | "QUEUED_NEXT_TURN" | "REJECTED";
19955
- source?: "SCHEDULED" | undefined;
19956
- contexts?: {
19957
- type: "message" | "changes" | "file" | "directory" | "diff" | "turn" | "terminal_selection";
19958
- label: string;
19959
- referenceId: string;
19960
- path?: string | undefined;
19961
- startLine?: number | undefined;
19962
- endLine?: number | undefined;
19963
- }[] | undefined;
19964
- }>;
20282
+ attachments: z.ZodOptional<z.ZodArray<z.ZodEffects<z.ZodObject<{
20283
+ name: z.ZodString;
20284
+ mime: z.ZodString;
20285
+ byteSize: z.ZodOptional<z.ZodNumber>;
20286
+ runId: z.ZodOptional<z.ZodString>;
20287
+ imageIndex: z.ZodOptional<z.ZodNumber>;
20288
+ }, "strict", z.ZodTypeAny, {
20289
+ name: string;
20290
+ mime: string;
20291
+ runId?: string | undefined;
20292
+ byteSize?: number | undefined;
20293
+ imageIndex?: number | undefined;
20294
+ }, {
20295
+ name: string;
20296
+ mime: string;
20297
+ runId?: string | undefined;
20298
+ byteSize?: number | undefined;
20299
+ imageIndex?: number | undefined;
20300
+ }>, {
20301
+ name: string;
20302
+ mime: string;
20303
+ runId?: string | undefined;
20304
+ byteSize?: number | undefined;
20305
+ imageIndex?: number | undefined;
20306
+ }, {
20307
+ name: string;
20308
+ mime: string;
20309
+ runId?: string | undefined;
20310
+ byteSize?: number | undefined;
20311
+ imageIndex?: number | undefined;
20312
+ }>, "many">>;
20313
+ source: z.ZodOptional<z.ZodLiteral<"SCHEDULED">>;
20314
+ delivery: z.ZodEnum<["PENDING", "ACCEPTED", "STEERED", "QUEUED_NEXT_TURN", "REJECTED"]>;
20315
+ }, "strip", z.ZodTypeAny, {
20316
+ clientMessageId: string | null;
20317
+ text: string;
20318
+ contexts: {
20319
+ type: "message" | "changes" | "file" | "directory" | "diff" | "turn" | "terminal_selection";
20320
+ label: string;
20321
+ referenceId: string;
20322
+ path?: string | undefined;
20323
+ startLine?: number | undefined;
20324
+ endLine?: number | undefined;
20325
+ }[];
20326
+ delivery: "PENDING" | "ACCEPTED" | "STEERED" | "QUEUED_NEXT_TURN" | "REJECTED";
20327
+ source?: "SCHEDULED" | undefined;
20328
+ attachments?: {
20329
+ name: string;
20330
+ mime: string;
20331
+ runId?: string | undefined;
20332
+ byteSize?: number | undefined;
20333
+ imageIndex?: number | undefined;
20334
+ }[] | undefined;
20335
+ }, {
20336
+ clientMessageId: string | null;
20337
+ text: string;
20338
+ delivery: "PENDING" | "ACCEPTED" | "STEERED" | "QUEUED_NEXT_TURN" | "REJECTED";
20339
+ source?: "SCHEDULED" | undefined;
20340
+ contexts?: {
20341
+ type: "message" | "changes" | "file" | "directory" | "diff" | "turn" | "terminal_selection";
20342
+ label: string;
20343
+ referenceId: string;
20344
+ path?: string | undefined;
20345
+ startLine?: number | undefined;
20346
+ endLine?: number | undefined;
20347
+ }[] | undefined;
20348
+ attachments?: {
20349
+ name: string;
20350
+ mime: string;
20351
+ runId?: string | undefined;
20352
+ byteSize?: number | undefined;
20353
+ imageIndex?: number | undefined;
20354
+ }[] | undefined;
20355
+ }>;
19965
20356
  }, "strip", z.ZodTypeAny, {
19966
20357
  status: "PENDING" | "FAILED" | "CANCELLED" | "INTERRUPTED" | "IN_PROGRESS" | "COMPLETED" | "DECLINED";
19967
20358
  kind: "user_message";
@@ -19984,6 +20375,13 @@ export declare const conversationSegmentSchema: z.ZodObject<{
19984
20375
  }[];
19985
20376
  delivery: "PENDING" | "ACCEPTED" | "STEERED" | "QUEUED_NEXT_TURN" | "REJECTED";
19986
20377
  source?: "SCHEDULED" | undefined;
20378
+ attachments?: {
20379
+ name: string;
20380
+ mime: string;
20381
+ runId?: string | undefined;
20382
+ byteSize?: number | undefined;
20383
+ imageIndex?: number | undefined;
20384
+ }[] | undefined;
19987
20385
  };
19988
20386
  turnId: string;
19989
20387
  parentItemId: string | null;
@@ -20012,6 +20410,13 @@ export declare const conversationSegmentSchema: z.ZodObject<{
20012
20410
  startLine?: number | undefined;
20013
20411
  endLine?: number | undefined;
20014
20412
  }[] | undefined;
20413
+ attachments?: {
20414
+ name: string;
20415
+ mime: string;
20416
+ runId?: string | undefined;
20417
+ byteSize?: number | undefined;
20418
+ imageIndex?: number | undefined;
20419
+ }[] | undefined;
20015
20420
  };
20016
20421
  turnId: string;
20017
20422
  parentItemId: string | null;
@@ -20360,6 +20765,13 @@ export declare const conversationSegmentSchema: z.ZodObject<{
20360
20765
  inputSummary: string | null;
20361
20766
  outputSummary: string | null;
20362
20767
  progressLabel: string | null;
20768
+ attachments?: {
20769
+ name: string;
20770
+ mime: string;
20771
+ runId?: string | undefined;
20772
+ byteSize?: number | undefined;
20773
+ imageIndex?: number | undefined;
20774
+ }[] | undefined;
20363
20775
  toolCategory?: "IMAGE_GENERATION" | undefined;
20364
20776
  subagentOperation?: "MESSAGE" | "START" | "STATUS" | "CANCEL" | "RESUME" | undefined;
20365
20777
  subagentId?: string | null | undefined;
@@ -20374,13 +20786,6 @@ export declare const conversationSegmentSchema: z.ZodObject<{
20374
20786
  timestamp: string;
20375
20787
  truncated?: boolean | undefined;
20376
20788
  } | undefined;
20377
- attachments?: {
20378
- name: string;
20379
- mime: string;
20380
- runId?: string | undefined;
20381
- byteSize?: number | undefined;
20382
- imageIndex?: number | undefined;
20383
- }[] | undefined;
20384
20789
  }, {
20385
20790
  errorCode: string | null;
20386
20791
  title: string;
@@ -20390,6 +20795,13 @@ export declare const conversationSegmentSchema: z.ZodObject<{
20390
20795
  inputSummary: string | null;
20391
20796
  outputSummary: string | null;
20392
20797
  progressLabel: string | null;
20798
+ attachments?: {
20799
+ name: string;
20800
+ mime: string;
20801
+ runId?: string | undefined;
20802
+ byteSize?: number | undefined;
20803
+ imageIndex?: number | undefined;
20804
+ }[] | undefined;
20393
20805
  toolCategory?: "IMAGE_GENERATION" | undefined;
20394
20806
  subagentOperation?: "MESSAGE" | "START" | "STATUS" | "CANCEL" | "RESUME" | undefined;
20395
20807
  subagentId?: string | null | undefined;
@@ -20404,13 +20816,6 @@ export declare const conversationSegmentSchema: z.ZodObject<{
20404
20816
  timestamp: string;
20405
20817
  truncated?: boolean | undefined;
20406
20818
  } | undefined;
20407
- attachments?: {
20408
- name: string;
20409
- mime: string;
20410
- runId?: string | undefined;
20411
- byteSize?: number | undefined;
20412
- imageIndex?: number | undefined;
20413
- }[] | undefined;
20414
20819
  }>;
20415
20820
  }, "strip", z.ZodTypeAny, {
20416
20821
  status: "PENDING" | "FAILED" | "CANCELLED" | "INTERRUPTED" | "IN_PROGRESS" | "COMPLETED" | "DECLINED";
@@ -20430,6 +20835,13 @@ export declare const conversationSegmentSchema: z.ZodObject<{
20430
20835
  inputSummary: string | null;
20431
20836
  outputSummary: string | null;
20432
20837
  progressLabel: string | null;
20838
+ attachments?: {
20839
+ name: string;
20840
+ mime: string;
20841
+ runId?: string | undefined;
20842
+ byteSize?: number | undefined;
20843
+ imageIndex?: number | undefined;
20844
+ }[] | undefined;
20433
20845
  toolCategory?: "IMAGE_GENERATION" | undefined;
20434
20846
  subagentOperation?: "MESSAGE" | "START" | "STATUS" | "CANCEL" | "RESUME" | undefined;
20435
20847
  subagentId?: string | null | undefined;
@@ -20444,13 +20856,6 @@ export declare const conversationSegmentSchema: z.ZodObject<{
20444
20856
  timestamp: string;
20445
20857
  truncated?: boolean | undefined;
20446
20858
  } | undefined;
20447
- attachments?: {
20448
- name: string;
20449
- mime: string;
20450
- runId?: string | undefined;
20451
- byteSize?: number | undefined;
20452
- imageIndex?: number | undefined;
20453
- }[] | undefined;
20454
20859
  };
20455
20860
  turnId: string;
20456
20861
  parentItemId: string | null;
@@ -20475,6 +20880,13 @@ export declare const conversationSegmentSchema: z.ZodObject<{
20475
20880
  inputSummary: string | null;
20476
20881
  outputSummary: string | null;
20477
20882
  progressLabel: string | null;
20883
+ attachments?: {
20884
+ name: string;
20885
+ mime: string;
20886
+ runId?: string | undefined;
20887
+ byteSize?: number | undefined;
20888
+ imageIndex?: number | undefined;
20889
+ }[] | undefined;
20478
20890
  toolCategory?: "IMAGE_GENERATION" | undefined;
20479
20891
  subagentOperation?: "MESSAGE" | "START" | "STATUS" | "CANCEL" | "RESUME" | undefined;
20480
20892
  subagentId?: string | null | undefined;
@@ -20489,13 +20901,6 @@ export declare const conversationSegmentSchema: z.ZodObject<{
20489
20901
  timestamp: string;
20490
20902
  truncated?: boolean | undefined;
20491
20903
  } | undefined;
20492
- attachments?: {
20493
- name: string;
20494
- mime: string;
20495
- runId?: string | undefined;
20496
- byteSize?: number | undefined;
20497
- imageIndex?: number | undefined;
20498
- }[] | undefined;
20499
20904
  };
20500
20905
  turnId: string;
20501
20906
  parentItemId: string | null;
@@ -21283,6 +21688,13 @@ export declare const conversationSegmentSchema: z.ZodObject<{
21283
21688
  }[];
21284
21689
  delivery: "PENDING" | "ACCEPTED" | "STEERED" | "QUEUED_NEXT_TURN" | "REJECTED";
21285
21690
  source?: "SCHEDULED" | undefined;
21691
+ attachments?: {
21692
+ name: string;
21693
+ mime: string;
21694
+ runId?: string | undefined;
21695
+ byteSize?: number | undefined;
21696
+ imageIndex?: number | undefined;
21697
+ }[] | undefined;
21286
21698
  };
21287
21699
  turnId: string;
21288
21700
  parentItemId: string | null;
@@ -21409,6 +21821,13 @@ export declare const conversationSegmentSchema: z.ZodObject<{
21409
21821
  inputSummary: string | null;
21410
21822
  outputSummary: string | null;
21411
21823
  progressLabel: string | null;
21824
+ attachments?: {
21825
+ name: string;
21826
+ mime: string;
21827
+ runId?: string | undefined;
21828
+ byteSize?: number | undefined;
21829
+ imageIndex?: number | undefined;
21830
+ }[] | undefined;
21412
21831
  toolCategory?: "IMAGE_GENERATION" | undefined;
21413
21832
  subagentOperation?: "MESSAGE" | "START" | "STATUS" | "CANCEL" | "RESUME" | undefined;
21414
21833
  subagentId?: string | null | undefined;
@@ -21423,13 +21842,6 @@ export declare const conversationSegmentSchema: z.ZodObject<{
21423
21842
  timestamp: string;
21424
21843
  truncated?: boolean | undefined;
21425
21844
  } | undefined;
21426
- attachments?: {
21427
- name: string;
21428
- mime: string;
21429
- runId?: string | undefined;
21430
- byteSize?: number | undefined;
21431
- imageIndex?: number | undefined;
21432
- }[] | undefined;
21433
21845
  };
21434
21846
  turnId: string;
21435
21847
  parentItemId: string | null;
@@ -21642,6 +22054,13 @@ export declare const conversationSegmentSchema: z.ZodObject<{
21642
22054
  startLine?: number | undefined;
21643
22055
  endLine?: number | undefined;
21644
22056
  }[] | undefined;
22057
+ attachments?: {
22058
+ name: string;
22059
+ mime: string;
22060
+ runId?: string | undefined;
22061
+ byteSize?: number | undefined;
22062
+ imageIndex?: number | undefined;
22063
+ }[] | undefined;
21645
22064
  };
21646
22065
  turnId: string;
21647
22066
  parentItemId: string | null;
@@ -21768,6 +22187,13 @@ export declare const conversationSegmentSchema: z.ZodObject<{
21768
22187
  inputSummary: string | null;
21769
22188
  outputSummary: string | null;
21770
22189
  progressLabel: string | null;
22190
+ attachments?: {
22191
+ name: string;
22192
+ mime: string;
22193
+ runId?: string | undefined;
22194
+ byteSize?: number | undefined;
22195
+ imageIndex?: number | undefined;
22196
+ }[] | undefined;
21771
22197
  toolCategory?: "IMAGE_GENERATION" | undefined;
21772
22198
  subagentOperation?: "MESSAGE" | "START" | "STATUS" | "CANCEL" | "RESUME" | undefined;
21773
22199
  subagentId?: string | null | undefined;
@@ -21782,13 +22208,6 @@ export declare const conversationSegmentSchema: z.ZodObject<{
21782
22208
  timestamp: string;
21783
22209
  truncated?: boolean | undefined;
21784
22210
  } | undefined;
21785
- attachments?: {
21786
- name: string;
21787
- mime: string;
21788
- runId?: string | undefined;
21789
- byteSize?: number | undefined;
21790
- imageIndex?: number | undefined;
21791
- }[] | undefined;
21792
22211
  };
21793
22212
  turnId: string;
21794
22213
  parentItemId: string | null;
@@ -22081,6 +22500,37 @@ export declare const conversationSegmentPageSchema: z.ZodObject<{
22081
22500
  startLine?: number | undefined;
22082
22501
  endLine?: number | undefined;
22083
22502
  }>, "many">>;
22503
+ attachments: z.ZodOptional<z.ZodArray<z.ZodEffects<z.ZodObject<{
22504
+ name: z.ZodString;
22505
+ mime: z.ZodString;
22506
+ byteSize: z.ZodOptional<z.ZodNumber>;
22507
+ runId: z.ZodOptional<z.ZodString>;
22508
+ imageIndex: z.ZodOptional<z.ZodNumber>;
22509
+ }, "strict", z.ZodTypeAny, {
22510
+ name: string;
22511
+ mime: string;
22512
+ runId?: string | undefined;
22513
+ byteSize?: number | undefined;
22514
+ imageIndex?: number | undefined;
22515
+ }, {
22516
+ name: string;
22517
+ mime: string;
22518
+ runId?: string | undefined;
22519
+ byteSize?: number | undefined;
22520
+ imageIndex?: number | undefined;
22521
+ }>, {
22522
+ name: string;
22523
+ mime: string;
22524
+ runId?: string | undefined;
22525
+ byteSize?: number | undefined;
22526
+ imageIndex?: number | undefined;
22527
+ }, {
22528
+ name: string;
22529
+ mime: string;
22530
+ runId?: string | undefined;
22531
+ byteSize?: number | undefined;
22532
+ imageIndex?: number | undefined;
22533
+ }>, "many">>;
22084
22534
  source: z.ZodOptional<z.ZodLiteral<"SCHEDULED">>;
22085
22535
  delivery: z.ZodEnum<["PENDING", "ACCEPTED", "STEERED", "QUEUED_NEXT_TURN", "REJECTED"]>;
22086
22536
  }, "strip", z.ZodTypeAny, {
@@ -22096,6 +22546,13 @@ export declare const conversationSegmentPageSchema: z.ZodObject<{
22096
22546
  }[];
22097
22547
  delivery: "PENDING" | "ACCEPTED" | "STEERED" | "QUEUED_NEXT_TURN" | "REJECTED";
22098
22548
  source?: "SCHEDULED" | undefined;
22549
+ attachments?: {
22550
+ name: string;
22551
+ mime: string;
22552
+ runId?: string | undefined;
22553
+ byteSize?: number | undefined;
22554
+ imageIndex?: number | undefined;
22555
+ }[] | undefined;
22099
22556
  }, {
22100
22557
  clientMessageId: string | null;
22101
22558
  text: string;
@@ -22109,6 +22566,13 @@ export declare const conversationSegmentPageSchema: z.ZodObject<{
22109
22566
  startLine?: number | undefined;
22110
22567
  endLine?: number | undefined;
22111
22568
  }[] | undefined;
22569
+ attachments?: {
22570
+ name: string;
22571
+ mime: string;
22572
+ runId?: string | undefined;
22573
+ byteSize?: number | undefined;
22574
+ imageIndex?: number | undefined;
22575
+ }[] | undefined;
22112
22576
  }>;
22113
22577
  }, "strip", z.ZodTypeAny, {
22114
22578
  status: "PENDING" | "FAILED" | "CANCELLED" | "INTERRUPTED" | "IN_PROGRESS" | "COMPLETED" | "DECLINED";
@@ -22132,6 +22596,13 @@ export declare const conversationSegmentPageSchema: z.ZodObject<{
22132
22596
  }[];
22133
22597
  delivery: "PENDING" | "ACCEPTED" | "STEERED" | "QUEUED_NEXT_TURN" | "REJECTED";
22134
22598
  source?: "SCHEDULED" | undefined;
22599
+ attachments?: {
22600
+ name: string;
22601
+ mime: string;
22602
+ runId?: string | undefined;
22603
+ byteSize?: number | undefined;
22604
+ imageIndex?: number | undefined;
22605
+ }[] | undefined;
22135
22606
  };
22136
22607
  turnId: string;
22137
22608
  parentItemId: string | null;
@@ -22160,6 +22631,13 @@ export declare const conversationSegmentPageSchema: z.ZodObject<{
22160
22631
  startLine?: number | undefined;
22161
22632
  endLine?: number | undefined;
22162
22633
  }[] | undefined;
22634
+ attachments?: {
22635
+ name: string;
22636
+ mime: string;
22637
+ runId?: string | undefined;
22638
+ byteSize?: number | undefined;
22639
+ imageIndex?: number | undefined;
22640
+ }[] | undefined;
22163
22641
  };
22164
22642
  turnId: string;
22165
22643
  parentItemId: string | null;
@@ -22508,6 +22986,13 @@ export declare const conversationSegmentPageSchema: z.ZodObject<{
22508
22986
  inputSummary: string | null;
22509
22987
  outputSummary: string | null;
22510
22988
  progressLabel: string | null;
22989
+ attachments?: {
22990
+ name: string;
22991
+ mime: string;
22992
+ runId?: string | undefined;
22993
+ byteSize?: number | undefined;
22994
+ imageIndex?: number | undefined;
22995
+ }[] | undefined;
22511
22996
  toolCategory?: "IMAGE_GENERATION" | undefined;
22512
22997
  subagentOperation?: "MESSAGE" | "START" | "STATUS" | "CANCEL" | "RESUME" | undefined;
22513
22998
  subagentId?: string | null | undefined;
@@ -22522,13 +23007,6 @@ export declare const conversationSegmentPageSchema: z.ZodObject<{
22522
23007
  timestamp: string;
22523
23008
  truncated?: boolean | undefined;
22524
23009
  } | undefined;
22525
- attachments?: {
22526
- name: string;
22527
- mime: string;
22528
- runId?: string | undefined;
22529
- byteSize?: number | undefined;
22530
- imageIndex?: number | undefined;
22531
- }[] | undefined;
22532
23010
  }, {
22533
23011
  errorCode: string | null;
22534
23012
  title: string;
@@ -22538,6 +23016,13 @@ export declare const conversationSegmentPageSchema: z.ZodObject<{
22538
23016
  inputSummary: string | null;
22539
23017
  outputSummary: string | null;
22540
23018
  progressLabel: string | null;
23019
+ attachments?: {
23020
+ name: string;
23021
+ mime: string;
23022
+ runId?: string | undefined;
23023
+ byteSize?: number | undefined;
23024
+ imageIndex?: number | undefined;
23025
+ }[] | undefined;
22541
23026
  toolCategory?: "IMAGE_GENERATION" | undefined;
22542
23027
  subagentOperation?: "MESSAGE" | "START" | "STATUS" | "CANCEL" | "RESUME" | undefined;
22543
23028
  subagentId?: string | null | undefined;
@@ -22552,13 +23037,6 @@ export declare const conversationSegmentPageSchema: z.ZodObject<{
22552
23037
  timestamp: string;
22553
23038
  truncated?: boolean | undefined;
22554
23039
  } | undefined;
22555
- attachments?: {
22556
- name: string;
22557
- mime: string;
22558
- runId?: string | undefined;
22559
- byteSize?: number | undefined;
22560
- imageIndex?: number | undefined;
22561
- }[] | undefined;
22562
23040
  }>;
22563
23041
  }, "strip", z.ZodTypeAny, {
22564
23042
  status: "PENDING" | "FAILED" | "CANCELLED" | "INTERRUPTED" | "IN_PROGRESS" | "COMPLETED" | "DECLINED";
@@ -22578,6 +23056,13 @@ export declare const conversationSegmentPageSchema: z.ZodObject<{
22578
23056
  inputSummary: string | null;
22579
23057
  outputSummary: string | null;
22580
23058
  progressLabel: string | null;
23059
+ attachments?: {
23060
+ name: string;
23061
+ mime: string;
23062
+ runId?: string | undefined;
23063
+ byteSize?: number | undefined;
23064
+ imageIndex?: number | undefined;
23065
+ }[] | undefined;
22581
23066
  toolCategory?: "IMAGE_GENERATION" | undefined;
22582
23067
  subagentOperation?: "MESSAGE" | "START" | "STATUS" | "CANCEL" | "RESUME" | undefined;
22583
23068
  subagentId?: string | null | undefined;
@@ -22592,13 +23077,6 @@ export declare const conversationSegmentPageSchema: z.ZodObject<{
22592
23077
  timestamp: string;
22593
23078
  truncated?: boolean | undefined;
22594
23079
  } | undefined;
22595
- attachments?: {
22596
- name: string;
22597
- mime: string;
22598
- runId?: string | undefined;
22599
- byteSize?: number | undefined;
22600
- imageIndex?: number | undefined;
22601
- }[] | undefined;
22602
23080
  };
22603
23081
  turnId: string;
22604
23082
  parentItemId: string | null;
@@ -22623,6 +23101,13 @@ export declare const conversationSegmentPageSchema: z.ZodObject<{
22623
23101
  inputSummary: string | null;
22624
23102
  outputSummary: string | null;
22625
23103
  progressLabel: string | null;
23104
+ attachments?: {
23105
+ name: string;
23106
+ mime: string;
23107
+ runId?: string | undefined;
23108
+ byteSize?: number | undefined;
23109
+ imageIndex?: number | undefined;
23110
+ }[] | undefined;
22626
23111
  toolCategory?: "IMAGE_GENERATION" | undefined;
22627
23112
  subagentOperation?: "MESSAGE" | "START" | "STATUS" | "CANCEL" | "RESUME" | undefined;
22628
23113
  subagentId?: string | null | undefined;
@@ -22637,13 +23122,6 @@ export declare const conversationSegmentPageSchema: z.ZodObject<{
22637
23122
  timestamp: string;
22638
23123
  truncated?: boolean | undefined;
22639
23124
  } | undefined;
22640
- attachments?: {
22641
- name: string;
22642
- mime: string;
22643
- runId?: string | undefined;
22644
- byteSize?: number | undefined;
22645
- imageIndex?: number | undefined;
22646
- }[] | undefined;
22647
23125
  };
22648
23126
  turnId: string;
22649
23127
  parentItemId: string | null;
@@ -23431,6 +23909,13 @@ export declare const conversationSegmentPageSchema: z.ZodObject<{
23431
23909
  }[];
23432
23910
  delivery: "PENDING" | "ACCEPTED" | "STEERED" | "QUEUED_NEXT_TURN" | "REJECTED";
23433
23911
  source?: "SCHEDULED" | undefined;
23912
+ attachments?: {
23913
+ name: string;
23914
+ mime: string;
23915
+ runId?: string | undefined;
23916
+ byteSize?: number | undefined;
23917
+ imageIndex?: number | undefined;
23918
+ }[] | undefined;
23434
23919
  };
23435
23920
  turnId: string;
23436
23921
  parentItemId: string | null;
@@ -23557,6 +24042,13 @@ export declare const conversationSegmentPageSchema: z.ZodObject<{
23557
24042
  inputSummary: string | null;
23558
24043
  outputSummary: string | null;
23559
24044
  progressLabel: string | null;
24045
+ attachments?: {
24046
+ name: string;
24047
+ mime: string;
24048
+ runId?: string | undefined;
24049
+ byteSize?: number | undefined;
24050
+ imageIndex?: number | undefined;
24051
+ }[] | undefined;
23560
24052
  toolCategory?: "IMAGE_GENERATION" | undefined;
23561
24053
  subagentOperation?: "MESSAGE" | "START" | "STATUS" | "CANCEL" | "RESUME" | undefined;
23562
24054
  subagentId?: string | null | undefined;
@@ -23571,13 +24063,6 @@ export declare const conversationSegmentPageSchema: z.ZodObject<{
23571
24063
  timestamp: string;
23572
24064
  truncated?: boolean | undefined;
23573
24065
  } | undefined;
23574
- attachments?: {
23575
- name: string;
23576
- mime: string;
23577
- runId?: string | undefined;
23578
- byteSize?: number | undefined;
23579
- imageIndex?: number | undefined;
23580
- }[] | undefined;
23581
24066
  };
23582
24067
  turnId: string;
23583
24068
  parentItemId: string | null;
@@ -23790,6 +24275,13 @@ export declare const conversationSegmentPageSchema: z.ZodObject<{
23790
24275
  startLine?: number | undefined;
23791
24276
  endLine?: number | undefined;
23792
24277
  }[] | undefined;
24278
+ attachments?: {
24279
+ name: string;
24280
+ mime: string;
24281
+ runId?: string | undefined;
24282
+ byteSize?: number | undefined;
24283
+ imageIndex?: number | undefined;
24284
+ }[] | undefined;
23793
24285
  };
23794
24286
  turnId: string;
23795
24287
  parentItemId: string | null;
@@ -23916,6 +24408,13 @@ export declare const conversationSegmentPageSchema: z.ZodObject<{
23916
24408
  inputSummary: string | null;
23917
24409
  outputSummary: string | null;
23918
24410
  progressLabel: string | null;
24411
+ attachments?: {
24412
+ name: string;
24413
+ mime: string;
24414
+ runId?: string | undefined;
24415
+ byteSize?: number | undefined;
24416
+ imageIndex?: number | undefined;
24417
+ }[] | undefined;
23919
24418
  toolCategory?: "IMAGE_GENERATION" | undefined;
23920
24419
  subagentOperation?: "MESSAGE" | "START" | "STATUS" | "CANCEL" | "RESUME" | undefined;
23921
24420
  subagentId?: string | null | undefined;
@@ -23930,13 +24429,6 @@ export declare const conversationSegmentPageSchema: z.ZodObject<{
23930
24429
  timestamp: string;
23931
24430
  truncated?: boolean | undefined;
23932
24431
  } | undefined;
23933
- attachments?: {
23934
- name: string;
23935
- mime: string;
23936
- runId?: string | undefined;
23937
- byteSize?: number | undefined;
23938
- imageIndex?: number | undefined;
23939
- }[] | undefined;
23940
24432
  };
23941
24433
  turnId: string;
23942
24434
  parentItemId: string | null;
@@ -24161,6 +24653,13 @@ export declare const conversationSegmentPageSchema: z.ZodObject<{
24161
24653
  }[];
24162
24654
  delivery: "PENDING" | "ACCEPTED" | "STEERED" | "QUEUED_NEXT_TURN" | "REJECTED";
24163
24655
  source?: "SCHEDULED" | undefined;
24656
+ attachments?: {
24657
+ name: string;
24658
+ mime: string;
24659
+ runId?: string | undefined;
24660
+ byteSize?: number | undefined;
24661
+ imageIndex?: number | undefined;
24662
+ }[] | undefined;
24164
24663
  };
24165
24664
  turnId: string;
24166
24665
  parentItemId: string | null;
@@ -24287,6 +24786,13 @@ export declare const conversationSegmentPageSchema: z.ZodObject<{
24287
24786
  inputSummary: string | null;
24288
24787
  outputSummary: string | null;
24289
24788
  progressLabel: string | null;
24789
+ attachments?: {
24790
+ name: string;
24791
+ mime: string;
24792
+ runId?: string | undefined;
24793
+ byteSize?: number | undefined;
24794
+ imageIndex?: number | undefined;
24795
+ }[] | undefined;
24290
24796
  toolCategory?: "IMAGE_GENERATION" | undefined;
24291
24797
  subagentOperation?: "MESSAGE" | "START" | "STATUS" | "CANCEL" | "RESUME" | undefined;
24292
24798
  subagentId?: string | null | undefined;
@@ -24301,13 +24807,6 @@ export declare const conversationSegmentPageSchema: z.ZodObject<{
24301
24807
  timestamp: string;
24302
24808
  truncated?: boolean | undefined;
24303
24809
  } | undefined;
24304
- attachments?: {
24305
- name: string;
24306
- mime: string;
24307
- runId?: string | undefined;
24308
- byteSize?: number | undefined;
24309
- imageIndex?: number | undefined;
24310
- }[] | undefined;
24311
24810
  };
24312
24811
  turnId: string;
24313
24812
  parentItemId: string | null;
@@ -24529,6 +25028,13 @@ export declare const conversationSegmentPageSchema: z.ZodObject<{
24529
25028
  startLine?: number | undefined;
24530
25029
  endLine?: number | undefined;
24531
25030
  }[] | undefined;
25031
+ attachments?: {
25032
+ name: string;
25033
+ mime: string;
25034
+ runId?: string | undefined;
25035
+ byteSize?: number | undefined;
25036
+ imageIndex?: number | undefined;
25037
+ }[] | undefined;
24532
25038
  };
24533
25039
  turnId: string;
24534
25040
  parentItemId: string | null;
@@ -24655,6 +25161,13 @@ export declare const conversationSegmentPageSchema: z.ZodObject<{
24655
25161
  inputSummary: string | null;
24656
25162
  outputSummary: string | null;
24657
25163
  progressLabel: string | null;
25164
+ attachments?: {
25165
+ name: string;
25166
+ mime: string;
25167
+ runId?: string | undefined;
25168
+ byteSize?: number | undefined;
25169
+ imageIndex?: number | undefined;
25170
+ }[] | undefined;
24658
25171
  toolCategory?: "IMAGE_GENERATION" | undefined;
24659
25172
  subagentOperation?: "MESSAGE" | "START" | "STATUS" | "CANCEL" | "RESUME" | undefined;
24660
25173
  subagentId?: string | null | undefined;
@@ -24669,13 +25182,6 @@ export declare const conversationSegmentPageSchema: z.ZodObject<{
24669
25182
  timestamp: string;
24670
25183
  truncated?: boolean | undefined;
24671
25184
  } | undefined;
24672
- attachments?: {
24673
- name: string;
24674
- mime: string;
24675
- runId?: string | undefined;
24676
- byteSize?: number | undefined;
24677
- imageIndex?: number | undefined;
24678
- }[] | undefined;
24679
25185
  };
24680
25186
  turnId: string;
24681
25187
  parentItemId: string | null;