@cdot65/prisma-airs-sdk 0.14.1 → 0.17.0

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.cts CHANGED
@@ -94169,6 +94169,463 @@ declare const TenantLanguagesResponseSchema: z.ZodObject<{
94169
94169
  }, z.ZodTypeAny, "passthrough">>, "many">;
94170
94170
  }, z.ZodTypeAny, "passthrough">>;
94171
94171
  type TenantLanguagesResponse = z.infer<typeof TenantLanguagesResponseSchema>;
94172
+ /** Whether an adapter configuration variable is a plain var or a sensitive secret. */
94173
+ declare const AdapterVarTypeSchema: z.ZodEnum<["VAR", "SECRET"]>;
94174
+ type AdapterVarType = z.infer<typeof AdapterVarTypeSchema>;
94175
+ /**
94176
+ * A single adapter configuration variable, as *sent* in requests (spec `AdapterVarBase`).
94177
+ * Also the shape of `TargetCreateRequest.adapter_variable_overrides` entries.
94178
+ *
94179
+ * On update, `value: null` means "keep the existing value" — the mechanism for leaving a
94180
+ * secret unchanged, since secret values are never returned.
94181
+ */
94182
+ declare const AdapterVarSchema: z.ZodObject<{
94183
+ key: z.ZodString;
94184
+ value: z.ZodOptional<z.ZodNullable<z.ZodString>>;
94185
+ type: z.ZodEnum<["VAR", "SECRET"]>;
94186
+ }, "strip", z.ZodTypeAny, {
94187
+ key: string;
94188
+ type: "VAR" | "SECRET";
94189
+ value?: string | null | undefined;
94190
+ }, {
94191
+ key: string;
94192
+ type: "VAR" | "SECRET";
94193
+ value?: string | null | undefined;
94194
+ }>;
94195
+ type AdapterVar = z.infer<typeof AdapterVarSchema>;
94196
+ /**
94197
+ * A variable as *returned* in adapter responses (spec `AdapterVarResponseSchema`).
94198
+ *
94199
+ * Secrets are masked with `is_redacted: true`. The spec says the masked `value` is `null`, but a
94200
+ * live tenant returns the literal placeholder string `'**********'` (verified 2026-08-01) — so
94201
+ * treat `is_redacted`, not the value, as the signal. Either form round-trips: pass the variable
94202
+ * back on validate/update alongside `adapter_uuid` and the real value is resolved from storage.
94203
+ */
94204
+ declare const AdapterVarResponseSchema: z.ZodObject<{
94205
+ key: z.ZodString;
94206
+ value: z.ZodOptional<z.ZodNullable<z.ZodString>>;
94207
+ type: z.ZodEnum<["VAR", "SECRET"]>;
94208
+ } & {
94209
+ is_redacted: z.ZodOptional<z.ZodBoolean>;
94210
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
94211
+ key: z.ZodString;
94212
+ value: z.ZodOptional<z.ZodNullable<z.ZodString>>;
94213
+ type: z.ZodEnum<["VAR", "SECRET"]>;
94214
+ } & {
94215
+ is_redacted: z.ZodOptional<z.ZodBoolean>;
94216
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
94217
+ key: z.ZodString;
94218
+ value: z.ZodOptional<z.ZodNullable<z.ZodString>>;
94219
+ type: z.ZodEnum<["VAR", "SECRET"]>;
94220
+ } & {
94221
+ is_redacted: z.ZodOptional<z.ZodBoolean>;
94222
+ }, z.ZodTypeAny, "passthrough">>;
94223
+ type AdapterVarResponse = z.infer<typeof AdapterVarResponseSchema>;
94224
+ declare const AdapterCreateRequestSchema: z.ZodObject<{
94225
+ name: z.ZodString;
94226
+ description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
94227
+ script_b64: z.ZodString;
94228
+ /** Optional while the adapter is a DRAFT; required to activate (`validate: true`). */
94229
+ network_broker_channel_uuid: z.ZodOptional<z.ZodNullable<z.ZodString>>;
94230
+ variables: z.ZodOptional<z.ZodArray<z.ZodObject<{
94231
+ key: z.ZodString;
94232
+ value: z.ZodOptional<z.ZodNullable<z.ZodString>>;
94233
+ type: z.ZodEnum<["VAR", "SECRET"]>;
94234
+ }, "strip", z.ZodTypeAny, {
94235
+ key: string;
94236
+ type: "VAR" | "SECRET";
94237
+ value?: string | null | undefined;
94238
+ }, {
94239
+ key: string;
94240
+ type: "VAR" | "SECRET";
94241
+ value?: string | null | undefined;
94242
+ }>, "many">>;
94243
+ /** Sample prompt used to exercise the adapter end-to-end during validation. Not stored. */
94244
+ prompt: z.ZodString;
94245
+ }, "strict", z.ZodTypeAny, {
94246
+ name: string;
94247
+ prompt: string;
94248
+ script_b64: string;
94249
+ description?: string | null | undefined;
94250
+ network_broker_channel_uuid?: string | null | undefined;
94251
+ variables?: {
94252
+ key: string;
94253
+ type: "VAR" | "SECRET";
94254
+ value?: string | null | undefined;
94255
+ }[] | undefined;
94256
+ }, {
94257
+ name: string;
94258
+ prompt: string;
94259
+ script_b64: string;
94260
+ description?: string | null | undefined;
94261
+ network_broker_channel_uuid?: string | null | undefined;
94262
+ variables?: {
94263
+ key: string;
94264
+ type: "VAR" | "SECRET";
94265
+ value?: string | null | undefined;
94266
+ }[] | undefined;
94267
+ }>;
94268
+ type AdapterCreateRequest = z.infer<typeof AdapterCreateRequestSchema>;
94269
+ /**
94270
+ * Update is a **full replacement** (PUT): `name`, `script_b64`, and `prompt` are required,
94271
+ * exactly as on create — this is not a partial patch.
94272
+ *
94273
+ * `variables` defines the complete desired key set:
94274
+ * - value provided → set/add the value
94275
+ * - value `null` → keep the existing value (unchanged secrets)
94276
+ * - key omitted → **delete** the variable
94277
+ */
94278
+ declare const AdapterUpdateRequestSchema: z.ZodObject<{
94279
+ name: z.ZodString;
94280
+ description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
94281
+ script_b64: z.ZodString;
94282
+ network_broker_channel_uuid: z.ZodOptional<z.ZodNullable<z.ZodString>>;
94283
+ variables: z.ZodOptional<z.ZodArray<z.ZodObject<{
94284
+ key: z.ZodString;
94285
+ value: z.ZodOptional<z.ZodNullable<z.ZodString>>;
94286
+ type: z.ZodEnum<["VAR", "SECRET"]>;
94287
+ }, "strip", z.ZodTypeAny, {
94288
+ key: string;
94289
+ type: "VAR" | "SECRET";
94290
+ value?: string | null | undefined;
94291
+ }, {
94292
+ key: string;
94293
+ type: "VAR" | "SECRET";
94294
+ value?: string | null | undefined;
94295
+ }>, "many">>;
94296
+ prompt: z.ZodString;
94297
+ }, "strict", z.ZodTypeAny, {
94298
+ name: string;
94299
+ prompt: string;
94300
+ script_b64: string;
94301
+ description?: string | null | undefined;
94302
+ network_broker_channel_uuid?: string | null | undefined;
94303
+ variables?: {
94304
+ key: string;
94305
+ type: "VAR" | "SECRET";
94306
+ value?: string | null | undefined;
94307
+ }[] | undefined;
94308
+ }, {
94309
+ name: string;
94310
+ prompt: string;
94311
+ script_b64: string;
94312
+ description?: string | null | undefined;
94313
+ network_broker_channel_uuid?: string | null | undefined;
94314
+ variables?: {
94315
+ key: string;
94316
+ type: "VAR" | "SECRET";
94317
+ value?: string | null | undefined;
94318
+ }[] | undefined;
94319
+ }>;
94320
+ type AdapterUpdateRequest = z.infer<typeof AdapterUpdateRequestSchema>;
94321
+ /**
94322
+ * Full adapter record (spec `CustomTargetAdapterSchema`) — returned by get, create, and update.
94323
+ * List rows use the smaller {@link AdapterListItemSchema}.
94324
+ *
94325
+ * `status` values are `DRAFT` | `ACTIVE`; kept as an open string per house convention so a
94326
+ * new upstream status cannot break response parsing.
94327
+ */
94328
+ declare const AdapterResponseSchema: z.ZodObject<{
94329
+ uuid: z.ZodString;
94330
+ tsg_id: z.ZodString;
94331
+ name: z.ZodString;
94332
+ script_b64: z.ZodString;
94333
+ status: z.ZodString;
94334
+ description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
94335
+ network_broker_channel_uuid: z.ZodOptional<z.ZodNullable<z.ZodString>>;
94336
+ variables: z.ZodOptional<z.ZodArray<z.ZodObject<{
94337
+ key: z.ZodString;
94338
+ value: z.ZodOptional<z.ZodNullable<z.ZodString>>;
94339
+ type: z.ZodEnum<["VAR", "SECRET"]>;
94340
+ } & {
94341
+ is_redacted: z.ZodOptional<z.ZodBoolean>;
94342
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
94343
+ key: z.ZodString;
94344
+ value: z.ZodOptional<z.ZodNullable<z.ZodString>>;
94345
+ type: z.ZodEnum<["VAR", "SECRET"]>;
94346
+ } & {
94347
+ is_redacted: z.ZodOptional<z.ZodBoolean>;
94348
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
94349
+ key: z.ZodString;
94350
+ value: z.ZodOptional<z.ZodNullable<z.ZodString>>;
94351
+ type: z.ZodEnum<["VAR", "SECRET"]>;
94352
+ } & {
94353
+ is_redacted: z.ZodOptional<z.ZodBoolean>;
94354
+ }, z.ZodTypeAny, "passthrough">>, "many">>;
94355
+ /** Number of targets currently referencing this adapter. */
94356
+ target_count: z.ZodOptional<z.ZodNumber>;
94357
+ created_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
94358
+ updated_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
94359
+ created_by_user_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
94360
+ updated_by_user_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
94361
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
94362
+ uuid: z.ZodString;
94363
+ tsg_id: z.ZodString;
94364
+ name: z.ZodString;
94365
+ script_b64: z.ZodString;
94366
+ status: z.ZodString;
94367
+ description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
94368
+ network_broker_channel_uuid: z.ZodOptional<z.ZodNullable<z.ZodString>>;
94369
+ variables: z.ZodOptional<z.ZodArray<z.ZodObject<{
94370
+ key: z.ZodString;
94371
+ value: z.ZodOptional<z.ZodNullable<z.ZodString>>;
94372
+ type: z.ZodEnum<["VAR", "SECRET"]>;
94373
+ } & {
94374
+ is_redacted: z.ZodOptional<z.ZodBoolean>;
94375
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
94376
+ key: z.ZodString;
94377
+ value: z.ZodOptional<z.ZodNullable<z.ZodString>>;
94378
+ type: z.ZodEnum<["VAR", "SECRET"]>;
94379
+ } & {
94380
+ is_redacted: z.ZodOptional<z.ZodBoolean>;
94381
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
94382
+ key: z.ZodString;
94383
+ value: z.ZodOptional<z.ZodNullable<z.ZodString>>;
94384
+ type: z.ZodEnum<["VAR", "SECRET"]>;
94385
+ } & {
94386
+ is_redacted: z.ZodOptional<z.ZodBoolean>;
94387
+ }, z.ZodTypeAny, "passthrough">>, "many">>;
94388
+ /** Number of targets currently referencing this adapter. */
94389
+ target_count: z.ZodOptional<z.ZodNumber>;
94390
+ created_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
94391
+ updated_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
94392
+ created_by_user_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
94393
+ updated_by_user_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
94394
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
94395
+ uuid: z.ZodString;
94396
+ tsg_id: z.ZodString;
94397
+ name: z.ZodString;
94398
+ script_b64: z.ZodString;
94399
+ status: z.ZodString;
94400
+ description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
94401
+ network_broker_channel_uuid: z.ZodOptional<z.ZodNullable<z.ZodString>>;
94402
+ variables: z.ZodOptional<z.ZodArray<z.ZodObject<{
94403
+ key: z.ZodString;
94404
+ value: z.ZodOptional<z.ZodNullable<z.ZodString>>;
94405
+ type: z.ZodEnum<["VAR", "SECRET"]>;
94406
+ } & {
94407
+ is_redacted: z.ZodOptional<z.ZodBoolean>;
94408
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
94409
+ key: z.ZodString;
94410
+ value: z.ZodOptional<z.ZodNullable<z.ZodString>>;
94411
+ type: z.ZodEnum<["VAR", "SECRET"]>;
94412
+ } & {
94413
+ is_redacted: z.ZodOptional<z.ZodBoolean>;
94414
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
94415
+ key: z.ZodString;
94416
+ value: z.ZodOptional<z.ZodNullable<z.ZodString>>;
94417
+ type: z.ZodEnum<["VAR", "SECRET"]>;
94418
+ } & {
94419
+ is_redacted: z.ZodOptional<z.ZodBoolean>;
94420
+ }, z.ZodTypeAny, "passthrough">>, "many">>;
94421
+ /** Number of targets currently referencing this adapter. */
94422
+ target_count: z.ZodOptional<z.ZodNumber>;
94423
+ created_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
94424
+ updated_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
94425
+ created_by_user_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
94426
+ updated_by_user_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
94427
+ }, z.ZodTypeAny, "passthrough">>;
94428
+ type AdapterResponse = z.infer<typeof AdapterResponseSchema>;
94429
+ /**
94430
+ * One list row (spec `CustomTargetAdapterListItemSchema`) — a 7-field subset. List rows carry
94431
+ * no `script_b64`, `tsg_id`, `description`, or `variables`; call `get()` for the full record.
94432
+ * `target_count` is populated only when the list was requested with `include_target_count`.
94433
+ */
94434
+ declare const AdapterListItemSchema: z.ZodObject<{
94435
+ uuid: z.ZodString;
94436
+ name: z.ZodString;
94437
+ status: z.ZodString;
94438
+ created_at: z.ZodString;
94439
+ updated_at: z.ZodString;
94440
+ created_by_user_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
94441
+ target_count: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
94442
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
94443
+ uuid: z.ZodString;
94444
+ name: z.ZodString;
94445
+ status: z.ZodString;
94446
+ created_at: z.ZodString;
94447
+ updated_at: z.ZodString;
94448
+ created_by_user_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
94449
+ target_count: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
94450
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
94451
+ uuid: z.ZodString;
94452
+ name: z.ZodString;
94453
+ status: z.ZodString;
94454
+ created_at: z.ZodString;
94455
+ updated_at: z.ZodString;
94456
+ created_by_user_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
94457
+ target_count: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
94458
+ }, z.ZodTypeAny, "passthrough">>;
94459
+ type AdapterListItem = z.infer<typeof AdapterListItemSchema>;
94460
+ declare const AdapterListSchema: z.ZodObject<{
94461
+ pagination: z.ZodObject<{
94462
+ total_items: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
94463
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
94464
+ total_items: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
94465
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
94466
+ total_items: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
94467
+ }, z.ZodTypeAny, "passthrough">>;
94468
+ data: z.ZodOptional<z.ZodArray<z.ZodObject<{
94469
+ uuid: z.ZodString;
94470
+ name: z.ZodString;
94471
+ status: z.ZodString;
94472
+ created_at: z.ZodString;
94473
+ updated_at: z.ZodString;
94474
+ created_by_user_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
94475
+ target_count: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
94476
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
94477
+ uuid: z.ZodString;
94478
+ name: z.ZodString;
94479
+ status: z.ZodString;
94480
+ created_at: z.ZodString;
94481
+ updated_at: z.ZodString;
94482
+ created_by_user_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
94483
+ target_count: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
94484
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
94485
+ uuid: z.ZodString;
94486
+ name: z.ZodString;
94487
+ status: z.ZodString;
94488
+ created_at: z.ZodString;
94489
+ updated_at: z.ZodString;
94490
+ created_by_user_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
94491
+ target_count: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
94492
+ }, z.ZodTypeAny, "passthrough">>, "many">>;
94493
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
94494
+ pagination: z.ZodObject<{
94495
+ total_items: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
94496
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
94497
+ total_items: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
94498
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
94499
+ total_items: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
94500
+ }, z.ZodTypeAny, "passthrough">>;
94501
+ data: z.ZodOptional<z.ZodArray<z.ZodObject<{
94502
+ uuid: z.ZodString;
94503
+ name: z.ZodString;
94504
+ status: z.ZodString;
94505
+ created_at: z.ZodString;
94506
+ updated_at: z.ZodString;
94507
+ created_by_user_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
94508
+ target_count: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
94509
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
94510
+ uuid: z.ZodString;
94511
+ name: z.ZodString;
94512
+ status: z.ZodString;
94513
+ created_at: z.ZodString;
94514
+ updated_at: z.ZodString;
94515
+ created_by_user_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
94516
+ target_count: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
94517
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
94518
+ uuid: z.ZodString;
94519
+ name: z.ZodString;
94520
+ status: z.ZodString;
94521
+ created_at: z.ZodString;
94522
+ updated_at: z.ZodString;
94523
+ created_by_user_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
94524
+ target_count: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
94525
+ }, z.ZodTypeAny, "passthrough">>, "many">>;
94526
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
94527
+ pagination: z.ZodObject<{
94528
+ total_items: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
94529
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
94530
+ total_items: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
94531
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
94532
+ total_items: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
94533
+ }, z.ZodTypeAny, "passthrough">>;
94534
+ data: z.ZodOptional<z.ZodArray<z.ZodObject<{
94535
+ uuid: z.ZodString;
94536
+ name: z.ZodString;
94537
+ status: z.ZodString;
94538
+ created_at: z.ZodString;
94539
+ updated_at: z.ZodString;
94540
+ created_by_user_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
94541
+ target_count: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
94542
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
94543
+ uuid: z.ZodString;
94544
+ name: z.ZodString;
94545
+ status: z.ZodString;
94546
+ created_at: z.ZodString;
94547
+ updated_at: z.ZodString;
94548
+ created_by_user_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
94549
+ target_count: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
94550
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
94551
+ uuid: z.ZodString;
94552
+ name: z.ZodString;
94553
+ status: z.ZodString;
94554
+ created_at: z.ZodString;
94555
+ updated_at: z.ZodString;
94556
+ created_by_user_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
94557
+ target_count: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
94558
+ }, z.ZodTypeAny, "passthrough">>, "many">>;
94559
+ }, z.ZodTypeAny, "passthrough">>;
94560
+ type AdapterList = z.infer<typeof AdapterListSchema>;
94561
+ /**
94562
+ * Request for `POST /v1/adapters/validate` (spec `CustomTargetAdapterValidateRequestSchema`).
94563
+ * Deliberately NOT the create request: there is no `name`, `network_broker_channel_uuid` is
94564
+ * **required**, and `adapter_uuid` may reference an existing adapter so redacted/`null`
94565
+ * variable values are resolved from its stored secret before validation.
94566
+ */
94567
+ declare const AdapterValidateRequestSchema: z.ZodObject<{
94568
+ script_b64: z.ZodString;
94569
+ network_broker_channel_uuid: z.ZodString;
94570
+ prompt: z.ZodString;
94571
+ variables: z.ZodOptional<z.ZodArray<z.ZodObject<{
94572
+ key: z.ZodString;
94573
+ value: z.ZodOptional<z.ZodNullable<z.ZodString>>;
94574
+ type: z.ZodEnum<["VAR", "SECRET"]>;
94575
+ }, "strip", z.ZodTypeAny, {
94576
+ key: string;
94577
+ type: "VAR" | "SECRET";
94578
+ value?: string | null | undefined;
94579
+ }, {
94580
+ key: string;
94581
+ type: "VAR" | "SECRET";
94582
+ value?: string | null | undefined;
94583
+ }>, "many">>;
94584
+ /** Omit when validating a brand-new adapter. */
94585
+ adapter_uuid: z.ZodOptional<z.ZodNullable<z.ZodString>>;
94586
+ }, "strict", z.ZodTypeAny, {
94587
+ prompt: string;
94588
+ script_b64: string;
94589
+ network_broker_channel_uuid: string;
94590
+ variables?: {
94591
+ key: string;
94592
+ type: "VAR" | "SECRET";
94593
+ value?: string | null | undefined;
94594
+ }[] | undefined;
94595
+ adapter_uuid?: string | null | undefined;
94596
+ }, {
94597
+ prompt: string;
94598
+ script_b64: string;
94599
+ network_broker_channel_uuid: string;
94600
+ variables?: {
94601
+ key: string;
94602
+ type: "VAR" | "SECRET";
94603
+ value?: string | null | undefined;
94604
+ }[] | undefined;
94605
+ adapter_uuid?: string | null | undefined;
94606
+ }>;
94607
+ type AdapterValidateRequest = z.infer<typeof AdapterValidateRequestSchema>;
94608
+ /**
94609
+ * Result of a validation run (spec `CustomTargetAdapterValidateResponseSchema`) — the script's
94610
+ * execution outcome, not an adapter record.
94611
+ */
94612
+ declare const AdapterValidateResponseSchema: z.ZodObject<{
94613
+ validated: z.ZodBoolean;
94614
+ stdout: z.ZodOptional<z.ZodNullable<z.ZodString>>;
94615
+ stderr: z.ZodOptional<z.ZodNullable<z.ZodString>>;
94616
+ traceback: z.ZodOptional<z.ZodNullable<z.ZodString>>;
94617
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
94618
+ validated: z.ZodBoolean;
94619
+ stdout: z.ZodOptional<z.ZodNullable<z.ZodString>>;
94620
+ stderr: z.ZodOptional<z.ZodNullable<z.ZodString>>;
94621
+ traceback: z.ZodOptional<z.ZodNullable<z.ZodString>>;
94622
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
94623
+ validated: z.ZodBoolean;
94624
+ stdout: z.ZodOptional<z.ZodNullable<z.ZodString>>;
94625
+ stderr: z.ZodOptional<z.ZodNullable<z.ZodString>>;
94626
+ traceback: z.ZodOptional<z.ZodNullable<z.ZodString>>;
94627
+ }, z.ZodTypeAny, "passthrough">>;
94628
+ type AdapterValidateResponse = z.infer<typeof AdapterValidateResponseSchema>;
94172
94629
  declare const TargetCreateRequestSchema: z.ZodObject<{
94173
94630
  readonly name: z.ZodString;
94174
94631
  readonly description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -94321,6 +94778,22 @@ declare const TargetCreateRequestSchema: z.ZodObject<{
94321
94778
  }, z.ZodTypeAny, "passthrough">>>>;
94322
94779
  readonly extra_info: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
94323
94780
  readonly network_broker_channel_uuid: z.ZodOptional<z.ZodNullable<z.ZodString>>;
94781
+ /** UUID of the custom target adapter to use. Required when connection_type is CUSTOM_TARGET_ADAPTER. */
94782
+ readonly adapter_uuid: z.ZodOptional<z.ZodNullable<z.ZodString>>;
94783
+ /** Per-target overrides for the adapter's variables. Array of AdapterVar objects. */
94784
+ readonly adapter_variable_overrides: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
94785
+ key: z.ZodString;
94786
+ value: z.ZodOptional<z.ZodNullable<z.ZodString>>;
94787
+ type: z.ZodEnum<["VAR", "SECRET"]>;
94788
+ }, "strip", z.ZodTypeAny, {
94789
+ key: string;
94790
+ type: "VAR" | "SECRET";
94791
+ value?: string | null | undefined;
94792
+ }, {
94793
+ key: string;
94794
+ type: "VAR" | "SECRET";
94795
+ value?: string | null | undefined;
94796
+ }>, "many">>>;
94324
94797
  }, "strict", z.ZodTypeAny, {
94325
94798
  name: string;
94326
94799
  description?: string | null | undefined;
@@ -94358,6 +94831,8 @@ declare const TargetCreateRequestSchema: z.ZodObject<{
94358
94831
  banned_keywords: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString, "many">>>;
94359
94832
  tools_accessible: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString, "many">>>;
94360
94833
  }, z.ZodTypeAny, "passthrough"> | null | undefined;
94834
+ network_broker_channel_uuid?: string | null | undefined;
94835
+ adapter_uuid?: string | null | undefined;
94361
94836
  connection_params?: z.objectOutputType<{
94362
94837
  api_endpoint: z.ZodOptional<z.ZodNullable<z.ZodString>>;
94363
94838
  request_headers: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
@@ -94380,7 +94855,11 @@ declare const TargetCreateRequestSchema: z.ZodObject<{
94380
94855
  response_stop_key: z.ZodString;
94381
94856
  response_stop_value: z.ZodString;
94382
94857
  }, z.ZodTypeAny, "passthrough"> | null | undefined;
94383
- network_broker_channel_uuid?: string | null | undefined;
94858
+ adapter_variable_overrides?: {
94859
+ key: string;
94860
+ type: "VAR" | "SECRET";
94861
+ value?: string | null | undefined;
94862
+ }[] | null | undefined;
94384
94863
  }, {
94385
94864
  name: string;
94386
94865
  description?: string | null | undefined;
@@ -94418,6 +94897,8 @@ declare const TargetCreateRequestSchema: z.ZodObject<{
94418
94897
  banned_keywords: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString, "many">>>;
94419
94898
  tools_accessible: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString, "many">>>;
94420
94899
  }, z.ZodTypeAny, "passthrough"> | null | undefined;
94900
+ network_broker_channel_uuid?: string | null | undefined;
94901
+ adapter_uuid?: string | null | undefined;
94421
94902
  connection_params?: z.objectInputType<{
94422
94903
  api_endpoint: z.ZodOptional<z.ZodNullable<z.ZodString>>;
94423
94904
  request_headers: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
@@ -94440,7 +94921,11 @@ declare const TargetCreateRequestSchema: z.ZodObject<{
94440
94921
  response_stop_key: z.ZodString;
94441
94922
  response_stop_value: z.ZodString;
94442
94923
  }, z.ZodTypeAny, "passthrough"> | null | undefined;
94443
- network_broker_channel_uuid?: string | null | undefined;
94924
+ adapter_variable_overrides?: {
94925
+ key: string;
94926
+ type: "VAR" | "SECRET";
94927
+ value?: string | null | undefined;
94928
+ }[] | null | undefined;
94444
94929
  }>;
94445
94930
  type TargetCreateRequest = z.infer<typeof TargetCreateRequestSchema>;
94446
94931
  declare const TargetUpdateRequestSchema: z.ZodObject<{
@@ -94595,6 +95080,22 @@ declare const TargetUpdateRequestSchema: z.ZodObject<{
94595
95080
  }, z.ZodTypeAny, "passthrough">>>>;
94596
95081
  readonly extra_info: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
94597
95082
  readonly network_broker_channel_uuid: z.ZodOptional<z.ZodNullable<z.ZodString>>;
95083
+ /** UUID of the custom target adapter to use. Required when connection_type is CUSTOM_TARGET_ADAPTER. */
95084
+ readonly adapter_uuid: z.ZodOptional<z.ZodNullable<z.ZodString>>;
95085
+ /** Per-target overrides for the adapter's variables. Array of AdapterVar objects. */
95086
+ readonly adapter_variable_overrides: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
95087
+ key: z.ZodString;
95088
+ value: z.ZodOptional<z.ZodNullable<z.ZodString>>;
95089
+ type: z.ZodEnum<["VAR", "SECRET"]>;
95090
+ }, "strip", z.ZodTypeAny, {
95091
+ key: string;
95092
+ type: "VAR" | "SECRET";
95093
+ value?: string | null | undefined;
95094
+ }, {
95095
+ key: string;
95096
+ type: "VAR" | "SECRET";
95097
+ value?: string | null | undefined;
95098
+ }>, "many">>>;
94598
95099
  }, "strict", z.ZodTypeAny, {
94599
95100
  name: string;
94600
95101
  description?: string | null | undefined;
@@ -94632,6 +95133,8 @@ declare const TargetUpdateRequestSchema: z.ZodObject<{
94632
95133
  banned_keywords: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString, "many">>>;
94633
95134
  tools_accessible: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString, "many">>>;
94634
95135
  }, z.ZodTypeAny, "passthrough"> | null | undefined;
95136
+ network_broker_channel_uuid?: string | null | undefined;
95137
+ adapter_uuid?: string | null | undefined;
94635
95138
  connection_params?: z.objectOutputType<{
94636
95139
  api_endpoint: z.ZodOptional<z.ZodNullable<z.ZodString>>;
94637
95140
  request_headers: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
@@ -94654,7 +95157,11 @@ declare const TargetUpdateRequestSchema: z.ZodObject<{
94654
95157
  response_stop_key: z.ZodString;
94655
95158
  response_stop_value: z.ZodString;
94656
95159
  }, z.ZodTypeAny, "passthrough"> | null | undefined;
94657
- network_broker_channel_uuid?: string | null | undefined;
95160
+ adapter_variable_overrides?: {
95161
+ key: string;
95162
+ type: "VAR" | "SECRET";
95163
+ value?: string | null | undefined;
95164
+ }[] | null | undefined;
94658
95165
  }, {
94659
95166
  name: string;
94660
95167
  description?: string | null | undefined;
@@ -94692,6 +95199,8 @@ declare const TargetUpdateRequestSchema: z.ZodObject<{
94692
95199
  banned_keywords: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString, "many">>>;
94693
95200
  tools_accessible: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString, "many">>>;
94694
95201
  }, z.ZodTypeAny, "passthrough"> | null | undefined;
95202
+ network_broker_channel_uuid?: string | null | undefined;
95203
+ adapter_uuid?: string | null | undefined;
94695
95204
  connection_params?: z.objectInputType<{
94696
95205
  api_endpoint: z.ZodOptional<z.ZodNullable<z.ZodString>>;
94697
95206
  request_headers: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
@@ -94714,7 +95223,11 @@ declare const TargetUpdateRequestSchema: z.ZodObject<{
94714
95223
  response_stop_key: z.ZodString;
94715
95224
  response_stop_value: z.ZodString;
94716
95225
  }, z.ZodTypeAny, "passthrough"> | null | undefined;
94717
- network_broker_channel_uuid?: string | null | undefined;
95226
+ adapter_variable_overrides?: {
95227
+ key: string;
95228
+ type: "VAR" | "SECRET";
95229
+ value?: string | null | undefined;
95230
+ }[] | null | undefined;
94718
95231
  }>;
94719
95232
  type TargetUpdateRequest = z.infer<typeof TargetUpdateRequestSchema>;
94720
95233
  declare const TargetContextUpdateSchema: z.ZodObject<{
@@ -95341,6 +95854,20 @@ declare const TargetProbeRequestSchema: z.ZodObject<{
95341
95854
  }, z.ZodTypeAny, "passthrough">>>>;
95342
95855
  extra_info: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
95343
95856
  network_broker_channel_uuid: z.ZodOptional<z.ZodNullable<z.ZodString>>;
95857
+ adapter_uuid: z.ZodOptional<z.ZodNullable<z.ZodString>>;
95858
+ adapter_variable_overrides: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
95859
+ key: z.ZodString;
95860
+ value: z.ZodOptional<z.ZodNullable<z.ZodString>>;
95861
+ type: z.ZodEnum<["VAR", "SECRET"]>;
95862
+ }, "strip", z.ZodTypeAny, {
95863
+ key: string;
95864
+ type: "VAR" | "SECRET";
95865
+ value?: string | null | undefined;
95866
+ }, {
95867
+ key: string;
95868
+ type: "VAR" | "SECRET";
95869
+ value?: string | null | undefined;
95870
+ }>, "many">>>;
95344
95871
  }, "strict", z.ZodTypeAny, {
95345
95872
  name: string;
95346
95873
  uuid?: string | null | undefined;
@@ -95379,6 +95906,8 @@ declare const TargetProbeRequestSchema: z.ZodObject<{
95379
95906
  banned_keywords: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString, "many">>>;
95380
95907
  tools_accessible: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString, "many">>>;
95381
95908
  }, z.ZodTypeAny, "passthrough"> | null | undefined;
95909
+ network_broker_channel_uuid?: string | null | undefined;
95910
+ adapter_uuid?: string | null | undefined;
95382
95911
  connection_params?: z.objectOutputType<{
95383
95912
  api_endpoint: z.ZodOptional<z.ZodNullable<z.ZodString>>;
95384
95913
  request_headers: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
@@ -95401,7 +95930,11 @@ declare const TargetProbeRequestSchema: z.ZodObject<{
95401
95930
  response_stop_key: z.ZodString;
95402
95931
  response_stop_value: z.ZodString;
95403
95932
  }, z.ZodTypeAny, "passthrough"> | null | undefined;
95404
- network_broker_channel_uuid?: string | null | undefined;
95933
+ adapter_variable_overrides?: {
95934
+ key: string;
95935
+ type: "VAR" | "SECRET";
95936
+ value?: string | null | undefined;
95937
+ }[] | null | undefined;
95405
95938
  probe_fields?: string[] | null | undefined;
95406
95939
  }, {
95407
95940
  name: string;
@@ -95441,6 +95974,8 @@ declare const TargetProbeRequestSchema: z.ZodObject<{
95441
95974
  banned_keywords: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString, "many">>>;
95442
95975
  tools_accessible: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString, "many">>>;
95443
95976
  }, z.ZodTypeAny, "passthrough"> | null | undefined;
95977
+ network_broker_channel_uuid?: string | null | undefined;
95978
+ adapter_uuid?: string | null | undefined;
95444
95979
  connection_params?: z.objectInputType<{
95445
95980
  api_endpoint: z.ZodOptional<z.ZodNullable<z.ZodString>>;
95446
95981
  request_headers: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
@@ -95463,7 +95998,11 @@ declare const TargetProbeRequestSchema: z.ZodObject<{
95463
95998
  response_stop_key: z.ZodString;
95464
95999
  response_stop_value: z.ZodString;
95465
96000
  }, z.ZodTypeAny, "passthrough"> | null | undefined;
95466
- network_broker_channel_uuid?: string | null | undefined;
96001
+ adapter_variable_overrides?: {
96002
+ key: string;
96003
+ type: "VAR" | "SECRET";
96004
+ value?: string | null | undefined;
96005
+ }[] | null | undefined;
95467
96006
  probe_fields?: string[] | null | undefined;
95468
96007
  }>;
95469
96008
  type TargetProbeRequest = z.infer<typeof TargetProbeRequestSchema>;
@@ -98297,16 +98836,63 @@ declare const ChannelStatsSchema: z.ZodObject<{
98297
98836
  total_channels: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
98298
98837
  client_version: z.ZodOptional<z.ZodNullable<z.ZodString>>;
98299
98838
  }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
98300
- network_channels_server_domain: z.ZodOptional<z.ZodNullable<z.ZodString>>;
98301
- docker_registry: z.ZodOptional<z.ZodNullable<z.ZodString>>;
98302
- helm_chart: z.ZodOptional<z.ZodNullable<z.ZodString>>;
98303
- docker_image: z.ZodOptional<z.ZodNullable<z.ZodString>>;
98304
- online_channels: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
98305
- total_channels: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
98306
- client_version: z.ZodOptional<z.ZodNullable<z.ZodString>>;
98839
+ network_channels_server_domain: z.ZodOptional<z.ZodNullable<z.ZodString>>;
98840
+ docker_registry: z.ZodOptional<z.ZodNullable<z.ZodString>>;
98841
+ helm_chart: z.ZodOptional<z.ZodNullable<z.ZodString>>;
98842
+ docker_image: z.ZodOptional<z.ZodNullable<z.ZodString>>;
98843
+ online_channels: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
98844
+ total_channels: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
98845
+ client_version: z.ZodOptional<z.ZodNullable<z.ZodString>>;
98846
+ }, z.ZodTypeAny, "passthrough">>;
98847
+ type ChannelStats = z.infer<typeof ChannelStatsSchema>;
98848
+
98849
+ /**
98850
+ * One usage-limit policy. Attached to workspaces and to integration/workspace bindings.
98851
+ *
98852
+ * Every field is optional: the upstream contract defines `credit_limit`, `type`,
98853
+ * `alert_threshold`, `periodic_reset`, `periodic_reset_days` and `next_usage_reset_at`, but a live
98854
+ * tenant also returns server-side bookkeeping the spec omits (`id`, `status`, `current_usage`,
98855
+ * `is_exhausted_alerts_sent`, `is_threshold_alerts_sent`). Passthrough keeps those rather than
98856
+ * stripping them, and optionality means a partial policy from either side still parses.
98857
+ */
98858
+ declare const GatewayUsageLimitSchema: z.ZodObject<{
98859
+ credit_limit: z.ZodOptional<z.ZodNumber>;
98860
+ type: z.ZodOptional<z.ZodString>;
98861
+ alert_threshold: z.ZodOptional<z.ZodNumber>;
98862
+ periodic_reset: z.ZodOptional<z.ZodNullable<z.ZodString>>;
98863
+ periodic_reset_days: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
98864
+ next_usage_reset_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
98865
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
98866
+ credit_limit: z.ZodOptional<z.ZodNumber>;
98867
+ type: z.ZodOptional<z.ZodString>;
98868
+ alert_threshold: z.ZodOptional<z.ZodNumber>;
98869
+ periodic_reset: z.ZodOptional<z.ZodNullable<z.ZodString>>;
98870
+ periodic_reset_days: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
98871
+ next_usage_reset_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
98872
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
98873
+ credit_limit: z.ZodOptional<z.ZodNumber>;
98874
+ type: z.ZodOptional<z.ZodString>;
98875
+ alert_threshold: z.ZodOptional<z.ZodNumber>;
98876
+ periodic_reset: z.ZodOptional<z.ZodNullable<z.ZodString>>;
98877
+ periodic_reset_days: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
98878
+ next_usage_reset_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
98879
+ }, z.ZodTypeAny, "passthrough">>;
98880
+ type GatewayUsageLimit = z.infer<typeof GatewayUsageLimitSchema>;
98881
+ /** One rate-limit policy: `type` requests|tokens, `unit` rpd|rph|rpm, `value`. */
98882
+ declare const GatewayRateLimitSchema: z.ZodObject<{
98883
+ type: z.ZodOptional<z.ZodString>;
98884
+ unit: z.ZodOptional<z.ZodString>;
98885
+ value: z.ZodOptional<z.ZodNumber>;
98886
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
98887
+ type: z.ZodOptional<z.ZodString>;
98888
+ unit: z.ZodOptional<z.ZodString>;
98889
+ value: z.ZodOptional<z.ZodNumber>;
98890
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
98891
+ type: z.ZodOptional<z.ZodString>;
98892
+ unit: z.ZodOptional<z.ZodString>;
98893
+ value: z.ZodOptional<z.ZodNumber>;
98307
98894
  }, z.ZodTypeAny, "passthrough">>;
98308
- type ChannelStats = z.infer<typeof ChannelStatsSchema>;
98309
-
98895
+ type GatewayRateLimit = z.infer<typeof GatewayRateLimitSchema>;
98310
98896
  /** A `{x, y}` time-bucket, optionally carrying a bucket average. */
98311
98897
  declare const GatewayChartRecordSchema: z.ZodObject<{
98312
98898
  x: z.ZodString;
@@ -102153,7 +102739,7 @@ declare const GatewayWorkspaceSchema: z.ZodObject<{
102153
102739
  slug: z.ZodString;
102154
102740
  name: z.ZodString;
102155
102741
  icon: z.ZodNullable<z.ZodString>;
102156
- description: z.ZodString;
102742
+ description: z.ZodNullable<z.ZodString>;
102157
102743
  created_at: z.ZodString;
102158
102744
  last_updated_at: z.ZodString;
102159
102745
  is_default: z.ZodNumber;
@@ -102165,7 +102751,7 @@ declare const GatewayWorkspaceSchema: z.ZodObject<{
102165
102751
  slug: z.ZodString;
102166
102752
  name: z.ZodString;
102167
102753
  icon: z.ZodNullable<z.ZodString>;
102168
- description: z.ZodString;
102754
+ description: z.ZodNullable<z.ZodString>;
102169
102755
  created_at: z.ZodString;
102170
102756
  last_updated_at: z.ZodString;
102171
102757
  is_default: z.ZodNumber;
@@ -102177,7 +102763,7 @@ declare const GatewayWorkspaceSchema: z.ZodObject<{
102177
102763
  slug: z.ZodString;
102178
102764
  name: z.ZodString;
102179
102765
  icon: z.ZodNullable<z.ZodString>;
102180
- description: z.ZodString;
102766
+ description: z.ZodNullable<z.ZodString>;
102181
102767
  created_at: z.ZodString;
102182
102768
  last_updated_at: z.ZodString;
102183
102769
  is_default: z.ZodNumber;
@@ -102190,50 +102776,219 @@ type GatewayWorkspace = z.infer<typeof GatewayWorkspaceSchema>;
102190
102776
  declare const GatewayWorkspaceDetailSchema: z.ZodObject<{
102191
102777
  id: z.ZodString;
102192
102778
  name: z.ZodString;
102193
- description: z.ZodString;
102779
+ /** Nullable — see `GatewayWorkspaceSchema.description`. */
102780
+ description: z.ZodNullable<z.ZodString>;
102194
102781
  created_at: z.ZodString;
102195
102782
  last_updated_at: z.ZodString;
102196
102783
  is_default: z.ZodNumber;
102197
102784
  slug: z.ZodString;
102198
102785
  icon: z.ZodNullable<z.ZodString>;
102199
102786
  defaults: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
102200
- usage_limits: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
102201
- rate_limits: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
102787
+ usage_limits: z.ZodNullable<z.ZodUnion<[z.ZodArray<z.ZodObject<{
102788
+ credit_limit: z.ZodOptional<z.ZodNumber>;
102789
+ type: z.ZodOptional<z.ZodString>;
102790
+ alert_threshold: z.ZodOptional<z.ZodNumber>;
102791
+ periodic_reset: z.ZodOptional<z.ZodNullable<z.ZodString>>;
102792
+ periodic_reset_days: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
102793
+ next_usage_reset_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
102794
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
102795
+ credit_limit: z.ZodOptional<z.ZodNumber>;
102796
+ type: z.ZodOptional<z.ZodString>;
102797
+ alert_threshold: z.ZodOptional<z.ZodNumber>;
102798
+ periodic_reset: z.ZodOptional<z.ZodNullable<z.ZodString>>;
102799
+ periodic_reset_days: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
102800
+ next_usage_reset_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
102801
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
102802
+ credit_limit: z.ZodOptional<z.ZodNumber>;
102803
+ type: z.ZodOptional<z.ZodString>;
102804
+ alert_threshold: z.ZodOptional<z.ZodNumber>;
102805
+ periodic_reset: z.ZodOptional<z.ZodNullable<z.ZodString>>;
102806
+ periodic_reset_days: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
102807
+ next_usage_reset_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
102808
+ }, z.ZodTypeAny, "passthrough">>, "many">, z.ZodRecord<z.ZodString, z.ZodUnknown>]>>;
102809
+ rate_limits: z.ZodNullable<z.ZodUnion<[z.ZodArray<z.ZodObject<{
102810
+ type: z.ZodOptional<z.ZodString>;
102811
+ unit: z.ZodOptional<z.ZodString>;
102812
+ value: z.ZodOptional<z.ZodNumber>;
102813
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
102814
+ type: z.ZodOptional<z.ZodString>;
102815
+ unit: z.ZodOptional<z.ZodString>;
102816
+ value: z.ZodOptional<z.ZodNumber>;
102817
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
102818
+ type: z.ZodOptional<z.ZodString>;
102819
+ unit: z.ZodOptional<z.ZodString>;
102820
+ value: z.ZodOptional<z.ZodNumber>;
102821
+ }, z.ZodTypeAny, "passthrough">>, "many">, z.ZodRecord<z.ZodString, z.ZodUnknown>]>>;
102202
102822
  security_settings: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodBoolean>>;
102203
102823
  data_plane_security_settings: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
102204
102824
  settings: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
102825
+ /**
102826
+ * Lifecycle state. **Diverges from the list row**: `list()` reports `'active'` for a
102827
+ * workspace whose `get()` reports `null` (observed live 2026-08-01). Prefer the list value,
102828
+ * or treat a `null` here as "unknown", not as "inactive".
102829
+ */
102830
+ status: z.ZodOptional<z.ZodNullable<z.ZodString>>;
102205
102831
  }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
102206
102832
  id: z.ZodString;
102207
102833
  name: z.ZodString;
102208
- description: z.ZodString;
102834
+ /** Nullable — see `GatewayWorkspaceSchema.description`. */
102835
+ description: z.ZodNullable<z.ZodString>;
102209
102836
  created_at: z.ZodString;
102210
102837
  last_updated_at: z.ZodString;
102211
102838
  is_default: z.ZodNumber;
102212
102839
  slug: z.ZodString;
102213
102840
  icon: z.ZodNullable<z.ZodString>;
102214
102841
  defaults: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
102215
- usage_limits: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
102216
- rate_limits: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
102842
+ usage_limits: z.ZodNullable<z.ZodUnion<[z.ZodArray<z.ZodObject<{
102843
+ credit_limit: z.ZodOptional<z.ZodNumber>;
102844
+ type: z.ZodOptional<z.ZodString>;
102845
+ alert_threshold: z.ZodOptional<z.ZodNumber>;
102846
+ periodic_reset: z.ZodOptional<z.ZodNullable<z.ZodString>>;
102847
+ periodic_reset_days: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
102848
+ next_usage_reset_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
102849
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
102850
+ credit_limit: z.ZodOptional<z.ZodNumber>;
102851
+ type: z.ZodOptional<z.ZodString>;
102852
+ alert_threshold: z.ZodOptional<z.ZodNumber>;
102853
+ periodic_reset: z.ZodOptional<z.ZodNullable<z.ZodString>>;
102854
+ periodic_reset_days: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
102855
+ next_usage_reset_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
102856
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
102857
+ credit_limit: z.ZodOptional<z.ZodNumber>;
102858
+ type: z.ZodOptional<z.ZodString>;
102859
+ alert_threshold: z.ZodOptional<z.ZodNumber>;
102860
+ periodic_reset: z.ZodOptional<z.ZodNullable<z.ZodString>>;
102861
+ periodic_reset_days: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
102862
+ next_usage_reset_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
102863
+ }, z.ZodTypeAny, "passthrough">>, "many">, z.ZodRecord<z.ZodString, z.ZodUnknown>]>>;
102864
+ rate_limits: z.ZodNullable<z.ZodUnion<[z.ZodArray<z.ZodObject<{
102865
+ type: z.ZodOptional<z.ZodString>;
102866
+ unit: z.ZodOptional<z.ZodString>;
102867
+ value: z.ZodOptional<z.ZodNumber>;
102868
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
102869
+ type: z.ZodOptional<z.ZodString>;
102870
+ unit: z.ZodOptional<z.ZodString>;
102871
+ value: z.ZodOptional<z.ZodNumber>;
102872
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
102873
+ type: z.ZodOptional<z.ZodString>;
102874
+ unit: z.ZodOptional<z.ZodString>;
102875
+ value: z.ZodOptional<z.ZodNumber>;
102876
+ }, z.ZodTypeAny, "passthrough">>, "many">, z.ZodRecord<z.ZodString, z.ZodUnknown>]>>;
102217
102877
  security_settings: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodBoolean>>;
102218
102878
  data_plane_security_settings: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
102219
102879
  settings: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
102880
+ /**
102881
+ * Lifecycle state. **Diverges from the list row**: `list()` reports `'active'` for a
102882
+ * workspace whose `get()` reports `null` (observed live 2026-08-01). Prefer the list value,
102883
+ * or treat a `null` here as "unknown", not as "inactive".
102884
+ */
102885
+ status: z.ZodOptional<z.ZodNullable<z.ZodString>>;
102220
102886
  }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
102221
102887
  id: z.ZodString;
102222
102888
  name: z.ZodString;
102223
- description: z.ZodString;
102889
+ /** Nullable — see `GatewayWorkspaceSchema.description`. */
102890
+ description: z.ZodNullable<z.ZodString>;
102224
102891
  created_at: z.ZodString;
102225
102892
  last_updated_at: z.ZodString;
102226
102893
  is_default: z.ZodNumber;
102227
102894
  slug: z.ZodString;
102228
102895
  icon: z.ZodNullable<z.ZodString>;
102229
102896
  defaults: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
102230
- usage_limits: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
102231
- rate_limits: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
102897
+ usage_limits: z.ZodNullable<z.ZodUnion<[z.ZodArray<z.ZodObject<{
102898
+ credit_limit: z.ZodOptional<z.ZodNumber>;
102899
+ type: z.ZodOptional<z.ZodString>;
102900
+ alert_threshold: z.ZodOptional<z.ZodNumber>;
102901
+ periodic_reset: z.ZodOptional<z.ZodNullable<z.ZodString>>;
102902
+ periodic_reset_days: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
102903
+ next_usage_reset_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
102904
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
102905
+ credit_limit: z.ZodOptional<z.ZodNumber>;
102906
+ type: z.ZodOptional<z.ZodString>;
102907
+ alert_threshold: z.ZodOptional<z.ZodNumber>;
102908
+ periodic_reset: z.ZodOptional<z.ZodNullable<z.ZodString>>;
102909
+ periodic_reset_days: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
102910
+ next_usage_reset_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
102911
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
102912
+ credit_limit: z.ZodOptional<z.ZodNumber>;
102913
+ type: z.ZodOptional<z.ZodString>;
102914
+ alert_threshold: z.ZodOptional<z.ZodNumber>;
102915
+ periodic_reset: z.ZodOptional<z.ZodNullable<z.ZodString>>;
102916
+ periodic_reset_days: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
102917
+ next_usage_reset_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
102918
+ }, z.ZodTypeAny, "passthrough">>, "many">, z.ZodRecord<z.ZodString, z.ZodUnknown>]>>;
102919
+ rate_limits: z.ZodNullable<z.ZodUnion<[z.ZodArray<z.ZodObject<{
102920
+ type: z.ZodOptional<z.ZodString>;
102921
+ unit: z.ZodOptional<z.ZodString>;
102922
+ value: z.ZodOptional<z.ZodNumber>;
102923
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
102924
+ type: z.ZodOptional<z.ZodString>;
102925
+ unit: z.ZodOptional<z.ZodString>;
102926
+ value: z.ZodOptional<z.ZodNumber>;
102927
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
102928
+ type: z.ZodOptional<z.ZodString>;
102929
+ unit: z.ZodOptional<z.ZodString>;
102930
+ value: z.ZodOptional<z.ZodNumber>;
102931
+ }, z.ZodTypeAny, "passthrough">>, "many">, z.ZodRecord<z.ZodString, z.ZodUnknown>]>>;
102232
102932
  security_settings: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodBoolean>>;
102233
102933
  data_plane_security_settings: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
102234
102934
  settings: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
102935
+ /**
102936
+ * Lifecycle state. **Diverges from the list row**: `list()` reports `'active'` for a
102937
+ * workspace whose `get()` reports `null` (observed live 2026-08-01). Prefer the list value,
102938
+ * or treat a `null` here as "unknown", not as "inactive".
102939
+ */
102940
+ status: z.ZodOptional<z.ZodNullable<z.ZodString>>;
102235
102941
  }, z.ZodTypeAny, "passthrough">>;
102236
102942
  type GatewayWorkspaceDetail = z.infer<typeof GatewayWorkspaceDetailSchema>;
102943
+ /**
102944
+ * `POST /ai_gw/admin/v2/workspaces` response — verified live 2026-08-01.
102945
+ *
102946
+ * **The exception to this subsystem's "receipt, not record" write pattern.** `configs.create()`,
102947
+ * `guardrails.create()`, `providers.create()`, and `deployments.create()` each return a 4-5 field
102948
+ * receipt; workspace create returns most of the record instead.
102949
+ *
102950
+ * It is still not the full detail shape — `status`, `is_default`, `icon`, `usage_limits`,
102951
+ * `rate_limits`, and the settings blocks are all absent — so call `get()` when you need those.
102952
+ * Conversely `users` appears here and nowhere else.
102953
+ */
102954
+ declare const GatewayWorkspaceCreateResponseSchema: z.ZodObject<{
102955
+ id: z.ZodString;
102956
+ name: z.ZodString;
102957
+ slug: z.ZodString;
102958
+ description: z.ZodNullable<z.ZodString>;
102959
+ created_at: z.ZodString;
102960
+ last_updated_at: z.ZodString;
102961
+ scope_name: z.ZodString;
102962
+ object: z.ZodString;
102963
+ defaults: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
102964
+ /** Seeded workspace members. Present on create only. */
102965
+ users: z.ZodOptional<z.ZodArray<z.ZodUnknown, "many">>;
102966
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
102967
+ id: z.ZodString;
102968
+ name: z.ZodString;
102969
+ slug: z.ZodString;
102970
+ description: z.ZodNullable<z.ZodString>;
102971
+ created_at: z.ZodString;
102972
+ last_updated_at: z.ZodString;
102973
+ scope_name: z.ZodString;
102974
+ object: z.ZodString;
102975
+ defaults: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
102976
+ /** Seeded workspace members. Present on create only. */
102977
+ users: z.ZodOptional<z.ZodArray<z.ZodUnknown, "many">>;
102978
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
102979
+ id: z.ZodString;
102980
+ name: z.ZodString;
102981
+ slug: z.ZodString;
102982
+ description: z.ZodNullable<z.ZodString>;
102983
+ created_at: z.ZodString;
102984
+ last_updated_at: z.ZodString;
102985
+ scope_name: z.ZodString;
102986
+ object: z.ZodString;
102987
+ defaults: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
102988
+ /** Seeded workspace members. Present on create only. */
102989
+ users: z.ZodOptional<z.ZodArray<z.ZodUnknown, "many">>;
102990
+ }, z.ZodTypeAny, "passthrough">>;
102991
+ type GatewayWorkspaceCreateResponse = z.infer<typeof GatewayWorkspaceCreateResponseSchema>;
102237
102992
  declare const ListWorkspacesResponseSchema: z.ZodObject<{
102238
102993
  object: z.ZodString;
102239
102994
  total: z.ZodNumber;
@@ -102243,7 +102998,7 @@ declare const ListWorkspacesResponseSchema: z.ZodObject<{
102243
102998
  slug: z.ZodString;
102244
102999
  name: z.ZodString;
102245
103000
  icon: z.ZodNullable<z.ZodString>;
102246
- description: z.ZodString;
103001
+ description: z.ZodNullable<z.ZodString>;
102247
103002
  created_at: z.ZodString;
102248
103003
  last_updated_at: z.ZodString;
102249
103004
  is_default: z.ZodNumber;
@@ -102255,7 +103010,7 @@ declare const ListWorkspacesResponseSchema: z.ZodObject<{
102255
103010
  slug: z.ZodString;
102256
103011
  name: z.ZodString;
102257
103012
  icon: z.ZodNullable<z.ZodString>;
102258
- description: z.ZodString;
103013
+ description: z.ZodNullable<z.ZodString>;
102259
103014
  created_at: z.ZodString;
102260
103015
  last_updated_at: z.ZodString;
102261
103016
  is_default: z.ZodNumber;
@@ -102267,7 +103022,7 @@ declare const ListWorkspacesResponseSchema: z.ZodObject<{
102267
103022
  slug: z.ZodString;
102268
103023
  name: z.ZodString;
102269
103024
  icon: z.ZodNullable<z.ZodString>;
102270
- description: z.ZodString;
103025
+ description: z.ZodNullable<z.ZodString>;
102271
103026
  created_at: z.ZodString;
102272
103027
  last_updated_at: z.ZodString;
102273
103028
  is_default: z.ZodNumber;
@@ -102284,7 +103039,7 @@ declare const ListWorkspacesResponseSchema: z.ZodObject<{
102284
103039
  slug: z.ZodString;
102285
103040
  name: z.ZodString;
102286
103041
  icon: z.ZodNullable<z.ZodString>;
102287
- description: z.ZodString;
103042
+ description: z.ZodNullable<z.ZodString>;
102288
103043
  created_at: z.ZodString;
102289
103044
  last_updated_at: z.ZodString;
102290
103045
  is_default: z.ZodNumber;
@@ -102296,7 +103051,7 @@ declare const ListWorkspacesResponseSchema: z.ZodObject<{
102296
103051
  slug: z.ZodString;
102297
103052
  name: z.ZodString;
102298
103053
  icon: z.ZodNullable<z.ZodString>;
102299
- description: z.ZodString;
103054
+ description: z.ZodNullable<z.ZodString>;
102300
103055
  created_at: z.ZodString;
102301
103056
  last_updated_at: z.ZodString;
102302
103057
  is_default: z.ZodNumber;
@@ -102308,7 +103063,7 @@ declare const ListWorkspacesResponseSchema: z.ZodObject<{
102308
103063
  slug: z.ZodString;
102309
103064
  name: z.ZodString;
102310
103065
  icon: z.ZodNullable<z.ZodString>;
102311
- description: z.ZodString;
103066
+ description: z.ZodNullable<z.ZodString>;
102312
103067
  created_at: z.ZodString;
102313
103068
  last_updated_at: z.ZodString;
102314
103069
  is_default: z.ZodNumber;
@@ -102325,7 +103080,7 @@ declare const ListWorkspacesResponseSchema: z.ZodObject<{
102325
103080
  slug: z.ZodString;
102326
103081
  name: z.ZodString;
102327
103082
  icon: z.ZodNullable<z.ZodString>;
102328
- description: z.ZodString;
103083
+ description: z.ZodNullable<z.ZodString>;
102329
103084
  created_at: z.ZodString;
102330
103085
  last_updated_at: z.ZodString;
102331
103086
  is_default: z.ZodNumber;
@@ -102337,7 +103092,7 @@ declare const ListWorkspacesResponseSchema: z.ZodObject<{
102337
103092
  slug: z.ZodString;
102338
103093
  name: z.ZodString;
102339
103094
  icon: z.ZodNullable<z.ZodString>;
102340
- description: z.ZodString;
103095
+ description: z.ZodNullable<z.ZodString>;
102341
103096
  created_at: z.ZodString;
102342
103097
  last_updated_at: z.ZodString;
102343
103098
  is_default: z.ZodNumber;
@@ -102349,7 +103104,7 @@ declare const ListWorkspacesResponseSchema: z.ZodObject<{
102349
103104
  slug: z.ZodString;
102350
103105
  name: z.ZodString;
102351
103106
  icon: z.ZodNullable<z.ZodString>;
102352
- description: z.ZodString;
103107
+ description: z.ZodNullable<z.ZodString>;
102353
103108
  created_at: z.ZodString;
102354
103109
  last_updated_at: z.ZodString;
102355
103110
  is_default: z.ZodNumber;
@@ -104180,8 +104935,41 @@ type GatewayIntegrationModelsResponse = z.infer<typeof GatewayIntegrationModelsR
104180
104935
  */
104181
104936
  declare const GatewayIntegrationWorkspaceSchema: z.ZodObject<{
104182
104937
  id: z.ZodString;
104183
- usage_limits: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
104184
- rate_limits: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
104938
+ usage_limits: z.ZodNullable<z.ZodUnion<[z.ZodArray<z.ZodObject<{
104939
+ credit_limit: z.ZodOptional<z.ZodNumber>;
104940
+ type: z.ZodOptional<z.ZodString>;
104941
+ alert_threshold: z.ZodOptional<z.ZodNumber>;
104942
+ periodic_reset: z.ZodOptional<z.ZodNullable<z.ZodString>>;
104943
+ periodic_reset_days: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
104944
+ next_usage_reset_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
104945
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
104946
+ credit_limit: z.ZodOptional<z.ZodNumber>;
104947
+ type: z.ZodOptional<z.ZodString>;
104948
+ alert_threshold: z.ZodOptional<z.ZodNumber>;
104949
+ periodic_reset: z.ZodOptional<z.ZodNullable<z.ZodString>>;
104950
+ periodic_reset_days: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
104951
+ next_usage_reset_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
104952
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
104953
+ credit_limit: z.ZodOptional<z.ZodNumber>;
104954
+ type: z.ZodOptional<z.ZodString>;
104955
+ alert_threshold: z.ZodOptional<z.ZodNumber>;
104956
+ periodic_reset: z.ZodOptional<z.ZodNullable<z.ZodString>>;
104957
+ periodic_reset_days: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
104958
+ next_usage_reset_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
104959
+ }, z.ZodTypeAny, "passthrough">>, "many">, z.ZodRecord<z.ZodString, z.ZodUnknown>]>>;
104960
+ rate_limits: z.ZodNullable<z.ZodUnion<[z.ZodArray<z.ZodObject<{
104961
+ type: z.ZodOptional<z.ZodString>;
104962
+ unit: z.ZodOptional<z.ZodString>;
104963
+ value: z.ZodOptional<z.ZodNumber>;
104964
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
104965
+ type: z.ZodOptional<z.ZodString>;
104966
+ unit: z.ZodOptional<z.ZodString>;
104967
+ value: z.ZodOptional<z.ZodNumber>;
104968
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
104969
+ type: z.ZodOptional<z.ZodString>;
104970
+ unit: z.ZodOptional<z.ZodString>;
104971
+ value: z.ZodOptional<z.ZodNumber>;
104972
+ }, z.ZodTypeAny, "passthrough">>, "many">, z.ZodRecord<z.ZodString, z.ZodUnknown>]>>;
104185
104973
  enabled: z.ZodBoolean;
104186
104974
  status: z.ZodString;
104187
104975
  created_at: z.ZodString;
@@ -104189,8 +104977,41 @@ declare const GatewayIntegrationWorkspaceSchema: z.ZodObject<{
104189
104977
  last_reset_at: z.ZodNullable<z.ZodString>;
104190
104978
  }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
104191
104979
  id: z.ZodString;
104192
- usage_limits: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
104193
- rate_limits: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
104980
+ usage_limits: z.ZodNullable<z.ZodUnion<[z.ZodArray<z.ZodObject<{
104981
+ credit_limit: z.ZodOptional<z.ZodNumber>;
104982
+ type: z.ZodOptional<z.ZodString>;
104983
+ alert_threshold: z.ZodOptional<z.ZodNumber>;
104984
+ periodic_reset: z.ZodOptional<z.ZodNullable<z.ZodString>>;
104985
+ periodic_reset_days: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
104986
+ next_usage_reset_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
104987
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
104988
+ credit_limit: z.ZodOptional<z.ZodNumber>;
104989
+ type: z.ZodOptional<z.ZodString>;
104990
+ alert_threshold: z.ZodOptional<z.ZodNumber>;
104991
+ periodic_reset: z.ZodOptional<z.ZodNullable<z.ZodString>>;
104992
+ periodic_reset_days: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
104993
+ next_usage_reset_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
104994
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
104995
+ credit_limit: z.ZodOptional<z.ZodNumber>;
104996
+ type: z.ZodOptional<z.ZodString>;
104997
+ alert_threshold: z.ZodOptional<z.ZodNumber>;
104998
+ periodic_reset: z.ZodOptional<z.ZodNullable<z.ZodString>>;
104999
+ periodic_reset_days: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
105000
+ next_usage_reset_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
105001
+ }, z.ZodTypeAny, "passthrough">>, "many">, z.ZodRecord<z.ZodString, z.ZodUnknown>]>>;
105002
+ rate_limits: z.ZodNullable<z.ZodUnion<[z.ZodArray<z.ZodObject<{
105003
+ type: z.ZodOptional<z.ZodString>;
105004
+ unit: z.ZodOptional<z.ZodString>;
105005
+ value: z.ZodOptional<z.ZodNumber>;
105006
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
105007
+ type: z.ZodOptional<z.ZodString>;
105008
+ unit: z.ZodOptional<z.ZodString>;
105009
+ value: z.ZodOptional<z.ZodNumber>;
105010
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
105011
+ type: z.ZodOptional<z.ZodString>;
105012
+ unit: z.ZodOptional<z.ZodString>;
105013
+ value: z.ZodOptional<z.ZodNumber>;
105014
+ }, z.ZodTypeAny, "passthrough">>, "many">, z.ZodRecord<z.ZodString, z.ZodUnknown>]>>;
104194
105015
  enabled: z.ZodBoolean;
104195
105016
  status: z.ZodString;
104196
105017
  created_at: z.ZodString;
@@ -104198,8 +105019,41 @@ declare const GatewayIntegrationWorkspaceSchema: z.ZodObject<{
104198
105019
  last_reset_at: z.ZodNullable<z.ZodString>;
104199
105020
  }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
104200
105021
  id: z.ZodString;
104201
- usage_limits: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
104202
- rate_limits: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
105022
+ usage_limits: z.ZodNullable<z.ZodUnion<[z.ZodArray<z.ZodObject<{
105023
+ credit_limit: z.ZodOptional<z.ZodNumber>;
105024
+ type: z.ZodOptional<z.ZodString>;
105025
+ alert_threshold: z.ZodOptional<z.ZodNumber>;
105026
+ periodic_reset: z.ZodOptional<z.ZodNullable<z.ZodString>>;
105027
+ periodic_reset_days: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
105028
+ next_usage_reset_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
105029
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
105030
+ credit_limit: z.ZodOptional<z.ZodNumber>;
105031
+ type: z.ZodOptional<z.ZodString>;
105032
+ alert_threshold: z.ZodOptional<z.ZodNumber>;
105033
+ periodic_reset: z.ZodOptional<z.ZodNullable<z.ZodString>>;
105034
+ periodic_reset_days: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
105035
+ next_usage_reset_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
105036
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
105037
+ credit_limit: z.ZodOptional<z.ZodNumber>;
105038
+ type: z.ZodOptional<z.ZodString>;
105039
+ alert_threshold: z.ZodOptional<z.ZodNumber>;
105040
+ periodic_reset: z.ZodOptional<z.ZodNullable<z.ZodString>>;
105041
+ periodic_reset_days: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
105042
+ next_usage_reset_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
105043
+ }, z.ZodTypeAny, "passthrough">>, "many">, z.ZodRecord<z.ZodString, z.ZodUnknown>]>>;
105044
+ rate_limits: z.ZodNullable<z.ZodUnion<[z.ZodArray<z.ZodObject<{
105045
+ type: z.ZodOptional<z.ZodString>;
105046
+ unit: z.ZodOptional<z.ZodString>;
105047
+ value: z.ZodOptional<z.ZodNumber>;
105048
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
105049
+ type: z.ZodOptional<z.ZodString>;
105050
+ unit: z.ZodOptional<z.ZodString>;
105051
+ value: z.ZodOptional<z.ZodNumber>;
105052
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
105053
+ type: z.ZodOptional<z.ZodString>;
105054
+ unit: z.ZodOptional<z.ZodString>;
105055
+ value: z.ZodOptional<z.ZodNumber>;
105056
+ }, z.ZodTypeAny, "passthrough">>, "many">, z.ZodRecord<z.ZodString, z.ZodUnknown>]>>;
104203
105057
  enabled: z.ZodBoolean;
104204
105058
  status: z.ZodString;
104205
105059
  created_at: z.ZodString;
@@ -104214,24 +105068,156 @@ type GatewayIntegrationWorkspace = z.infer<typeof GatewayIntegrationWorkspaceSch
104214
105068
  */
104215
105069
  declare const GatewayGlobalWorkspaceAccessSchema: z.ZodObject<{
104216
105070
  enabled: z.ZodBoolean;
104217
- rate_limits: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
104218
- usage_limits: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
105071
+ rate_limits: z.ZodNullable<z.ZodUnion<[z.ZodArray<z.ZodObject<{
105072
+ type: z.ZodOptional<z.ZodString>;
105073
+ unit: z.ZodOptional<z.ZodString>;
105074
+ value: z.ZodOptional<z.ZodNumber>;
105075
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
105076
+ type: z.ZodOptional<z.ZodString>;
105077
+ unit: z.ZodOptional<z.ZodString>;
105078
+ value: z.ZodOptional<z.ZodNumber>;
105079
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
105080
+ type: z.ZodOptional<z.ZodString>;
105081
+ unit: z.ZodOptional<z.ZodString>;
105082
+ value: z.ZodOptional<z.ZodNumber>;
105083
+ }, z.ZodTypeAny, "passthrough">>, "many">, z.ZodRecord<z.ZodString, z.ZodUnknown>]>>;
105084
+ usage_limits: z.ZodNullable<z.ZodUnion<[z.ZodArray<z.ZodObject<{
105085
+ credit_limit: z.ZodOptional<z.ZodNumber>;
105086
+ type: z.ZodOptional<z.ZodString>;
105087
+ alert_threshold: z.ZodOptional<z.ZodNumber>;
105088
+ periodic_reset: z.ZodOptional<z.ZodNullable<z.ZodString>>;
105089
+ periodic_reset_days: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
105090
+ next_usage_reset_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
105091
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
105092
+ credit_limit: z.ZodOptional<z.ZodNumber>;
105093
+ type: z.ZodOptional<z.ZodString>;
105094
+ alert_threshold: z.ZodOptional<z.ZodNumber>;
105095
+ periodic_reset: z.ZodOptional<z.ZodNullable<z.ZodString>>;
105096
+ periodic_reset_days: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
105097
+ next_usage_reset_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
105098
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
105099
+ credit_limit: z.ZodOptional<z.ZodNumber>;
105100
+ type: z.ZodOptional<z.ZodString>;
105101
+ alert_threshold: z.ZodOptional<z.ZodNumber>;
105102
+ periodic_reset: z.ZodOptional<z.ZodNullable<z.ZodString>>;
105103
+ periodic_reset_days: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
105104
+ next_usage_reset_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
105105
+ }, z.ZodTypeAny, "passthrough">>, "many">, z.ZodRecord<z.ZodString, z.ZodUnknown>]>>;
104219
105106
  }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
104220
105107
  enabled: z.ZodBoolean;
104221
- rate_limits: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
104222
- usage_limits: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
105108
+ rate_limits: z.ZodNullable<z.ZodUnion<[z.ZodArray<z.ZodObject<{
105109
+ type: z.ZodOptional<z.ZodString>;
105110
+ unit: z.ZodOptional<z.ZodString>;
105111
+ value: z.ZodOptional<z.ZodNumber>;
105112
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
105113
+ type: z.ZodOptional<z.ZodString>;
105114
+ unit: z.ZodOptional<z.ZodString>;
105115
+ value: z.ZodOptional<z.ZodNumber>;
105116
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
105117
+ type: z.ZodOptional<z.ZodString>;
105118
+ unit: z.ZodOptional<z.ZodString>;
105119
+ value: z.ZodOptional<z.ZodNumber>;
105120
+ }, z.ZodTypeAny, "passthrough">>, "many">, z.ZodRecord<z.ZodString, z.ZodUnknown>]>>;
105121
+ usage_limits: z.ZodNullable<z.ZodUnion<[z.ZodArray<z.ZodObject<{
105122
+ credit_limit: z.ZodOptional<z.ZodNumber>;
105123
+ type: z.ZodOptional<z.ZodString>;
105124
+ alert_threshold: z.ZodOptional<z.ZodNumber>;
105125
+ periodic_reset: z.ZodOptional<z.ZodNullable<z.ZodString>>;
105126
+ periodic_reset_days: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
105127
+ next_usage_reset_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
105128
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
105129
+ credit_limit: z.ZodOptional<z.ZodNumber>;
105130
+ type: z.ZodOptional<z.ZodString>;
105131
+ alert_threshold: z.ZodOptional<z.ZodNumber>;
105132
+ periodic_reset: z.ZodOptional<z.ZodNullable<z.ZodString>>;
105133
+ periodic_reset_days: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
105134
+ next_usage_reset_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
105135
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
105136
+ credit_limit: z.ZodOptional<z.ZodNumber>;
105137
+ type: z.ZodOptional<z.ZodString>;
105138
+ alert_threshold: z.ZodOptional<z.ZodNumber>;
105139
+ periodic_reset: z.ZodOptional<z.ZodNullable<z.ZodString>>;
105140
+ periodic_reset_days: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
105141
+ next_usage_reset_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
105142
+ }, z.ZodTypeAny, "passthrough">>, "many">, z.ZodRecord<z.ZodString, z.ZodUnknown>]>>;
104223
105143
  }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
104224
105144
  enabled: z.ZodBoolean;
104225
- rate_limits: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
104226
- usage_limits: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
105145
+ rate_limits: z.ZodNullable<z.ZodUnion<[z.ZodArray<z.ZodObject<{
105146
+ type: z.ZodOptional<z.ZodString>;
105147
+ unit: z.ZodOptional<z.ZodString>;
105148
+ value: z.ZodOptional<z.ZodNumber>;
105149
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
105150
+ type: z.ZodOptional<z.ZodString>;
105151
+ unit: z.ZodOptional<z.ZodString>;
105152
+ value: z.ZodOptional<z.ZodNumber>;
105153
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
105154
+ type: z.ZodOptional<z.ZodString>;
105155
+ unit: z.ZodOptional<z.ZodString>;
105156
+ value: z.ZodOptional<z.ZodNumber>;
105157
+ }, z.ZodTypeAny, "passthrough">>, "many">, z.ZodRecord<z.ZodString, z.ZodUnknown>]>>;
105158
+ usage_limits: z.ZodNullable<z.ZodUnion<[z.ZodArray<z.ZodObject<{
105159
+ credit_limit: z.ZodOptional<z.ZodNumber>;
105160
+ type: z.ZodOptional<z.ZodString>;
105161
+ alert_threshold: z.ZodOptional<z.ZodNumber>;
105162
+ periodic_reset: z.ZodOptional<z.ZodNullable<z.ZodString>>;
105163
+ periodic_reset_days: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
105164
+ next_usage_reset_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
105165
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
105166
+ credit_limit: z.ZodOptional<z.ZodNumber>;
105167
+ type: z.ZodOptional<z.ZodString>;
105168
+ alert_threshold: z.ZodOptional<z.ZodNumber>;
105169
+ periodic_reset: z.ZodOptional<z.ZodNullable<z.ZodString>>;
105170
+ periodic_reset_days: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
105171
+ next_usage_reset_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
105172
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
105173
+ credit_limit: z.ZodOptional<z.ZodNumber>;
105174
+ type: z.ZodOptional<z.ZodString>;
105175
+ alert_threshold: z.ZodOptional<z.ZodNumber>;
105176
+ periodic_reset: z.ZodOptional<z.ZodNullable<z.ZodString>>;
105177
+ periodic_reset_days: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
105178
+ next_usage_reset_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
105179
+ }, z.ZodTypeAny, "passthrough">>, "many">, z.ZodRecord<z.ZodString, z.ZodUnknown>]>>;
104227
105180
  }, z.ZodTypeAny, "passthrough">>;
104228
105181
  type GatewayGlobalWorkspaceAccess = z.infer<typeof GatewayGlobalWorkspaceAccessSchema>;
104229
105182
  /** `integrations/{id}/workspaces` — which workspaces may use this integration. */
104230
105183
  declare const GatewayIntegrationWorkspacesResponseSchema: z.ZodObject<{
104231
105184
  workspaces: z.ZodArray<z.ZodObject<{
104232
105185
  id: z.ZodString;
104233
- usage_limits: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
104234
- rate_limits: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
105186
+ usage_limits: z.ZodNullable<z.ZodUnion<[z.ZodArray<z.ZodObject<{
105187
+ credit_limit: z.ZodOptional<z.ZodNumber>;
105188
+ type: z.ZodOptional<z.ZodString>;
105189
+ alert_threshold: z.ZodOptional<z.ZodNumber>;
105190
+ periodic_reset: z.ZodOptional<z.ZodNullable<z.ZodString>>;
105191
+ periodic_reset_days: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
105192
+ next_usage_reset_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
105193
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
105194
+ credit_limit: z.ZodOptional<z.ZodNumber>;
105195
+ type: z.ZodOptional<z.ZodString>;
105196
+ alert_threshold: z.ZodOptional<z.ZodNumber>;
105197
+ periodic_reset: z.ZodOptional<z.ZodNullable<z.ZodString>>;
105198
+ periodic_reset_days: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
105199
+ next_usage_reset_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
105200
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
105201
+ credit_limit: z.ZodOptional<z.ZodNumber>;
105202
+ type: z.ZodOptional<z.ZodString>;
105203
+ alert_threshold: z.ZodOptional<z.ZodNumber>;
105204
+ periodic_reset: z.ZodOptional<z.ZodNullable<z.ZodString>>;
105205
+ periodic_reset_days: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
105206
+ next_usage_reset_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
105207
+ }, z.ZodTypeAny, "passthrough">>, "many">, z.ZodRecord<z.ZodString, z.ZodUnknown>]>>;
105208
+ rate_limits: z.ZodNullable<z.ZodUnion<[z.ZodArray<z.ZodObject<{
105209
+ type: z.ZodOptional<z.ZodString>;
105210
+ unit: z.ZodOptional<z.ZodString>;
105211
+ value: z.ZodOptional<z.ZodNumber>;
105212
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
105213
+ type: z.ZodOptional<z.ZodString>;
105214
+ unit: z.ZodOptional<z.ZodString>;
105215
+ value: z.ZodOptional<z.ZodNumber>;
105216
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
105217
+ type: z.ZodOptional<z.ZodString>;
105218
+ unit: z.ZodOptional<z.ZodString>;
105219
+ value: z.ZodOptional<z.ZodNumber>;
105220
+ }, z.ZodTypeAny, "passthrough">>, "many">, z.ZodRecord<z.ZodString, z.ZodUnknown>]>>;
104235
105221
  enabled: z.ZodBoolean;
104236
105222
  status: z.ZodString;
104237
105223
  created_at: z.ZodString;
@@ -104239,8 +105225,41 @@ declare const GatewayIntegrationWorkspacesResponseSchema: z.ZodObject<{
104239
105225
  last_reset_at: z.ZodNullable<z.ZodString>;
104240
105226
  }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
104241
105227
  id: z.ZodString;
104242
- usage_limits: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
104243
- rate_limits: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
105228
+ usage_limits: z.ZodNullable<z.ZodUnion<[z.ZodArray<z.ZodObject<{
105229
+ credit_limit: z.ZodOptional<z.ZodNumber>;
105230
+ type: z.ZodOptional<z.ZodString>;
105231
+ alert_threshold: z.ZodOptional<z.ZodNumber>;
105232
+ periodic_reset: z.ZodOptional<z.ZodNullable<z.ZodString>>;
105233
+ periodic_reset_days: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
105234
+ next_usage_reset_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
105235
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
105236
+ credit_limit: z.ZodOptional<z.ZodNumber>;
105237
+ type: z.ZodOptional<z.ZodString>;
105238
+ alert_threshold: z.ZodOptional<z.ZodNumber>;
105239
+ periodic_reset: z.ZodOptional<z.ZodNullable<z.ZodString>>;
105240
+ periodic_reset_days: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
105241
+ next_usage_reset_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
105242
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
105243
+ credit_limit: z.ZodOptional<z.ZodNumber>;
105244
+ type: z.ZodOptional<z.ZodString>;
105245
+ alert_threshold: z.ZodOptional<z.ZodNumber>;
105246
+ periodic_reset: z.ZodOptional<z.ZodNullable<z.ZodString>>;
105247
+ periodic_reset_days: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
105248
+ next_usage_reset_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
105249
+ }, z.ZodTypeAny, "passthrough">>, "many">, z.ZodRecord<z.ZodString, z.ZodUnknown>]>>;
105250
+ rate_limits: z.ZodNullable<z.ZodUnion<[z.ZodArray<z.ZodObject<{
105251
+ type: z.ZodOptional<z.ZodString>;
105252
+ unit: z.ZodOptional<z.ZodString>;
105253
+ value: z.ZodOptional<z.ZodNumber>;
105254
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
105255
+ type: z.ZodOptional<z.ZodString>;
105256
+ unit: z.ZodOptional<z.ZodString>;
105257
+ value: z.ZodOptional<z.ZodNumber>;
105258
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
105259
+ type: z.ZodOptional<z.ZodString>;
105260
+ unit: z.ZodOptional<z.ZodString>;
105261
+ value: z.ZodOptional<z.ZodNumber>;
105262
+ }, z.ZodTypeAny, "passthrough">>, "many">, z.ZodRecord<z.ZodString, z.ZodUnknown>]>>;
104244
105263
  enabled: z.ZodBoolean;
104245
105264
  status: z.ZodString;
104246
105265
  created_at: z.ZodString;
@@ -104248,8 +105267,41 @@ declare const GatewayIntegrationWorkspacesResponseSchema: z.ZodObject<{
104248
105267
  last_reset_at: z.ZodNullable<z.ZodString>;
104249
105268
  }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
104250
105269
  id: z.ZodString;
104251
- usage_limits: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
104252
- rate_limits: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
105270
+ usage_limits: z.ZodNullable<z.ZodUnion<[z.ZodArray<z.ZodObject<{
105271
+ credit_limit: z.ZodOptional<z.ZodNumber>;
105272
+ type: z.ZodOptional<z.ZodString>;
105273
+ alert_threshold: z.ZodOptional<z.ZodNumber>;
105274
+ periodic_reset: z.ZodOptional<z.ZodNullable<z.ZodString>>;
105275
+ periodic_reset_days: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
105276
+ next_usage_reset_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
105277
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
105278
+ credit_limit: z.ZodOptional<z.ZodNumber>;
105279
+ type: z.ZodOptional<z.ZodString>;
105280
+ alert_threshold: z.ZodOptional<z.ZodNumber>;
105281
+ periodic_reset: z.ZodOptional<z.ZodNullable<z.ZodString>>;
105282
+ periodic_reset_days: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
105283
+ next_usage_reset_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
105284
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
105285
+ credit_limit: z.ZodOptional<z.ZodNumber>;
105286
+ type: z.ZodOptional<z.ZodString>;
105287
+ alert_threshold: z.ZodOptional<z.ZodNumber>;
105288
+ periodic_reset: z.ZodOptional<z.ZodNullable<z.ZodString>>;
105289
+ periodic_reset_days: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
105290
+ next_usage_reset_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
105291
+ }, z.ZodTypeAny, "passthrough">>, "many">, z.ZodRecord<z.ZodString, z.ZodUnknown>]>>;
105292
+ rate_limits: z.ZodNullable<z.ZodUnion<[z.ZodArray<z.ZodObject<{
105293
+ type: z.ZodOptional<z.ZodString>;
105294
+ unit: z.ZodOptional<z.ZodString>;
105295
+ value: z.ZodOptional<z.ZodNumber>;
105296
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
105297
+ type: z.ZodOptional<z.ZodString>;
105298
+ unit: z.ZodOptional<z.ZodString>;
105299
+ value: z.ZodOptional<z.ZodNumber>;
105300
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
105301
+ type: z.ZodOptional<z.ZodString>;
105302
+ unit: z.ZodOptional<z.ZodString>;
105303
+ value: z.ZodOptional<z.ZodNumber>;
105304
+ }, z.ZodTypeAny, "passthrough">>, "many">, z.ZodRecord<z.ZodString, z.ZodUnknown>]>>;
104253
105305
  enabled: z.ZodBoolean;
104254
105306
  status: z.ZodString;
104255
105307
  created_at: z.ZodString;
@@ -104258,23 +105310,155 @@ declare const GatewayIntegrationWorkspacesResponseSchema: z.ZodObject<{
104258
105310
  }, z.ZodTypeAny, "passthrough">>, "many">;
104259
105311
  global_workspace_access: z.ZodObject<{
104260
105312
  enabled: z.ZodBoolean;
104261
- rate_limits: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
104262
- usage_limits: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
105313
+ rate_limits: z.ZodNullable<z.ZodUnion<[z.ZodArray<z.ZodObject<{
105314
+ type: z.ZodOptional<z.ZodString>;
105315
+ unit: z.ZodOptional<z.ZodString>;
105316
+ value: z.ZodOptional<z.ZodNumber>;
105317
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
105318
+ type: z.ZodOptional<z.ZodString>;
105319
+ unit: z.ZodOptional<z.ZodString>;
105320
+ value: z.ZodOptional<z.ZodNumber>;
105321
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
105322
+ type: z.ZodOptional<z.ZodString>;
105323
+ unit: z.ZodOptional<z.ZodString>;
105324
+ value: z.ZodOptional<z.ZodNumber>;
105325
+ }, z.ZodTypeAny, "passthrough">>, "many">, z.ZodRecord<z.ZodString, z.ZodUnknown>]>>;
105326
+ usage_limits: z.ZodNullable<z.ZodUnion<[z.ZodArray<z.ZodObject<{
105327
+ credit_limit: z.ZodOptional<z.ZodNumber>;
105328
+ type: z.ZodOptional<z.ZodString>;
105329
+ alert_threshold: z.ZodOptional<z.ZodNumber>;
105330
+ periodic_reset: z.ZodOptional<z.ZodNullable<z.ZodString>>;
105331
+ periodic_reset_days: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
105332
+ next_usage_reset_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
105333
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
105334
+ credit_limit: z.ZodOptional<z.ZodNumber>;
105335
+ type: z.ZodOptional<z.ZodString>;
105336
+ alert_threshold: z.ZodOptional<z.ZodNumber>;
105337
+ periodic_reset: z.ZodOptional<z.ZodNullable<z.ZodString>>;
105338
+ periodic_reset_days: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
105339
+ next_usage_reset_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
105340
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
105341
+ credit_limit: z.ZodOptional<z.ZodNumber>;
105342
+ type: z.ZodOptional<z.ZodString>;
105343
+ alert_threshold: z.ZodOptional<z.ZodNumber>;
105344
+ periodic_reset: z.ZodOptional<z.ZodNullable<z.ZodString>>;
105345
+ periodic_reset_days: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
105346
+ next_usage_reset_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
105347
+ }, z.ZodTypeAny, "passthrough">>, "many">, z.ZodRecord<z.ZodString, z.ZodUnknown>]>>;
104263
105348
  }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
104264
105349
  enabled: z.ZodBoolean;
104265
- rate_limits: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
104266
- usage_limits: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
105350
+ rate_limits: z.ZodNullable<z.ZodUnion<[z.ZodArray<z.ZodObject<{
105351
+ type: z.ZodOptional<z.ZodString>;
105352
+ unit: z.ZodOptional<z.ZodString>;
105353
+ value: z.ZodOptional<z.ZodNumber>;
105354
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
105355
+ type: z.ZodOptional<z.ZodString>;
105356
+ unit: z.ZodOptional<z.ZodString>;
105357
+ value: z.ZodOptional<z.ZodNumber>;
105358
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
105359
+ type: z.ZodOptional<z.ZodString>;
105360
+ unit: z.ZodOptional<z.ZodString>;
105361
+ value: z.ZodOptional<z.ZodNumber>;
105362
+ }, z.ZodTypeAny, "passthrough">>, "many">, z.ZodRecord<z.ZodString, z.ZodUnknown>]>>;
105363
+ usage_limits: z.ZodNullable<z.ZodUnion<[z.ZodArray<z.ZodObject<{
105364
+ credit_limit: z.ZodOptional<z.ZodNumber>;
105365
+ type: z.ZodOptional<z.ZodString>;
105366
+ alert_threshold: z.ZodOptional<z.ZodNumber>;
105367
+ periodic_reset: z.ZodOptional<z.ZodNullable<z.ZodString>>;
105368
+ periodic_reset_days: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
105369
+ next_usage_reset_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
105370
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
105371
+ credit_limit: z.ZodOptional<z.ZodNumber>;
105372
+ type: z.ZodOptional<z.ZodString>;
105373
+ alert_threshold: z.ZodOptional<z.ZodNumber>;
105374
+ periodic_reset: z.ZodOptional<z.ZodNullable<z.ZodString>>;
105375
+ periodic_reset_days: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
105376
+ next_usage_reset_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
105377
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
105378
+ credit_limit: z.ZodOptional<z.ZodNumber>;
105379
+ type: z.ZodOptional<z.ZodString>;
105380
+ alert_threshold: z.ZodOptional<z.ZodNumber>;
105381
+ periodic_reset: z.ZodOptional<z.ZodNullable<z.ZodString>>;
105382
+ periodic_reset_days: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
105383
+ next_usage_reset_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
105384
+ }, z.ZodTypeAny, "passthrough">>, "many">, z.ZodRecord<z.ZodString, z.ZodUnknown>]>>;
104267
105385
  }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
104268
105386
  enabled: z.ZodBoolean;
104269
- rate_limits: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
104270
- usage_limits: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
105387
+ rate_limits: z.ZodNullable<z.ZodUnion<[z.ZodArray<z.ZodObject<{
105388
+ type: z.ZodOptional<z.ZodString>;
105389
+ unit: z.ZodOptional<z.ZodString>;
105390
+ value: z.ZodOptional<z.ZodNumber>;
105391
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
105392
+ type: z.ZodOptional<z.ZodString>;
105393
+ unit: z.ZodOptional<z.ZodString>;
105394
+ value: z.ZodOptional<z.ZodNumber>;
105395
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
105396
+ type: z.ZodOptional<z.ZodString>;
105397
+ unit: z.ZodOptional<z.ZodString>;
105398
+ value: z.ZodOptional<z.ZodNumber>;
105399
+ }, z.ZodTypeAny, "passthrough">>, "many">, z.ZodRecord<z.ZodString, z.ZodUnknown>]>>;
105400
+ usage_limits: z.ZodNullable<z.ZodUnion<[z.ZodArray<z.ZodObject<{
105401
+ credit_limit: z.ZodOptional<z.ZodNumber>;
105402
+ type: z.ZodOptional<z.ZodString>;
105403
+ alert_threshold: z.ZodOptional<z.ZodNumber>;
105404
+ periodic_reset: z.ZodOptional<z.ZodNullable<z.ZodString>>;
105405
+ periodic_reset_days: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
105406
+ next_usage_reset_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
105407
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
105408
+ credit_limit: z.ZodOptional<z.ZodNumber>;
105409
+ type: z.ZodOptional<z.ZodString>;
105410
+ alert_threshold: z.ZodOptional<z.ZodNumber>;
105411
+ periodic_reset: z.ZodOptional<z.ZodNullable<z.ZodString>>;
105412
+ periodic_reset_days: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
105413
+ next_usage_reset_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
105414
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
105415
+ credit_limit: z.ZodOptional<z.ZodNumber>;
105416
+ type: z.ZodOptional<z.ZodString>;
105417
+ alert_threshold: z.ZodOptional<z.ZodNumber>;
105418
+ periodic_reset: z.ZodOptional<z.ZodNullable<z.ZodString>>;
105419
+ periodic_reset_days: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
105420
+ next_usage_reset_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
105421
+ }, z.ZodTypeAny, "passthrough">>, "many">, z.ZodRecord<z.ZodString, z.ZodUnknown>]>>;
104271
105422
  }, z.ZodTypeAny, "passthrough">>;
104272
105423
  object: z.ZodString;
104273
105424
  }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
104274
105425
  workspaces: z.ZodArray<z.ZodObject<{
104275
105426
  id: z.ZodString;
104276
- usage_limits: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
104277
- rate_limits: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
105427
+ usage_limits: z.ZodNullable<z.ZodUnion<[z.ZodArray<z.ZodObject<{
105428
+ credit_limit: z.ZodOptional<z.ZodNumber>;
105429
+ type: z.ZodOptional<z.ZodString>;
105430
+ alert_threshold: z.ZodOptional<z.ZodNumber>;
105431
+ periodic_reset: z.ZodOptional<z.ZodNullable<z.ZodString>>;
105432
+ periodic_reset_days: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
105433
+ next_usage_reset_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
105434
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
105435
+ credit_limit: z.ZodOptional<z.ZodNumber>;
105436
+ type: z.ZodOptional<z.ZodString>;
105437
+ alert_threshold: z.ZodOptional<z.ZodNumber>;
105438
+ periodic_reset: z.ZodOptional<z.ZodNullable<z.ZodString>>;
105439
+ periodic_reset_days: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
105440
+ next_usage_reset_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
105441
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
105442
+ credit_limit: z.ZodOptional<z.ZodNumber>;
105443
+ type: z.ZodOptional<z.ZodString>;
105444
+ alert_threshold: z.ZodOptional<z.ZodNumber>;
105445
+ periodic_reset: z.ZodOptional<z.ZodNullable<z.ZodString>>;
105446
+ periodic_reset_days: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
105447
+ next_usage_reset_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
105448
+ }, z.ZodTypeAny, "passthrough">>, "many">, z.ZodRecord<z.ZodString, z.ZodUnknown>]>>;
105449
+ rate_limits: z.ZodNullable<z.ZodUnion<[z.ZodArray<z.ZodObject<{
105450
+ type: z.ZodOptional<z.ZodString>;
105451
+ unit: z.ZodOptional<z.ZodString>;
105452
+ value: z.ZodOptional<z.ZodNumber>;
105453
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
105454
+ type: z.ZodOptional<z.ZodString>;
105455
+ unit: z.ZodOptional<z.ZodString>;
105456
+ value: z.ZodOptional<z.ZodNumber>;
105457
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
105458
+ type: z.ZodOptional<z.ZodString>;
105459
+ unit: z.ZodOptional<z.ZodString>;
105460
+ value: z.ZodOptional<z.ZodNumber>;
105461
+ }, z.ZodTypeAny, "passthrough">>, "many">, z.ZodRecord<z.ZodString, z.ZodUnknown>]>>;
104278
105462
  enabled: z.ZodBoolean;
104279
105463
  status: z.ZodString;
104280
105464
  created_at: z.ZodString;
@@ -104282,8 +105466,41 @@ declare const GatewayIntegrationWorkspacesResponseSchema: z.ZodObject<{
104282
105466
  last_reset_at: z.ZodNullable<z.ZodString>;
104283
105467
  }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
104284
105468
  id: z.ZodString;
104285
- usage_limits: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
104286
- rate_limits: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
105469
+ usage_limits: z.ZodNullable<z.ZodUnion<[z.ZodArray<z.ZodObject<{
105470
+ credit_limit: z.ZodOptional<z.ZodNumber>;
105471
+ type: z.ZodOptional<z.ZodString>;
105472
+ alert_threshold: z.ZodOptional<z.ZodNumber>;
105473
+ periodic_reset: z.ZodOptional<z.ZodNullable<z.ZodString>>;
105474
+ periodic_reset_days: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
105475
+ next_usage_reset_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
105476
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
105477
+ credit_limit: z.ZodOptional<z.ZodNumber>;
105478
+ type: z.ZodOptional<z.ZodString>;
105479
+ alert_threshold: z.ZodOptional<z.ZodNumber>;
105480
+ periodic_reset: z.ZodOptional<z.ZodNullable<z.ZodString>>;
105481
+ periodic_reset_days: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
105482
+ next_usage_reset_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
105483
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
105484
+ credit_limit: z.ZodOptional<z.ZodNumber>;
105485
+ type: z.ZodOptional<z.ZodString>;
105486
+ alert_threshold: z.ZodOptional<z.ZodNumber>;
105487
+ periodic_reset: z.ZodOptional<z.ZodNullable<z.ZodString>>;
105488
+ periodic_reset_days: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
105489
+ next_usage_reset_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
105490
+ }, z.ZodTypeAny, "passthrough">>, "many">, z.ZodRecord<z.ZodString, z.ZodUnknown>]>>;
105491
+ rate_limits: z.ZodNullable<z.ZodUnion<[z.ZodArray<z.ZodObject<{
105492
+ type: z.ZodOptional<z.ZodString>;
105493
+ unit: z.ZodOptional<z.ZodString>;
105494
+ value: z.ZodOptional<z.ZodNumber>;
105495
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
105496
+ type: z.ZodOptional<z.ZodString>;
105497
+ unit: z.ZodOptional<z.ZodString>;
105498
+ value: z.ZodOptional<z.ZodNumber>;
105499
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
105500
+ type: z.ZodOptional<z.ZodString>;
105501
+ unit: z.ZodOptional<z.ZodString>;
105502
+ value: z.ZodOptional<z.ZodNumber>;
105503
+ }, z.ZodTypeAny, "passthrough">>, "many">, z.ZodRecord<z.ZodString, z.ZodUnknown>]>>;
104287
105504
  enabled: z.ZodBoolean;
104288
105505
  status: z.ZodString;
104289
105506
  created_at: z.ZodString;
@@ -104291,8 +105508,41 @@ declare const GatewayIntegrationWorkspacesResponseSchema: z.ZodObject<{
104291
105508
  last_reset_at: z.ZodNullable<z.ZodString>;
104292
105509
  }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
104293
105510
  id: z.ZodString;
104294
- usage_limits: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
104295
- rate_limits: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
105511
+ usage_limits: z.ZodNullable<z.ZodUnion<[z.ZodArray<z.ZodObject<{
105512
+ credit_limit: z.ZodOptional<z.ZodNumber>;
105513
+ type: z.ZodOptional<z.ZodString>;
105514
+ alert_threshold: z.ZodOptional<z.ZodNumber>;
105515
+ periodic_reset: z.ZodOptional<z.ZodNullable<z.ZodString>>;
105516
+ periodic_reset_days: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
105517
+ next_usage_reset_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
105518
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
105519
+ credit_limit: z.ZodOptional<z.ZodNumber>;
105520
+ type: z.ZodOptional<z.ZodString>;
105521
+ alert_threshold: z.ZodOptional<z.ZodNumber>;
105522
+ periodic_reset: z.ZodOptional<z.ZodNullable<z.ZodString>>;
105523
+ periodic_reset_days: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
105524
+ next_usage_reset_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
105525
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
105526
+ credit_limit: z.ZodOptional<z.ZodNumber>;
105527
+ type: z.ZodOptional<z.ZodString>;
105528
+ alert_threshold: z.ZodOptional<z.ZodNumber>;
105529
+ periodic_reset: z.ZodOptional<z.ZodNullable<z.ZodString>>;
105530
+ periodic_reset_days: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
105531
+ next_usage_reset_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
105532
+ }, z.ZodTypeAny, "passthrough">>, "many">, z.ZodRecord<z.ZodString, z.ZodUnknown>]>>;
105533
+ rate_limits: z.ZodNullable<z.ZodUnion<[z.ZodArray<z.ZodObject<{
105534
+ type: z.ZodOptional<z.ZodString>;
105535
+ unit: z.ZodOptional<z.ZodString>;
105536
+ value: z.ZodOptional<z.ZodNumber>;
105537
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
105538
+ type: z.ZodOptional<z.ZodString>;
105539
+ unit: z.ZodOptional<z.ZodString>;
105540
+ value: z.ZodOptional<z.ZodNumber>;
105541
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
105542
+ type: z.ZodOptional<z.ZodString>;
105543
+ unit: z.ZodOptional<z.ZodString>;
105544
+ value: z.ZodOptional<z.ZodNumber>;
105545
+ }, z.ZodTypeAny, "passthrough">>, "many">, z.ZodRecord<z.ZodString, z.ZodUnknown>]>>;
104296
105546
  enabled: z.ZodBoolean;
104297
105547
  status: z.ZodString;
104298
105548
  created_at: z.ZodString;
@@ -104301,23 +105551,155 @@ declare const GatewayIntegrationWorkspacesResponseSchema: z.ZodObject<{
104301
105551
  }, z.ZodTypeAny, "passthrough">>, "many">;
104302
105552
  global_workspace_access: z.ZodObject<{
104303
105553
  enabled: z.ZodBoolean;
104304
- rate_limits: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
104305
- usage_limits: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
105554
+ rate_limits: z.ZodNullable<z.ZodUnion<[z.ZodArray<z.ZodObject<{
105555
+ type: z.ZodOptional<z.ZodString>;
105556
+ unit: z.ZodOptional<z.ZodString>;
105557
+ value: z.ZodOptional<z.ZodNumber>;
105558
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
105559
+ type: z.ZodOptional<z.ZodString>;
105560
+ unit: z.ZodOptional<z.ZodString>;
105561
+ value: z.ZodOptional<z.ZodNumber>;
105562
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
105563
+ type: z.ZodOptional<z.ZodString>;
105564
+ unit: z.ZodOptional<z.ZodString>;
105565
+ value: z.ZodOptional<z.ZodNumber>;
105566
+ }, z.ZodTypeAny, "passthrough">>, "many">, z.ZodRecord<z.ZodString, z.ZodUnknown>]>>;
105567
+ usage_limits: z.ZodNullable<z.ZodUnion<[z.ZodArray<z.ZodObject<{
105568
+ credit_limit: z.ZodOptional<z.ZodNumber>;
105569
+ type: z.ZodOptional<z.ZodString>;
105570
+ alert_threshold: z.ZodOptional<z.ZodNumber>;
105571
+ periodic_reset: z.ZodOptional<z.ZodNullable<z.ZodString>>;
105572
+ periodic_reset_days: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
105573
+ next_usage_reset_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
105574
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
105575
+ credit_limit: z.ZodOptional<z.ZodNumber>;
105576
+ type: z.ZodOptional<z.ZodString>;
105577
+ alert_threshold: z.ZodOptional<z.ZodNumber>;
105578
+ periodic_reset: z.ZodOptional<z.ZodNullable<z.ZodString>>;
105579
+ periodic_reset_days: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
105580
+ next_usage_reset_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
105581
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
105582
+ credit_limit: z.ZodOptional<z.ZodNumber>;
105583
+ type: z.ZodOptional<z.ZodString>;
105584
+ alert_threshold: z.ZodOptional<z.ZodNumber>;
105585
+ periodic_reset: z.ZodOptional<z.ZodNullable<z.ZodString>>;
105586
+ periodic_reset_days: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
105587
+ next_usage_reset_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
105588
+ }, z.ZodTypeAny, "passthrough">>, "many">, z.ZodRecord<z.ZodString, z.ZodUnknown>]>>;
104306
105589
  }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
104307
105590
  enabled: z.ZodBoolean;
104308
- rate_limits: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
104309
- usage_limits: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
105591
+ rate_limits: z.ZodNullable<z.ZodUnion<[z.ZodArray<z.ZodObject<{
105592
+ type: z.ZodOptional<z.ZodString>;
105593
+ unit: z.ZodOptional<z.ZodString>;
105594
+ value: z.ZodOptional<z.ZodNumber>;
105595
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
105596
+ type: z.ZodOptional<z.ZodString>;
105597
+ unit: z.ZodOptional<z.ZodString>;
105598
+ value: z.ZodOptional<z.ZodNumber>;
105599
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
105600
+ type: z.ZodOptional<z.ZodString>;
105601
+ unit: z.ZodOptional<z.ZodString>;
105602
+ value: z.ZodOptional<z.ZodNumber>;
105603
+ }, z.ZodTypeAny, "passthrough">>, "many">, z.ZodRecord<z.ZodString, z.ZodUnknown>]>>;
105604
+ usage_limits: z.ZodNullable<z.ZodUnion<[z.ZodArray<z.ZodObject<{
105605
+ credit_limit: z.ZodOptional<z.ZodNumber>;
105606
+ type: z.ZodOptional<z.ZodString>;
105607
+ alert_threshold: z.ZodOptional<z.ZodNumber>;
105608
+ periodic_reset: z.ZodOptional<z.ZodNullable<z.ZodString>>;
105609
+ periodic_reset_days: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
105610
+ next_usage_reset_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
105611
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
105612
+ credit_limit: z.ZodOptional<z.ZodNumber>;
105613
+ type: z.ZodOptional<z.ZodString>;
105614
+ alert_threshold: z.ZodOptional<z.ZodNumber>;
105615
+ periodic_reset: z.ZodOptional<z.ZodNullable<z.ZodString>>;
105616
+ periodic_reset_days: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
105617
+ next_usage_reset_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
105618
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
105619
+ credit_limit: z.ZodOptional<z.ZodNumber>;
105620
+ type: z.ZodOptional<z.ZodString>;
105621
+ alert_threshold: z.ZodOptional<z.ZodNumber>;
105622
+ periodic_reset: z.ZodOptional<z.ZodNullable<z.ZodString>>;
105623
+ periodic_reset_days: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
105624
+ next_usage_reset_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
105625
+ }, z.ZodTypeAny, "passthrough">>, "many">, z.ZodRecord<z.ZodString, z.ZodUnknown>]>>;
104310
105626
  }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
104311
105627
  enabled: z.ZodBoolean;
104312
- rate_limits: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
104313
- usage_limits: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
105628
+ rate_limits: z.ZodNullable<z.ZodUnion<[z.ZodArray<z.ZodObject<{
105629
+ type: z.ZodOptional<z.ZodString>;
105630
+ unit: z.ZodOptional<z.ZodString>;
105631
+ value: z.ZodOptional<z.ZodNumber>;
105632
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
105633
+ type: z.ZodOptional<z.ZodString>;
105634
+ unit: z.ZodOptional<z.ZodString>;
105635
+ value: z.ZodOptional<z.ZodNumber>;
105636
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
105637
+ type: z.ZodOptional<z.ZodString>;
105638
+ unit: z.ZodOptional<z.ZodString>;
105639
+ value: z.ZodOptional<z.ZodNumber>;
105640
+ }, z.ZodTypeAny, "passthrough">>, "many">, z.ZodRecord<z.ZodString, z.ZodUnknown>]>>;
105641
+ usage_limits: z.ZodNullable<z.ZodUnion<[z.ZodArray<z.ZodObject<{
105642
+ credit_limit: z.ZodOptional<z.ZodNumber>;
105643
+ type: z.ZodOptional<z.ZodString>;
105644
+ alert_threshold: z.ZodOptional<z.ZodNumber>;
105645
+ periodic_reset: z.ZodOptional<z.ZodNullable<z.ZodString>>;
105646
+ periodic_reset_days: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
105647
+ next_usage_reset_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
105648
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
105649
+ credit_limit: z.ZodOptional<z.ZodNumber>;
105650
+ type: z.ZodOptional<z.ZodString>;
105651
+ alert_threshold: z.ZodOptional<z.ZodNumber>;
105652
+ periodic_reset: z.ZodOptional<z.ZodNullable<z.ZodString>>;
105653
+ periodic_reset_days: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
105654
+ next_usage_reset_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
105655
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
105656
+ credit_limit: z.ZodOptional<z.ZodNumber>;
105657
+ type: z.ZodOptional<z.ZodString>;
105658
+ alert_threshold: z.ZodOptional<z.ZodNumber>;
105659
+ periodic_reset: z.ZodOptional<z.ZodNullable<z.ZodString>>;
105660
+ periodic_reset_days: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
105661
+ next_usage_reset_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
105662
+ }, z.ZodTypeAny, "passthrough">>, "many">, z.ZodRecord<z.ZodString, z.ZodUnknown>]>>;
104314
105663
  }, z.ZodTypeAny, "passthrough">>;
104315
105664
  object: z.ZodString;
104316
105665
  }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
104317
105666
  workspaces: z.ZodArray<z.ZodObject<{
104318
105667
  id: z.ZodString;
104319
- usage_limits: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
104320
- rate_limits: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
105668
+ usage_limits: z.ZodNullable<z.ZodUnion<[z.ZodArray<z.ZodObject<{
105669
+ credit_limit: z.ZodOptional<z.ZodNumber>;
105670
+ type: z.ZodOptional<z.ZodString>;
105671
+ alert_threshold: z.ZodOptional<z.ZodNumber>;
105672
+ periodic_reset: z.ZodOptional<z.ZodNullable<z.ZodString>>;
105673
+ periodic_reset_days: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
105674
+ next_usage_reset_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
105675
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
105676
+ credit_limit: z.ZodOptional<z.ZodNumber>;
105677
+ type: z.ZodOptional<z.ZodString>;
105678
+ alert_threshold: z.ZodOptional<z.ZodNumber>;
105679
+ periodic_reset: z.ZodOptional<z.ZodNullable<z.ZodString>>;
105680
+ periodic_reset_days: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
105681
+ next_usage_reset_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
105682
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
105683
+ credit_limit: z.ZodOptional<z.ZodNumber>;
105684
+ type: z.ZodOptional<z.ZodString>;
105685
+ alert_threshold: z.ZodOptional<z.ZodNumber>;
105686
+ periodic_reset: z.ZodOptional<z.ZodNullable<z.ZodString>>;
105687
+ periodic_reset_days: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
105688
+ next_usage_reset_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
105689
+ }, z.ZodTypeAny, "passthrough">>, "many">, z.ZodRecord<z.ZodString, z.ZodUnknown>]>>;
105690
+ rate_limits: z.ZodNullable<z.ZodUnion<[z.ZodArray<z.ZodObject<{
105691
+ type: z.ZodOptional<z.ZodString>;
105692
+ unit: z.ZodOptional<z.ZodString>;
105693
+ value: z.ZodOptional<z.ZodNumber>;
105694
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
105695
+ type: z.ZodOptional<z.ZodString>;
105696
+ unit: z.ZodOptional<z.ZodString>;
105697
+ value: z.ZodOptional<z.ZodNumber>;
105698
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
105699
+ type: z.ZodOptional<z.ZodString>;
105700
+ unit: z.ZodOptional<z.ZodString>;
105701
+ value: z.ZodOptional<z.ZodNumber>;
105702
+ }, z.ZodTypeAny, "passthrough">>, "many">, z.ZodRecord<z.ZodString, z.ZodUnknown>]>>;
104321
105703
  enabled: z.ZodBoolean;
104322
105704
  status: z.ZodString;
104323
105705
  created_at: z.ZodString;
@@ -104325,8 +105707,41 @@ declare const GatewayIntegrationWorkspacesResponseSchema: z.ZodObject<{
104325
105707
  last_reset_at: z.ZodNullable<z.ZodString>;
104326
105708
  }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
104327
105709
  id: z.ZodString;
104328
- usage_limits: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
104329
- rate_limits: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
105710
+ usage_limits: z.ZodNullable<z.ZodUnion<[z.ZodArray<z.ZodObject<{
105711
+ credit_limit: z.ZodOptional<z.ZodNumber>;
105712
+ type: z.ZodOptional<z.ZodString>;
105713
+ alert_threshold: z.ZodOptional<z.ZodNumber>;
105714
+ periodic_reset: z.ZodOptional<z.ZodNullable<z.ZodString>>;
105715
+ periodic_reset_days: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
105716
+ next_usage_reset_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
105717
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
105718
+ credit_limit: z.ZodOptional<z.ZodNumber>;
105719
+ type: z.ZodOptional<z.ZodString>;
105720
+ alert_threshold: z.ZodOptional<z.ZodNumber>;
105721
+ periodic_reset: z.ZodOptional<z.ZodNullable<z.ZodString>>;
105722
+ periodic_reset_days: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
105723
+ next_usage_reset_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
105724
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
105725
+ credit_limit: z.ZodOptional<z.ZodNumber>;
105726
+ type: z.ZodOptional<z.ZodString>;
105727
+ alert_threshold: z.ZodOptional<z.ZodNumber>;
105728
+ periodic_reset: z.ZodOptional<z.ZodNullable<z.ZodString>>;
105729
+ periodic_reset_days: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
105730
+ next_usage_reset_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
105731
+ }, z.ZodTypeAny, "passthrough">>, "many">, z.ZodRecord<z.ZodString, z.ZodUnknown>]>>;
105732
+ rate_limits: z.ZodNullable<z.ZodUnion<[z.ZodArray<z.ZodObject<{
105733
+ type: z.ZodOptional<z.ZodString>;
105734
+ unit: z.ZodOptional<z.ZodString>;
105735
+ value: z.ZodOptional<z.ZodNumber>;
105736
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
105737
+ type: z.ZodOptional<z.ZodString>;
105738
+ unit: z.ZodOptional<z.ZodString>;
105739
+ value: z.ZodOptional<z.ZodNumber>;
105740
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
105741
+ type: z.ZodOptional<z.ZodString>;
105742
+ unit: z.ZodOptional<z.ZodString>;
105743
+ value: z.ZodOptional<z.ZodNumber>;
105744
+ }, z.ZodTypeAny, "passthrough">>, "many">, z.ZodRecord<z.ZodString, z.ZodUnknown>]>>;
104330
105745
  enabled: z.ZodBoolean;
104331
105746
  status: z.ZodString;
104332
105747
  created_at: z.ZodString;
@@ -104334,8 +105749,41 @@ declare const GatewayIntegrationWorkspacesResponseSchema: z.ZodObject<{
104334
105749
  last_reset_at: z.ZodNullable<z.ZodString>;
104335
105750
  }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
104336
105751
  id: z.ZodString;
104337
- usage_limits: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
104338
- rate_limits: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
105752
+ usage_limits: z.ZodNullable<z.ZodUnion<[z.ZodArray<z.ZodObject<{
105753
+ credit_limit: z.ZodOptional<z.ZodNumber>;
105754
+ type: z.ZodOptional<z.ZodString>;
105755
+ alert_threshold: z.ZodOptional<z.ZodNumber>;
105756
+ periodic_reset: z.ZodOptional<z.ZodNullable<z.ZodString>>;
105757
+ periodic_reset_days: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
105758
+ next_usage_reset_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
105759
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
105760
+ credit_limit: z.ZodOptional<z.ZodNumber>;
105761
+ type: z.ZodOptional<z.ZodString>;
105762
+ alert_threshold: z.ZodOptional<z.ZodNumber>;
105763
+ periodic_reset: z.ZodOptional<z.ZodNullable<z.ZodString>>;
105764
+ periodic_reset_days: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
105765
+ next_usage_reset_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
105766
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
105767
+ credit_limit: z.ZodOptional<z.ZodNumber>;
105768
+ type: z.ZodOptional<z.ZodString>;
105769
+ alert_threshold: z.ZodOptional<z.ZodNumber>;
105770
+ periodic_reset: z.ZodOptional<z.ZodNullable<z.ZodString>>;
105771
+ periodic_reset_days: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
105772
+ next_usage_reset_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
105773
+ }, z.ZodTypeAny, "passthrough">>, "many">, z.ZodRecord<z.ZodString, z.ZodUnknown>]>>;
105774
+ rate_limits: z.ZodNullable<z.ZodUnion<[z.ZodArray<z.ZodObject<{
105775
+ type: z.ZodOptional<z.ZodString>;
105776
+ unit: z.ZodOptional<z.ZodString>;
105777
+ value: z.ZodOptional<z.ZodNumber>;
105778
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
105779
+ type: z.ZodOptional<z.ZodString>;
105780
+ unit: z.ZodOptional<z.ZodString>;
105781
+ value: z.ZodOptional<z.ZodNumber>;
105782
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
105783
+ type: z.ZodOptional<z.ZodString>;
105784
+ unit: z.ZodOptional<z.ZodString>;
105785
+ value: z.ZodOptional<z.ZodNumber>;
105786
+ }, z.ZodTypeAny, "passthrough">>, "many">, z.ZodRecord<z.ZodString, z.ZodUnknown>]>>;
104339
105787
  enabled: z.ZodBoolean;
104340
105788
  status: z.ZodString;
104341
105789
  created_at: z.ZodString;
@@ -104344,16 +105792,115 @@ declare const GatewayIntegrationWorkspacesResponseSchema: z.ZodObject<{
104344
105792
  }, z.ZodTypeAny, "passthrough">>, "many">;
104345
105793
  global_workspace_access: z.ZodObject<{
104346
105794
  enabled: z.ZodBoolean;
104347
- rate_limits: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
104348
- usage_limits: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
105795
+ rate_limits: z.ZodNullable<z.ZodUnion<[z.ZodArray<z.ZodObject<{
105796
+ type: z.ZodOptional<z.ZodString>;
105797
+ unit: z.ZodOptional<z.ZodString>;
105798
+ value: z.ZodOptional<z.ZodNumber>;
105799
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
105800
+ type: z.ZodOptional<z.ZodString>;
105801
+ unit: z.ZodOptional<z.ZodString>;
105802
+ value: z.ZodOptional<z.ZodNumber>;
105803
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
105804
+ type: z.ZodOptional<z.ZodString>;
105805
+ unit: z.ZodOptional<z.ZodString>;
105806
+ value: z.ZodOptional<z.ZodNumber>;
105807
+ }, z.ZodTypeAny, "passthrough">>, "many">, z.ZodRecord<z.ZodString, z.ZodUnknown>]>>;
105808
+ usage_limits: z.ZodNullable<z.ZodUnion<[z.ZodArray<z.ZodObject<{
105809
+ credit_limit: z.ZodOptional<z.ZodNumber>;
105810
+ type: z.ZodOptional<z.ZodString>;
105811
+ alert_threshold: z.ZodOptional<z.ZodNumber>;
105812
+ periodic_reset: z.ZodOptional<z.ZodNullable<z.ZodString>>;
105813
+ periodic_reset_days: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
105814
+ next_usage_reset_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
105815
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
105816
+ credit_limit: z.ZodOptional<z.ZodNumber>;
105817
+ type: z.ZodOptional<z.ZodString>;
105818
+ alert_threshold: z.ZodOptional<z.ZodNumber>;
105819
+ periodic_reset: z.ZodOptional<z.ZodNullable<z.ZodString>>;
105820
+ periodic_reset_days: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
105821
+ next_usage_reset_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
105822
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
105823
+ credit_limit: z.ZodOptional<z.ZodNumber>;
105824
+ type: z.ZodOptional<z.ZodString>;
105825
+ alert_threshold: z.ZodOptional<z.ZodNumber>;
105826
+ periodic_reset: z.ZodOptional<z.ZodNullable<z.ZodString>>;
105827
+ periodic_reset_days: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
105828
+ next_usage_reset_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
105829
+ }, z.ZodTypeAny, "passthrough">>, "many">, z.ZodRecord<z.ZodString, z.ZodUnknown>]>>;
104349
105830
  }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
104350
105831
  enabled: z.ZodBoolean;
104351
- rate_limits: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
104352
- usage_limits: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
105832
+ rate_limits: z.ZodNullable<z.ZodUnion<[z.ZodArray<z.ZodObject<{
105833
+ type: z.ZodOptional<z.ZodString>;
105834
+ unit: z.ZodOptional<z.ZodString>;
105835
+ value: z.ZodOptional<z.ZodNumber>;
105836
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
105837
+ type: z.ZodOptional<z.ZodString>;
105838
+ unit: z.ZodOptional<z.ZodString>;
105839
+ value: z.ZodOptional<z.ZodNumber>;
105840
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
105841
+ type: z.ZodOptional<z.ZodString>;
105842
+ unit: z.ZodOptional<z.ZodString>;
105843
+ value: z.ZodOptional<z.ZodNumber>;
105844
+ }, z.ZodTypeAny, "passthrough">>, "many">, z.ZodRecord<z.ZodString, z.ZodUnknown>]>>;
105845
+ usage_limits: z.ZodNullable<z.ZodUnion<[z.ZodArray<z.ZodObject<{
105846
+ credit_limit: z.ZodOptional<z.ZodNumber>;
105847
+ type: z.ZodOptional<z.ZodString>;
105848
+ alert_threshold: z.ZodOptional<z.ZodNumber>;
105849
+ periodic_reset: z.ZodOptional<z.ZodNullable<z.ZodString>>;
105850
+ periodic_reset_days: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
105851
+ next_usage_reset_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
105852
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
105853
+ credit_limit: z.ZodOptional<z.ZodNumber>;
105854
+ type: z.ZodOptional<z.ZodString>;
105855
+ alert_threshold: z.ZodOptional<z.ZodNumber>;
105856
+ periodic_reset: z.ZodOptional<z.ZodNullable<z.ZodString>>;
105857
+ periodic_reset_days: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
105858
+ next_usage_reset_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
105859
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
105860
+ credit_limit: z.ZodOptional<z.ZodNumber>;
105861
+ type: z.ZodOptional<z.ZodString>;
105862
+ alert_threshold: z.ZodOptional<z.ZodNumber>;
105863
+ periodic_reset: z.ZodOptional<z.ZodNullable<z.ZodString>>;
105864
+ periodic_reset_days: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
105865
+ next_usage_reset_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
105866
+ }, z.ZodTypeAny, "passthrough">>, "many">, z.ZodRecord<z.ZodString, z.ZodUnknown>]>>;
104353
105867
  }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
104354
105868
  enabled: z.ZodBoolean;
104355
- rate_limits: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
104356
- usage_limits: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
105869
+ rate_limits: z.ZodNullable<z.ZodUnion<[z.ZodArray<z.ZodObject<{
105870
+ type: z.ZodOptional<z.ZodString>;
105871
+ unit: z.ZodOptional<z.ZodString>;
105872
+ value: z.ZodOptional<z.ZodNumber>;
105873
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
105874
+ type: z.ZodOptional<z.ZodString>;
105875
+ unit: z.ZodOptional<z.ZodString>;
105876
+ value: z.ZodOptional<z.ZodNumber>;
105877
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
105878
+ type: z.ZodOptional<z.ZodString>;
105879
+ unit: z.ZodOptional<z.ZodString>;
105880
+ value: z.ZodOptional<z.ZodNumber>;
105881
+ }, z.ZodTypeAny, "passthrough">>, "many">, z.ZodRecord<z.ZodString, z.ZodUnknown>]>>;
105882
+ usage_limits: z.ZodNullable<z.ZodUnion<[z.ZodArray<z.ZodObject<{
105883
+ credit_limit: z.ZodOptional<z.ZodNumber>;
105884
+ type: z.ZodOptional<z.ZodString>;
105885
+ alert_threshold: z.ZodOptional<z.ZodNumber>;
105886
+ periodic_reset: z.ZodOptional<z.ZodNullable<z.ZodString>>;
105887
+ periodic_reset_days: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
105888
+ next_usage_reset_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
105889
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
105890
+ credit_limit: z.ZodOptional<z.ZodNumber>;
105891
+ type: z.ZodOptional<z.ZodString>;
105892
+ alert_threshold: z.ZodOptional<z.ZodNumber>;
105893
+ periodic_reset: z.ZodOptional<z.ZodNullable<z.ZodString>>;
105894
+ periodic_reset_days: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
105895
+ next_usage_reset_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
105896
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
105897
+ credit_limit: z.ZodOptional<z.ZodNumber>;
105898
+ type: z.ZodOptional<z.ZodString>;
105899
+ alert_threshold: z.ZodOptional<z.ZodNumber>;
105900
+ periodic_reset: z.ZodOptional<z.ZodNullable<z.ZodString>>;
105901
+ periodic_reset_days: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
105902
+ next_usage_reset_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
105903
+ }, z.ZodTypeAny, "passthrough">>, "many">, z.ZodRecord<z.ZodString, z.ZodUnknown>]>>;
104357
105904
  }, z.ZodTypeAny, "passthrough">>;
104358
105905
  object: z.ZodString;
104359
105906
  }, z.ZodTypeAny, "passthrough">>;
@@ -105443,8 +106990,8 @@ declare const MAX_NUMBER_OF_BATCH_SCAN_OBJECTS = 20;
105443
106990
  declare const MAX_CONNECTION_POOL_SIZE = 100;
105444
106991
  declare const MAX_NUMBER_OF_RETRIES = 5;
105445
106992
  declare const HTTP_FORCE_RETRY_STATUS_CODES: number[];
105446
- declare const SDK_VERSION = "0.14.1";
105447
- declare const USER_AGENT = "PAN-AIRS/0.14.1-typescript-sdk";
106993
+ declare const SDK_VERSION = "0.17.0";
106994
+ declare const USER_AGENT = "PAN-AIRS/0.17.0-typescript-sdk";
105448
106995
  declare const DEFAULT_MGMT_ENDPOINT = "https://api.sase.paloaltonetworks.com/aisec";
105449
106996
  declare const DEFAULT_TOKEN_ENDPOINT = "https://auth.apps.paloaltonetworks.com/oauth2/access_token";
105450
106997
  declare const MGMT_CLIENT_ID = "PANW_MGMT_CLIENT_ID";
@@ -105518,6 +107065,8 @@ declare const RED_TEAM_LANGUAGES_PATH = "/v1/languages";
105518
107065
  declare const RED_TEAM_ERROR_LOG_TARGET_PROFILE_PATH = "/v1/error-log/target-profile";
105519
107066
  declare const RED_TEAM_TARGET_PATH = "/v1/target";
105520
107067
  declare const RED_TEAM_TARGET_VALIDATE_AUTH_PATH = "/v1/target/validate-auth";
107068
+ declare const RED_TEAM_ADAPTER_PATH = "/v1/adapters";
107069
+ declare const RED_TEAM_ADAPTER_VALIDATE_PATH = "/v1/adapters/validate";
105521
107070
  declare const RED_TEAM_TEMPLATE_PATH = "/v1/template";
105522
107071
  declare const RED_TEAM_EULA_PATH = "/v1/eula";
105523
107072
  declare const RED_TEAM_INSTANCES_PATH = "/v1/instances";
@@ -109213,6 +110762,147 @@ declare class RedTeamNetworkBrokerClient {
109213
110762
  updateChannel(channelId: string, body: UpdateChannelRequest): Promise<Channel>;
109214
110763
  }
109215
110764
 
110765
+ /** Options for adapter create/update operations. */
110766
+ interface AdapterOperationOptions {
110767
+ /**
110768
+ * Run the adapter script end-to-end against its configured target during save.
110769
+ * When true the adapter is saved as ACTIVE on success, DRAFT on failure.
110770
+ * When false (or omitted) the adapter is saved as DRAFT without validation.
110771
+ * Note: requires the network channel client (v1.4.0+) to be running and ONLINE.
110772
+ */
110773
+ validate?: boolean;
110774
+ }
110775
+ /** @internal */
110776
+ interface RedTeamAdaptersClientOptions {
110777
+ baseUrl: string;
110778
+ auth: AuthAdapter;
110779
+ numRetries: number;
110780
+ }
110781
+ /**
110782
+ * Client for Red Team custom target adapter operations (management plane).
110783
+ *
110784
+ * Custom target adapters are Python scripts that run inside an adapter sidecar
110785
+ * alongside the network broker client pod. They give full control over how
110786
+ * attack prompts are delivered to targets that use non-standard protocols,
110787
+ * dynamic auth, or multi-turn session handling.
110788
+ *
110789
+ * @example
110790
+ * ```ts
110791
+ * import { RedTeamClient } from '@cdot65/prisma-airs-sdk';
110792
+ * const rt = new RedTeamClient();
110793
+ *
110794
+ * const adapter = await rt.adapters.create({
110795
+ * name: 'my-keycloak-agent',
110796
+ * script_b64: Buffer.from(pythonScript).toString('base64'),
110797
+ * network_broker_channel_uuid: '550e8400-e29b-41d4-a716-446655440000',
110798
+ * variables: [
110799
+ * { key: 'endpoint', value: 'http://agent.svc:8080/v1/chat/completions', type: 'VAR' },
110800
+ * { key: 'client_secret', value: 'changeme', type: 'SECRET' },
110801
+ * ],
110802
+ * prompt: 'What is the capital of France?',
110803
+ * });
110804
+ * // adapter.status => 'ACTIVE' (when validate=true, default)
110805
+ * ```
110806
+ */
110807
+ declare class RedTeamAdaptersClient {
110808
+ private readonly baseUrl;
110809
+ private readonly auth;
110810
+ private readonly numRetries;
110811
+ constructor(opts: RedTeamAdaptersClientOptions);
110812
+ /**
110813
+ * Create a new custom target adapter.
110814
+ * @param body - Adapter creation request (name, base64 script, variables, validation prompt).
110815
+ * @param opts - Set validate: false to save as DRAFT without running the script.
110816
+ * @returns The created adapter.
110817
+ * @example
110818
+ * ```ts
110819
+ * const adapter = await rt.adapters.create({
110820
+ * name: 'my-adapter',
110821
+ * script_b64: Buffer.from(script).toString('base64'),
110822
+ * network_broker_channel_uuid: '550e8400-...',
110823
+ * variables: [{ key: 'endpoint', value: 'http://...', type: 'VAR' }],
110824
+ * prompt: 'Hello',
110825
+ * }, { validate: true });
110826
+ * ```
110827
+ */
110828
+ create(body: AdapterCreateRequest, opts?: AdapterOperationOptions): Promise<AdapterResponse>;
110829
+ /**
110830
+ * List adapters with optional pagination.
110831
+ * @param opts - Optional limit/skip/search.
110832
+ * @returns Paginated list of adapters.
110833
+ * @example
110834
+ * ```ts
110835
+ * const { data } = await rt.adapters.list({ limit: 20 });
110836
+ * // data => [{ uuid: '...', name: 'my-adapter', status: 'ACTIVE' }]
110837
+ * ```
110838
+ */
110839
+ list(opts?: RedTeamListOptions): Promise<AdapterList>;
110840
+ /**
110841
+ * Get a single adapter by UUID.
110842
+ * @param uuid - Adapter UUID.
110843
+ * @returns The adapter detail.
110844
+ * @example
110845
+ * ```ts
110846
+ * const adapter = await rt.adapters.get('550e8400-e29b-41d4-a716-446655440000');
110847
+ * // adapter.status => 'ACTIVE'
110848
+ * ```
110849
+ */
110850
+ get(uuid: string): Promise<AdapterResponse>;
110851
+ /**
110852
+ * Update an adapter. **Full replacement (PUT), not a patch** — `name`, `script_b64`, and
110853
+ * `prompt` are required just as on create. For `variables`, the list defines the complete
110854
+ * desired key set: a provided value sets it, `null` keeps the stored value (unchanged
110855
+ * secrets), and omitting a key **deletes** that variable.
110856
+ * @param uuid - Adapter UUID.
110857
+ * @param body - The complete adapter definition.
110858
+ * @param opts - Set validate: false to save as DRAFT without re-running the script.
110859
+ * @returns The updated adapter.
110860
+ * @example
110861
+ * ```ts
110862
+ * const updated = await rt.adapters.update('550e8400-...', {
110863
+ * name: 'my-keycloak-agent',
110864
+ * script_b64: Buffer.from(newScript).toString('base64'),
110865
+ * prompt: 'What is the capital of France?',
110866
+ * variables: [
110867
+ * { key: 'endpoint', value: 'http://agent.svc:8080', type: 'VAR' },
110868
+ * { key: 'client_secret', value: null, type: 'SECRET' }, // null keeps stored secret
110869
+ * ],
110870
+ * });
110871
+ * ```
110872
+ */
110873
+ update(uuid: string, body: AdapterUpdateRequest, opts?: AdapterOperationOptions): Promise<AdapterResponse>;
110874
+ /**
110875
+ * Delete an adapter.
110876
+ * @param uuid - Adapter UUID.
110877
+ * @example
110878
+ * ```ts
110879
+ * await rt.adapters.delete('550e8400-e29b-41d4-a716-446655440000');
110880
+ * ```
110881
+ */
110882
+ delete(uuid: string): Promise<BaseResponse | undefined>;
110883
+ /**
110884
+ * Validate an adapter script without saving anything. Runs the script end-to-end through the
110885
+ * network broker channel using the sample prompt, and returns the execution outcome —
110886
+ * `validated` plus the script's `stdout` / `stderr` / `traceback` — not an adapter record.
110887
+ *
110888
+ * This endpoint has its own request shape: no `name`, `network_broker_channel_uuid` is
110889
+ * required, and `adapter_uuid` may reference an existing adapter so `null` variable values
110890
+ * are resolved from its stored secrets before the run.
110891
+ * @param body - Script, channel, prompt, and optionally variables / an existing adapter UUID.
110892
+ * @returns The validation outcome.
110893
+ * @example
110894
+ * ```ts
110895
+ * const result = await rt.adapters.validate({
110896
+ * script_b64: Buffer.from(script).toString('base64'),
110897
+ * network_broker_channel_uuid: '550e8400-...',
110898
+ * prompt: 'Hello',
110899
+ * });
110900
+ * if (!result.validated) console.error(result.stderr ?? result.traceback);
110901
+ * ```
110902
+ */
110903
+ validate(body: AdapterValidateRequest): Promise<AdapterValidateResponse>;
110904
+ }
110905
+
109216
110906
  /** Options for constructing a {@link RedTeamClient}. */
109217
110907
  interface RedTeamClientOptions {
109218
110908
  /** OAuth2 client ID. Falls back to `PANW_RED_TEAM_CLIENT_ID`, then `PANW_MGMT_CLIENT_ID`. */
@@ -109263,6 +110953,8 @@ declare class RedTeamClient {
109263
110953
  readonly instances: RedTeamInstancesClient;
109264
110954
  /** Network broker channel operations (distinct network broker base URL). */
109265
110955
  readonly networkBroker: RedTeamNetworkBrokerClient;
110956
+ /** Management plane custom target adapter operations. */
110957
+ readonly adapters: RedTeamAdaptersClient;
109266
110958
  private readonly dataEndpoint;
109267
110959
  private readonly mgmtEndpoint;
109268
110960
  private readonly auth;
@@ -109779,6 +111471,47 @@ interface AIGatewaySubClientOptions {
109779
111471
  auth: AuthAdapter;
109780
111472
  numRetries: number;
109781
111473
  }
111474
+ /**
111475
+ * @internal
111476
+ * Construction options for `AIGatewayWorkspacesClient`, the one resource that spans both planes:
111477
+ * reads work on either, writes are admin-only.
111478
+ *
111479
+ * Declared standalone rather than extending {@link AIGatewaySubClientOptions}, matching the
111480
+ * precedent set by `AIGatewayTelemetryClientOptions` — sub-client option types in this subsystem
111481
+ * stay separate even when near-identical.
111482
+ */
111483
+ interface AIGatewayWorkspacesClientOptions {
111484
+ /** Data-plane base URL (`/ai_gw/v2`). Default for reads. */
111485
+ baseUrl: string;
111486
+ /** Admin-plane base URL (`/ai_gw/admin/v2`). Required for writes and tenant-wide reads. */
111487
+ adminBaseUrl: string;
111488
+ auth: AuthAdapter;
111489
+ numRetries: number;
111490
+ }
111491
+ /**
111492
+ * Which plane to route a workspace read through.
111493
+ *
111494
+ * - `data` (default) — `/ai_gw/v2`, returns only workspaces the caller holds a workspace-scope
111495
+ * grant on. A workspace outside that scope answers `403 AB03`, not `404`.
111496
+ * - `admin` — `/ai_gw/admin/v2`, returns every workspace in the tenant. Needs a tenant-root
111497
+ * admin role.
111498
+ */
111499
+ type AIGatewayPlane = 'data' | 'admin';
111500
+ /** Options for `AIGatewayWorkspacesClient.list`. */
111501
+ interface AIGatewayWorkspaceListOptions {
111502
+ /**
111503
+ * Filter by lifecycle state. **Omitting this returns active workspaces only** — archived
111504
+ * workspaces are invisible unless asked for explicitly. Lowercase on the wire.
111505
+ */
111506
+ status?: 'active' | 'archived';
111507
+ /** Defaults to `data`. Use `admin` to enumerate the whole tenant. */
111508
+ plane?: AIGatewayPlane;
111509
+ }
111510
+ /** Options for `AIGatewayWorkspacesClient.get`. */
111511
+ interface AIGatewayWorkspaceGetOptions {
111512
+ /** Defaults to `data`. Use `admin` to read a workspace outside your workspace scope. */
111513
+ plane?: AIGatewayPlane;
111514
+ }
109782
111515
  /**
109783
111516
  * Options for listing workspace-scoped resources. Shared by every sub-client whose `list`
109784
111517
  * (or list-alike) endpoint takes only a workspace UUID — guardrails, providers, api-keys,
@@ -109789,28 +111522,96 @@ interface AIGatewayWorkspaceScopedListOptions {
109789
111522
  workspaceId: string;
109790
111523
  }
109791
111524
 
109792
- /** Client for AI Gateway workspace reads (data plane). */
111525
+ /** Request body for {@link AIGatewayWorkspacesClient.create}. */
111526
+ interface GatewayWorkspaceCreateRequest {
111527
+ /** Display name. Required. */
111528
+ name: string;
111529
+ /**
111530
+ * SCM role scope granting data-plane access to the new workspace, e.g. `ws_production_bx7qw0`.
111531
+ * Required, and **specific to Prisma AIRS** — upstream Portkey has no such field.
111532
+ *
111533
+ * It is not derived from `name`. A workspace created with a scope nobody holds is invisible to
111534
+ * `list()` on the data plane, though it still appears via `list({ plane: 'admin' })`.
111535
+ */
111536
+ scope_name: string;
111537
+ description?: string;
111538
+ icon?: string;
111539
+ /** Workspace defaults; `metadata` is a flat string map applied to every request. */
111540
+ defaults?: Record<string, unknown>;
111541
+ /** User ids to seed the workspace with. */
111542
+ users?: string[];
111543
+ /** Usage-limit policies. An **array**, not a single object. */
111544
+ usage_limits?: Array<Record<string, unknown>>;
111545
+ /** Rate-limit policies. An **array**, not a single object. */
111546
+ rate_limits?: Array<Record<string, unknown>>;
111547
+ }
111548
+ /**
111549
+ * Request body for {@link AIGatewayWorkspacesClient.update}. Partial — send only what changes.
111550
+ *
111551
+ * The API enumerates the fields it accepts in its own rejection message: `name`, `description`,
111552
+ * `icon`, `defaults`, `rate_limits`. `usage_limits` is accepted by upstream Portkey but missing
111553
+ * from that message, so it is offered here and may be ignored server-side.
111554
+ */
111555
+ interface GatewayWorkspaceUpdateRequest {
111556
+ name?: string;
111557
+ description?: string;
111558
+ icon?: string;
111559
+ defaults?: Record<string, unknown>;
111560
+ usage_limits?: Array<Record<string, unknown>>;
111561
+ rate_limits?: Array<Record<string, unknown>>;
111562
+ }
111563
+ /**
111564
+ * Client for AI Gateway workspaces.
111565
+ *
111566
+ * The only sub-client spanning **both planes**: reads default to the data plane but can be routed
111567
+ * to the admin plane, and every write is admin-only. Each of the other eleven sub-clients is wired
111568
+ * to exactly one plane.
111569
+ */
109793
111570
  declare class AIGatewayWorkspacesClient {
109794
111571
  private readonly baseUrl;
111572
+ private readonly adminBaseUrl;
109795
111573
  private readonly auth;
109796
111574
  private readonly numRetries;
109797
- constructor(opts: AIGatewaySubClientOptions);
111575
+ constructor(opts: AIGatewayWorkspacesClientOptions);
111576
+ private urlFor;
109798
111577
  /**
109799
- * List workspaces visible to the caller.
109800
- * @returns All workspaces, each with the `scope_name` that grants data-plane access to it.
111578
+ * List workspaces.
111579
+ *
111580
+ * Two defaults worth knowing, because each one hides rows:
111581
+ *
111582
+ * 1. **Active only.** Without `status`, archived workspaces are omitted. Pass
111583
+ * `{ status: 'archived' }` to see them — that is where {@link AIGatewayWorkspacesClient.delete}
111584
+ * leaves a workspace.
111585
+ * 2. **Your scope only.** The data plane returns just the workspaces your service account holds a
111586
+ * workspace-scope grant on. Pass `{ plane: 'admin' }` to enumerate the whole tenant.
111587
+ *
111588
+ * @param options - Optional status filter and plane selection.
111589
+ * @returns Workspaces, each with the `scope_name` that grants data-plane access to it.
109801
111590
  * @example
109802
111591
  * ```ts
109803
111592
  * import { AIGatewayClient } from '@cdot65/prisma-airs-sdk';
109804
111593
  * const gw = new AIGatewayClient();
109805
111594
  *
109806
- * const ws = await gw.workspaces.list();
109807
- * // ws.data[0] => { slug: 'ws-main-a-349e0e', scope_name: 'main_airs_workspace_1852583913', ... }
111595
+ * const mine = await gw.workspaces.list();
111596
+ * // mine.data[0] => { slug: 'ws-main-a-349e0e', scope_name: 'main_airs_workspace_1852583913', ... }
111597
+ *
111598
+ * const everything = await gw.workspaces.list({ plane: 'admin' });
111599
+ * const archived = await gw.workspaces.list({ plane: 'admin', status: 'archived' });
109808
111600
  * ```
109809
111601
  */
109810
- list(): Promise<ListWorkspacesResponse>;
111602
+ list(options?: AIGatewayWorkspaceListOptions): Promise<ListWorkspacesResponse>;
109811
111603
  /**
109812
111604
  * Fetch one workspace, including its security and rate-limit settings.
109813
- * @param workspaceId - Workspace UUID.
111605
+ *
111606
+ * @param workspaceRef - Workspace UUID **or** slug; the API accepts both.
111607
+ * @param options - Plane selection. A workspace outside your workspace scope answers `403 AB03`
111608
+ * on the data plane, not `404`; re-read it with `{ plane: 'admin' }`.
111609
+ *
111610
+ * **Archived workspaces are not retrievable here.** Once
111611
+ * {@link AIGatewayWorkspacesClient.delete} has archived a workspace, this returns `404 AB08`
111612
+ * for both its UUID and its slug, on either plane (verified live 2026-08-01) — even though the
111613
+ * row is still listed by `list({ status: 'archived' })`. Treat a 404 after a delete as expected,
111614
+ * and use the list filter to inspect archived workspaces.
109814
111615
  * @returns Workspace detail; list rows do not carry the settings blocks.
109815
111616
  * @example
109816
111617
  * ```ts
@@ -109819,9 +111620,81 @@ declare class AIGatewayWorkspacesClient {
109819
111620
  *
109820
111621
  * const ws = await gw.workspaces.get('16f7e90d-382a-4e78-b577-1b01eb5f8297');
109821
111622
  * // ws.security_settings?.membersViewLogs => true
111623
+ *
111624
+ * // Slugs work too, and the admin plane reaches workspaces you aren't scoped to:
111625
+ * const other = await gw.workspaces.get('ws-produc-985697', { plane: 'admin' });
111626
+ * ```
111627
+ */
111628
+ get(workspaceRef: string, options?: AIGatewayWorkspaceGetOptions): Promise<GatewayWorkspaceDetail>;
111629
+ /**
111630
+ * Create a workspace. **Admin plane** — needs a tenant-root admin role.
111631
+ *
111632
+ * @param body - `name` and `scope_name` are both required; the API rejects a body missing either.
111633
+ * @returns The created workspace. Unlike `configs`/`guardrails`/`providers`/`deployments`,
111634
+ * which return short receipts, this returns most of the record — but not `status`,
111635
+ * `is_default`, `icon`, `usage_limits`, `rate_limits`, or the settings blocks. Call
111636
+ * {@link AIGatewayWorkspacesClient.get} when you need those.
111637
+ * @example
111638
+ * ```ts
111639
+ * import { AIGatewayClient } from '@cdot65/prisma-airs-sdk';
111640
+ * const gw = new AIGatewayClient();
111641
+ *
111642
+ * const created = await gw.workspaces.create({
111643
+ * name: 'Production',
111644
+ * scope_name: 'ws_production_bx7qw0', // the SCM scope, not derived from name
111645
+ * description: 'All production applications',
111646
+ * defaults: { metadata: { env: 'production' } },
111647
+ * rate_limits: [{ type: 'requests', unit: 'rpm', value: 100 }],
111648
+ * });
111649
+ * ```
111650
+ */
111651
+ create(body: GatewayWorkspaceCreateRequest): Promise<GatewayWorkspaceCreateResponse>;
111652
+ /**
111653
+ * Update a workspace. **Admin plane.** Partial patch — send only the fields that change.
111654
+ *
111655
+ * @param workspaceRef - Workspace UUID or slug.
111656
+ * @param body - At least one field. An empty patch is rejected locally, mirroring the API's own
111657
+ * "No update fields provided" rejection, so a typo'd caller fails without a round trip.
111658
+ * @returns An **empty object** — the API acknowledges the write without echoing the record
111659
+ * (verified live 2026-08-01). The change does persist; re-read with
111660
+ * {@link AIGatewayWorkspacesClient.get} to see it.
111661
+ * @example
111662
+ * ```ts
111663
+ * import { AIGatewayClient } from '@cdot65/prisma-airs-sdk';
111664
+ * const gw = new AIGatewayClient();
111665
+ *
111666
+ * await gw.workspaces.update('ws-produc-985697', {
111667
+ * description: 'Production workloads, us-east',
111668
+ * });
111669
+ * ```
111670
+ */
111671
+ update(workspaceRef: string, body: GatewayWorkspaceUpdateRequest): Promise<GatewayWriteResponse>;
111672
+ /**
111673
+ * Delete a workspace. **Admin plane.**
111674
+ *
111675
+ * This is a **soft delete**: the workspace is archived, not destroyed. It vanishes from a default
111676
+ * {@link AIGatewayWorkspacesClient.list} but stays visible via `list({ status: 'archived' })`.
111677
+ * Note that `list` is the *only* way to see it afterwards —
111678
+ * {@link AIGatewayWorkspacesClient.get} answers `404 AB08` for an archived workspace.
111679
+ * Same semantics as `deployments.delete()`, and the opposite of `configs`/`guardrails`/`providers`,
111680
+ * which hard delete. There is no hard delete for workspaces.
111681
+ *
111682
+ * Takes no query parameters — unlike `integrations.delete()` and `deployments.delete()`, which
111683
+ * both require `organisation_id`.
111684
+ *
111685
+ * @param workspaceRef - Workspace UUID or slug.
111686
+ * @example
111687
+ * ```ts
111688
+ * import { AIGatewayClient } from '@cdot65/prisma-airs-sdk';
111689
+ * const gw = new AIGatewayClient();
111690
+ *
111691
+ * await gw.workspaces.delete('ws-produc-985697');
111692
+ *
111693
+ * // Still there, archived:
111694
+ * const gone = await gw.workspaces.list({ plane: 'admin', status: 'archived' });
109822
111695
  * ```
109823
111696
  */
109824
- get(workspaceId: string): Promise<GatewayWorkspaceDetail>;
111697
+ delete(workspaceRef: string): Promise<void>;
109825
111698
  }
109826
111699
 
109827
111700
  /** Request body for creating or updating a config. */
@@ -110872,4 +112745,4 @@ declare class AIGatewayClient {
110872
112745
  constructor(opts?: AIGatewayClientOptions);
110873
112746
  }
110874
112747
 
110875
- export { AIGatewayApiKeysClient, type AIGatewayAuditLogListOptions, AIGatewayAuditLogsClient, AIGatewayClient, type AIGatewayClientOptions, AIGatewayConfigsClient, AIGatewayDeploymentsClient, type AIGatewayGroupOptions, AIGatewayGuardrailsClient, AIGatewayIntegrationsClient, type AIGatewayLogsOptions, AIGatewayMcpIntegrationsClient, AIGatewayOrganisationsClient, AIGatewayPluginsClient, AIGatewayProvidersClient, type AIGatewaySubClientOptions, AIGatewayTelemetryClient, type AIGatewayTelemetryClientOptions, type AIGatewayWindowOptions, type AIGatewayWorkspaceScopedListOptions, AIGatewayWorkspacesClient, AIRS_ENDPOINTS, AISecSDKException, type AISecSDKExceptionMetadata, AI_GW_ADMIN_ENDPOINT, AI_GW_API_KEYS_SERVICE_PATH, AI_GW_API_KEYS_USER_PATH, AI_GW_AUDIT_LOGS_PATH, AI_GW_CHARTS_PATH, AI_GW_CHART_METRICS, AI_GW_CONFIGS_PATH, AI_GW_DATA_ENDPOINT, AI_GW_DEPLOYMENTS_PATH, AI_GW_GROUPS_PATH, AI_GW_GROUP_COLUMNS, AI_GW_GROUP_DIMENSIONS, AI_GW_GUARDRAILS_PATH, AI_GW_INTEGRATIONS_PATH, AI_GW_LOGS_PATH, AI_GW_MCP_INTEGRATIONS_PATH, AI_GW_ORGANISATIONS_SELF_PATH, AI_GW_PLUGINS_PATH, AI_GW_PROVIDERS_PATH, AI_GW_WORKSPACES_PATH, AI_SEC_API_ENDPOINT, AI_SEC_API_KEY, AI_SEC_API_TOKEN, ASYNC_SCAN_PATH, Action, Action as ActionType, type AdvancedDataProfileRequest, AdvancedDataProfileRequestSchema, type AgentEntry, AgentEntrySchema, type AgentMeta, AgentMetaSchema, type AgentProtectionItem, AgentProtectionItemSchema, type AgentReport, AgentReportSchema, type AiProfile, AiProfileSchema, type AiSecurityProfile, AiSecurityProfileSchema, ApiEndpointType, type ApiKey, type ApiKeyCreateRequest, ApiKeyCreateRequestSchema, type ApiKeyDPInfo, ApiKeyDPInfoSchema, type ApiKeyDeleteResponse, ApiKeyDeleteResponseSchema, type ApiKeyListResponse, ApiKeyListResponseSchema, type ApiKeyRegenerateRequest, ApiKeyRegenerateRequestSchema, ApiKeySchema, ApiKeysClient, type ApiKeysClientOptions, type AppExclusion, AppExclusionSchema, type AsyncScanObject, AsyncScanObjectSchema, type AsyncScanResponse, AsyncScanResponseSchema, type AttackDetailResponse, AttackDetailResponseSchema, type AttackListItem, AttackListItemSchema, type AttackListOptions, type AttackListResponse, AttackListResponseSchema, type AttackMultiTurnDetailResponse, AttackMultiTurnDetailResponseSchema, type AttackMultiTurnOutput, AttackMultiTurnOutputSchema, type AttackOutput, AttackOutputSchema, AttackStatus, AttackType, type AuditResponse, AuditResponseSchema, type AuthConfig, AuthConfigSchema, type AuthSettingsResponse, AuthSettingsResponseSchema, AuthType, BEARER, type BaseResponse, BaseResponseSchema, type BasicAuthAuthConfig, BasicAuthAuthConfigSchema, BasicAuthLocation, type BedrockAccessConnectionParams, BedrockAccessConnectionParamsSchema, BrandSubCategory, type CacheHitTrendResponse, CacheHitTrendResponseSchema, type CacheSummaryResponse, CacheSummaryResponseSchema, Category, type CategoryModel, CategoryModelSchema, type CategoryReport, CategoryReportSchema, Category as CategoryType, type CgReport, CgReportSchema, type Channel, type ChannelListOptions, type ChannelListPagination, ChannelListPaginationSchema, type ChannelListResponse, ChannelListResponseSchema, ChannelSchema, type ChannelStats, ChannelStatsSchema, ChannelStatus, ChannelStatusSchema, type ChannelStatusType, type ClientIdAndCustomerApp, ClientIdAndCustomerAppSchema, type CmdEntry, CmdEntrySchema, type CmdInjectReport, CmdInjectReportSchema, type ComparisonOperatorType, ComparisonOperatorTypeSchema, type ComplianceReport, ComplianceReportSchema, ComplianceSubCategory, type ComplianceTechnique, ComplianceTechniqueSchema, type ConnectionParams, ConnectionParamsSchema, Content, type ContentError, ContentErrorSchema, ContentErrorType, ContentErrorType as ContentErrorTypeType, type ContentOptions, type CostChartResponse, CostChartResponseSchema, type CountByName, CountByNameSchema, type CountChartResponse, CountChartResponseSchema, CountedQuotaEnum, type CreateChannelRequest, CreateChannelRequestSchema, type CreateCustomTopicRequest, CreateCustomTopicRequestSchema, type CreateSecurityProfileRequest, CreateSecurityProfileRequestSchema, type CustomAttackOutput, CustomAttackOutputSchema, type CustomAttackReportResponse, CustomAttackReportResponseSchema, type CustomAttacksListResponse, CustomAttacksListResponseSchema, type CustomAttacksReportListOptions, type CustomJobMetadata, CustomJobMetadataSchema, type CustomPromptCreateRequest, CustomPromptCreateRequestSchema, type CustomPromptList, type CustomPromptListItem, CustomPromptListItemSchema, CustomPromptListSchema, type CustomPromptResponse, CustomPromptResponseSchema, type CustomPromptSetArchiveRequest, CustomPromptSetArchiveRequestSchema, type CustomPromptSetCreateRequest, CustomPromptSetCreateRequestSchema, type CustomPromptSetList, type CustomPromptSetListActive, CustomPromptSetListActiveSchema, type CustomPromptSetListItem, CustomPromptSetListItemSchema, CustomPromptSetListSchema, type CustomPromptSetReference, CustomPromptSetReferenceSchema, type CustomPromptSetResponse, CustomPromptSetResponseSchema, type CustomPromptSetUpdateRequest, CustomPromptSetUpdateRequestSchema, type CustomPromptSetVersionInfo, CustomPromptSetVersionInfoSchema, type CustomPromptUpdateRequest, CustomPromptUpdateRequestSchema, type CustomTopic, type CustomTopicListResponse, CustomTopicListResponseSchema, CustomTopicSchema, type CustomerApp, type CustomerAppDeleteResponse, CustomerAppDeleteResponseSchema, type CustomerAppListResponse, CustomerAppListResponseSchema, CustomerAppSchema, type CustomerAppWithKeys, CustomerAppWithKeysSchema, CustomerAppsClient, type CustomerAppsClientOptions, DEFAULT_AI_GW_ADMIN_ENDPOINT, DEFAULT_AI_GW_DATA_ENDPOINT, DEFAULT_DLP_ENDPOINT, DEFAULT_ENDPOINT, DEFAULT_MGMT_ENDPOINT, DEFAULT_MODEL_SEC_DATA_ENDPOINT, DEFAULT_MODEL_SEC_MGMT_ENDPOINT, DEFAULT_RED_TEAM_DATA_ENDPOINT, DEFAULT_RED_TEAM_MGMT_ENDPOINT, DEFAULT_RED_TEAM_NETWORK_BROKER_ENDPOINT, DEFAULT_TOKEN_ENDPOINT, DLP_DATA_FILTERING_PROFILES_PATH, DLP_DATA_PATTERNS_PATH, DLP_DATA_PROFILES_PATH, DLP_DICTIONARIES_PATH, type DSDetailResult, DSDetailResultSchema, type DSResultMetadata, DSResultMetadataSchema, type DashboardAppQuery, type DashboardApplication, DashboardApplicationSchema, type DashboardApplicationSessionsBucket, DashboardApplicationSessionsBucketSchema, type DashboardApplicationViolationBreakdown, DashboardApplicationViolationBreakdownSchema, type DashboardApplicationsOverview, type DashboardApplicationsOverviewItem, DashboardApplicationsOverviewItemSchema, type DashboardApplicationsOverviewQuery, DashboardApplicationsOverviewSchema, DashboardClient, type DashboardClientOptions, type DashboardOverviewResponse, DashboardOverviewResponseSchema, type DashboardPagination, DashboardPaginationSchema, type DashboardSessionStats, DashboardSessionStatsSchema, type DataFilteringDetails, DataFilteringDetailsSchema, type DataFilteringProfileListParams, type DataFilteringProfileRequest, DataFilteringProfileRequestSchema, type DataFilteringProfileResponse, DataFilteringProfileResponseSchema, DataFilteringProfilesClient, type DataFilteringProfilesClientOptions, type DataFilteringRuleDTO, DataFilteringRuleDTOSchema, type DataLeakDetectionMember, DataLeakDetectionMemberSchema, type DataPatternConfidenceLevel, DataPatternConfidenceLevelSchema, type DataPatternDetectionConfig, DataPatternDetectionConfigSchema, type DataPatternLicenseType, DataPatternLicenseTypeSchema, type DataPatternListParams, type DataPatternMatchingRules, DataPatternMatchingRulesSchema, type DataPatternPatchRequest, DataPatternPatchRequestSchema, type DataPatternRequest, DataPatternRequestSchema, type DataPatternResponse, DataPatternResponseSchema, type DataPatternStatus, DataPatternStatusSchema, type DataPatternTags, DataPatternTagsSchema, type DataPatternTechnique, DataPatternTechniqueSchema, type DataPatternType, DataPatternTypeSchema, DataPatternsClient, type DataPatternsClientOptions, type DataProfileListParams, type DataProfilePatchRequest, DataProfilePatchRequestSchema, type DataProfileResponse, DataProfileResponseSchema, type DataProfileStatus, DataProfileStatusSchema, type DataProfileSubtype, DataProfileSubtypeSchema, type DataProfileType, DataProfileTypeSchema, DataProfilesClient, type DataProfilesClientOptions, type DataProtection, DataProtectionSchema, type DatabaseSecurityItem, DatabaseSecurityItemSchema, type DatabricksConnectionParams, DatabricksConnectionParamsSchema, DateRangeFilter, type DbsEntry, DbsEntrySchema, type DbsReport, DbsReportSchema, type DefaultTreeDetectionRule, DefaultTreeDetectionRuleSchema, type DeleteProfileConflict, DeleteProfileConflictSchema, type DeleteProfileResponse, DeleteProfileResponseSchema, type DeleteTopicConflict, DeleteTopicConflictSchema, type DeleteTopicResponse, DeleteTopicResponseSchema, type DeploymentProfileAttribute, DeploymentProfileAttributeSchema, type DeploymentProfileEntry, DeploymentProfileEntrySchema, type DeploymentProfileListOptions, type DeploymentProfileRequest, DeploymentProfileRequestSchema, DeploymentProfilesClient, type DeploymentProfilesClientOptions, type DeploymentProfilesResponse, DeploymentProfilesResponseSchema, type DestinationAttributes, DestinationAttributesSchema, type DetectionRule, type DetectionRuleItem, DetectionRuleItemSchema, DetectionRuleSchema, DetectionServiceName, DetectionServiceName as DetectionServiceNameType, type DetectionServiceResult, DetectionServiceResultSchema, type DetectorViolationBreakdownEntry, DetectorViolationBreakdownEntrySchema, type Device, type DeviceInstance, DeviceInstanceSchema, type DeviceLicense, DeviceLicenseSchema, type DeviceRequest, DeviceRequestSchema, type DeviceResponse, DeviceResponseSchema, DeviceSchema, type DeviceStatus, DeviceStatusSchema, DictionariesClient, type DictionariesClientOptions, type DictionaryCategory, DictionaryCategorySchema, type DictionaryClassification, DictionaryClassificationSchema, type DictionaryDetectionSubTechnique, DictionaryDetectionSubTechniqueSchema, type DictionaryDetectionTechnique, DictionaryDetectionTechniqueSchema, type DictionaryFileInput, type DictionaryGetParams, type DictionaryListParams, type DictionaryMetaDataDTO, DictionaryMetaDataDTOSchema, type DictionaryPatchRequest, DictionaryPatchRequestSchema, type DictionaryRequest, DictionaryRequestSchema, type DictionaryResponse, DictionaryResponseSchema, type DictionaryTags, DictionaryTagsSchema, type DictionaryType, DictionaryTypeSchema, type DictionaryUploadParams, type DlpDataProfile, type DlpDataProfilePolicy, DlpDataProfilePolicySchema, DlpDataProfileSchema, DlpNamespace, type DlpNamespaceOptions, type DlpPatternDetection, DlpPatternDetectionSchema, type DlpProfileListResponse, DlpProfileListResponseSchema, DlpProfilesClient, type DlpProfilesClientOptions, type DlpReport, DlpReportSchema, type DlpRule, DlpRuleSchema, type DynamicJobMetadata, DynamicJobMetadataSchema, type DynamicJobReport, DynamicJobReportSchema, type DynamicJobReportStats, DynamicJobReportStatsSchema, ErrorCodes, type ErrorLog, type ErrorLogListResponse, ErrorLogListResponseSchema, ErrorLogSchema, type ErrorResponse, ErrorResponseSchema, ErrorSource, ErrorStatus, ErrorStatus as ErrorStatusType, type ErrorTrendsResponse, ErrorTrendsResponseSchema, ErrorType, type EulaAcceptRequest, EulaAcceptRequestSchema, type EulaContentResponse, EulaContentResponseSchema, type EulaResponse, EulaResponseSchema, EvalOutcome, type EvalSummary, EvalSummarySchema, type ExceptionRuleDTO, ExceptionRuleDTOSchema, type Exclusions, ExclusionsSchema, type ExpressionOperatorType, ExpressionOperatorTypeSchema, type ExpressionTreeNode, ExpressionTreeNodeSchema, type FeedbackModelsResponse, FeedbackModelsResponseSchema, type FeedbackScoreDistributionResponse, FeedbackScoreDistributionResponseSchema, FileFormat, type FileList, FileListSchema, type FileResponse, FileResponseSchema, type FileScanData, FileScanDataSchema, FileScanResult, FileType, type GatewayApiKey, type GatewayApiKeyCreateRequest, GatewayApiKeySchema, type GatewayAuditLogRecord, GatewayAuditLogRecordSchema, type GatewayAuditLogsResponse, GatewayAuditLogsResponseSchema, type GatewayChartRecord, GatewayChartRecordSchema, type GatewayConfig, type GatewayConfigCreateRequest, type GatewayConfigCreateResponse, GatewayConfigCreateResponseSchema, type GatewayConfigDetail, GatewayConfigDetailSchema, GatewayConfigSchema, type GatewayDeployment, type GatewayDeploymentCreateRequest, type GatewayDeploymentCreateResponse, GatewayDeploymentCreateResponseSchema, type GatewayDeploymentDetail, GatewayDeploymentDetailSchema, GatewayDeploymentSchema, type GatewayGlobalWorkspaceAccess, GatewayGlobalWorkspaceAccessSchema, type GatewayGroupRow, GatewayGroupRowSchema, type GatewayGuardrail, type GatewayGuardrailCheck, type GatewayGuardrailCreateRequest, type GatewayGuardrailCreateResponse, GatewayGuardrailCreateResponseSchema, type GatewayGuardrailDetail, GatewayGuardrailDetailSchema, GatewayGuardrailSchema, type GatewayIntegration, type GatewayIntegrationCreateRequest, type GatewayIntegrationModelsRequest, type GatewayIntegrationModelsResponse, GatewayIntegrationModelsResponseSchema, GatewayIntegrationSchema, type GatewayIntegrationWorkspace, GatewayIntegrationWorkspaceSchema, type GatewayIntegrationWorkspacesRequest, type GatewayIntegrationWorkspacesResponse, GatewayIntegrationWorkspacesResponseSchema, type GatewayLogRecord, GatewayLogRecordSchema, type GatewayLogsResponse, GatewayLogsResponseSchema, type GatewayPlugin, type GatewayPluginCreateRequest, GatewayPluginSchema, type GatewayProvider, type GatewayProviderCreateRequest, type GatewayProviderCreateResponse, GatewayProviderCreateResponseSchema, GatewayProviderSchema, type GatewayWorkspace, type GatewayWorkspaceDetail, GatewayWorkspaceDetailSchema, GatewayWorkspaceSchema, type GatewayWriteResponse, GatewayWriteResponseSchema, type GetTokenOptions, type Goal, type GoalListOptions, type GoalListResponse, GoalListResponseSchema, GoalSchema, GoalType, GoalTypeQueryParam, type GroupListResponse, GroupListResponseSchema, GuardrailAction, HEADER_API_KEY, HEADER_AUTH_TOKEN, type HTTPValidationError, HTTPValidationErrorSchema, HTTP_FORCE_RETRY_STATUS_CODES, type HeadersAuthConfig, HeadersAuthConfigSchema, type HuggingfaceConnectionParams, HuggingfaceConnectionParamsSchema, type IODetected, IODetectedSchema, type InitOptions, type InstanceExtraDetails, InstanceExtraDetailsSchema, type InstanceGetResponse, InstanceGetResponseSchema, type InstanceRequest, InstanceRequestSchema, type InstanceResponse, InstanceResponseSchema, type JobAbortResponse, JobAbortResponseSchema, type JobCreateRequest, JobCreateRequestSchema, type JobListResponse, JobListResponseSchema, type JobResponse, JobResponseSchema, JobStatus, JobStatusFilter, type JobTimeRecord, JobTimeRecordSchema, JobType, type JsonNullable, type Label, type LabelKeyList, LabelKeyListSchema, LabelSchema, type LabelValueList, LabelValueListSchema, type LabelsCreateRequest, LabelsCreateRequestSchema, type LabelsResponse, LabelsResponseSchema, type LanguageOption, LanguageOptionSchema, type LatencyChartResponse, LatencyChartResponseSchema, type ListApiKeysResponse, ListApiKeysResponseSchema, type ListConfigsResponse, ListConfigsResponseSchema, type ListDeploymentsResponse, ListDeploymentsResponseSchema, type ListGuardrailsResponse, ListGuardrailsResponseSchema, type ListIntegrationsResponse, ListIntegrationsResponseSchema, type ListMcpIntegrationsResponse, ListMcpIntegrationsResponseSchema, type ListModelSecurityGroupsResponse, ListModelSecurityGroupsResponseSchema, type ListModelSecurityRuleInstancesResponse, ListModelSecurityRuleInstancesResponseSchema, type ListModelSecurityRulesResponse, ListModelSecurityRulesResponseSchema, type ListPluginsResponse, ListPluginsResponseSchema, type ListProvidersResponse, ListProvidersResponseSchema, type ListWorkspacesResponse, ListWorkspacesResponseSchema, type ListingOptions, MAX_AI_PROFILE_NAME_LENGTH, MAX_API_KEY_LENGTH, MAX_CONNECTION_POOL_SIZE, MAX_CONTENT_CONTEXT_LENGTH, MAX_CONTENT_PROMPT_LENGTH, MAX_CONTENT_RESPONSE_LENGTH, MAX_NUMBER_OF_BATCH_SCAN_OBJECTS, MAX_NUMBER_OF_REPORT_IDS, MAX_NUMBER_OF_RETRIES, MAX_NUMBER_OF_SCAN_IDS, MAX_REPORT_ID_STR_LENGTH, MAX_SCAN_ID_STR_LENGTH, MAX_SESSION_ID_STR_LENGTH, MAX_TOKEN_LENGTH, MAX_TRANSACTION_ID_STR_LENGTH, MGMT_API_KEYS_TSG_PATH, MGMT_API_KEY_PATH, MGMT_CLIENT_ID, MGMT_CLIENT_SECRET, MGMT_CUSTOMER_APPS_TSG_PATH, MGMT_CUSTOMER_APP_PATH, MGMT_DASHBOARD_APPLICATIONS_OVERVIEW_PATH, MGMT_DASHBOARD_APPLICATION_PATH, MGMT_DASHBOARD_APPLICATION_VIOLATION_BREAKDOWN_PATH, MGMT_DEPLOYMENT_PROFILES_PATH, MGMT_DLP_PROFILES_PATH, MGMT_ENDPOINT, MGMT_OAUTH_INVALIDATE_PATH, MGMT_OAUTH_TOKEN_PATH, MGMT_PROFILES_TSG_PATH, MGMT_PROFILE_PATH, MGMT_SCAN_LOGS_PATH, MGMT_TOKEN_ENDPOINT, MGMT_TOPICS_TSG_PATH, MGMT_TOPIC_FORCE_PATH, MGMT_TOPIC_PATH, MGMT_TSG_ID, MODEL_SEC_CLIENT_ID, MODEL_SEC_CLIENT_SECRET, MODEL_SEC_DATA_ENDPOINT, MODEL_SEC_EVALUATIONS_PATH, MODEL_SEC_MGMT_ENDPOINT, MODEL_SEC_MODELS_PATH, MODEL_SEC_MODEL_VERSIONS_PATH, MODEL_SEC_PYPI_AUTH_PATH, MODEL_SEC_SCANS_PATH, MODEL_SEC_SECURITY_GROUPS_PATH, MODEL_SEC_SECURITY_RULES_PATH, MODEL_SEC_TOKEN_ENDPOINT, MODEL_SEC_TSG_ID, MODEL_SEC_VIOLATIONS_PATH, type MaliciousCodeProtection, MaliciousCodeProtectionSchema, type MalwareReport, MalwareReportSchema, ManagementClient, type ManagementClientOptions, type MaskedData, MaskedDataSchema, type McEntry, McEntrySchema, type McReport, McReportSchema, type McpIntegration, type McpIntegrationCreateRequest, McpIntegrationSchema, type McpIntegrationWorkspacesRequest, type Metadata, type MetadataCriterion, MetadataCriterionSchema, MetadataSchema, type Model, type ModelConfiguration, ModelConfigurationSchema, type ModelList, ModelListSchema, type ModelProtectionItem, ModelProtectionItemSchema, ModelResponseSchema, type ModelScanIssue, ModelScanIssueSchema, ModelScanStatus, ModelSecurityClient, type ModelSecurityClientOptions, type ModelSecurityEvaluationListOptions, type ModelSecurityFileListOptions, type ModelSecurityGroupCreateRequest, ModelSecurityGroupCreateRequestSchema, type ModelSecurityGroupListOptions, type ModelSecurityGroupResponse, ModelSecurityGroupResponseSchema, ModelSecurityGroupState, type ModelSecurityGroupUpdateRequest, ModelSecurityGroupUpdateRequestSchema, ModelSecurityGroupsClient, type ModelSecurityGroupsClientOptions, type ModelSecurityLabelListOptions, type ModelSecurityModelListOptions, type ModelSecurityModelVersionFileListOptions, type ModelSecurityModelVersionListOptions, ModelSecurityModelsClient, type ModelSecurityModelsClientOptions, type ModelSecurityPagination, ModelSecurityPaginationSchema, type ModelSecurityRuleInstanceListOptions, type ModelSecurityRuleInstanceResponse, ModelSecurityRuleInstanceResponseSchema, type ModelSecurityRuleInstanceUpdateRequest, ModelSecurityRuleInstanceUpdateRequestSchema, type ModelSecurityRuleListOptions, type ModelSecurityRuleResponse, ModelSecurityRuleResponseSchema, ModelSecurityRulesClient, type ModelSecurityRulesClientOptions, type ModelSecurityScanListOptions, ModelSecurityScansClient, type ModelSecurityScansClientOptions, type ModelSecurityViolationListOptions, type ModelVersion, type ModelVersionList, ModelVersionListSchema, ModelVersionResponseSchema, type MultiProfileDataNode, MultiProfileDataNodeSchema, type MultiProfileDetectionRule, MultiProfileDetectionRuleSchema, type MultiTurnStatefulConfig, MultiTurnStatefulConfigSchema, type MultiTurnStatelessConfig, MultiTurnStatelessConfigSchema, type OAuth2AuthConfig, OAuth2AuthConfigSchema, OAuthClient, type OAuthClientOptions, OAuthManagementClient, type OAuthManagementClientOptions, type Oauth2Token, Oauth2TokenSchema, type Offset, OffsetSchema, type OpenAIConnectionParams, OpenAIConnectionParamsSchema, type OrganisationSelfResponse, OrganisationSelfResponseSchema, PAYLOAD_HASH, type Page, type PageDataFilteringProfileResponse, PageDataFilteringProfileResponseSchema, type PageDataPatternResponse, PageDataPatternResponseSchema, type PageDataProfileResponse, PageDataProfileResponseSchema, type PageDictionaryResponse, PageDictionaryResponseSchema, type PageableObject, PageableObjectSchema, type PaginatedScanResults, PaginatedScanResultsSchema, type PaginationOptions, type PatternDetection, PatternDetectionSchema, type Policy, type PolicyAppProtection, PolicyAppProtectionSchema, type PolicyLatency, PolicyLatencySchema, PolicySchema, PolicyType, type PrerequisiteModel, PrerequisiteModelSchema, ProfilesClient, type ProfilesClientOptions, ProfilingStatus, type PromptDetailResponse, PromptDetailResponseSchema, type PromptDetected, PromptDetectedSchema, type PromptDetectionDetails, PromptDetectionDetailsSchema, type PromptListOptions, type PromptSetListOptions, type PromptSetStats, PromptSetStatsSchema, type PromptSetSummary, PromptSetSummarySchema, type PromptSetsReportResponse, PromptSetsReportResponseSchema, type PromptsBySetListOptions, type PropertyAssignment, PropertyAssignmentSchema, type PropertyDefinition, PropertyDefinitionSchema, type PropertyNameCreateRequest, PropertyNameCreateRequestSchema, type PropertyNamesListResponse, PropertyNamesListResponseSchema, type PropertyStatistic, PropertyStatisticSchema, type PropertyValueCreateRequest, PropertyValueCreateRequestSchema, type PropertyValueStatistic, PropertyValueStatisticSchema, type PropertyValuesMultipleResponse, PropertyValuesMultipleResponseSchema, type PropertyValuesResponse, PropertyValuesResponseSchema, type PyPIAuthResponse, PyPIAuthResponseSchema, type QuotaDetails, QuotaDetailsSchema, type QuotaSummary, QuotaSummarySchema, RED_TEAM_CATEGORIES_PATH, RED_TEAM_CHANNELS_PATH, RED_TEAM_CHANNELS_STATS_PATH, RED_TEAM_CLIENT_ID, RED_TEAM_CLIENT_SECRET, RED_TEAM_CUSTOM_ATTACKS_REPORT_PATH, RED_TEAM_CUSTOM_ATTACK_PATH, RED_TEAM_DASHBOARD_PATH, RED_TEAM_DATA_ENDPOINT, RED_TEAM_ERROR_LOG_PATH, RED_TEAM_ERROR_LOG_TARGET_PROFILE_PATH, RED_TEAM_EULA_PATH, RED_TEAM_INSTANCES_PATH, RED_TEAM_LANGUAGES_PATH, RED_TEAM_MGMT_DASHBOARD_PATH, RED_TEAM_MGMT_ENDPOINT, RED_TEAM_NETWORK_BROKER_ENDPOINT, RED_TEAM_QUOTA_PATH, RED_TEAM_REGISTRY_CREDENTIALS_PATH, RED_TEAM_REPORT_DYNAMIC_PATH, RED_TEAM_REPORT_PATH, RED_TEAM_REPORT_STATIC_PATH, RED_TEAM_SCAN_PATH, RED_TEAM_SENTIMENT_PATH, RED_TEAM_TARGET_PATH, RED_TEAM_TARGET_VALIDATE_AUTH_PATH, RED_TEAM_TEMPLATE_PATH, RED_TEAM_TOKEN_ENDPOINT, RED_TEAM_TSG_ID, RedTeamCategory, RedTeamClient, type RedTeamClientOptions, RedTeamCustomAttackReportsClient, type RedTeamCustomAttackReportsClientOptions, RedTeamCustomAttacksClient, type RedTeamCustomAttacksClientOptions, RedTeamErrorType, RedTeamEulaClient, type RedTeamEulaClientOptions, RedTeamInstancesClient, type RedTeamInstancesClientOptions, type RedTeamListOptions, RedTeamNetworkBrokerClient, type RedTeamNetworkBrokerClientOptions, type RedTeamPagination, RedTeamPaginationSchema, RedTeamReportsClient, type RedTeamReportsClientOptions, type RedTeamScanListOptions, RedTeamScansClient, type RedTeamScansClientOptions, RedTeamTargetsClient, type RedTeamTargetsClientOptions, type RegistryCredentials, RegistryCredentialsSchema, type RemediationDetail, RemediationDetailSchema, type RemediationResponse, RemediationResponseSchema, type RescuedRetriesResponse, RescuedRetriesResponseSchema, type ResourceModelExtension, ResourceModelExtensionSchema, type ResponseDetected, ResponseDetectedSchema, type ResponseDetectionDetails, ResponseDetectionDetailsSchema, ResponseMode, type RestConnectionParams, RestConnectionParamsSchema, type RiskLevel, RiskLevelSchema, RiskRating, type RuleConfiguration, RuleConfigurationSchema, type RuleEditableField, type RuleEditableFieldDropdown, RuleEditableFieldDropdownSchema, RuleEditableFieldSchema, RuleEditableFieldType, type RuleEvaluationList, RuleEvaluationListSchema, type RuleEvaluationResponse, RuleEvaluationResponseSchema, RuleEvaluationResult, RuleFieldValueKey, type RuleItemConfidenceLevel, RuleItemConfidenceLevelSchema, type RuleItemDetectionTechnique, RuleItemDetectionTechniqueSchema, type RuleItemEdmMatchCriteria, RuleItemEdmMatchCriteriaSchema, type RuleItemMatchType, RuleItemMatchTypeSchema, type RuleItemOccurrenceOperatorType, RuleItemOccurrenceOperatorTypeSchema, type RuleRemediation, RuleRemediationSchema, RuleState, RuleType, type RuntimeSecurityPolicy, RuntimeSecurityPolicySchema, type RuntimeSecurityProfileResponse, RuntimeSecurityProfileResponseSchema, SCAN_REPORTS_PATH, SCAN_RESULTS_PATH, SDK_VERSION, SYNC_SCAN_PATH, SafetySubCategory, type ScanBaseResponse, ScanBaseResponseSchema, type ScanCallOptions, type ScanCreateRequest, ScanCreateRequestSchema, type ScanDetails, ScanDetailsSchema, type ScanIdResult, ScanIdResultSchema, type ScanList, ScanListSchema, type ScanLogQueryOptions, ScanLogsClient, type ScanLogsClientOptions, ScanOrigin, type ScanRequest, type ScanRequestContentsInner, ScanRequestContentsInnerSchema, ScanRequestSchema, type ScanResponse, ScanResponseSchema, type ScanResultEntry, ScanResultEntrySchema, type ScanResultForDashboard, ScanResultForDashboardSchema, type ScanStatisticsResponse, ScanStatisticsResponseSchema, type ScanSummary, ScanSummarySchema, Scanner, type ScoreTrendResponse, ScoreTrendResponseSchema, type ScoreTrendSeries, ScoreTrendSeriesSchema, type SecurityProfile, type SecurityProfileListResponse, SecurityProfileListResponseSchema, SecurityProfileSchema, SecuritySubCategory, type SentimentRequest, SentimentRequestSchema, type SentimentResponse, SentimentResponseSchema, SeverityFilter, type SeverityReport, SeverityReportSchema, type SeverityStats, SeverityStatsSchema, SortByDateField, SortByFileField, SortDirection, type SortObject, SortObjectSchema, type SourceAttributes, SourceAttributesSchema, SourceType, type StaticJobMetadata, StaticJobMetadataSchema, type StaticJobRemediation, type StaticJobRemediationRecommendation, StaticJobRemediationRecommendationSchema, StaticJobRemediationSchema, type StaticJobReport, StaticJobReportSchema, type StaticJobReportStats, StaticJobReportStatsSchema, StatusQueryParam, type StreamDetailResponse, StreamDetailResponseSchema, type StreamIterationData, StreamIterationDataSchema, type StreamListResponse, StreamListResponseSchema, StreamType, type StreamingConnectionParams, StreamingConnectionParamsSchema, type SubCategoryModel, SubCategoryModelSchema, type SubCategoryStats, SubCategoryStatsSchema, type SyncScanOptions, TSG_ID_HEADER, type TargetAdditionalContext, TargetAdditionalContextSchema, TargetAuthType, type TargetAuthValidationRequest, TargetAuthValidationRequestSchema, type TargetAuthValidationResponse, TargetAuthValidationResponseSchema, type TargetBackground, TargetBackgroundSchema, TargetConnectionType, type TargetContextUpdate, TargetContextUpdateSchema, type TargetCreateRequest, TargetCreateRequestSchema, type TargetJobRequest, TargetJobRequestSchema, type TargetList, type TargetListItem, TargetListItemSchema, type TargetListOptions, TargetListSchema, type TargetMetadata, TargetMetadataSchema, type TargetOperationOptions, type TargetProbeRequest, TargetProbeRequestSchema, type TargetProfileResponse, TargetProfileResponseSchema, type TargetReference, TargetReferenceSchema, type TargetResponse, TargetResponseSchema, TargetStatus, type TargetTemplateCollection, TargetTemplateCollectionSchema, TargetType, type TargetUpdateRequest, TargetUpdateRequestSchema, type TcReport, TcReportSchema, type TenantLanguagesResponse, TenantLanguagesResponseSchema, type TgReport, TgReportSchema, ThreatCategory, type ThreatScanReport, ThreatScanReportSchema, type TokenInfo, type TokenStats, TokenStatsSchema, type TokensChartResponse, TokensChartResponseSchema, type ToolDetected, ToolDetectedSchema, type ToolDetectionDetails, ToolDetectionDetailsSchema, type ToolDetectionEntry, ToolDetectionEntrySchema, type ToolDetectionFlags, ToolDetectionFlagsSchema, type ToolEvent, type ToolEventMetadata, ToolEventMetadataSchema, ToolEventSchema, type TopicArray, TopicArraySchema, type TopicObject, TopicObjectSchema, TopicsClient, type TopicsClientOptions, type URLExclusion, URLExclusionSchema, USER_AGENT, type UpdateChannelRequest, UpdateChannelRequestSchema, type UrlCategory, UrlCategorySchema, type UrlfEntry, UrlfEntrySchema, type UserGroupResponse, UserGroupResponseSchema, type UserTrendsResponse, UserTrendsResponseSchema, type ValidationError, ValidationErrorSchema, Verdict, Verdict as VerdictType, type ViolationList, ViolationListSchema, type ViolationRemediation, ViolationRemediationSchema, type ViolationResponse, ViolationResponseSchema, type ViolationSeverityCounts, ViolationSeverityCountsSchema, type WebSocketConnectionParams, WebSocketConnectionParamsSchema, type WeightedRegex, WeightedRegexSchema, aiGwOrganisationsAuthSettingsPath, globalConfiguration, init, jsonNullable, pageSchema };
112748
+ export { AIGatewayApiKeysClient, type AIGatewayAuditLogListOptions, AIGatewayAuditLogsClient, AIGatewayClient, type AIGatewayClientOptions, AIGatewayConfigsClient, AIGatewayDeploymentsClient, type AIGatewayGroupOptions, AIGatewayGuardrailsClient, AIGatewayIntegrationsClient, type AIGatewayLogsOptions, AIGatewayMcpIntegrationsClient, AIGatewayOrganisationsClient, type AIGatewayPlane, AIGatewayPluginsClient, AIGatewayProvidersClient, type AIGatewaySubClientOptions, AIGatewayTelemetryClient, type AIGatewayTelemetryClientOptions, type AIGatewayWindowOptions, type AIGatewayWorkspaceGetOptions, type AIGatewayWorkspaceListOptions, type AIGatewayWorkspaceScopedListOptions, AIGatewayWorkspacesClient, type AIGatewayWorkspacesClientOptions, AIRS_ENDPOINTS, AISecSDKException, type AISecSDKExceptionMetadata, AI_GW_ADMIN_ENDPOINT, AI_GW_API_KEYS_SERVICE_PATH, AI_GW_API_KEYS_USER_PATH, AI_GW_AUDIT_LOGS_PATH, AI_GW_CHARTS_PATH, AI_GW_CHART_METRICS, AI_GW_CONFIGS_PATH, AI_GW_DATA_ENDPOINT, AI_GW_DEPLOYMENTS_PATH, AI_GW_GROUPS_PATH, AI_GW_GROUP_COLUMNS, AI_GW_GROUP_DIMENSIONS, AI_GW_GUARDRAILS_PATH, AI_GW_INTEGRATIONS_PATH, AI_GW_LOGS_PATH, AI_GW_MCP_INTEGRATIONS_PATH, AI_GW_ORGANISATIONS_SELF_PATH, AI_GW_PLUGINS_PATH, AI_GW_PROVIDERS_PATH, AI_GW_WORKSPACES_PATH, AI_SEC_API_ENDPOINT, AI_SEC_API_KEY, AI_SEC_API_TOKEN, ASYNC_SCAN_PATH, Action, Action as ActionType, type AdapterCreateRequest, AdapterCreateRequestSchema, type AdapterList, type AdapterListItem, AdapterListItemSchema, AdapterListSchema, type AdapterOperationOptions, type AdapterResponse, AdapterResponseSchema, type AdapterUpdateRequest, AdapterUpdateRequestSchema, type AdapterValidateRequest, AdapterValidateRequestSchema, type AdapterValidateResponse, AdapterValidateResponseSchema, type AdapterVar, type AdapterVarResponse, AdapterVarResponseSchema, AdapterVarSchema, type AdapterVarType, AdapterVarTypeSchema, type AdvancedDataProfileRequest, AdvancedDataProfileRequestSchema, type AgentEntry, AgentEntrySchema, type AgentMeta, AgentMetaSchema, type AgentProtectionItem, AgentProtectionItemSchema, type AgentReport, AgentReportSchema, type AiProfile, AiProfileSchema, type AiSecurityProfile, AiSecurityProfileSchema, ApiEndpointType, type ApiKey, type ApiKeyCreateRequest, ApiKeyCreateRequestSchema, type ApiKeyDPInfo, ApiKeyDPInfoSchema, type ApiKeyDeleteResponse, ApiKeyDeleteResponseSchema, type ApiKeyListResponse, ApiKeyListResponseSchema, type ApiKeyRegenerateRequest, ApiKeyRegenerateRequestSchema, ApiKeySchema, ApiKeysClient, type ApiKeysClientOptions, type AppExclusion, AppExclusionSchema, type AsyncScanObject, AsyncScanObjectSchema, type AsyncScanResponse, AsyncScanResponseSchema, type AttackDetailResponse, AttackDetailResponseSchema, type AttackListItem, AttackListItemSchema, type AttackListOptions, type AttackListResponse, AttackListResponseSchema, type AttackMultiTurnDetailResponse, AttackMultiTurnDetailResponseSchema, type AttackMultiTurnOutput, AttackMultiTurnOutputSchema, type AttackOutput, AttackOutputSchema, AttackStatus, AttackType, type AuditResponse, AuditResponseSchema, type AuthConfig, AuthConfigSchema, type AuthSettingsResponse, AuthSettingsResponseSchema, AuthType, BEARER, type BaseResponse, BaseResponseSchema, type BasicAuthAuthConfig, BasicAuthAuthConfigSchema, BasicAuthLocation, type BedrockAccessConnectionParams, BedrockAccessConnectionParamsSchema, BrandSubCategory, type CacheHitTrendResponse, CacheHitTrendResponseSchema, type CacheSummaryResponse, CacheSummaryResponseSchema, Category, type CategoryModel, CategoryModelSchema, type CategoryReport, CategoryReportSchema, Category as CategoryType, type CgReport, CgReportSchema, type Channel, type ChannelListOptions, type ChannelListPagination, ChannelListPaginationSchema, type ChannelListResponse, ChannelListResponseSchema, ChannelSchema, type ChannelStats, ChannelStatsSchema, ChannelStatus, ChannelStatusSchema, type ChannelStatusType, type ClientIdAndCustomerApp, ClientIdAndCustomerAppSchema, type CmdEntry, CmdEntrySchema, type CmdInjectReport, CmdInjectReportSchema, type ComparisonOperatorType, ComparisonOperatorTypeSchema, type ComplianceReport, ComplianceReportSchema, ComplianceSubCategory, type ComplianceTechnique, ComplianceTechniqueSchema, type ConnectionParams, ConnectionParamsSchema, Content, type ContentError, ContentErrorSchema, ContentErrorType, ContentErrorType as ContentErrorTypeType, type ContentOptions, type CostChartResponse, CostChartResponseSchema, type CountByName, CountByNameSchema, type CountChartResponse, CountChartResponseSchema, CountedQuotaEnum, type CreateChannelRequest, CreateChannelRequestSchema, type CreateCustomTopicRequest, CreateCustomTopicRequestSchema, type CreateSecurityProfileRequest, CreateSecurityProfileRequestSchema, type CustomAttackOutput, CustomAttackOutputSchema, type CustomAttackReportResponse, CustomAttackReportResponseSchema, type CustomAttacksListResponse, CustomAttacksListResponseSchema, type CustomAttacksReportListOptions, type CustomJobMetadata, CustomJobMetadataSchema, type CustomPromptCreateRequest, CustomPromptCreateRequestSchema, type CustomPromptList, type CustomPromptListItem, CustomPromptListItemSchema, CustomPromptListSchema, type CustomPromptResponse, CustomPromptResponseSchema, type CustomPromptSetArchiveRequest, CustomPromptSetArchiveRequestSchema, type CustomPromptSetCreateRequest, CustomPromptSetCreateRequestSchema, type CustomPromptSetList, type CustomPromptSetListActive, CustomPromptSetListActiveSchema, type CustomPromptSetListItem, CustomPromptSetListItemSchema, CustomPromptSetListSchema, type CustomPromptSetReference, CustomPromptSetReferenceSchema, type CustomPromptSetResponse, CustomPromptSetResponseSchema, type CustomPromptSetUpdateRequest, CustomPromptSetUpdateRequestSchema, type CustomPromptSetVersionInfo, CustomPromptSetVersionInfoSchema, type CustomPromptUpdateRequest, CustomPromptUpdateRequestSchema, type CustomTopic, type CustomTopicListResponse, CustomTopicListResponseSchema, CustomTopicSchema, type CustomerApp, type CustomerAppDeleteResponse, CustomerAppDeleteResponseSchema, type CustomerAppListResponse, CustomerAppListResponseSchema, CustomerAppSchema, type CustomerAppWithKeys, CustomerAppWithKeysSchema, CustomerAppsClient, type CustomerAppsClientOptions, DEFAULT_AI_GW_ADMIN_ENDPOINT, DEFAULT_AI_GW_DATA_ENDPOINT, DEFAULT_DLP_ENDPOINT, DEFAULT_ENDPOINT, DEFAULT_MGMT_ENDPOINT, DEFAULT_MODEL_SEC_DATA_ENDPOINT, DEFAULT_MODEL_SEC_MGMT_ENDPOINT, DEFAULT_RED_TEAM_DATA_ENDPOINT, DEFAULT_RED_TEAM_MGMT_ENDPOINT, DEFAULT_RED_TEAM_NETWORK_BROKER_ENDPOINT, DEFAULT_TOKEN_ENDPOINT, DLP_DATA_FILTERING_PROFILES_PATH, DLP_DATA_PATTERNS_PATH, DLP_DATA_PROFILES_PATH, DLP_DICTIONARIES_PATH, type DSDetailResult, DSDetailResultSchema, type DSResultMetadata, DSResultMetadataSchema, type DashboardAppQuery, type DashboardApplication, DashboardApplicationSchema, type DashboardApplicationSessionsBucket, DashboardApplicationSessionsBucketSchema, type DashboardApplicationViolationBreakdown, DashboardApplicationViolationBreakdownSchema, type DashboardApplicationsOverview, type DashboardApplicationsOverviewItem, DashboardApplicationsOverviewItemSchema, type DashboardApplicationsOverviewQuery, DashboardApplicationsOverviewSchema, DashboardClient, type DashboardClientOptions, type DashboardOverviewResponse, DashboardOverviewResponseSchema, type DashboardPagination, DashboardPaginationSchema, type DashboardSessionStats, DashboardSessionStatsSchema, type DataFilteringDetails, DataFilteringDetailsSchema, type DataFilteringProfileListParams, type DataFilteringProfileRequest, DataFilteringProfileRequestSchema, type DataFilteringProfileResponse, DataFilteringProfileResponseSchema, DataFilteringProfilesClient, type DataFilteringProfilesClientOptions, type DataFilteringRuleDTO, DataFilteringRuleDTOSchema, type DataLeakDetectionMember, DataLeakDetectionMemberSchema, type DataPatternConfidenceLevel, DataPatternConfidenceLevelSchema, type DataPatternDetectionConfig, DataPatternDetectionConfigSchema, type DataPatternLicenseType, DataPatternLicenseTypeSchema, type DataPatternListParams, type DataPatternMatchingRules, DataPatternMatchingRulesSchema, type DataPatternPatchRequest, DataPatternPatchRequestSchema, type DataPatternRequest, DataPatternRequestSchema, type DataPatternResponse, DataPatternResponseSchema, type DataPatternStatus, DataPatternStatusSchema, type DataPatternTags, DataPatternTagsSchema, type DataPatternTechnique, DataPatternTechniqueSchema, type DataPatternType, DataPatternTypeSchema, DataPatternsClient, type DataPatternsClientOptions, type DataProfileListParams, type DataProfilePatchRequest, DataProfilePatchRequestSchema, type DataProfileResponse, DataProfileResponseSchema, type DataProfileStatus, DataProfileStatusSchema, type DataProfileSubtype, DataProfileSubtypeSchema, type DataProfileType, DataProfileTypeSchema, DataProfilesClient, type DataProfilesClientOptions, type DataProtection, DataProtectionSchema, type DatabaseSecurityItem, DatabaseSecurityItemSchema, type DatabricksConnectionParams, DatabricksConnectionParamsSchema, DateRangeFilter, type DbsEntry, DbsEntrySchema, type DbsReport, DbsReportSchema, type DefaultTreeDetectionRule, DefaultTreeDetectionRuleSchema, type DeleteProfileConflict, DeleteProfileConflictSchema, type DeleteProfileResponse, DeleteProfileResponseSchema, type DeleteTopicConflict, DeleteTopicConflictSchema, type DeleteTopicResponse, DeleteTopicResponseSchema, type DeploymentProfileAttribute, DeploymentProfileAttributeSchema, type DeploymentProfileEntry, DeploymentProfileEntrySchema, type DeploymentProfileListOptions, type DeploymentProfileRequest, DeploymentProfileRequestSchema, DeploymentProfilesClient, type DeploymentProfilesClientOptions, type DeploymentProfilesResponse, DeploymentProfilesResponseSchema, type DestinationAttributes, DestinationAttributesSchema, type DetectionRule, type DetectionRuleItem, DetectionRuleItemSchema, DetectionRuleSchema, DetectionServiceName, DetectionServiceName as DetectionServiceNameType, type DetectionServiceResult, DetectionServiceResultSchema, type DetectorViolationBreakdownEntry, DetectorViolationBreakdownEntrySchema, type Device, type DeviceInstance, DeviceInstanceSchema, type DeviceLicense, DeviceLicenseSchema, type DeviceRequest, DeviceRequestSchema, type DeviceResponse, DeviceResponseSchema, DeviceSchema, type DeviceStatus, DeviceStatusSchema, DictionariesClient, type DictionariesClientOptions, type DictionaryCategory, DictionaryCategorySchema, type DictionaryClassification, DictionaryClassificationSchema, type DictionaryDetectionSubTechnique, DictionaryDetectionSubTechniqueSchema, type DictionaryDetectionTechnique, DictionaryDetectionTechniqueSchema, type DictionaryFileInput, type DictionaryGetParams, type DictionaryListParams, type DictionaryMetaDataDTO, DictionaryMetaDataDTOSchema, type DictionaryPatchRequest, DictionaryPatchRequestSchema, type DictionaryRequest, DictionaryRequestSchema, type DictionaryResponse, DictionaryResponseSchema, type DictionaryTags, DictionaryTagsSchema, type DictionaryType, DictionaryTypeSchema, type DictionaryUploadParams, type DlpDataProfile, type DlpDataProfilePolicy, DlpDataProfilePolicySchema, DlpDataProfileSchema, DlpNamespace, type DlpNamespaceOptions, type DlpPatternDetection, DlpPatternDetectionSchema, type DlpProfileListResponse, DlpProfileListResponseSchema, DlpProfilesClient, type DlpProfilesClientOptions, type DlpReport, DlpReportSchema, type DlpRule, DlpRuleSchema, type DynamicJobMetadata, DynamicJobMetadataSchema, type DynamicJobReport, DynamicJobReportSchema, type DynamicJobReportStats, DynamicJobReportStatsSchema, ErrorCodes, type ErrorLog, type ErrorLogListResponse, ErrorLogListResponseSchema, ErrorLogSchema, type ErrorResponse, ErrorResponseSchema, ErrorSource, ErrorStatus, ErrorStatus as ErrorStatusType, type ErrorTrendsResponse, ErrorTrendsResponseSchema, ErrorType, type EulaAcceptRequest, EulaAcceptRequestSchema, type EulaContentResponse, EulaContentResponseSchema, type EulaResponse, EulaResponseSchema, EvalOutcome, type EvalSummary, EvalSummarySchema, type ExceptionRuleDTO, ExceptionRuleDTOSchema, type Exclusions, ExclusionsSchema, type ExpressionOperatorType, ExpressionOperatorTypeSchema, type ExpressionTreeNode, ExpressionTreeNodeSchema, type FeedbackModelsResponse, FeedbackModelsResponseSchema, type FeedbackScoreDistributionResponse, FeedbackScoreDistributionResponseSchema, FileFormat, type FileList, FileListSchema, type FileResponse, FileResponseSchema, type FileScanData, FileScanDataSchema, FileScanResult, FileType, type GatewayApiKey, type GatewayApiKeyCreateRequest, GatewayApiKeySchema, type GatewayAuditLogRecord, GatewayAuditLogRecordSchema, type GatewayAuditLogsResponse, GatewayAuditLogsResponseSchema, type GatewayChartRecord, GatewayChartRecordSchema, type GatewayConfig, type GatewayConfigCreateRequest, type GatewayConfigCreateResponse, GatewayConfigCreateResponseSchema, type GatewayConfigDetail, GatewayConfigDetailSchema, GatewayConfigSchema, type GatewayDeployment, type GatewayDeploymentCreateRequest, type GatewayDeploymentCreateResponse, GatewayDeploymentCreateResponseSchema, type GatewayDeploymentDetail, GatewayDeploymentDetailSchema, GatewayDeploymentSchema, type GatewayGlobalWorkspaceAccess, GatewayGlobalWorkspaceAccessSchema, type GatewayGroupRow, GatewayGroupRowSchema, type GatewayGuardrail, type GatewayGuardrailCheck, type GatewayGuardrailCreateRequest, type GatewayGuardrailCreateResponse, GatewayGuardrailCreateResponseSchema, type GatewayGuardrailDetail, GatewayGuardrailDetailSchema, GatewayGuardrailSchema, type GatewayIntegration, type GatewayIntegrationCreateRequest, type GatewayIntegrationModelsRequest, type GatewayIntegrationModelsResponse, GatewayIntegrationModelsResponseSchema, GatewayIntegrationSchema, type GatewayIntegrationWorkspace, GatewayIntegrationWorkspaceSchema, type GatewayIntegrationWorkspacesRequest, type GatewayIntegrationWorkspacesResponse, GatewayIntegrationWorkspacesResponseSchema, type GatewayLogRecord, GatewayLogRecordSchema, type GatewayLogsResponse, GatewayLogsResponseSchema, type GatewayPlugin, type GatewayPluginCreateRequest, GatewayPluginSchema, type GatewayProvider, type GatewayProviderCreateRequest, type GatewayProviderCreateResponse, GatewayProviderCreateResponseSchema, GatewayProviderSchema, type GatewayRateLimit, GatewayRateLimitSchema, type GatewayUsageLimit, GatewayUsageLimitSchema, type GatewayWorkspace, type GatewayWorkspaceCreateRequest, type GatewayWorkspaceCreateResponse, GatewayWorkspaceCreateResponseSchema, type GatewayWorkspaceDetail, GatewayWorkspaceDetailSchema, GatewayWorkspaceSchema, type GatewayWorkspaceUpdateRequest, type GatewayWriteResponse, GatewayWriteResponseSchema, type GetTokenOptions, type Goal, type GoalListOptions, type GoalListResponse, GoalListResponseSchema, GoalSchema, GoalType, GoalTypeQueryParam, type GroupListResponse, GroupListResponseSchema, GuardrailAction, HEADER_API_KEY, HEADER_AUTH_TOKEN, type HTTPValidationError, HTTPValidationErrorSchema, HTTP_FORCE_RETRY_STATUS_CODES, type HeadersAuthConfig, HeadersAuthConfigSchema, type HuggingfaceConnectionParams, HuggingfaceConnectionParamsSchema, type IODetected, IODetectedSchema, type InitOptions, type InstanceExtraDetails, InstanceExtraDetailsSchema, type InstanceGetResponse, InstanceGetResponseSchema, type InstanceRequest, InstanceRequestSchema, type InstanceResponse, InstanceResponseSchema, type JobAbortResponse, JobAbortResponseSchema, type JobCreateRequest, JobCreateRequestSchema, type JobListResponse, JobListResponseSchema, type JobResponse, JobResponseSchema, JobStatus, JobStatusFilter, type JobTimeRecord, JobTimeRecordSchema, JobType, type JsonNullable, type Label, type LabelKeyList, LabelKeyListSchema, LabelSchema, type LabelValueList, LabelValueListSchema, type LabelsCreateRequest, LabelsCreateRequestSchema, type LabelsResponse, LabelsResponseSchema, type LanguageOption, LanguageOptionSchema, type LatencyChartResponse, LatencyChartResponseSchema, type ListApiKeysResponse, ListApiKeysResponseSchema, type ListConfigsResponse, ListConfigsResponseSchema, type ListDeploymentsResponse, ListDeploymentsResponseSchema, type ListGuardrailsResponse, ListGuardrailsResponseSchema, type ListIntegrationsResponse, ListIntegrationsResponseSchema, type ListMcpIntegrationsResponse, ListMcpIntegrationsResponseSchema, type ListModelSecurityGroupsResponse, ListModelSecurityGroupsResponseSchema, type ListModelSecurityRuleInstancesResponse, ListModelSecurityRuleInstancesResponseSchema, type ListModelSecurityRulesResponse, ListModelSecurityRulesResponseSchema, type ListPluginsResponse, ListPluginsResponseSchema, type ListProvidersResponse, ListProvidersResponseSchema, type ListWorkspacesResponse, ListWorkspacesResponseSchema, type ListingOptions, MAX_AI_PROFILE_NAME_LENGTH, MAX_API_KEY_LENGTH, MAX_CONNECTION_POOL_SIZE, MAX_CONTENT_CONTEXT_LENGTH, MAX_CONTENT_PROMPT_LENGTH, MAX_CONTENT_RESPONSE_LENGTH, MAX_NUMBER_OF_BATCH_SCAN_OBJECTS, MAX_NUMBER_OF_REPORT_IDS, MAX_NUMBER_OF_RETRIES, MAX_NUMBER_OF_SCAN_IDS, MAX_REPORT_ID_STR_LENGTH, MAX_SCAN_ID_STR_LENGTH, MAX_SESSION_ID_STR_LENGTH, MAX_TOKEN_LENGTH, MAX_TRANSACTION_ID_STR_LENGTH, MGMT_API_KEYS_TSG_PATH, MGMT_API_KEY_PATH, MGMT_CLIENT_ID, MGMT_CLIENT_SECRET, MGMT_CUSTOMER_APPS_TSG_PATH, MGMT_CUSTOMER_APP_PATH, MGMT_DASHBOARD_APPLICATIONS_OVERVIEW_PATH, MGMT_DASHBOARD_APPLICATION_PATH, MGMT_DASHBOARD_APPLICATION_VIOLATION_BREAKDOWN_PATH, MGMT_DEPLOYMENT_PROFILES_PATH, MGMT_DLP_PROFILES_PATH, MGMT_ENDPOINT, MGMT_OAUTH_INVALIDATE_PATH, MGMT_OAUTH_TOKEN_PATH, MGMT_PROFILES_TSG_PATH, MGMT_PROFILE_PATH, MGMT_SCAN_LOGS_PATH, MGMT_TOKEN_ENDPOINT, MGMT_TOPICS_TSG_PATH, MGMT_TOPIC_FORCE_PATH, MGMT_TOPIC_PATH, MGMT_TSG_ID, MODEL_SEC_CLIENT_ID, MODEL_SEC_CLIENT_SECRET, MODEL_SEC_DATA_ENDPOINT, MODEL_SEC_EVALUATIONS_PATH, MODEL_SEC_MGMT_ENDPOINT, MODEL_SEC_MODELS_PATH, MODEL_SEC_MODEL_VERSIONS_PATH, MODEL_SEC_PYPI_AUTH_PATH, MODEL_SEC_SCANS_PATH, MODEL_SEC_SECURITY_GROUPS_PATH, MODEL_SEC_SECURITY_RULES_PATH, MODEL_SEC_TOKEN_ENDPOINT, MODEL_SEC_TSG_ID, MODEL_SEC_VIOLATIONS_PATH, type MaliciousCodeProtection, MaliciousCodeProtectionSchema, type MalwareReport, MalwareReportSchema, ManagementClient, type ManagementClientOptions, type MaskedData, MaskedDataSchema, type McEntry, McEntrySchema, type McReport, McReportSchema, type McpIntegration, type McpIntegrationCreateRequest, McpIntegrationSchema, type McpIntegrationWorkspacesRequest, type Metadata, type MetadataCriterion, MetadataCriterionSchema, MetadataSchema, type Model, type ModelConfiguration, ModelConfigurationSchema, type ModelList, ModelListSchema, type ModelProtectionItem, ModelProtectionItemSchema, ModelResponseSchema, type ModelScanIssue, ModelScanIssueSchema, ModelScanStatus, ModelSecurityClient, type ModelSecurityClientOptions, type ModelSecurityEvaluationListOptions, type ModelSecurityFileListOptions, type ModelSecurityGroupCreateRequest, ModelSecurityGroupCreateRequestSchema, type ModelSecurityGroupListOptions, type ModelSecurityGroupResponse, ModelSecurityGroupResponseSchema, ModelSecurityGroupState, type ModelSecurityGroupUpdateRequest, ModelSecurityGroupUpdateRequestSchema, ModelSecurityGroupsClient, type ModelSecurityGroupsClientOptions, type ModelSecurityLabelListOptions, type ModelSecurityModelListOptions, type ModelSecurityModelVersionFileListOptions, type ModelSecurityModelVersionListOptions, ModelSecurityModelsClient, type ModelSecurityModelsClientOptions, type ModelSecurityPagination, ModelSecurityPaginationSchema, type ModelSecurityRuleInstanceListOptions, type ModelSecurityRuleInstanceResponse, ModelSecurityRuleInstanceResponseSchema, type ModelSecurityRuleInstanceUpdateRequest, ModelSecurityRuleInstanceUpdateRequestSchema, type ModelSecurityRuleListOptions, type ModelSecurityRuleResponse, ModelSecurityRuleResponseSchema, ModelSecurityRulesClient, type ModelSecurityRulesClientOptions, type ModelSecurityScanListOptions, ModelSecurityScansClient, type ModelSecurityScansClientOptions, type ModelSecurityViolationListOptions, type ModelVersion, type ModelVersionList, ModelVersionListSchema, ModelVersionResponseSchema, type MultiProfileDataNode, MultiProfileDataNodeSchema, type MultiProfileDetectionRule, MultiProfileDetectionRuleSchema, type MultiTurnStatefulConfig, MultiTurnStatefulConfigSchema, type MultiTurnStatelessConfig, MultiTurnStatelessConfigSchema, type OAuth2AuthConfig, OAuth2AuthConfigSchema, OAuthClient, type OAuthClientOptions, OAuthManagementClient, type OAuthManagementClientOptions, type Oauth2Token, Oauth2TokenSchema, type Offset, OffsetSchema, type OpenAIConnectionParams, OpenAIConnectionParamsSchema, type OrganisationSelfResponse, OrganisationSelfResponseSchema, PAYLOAD_HASH, type Page, type PageDataFilteringProfileResponse, PageDataFilteringProfileResponseSchema, type PageDataPatternResponse, PageDataPatternResponseSchema, type PageDataProfileResponse, PageDataProfileResponseSchema, type PageDictionaryResponse, PageDictionaryResponseSchema, type PageableObject, PageableObjectSchema, type PaginatedScanResults, PaginatedScanResultsSchema, type PaginationOptions, type PatternDetection, PatternDetectionSchema, type Policy, type PolicyAppProtection, PolicyAppProtectionSchema, type PolicyLatency, PolicyLatencySchema, PolicySchema, PolicyType, type PrerequisiteModel, PrerequisiteModelSchema, ProfilesClient, type ProfilesClientOptions, ProfilingStatus, type PromptDetailResponse, PromptDetailResponseSchema, type PromptDetected, PromptDetectedSchema, type PromptDetectionDetails, PromptDetectionDetailsSchema, type PromptListOptions, type PromptSetListOptions, type PromptSetStats, PromptSetStatsSchema, type PromptSetSummary, PromptSetSummarySchema, type PromptSetsReportResponse, PromptSetsReportResponseSchema, type PromptsBySetListOptions, type PropertyAssignment, PropertyAssignmentSchema, type PropertyDefinition, PropertyDefinitionSchema, type PropertyNameCreateRequest, PropertyNameCreateRequestSchema, type PropertyNamesListResponse, PropertyNamesListResponseSchema, type PropertyStatistic, PropertyStatisticSchema, type PropertyValueCreateRequest, PropertyValueCreateRequestSchema, type PropertyValueStatistic, PropertyValueStatisticSchema, type PropertyValuesMultipleResponse, PropertyValuesMultipleResponseSchema, type PropertyValuesResponse, PropertyValuesResponseSchema, type PyPIAuthResponse, PyPIAuthResponseSchema, type QuotaDetails, QuotaDetailsSchema, type QuotaSummary, QuotaSummarySchema, RED_TEAM_ADAPTER_PATH, RED_TEAM_ADAPTER_VALIDATE_PATH, RED_TEAM_CATEGORIES_PATH, RED_TEAM_CHANNELS_PATH, RED_TEAM_CHANNELS_STATS_PATH, RED_TEAM_CLIENT_ID, RED_TEAM_CLIENT_SECRET, RED_TEAM_CUSTOM_ATTACKS_REPORT_PATH, RED_TEAM_CUSTOM_ATTACK_PATH, RED_TEAM_DASHBOARD_PATH, RED_TEAM_DATA_ENDPOINT, RED_TEAM_ERROR_LOG_PATH, RED_TEAM_ERROR_LOG_TARGET_PROFILE_PATH, RED_TEAM_EULA_PATH, RED_TEAM_INSTANCES_PATH, RED_TEAM_LANGUAGES_PATH, RED_TEAM_MGMT_DASHBOARD_PATH, RED_TEAM_MGMT_ENDPOINT, RED_TEAM_NETWORK_BROKER_ENDPOINT, RED_TEAM_QUOTA_PATH, RED_TEAM_REGISTRY_CREDENTIALS_PATH, RED_TEAM_REPORT_DYNAMIC_PATH, RED_TEAM_REPORT_PATH, RED_TEAM_REPORT_STATIC_PATH, RED_TEAM_SCAN_PATH, RED_TEAM_SENTIMENT_PATH, RED_TEAM_TARGET_PATH, RED_TEAM_TARGET_VALIDATE_AUTH_PATH, RED_TEAM_TEMPLATE_PATH, RED_TEAM_TOKEN_ENDPOINT, RED_TEAM_TSG_ID, RedTeamAdaptersClient, type RedTeamAdaptersClientOptions, RedTeamCategory, RedTeamClient, type RedTeamClientOptions, RedTeamCustomAttackReportsClient, type RedTeamCustomAttackReportsClientOptions, RedTeamCustomAttacksClient, type RedTeamCustomAttacksClientOptions, RedTeamErrorType, RedTeamEulaClient, type RedTeamEulaClientOptions, RedTeamInstancesClient, type RedTeamInstancesClientOptions, type RedTeamListOptions, RedTeamNetworkBrokerClient, type RedTeamNetworkBrokerClientOptions, type RedTeamPagination, RedTeamPaginationSchema, RedTeamReportsClient, type RedTeamReportsClientOptions, type RedTeamScanListOptions, RedTeamScansClient, type RedTeamScansClientOptions, RedTeamTargetsClient, type RedTeamTargetsClientOptions, type RegistryCredentials, RegistryCredentialsSchema, type RemediationDetail, RemediationDetailSchema, type RemediationResponse, RemediationResponseSchema, type RescuedRetriesResponse, RescuedRetriesResponseSchema, type ResourceModelExtension, ResourceModelExtensionSchema, type ResponseDetected, ResponseDetectedSchema, type ResponseDetectionDetails, ResponseDetectionDetailsSchema, ResponseMode, type RestConnectionParams, RestConnectionParamsSchema, type RiskLevel, RiskLevelSchema, RiskRating, type RuleConfiguration, RuleConfigurationSchema, type RuleEditableField, type RuleEditableFieldDropdown, RuleEditableFieldDropdownSchema, RuleEditableFieldSchema, RuleEditableFieldType, type RuleEvaluationList, RuleEvaluationListSchema, type RuleEvaluationResponse, RuleEvaluationResponseSchema, RuleEvaluationResult, RuleFieldValueKey, type RuleItemConfidenceLevel, RuleItemConfidenceLevelSchema, type RuleItemDetectionTechnique, RuleItemDetectionTechniqueSchema, type RuleItemEdmMatchCriteria, RuleItemEdmMatchCriteriaSchema, type RuleItemMatchType, RuleItemMatchTypeSchema, type RuleItemOccurrenceOperatorType, RuleItemOccurrenceOperatorTypeSchema, type RuleRemediation, RuleRemediationSchema, RuleState, RuleType, type RuntimeSecurityPolicy, RuntimeSecurityPolicySchema, type RuntimeSecurityProfileResponse, RuntimeSecurityProfileResponseSchema, SCAN_REPORTS_PATH, SCAN_RESULTS_PATH, SDK_VERSION, SYNC_SCAN_PATH, SafetySubCategory, type ScanBaseResponse, ScanBaseResponseSchema, type ScanCallOptions, type ScanCreateRequest, ScanCreateRequestSchema, type ScanDetails, ScanDetailsSchema, type ScanIdResult, ScanIdResultSchema, type ScanList, ScanListSchema, type ScanLogQueryOptions, ScanLogsClient, type ScanLogsClientOptions, ScanOrigin, type ScanRequest, type ScanRequestContentsInner, ScanRequestContentsInnerSchema, ScanRequestSchema, type ScanResponse, ScanResponseSchema, type ScanResultEntry, ScanResultEntrySchema, type ScanResultForDashboard, ScanResultForDashboardSchema, type ScanStatisticsResponse, ScanStatisticsResponseSchema, type ScanSummary, ScanSummarySchema, Scanner, type ScoreTrendResponse, ScoreTrendResponseSchema, type ScoreTrendSeries, ScoreTrendSeriesSchema, type SecurityProfile, type SecurityProfileListResponse, SecurityProfileListResponseSchema, SecurityProfileSchema, SecuritySubCategory, type SentimentRequest, SentimentRequestSchema, type SentimentResponse, SentimentResponseSchema, SeverityFilter, type SeverityReport, SeverityReportSchema, type SeverityStats, SeverityStatsSchema, SortByDateField, SortByFileField, SortDirection, type SortObject, SortObjectSchema, type SourceAttributes, SourceAttributesSchema, SourceType, type StaticJobMetadata, StaticJobMetadataSchema, type StaticJobRemediation, type StaticJobRemediationRecommendation, StaticJobRemediationRecommendationSchema, StaticJobRemediationSchema, type StaticJobReport, StaticJobReportSchema, type StaticJobReportStats, StaticJobReportStatsSchema, StatusQueryParam, type StreamDetailResponse, StreamDetailResponseSchema, type StreamIterationData, StreamIterationDataSchema, type StreamListResponse, StreamListResponseSchema, StreamType, type StreamingConnectionParams, StreamingConnectionParamsSchema, type SubCategoryModel, SubCategoryModelSchema, type SubCategoryStats, SubCategoryStatsSchema, type SyncScanOptions, TSG_ID_HEADER, type TargetAdditionalContext, TargetAdditionalContextSchema, TargetAuthType, type TargetAuthValidationRequest, TargetAuthValidationRequestSchema, type TargetAuthValidationResponse, TargetAuthValidationResponseSchema, type TargetBackground, TargetBackgroundSchema, TargetConnectionType, type TargetContextUpdate, TargetContextUpdateSchema, type TargetCreateRequest, TargetCreateRequestSchema, type TargetJobRequest, TargetJobRequestSchema, type TargetList, type TargetListItem, TargetListItemSchema, type TargetListOptions, TargetListSchema, type TargetMetadata, TargetMetadataSchema, type TargetOperationOptions, type TargetProbeRequest, TargetProbeRequestSchema, type TargetProfileResponse, TargetProfileResponseSchema, type TargetReference, TargetReferenceSchema, type TargetResponse, TargetResponseSchema, TargetStatus, type TargetTemplateCollection, TargetTemplateCollectionSchema, TargetType, type TargetUpdateRequest, TargetUpdateRequestSchema, type TcReport, TcReportSchema, type TenantLanguagesResponse, TenantLanguagesResponseSchema, type TgReport, TgReportSchema, ThreatCategory, type ThreatScanReport, ThreatScanReportSchema, type TokenInfo, type TokenStats, TokenStatsSchema, type TokensChartResponse, TokensChartResponseSchema, type ToolDetected, ToolDetectedSchema, type ToolDetectionDetails, ToolDetectionDetailsSchema, type ToolDetectionEntry, ToolDetectionEntrySchema, type ToolDetectionFlags, ToolDetectionFlagsSchema, type ToolEvent, type ToolEventMetadata, ToolEventMetadataSchema, ToolEventSchema, type TopicArray, TopicArraySchema, type TopicObject, TopicObjectSchema, TopicsClient, type TopicsClientOptions, type URLExclusion, URLExclusionSchema, USER_AGENT, type UpdateChannelRequest, UpdateChannelRequestSchema, type UrlCategory, UrlCategorySchema, type UrlfEntry, UrlfEntrySchema, type UserGroupResponse, UserGroupResponseSchema, type UserTrendsResponse, UserTrendsResponseSchema, type ValidationError, ValidationErrorSchema, Verdict, Verdict as VerdictType, type ViolationList, ViolationListSchema, type ViolationRemediation, ViolationRemediationSchema, type ViolationResponse, ViolationResponseSchema, type ViolationSeverityCounts, ViolationSeverityCountsSchema, type WebSocketConnectionParams, WebSocketConnectionParamsSchema, type WeightedRegex, WeightedRegexSchema, aiGwOrganisationsAuthSettingsPath, globalConfiguration, init, jsonNullable, pageSchema };