@omnara/sdk 0.1.9 → 0.1.10

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.
@@ -216,7 +216,7 @@ declare const zUpdateConfiguredModelRequest: z.ZodObject<{
216
216
  name: z.ZodOptional<z.ZodPipe<z.ZodString, z.ZodTransform<string, string>>>;
217
217
  provider_model_slug: z.ZodOptional<z.ZodString>;
218
218
  context_window_tokens: z.ZodOptional<z.ZodInt>;
219
- max_output_tokens: z.ZodOptional<z.ZodInt>;
219
+ max_output_tokens: z.ZodOptional<z.ZodNullable<z.ZodInt>>;
220
220
  default_max_output_tokens: z.ZodOptional<z.ZodNullable<z.ZodInt>>;
221
221
  default_cache_retention: z.ZodOptional<z.ZodEnum<{
222
222
  none: "none";
@@ -302,6 +302,7 @@ declare const zCreateModelProviderConfigRequest: z.ZodObject<{
302
302
  base_url: z.ZodOptional<z.ZodString>;
303
303
  endpoint_path: z.ZodOptional<z.ZodString>;
304
304
  request_timeout_ms: z.ZodOptional<z.ZodInt>;
305
+ idle_timeout_ms: z.ZodOptional<z.ZodInt>;
305
306
  auth_kind: z.ZodOptional<z.ZodEnum<{
306
307
  bearer_token: "bearer_token";
307
308
  api_key_header: "api_key_header";
@@ -318,6 +319,7 @@ declare const zUpdateModelProviderConfigRequest: z.ZodObject<{
318
319
  base_url: z.ZodOptional<z.ZodString>;
319
320
  endpoint_path: z.ZodOptional<z.ZodString>;
320
321
  request_timeout_ms: z.ZodOptional<z.ZodInt>;
322
+ idle_timeout_ms: z.ZodOptional<z.ZodInt>;
321
323
  auth_kind: z.ZodOptional<z.ZodEnum<{
322
324
  bearer_token: "bearer_token";
323
325
  api_key_header: "api_key_header";
@@ -351,6 +353,7 @@ declare const zModelProviderConfig: z.ZodObject<{
351
353
  base_url: z.ZodString;
352
354
  endpoint_path: z.ZodString;
353
355
  request_timeout_ms: z.ZodInt;
356
+ idle_timeout_ms: z.ZodInt;
354
357
  auth_kind: z.ZodEnum<{
355
358
  bearer_token: "bearer_token";
356
359
  api_key_header: "api_key_header";
@@ -380,6 +383,7 @@ declare const zCreateModelProviderConfigResponse: z.ZodObject<{
380
383
  base_url: z.ZodString;
381
384
  endpoint_path: z.ZodString;
382
385
  request_timeout_ms: z.ZodInt;
386
+ idle_timeout_ms: z.ZodInt;
383
387
  auth_kind: z.ZodEnum<{
384
388
  bearer_token: "bearer_token";
385
389
  api_key_header: "api_key_header";
@@ -423,6 +427,7 @@ declare const zModelProviderConfigList: z.ZodObject<{
423
427
  base_url: z.ZodString;
424
428
  endpoint_path: z.ZodString;
425
429
  request_timeout_ms: z.ZodInt;
430
+ idle_timeout_ms: z.ZodInt;
426
431
  auth_kind: z.ZodEnum<{
427
432
  bearer_token: "bearer_token";
428
433
  api_key_header: "api_key_header";
@@ -448,7 +453,7 @@ declare const zConfiguredModel: z.ZodObject<{
448
453
  current_revision_id: z.ZodString;
449
454
  provider_model_slug: z.ZodString;
450
455
  context_window_tokens: z.ZodInt;
451
- max_output_tokens: z.ZodInt;
456
+ max_output_tokens: z.ZodNullable<z.ZodInt>;
452
457
  default_max_output_tokens: z.ZodOptional<z.ZodNullable<z.ZodInt>>;
453
458
  default_cache_retention: z.ZodOptional<z.ZodEnum<{
454
459
  none: "none";
@@ -479,7 +484,7 @@ declare const zConfiguredModelList: z.ZodObject<{
479
484
  current_revision_id: z.ZodString;
480
485
  provider_model_slug: z.ZodString;
481
486
  context_window_tokens: z.ZodInt;
482
- max_output_tokens: z.ZodInt;
487
+ max_output_tokens: z.ZodNullable<z.ZodInt>;
483
488
  default_max_output_tokens: z.ZodOptional<z.ZodNullable<z.ZodInt>>;
484
489
  default_cache_retention: z.ZodOptional<z.ZodEnum<{
485
490
  none: "none";
@@ -1250,7 +1255,7 @@ declare const zAgentConfigModel: z.ZodObject<{
1250
1255
  }>;
1251
1256
  api_variant: z.ZodString;
1252
1257
  context_window_tokens: z.ZodInt;
1253
- max_output_tokens: z.ZodInt;
1258
+ max_output_tokens: z.ZodNullable<z.ZodInt>;
1254
1259
  default_max_output_tokens: z.ZodOptional<z.ZodNullable<z.ZodInt>>;
1255
1260
  default_cache_retention: z.ZodEnum<{
1256
1261
  none: "none";
@@ -1288,7 +1293,7 @@ declare const zAgentConfig: z.ZodObject<{
1288
1293
  }>;
1289
1294
  api_variant: z.ZodString;
1290
1295
  context_window_tokens: z.ZodInt;
1291
- max_output_tokens: z.ZodInt;
1296
+ max_output_tokens: z.ZodNullable<z.ZodInt>;
1292
1297
  default_max_output_tokens: z.ZodOptional<z.ZodNullable<z.ZodInt>>;
1293
1298
  default_cache_retention: z.ZodEnum<{
1294
1299
  none: "none";
@@ -1353,7 +1358,7 @@ declare const zAgentProfile: z.ZodObject<{
1353
1358
  }>;
1354
1359
  api_variant: z.ZodString;
1355
1360
  context_window_tokens: z.ZodInt;
1356
- max_output_tokens: z.ZodInt;
1361
+ max_output_tokens: z.ZodNullable<z.ZodInt>;
1357
1362
  default_max_output_tokens: z.ZodOptional<z.ZodNullable<z.ZodInt>>;
1358
1363
  default_cache_retention: z.ZodEnum<{
1359
1364
  none: "none";
@@ -1411,7 +1416,7 @@ declare const zListAgentProfilesResponse: z.ZodObject<{
1411
1416
  }>;
1412
1417
  api_variant: z.ZodString;
1413
1418
  context_window_tokens: z.ZodInt;
1414
- max_output_tokens: z.ZodInt;
1419
+ max_output_tokens: z.ZodNullable<z.ZodInt>;
1415
1420
  default_max_output_tokens: z.ZodOptional<z.ZodNullable<z.ZodInt>>;
1416
1421
  default_cache_retention: z.ZodEnum<{
1417
1422
  none: "none";
@@ -2107,7 +2112,7 @@ declare const zLaunchAgentResponse: z.ZodObject<{
2107
2112
  }>;
2108
2113
  api_variant: z.ZodString;
2109
2114
  context_window_tokens: z.ZodInt;
2110
- max_output_tokens: z.ZodInt;
2115
+ max_output_tokens: z.ZodNullable<z.ZodInt>;
2111
2116
  default_max_output_tokens: z.ZodOptional<z.ZodNullable<z.ZodInt>>;
2112
2117
  default_cache_retention: z.ZodEnum<{
2113
2118
  none: "none";
@@ -2206,7 +2211,7 @@ declare const zUpdateAgentConfigResponse: z.ZodObject<{
2206
2211
  }>;
2207
2212
  api_variant: z.ZodString;
2208
2213
  context_window_tokens: z.ZodInt;
2209
- max_output_tokens: z.ZodInt;
2214
+ max_output_tokens: z.ZodNullable<z.ZodInt>;
2210
2215
  default_max_output_tokens: z.ZodOptional<z.ZodNullable<z.ZodInt>>;
2211
2216
  default_cache_retention: z.ZodEnum<{
2212
2217
  none: "none";
@@ -6812,7 +6817,7 @@ declare const zOrgOverviewResponse: z.ZodObject<{
6812
6817
  }>;
6813
6818
  api_variant: z.ZodString;
6814
6819
  context_window_tokens: z.ZodInt;
6815
- max_output_tokens: z.ZodInt;
6820
+ max_output_tokens: z.ZodNullable<z.ZodInt>;
6816
6821
  default_max_output_tokens: z.ZodOptional<z.ZodNullable<z.ZodInt>>;
6817
6822
  default_cache_retention: z.ZodEnum<{
6818
6823
  none: "none";
@@ -7256,7 +7261,7 @@ declare const zGetOrgOverviewResponse: z.ZodObject<{
7256
7261
  }>;
7257
7262
  api_variant: z.ZodString;
7258
7263
  context_window_tokens: z.ZodInt;
7259
- max_output_tokens: z.ZodInt;
7264
+ max_output_tokens: z.ZodNullable<z.ZodInt>;
7260
7265
  default_max_output_tokens: z.ZodOptional<z.ZodNullable<z.ZodInt>>;
7261
7266
  default_cache_retention: z.ZodEnum<{
7262
7267
  none: "none";
@@ -8401,7 +8406,7 @@ declare const zCreateAgentConfigResponse: z.ZodObject<{
8401
8406
  }>;
8402
8407
  api_variant: z.ZodString;
8403
8408
  context_window_tokens: z.ZodInt;
8404
- max_output_tokens: z.ZodInt;
8409
+ max_output_tokens: z.ZodNullable<z.ZodInt>;
8405
8410
  default_max_output_tokens: z.ZodOptional<z.ZodNullable<z.ZodInt>>;
8406
8411
  default_cache_retention: z.ZodEnum<{
8407
8412
  none: "none";
@@ -8584,7 +8589,7 @@ declare const zGetAgentConfigResponse: z.ZodObject<{
8584
8589
  }>;
8585
8590
  api_variant: z.ZodString;
8586
8591
  context_window_tokens: z.ZodInt;
8587
- max_output_tokens: z.ZodInt;
8592
+ max_output_tokens: z.ZodNullable<z.ZodInt>;
8588
8593
  default_max_output_tokens: z.ZodOptional<z.ZodNullable<z.ZodInt>>;
8589
8594
  default_cache_retention: z.ZodEnum<{
8590
8595
  none: "none";
@@ -8659,7 +8664,7 @@ declare const zListAgentProfilesResponse2: z.ZodObject<{
8659
8664
  }>;
8660
8665
  api_variant: z.ZodString;
8661
8666
  context_window_tokens: z.ZodInt;
8662
- max_output_tokens: z.ZodInt;
8667
+ max_output_tokens: z.ZodNullable<z.ZodInt>;
8663
8668
  default_max_output_tokens: z.ZodOptional<z.ZodNullable<z.ZodInt>>;
8664
8669
  default_cache_retention: z.ZodEnum<{
8665
8670
  none: "none";
@@ -8732,7 +8737,7 @@ declare const zCreateAgentProfileResponse: z.ZodObject<{
8732
8737
  }>;
8733
8738
  api_variant: z.ZodString;
8734
8739
  context_window_tokens: z.ZodInt;
8735
- max_output_tokens: z.ZodInt;
8740
+ max_output_tokens: z.ZodNullable<z.ZodInt>;
8736
8741
  default_max_output_tokens: z.ZodOptional<z.ZodNullable<z.ZodInt>>;
8737
8742
  default_cache_retention: z.ZodEnum<{
8738
8743
  none: "none";
@@ -8806,7 +8811,7 @@ declare const zGetAgentProfileResponse: z.ZodObject<{
8806
8811
  }>;
8807
8812
  api_variant: z.ZodString;
8808
8813
  context_window_tokens: z.ZodInt;
8809
- max_output_tokens: z.ZodInt;
8814
+ max_output_tokens: z.ZodNullable<z.ZodInt>;
8810
8815
  default_max_output_tokens: z.ZodOptional<z.ZodNullable<z.ZodInt>>;
8811
8816
  default_cache_retention: z.ZodEnum<{
8812
8817
  none: "none";
@@ -8874,7 +8879,7 @@ declare const zRenameAgentProfileResponse: z.ZodObject<{
8874
8879
  }>;
8875
8880
  api_variant: z.ZodString;
8876
8881
  context_window_tokens: z.ZodInt;
8877
- max_output_tokens: z.ZodInt;
8882
+ max_output_tokens: z.ZodNullable<z.ZodInt>;
8878
8883
  default_max_output_tokens: z.ZodOptional<z.ZodNullable<z.ZodInt>>;
8879
8884
  default_cache_retention: z.ZodEnum<{
8880
8885
  none: "none";
@@ -8946,7 +8951,7 @@ declare const zUpdateAgentProfileResponse: z.ZodObject<{
8946
8951
  }>;
8947
8952
  api_variant: z.ZodString;
8948
8953
  context_window_tokens: z.ZodInt;
8949
- max_output_tokens: z.ZodInt;
8954
+ max_output_tokens: z.ZodNullable<z.ZodInt>;
8950
8955
  default_max_output_tokens: z.ZodOptional<z.ZodNullable<z.ZodInt>>;
8951
8956
  default_cache_retention: z.ZodEnum<{
8952
8957
  none: "none";
@@ -9380,7 +9385,7 @@ declare const zCreateAgentResponse: z.ZodUnion<readonly [z.ZodObject<{
9380
9385
  }>;
9381
9386
  api_variant: z.ZodString;
9382
9387
  context_window_tokens: z.ZodInt;
9383
- max_output_tokens: z.ZodInt;
9388
+ max_output_tokens: z.ZodNullable<z.ZodInt>;
9384
9389
  default_max_output_tokens: z.ZodOptional<z.ZodNullable<z.ZodInt>>;
9385
9390
  default_cache_retention: z.ZodEnum<{
9386
9391
  none: "none";
@@ -9585,7 +9590,7 @@ declare const zUpdateAgentConfigResponse2: z.ZodObject<{
9585
9590
  }>;
9586
9591
  api_variant: z.ZodString;
9587
9592
  context_window_tokens: z.ZodInt;
9588
- max_output_tokens: z.ZodInt;
9593
+ max_output_tokens: z.ZodNullable<z.ZodInt>;
9589
9594
  default_max_output_tokens: z.ZodOptional<z.ZodNullable<z.ZodInt>>;
9590
9595
  default_cache_retention: z.ZodEnum<{
9591
9596
  none: "none";
@@ -12186,6 +12191,7 @@ declare const zListModelProviderConfigsResponse: z.ZodObject<{
12186
12191
  base_url: z.ZodString;
12187
12192
  endpoint_path: z.ZodString;
12188
12193
  request_timeout_ms: z.ZodInt;
12194
+ idle_timeout_ms: z.ZodInt;
12189
12195
  auth_kind: z.ZodEnum<{
12190
12196
  bearer_token: "bearer_token";
12191
12197
  api_key_header: "api_key_header";
@@ -12219,6 +12225,7 @@ declare const zCreateModelProviderConfigBody: z.ZodObject<{
12219
12225
  base_url: z.ZodOptional<z.ZodString>;
12220
12226
  endpoint_path: z.ZodOptional<z.ZodString>;
12221
12227
  request_timeout_ms: z.ZodOptional<z.ZodInt>;
12228
+ idle_timeout_ms: z.ZodOptional<z.ZodInt>;
12222
12229
  auth_kind: z.ZodOptional<z.ZodEnum<{
12223
12230
  bearer_token: "bearer_token";
12224
12231
  api_key_header: "api_key_header";
@@ -12232,7 +12239,7 @@ declare const zCreateModelProviderConfigPath: z.ZodObject<{
12232
12239
  orgID: z.ZodString;
12233
12240
  }, z.core.$strip>;
12234
12241
  /**
12235
- * Route response.
12242
+ * Created route response.
12236
12243
  */
12237
12244
  declare const zCreateModelProviderConfigResponse2: z.ZodObject<{
12238
12245
  config: z.ZodObject<{
@@ -12252,6 +12259,7 @@ declare const zCreateModelProviderConfigResponse2: z.ZodObject<{
12252
12259
  base_url: z.ZodString;
12253
12260
  endpoint_path: z.ZodString;
12254
12261
  request_timeout_ms: z.ZodInt;
12262
+ idle_timeout_ms: z.ZodInt;
12255
12263
  auth_kind: z.ZodEnum<{
12256
12264
  bearer_token: "bearer_token";
12257
12265
  api_key_header: "api_key_header";
@@ -12309,6 +12317,7 @@ declare const zGetModelProviderConfigResponse: z.ZodObject<{
12309
12317
  base_url: z.ZodString;
12310
12318
  endpoint_path: z.ZodString;
12311
12319
  request_timeout_ms: z.ZodInt;
12320
+ idle_timeout_ms: z.ZodInt;
12312
12321
  auth_kind: z.ZodEnum<{
12313
12322
  bearer_token: "bearer_token";
12314
12323
  api_key_header: "api_key_header";
@@ -12324,6 +12333,7 @@ declare const zUpdateModelProviderConfigBody: z.ZodObject<{
12324
12333
  base_url: z.ZodOptional<z.ZodString>;
12325
12334
  endpoint_path: z.ZodOptional<z.ZodString>;
12326
12335
  request_timeout_ms: z.ZodOptional<z.ZodInt>;
12336
+ idle_timeout_ms: z.ZodOptional<z.ZodInt>;
12327
12337
  auth_kind: z.ZodOptional<z.ZodEnum<{
12328
12338
  bearer_token: "bearer_token";
12329
12339
  api_key_header: "api_key_header";
@@ -12357,6 +12367,7 @@ declare const zUpdateModelProviderConfigResponse: z.ZodObject<{
12357
12367
  base_url: z.ZodString;
12358
12368
  endpoint_path: z.ZodString;
12359
12369
  request_timeout_ms: z.ZodInt;
12370
+ idle_timeout_ms: z.ZodInt;
12360
12371
  auth_kind: z.ZodEnum<{
12361
12372
  bearer_token: "bearer_token";
12362
12373
  api_key_header: "api_key_header";
@@ -12412,7 +12423,7 @@ declare const zListConfiguredModelsResponse: z.ZodObject<{
12412
12423
  current_revision_id: z.ZodString;
12413
12424
  provider_model_slug: z.ZodString;
12414
12425
  context_window_tokens: z.ZodInt;
12415
- max_output_tokens: z.ZodInt;
12426
+ max_output_tokens: z.ZodNullable<z.ZodInt>;
12416
12427
  default_max_output_tokens: z.ZodOptional<z.ZodNullable<z.ZodInt>>;
12417
12428
  default_cache_retention: z.ZodOptional<z.ZodEnum<{
12418
12429
  none: "none";
@@ -12456,7 +12467,7 @@ declare const zCreateConfiguredModelPath: z.ZodObject<{
12456
12467
  modelProviderConfigID: z.ZodString;
12457
12468
  }, z.core.$strip>;
12458
12469
  /**
12459
- * Route response.
12470
+ * Created route response.
12460
12471
  */
12461
12472
  declare const zCreateConfiguredModelResponse: z.ZodObject<{
12462
12473
  id: z.ZodString;
@@ -12470,7 +12481,7 @@ declare const zCreateConfiguredModelResponse: z.ZodObject<{
12470
12481
  current_revision_id: z.ZodString;
12471
12482
  provider_model_slug: z.ZodString;
12472
12483
  context_window_tokens: z.ZodInt;
12473
- max_output_tokens: z.ZodInt;
12484
+ max_output_tokens: z.ZodNullable<z.ZodInt>;
12474
12485
  default_max_output_tokens: z.ZodOptional<z.ZodNullable<z.ZodInt>>;
12475
12486
  default_cache_retention: z.ZodOptional<z.ZodEnum<{
12476
12487
  none: "none";
@@ -12501,7 +12512,7 @@ declare const zUpdateConfiguredModelBody: z.ZodObject<{
12501
12512
  name: z.ZodOptional<z.ZodPipe<z.ZodString, z.ZodTransform<string, string>>>;
12502
12513
  provider_model_slug: z.ZodOptional<z.ZodString>;
12503
12514
  context_window_tokens: z.ZodOptional<z.ZodInt>;
12504
- max_output_tokens: z.ZodOptional<z.ZodInt>;
12515
+ max_output_tokens: z.ZodOptional<z.ZodNullable<z.ZodInt>>;
12505
12516
  default_max_output_tokens: z.ZodOptional<z.ZodNullable<z.ZodInt>>;
12506
12517
  default_cache_retention: z.ZodOptional<z.ZodEnum<{
12507
12518
  none: "none";
@@ -12536,7 +12547,7 @@ declare const zUpdateConfiguredModelResponse: z.ZodObject<{
12536
12547
  current_revision_id: z.ZodString;
12537
12548
  provider_model_slug: z.ZodString;
12538
12549
  context_window_tokens: z.ZodInt;
12539
- max_output_tokens: z.ZodInt;
12550
+ max_output_tokens: z.ZodNullable<z.ZodInt>;
12540
12551
  default_max_output_tokens: z.ZodOptional<z.ZodNullable<z.ZodInt>>;
12541
12552
  default_cache_retention: z.ZodOptional<z.ZodEnum<{
12542
12553
  none: "none";
@@ -12632,7 +12643,7 @@ declare const zCreateProjectModelGrantPath: z.ZodObject<{
12632
12643
  projectID: z.ZodString;
12633
12644
  }, z.core.$strip>;
12634
12645
  /**
12635
- * Route response.
12646
+ * Created route response.
12636
12647
  */
12637
12648
  declare const zCreateProjectModelGrantResponse: z.ZodObject<{
12638
12649
  grant: z.ZodObject<{
package/dist/zod.js CHANGED
@@ -750,7 +750,7 @@ import {
750
750
  zVisibleMachine,
751
751
  zVisibleProject,
752
752
  zWarning
753
- } from "./chunk-6NNNQM73.js";
753
+ } from "./chunk-Q6U3G6AQ.js";
754
754
  export {
755
755
  zAcceptInvitationPath,
756
756
  zAcceptInvitationResponse,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@omnara/sdk",
3
- "version": "0.1.9",
3
+ "version": "0.1.10",
4
4
  "description": "TypeScript SDK for the Omnara API, with browser, TanStack Query, and Zod entry points",
5
5
  "license": "Apache-2.0",
6
6
  "homepage": "https://omnara.com",