@marketrix.ai/widget 3.2.223 → 3.2.248

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.
@@ -1029,6 +1029,22 @@ declare const contract: {
1029
1029
  num_steps: z.ZodNullable<z.ZodNumber>;
1030
1030
  created_at: z.ZodCoercedDate<unknown>;
1031
1031
  }, z.core.$strip>>>;
1032
+ tasks: z.ZodOptional<z.ZodArray<z.ZodObject<{
1033
+ task_id: z.ZodString;
1034
+ title: z.ZodString;
1035
+ instructions: z.ZodString;
1036
+ status: z.ZodEnum<{
1037
+ pending: "pending";
1038
+ failed: "failed";
1039
+ running: "running";
1040
+ passed: "passed";
1041
+ skipped: "skipped";
1042
+ }>;
1043
+ error_message: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1044
+ started_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1045
+ completed_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1046
+ order_index: z.ZodDefault<z.ZodNumber>;
1047
+ }, z.core.$strip>>>;
1032
1048
  agents: z.ZodOptional<z.ZodArray<z.ZodObject<{
1033
1049
  id: z.ZodNumber;
1034
1050
  agent_name: z.ZodString;
@@ -2056,6 +2072,7 @@ declare const contract: {
2056
2072
  connected: "connected";
2057
2073
  disconnected: "disconnected";
2058
2074
  }>>;
2075
+ credentials: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
2059
2076
  provider_data: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
2060
2077
  connected_at: z.ZodOptional<z.ZodNullable<z.ZodCoercedDate<unknown>>>;
2061
2078
  }, z.core.$strip>>, Record<never, never>, Record<never, never>>;
@@ -2091,12 +2108,13 @@ declare const contract: {
2091
2108
  connected: "connected";
2092
2109
  disconnected: "disconnected";
2093
2110
  }>>;
2111
+ credentials: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
2094
2112
  provider_data: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
2095
2113
  connected_at: z.ZodOptional<z.ZodNullable<z.ZodCoercedDate<unknown>>>;
2096
2114
  }, z.core.$strip>, Record<never, never>, Record<never, never>>;
2097
2115
  triggerCreate: import("@orpc/contract").ContractProcedureBuilderWithInputOutput<z.ZodObject<{
2098
- connector_id: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
2099
2116
  connection_id: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
2117
+ connector_id: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
2100
2118
  provider: z.ZodEnum<{
2101
2119
  timer: "timer";
2102
2120
  github: "github";
@@ -2112,8 +2130,8 @@ declare const contract: {
2112
2130
  created_at: z.ZodOptional<z.ZodCoercedDate<unknown>>;
2113
2131
  updated_at: z.ZodOptional<z.ZodCoercedDate<unknown>>;
2114
2132
  workspace_id: z.ZodNumber;
2115
- connector_id: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
2116
2133
  connection_id: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
2134
+ connector_id: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
2117
2135
  provider: z.ZodEnum<{
2118
2136
  timer: "timer";
2119
2137
  github: "github";
@@ -2136,8 +2154,8 @@ declare const contract: {
2136
2154
  created_at: z.ZodOptional<z.ZodCoercedDate<unknown>>;
2137
2155
  updated_at: z.ZodOptional<z.ZodCoercedDate<unknown>>;
2138
2156
  workspace_id: z.ZodNumber;
2139
- connector_id: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
2140
2157
  connection_id: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
2158
+ connector_id: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
2141
2159
  provider: z.ZodEnum<{
2142
2160
  timer: "timer";
2143
2161
  github: "github";
@@ -2162,8 +2180,8 @@ declare const contract: {
2162
2180
  jira: "jira";
2163
2181
  mcp: "mcp";
2164
2182
  }>>;
2165
- connector_id: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
2166
2183
  connection_id: z.ZodOptional<z.ZodCoercedNumber<unknown>>;
2184
+ connector_id: z.ZodOptional<z.ZodCoercedNumber<unknown>>;
2167
2185
  limit: z.ZodDefault<z.ZodOptional<z.ZodCoercedNumber<unknown>>>;
2168
2186
  offset: z.ZodDefault<z.ZodOptional<z.ZodCoercedNumber<unknown>>>;
2169
2187
  }, z.core.$strip>, z.ZodObject<{
@@ -2172,8 +2190,8 @@ declare const contract: {
2172
2190
  created_at: z.ZodOptional<z.ZodCoercedDate<unknown>>;
2173
2191
  updated_at: z.ZodOptional<z.ZodCoercedDate<unknown>>;
2174
2192
  workspace_id: z.ZodNumber;
2175
- connector_id: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
2176
2193
  connection_id: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
2194
+ connector_id: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
2177
2195
  provider: z.ZodEnum<{
2178
2196
  timer: "timer";
2179
2197
  github: "github";
@@ -2203,8 +2221,8 @@ declare const contract: {
2203
2221
  created_at: z.ZodOptional<z.ZodCoercedDate<unknown>>;
2204
2222
  updated_at: z.ZodOptional<z.ZodCoercedDate<unknown>>;
2205
2223
  workspace_id: z.ZodNumber;
2206
- connector_id: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
2207
2224
  connection_id: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
2225
+ connector_id: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
2208
2226
  provider: z.ZodEnum<{
2209
2227
  timer: "timer";
2210
2228
  github: "github";
@@ -2232,8 +2250,8 @@ declare const contract: {
2232
2250
  created_at: z.ZodOptional<z.ZodCoercedDate<unknown>>;
2233
2251
  updated_at: z.ZodOptional<z.ZodCoercedDate<unknown>>;
2234
2252
  workspace_id: z.ZodNumber;
2235
- connector_id: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
2236
2253
  connection_id: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
2254
+ connector_id: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
2237
2255
  provider: z.ZodEnum<{
2238
2256
  timer: "timer";
2239
2257
  github: "github";
@@ -2703,6 +2721,22 @@ declare const contract: {
2703
2721
  num_steps: z.ZodNullable<z.ZodNumber>;
2704
2722
  created_at: z.ZodCoercedDate<unknown>;
2705
2723
  }, z.core.$strip>>>;
2724
+ tasks: z.ZodOptional<z.ZodArray<z.ZodObject<{
2725
+ task_id: z.ZodString;
2726
+ title: z.ZodString;
2727
+ instructions: z.ZodString;
2728
+ status: z.ZodEnum<{
2729
+ pending: "pending";
2730
+ failed: "failed";
2731
+ running: "running";
2732
+ passed: "passed";
2733
+ skipped: "skipped";
2734
+ }>;
2735
+ error_message: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2736
+ started_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2737
+ completed_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2738
+ order_index: z.ZodDefault<z.ZodNumber>;
2739
+ }, z.core.$strip>>>;
2706
2740
  agents: z.ZodOptional<z.ZodArray<z.ZodObject<{
2707
2741
  id: z.ZodNumber;
2708
2742
  agent_name: z.ZodString;
@@ -2850,6 +2884,22 @@ declare const contract: {
2850
2884
  num_steps: z.ZodNullable<z.ZodNumber>;
2851
2885
  created_at: z.ZodCoercedDate<unknown>;
2852
2886
  }, z.core.$strip>>>;
2887
+ tasks: z.ZodOptional<z.ZodArray<z.ZodObject<{
2888
+ task_id: z.ZodString;
2889
+ title: z.ZodString;
2890
+ instructions: z.ZodString;
2891
+ status: z.ZodEnum<{
2892
+ pending: "pending";
2893
+ failed: "failed";
2894
+ running: "running";
2895
+ passed: "passed";
2896
+ skipped: "skipped";
2897
+ }>;
2898
+ error_message: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2899
+ started_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2900
+ completed_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2901
+ order_index: z.ZodDefault<z.ZodNumber>;
2902
+ }, z.core.$strip>>>;
2853
2903
  agents: z.ZodOptional<z.ZodArray<z.ZodObject<{
2854
2904
  id: z.ZodNumber;
2855
2905
  agent_name: z.ZodString;
@@ -2993,6 +3043,22 @@ declare const contract: {
2993
3043
  num_steps: z.ZodNullable<z.ZodNumber>;
2994
3044
  created_at: z.ZodCoercedDate<unknown>;
2995
3045
  }, z.core.$strip>>>;
3046
+ tasks: z.ZodOptional<z.ZodArray<z.ZodObject<{
3047
+ task_id: z.ZodString;
3048
+ title: z.ZodString;
3049
+ instructions: z.ZodString;
3050
+ status: z.ZodEnum<{
3051
+ pending: "pending";
3052
+ failed: "failed";
3053
+ running: "running";
3054
+ passed: "passed";
3055
+ skipped: "skipped";
3056
+ }>;
3057
+ error_message: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3058
+ started_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3059
+ completed_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3060
+ order_index: z.ZodDefault<z.ZodNumber>;
3061
+ }, z.core.$strip>>>;
2996
3062
  agents: z.ZodOptional<z.ZodArray<z.ZodObject<{
2997
3063
  id: z.ZodNumber;
2998
3064
  agent_name: z.ZodString;
@@ -3135,6 +3201,22 @@ declare const contract: {
3135
3201
  num_steps: z.ZodNullable<z.ZodNumber>;
3136
3202
  created_at: z.ZodCoercedDate<unknown>;
3137
3203
  }, z.core.$strip>>>;
3204
+ tasks: z.ZodOptional<z.ZodArray<z.ZodObject<{
3205
+ task_id: z.ZodString;
3206
+ title: z.ZodString;
3207
+ instructions: z.ZodString;
3208
+ status: z.ZodEnum<{
3209
+ pending: "pending";
3210
+ failed: "failed";
3211
+ running: "running";
3212
+ passed: "passed";
3213
+ skipped: "skipped";
3214
+ }>;
3215
+ error_message: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3216
+ started_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3217
+ completed_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3218
+ order_index: z.ZodDefault<z.ZodNumber>;
3219
+ }, z.core.$strip>>>;
3138
3220
  agents: z.ZodOptional<z.ZodArray<z.ZodObject<{
3139
3221
  id: z.ZodNumber;
3140
3222
  agent_name: z.ZodString;
@@ -3284,6 +3366,22 @@ declare const contract: {
3284
3366
  num_steps: z.ZodNullable<z.ZodNumber>;
3285
3367
  created_at: z.ZodCoercedDate<unknown>;
3286
3368
  }, z.core.$strip>>>;
3369
+ tasks: z.ZodOptional<z.ZodArray<z.ZodObject<{
3370
+ task_id: z.ZodString;
3371
+ title: z.ZodString;
3372
+ instructions: z.ZodString;
3373
+ status: z.ZodEnum<{
3374
+ pending: "pending";
3375
+ failed: "failed";
3376
+ running: "running";
3377
+ passed: "passed";
3378
+ skipped: "skipped";
3379
+ }>;
3380
+ error_message: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3381
+ started_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3382
+ completed_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3383
+ order_index: z.ZodDefault<z.ZodNumber>;
3384
+ }, z.core.$strip>>>;
3287
3385
  agents: z.ZodOptional<z.ZodArray<z.ZodObject<{
3288
3386
  id: z.ZodNumber;
3289
3387
  agent_name: z.ZodString;
@@ -3420,6 +3518,22 @@ declare const contract: {
3420
3518
  num_steps: z.ZodNullable<z.ZodNumber>;
3421
3519
  created_at: z.ZodCoercedDate<unknown>;
3422
3520
  }, z.core.$strip>>>;
3521
+ tasks: z.ZodOptional<z.ZodArray<z.ZodObject<{
3522
+ task_id: z.ZodString;
3523
+ title: z.ZodString;
3524
+ instructions: z.ZodString;
3525
+ status: z.ZodEnum<{
3526
+ pending: "pending";
3527
+ failed: "failed";
3528
+ running: "running";
3529
+ passed: "passed";
3530
+ skipped: "skipped";
3531
+ }>;
3532
+ error_message: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3533
+ started_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3534
+ completed_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3535
+ order_index: z.ZodDefault<z.ZodNumber>;
3536
+ }, z.core.$strip>>>;
3423
3537
  agents: z.ZodOptional<z.ZodArray<z.ZodObject<{
3424
3538
  id: z.ZodNumber;
3425
3539
  agent_name: z.ZodString;
@@ -3561,6 +3675,22 @@ declare const contract: {
3561
3675
  num_steps: z.ZodNullable<z.ZodNumber>;
3562
3676
  created_at: z.ZodCoercedDate<unknown>;
3563
3677
  }, z.core.$strip>>>;
3678
+ tasks: z.ZodOptional<z.ZodArray<z.ZodObject<{
3679
+ task_id: z.ZodString;
3680
+ title: z.ZodString;
3681
+ instructions: z.ZodString;
3682
+ status: z.ZodEnum<{
3683
+ pending: "pending";
3684
+ failed: "failed";
3685
+ running: "running";
3686
+ passed: "passed";
3687
+ skipped: "skipped";
3688
+ }>;
3689
+ error_message: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3690
+ started_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3691
+ completed_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3692
+ order_index: z.ZodDefault<z.ZodNumber>;
3693
+ }, z.core.$strip>>>;
3564
3694
  agents: z.ZodOptional<z.ZodArray<z.ZodObject<{
3565
3695
  id: z.ZodNumber;
3566
3696
  agent_name: z.ZodString;
@@ -3699,6 +3829,22 @@ declare const contract: {
3699
3829
  num_steps: z.ZodNullable<z.ZodNumber>;
3700
3830
  created_at: z.ZodCoercedDate<unknown>;
3701
3831
  }, z.core.$strip>>>;
3832
+ tasks: z.ZodOptional<z.ZodArray<z.ZodObject<{
3833
+ task_id: z.ZodString;
3834
+ title: z.ZodString;
3835
+ instructions: z.ZodString;
3836
+ status: z.ZodEnum<{
3837
+ pending: "pending";
3838
+ failed: "failed";
3839
+ running: "running";
3840
+ passed: "passed";
3841
+ skipped: "skipped";
3842
+ }>;
3843
+ error_message: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3844
+ started_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3845
+ completed_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3846
+ order_index: z.ZodDefault<z.ZodNumber>;
3847
+ }, z.core.$strip>>>;
3702
3848
  agents: z.ZodOptional<z.ZodArray<z.ZodObject<{
3703
3849
  id: z.ZodNumber;
3704
3850
  agent_name: z.ZodString;
@@ -4074,6 +4220,22 @@ declare const contract: {
4074
4220
  num_steps: z.ZodNullable<z.ZodNumber>;
4075
4221
  created_at: z.ZodCoercedDate<unknown>;
4076
4222
  }, z.core.$strip>>>;
4223
+ tasks: z.ZodOptional<z.ZodArray<z.ZodObject<{
4224
+ task_id: z.ZodString;
4225
+ title: z.ZodString;
4226
+ instructions: z.ZodString;
4227
+ status: z.ZodEnum<{
4228
+ pending: "pending";
4229
+ failed: "failed";
4230
+ running: "running";
4231
+ passed: "passed";
4232
+ skipped: "skipped";
4233
+ }>;
4234
+ error_message: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4235
+ started_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4236
+ completed_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4237
+ order_index: z.ZodDefault<z.ZodNumber>;
4238
+ }, z.core.$strip>>>;
4077
4239
  agents: z.ZodOptional<z.ZodArray<z.ZodObject<{
4078
4240
  id: z.ZodNumber;
4079
4241
  agent_name: z.ZodString;
@@ -4122,6 +4284,22 @@ declare const contract: {
4122
4284
  num_steps: z.ZodNullable<z.ZodNumber>;
4123
4285
  created_at: z.ZodCoercedDate<unknown>;
4124
4286
  }, z.core.$strip>>>;
4287
+ tasks: z.ZodOptional<z.ZodArray<z.ZodObject<{
4288
+ task_id: z.ZodString;
4289
+ title: z.ZodString;
4290
+ instructions: z.ZodString;
4291
+ status: z.ZodEnum<{
4292
+ pending: "pending";
4293
+ failed: "failed";
4294
+ running: "running";
4295
+ passed: "passed";
4296
+ skipped: "skipped";
4297
+ }>;
4298
+ error_message: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4299
+ started_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4300
+ completed_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4301
+ order_index: z.ZodDefault<z.ZodNumber>;
4302
+ }, z.core.$strip>>>;
4125
4303
  agents: z.ZodOptional<z.ZodArray<z.ZodObject<{
4126
4304
  id: z.ZodNumber;
4127
4305
  agent_name: z.ZodString;
@@ -4155,6 +4333,22 @@ declare const contract: {
4155
4333
  num_steps: z.ZodNullable<z.ZodNumber>;
4156
4334
  created_at: z.ZodCoercedDate<unknown>;
4157
4335
  }, z.core.$strip>>>>;
4336
+ tasks: z.ZodOptional<z.ZodOptional<z.ZodArray<z.ZodObject<{
4337
+ task_id: z.ZodString;
4338
+ title: z.ZodString;
4339
+ instructions: z.ZodString;
4340
+ status: z.ZodEnum<{
4341
+ pending: "pending";
4342
+ failed: "failed";
4343
+ running: "running";
4344
+ passed: "passed";
4345
+ skipped: "skipped";
4346
+ }>;
4347
+ error_message: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4348
+ started_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4349
+ completed_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4350
+ order_index: z.ZodDefault<z.ZodNumber>;
4351
+ }, z.core.$strip>>>>;
4158
4352
  agents: z.ZodOptional<z.ZodOptional<z.ZodArray<z.ZodObject<{
4159
4353
  id: z.ZodNumber;
4160
4354
  agent_name: z.ZodString;
@@ -4191,6 +4385,22 @@ declare const contract: {
4191
4385
  num_steps: z.ZodNullable<z.ZodNumber>;
4192
4386
  created_at: z.ZodCoercedDate<unknown>;
4193
4387
  }, z.core.$strip>>>;
4388
+ tasks: z.ZodOptional<z.ZodArray<z.ZodObject<{
4389
+ task_id: z.ZodString;
4390
+ title: z.ZodString;
4391
+ instructions: z.ZodString;
4392
+ status: z.ZodEnum<{
4393
+ pending: "pending";
4394
+ failed: "failed";
4395
+ running: "running";
4396
+ passed: "passed";
4397
+ skipped: "skipped";
4398
+ }>;
4399
+ error_message: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4400
+ started_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4401
+ completed_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4402
+ order_index: z.ZodDefault<z.ZodNumber>;
4403
+ }, z.core.$strip>>>;
4194
4404
  agents: z.ZodOptional<z.ZodArray<z.ZodObject<{
4195
4405
  id: z.ZodNumber;
4196
4406
  agent_name: z.ZodString;
@@ -4231,6 +4441,22 @@ declare const contract: {
4231
4441
  num_steps: z.ZodNullable<z.ZodNumber>;
4232
4442
  created_at: z.ZodCoercedDate<unknown>;
4233
4443
  }, z.core.$strip>>>;
4444
+ tasks: z.ZodOptional<z.ZodArray<z.ZodObject<{
4445
+ task_id: z.ZodString;
4446
+ title: z.ZodString;
4447
+ instructions: z.ZodString;
4448
+ status: z.ZodEnum<{
4449
+ pending: "pending";
4450
+ failed: "failed";
4451
+ running: "running";
4452
+ passed: "passed";
4453
+ skipped: "skipped";
4454
+ }>;
4455
+ error_message: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4456
+ started_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4457
+ completed_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4458
+ order_index: z.ZodDefault<z.ZodNumber>;
4459
+ }, z.core.$strip>>>;
4234
4460
  agents: z.ZodOptional<z.ZodArray<z.ZodObject<{
4235
4461
  id: z.ZodNumber;
4236
4462
  agent_name: z.ZodString;
@@ -4266,6 +4492,22 @@ declare const contract: {
4266
4492
  num_steps: z.ZodNullable<z.ZodNumber>;
4267
4493
  created_at: z.ZodCoercedDate<unknown>;
4268
4494
  }, z.core.$strip>>>;
4495
+ tasks: z.ZodOptional<z.ZodArray<z.ZodObject<{
4496
+ task_id: z.ZodString;
4497
+ title: z.ZodString;
4498
+ instructions: z.ZodString;
4499
+ status: z.ZodEnum<{
4500
+ pending: "pending";
4501
+ failed: "failed";
4502
+ running: "running";
4503
+ passed: "passed";
4504
+ skipped: "skipped";
4505
+ }>;
4506
+ error_message: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4507
+ started_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4508
+ completed_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4509
+ order_index: z.ZodDefault<z.ZodNumber>;
4510
+ }, z.core.$strip>>>;
4269
4511
  agents: z.ZodOptional<z.ZodArray<z.ZodObject<{
4270
4512
  id: z.ZodNumber;
4271
4513
  agent_name: z.ZodString;
@@ -4535,6 +4777,8 @@ declare const contract: {
4535
4777
  }, z.core.$strip>, Record<never, never>, Record<never, never>>;
4536
4778
  sessionEvents: import("@orpc/contract").ContractProcedureBuilderWithInputOutput<z.ZodObject<{
4537
4779
  session_id: z.ZodString;
4780
+ batch_offset: z.ZodDefault<z.ZodCoercedNumber<unknown>>;
4781
+ batch_limit: z.ZodDefault<z.ZodCoercedNumber<unknown>>;
4538
4782
  }, z.core.$strip>, z.ZodObject<{
4539
4783
  items: z.ZodArray<z.ZodObject<{
4540
4784
  type: z.ZodNumber;
@@ -4542,6 +4786,9 @@ declare const contract: {
4542
4786
  data: z.ZodUnknown;
4543
4787
  }, z.core.$strip>>;
4544
4788
  count: z.ZodNumber;
4789
+ total_batches: z.ZodNumber;
4790
+ batch_offset: z.ZodNumber;
4791
+ batch_limit: z.ZodNumber;
4545
4792
  }, z.core.$strip>, Record<never, never>, Record<never, never>>;
4546
4793
  browserSessionCreate: import("@orpc/contract").ContractProcedureBuilderWithInputOutput<z.ZodObject<{
4547
4794
  application_id: z.ZodNumber;
@@ -5036,6 +5283,7 @@ declare const contract: {
5036
5283
  }, z.core.$strip>>>;
5037
5284
  passed_tests: z.ZodNumber;
5038
5285
  failed_tests: z.ZodNumber;
5286
+ simulation_id: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
5039
5287
  started_at: z.ZodOptional<z.ZodNullable<z.ZodCoercedDate<unknown>>>;
5040
5288
  completed_at: z.ZodOptional<z.ZodNullable<z.ZodCoercedDate<unknown>>>;
5041
5289
  total_tests: z.ZodNumber;
@@ -5080,6 +5328,7 @@ declare const contract: {
5080
5328
  total_tests: z.ZodNumber;
5081
5329
  passed_tests: z.ZodNumber;
5082
5330
  failed_tests: z.ZodNumber;
5331
+ simulation_id: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
5083
5332
  started_at: z.ZodOptional<z.ZodNullable<z.ZodCoercedDate<unknown>>>;
5084
5333
  completed_at: z.ZodOptional<z.ZodNullable<z.ZodCoercedDate<unknown>>>;
5085
5334
  test_cases: z.ZodArray<z.ZodObject<{
@@ -5127,6 +5376,7 @@ declare const contract: {
5127
5376
  run_id: z.ZodNumber;
5128
5377
  status: z.ZodEnum<{
5129
5378
  pending: "pending";
5379
+ completed: "completed";
5130
5380
  failed: "failed";
5131
5381
  running: "running";
5132
5382
  passed: "passed";
@@ -5222,6 +5472,7 @@ declare const contract: {
5222
5472
  total_tests: z.ZodNumber;
5223
5473
  passed_tests: z.ZodNumber;
5224
5474
  failed_tests: z.ZodNumber;
5475
+ simulation_id: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
5225
5476
  started_at: z.ZodOptional<z.ZodNullable<z.ZodCoercedDate<unknown>>>;
5226
5477
  completed_at: z.ZodOptional<z.ZodNullable<z.ZodCoercedDate<unknown>>>;
5227
5478
  }, z.core.$strip>;
@@ -5251,6 +5502,22 @@ declare const contract: {
5251
5502
  num_steps: z.ZodNullable<z.ZodNumber>;
5252
5503
  created_at: z.ZodCoercedDate<unknown>;
5253
5504
  }, z.core.$strip>>>;
5505
+ tasks: z.ZodOptional<z.ZodArray<z.ZodObject<{
5506
+ task_id: z.ZodString;
5507
+ title: z.ZodString;
5508
+ instructions: z.ZodString;
5509
+ status: z.ZodEnum<{
5510
+ pending: "pending";
5511
+ failed: "failed";
5512
+ running: "running";
5513
+ passed: "passed";
5514
+ skipped: "skipped";
5515
+ }>;
5516
+ error_message: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5517
+ started_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5518
+ completed_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5519
+ order_index: z.ZodDefault<z.ZodNumber>;
5520
+ }, z.core.$strip>>>;
5254
5521
  agents: z.ZodOptional<z.ZodArray<z.ZodObject<{
5255
5522
  id: z.ZodNumber;
5256
5523
  agent_name: z.ZodString;
@@ -5307,6 +5574,7 @@ declare const contract: {
5307
5574
  run_id: z.ZodNumber;
5308
5575
  status: z.ZodEnum<{
5309
5576
  pending: "pending";
5577
+ completed: "completed";
5310
5578
  failed: "failed";
5311
5579
  running: "running";
5312
5580
  passed: "passed";
@@ -5420,6 +5688,7 @@ declare const contract: {
5420
5688
  run_id: z.ZodNumber;
5421
5689
  status: z.ZodEnum<{
5422
5690
  pending: "pending";
5691
+ completed: "completed";
5423
5692
  failed: "failed";
5424
5693
  running: "running";
5425
5694
  passed: "passed";
@@ -5509,6 +5778,7 @@ declare const contract: {
5509
5778
  total_tests: z.ZodNumber;
5510
5779
  passed_tests: z.ZodNumber;
5511
5780
  failed_tests: z.ZodNumber;
5781
+ simulation_id: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
5512
5782
  started_at: z.ZodOptional<z.ZodNullable<z.ZodCoercedDate<unknown>>>;
5513
5783
  completed_at: z.ZodOptional<z.ZodNullable<z.ZodCoercedDate<unknown>>>;
5514
5784
  }, z.core.$strip>;
@@ -5538,6 +5808,22 @@ declare const contract: {
5538
5808
  num_steps: z.ZodNullable<z.ZodNumber>;
5539
5809
  created_at: z.ZodCoercedDate<unknown>;
5540
5810
  }, z.core.$strip>>>;
5811
+ tasks: z.ZodOptional<z.ZodArray<z.ZodObject<{
5812
+ task_id: z.ZodString;
5813
+ title: z.ZodString;
5814
+ instructions: z.ZodString;
5815
+ status: z.ZodEnum<{
5816
+ pending: "pending";
5817
+ failed: "failed";
5818
+ running: "running";
5819
+ passed: "passed";
5820
+ skipped: "skipped";
5821
+ }>;
5822
+ error_message: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5823
+ started_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5824
+ completed_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5825
+ order_index: z.ZodDefault<z.ZodNumber>;
5826
+ }, z.core.$strip>>>;
5541
5827
  agents: z.ZodOptional<z.ZodArray<z.ZodObject<{
5542
5828
  id: z.ZodNumber;
5543
5829
  agent_name: z.ZodString;
@@ -5574,6 +5860,22 @@ declare const contract: {
5574
5860
  num_steps: z.ZodNullable<z.ZodNumber>;
5575
5861
  created_at: z.ZodCoercedDate<unknown>;
5576
5862
  }, z.core.$strip>>>;
5863
+ tasks: z.ZodOptional<z.ZodArray<z.ZodObject<{
5864
+ task_id: z.ZodString;
5865
+ title: z.ZodString;
5866
+ instructions: z.ZodString;
5867
+ status: z.ZodEnum<{
5868
+ pending: "pending";
5869
+ failed: "failed";
5870
+ running: "running";
5871
+ passed: "passed";
5872
+ skipped: "skipped";
5873
+ }>;
5874
+ error_message: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5875
+ started_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5876
+ completed_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5877
+ order_index: z.ZodDefault<z.ZodNumber>;
5878
+ }, z.core.$strip>>>;
5577
5879
  agents: z.ZodOptional<z.ZodArray<z.ZodObject<{
5578
5880
  id: z.ZodNumber;
5579
5881
  agent_name: z.ZodString;
@@ -5610,6 +5912,22 @@ declare const contract: {
5610
5912
  num_steps: z.ZodNullable<z.ZodNumber>;
5611
5913
  created_at: z.ZodCoercedDate<unknown>;
5612
5914
  }, z.core.$strip>>>;
5915
+ tasks: z.ZodOptional<z.ZodArray<z.ZodObject<{
5916
+ task_id: z.ZodString;
5917
+ title: z.ZodString;
5918
+ instructions: z.ZodString;
5919
+ status: z.ZodEnum<{
5920
+ pending: "pending";
5921
+ failed: "failed";
5922
+ running: "running";
5923
+ passed: "passed";
5924
+ skipped: "skipped";
5925
+ }>;
5926
+ error_message: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5927
+ started_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5928
+ completed_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5929
+ order_index: z.ZodDefault<z.ZodNumber>;
5930
+ }, z.core.$strip>>>;
5613
5931
  agents: z.ZodOptional<z.ZodArray<z.ZodObject<{
5614
5932
  id: z.ZodNumber;
5615
5933
  agent_name: z.ZodString;
@@ -6205,6 +6523,7 @@ declare const contract: {
6205
6523
  qa: "qa";
6206
6524
  simulations: "simulations";
6207
6525
  jobs: "jobs";
6526
+ triggers: "triggers";
6208
6527
  }>>;
6209
6528
  application_id: z.ZodOptional<z.ZodCoercedNumber<unknown>>;
6210
6529
  }, z.core.$strip>, import("@orpc/contract").Schema<AsyncIteratorObject<{
@@ -6223,11 +6542,50 @@ declare const contract: {
6223
6542
  type: "simulation/deleted";
6224
6543
  simulation_id: number;
6225
6544
  application_id: number;
6545
+ } | {
6546
+ type: "simulation/queued";
6547
+ simulation_id: number;
6548
+ job_id: string;
6549
+ } | {
6550
+ type: "simulation/started";
6551
+ simulation_id: number;
6552
+ job_id: string;
6553
+ } | {
6554
+ type: "simulation/step";
6555
+ simulation_id: number;
6556
+ job_id: string;
6557
+ step_count?: number | undefined;
6558
+ message?: string | undefined;
6559
+ } | {
6560
+ type: "simulation/question";
6561
+ simulation_id: number;
6562
+ job_id: string;
6563
+ question?: string | undefined;
6564
+ } | {
6565
+ type: "simulation/completed";
6566
+ simulation_id: number;
6567
+ job_id: string;
6568
+ step_count?: number | undefined;
6569
+ } | {
6570
+ type: "simulation/failed";
6571
+ simulation_id: number;
6572
+ job_id: string;
6573
+ error?: string | undefined;
6574
+ } | {
6575
+ type: "simulation/stopped";
6576
+ simulation_id: number;
6577
+ job_id: string;
6578
+ } | {
6579
+ type: "qa-run/completed";
6580
+ run_id: number;
6581
+ status: string;
6226
6582
  } | {
6227
6583
  type: "agent/updated";
6228
- agent_id: number;
6229
- application_id: number;
6230
6584
  status: string;
6585
+ agent_id?: number | undefined;
6586
+ chat_id?: string | undefined;
6587
+ task_id?: string | undefined;
6588
+ application_id?: number | undefined;
6231
6589
  } | {
6232
6590
  type: "agent/created";
6233
6591
  agent_id: number;
@@ -6248,6 +6606,7 @@ declare const contract: {
6248
6606
  document_id: number;
6249
6607
  application_id: number;
6250
6608
  status: string;
6609
+ simulation_id?: number | undefined;
6251
6610
  } | {
6252
6611
  type: "qa-test/updated";
6253
6612
  test_id: number;
@@ -6276,6 +6635,14 @@ declare const contract: {
6276
6635
  job_id: string;
6277
6636
  application_id: number;
6278
6637
  error: string;
6638
+ } | {
6639
+ type: "trigger/fired";
6640
+ trigger_id: number;
6641
+ workspace_id: number;
6642
+ provider: string;
6643
+ name: string;
6644
+ timestamp: string;
6645
+ payload?: unknown;
6279
6646
  }, unknown, void>, import("@orpc/shared").AsyncIteratorClass<{
6280
6647
  type: "simulation/updated";
6281
6648
  simulation_id: number;
@@ -6292,11 +6659,50 @@ declare const contract: {
6292
6659
  type: "simulation/deleted";
6293
6660
  simulation_id: number;
6294
6661
  application_id: number;
6662
+ } | {
6663
+ type: "simulation/queued";
6664
+ simulation_id: number;
6665
+ job_id: string;
6666
+ } | {
6667
+ type: "simulation/started";
6668
+ simulation_id: number;
6669
+ job_id: string;
6670
+ } | {
6671
+ type: "simulation/step";
6672
+ simulation_id: number;
6673
+ job_id: string;
6674
+ step_count?: number | undefined;
6675
+ message?: string | undefined;
6676
+ } | {
6677
+ type: "simulation/question";
6678
+ simulation_id: number;
6679
+ job_id: string;
6680
+ question?: string | undefined;
6681
+ } | {
6682
+ type: "simulation/completed";
6683
+ simulation_id: number;
6684
+ job_id: string;
6685
+ step_count?: number | undefined;
6686
+ } | {
6687
+ type: "simulation/failed";
6688
+ simulation_id: number;
6689
+ job_id: string;
6690
+ error?: string | undefined;
6691
+ } | {
6692
+ type: "simulation/stopped";
6693
+ simulation_id: number;
6694
+ job_id: string;
6695
+ } | {
6696
+ type: "qa-run/completed";
6697
+ run_id: number;
6698
+ status: string;
6295
6699
  } | {
6296
6700
  type: "agent/updated";
6297
- agent_id: number;
6298
- application_id: number;
6299
6701
  status: string;
6702
+ agent_id?: number | undefined;
6703
+ chat_id?: string | undefined;
6704
+ task_id?: string | undefined;
6705
+ application_id?: number | undefined;
6300
6706
  } | {
6301
6707
  type: "agent/created";
6302
6708
  agent_id: number;
@@ -6317,6 +6723,7 @@ declare const contract: {
6317
6723
  document_id: number;
6318
6724
  application_id: number;
6319
6725
  status: string;
6726
+ simulation_id?: number | undefined;
6320
6727
  } | {
6321
6728
  type: "qa-test/updated";
6322
6729
  test_id: number;
@@ -6345,6 +6752,14 @@ declare const contract: {
6345
6752
  job_id: string;
6346
6753
  application_id: number;
6347
6754
  error: string;
6755
+ } | {
6756
+ type: "trigger/fired";
6757
+ trigger_id: number;
6758
+ workspace_id: number;
6759
+ provider: string;
6760
+ name: string;
6761
+ timestamp: string;
6762
+ payload?: unknown;
6348
6763
  }, unknown, void>>, Record<never, never>, Record<never, never>>;
6349
6764
  /** @docs-only — raw Express handler; requires webhook signature verification */
6350
6765
  workosWebhook: import("@orpc/contract").ContractProcedureBuilderWithInputOutput<z.ZodObject<{