@cdot65/prisma-airs-sdk 0.14.1 → 0.18.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.ts CHANGED
@@ -31414,6 +31414,78 @@ declare class AISecSDKException extends Error {
31414
31414
  constructor(message: string, errorType?: ErrorType, metadata?: AISecSDKExceptionMetadata);
31415
31415
  }
31416
31416
 
31417
+ /**
31418
+ * Pagination + search options shared by every list endpoint across the OAuth domains.
31419
+ * Sub-clients extend this with endpoint-specific filter fields and merge their additions
31420
+ * into the params record returned by the internal `serializeListing` helper.
31421
+ */
31422
+ interface ListingOptions {
31423
+ /** Number of records to skip from the start. */
31424
+ skip?: number;
31425
+ /** Max records to return. */
31426
+ limit?: number;
31427
+ /** Free-text search filter. */
31428
+ search?: string;
31429
+ }
31430
+ /** A page returned to the generic pagination helper. */
31431
+ interface PaginationPage<T, Cursor> {
31432
+ /** Records in this page. */
31433
+ items: T[];
31434
+ /** Cursor for the next page. Omit when this is the last page. */
31435
+ next?: Cursor;
31436
+ }
31437
+ /** Options controlling collection of an async listing. */
31438
+ interface CollectAllOptions {
31439
+ /** Maximum records to collect. Defaults to 10,000. Use `0` for no limit. */
31440
+ max?: number;
31441
+ }
31442
+ /**
31443
+ * Yield records from a cursor-based page fetcher until it has no next cursor.
31444
+ *
31445
+ * @example
31446
+ * ```ts
31447
+ * import { collectAll, paginate } from '@cdot65/prisma-airs-sdk';
31448
+ * const records = await collectAll(paginate(async (offset: number) => {
31449
+ * const page = await api.list({ offset, limit: 100 });
31450
+ * return { items: page.items, next: page.next_offset };
31451
+ * }, 0));
31452
+ * ```
31453
+ */
31454
+ declare function paginate<T, Cursor>(fetchPage: (cursor: Cursor) => Promise<PaginationPage<T, Cursor>>, initialCursor: Cursor): AsyncGenerator<T>;
31455
+ /**
31456
+ * Collect an async listing into an array with a runaway-walk safety cap.
31457
+ *
31458
+ * @example
31459
+ * ```ts
31460
+ * import { collectAll } from '@cdot65/prisma-airs-sdk';
31461
+ * const firstThousand = await collectAll(client.listAllIter(), { max: 1_000 });
31462
+ * ```
31463
+ */
31464
+ declare function collectAll<T>(iterable: AsyncIterable<T>, opts?: CollectAllOptions): Promise<T[]>;
31465
+ /** @internal Options shared by all-page dialect adapters. */
31466
+ interface WalkAllOptions extends CollectAllOptions {
31467
+ limit?: number;
31468
+ }
31469
+ /** @internal Walk a skip/limit API using its normalized total when available. */
31470
+ declare function collectSkipPages<T>(fetchPage: (skip: number, limit: number) => Promise<{
31471
+ items: T[];
31472
+ total?: number | null;
31473
+ }>, opts?: WalkAllOptions): Promise<T[]>;
31474
+ /** @internal Walk a zero-indexed Spring page/size API until its `last` page. */
31475
+ declare function collectSpringPages<T>(fetchPage: (page: number, size: number) => Promise<{
31476
+ items: T[];
31477
+ last: boolean;
31478
+ }>, opts?: {
31479
+ size?: number;
31480
+ max?: number;
31481
+ }): Promise<T[]>;
31482
+ /**
31483
+ * @internal
31484
+ * Serialize the canonical listing fields into a string-keyed params record. Extra fields on
31485
+ * the input are ignored — callers add their own endpoint-specific filters to the result.
31486
+ */
31487
+ declare function serializeListing(opts?: ListingOptions): Record<string, string>;
31488
+
31417
31489
  /** Scan result verdict classification. */
31418
31490
  declare const Verdict: {
31419
31491
  readonly BENIGN: "benign";
@@ -94169,6 +94241,463 @@ declare const TenantLanguagesResponseSchema: z.ZodObject<{
94169
94241
  }, z.ZodTypeAny, "passthrough">>, "many">;
94170
94242
  }, z.ZodTypeAny, "passthrough">>;
94171
94243
  type TenantLanguagesResponse = z.infer<typeof TenantLanguagesResponseSchema>;
94244
+ /** Whether an adapter configuration variable is a plain var or a sensitive secret. */
94245
+ declare const AdapterVarTypeSchema: z.ZodEnum<["VAR", "SECRET"]>;
94246
+ type AdapterVarType = z.infer<typeof AdapterVarTypeSchema>;
94247
+ /**
94248
+ * A single adapter configuration variable, as *sent* in requests (spec `AdapterVarBase`).
94249
+ * Also the shape of `TargetCreateRequest.adapter_variable_overrides` entries.
94250
+ *
94251
+ * On update, `value: null` means "keep the existing value" — the mechanism for leaving a
94252
+ * secret unchanged, since secret values are never returned.
94253
+ */
94254
+ declare const AdapterVarSchema: z.ZodObject<{
94255
+ key: z.ZodString;
94256
+ value: z.ZodOptional<z.ZodNullable<z.ZodString>>;
94257
+ type: z.ZodEnum<["VAR", "SECRET"]>;
94258
+ }, "strip", z.ZodTypeAny, {
94259
+ key: string;
94260
+ type: "VAR" | "SECRET";
94261
+ value?: string | null | undefined;
94262
+ }, {
94263
+ key: string;
94264
+ type: "VAR" | "SECRET";
94265
+ value?: string | null | undefined;
94266
+ }>;
94267
+ type AdapterVar = z.infer<typeof AdapterVarSchema>;
94268
+ /**
94269
+ * A variable as *returned* in adapter responses (spec `AdapterVarResponseSchema`).
94270
+ *
94271
+ * Secrets are masked with `is_redacted: true`. The spec says the masked `value` is `null`, but a
94272
+ * live tenant returns the literal placeholder string `'**********'` (verified 2026-08-01) — so
94273
+ * treat `is_redacted`, not the value, as the signal. Either form round-trips: pass the variable
94274
+ * back on validate/update alongside `adapter_uuid` and the real value is resolved from storage.
94275
+ */
94276
+ declare const AdapterVarResponseSchema: z.ZodObject<{
94277
+ key: z.ZodString;
94278
+ value: z.ZodOptional<z.ZodNullable<z.ZodString>>;
94279
+ type: z.ZodEnum<["VAR", "SECRET"]>;
94280
+ } & {
94281
+ is_redacted: z.ZodOptional<z.ZodBoolean>;
94282
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
94283
+ key: z.ZodString;
94284
+ value: z.ZodOptional<z.ZodNullable<z.ZodString>>;
94285
+ type: z.ZodEnum<["VAR", "SECRET"]>;
94286
+ } & {
94287
+ is_redacted: z.ZodOptional<z.ZodBoolean>;
94288
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
94289
+ key: z.ZodString;
94290
+ value: z.ZodOptional<z.ZodNullable<z.ZodString>>;
94291
+ type: z.ZodEnum<["VAR", "SECRET"]>;
94292
+ } & {
94293
+ is_redacted: z.ZodOptional<z.ZodBoolean>;
94294
+ }, z.ZodTypeAny, "passthrough">>;
94295
+ type AdapterVarResponse = z.infer<typeof AdapterVarResponseSchema>;
94296
+ declare const AdapterCreateRequestSchema: z.ZodObject<{
94297
+ name: z.ZodString;
94298
+ description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
94299
+ script_b64: z.ZodString;
94300
+ /** Optional while the adapter is a DRAFT; required to activate (`validate: true`). */
94301
+ network_broker_channel_uuid: z.ZodOptional<z.ZodNullable<z.ZodString>>;
94302
+ variables: z.ZodOptional<z.ZodArray<z.ZodObject<{
94303
+ key: z.ZodString;
94304
+ value: z.ZodOptional<z.ZodNullable<z.ZodString>>;
94305
+ type: z.ZodEnum<["VAR", "SECRET"]>;
94306
+ }, "strip", z.ZodTypeAny, {
94307
+ key: string;
94308
+ type: "VAR" | "SECRET";
94309
+ value?: string | null | undefined;
94310
+ }, {
94311
+ key: string;
94312
+ type: "VAR" | "SECRET";
94313
+ value?: string | null | undefined;
94314
+ }>, "many">>;
94315
+ /** Sample prompt used to exercise the adapter end-to-end during validation. Not stored. */
94316
+ prompt: z.ZodString;
94317
+ }, "strict", z.ZodTypeAny, {
94318
+ name: string;
94319
+ prompt: string;
94320
+ script_b64: string;
94321
+ description?: string | null | undefined;
94322
+ network_broker_channel_uuid?: string | null | undefined;
94323
+ variables?: {
94324
+ key: string;
94325
+ type: "VAR" | "SECRET";
94326
+ value?: string | null | undefined;
94327
+ }[] | undefined;
94328
+ }, {
94329
+ name: string;
94330
+ prompt: string;
94331
+ script_b64: string;
94332
+ description?: string | null | undefined;
94333
+ network_broker_channel_uuid?: string | null | undefined;
94334
+ variables?: {
94335
+ key: string;
94336
+ type: "VAR" | "SECRET";
94337
+ value?: string | null | undefined;
94338
+ }[] | undefined;
94339
+ }>;
94340
+ type AdapterCreateRequest = z.infer<typeof AdapterCreateRequestSchema>;
94341
+ /**
94342
+ * Update is a **full replacement** (PUT): `name`, `script_b64`, and `prompt` are required,
94343
+ * exactly as on create — this is not a partial patch.
94344
+ *
94345
+ * `variables` defines the complete desired key set:
94346
+ * - value provided → set/add the value
94347
+ * - value `null` → keep the existing value (unchanged secrets)
94348
+ * - key omitted → **delete** the variable
94349
+ */
94350
+ declare const AdapterUpdateRequestSchema: z.ZodObject<{
94351
+ name: z.ZodString;
94352
+ description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
94353
+ script_b64: z.ZodString;
94354
+ network_broker_channel_uuid: z.ZodOptional<z.ZodNullable<z.ZodString>>;
94355
+ variables: z.ZodOptional<z.ZodArray<z.ZodObject<{
94356
+ key: z.ZodString;
94357
+ value: z.ZodOptional<z.ZodNullable<z.ZodString>>;
94358
+ type: z.ZodEnum<["VAR", "SECRET"]>;
94359
+ }, "strip", z.ZodTypeAny, {
94360
+ key: string;
94361
+ type: "VAR" | "SECRET";
94362
+ value?: string | null | undefined;
94363
+ }, {
94364
+ key: string;
94365
+ type: "VAR" | "SECRET";
94366
+ value?: string | null | undefined;
94367
+ }>, "many">>;
94368
+ prompt: z.ZodString;
94369
+ }, "strict", z.ZodTypeAny, {
94370
+ name: string;
94371
+ prompt: string;
94372
+ script_b64: string;
94373
+ description?: string | null | undefined;
94374
+ network_broker_channel_uuid?: string | null | undefined;
94375
+ variables?: {
94376
+ key: string;
94377
+ type: "VAR" | "SECRET";
94378
+ value?: string | null | undefined;
94379
+ }[] | undefined;
94380
+ }, {
94381
+ name: string;
94382
+ prompt: string;
94383
+ script_b64: string;
94384
+ description?: string | null | undefined;
94385
+ network_broker_channel_uuid?: string | null | undefined;
94386
+ variables?: {
94387
+ key: string;
94388
+ type: "VAR" | "SECRET";
94389
+ value?: string | null | undefined;
94390
+ }[] | undefined;
94391
+ }>;
94392
+ type AdapterUpdateRequest = z.infer<typeof AdapterUpdateRequestSchema>;
94393
+ /**
94394
+ * Full adapter record (spec `CustomTargetAdapterSchema`) — returned by get, create, and update.
94395
+ * List rows use the smaller {@link AdapterListItemSchema}.
94396
+ *
94397
+ * `status` values are `DRAFT` | `ACTIVE`; kept as an open string per house convention so a
94398
+ * new upstream status cannot break response parsing.
94399
+ */
94400
+ declare const AdapterResponseSchema: z.ZodObject<{
94401
+ uuid: z.ZodString;
94402
+ tsg_id: z.ZodString;
94403
+ name: z.ZodString;
94404
+ script_b64: z.ZodString;
94405
+ status: z.ZodString;
94406
+ description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
94407
+ network_broker_channel_uuid: z.ZodOptional<z.ZodNullable<z.ZodString>>;
94408
+ variables: z.ZodOptional<z.ZodArray<z.ZodObject<{
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
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
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">, z.objectInputType<{
94421
+ key: z.ZodString;
94422
+ value: z.ZodOptional<z.ZodNullable<z.ZodString>>;
94423
+ type: z.ZodEnum<["VAR", "SECRET"]>;
94424
+ } & {
94425
+ is_redacted: z.ZodOptional<z.ZodBoolean>;
94426
+ }, z.ZodTypeAny, "passthrough">>, "many">>;
94427
+ /** Number of targets currently referencing this adapter. */
94428
+ target_count: z.ZodOptional<z.ZodNumber>;
94429
+ created_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
94430
+ updated_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
94431
+ created_by_user_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
94432
+ updated_by_user_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
94433
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
94434
+ uuid: z.ZodString;
94435
+ tsg_id: z.ZodString;
94436
+ name: z.ZodString;
94437
+ script_b64: z.ZodString;
94438
+ status: z.ZodString;
94439
+ description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
94440
+ network_broker_channel_uuid: z.ZodOptional<z.ZodNullable<z.ZodString>>;
94441
+ variables: z.ZodOptional<z.ZodArray<z.ZodObject<{
94442
+ key: z.ZodString;
94443
+ value: z.ZodOptional<z.ZodNullable<z.ZodString>>;
94444
+ type: z.ZodEnum<["VAR", "SECRET"]>;
94445
+ } & {
94446
+ is_redacted: z.ZodOptional<z.ZodBoolean>;
94447
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
94448
+ key: z.ZodString;
94449
+ value: z.ZodOptional<z.ZodNullable<z.ZodString>>;
94450
+ type: z.ZodEnum<["VAR", "SECRET"]>;
94451
+ } & {
94452
+ is_redacted: z.ZodOptional<z.ZodBoolean>;
94453
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
94454
+ key: z.ZodString;
94455
+ value: z.ZodOptional<z.ZodNullable<z.ZodString>>;
94456
+ type: z.ZodEnum<["VAR", "SECRET"]>;
94457
+ } & {
94458
+ is_redacted: z.ZodOptional<z.ZodBoolean>;
94459
+ }, z.ZodTypeAny, "passthrough">>, "many">>;
94460
+ /** Number of targets currently referencing this adapter. */
94461
+ target_count: z.ZodOptional<z.ZodNumber>;
94462
+ created_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
94463
+ updated_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
94464
+ created_by_user_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
94465
+ updated_by_user_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
94466
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
94467
+ uuid: z.ZodString;
94468
+ tsg_id: z.ZodString;
94469
+ name: z.ZodString;
94470
+ script_b64: z.ZodString;
94471
+ status: z.ZodString;
94472
+ description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
94473
+ network_broker_channel_uuid: z.ZodOptional<z.ZodNullable<z.ZodString>>;
94474
+ variables: z.ZodOptional<z.ZodArray<z.ZodObject<{
94475
+ key: z.ZodString;
94476
+ value: z.ZodOptional<z.ZodNullable<z.ZodString>>;
94477
+ type: z.ZodEnum<["VAR", "SECRET"]>;
94478
+ } & {
94479
+ is_redacted: z.ZodOptional<z.ZodBoolean>;
94480
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
94481
+ key: z.ZodString;
94482
+ value: z.ZodOptional<z.ZodNullable<z.ZodString>>;
94483
+ type: z.ZodEnum<["VAR", "SECRET"]>;
94484
+ } & {
94485
+ is_redacted: z.ZodOptional<z.ZodBoolean>;
94486
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
94487
+ key: z.ZodString;
94488
+ value: z.ZodOptional<z.ZodNullable<z.ZodString>>;
94489
+ type: z.ZodEnum<["VAR", "SECRET"]>;
94490
+ } & {
94491
+ is_redacted: z.ZodOptional<z.ZodBoolean>;
94492
+ }, z.ZodTypeAny, "passthrough">>, "many">>;
94493
+ /** Number of targets currently referencing this adapter. */
94494
+ target_count: z.ZodOptional<z.ZodNumber>;
94495
+ created_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
94496
+ updated_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
94497
+ created_by_user_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
94498
+ updated_by_user_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
94499
+ }, z.ZodTypeAny, "passthrough">>;
94500
+ type AdapterResponse = z.infer<typeof AdapterResponseSchema>;
94501
+ /**
94502
+ * One list row (spec `CustomTargetAdapterListItemSchema`) — a 7-field subset. List rows carry
94503
+ * no `script_b64`, `tsg_id`, `description`, or `variables`; call `get()` for the full record.
94504
+ * `target_count` is populated only when the list was requested with `include_target_count`.
94505
+ */
94506
+ declare const AdapterListItemSchema: z.ZodObject<{
94507
+ uuid: z.ZodString;
94508
+ name: z.ZodString;
94509
+ status: z.ZodString;
94510
+ created_at: z.ZodString;
94511
+ updated_at: z.ZodString;
94512
+ created_by_user_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
94513
+ target_count: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
94514
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
94515
+ uuid: z.ZodString;
94516
+ name: z.ZodString;
94517
+ status: z.ZodString;
94518
+ created_at: z.ZodString;
94519
+ updated_at: z.ZodString;
94520
+ created_by_user_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
94521
+ target_count: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
94522
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
94523
+ uuid: z.ZodString;
94524
+ name: z.ZodString;
94525
+ status: z.ZodString;
94526
+ created_at: z.ZodString;
94527
+ updated_at: z.ZodString;
94528
+ created_by_user_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
94529
+ target_count: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
94530
+ }, z.ZodTypeAny, "passthrough">>;
94531
+ type AdapterListItem = z.infer<typeof AdapterListItemSchema>;
94532
+ declare const AdapterListSchema: z.ZodObject<{
94533
+ pagination: z.ZodObject<{
94534
+ total_items: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
94535
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
94536
+ total_items: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
94537
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
94538
+ total_items: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
94539
+ }, z.ZodTypeAny, "passthrough">>;
94540
+ data: z.ZodOptional<z.ZodArray<z.ZodObject<{
94541
+ uuid: z.ZodString;
94542
+ name: z.ZodString;
94543
+ status: z.ZodString;
94544
+ created_at: z.ZodString;
94545
+ updated_at: z.ZodString;
94546
+ created_by_user_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
94547
+ target_count: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
94548
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
94549
+ uuid: z.ZodString;
94550
+ name: z.ZodString;
94551
+ status: z.ZodString;
94552
+ created_at: z.ZodString;
94553
+ updated_at: z.ZodString;
94554
+ created_by_user_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
94555
+ target_count: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
94556
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
94557
+ uuid: z.ZodString;
94558
+ name: z.ZodString;
94559
+ status: z.ZodString;
94560
+ created_at: z.ZodString;
94561
+ updated_at: z.ZodString;
94562
+ created_by_user_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
94563
+ target_count: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
94564
+ }, z.ZodTypeAny, "passthrough">>, "many">>;
94565
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
94566
+ pagination: z.ZodObject<{
94567
+ total_items: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
94568
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
94569
+ total_items: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
94570
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
94571
+ total_items: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
94572
+ }, z.ZodTypeAny, "passthrough">>;
94573
+ data: z.ZodOptional<z.ZodArray<z.ZodObject<{
94574
+ uuid: z.ZodString;
94575
+ name: z.ZodString;
94576
+ status: z.ZodString;
94577
+ created_at: z.ZodString;
94578
+ updated_at: z.ZodString;
94579
+ created_by_user_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
94580
+ target_count: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
94581
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
94582
+ uuid: z.ZodString;
94583
+ name: z.ZodString;
94584
+ status: z.ZodString;
94585
+ created_at: z.ZodString;
94586
+ updated_at: z.ZodString;
94587
+ created_by_user_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
94588
+ target_count: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
94589
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
94590
+ uuid: z.ZodString;
94591
+ name: z.ZodString;
94592
+ status: z.ZodString;
94593
+ created_at: z.ZodString;
94594
+ updated_at: z.ZodString;
94595
+ created_by_user_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
94596
+ target_count: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
94597
+ }, z.ZodTypeAny, "passthrough">>, "many">>;
94598
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
94599
+ pagination: z.ZodObject<{
94600
+ total_items: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
94601
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
94602
+ total_items: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
94603
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
94604
+ total_items: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
94605
+ }, z.ZodTypeAny, "passthrough">>;
94606
+ data: z.ZodOptional<z.ZodArray<z.ZodObject<{
94607
+ uuid: z.ZodString;
94608
+ name: z.ZodString;
94609
+ status: z.ZodString;
94610
+ created_at: z.ZodString;
94611
+ updated_at: z.ZodString;
94612
+ created_by_user_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
94613
+ target_count: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
94614
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
94615
+ uuid: z.ZodString;
94616
+ name: z.ZodString;
94617
+ status: z.ZodString;
94618
+ created_at: z.ZodString;
94619
+ updated_at: z.ZodString;
94620
+ created_by_user_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
94621
+ target_count: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
94622
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
94623
+ uuid: z.ZodString;
94624
+ name: z.ZodString;
94625
+ status: z.ZodString;
94626
+ created_at: z.ZodString;
94627
+ updated_at: z.ZodString;
94628
+ created_by_user_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
94629
+ target_count: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
94630
+ }, z.ZodTypeAny, "passthrough">>, "many">>;
94631
+ }, z.ZodTypeAny, "passthrough">>;
94632
+ type AdapterList = z.infer<typeof AdapterListSchema>;
94633
+ /**
94634
+ * Request for `POST /v1/adapters/validate` (spec `CustomTargetAdapterValidateRequestSchema`).
94635
+ * Deliberately NOT the create request: there is no `name`, `network_broker_channel_uuid` is
94636
+ * **required**, and `adapter_uuid` may reference an existing adapter so redacted/`null`
94637
+ * variable values are resolved from its stored secret before validation.
94638
+ */
94639
+ declare const AdapterValidateRequestSchema: z.ZodObject<{
94640
+ script_b64: z.ZodString;
94641
+ network_broker_channel_uuid: z.ZodString;
94642
+ prompt: z.ZodString;
94643
+ variables: z.ZodOptional<z.ZodArray<z.ZodObject<{
94644
+ key: z.ZodString;
94645
+ value: z.ZodOptional<z.ZodNullable<z.ZodString>>;
94646
+ type: z.ZodEnum<["VAR", "SECRET"]>;
94647
+ }, "strip", z.ZodTypeAny, {
94648
+ key: string;
94649
+ type: "VAR" | "SECRET";
94650
+ value?: string | null | undefined;
94651
+ }, {
94652
+ key: string;
94653
+ type: "VAR" | "SECRET";
94654
+ value?: string | null | undefined;
94655
+ }>, "many">>;
94656
+ /** Omit when validating a brand-new adapter. */
94657
+ adapter_uuid: z.ZodOptional<z.ZodNullable<z.ZodString>>;
94658
+ }, "strict", z.ZodTypeAny, {
94659
+ prompt: string;
94660
+ script_b64: string;
94661
+ network_broker_channel_uuid: string;
94662
+ variables?: {
94663
+ key: string;
94664
+ type: "VAR" | "SECRET";
94665
+ value?: string | null | undefined;
94666
+ }[] | undefined;
94667
+ adapter_uuid?: string | null | undefined;
94668
+ }, {
94669
+ prompt: string;
94670
+ script_b64: string;
94671
+ network_broker_channel_uuid: string;
94672
+ variables?: {
94673
+ key: string;
94674
+ type: "VAR" | "SECRET";
94675
+ value?: string | null | undefined;
94676
+ }[] | undefined;
94677
+ adapter_uuid?: string | null | undefined;
94678
+ }>;
94679
+ type AdapterValidateRequest = z.infer<typeof AdapterValidateRequestSchema>;
94680
+ /**
94681
+ * Result of a validation run (spec `CustomTargetAdapterValidateResponseSchema`) — the script's
94682
+ * execution outcome, not an adapter record.
94683
+ */
94684
+ declare const AdapterValidateResponseSchema: z.ZodObject<{
94685
+ validated: z.ZodBoolean;
94686
+ stdout: z.ZodOptional<z.ZodNullable<z.ZodString>>;
94687
+ stderr: z.ZodOptional<z.ZodNullable<z.ZodString>>;
94688
+ traceback: z.ZodOptional<z.ZodNullable<z.ZodString>>;
94689
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
94690
+ validated: z.ZodBoolean;
94691
+ stdout: z.ZodOptional<z.ZodNullable<z.ZodString>>;
94692
+ stderr: z.ZodOptional<z.ZodNullable<z.ZodString>>;
94693
+ traceback: z.ZodOptional<z.ZodNullable<z.ZodString>>;
94694
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
94695
+ validated: z.ZodBoolean;
94696
+ stdout: z.ZodOptional<z.ZodNullable<z.ZodString>>;
94697
+ stderr: z.ZodOptional<z.ZodNullable<z.ZodString>>;
94698
+ traceback: z.ZodOptional<z.ZodNullable<z.ZodString>>;
94699
+ }, z.ZodTypeAny, "passthrough">>;
94700
+ type AdapterValidateResponse = z.infer<typeof AdapterValidateResponseSchema>;
94172
94701
  declare const TargetCreateRequestSchema: z.ZodObject<{
94173
94702
  readonly name: z.ZodString;
94174
94703
  readonly description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -94321,6 +94850,22 @@ declare const TargetCreateRequestSchema: z.ZodObject<{
94321
94850
  }, z.ZodTypeAny, "passthrough">>>>;
94322
94851
  readonly extra_info: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
94323
94852
  readonly network_broker_channel_uuid: z.ZodOptional<z.ZodNullable<z.ZodString>>;
94853
+ /** UUID of the custom target adapter to use. Required when connection_type is CUSTOM_TARGET_ADAPTER. */
94854
+ readonly adapter_uuid: z.ZodOptional<z.ZodNullable<z.ZodString>>;
94855
+ /** Per-target overrides for the adapter's variables. Array of AdapterVar objects. */
94856
+ readonly adapter_variable_overrides: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
94857
+ key: z.ZodString;
94858
+ value: z.ZodOptional<z.ZodNullable<z.ZodString>>;
94859
+ type: z.ZodEnum<["VAR", "SECRET"]>;
94860
+ }, "strip", z.ZodTypeAny, {
94861
+ key: string;
94862
+ type: "VAR" | "SECRET";
94863
+ value?: string | null | undefined;
94864
+ }, {
94865
+ key: string;
94866
+ type: "VAR" | "SECRET";
94867
+ value?: string | null | undefined;
94868
+ }>, "many">>>;
94324
94869
  }, "strict", z.ZodTypeAny, {
94325
94870
  name: string;
94326
94871
  description?: string | null | undefined;
@@ -94358,6 +94903,8 @@ declare const TargetCreateRequestSchema: z.ZodObject<{
94358
94903
  banned_keywords: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString, "many">>>;
94359
94904
  tools_accessible: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString, "many">>>;
94360
94905
  }, z.ZodTypeAny, "passthrough"> | null | undefined;
94906
+ network_broker_channel_uuid?: string | null | undefined;
94907
+ adapter_uuid?: string | null | undefined;
94361
94908
  connection_params?: z.objectOutputType<{
94362
94909
  api_endpoint: z.ZodOptional<z.ZodNullable<z.ZodString>>;
94363
94910
  request_headers: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
@@ -94380,7 +94927,11 @@ declare const TargetCreateRequestSchema: z.ZodObject<{
94380
94927
  response_stop_key: z.ZodString;
94381
94928
  response_stop_value: z.ZodString;
94382
94929
  }, z.ZodTypeAny, "passthrough"> | null | undefined;
94383
- network_broker_channel_uuid?: string | null | undefined;
94930
+ adapter_variable_overrides?: {
94931
+ key: string;
94932
+ type: "VAR" | "SECRET";
94933
+ value?: string | null | undefined;
94934
+ }[] | null | undefined;
94384
94935
  }, {
94385
94936
  name: string;
94386
94937
  description?: string | null | undefined;
@@ -94418,6 +94969,8 @@ declare const TargetCreateRequestSchema: z.ZodObject<{
94418
94969
  banned_keywords: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString, "many">>>;
94419
94970
  tools_accessible: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString, "many">>>;
94420
94971
  }, z.ZodTypeAny, "passthrough"> | null | undefined;
94972
+ network_broker_channel_uuid?: string | null | undefined;
94973
+ adapter_uuid?: string | null | undefined;
94421
94974
  connection_params?: z.objectInputType<{
94422
94975
  api_endpoint: z.ZodOptional<z.ZodNullable<z.ZodString>>;
94423
94976
  request_headers: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
@@ -94440,7 +94993,11 @@ declare const TargetCreateRequestSchema: z.ZodObject<{
94440
94993
  response_stop_key: z.ZodString;
94441
94994
  response_stop_value: z.ZodString;
94442
94995
  }, z.ZodTypeAny, "passthrough"> | null | undefined;
94443
- network_broker_channel_uuid?: string | null | undefined;
94996
+ adapter_variable_overrides?: {
94997
+ key: string;
94998
+ type: "VAR" | "SECRET";
94999
+ value?: string | null | undefined;
95000
+ }[] | null | undefined;
94444
95001
  }>;
94445
95002
  type TargetCreateRequest = z.infer<typeof TargetCreateRequestSchema>;
94446
95003
  declare const TargetUpdateRequestSchema: z.ZodObject<{
@@ -94595,6 +95152,22 @@ declare const TargetUpdateRequestSchema: z.ZodObject<{
94595
95152
  }, z.ZodTypeAny, "passthrough">>>>;
94596
95153
  readonly extra_info: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
94597
95154
  readonly network_broker_channel_uuid: z.ZodOptional<z.ZodNullable<z.ZodString>>;
95155
+ /** UUID of the custom target adapter to use. Required when connection_type is CUSTOM_TARGET_ADAPTER. */
95156
+ readonly adapter_uuid: z.ZodOptional<z.ZodNullable<z.ZodString>>;
95157
+ /** Per-target overrides for the adapter's variables. Array of AdapterVar objects. */
95158
+ readonly adapter_variable_overrides: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
95159
+ key: z.ZodString;
95160
+ value: z.ZodOptional<z.ZodNullable<z.ZodString>>;
95161
+ type: z.ZodEnum<["VAR", "SECRET"]>;
95162
+ }, "strip", z.ZodTypeAny, {
95163
+ key: string;
95164
+ type: "VAR" | "SECRET";
95165
+ value?: string | null | undefined;
95166
+ }, {
95167
+ key: string;
95168
+ type: "VAR" | "SECRET";
95169
+ value?: string | null | undefined;
95170
+ }>, "many">>>;
94598
95171
  }, "strict", z.ZodTypeAny, {
94599
95172
  name: string;
94600
95173
  description?: string | null | undefined;
@@ -94632,6 +95205,8 @@ declare const TargetUpdateRequestSchema: z.ZodObject<{
94632
95205
  banned_keywords: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString, "many">>>;
94633
95206
  tools_accessible: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString, "many">>>;
94634
95207
  }, z.ZodTypeAny, "passthrough"> | null | undefined;
95208
+ network_broker_channel_uuid?: string | null | undefined;
95209
+ adapter_uuid?: string | null | undefined;
94635
95210
  connection_params?: z.objectOutputType<{
94636
95211
  api_endpoint: z.ZodOptional<z.ZodNullable<z.ZodString>>;
94637
95212
  request_headers: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
@@ -94654,7 +95229,11 @@ declare const TargetUpdateRequestSchema: z.ZodObject<{
94654
95229
  response_stop_key: z.ZodString;
94655
95230
  response_stop_value: z.ZodString;
94656
95231
  }, z.ZodTypeAny, "passthrough"> | null | undefined;
94657
- network_broker_channel_uuid?: string | null | undefined;
95232
+ adapter_variable_overrides?: {
95233
+ key: string;
95234
+ type: "VAR" | "SECRET";
95235
+ value?: string | null | undefined;
95236
+ }[] | null | undefined;
94658
95237
  }, {
94659
95238
  name: string;
94660
95239
  description?: string | null | undefined;
@@ -94692,6 +95271,8 @@ declare const TargetUpdateRequestSchema: z.ZodObject<{
94692
95271
  banned_keywords: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString, "many">>>;
94693
95272
  tools_accessible: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString, "many">>>;
94694
95273
  }, z.ZodTypeAny, "passthrough"> | null | undefined;
95274
+ network_broker_channel_uuid?: string | null | undefined;
95275
+ adapter_uuid?: string | null | undefined;
94695
95276
  connection_params?: z.objectInputType<{
94696
95277
  api_endpoint: z.ZodOptional<z.ZodNullable<z.ZodString>>;
94697
95278
  request_headers: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
@@ -94714,7 +95295,11 @@ declare const TargetUpdateRequestSchema: z.ZodObject<{
94714
95295
  response_stop_key: z.ZodString;
94715
95296
  response_stop_value: z.ZodString;
94716
95297
  }, z.ZodTypeAny, "passthrough"> | null | undefined;
94717
- network_broker_channel_uuid?: string | null | undefined;
95298
+ adapter_variable_overrides?: {
95299
+ key: string;
95300
+ type: "VAR" | "SECRET";
95301
+ value?: string | null | undefined;
95302
+ }[] | null | undefined;
94718
95303
  }>;
94719
95304
  type TargetUpdateRequest = z.infer<typeof TargetUpdateRequestSchema>;
94720
95305
  declare const TargetContextUpdateSchema: z.ZodObject<{
@@ -95341,6 +95926,20 @@ declare const TargetProbeRequestSchema: z.ZodObject<{
95341
95926
  }, z.ZodTypeAny, "passthrough">>>>;
95342
95927
  extra_info: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
95343
95928
  network_broker_channel_uuid: z.ZodOptional<z.ZodNullable<z.ZodString>>;
95929
+ adapter_uuid: z.ZodOptional<z.ZodNullable<z.ZodString>>;
95930
+ adapter_variable_overrides: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
95931
+ key: z.ZodString;
95932
+ value: z.ZodOptional<z.ZodNullable<z.ZodString>>;
95933
+ type: z.ZodEnum<["VAR", "SECRET"]>;
95934
+ }, "strip", z.ZodTypeAny, {
95935
+ key: string;
95936
+ type: "VAR" | "SECRET";
95937
+ value?: string | null | undefined;
95938
+ }, {
95939
+ key: string;
95940
+ type: "VAR" | "SECRET";
95941
+ value?: string | null | undefined;
95942
+ }>, "many">>>;
95344
95943
  }, "strict", z.ZodTypeAny, {
95345
95944
  name: string;
95346
95945
  uuid?: string | null | undefined;
@@ -95379,6 +95978,8 @@ declare const TargetProbeRequestSchema: z.ZodObject<{
95379
95978
  banned_keywords: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString, "many">>>;
95380
95979
  tools_accessible: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString, "many">>>;
95381
95980
  }, z.ZodTypeAny, "passthrough"> | null | undefined;
95981
+ network_broker_channel_uuid?: string | null | undefined;
95982
+ adapter_uuid?: string | null | undefined;
95382
95983
  connection_params?: z.objectOutputType<{
95383
95984
  api_endpoint: z.ZodOptional<z.ZodNullable<z.ZodString>>;
95384
95985
  request_headers: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
@@ -95401,7 +96002,11 @@ declare const TargetProbeRequestSchema: z.ZodObject<{
95401
96002
  response_stop_key: z.ZodString;
95402
96003
  response_stop_value: z.ZodString;
95403
96004
  }, z.ZodTypeAny, "passthrough"> | null | undefined;
95404
- network_broker_channel_uuid?: string | null | undefined;
96005
+ adapter_variable_overrides?: {
96006
+ key: string;
96007
+ type: "VAR" | "SECRET";
96008
+ value?: string | null | undefined;
96009
+ }[] | null | undefined;
95405
96010
  probe_fields?: string[] | null | undefined;
95406
96011
  }, {
95407
96012
  name: string;
@@ -95441,6 +96046,8 @@ declare const TargetProbeRequestSchema: z.ZodObject<{
95441
96046
  banned_keywords: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString, "many">>>;
95442
96047
  tools_accessible: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString, "many">>>;
95443
96048
  }, z.ZodTypeAny, "passthrough"> | null | undefined;
96049
+ network_broker_channel_uuid?: string | null | undefined;
96050
+ adapter_uuid?: string | null | undefined;
95444
96051
  connection_params?: z.objectInputType<{
95445
96052
  api_endpoint: z.ZodOptional<z.ZodNullable<z.ZodString>>;
95446
96053
  request_headers: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
@@ -95463,7 +96070,11 @@ declare const TargetProbeRequestSchema: z.ZodObject<{
95463
96070
  response_stop_key: z.ZodString;
95464
96071
  response_stop_value: z.ZodString;
95465
96072
  }, z.ZodTypeAny, "passthrough"> | null | undefined;
95466
- network_broker_channel_uuid?: string | null | undefined;
96073
+ adapter_variable_overrides?: {
96074
+ key: string;
96075
+ type: "VAR" | "SECRET";
96076
+ value?: string | null | undefined;
96077
+ }[] | null | undefined;
95467
96078
  probe_fields?: string[] | null | undefined;
95468
96079
  }>;
95469
96080
  type TargetProbeRequest = z.infer<typeof TargetProbeRequestSchema>;
@@ -98307,6 +98918,53 @@ declare const ChannelStatsSchema: z.ZodObject<{
98307
98918
  }, z.ZodTypeAny, "passthrough">>;
98308
98919
  type ChannelStats = z.infer<typeof ChannelStatsSchema>;
98309
98920
 
98921
+ /**
98922
+ * One usage-limit policy. Attached to workspaces and to integration/workspace bindings.
98923
+ *
98924
+ * Every field is optional: the upstream contract defines `credit_limit`, `type`,
98925
+ * `alert_threshold`, `periodic_reset`, `periodic_reset_days` and `next_usage_reset_at`, but a live
98926
+ * tenant also returns server-side bookkeeping the spec omits (`id`, `status`, `current_usage`,
98927
+ * `is_exhausted_alerts_sent`, `is_threshold_alerts_sent`). Passthrough keeps those rather than
98928
+ * stripping them, and optionality means a partial policy from either side still parses.
98929
+ */
98930
+ declare const GatewayUsageLimitSchema: z.ZodObject<{
98931
+ credit_limit: z.ZodOptional<z.ZodNumber>;
98932
+ type: z.ZodOptional<z.ZodString>;
98933
+ alert_threshold: z.ZodOptional<z.ZodNumber>;
98934
+ periodic_reset: z.ZodOptional<z.ZodNullable<z.ZodString>>;
98935
+ periodic_reset_days: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
98936
+ next_usage_reset_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
98937
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
98938
+ credit_limit: z.ZodOptional<z.ZodNumber>;
98939
+ type: z.ZodOptional<z.ZodString>;
98940
+ alert_threshold: z.ZodOptional<z.ZodNumber>;
98941
+ periodic_reset: z.ZodOptional<z.ZodNullable<z.ZodString>>;
98942
+ periodic_reset_days: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
98943
+ next_usage_reset_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
98944
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
98945
+ credit_limit: z.ZodOptional<z.ZodNumber>;
98946
+ type: z.ZodOptional<z.ZodString>;
98947
+ alert_threshold: z.ZodOptional<z.ZodNumber>;
98948
+ periodic_reset: z.ZodOptional<z.ZodNullable<z.ZodString>>;
98949
+ periodic_reset_days: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
98950
+ next_usage_reset_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
98951
+ }, z.ZodTypeAny, "passthrough">>;
98952
+ type GatewayUsageLimit = z.infer<typeof GatewayUsageLimitSchema>;
98953
+ /** One rate-limit policy: `type` requests|tokens, `unit` rpd|rph|rpm, `value`. */
98954
+ declare const GatewayRateLimitSchema: z.ZodObject<{
98955
+ type: z.ZodOptional<z.ZodString>;
98956
+ unit: z.ZodOptional<z.ZodString>;
98957
+ value: z.ZodOptional<z.ZodNumber>;
98958
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
98959
+ type: z.ZodOptional<z.ZodString>;
98960
+ unit: z.ZodOptional<z.ZodString>;
98961
+ value: z.ZodOptional<z.ZodNumber>;
98962
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
98963
+ type: z.ZodOptional<z.ZodString>;
98964
+ unit: z.ZodOptional<z.ZodString>;
98965
+ value: z.ZodOptional<z.ZodNumber>;
98966
+ }, z.ZodTypeAny, "passthrough">>;
98967
+ type GatewayRateLimit = z.infer<typeof GatewayRateLimitSchema>;
98310
98968
  /** A `{x, y}` time-bucket, optionally carrying a bucket average. */
98311
98969
  declare const GatewayChartRecordSchema: z.ZodObject<{
98312
98970
  x: z.ZodString;
@@ -102153,7 +102811,7 @@ declare const GatewayWorkspaceSchema: z.ZodObject<{
102153
102811
  slug: z.ZodString;
102154
102812
  name: z.ZodString;
102155
102813
  icon: z.ZodNullable<z.ZodString>;
102156
- description: z.ZodString;
102814
+ description: z.ZodNullable<z.ZodString>;
102157
102815
  created_at: z.ZodString;
102158
102816
  last_updated_at: z.ZodString;
102159
102817
  is_default: z.ZodNumber;
@@ -102165,7 +102823,7 @@ declare const GatewayWorkspaceSchema: z.ZodObject<{
102165
102823
  slug: z.ZodString;
102166
102824
  name: z.ZodString;
102167
102825
  icon: z.ZodNullable<z.ZodString>;
102168
- description: z.ZodString;
102826
+ description: z.ZodNullable<z.ZodString>;
102169
102827
  created_at: z.ZodString;
102170
102828
  last_updated_at: z.ZodString;
102171
102829
  is_default: z.ZodNumber;
@@ -102177,7 +102835,7 @@ declare const GatewayWorkspaceSchema: z.ZodObject<{
102177
102835
  slug: z.ZodString;
102178
102836
  name: z.ZodString;
102179
102837
  icon: z.ZodNullable<z.ZodString>;
102180
- description: z.ZodString;
102838
+ description: z.ZodNullable<z.ZodString>;
102181
102839
  created_at: z.ZodString;
102182
102840
  last_updated_at: z.ZodString;
102183
102841
  is_default: z.ZodNumber;
@@ -102190,50 +102848,219 @@ type GatewayWorkspace = z.infer<typeof GatewayWorkspaceSchema>;
102190
102848
  declare const GatewayWorkspaceDetailSchema: z.ZodObject<{
102191
102849
  id: z.ZodString;
102192
102850
  name: z.ZodString;
102193
- description: z.ZodString;
102851
+ /** Nullable — see `GatewayWorkspaceSchema.description`. */
102852
+ description: z.ZodNullable<z.ZodString>;
102194
102853
  created_at: z.ZodString;
102195
102854
  last_updated_at: z.ZodString;
102196
102855
  is_default: z.ZodNumber;
102197
102856
  slug: z.ZodString;
102198
102857
  icon: z.ZodNullable<z.ZodString>;
102199
102858
  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>>;
102859
+ usage_limits: z.ZodNullable<z.ZodUnion<[z.ZodArray<z.ZodObject<{
102860
+ credit_limit: z.ZodOptional<z.ZodNumber>;
102861
+ type: z.ZodOptional<z.ZodString>;
102862
+ alert_threshold: z.ZodOptional<z.ZodNumber>;
102863
+ periodic_reset: z.ZodOptional<z.ZodNullable<z.ZodString>>;
102864
+ periodic_reset_days: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
102865
+ next_usage_reset_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
102866
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
102867
+ credit_limit: z.ZodOptional<z.ZodNumber>;
102868
+ type: z.ZodOptional<z.ZodString>;
102869
+ alert_threshold: z.ZodOptional<z.ZodNumber>;
102870
+ periodic_reset: z.ZodOptional<z.ZodNullable<z.ZodString>>;
102871
+ periodic_reset_days: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
102872
+ next_usage_reset_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
102873
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
102874
+ credit_limit: z.ZodOptional<z.ZodNumber>;
102875
+ type: z.ZodOptional<z.ZodString>;
102876
+ alert_threshold: z.ZodOptional<z.ZodNumber>;
102877
+ periodic_reset: z.ZodOptional<z.ZodNullable<z.ZodString>>;
102878
+ periodic_reset_days: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
102879
+ next_usage_reset_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
102880
+ }, z.ZodTypeAny, "passthrough">>, "many">, z.ZodRecord<z.ZodString, z.ZodUnknown>]>>;
102881
+ rate_limits: z.ZodNullable<z.ZodUnion<[z.ZodArray<z.ZodObject<{
102882
+ type: z.ZodOptional<z.ZodString>;
102883
+ unit: z.ZodOptional<z.ZodString>;
102884
+ value: z.ZodOptional<z.ZodNumber>;
102885
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
102886
+ type: z.ZodOptional<z.ZodString>;
102887
+ unit: z.ZodOptional<z.ZodString>;
102888
+ value: z.ZodOptional<z.ZodNumber>;
102889
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
102890
+ type: z.ZodOptional<z.ZodString>;
102891
+ unit: z.ZodOptional<z.ZodString>;
102892
+ value: z.ZodOptional<z.ZodNumber>;
102893
+ }, z.ZodTypeAny, "passthrough">>, "many">, z.ZodRecord<z.ZodString, z.ZodUnknown>]>>;
102202
102894
  security_settings: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodBoolean>>;
102203
102895
  data_plane_security_settings: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
102204
102896
  settings: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
102897
+ /**
102898
+ * Lifecycle state. **Diverges from the list row**: `list()` reports `'active'` for a
102899
+ * workspace whose `get()` reports `null` (observed live 2026-08-01). Prefer the list value,
102900
+ * or treat a `null` here as "unknown", not as "inactive".
102901
+ */
102902
+ status: z.ZodOptional<z.ZodNullable<z.ZodString>>;
102205
102903
  }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
102206
102904
  id: z.ZodString;
102207
102905
  name: z.ZodString;
102208
- description: z.ZodString;
102906
+ /** Nullable — see `GatewayWorkspaceSchema.description`. */
102907
+ description: z.ZodNullable<z.ZodString>;
102209
102908
  created_at: z.ZodString;
102210
102909
  last_updated_at: z.ZodString;
102211
102910
  is_default: z.ZodNumber;
102212
102911
  slug: z.ZodString;
102213
102912
  icon: z.ZodNullable<z.ZodString>;
102214
102913
  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>>;
102914
+ usage_limits: z.ZodNullable<z.ZodUnion<[z.ZodArray<z.ZodObject<{
102915
+ credit_limit: z.ZodOptional<z.ZodNumber>;
102916
+ type: z.ZodOptional<z.ZodString>;
102917
+ alert_threshold: z.ZodOptional<z.ZodNumber>;
102918
+ periodic_reset: z.ZodOptional<z.ZodNullable<z.ZodString>>;
102919
+ periodic_reset_days: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
102920
+ next_usage_reset_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
102921
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
102922
+ credit_limit: z.ZodOptional<z.ZodNumber>;
102923
+ type: z.ZodOptional<z.ZodString>;
102924
+ alert_threshold: z.ZodOptional<z.ZodNumber>;
102925
+ periodic_reset: z.ZodOptional<z.ZodNullable<z.ZodString>>;
102926
+ periodic_reset_days: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
102927
+ next_usage_reset_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
102928
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
102929
+ credit_limit: z.ZodOptional<z.ZodNumber>;
102930
+ type: z.ZodOptional<z.ZodString>;
102931
+ alert_threshold: z.ZodOptional<z.ZodNumber>;
102932
+ periodic_reset: z.ZodOptional<z.ZodNullable<z.ZodString>>;
102933
+ periodic_reset_days: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
102934
+ next_usage_reset_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
102935
+ }, z.ZodTypeAny, "passthrough">>, "many">, z.ZodRecord<z.ZodString, z.ZodUnknown>]>>;
102936
+ rate_limits: z.ZodNullable<z.ZodUnion<[z.ZodArray<z.ZodObject<{
102937
+ type: z.ZodOptional<z.ZodString>;
102938
+ unit: z.ZodOptional<z.ZodString>;
102939
+ value: z.ZodOptional<z.ZodNumber>;
102940
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
102941
+ type: z.ZodOptional<z.ZodString>;
102942
+ unit: z.ZodOptional<z.ZodString>;
102943
+ value: z.ZodOptional<z.ZodNumber>;
102944
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
102945
+ type: z.ZodOptional<z.ZodString>;
102946
+ unit: z.ZodOptional<z.ZodString>;
102947
+ value: z.ZodOptional<z.ZodNumber>;
102948
+ }, z.ZodTypeAny, "passthrough">>, "many">, z.ZodRecord<z.ZodString, z.ZodUnknown>]>>;
102217
102949
  security_settings: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodBoolean>>;
102218
102950
  data_plane_security_settings: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
102219
102951
  settings: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
102952
+ /**
102953
+ * Lifecycle state. **Diverges from the list row**: `list()` reports `'active'` for a
102954
+ * workspace whose `get()` reports `null` (observed live 2026-08-01). Prefer the list value,
102955
+ * or treat a `null` here as "unknown", not as "inactive".
102956
+ */
102957
+ status: z.ZodOptional<z.ZodNullable<z.ZodString>>;
102220
102958
  }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
102221
102959
  id: z.ZodString;
102222
102960
  name: z.ZodString;
102223
- description: z.ZodString;
102961
+ /** Nullable — see `GatewayWorkspaceSchema.description`. */
102962
+ description: z.ZodNullable<z.ZodString>;
102224
102963
  created_at: z.ZodString;
102225
102964
  last_updated_at: z.ZodString;
102226
102965
  is_default: z.ZodNumber;
102227
102966
  slug: z.ZodString;
102228
102967
  icon: z.ZodNullable<z.ZodString>;
102229
102968
  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>>;
102969
+ usage_limits: z.ZodNullable<z.ZodUnion<[z.ZodArray<z.ZodObject<{
102970
+ credit_limit: z.ZodOptional<z.ZodNumber>;
102971
+ type: z.ZodOptional<z.ZodString>;
102972
+ alert_threshold: z.ZodOptional<z.ZodNumber>;
102973
+ periodic_reset: z.ZodOptional<z.ZodNullable<z.ZodString>>;
102974
+ periodic_reset_days: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
102975
+ next_usage_reset_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
102976
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
102977
+ credit_limit: z.ZodOptional<z.ZodNumber>;
102978
+ type: z.ZodOptional<z.ZodString>;
102979
+ alert_threshold: z.ZodOptional<z.ZodNumber>;
102980
+ periodic_reset: z.ZodOptional<z.ZodNullable<z.ZodString>>;
102981
+ periodic_reset_days: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
102982
+ next_usage_reset_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
102983
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
102984
+ credit_limit: z.ZodOptional<z.ZodNumber>;
102985
+ type: z.ZodOptional<z.ZodString>;
102986
+ alert_threshold: z.ZodOptional<z.ZodNumber>;
102987
+ periodic_reset: z.ZodOptional<z.ZodNullable<z.ZodString>>;
102988
+ periodic_reset_days: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
102989
+ next_usage_reset_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
102990
+ }, z.ZodTypeAny, "passthrough">>, "many">, z.ZodRecord<z.ZodString, z.ZodUnknown>]>>;
102991
+ rate_limits: z.ZodNullable<z.ZodUnion<[z.ZodArray<z.ZodObject<{
102992
+ type: z.ZodOptional<z.ZodString>;
102993
+ unit: z.ZodOptional<z.ZodString>;
102994
+ value: z.ZodOptional<z.ZodNumber>;
102995
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
102996
+ type: z.ZodOptional<z.ZodString>;
102997
+ unit: z.ZodOptional<z.ZodString>;
102998
+ value: z.ZodOptional<z.ZodNumber>;
102999
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
103000
+ type: z.ZodOptional<z.ZodString>;
103001
+ unit: z.ZodOptional<z.ZodString>;
103002
+ value: z.ZodOptional<z.ZodNumber>;
103003
+ }, z.ZodTypeAny, "passthrough">>, "many">, z.ZodRecord<z.ZodString, z.ZodUnknown>]>>;
102232
103004
  security_settings: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodBoolean>>;
102233
103005
  data_plane_security_settings: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
102234
103006
  settings: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
103007
+ /**
103008
+ * Lifecycle state. **Diverges from the list row**: `list()` reports `'active'` for a
103009
+ * workspace whose `get()` reports `null` (observed live 2026-08-01). Prefer the list value,
103010
+ * or treat a `null` here as "unknown", not as "inactive".
103011
+ */
103012
+ status: z.ZodOptional<z.ZodNullable<z.ZodString>>;
102235
103013
  }, z.ZodTypeAny, "passthrough">>;
102236
103014
  type GatewayWorkspaceDetail = z.infer<typeof GatewayWorkspaceDetailSchema>;
103015
+ /**
103016
+ * `POST /ai_gw/admin/v2/workspaces` response — verified live 2026-08-01.
103017
+ *
103018
+ * **The exception to this subsystem's "receipt, not record" write pattern.** `configs.create()`,
103019
+ * `guardrails.create()`, `providers.create()`, and `deployments.create()` each return a 4-5 field
103020
+ * receipt; workspace create returns most of the record instead.
103021
+ *
103022
+ * It is still not the full detail shape — `status`, `is_default`, `icon`, `usage_limits`,
103023
+ * `rate_limits`, and the settings blocks are all absent — so call `get()` when you need those.
103024
+ * Conversely `users` appears here and nowhere else.
103025
+ */
103026
+ declare const GatewayWorkspaceCreateResponseSchema: z.ZodObject<{
103027
+ id: z.ZodString;
103028
+ name: z.ZodString;
103029
+ slug: z.ZodString;
103030
+ description: z.ZodNullable<z.ZodString>;
103031
+ created_at: z.ZodString;
103032
+ last_updated_at: z.ZodString;
103033
+ scope_name: z.ZodString;
103034
+ object: z.ZodString;
103035
+ defaults: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
103036
+ /** Seeded workspace members. Present on create only. */
103037
+ users: z.ZodOptional<z.ZodArray<z.ZodUnknown, "many">>;
103038
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
103039
+ id: z.ZodString;
103040
+ name: z.ZodString;
103041
+ slug: z.ZodString;
103042
+ description: z.ZodNullable<z.ZodString>;
103043
+ created_at: z.ZodString;
103044
+ last_updated_at: z.ZodString;
103045
+ scope_name: z.ZodString;
103046
+ object: z.ZodString;
103047
+ defaults: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
103048
+ /** Seeded workspace members. Present on create only. */
103049
+ users: z.ZodOptional<z.ZodArray<z.ZodUnknown, "many">>;
103050
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
103051
+ id: z.ZodString;
103052
+ name: z.ZodString;
103053
+ slug: z.ZodString;
103054
+ description: z.ZodNullable<z.ZodString>;
103055
+ created_at: z.ZodString;
103056
+ last_updated_at: z.ZodString;
103057
+ scope_name: z.ZodString;
103058
+ object: z.ZodString;
103059
+ defaults: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
103060
+ /** Seeded workspace members. Present on create only. */
103061
+ users: z.ZodOptional<z.ZodArray<z.ZodUnknown, "many">>;
103062
+ }, z.ZodTypeAny, "passthrough">>;
103063
+ type GatewayWorkspaceCreateResponse = z.infer<typeof GatewayWorkspaceCreateResponseSchema>;
102237
103064
  declare const ListWorkspacesResponseSchema: z.ZodObject<{
102238
103065
  object: z.ZodString;
102239
103066
  total: z.ZodNumber;
@@ -102243,7 +103070,7 @@ declare const ListWorkspacesResponseSchema: z.ZodObject<{
102243
103070
  slug: z.ZodString;
102244
103071
  name: z.ZodString;
102245
103072
  icon: z.ZodNullable<z.ZodString>;
102246
- description: z.ZodString;
103073
+ description: z.ZodNullable<z.ZodString>;
102247
103074
  created_at: z.ZodString;
102248
103075
  last_updated_at: z.ZodString;
102249
103076
  is_default: z.ZodNumber;
@@ -102255,7 +103082,7 @@ declare const ListWorkspacesResponseSchema: z.ZodObject<{
102255
103082
  slug: z.ZodString;
102256
103083
  name: z.ZodString;
102257
103084
  icon: z.ZodNullable<z.ZodString>;
102258
- description: z.ZodString;
103085
+ description: z.ZodNullable<z.ZodString>;
102259
103086
  created_at: z.ZodString;
102260
103087
  last_updated_at: z.ZodString;
102261
103088
  is_default: z.ZodNumber;
@@ -102267,7 +103094,7 @@ declare const ListWorkspacesResponseSchema: z.ZodObject<{
102267
103094
  slug: z.ZodString;
102268
103095
  name: z.ZodString;
102269
103096
  icon: z.ZodNullable<z.ZodString>;
102270
- description: z.ZodString;
103097
+ description: z.ZodNullable<z.ZodString>;
102271
103098
  created_at: z.ZodString;
102272
103099
  last_updated_at: z.ZodString;
102273
103100
  is_default: z.ZodNumber;
@@ -102284,7 +103111,7 @@ declare const ListWorkspacesResponseSchema: z.ZodObject<{
102284
103111
  slug: z.ZodString;
102285
103112
  name: z.ZodString;
102286
103113
  icon: z.ZodNullable<z.ZodString>;
102287
- description: z.ZodString;
103114
+ description: z.ZodNullable<z.ZodString>;
102288
103115
  created_at: z.ZodString;
102289
103116
  last_updated_at: z.ZodString;
102290
103117
  is_default: z.ZodNumber;
@@ -102296,7 +103123,7 @@ declare const ListWorkspacesResponseSchema: z.ZodObject<{
102296
103123
  slug: z.ZodString;
102297
103124
  name: z.ZodString;
102298
103125
  icon: z.ZodNullable<z.ZodString>;
102299
- description: z.ZodString;
103126
+ description: z.ZodNullable<z.ZodString>;
102300
103127
  created_at: z.ZodString;
102301
103128
  last_updated_at: z.ZodString;
102302
103129
  is_default: z.ZodNumber;
@@ -102308,7 +103135,7 @@ declare const ListWorkspacesResponseSchema: z.ZodObject<{
102308
103135
  slug: z.ZodString;
102309
103136
  name: z.ZodString;
102310
103137
  icon: z.ZodNullable<z.ZodString>;
102311
- description: z.ZodString;
103138
+ description: z.ZodNullable<z.ZodString>;
102312
103139
  created_at: z.ZodString;
102313
103140
  last_updated_at: z.ZodString;
102314
103141
  is_default: z.ZodNumber;
@@ -102325,7 +103152,7 @@ declare const ListWorkspacesResponseSchema: z.ZodObject<{
102325
103152
  slug: z.ZodString;
102326
103153
  name: z.ZodString;
102327
103154
  icon: z.ZodNullable<z.ZodString>;
102328
- description: z.ZodString;
103155
+ description: z.ZodNullable<z.ZodString>;
102329
103156
  created_at: z.ZodString;
102330
103157
  last_updated_at: z.ZodString;
102331
103158
  is_default: z.ZodNumber;
@@ -102337,7 +103164,7 @@ declare const ListWorkspacesResponseSchema: z.ZodObject<{
102337
103164
  slug: z.ZodString;
102338
103165
  name: z.ZodString;
102339
103166
  icon: z.ZodNullable<z.ZodString>;
102340
- description: z.ZodString;
103167
+ description: z.ZodNullable<z.ZodString>;
102341
103168
  created_at: z.ZodString;
102342
103169
  last_updated_at: z.ZodString;
102343
103170
  is_default: z.ZodNumber;
@@ -102349,7 +103176,7 @@ declare const ListWorkspacesResponseSchema: z.ZodObject<{
102349
103176
  slug: z.ZodString;
102350
103177
  name: z.ZodString;
102351
103178
  icon: z.ZodNullable<z.ZodString>;
102352
- description: z.ZodString;
103179
+ description: z.ZodNullable<z.ZodString>;
102353
103180
  created_at: z.ZodString;
102354
103181
  last_updated_at: z.ZodString;
102355
103182
  is_default: z.ZodNumber;
@@ -104180,8 +105007,41 @@ type GatewayIntegrationModelsResponse = z.infer<typeof GatewayIntegrationModelsR
104180
105007
  */
104181
105008
  declare const GatewayIntegrationWorkspaceSchema: z.ZodObject<{
104182
105009
  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>>;
105010
+ usage_limits: z.ZodNullable<z.ZodUnion<[z.ZodArray<z.ZodObject<{
105011
+ credit_limit: z.ZodOptional<z.ZodNumber>;
105012
+ type: z.ZodOptional<z.ZodString>;
105013
+ alert_threshold: z.ZodOptional<z.ZodNumber>;
105014
+ periodic_reset: z.ZodOptional<z.ZodNullable<z.ZodString>>;
105015
+ periodic_reset_days: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
105016
+ next_usage_reset_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
105017
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
105018
+ credit_limit: z.ZodOptional<z.ZodNumber>;
105019
+ type: z.ZodOptional<z.ZodString>;
105020
+ alert_threshold: z.ZodOptional<z.ZodNumber>;
105021
+ periodic_reset: z.ZodOptional<z.ZodNullable<z.ZodString>>;
105022
+ periodic_reset_days: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
105023
+ next_usage_reset_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
105024
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
105025
+ credit_limit: z.ZodOptional<z.ZodNumber>;
105026
+ type: z.ZodOptional<z.ZodString>;
105027
+ alert_threshold: z.ZodOptional<z.ZodNumber>;
105028
+ periodic_reset: z.ZodOptional<z.ZodNullable<z.ZodString>>;
105029
+ periodic_reset_days: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
105030
+ next_usage_reset_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
105031
+ }, z.ZodTypeAny, "passthrough">>, "many">, z.ZodRecord<z.ZodString, z.ZodUnknown>]>>;
105032
+ rate_limits: z.ZodNullable<z.ZodUnion<[z.ZodArray<z.ZodObject<{
105033
+ type: z.ZodOptional<z.ZodString>;
105034
+ unit: z.ZodOptional<z.ZodString>;
105035
+ value: z.ZodOptional<z.ZodNumber>;
105036
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
105037
+ type: z.ZodOptional<z.ZodString>;
105038
+ unit: z.ZodOptional<z.ZodString>;
105039
+ value: z.ZodOptional<z.ZodNumber>;
105040
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
105041
+ type: z.ZodOptional<z.ZodString>;
105042
+ unit: z.ZodOptional<z.ZodString>;
105043
+ value: z.ZodOptional<z.ZodNumber>;
105044
+ }, z.ZodTypeAny, "passthrough">>, "many">, z.ZodRecord<z.ZodString, z.ZodUnknown>]>>;
104185
105045
  enabled: z.ZodBoolean;
104186
105046
  status: z.ZodString;
104187
105047
  created_at: z.ZodString;
@@ -104189,8 +105049,41 @@ declare const GatewayIntegrationWorkspaceSchema: z.ZodObject<{
104189
105049
  last_reset_at: z.ZodNullable<z.ZodString>;
104190
105050
  }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
104191
105051
  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>>;
105052
+ usage_limits: z.ZodNullable<z.ZodUnion<[z.ZodArray<z.ZodObject<{
105053
+ credit_limit: z.ZodOptional<z.ZodNumber>;
105054
+ type: z.ZodOptional<z.ZodString>;
105055
+ alert_threshold: z.ZodOptional<z.ZodNumber>;
105056
+ periodic_reset: z.ZodOptional<z.ZodNullable<z.ZodString>>;
105057
+ periodic_reset_days: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
105058
+ next_usage_reset_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
105059
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
105060
+ credit_limit: z.ZodOptional<z.ZodNumber>;
105061
+ type: z.ZodOptional<z.ZodString>;
105062
+ alert_threshold: z.ZodOptional<z.ZodNumber>;
105063
+ periodic_reset: z.ZodOptional<z.ZodNullable<z.ZodString>>;
105064
+ periodic_reset_days: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
105065
+ next_usage_reset_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
105066
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
105067
+ credit_limit: z.ZodOptional<z.ZodNumber>;
105068
+ type: z.ZodOptional<z.ZodString>;
105069
+ alert_threshold: z.ZodOptional<z.ZodNumber>;
105070
+ periodic_reset: z.ZodOptional<z.ZodNullable<z.ZodString>>;
105071
+ periodic_reset_days: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
105072
+ next_usage_reset_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
105073
+ }, z.ZodTypeAny, "passthrough">>, "many">, z.ZodRecord<z.ZodString, z.ZodUnknown>]>>;
105074
+ rate_limits: z.ZodNullable<z.ZodUnion<[z.ZodArray<z.ZodObject<{
105075
+ type: z.ZodOptional<z.ZodString>;
105076
+ unit: z.ZodOptional<z.ZodString>;
105077
+ value: z.ZodOptional<z.ZodNumber>;
105078
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
105079
+ type: z.ZodOptional<z.ZodString>;
105080
+ unit: z.ZodOptional<z.ZodString>;
105081
+ value: z.ZodOptional<z.ZodNumber>;
105082
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
105083
+ type: z.ZodOptional<z.ZodString>;
105084
+ unit: z.ZodOptional<z.ZodString>;
105085
+ value: z.ZodOptional<z.ZodNumber>;
105086
+ }, z.ZodTypeAny, "passthrough">>, "many">, z.ZodRecord<z.ZodString, z.ZodUnknown>]>>;
104194
105087
  enabled: z.ZodBoolean;
104195
105088
  status: z.ZodString;
104196
105089
  created_at: z.ZodString;
@@ -104198,8 +105091,41 @@ declare const GatewayIntegrationWorkspaceSchema: z.ZodObject<{
104198
105091
  last_reset_at: z.ZodNullable<z.ZodString>;
104199
105092
  }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
104200
105093
  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>>;
105094
+ usage_limits: z.ZodNullable<z.ZodUnion<[z.ZodArray<z.ZodObject<{
105095
+ credit_limit: z.ZodOptional<z.ZodNumber>;
105096
+ type: z.ZodOptional<z.ZodString>;
105097
+ alert_threshold: z.ZodOptional<z.ZodNumber>;
105098
+ periodic_reset: z.ZodOptional<z.ZodNullable<z.ZodString>>;
105099
+ periodic_reset_days: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
105100
+ next_usage_reset_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
105101
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
105102
+ credit_limit: z.ZodOptional<z.ZodNumber>;
105103
+ type: z.ZodOptional<z.ZodString>;
105104
+ alert_threshold: z.ZodOptional<z.ZodNumber>;
105105
+ periodic_reset: z.ZodOptional<z.ZodNullable<z.ZodString>>;
105106
+ periodic_reset_days: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
105107
+ next_usage_reset_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
105108
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
105109
+ credit_limit: z.ZodOptional<z.ZodNumber>;
105110
+ type: z.ZodOptional<z.ZodString>;
105111
+ alert_threshold: z.ZodOptional<z.ZodNumber>;
105112
+ periodic_reset: z.ZodOptional<z.ZodNullable<z.ZodString>>;
105113
+ periodic_reset_days: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
105114
+ next_usage_reset_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
105115
+ }, z.ZodTypeAny, "passthrough">>, "many">, z.ZodRecord<z.ZodString, z.ZodUnknown>]>>;
105116
+ rate_limits: z.ZodNullable<z.ZodUnion<[z.ZodArray<z.ZodObject<{
105117
+ type: z.ZodOptional<z.ZodString>;
105118
+ unit: z.ZodOptional<z.ZodString>;
105119
+ value: z.ZodOptional<z.ZodNumber>;
105120
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
105121
+ type: z.ZodOptional<z.ZodString>;
105122
+ unit: z.ZodOptional<z.ZodString>;
105123
+ value: z.ZodOptional<z.ZodNumber>;
105124
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
105125
+ type: z.ZodOptional<z.ZodString>;
105126
+ unit: z.ZodOptional<z.ZodString>;
105127
+ value: z.ZodOptional<z.ZodNumber>;
105128
+ }, z.ZodTypeAny, "passthrough">>, "many">, z.ZodRecord<z.ZodString, z.ZodUnknown>]>>;
104203
105129
  enabled: z.ZodBoolean;
104204
105130
  status: z.ZodString;
104205
105131
  created_at: z.ZodString;
@@ -104214,24 +105140,156 @@ type GatewayIntegrationWorkspace = z.infer<typeof GatewayIntegrationWorkspaceSch
104214
105140
  */
104215
105141
  declare const GatewayGlobalWorkspaceAccessSchema: z.ZodObject<{
104216
105142
  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>>;
105143
+ rate_limits: z.ZodNullable<z.ZodUnion<[z.ZodArray<z.ZodObject<{
105144
+ type: z.ZodOptional<z.ZodString>;
105145
+ unit: z.ZodOptional<z.ZodString>;
105146
+ value: z.ZodOptional<z.ZodNumber>;
105147
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
105148
+ type: z.ZodOptional<z.ZodString>;
105149
+ unit: z.ZodOptional<z.ZodString>;
105150
+ value: z.ZodOptional<z.ZodNumber>;
105151
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
105152
+ type: z.ZodOptional<z.ZodString>;
105153
+ unit: z.ZodOptional<z.ZodString>;
105154
+ value: z.ZodOptional<z.ZodNumber>;
105155
+ }, z.ZodTypeAny, "passthrough">>, "many">, z.ZodRecord<z.ZodString, z.ZodUnknown>]>>;
105156
+ usage_limits: z.ZodNullable<z.ZodUnion<[z.ZodArray<z.ZodObject<{
105157
+ credit_limit: z.ZodOptional<z.ZodNumber>;
105158
+ type: z.ZodOptional<z.ZodString>;
105159
+ alert_threshold: z.ZodOptional<z.ZodNumber>;
105160
+ periodic_reset: z.ZodOptional<z.ZodNullable<z.ZodString>>;
105161
+ periodic_reset_days: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
105162
+ next_usage_reset_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
105163
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
105164
+ credit_limit: z.ZodOptional<z.ZodNumber>;
105165
+ type: z.ZodOptional<z.ZodString>;
105166
+ alert_threshold: z.ZodOptional<z.ZodNumber>;
105167
+ periodic_reset: z.ZodOptional<z.ZodNullable<z.ZodString>>;
105168
+ periodic_reset_days: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
105169
+ next_usage_reset_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
105170
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
105171
+ credit_limit: z.ZodOptional<z.ZodNumber>;
105172
+ type: z.ZodOptional<z.ZodString>;
105173
+ alert_threshold: z.ZodOptional<z.ZodNumber>;
105174
+ periodic_reset: z.ZodOptional<z.ZodNullable<z.ZodString>>;
105175
+ periodic_reset_days: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
105176
+ next_usage_reset_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
105177
+ }, z.ZodTypeAny, "passthrough">>, "many">, z.ZodRecord<z.ZodString, z.ZodUnknown>]>>;
104219
105178
  }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
104220
105179
  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>>;
105180
+ rate_limits: z.ZodNullable<z.ZodUnion<[z.ZodArray<z.ZodObject<{
105181
+ type: z.ZodOptional<z.ZodString>;
105182
+ unit: z.ZodOptional<z.ZodString>;
105183
+ value: z.ZodOptional<z.ZodNumber>;
105184
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
105185
+ type: z.ZodOptional<z.ZodString>;
105186
+ unit: z.ZodOptional<z.ZodString>;
105187
+ value: z.ZodOptional<z.ZodNumber>;
105188
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
105189
+ type: z.ZodOptional<z.ZodString>;
105190
+ unit: z.ZodOptional<z.ZodString>;
105191
+ value: z.ZodOptional<z.ZodNumber>;
105192
+ }, z.ZodTypeAny, "passthrough">>, "many">, z.ZodRecord<z.ZodString, z.ZodUnknown>]>>;
105193
+ usage_limits: z.ZodNullable<z.ZodUnion<[z.ZodArray<z.ZodObject<{
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
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
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">, z.objectInputType<{
105208
+ credit_limit: z.ZodOptional<z.ZodNumber>;
105209
+ type: z.ZodOptional<z.ZodString>;
105210
+ alert_threshold: z.ZodOptional<z.ZodNumber>;
105211
+ periodic_reset: z.ZodOptional<z.ZodNullable<z.ZodString>>;
105212
+ periodic_reset_days: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
105213
+ next_usage_reset_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
105214
+ }, z.ZodTypeAny, "passthrough">>, "many">, z.ZodRecord<z.ZodString, z.ZodUnknown>]>>;
104223
105215
  }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
104224
105216
  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>>;
105217
+ rate_limits: z.ZodNullable<z.ZodUnion<[z.ZodArray<z.ZodObject<{
105218
+ type: z.ZodOptional<z.ZodString>;
105219
+ unit: z.ZodOptional<z.ZodString>;
105220
+ value: z.ZodOptional<z.ZodNumber>;
105221
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
105222
+ type: z.ZodOptional<z.ZodString>;
105223
+ unit: z.ZodOptional<z.ZodString>;
105224
+ value: z.ZodOptional<z.ZodNumber>;
105225
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
105226
+ type: z.ZodOptional<z.ZodString>;
105227
+ unit: z.ZodOptional<z.ZodString>;
105228
+ value: z.ZodOptional<z.ZodNumber>;
105229
+ }, z.ZodTypeAny, "passthrough">>, "many">, z.ZodRecord<z.ZodString, z.ZodUnknown>]>>;
105230
+ usage_limits: z.ZodNullable<z.ZodUnion<[z.ZodArray<z.ZodObject<{
105231
+ credit_limit: z.ZodOptional<z.ZodNumber>;
105232
+ type: z.ZodOptional<z.ZodString>;
105233
+ alert_threshold: z.ZodOptional<z.ZodNumber>;
105234
+ periodic_reset: z.ZodOptional<z.ZodNullable<z.ZodString>>;
105235
+ periodic_reset_days: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
105236
+ next_usage_reset_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
105237
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
105238
+ credit_limit: z.ZodOptional<z.ZodNumber>;
105239
+ type: z.ZodOptional<z.ZodString>;
105240
+ alert_threshold: z.ZodOptional<z.ZodNumber>;
105241
+ periodic_reset: z.ZodOptional<z.ZodNullable<z.ZodString>>;
105242
+ periodic_reset_days: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
105243
+ next_usage_reset_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
105244
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
105245
+ credit_limit: z.ZodOptional<z.ZodNumber>;
105246
+ type: z.ZodOptional<z.ZodString>;
105247
+ alert_threshold: z.ZodOptional<z.ZodNumber>;
105248
+ periodic_reset: z.ZodOptional<z.ZodNullable<z.ZodString>>;
105249
+ periodic_reset_days: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
105250
+ next_usage_reset_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
105251
+ }, z.ZodTypeAny, "passthrough">>, "many">, z.ZodRecord<z.ZodString, z.ZodUnknown>]>>;
104227
105252
  }, z.ZodTypeAny, "passthrough">>;
104228
105253
  type GatewayGlobalWorkspaceAccess = z.infer<typeof GatewayGlobalWorkspaceAccessSchema>;
104229
105254
  /** `integrations/{id}/workspaces` — which workspaces may use this integration. */
104230
105255
  declare const GatewayIntegrationWorkspacesResponseSchema: z.ZodObject<{
104231
105256
  workspaces: z.ZodArray<z.ZodObject<{
104232
105257
  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>>;
105258
+ usage_limits: z.ZodNullable<z.ZodUnion<[z.ZodArray<z.ZodObject<{
105259
+ credit_limit: z.ZodOptional<z.ZodNumber>;
105260
+ type: z.ZodOptional<z.ZodString>;
105261
+ alert_threshold: z.ZodOptional<z.ZodNumber>;
105262
+ periodic_reset: z.ZodOptional<z.ZodNullable<z.ZodString>>;
105263
+ periodic_reset_days: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
105264
+ next_usage_reset_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
105265
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
105266
+ credit_limit: z.ZodOptional<z.ZodNumber>;
105267
+ type: z.ZodOptional<z.ZodString>;
105268
+ alert_threshold: z.ZodOptional<z.ZodNumber>;
105269
+ periodic_reset: z.ZodOptional<z.ZodNullable<z.ZodString>>;
105270
+ periodic_reset_days: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
105271
+ next_usage_reset_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
105272
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
105273
+ credit_limit: z.ZodOptional<z.ZodNumber>;
105274
+ type: z.ZodOptional<z.ZodString>;
105275
+ alert_threshold: z.ZodOptional<z.ZodNumber>;
105276
+ periodic_reset: z.ZodOptional<z.ZodNullable<z.ZodString>>;
105277
+ periodic_reset_days: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
105278
+ next_usage_reset_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
105279
+ }, z.ZodTypeAny, "passthrough">>, "many">, z.ZodRecord<z.ZodString, z.ZodUnknown>]>>;
105280
+ rate_limits: z.ZodNullable<z.ZodUnion<[z.ZodArray<z.ZodObject<{
105281
+ type: z.ZodOptional<z.ZodString>;
105282
+ unit: z.ZodOptional<z.ZodString>;
105283
+ value: z.ZodOptional<z.ZodNumber>;
105284
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
105285
+ type: z.ZodOptional<z.ZodString>;
105286
+ unit: z.ZodOptional<z.ZodString>;
105287
+ value: z.ZodOptional<z.ZodNumber>;
105288
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
105289
+ type: z.ZodOptional<z.ZodString>;
105290
+ unit: z.ZodOptional<z.ZodString>;
105291
+ value: z.ZodOptional<z.ZodNumber>;
105292
+ }, z.ZodTypeAny, "passthrough">>, "many">, z.ZodRecord<z.ZodString, z.ZodUnknown>]>>;
104235
105293
  enabled: z.ZodBoolean;
104236
105294
  status: z.ZodString;
104237
105295
  created_at: z.ZodString;
@@ -104239,8 +105297,41 @@ declare const GatewayIntegrationWorkspacesResponseSchema: z.ZodObject<{
104239
105297
  last_reset_at: z.ZodNullable<z.ZodString>;
104240
105298
  }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
104241
105299
  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>>;
105300
+ usage_limits: z.ZodNullable<z.ZodUnion<[z.ZodArray<z.ZodObject<{
105301
+ credit_limit: z.ZodOptional<z.ZodNumber>;
105302
+ type: z.ZodOptional<z.ZodString>;
105303
+ alert_threshold: z.ZodOptional<z.ZodNumber>;
105304
+ periodic_reset: z.ZodOptional<z.ZodNullable<z.ZodString>>;
105305
+ periodic_reset_days: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
105306
+ next_usage_reset_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
105307
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
105308
+ credit_limit: z.ZodOptional<z.ZodNumber>;
105309
+ type: z.ZodOptional<z.ZodString>;
105310
+ alert_threshold: z.ZodOptional<z.ZodNumber>;
105311
+ periodic_reset: z.ZodOptional<z.ZodNullable<z.ZodString>>;
105312
+ periodic_reset_days: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
105313
+ next_usage_reset_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
105314
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
105315
+ credit_limit: z.ZodOptional<z.ZodNumber>;
105316
+ type: z.ZodOptional<z.ZodString>;
105317
+ alert_threshold: z.ZodOptional<z.ZodNumber>;
105318
+ periodic_reset: z.ZodOptional<z.ZodNullable<z.ZodString>>;
105319
+ periodic_reset_days: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
105320
+ next_usage_reset_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
105321
+ }, z.ZodTypeAny, "passthrough">>, "many">, z.ZodRecord<z.ZodString, z.ZodUnknown>]>>;
105322
+ rate_limits: z.ZodNullable<z.ZodUnion<[z.ZodArray<z.ZodObject<{
105323
+ type: z.ZodOptional<z.ZodString>;
105324
+ unit: z.ZodOptional<z.ZodString>;
105325
+ value: z.ZodOptional<z.ZodNumber>;
105326
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
105327
+ type: z.ZodOptional<z.ZodString>;
105328
+ unit: z.ZodOptional<z.ZodString>;
105329
+ value: z.ZodOptional<z.ZodNumber>;
105330
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
105331
+ type: z.ZodOptional<z.ZodString>;
105332
+ unit: z.ZodOptional<z.ZodString>;
105333
+ value: z.ZodOptional<z.ZodNumber>;
105334
+ }, z.ZodTypeAny, "passthrough">>, "many">, z.ZodRecord<z.ZodString, z.ZodUnknown>]>>;
104244
105335
  enabled: z.ZodBoolean;
104245
105336
  status: z.ZodString;
104246
105337
  created_at: z.ZodString;
@@ -104248,8 +105339,41 @@ declare const GatewayIntegrationWorkspacesResponseSchema: z.ZodObject<{
104248
105339
  last_reset_at: z.ZodNullable<z.ZodString>;
104249
105340
  }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
104250
105341
  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>>;
105342
+ usage_limits: z.ZodNullable<z.ZodUnion<[z.ZodArray<z.ZodObject<{
105343
+ credit_limit: z.ZodOptional<z.ZodNumber>;
105344
+ type: z.ZodOptional<z.ZodString>;
105345
+ alert_threshold: z.ZodOptional<z.ZodNumber>;
105346
+ periodic_reset: z.ZodOptional<z.ZodNullable<z.ZodString>>;
105347
+ periodic_reset_days: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
105348
+ next_usage_reset_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
105349
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
105350
+ credit_limit: z.ZodOptional<z.ZodNumber>;
105351
+ type: z.ZodOptional<z.ZodString>;
105352
+ alert_threshold: z.ZodOptional<z.ZodNumber>;
105353
+ periodic_reset: z.ZodOptional<z.ZodNullable<z.ZodString>>;
105354
+ periodic_reset_days: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
105355
+ next_usage_reset_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
105356
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
105357
+ credit_limit: z.ZodOptional<z.ZodNumber>;
105358
+ type: z.ZodOptional<z.ZodString>;
105359
+ alert_threshold: z.ZodOptional<z.ZodNumber>;
105360
+ periodic_reset: z.ZodOptional<z.ZodNullable<z.ZodString>>;
105361
+ periodic_reset_days: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
105362
+ next_usage_reset_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
105363
+ }, z.ZodTypeAny, "passthrough">>, "many">, z.ZodRecord<z.ZodString, z.ZodUnknown>]>>;
105364
+ rate_limits: z.ZodNullable<z.ZodUnion<[z.ZodArray<z.ZodObject<{
105365
+ type: z.ZodOptional<z.ZodString>;
105366
+ unit: z.ZodOptional<z.ZodString>;
105367
+ value: z.ZodOptional<z.ZodNumber>;
105368
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
105369
+ type: z.ZodOptional<z.ZodString>;
105370
+ unit: z.ZodOptional<z.ZodString>;
105371
+ value: z.ZodOptional<z.ZodNumber>;
105372
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
105373
+ type: z.ZodOptional<z.ZodString>;
105374
+ unit: z.ZodOptional<z.ZodString>;
105375
+ value: z.ZodOptional<z.ZodNumber>;
105376
+ }, z.ZodTypeAny, "passthrough">>, "many">, z.ZodRecord<z.ZodString, z.ZodUnknown>]>>;
104253
105377
  enabled: z.ZodBoolean;
104254
105378
  status: z.ZodString;
104255
105379
  created_at: z.ZodString;
@@ -104258,23 +105382,155 @@ declare const GatewayIntegrationWorkspacesResponseSchema: z.ZodObject<{
104258
105382
  }, z.ZodTypeAny, "passthrough">>, "many">;
104259
105383
  global_workspace_access: z.ZodObject<{
104260
105384
  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>>;
105385
+ rate_limits: z.ZodNullable<z.ZodUnion<[z.ZodArray<z.ZodObject<{
105386
+ type: z.ZodOptional<z.ZodString>;
105387
+ unit: z.ZodOptional<z.ZodString>;
105388
+ value: z.ZodOptional<z.ZodNumber>;
105389
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
105390
+ type: z.ZodOptional<z.ZodString>;
105391
+ unit: z.ZodOptional<z.ZodString>;
105392
+ value: z.ZodOptional<z.ZodNumber>;
105393
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
105394
+ type: z.ZodOptional<z.ZodString>;
105395
+ unit: z.ZodOptional<z.ZodString>;
105396
+ value: z.ZodOptional<z.ZodNumber>;
105397
+ }, z.ZodTypeAny, "passthrough">>, "many">, z.ZodRecord<z.ZodString, z.ZodUnknown>]>>;
105398
+ usage_limits: z.ZodNullable<z.ZodUnion<[z.ZodArray<z.ZodObject<{
105399
+ credit_limit: z.ZodOptional<z.ZodNumber>;
105400
+ type: z.ZodOptional<z.ZodString>;
105401
+ alert_threshold: z.ZodOptional<z.ZodNumber>;
105402
+ periodic_reset: z.ZodOptional<z.ZodNullable<z.ZodString>>;
105403
+ periodic_reset_days: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
105404
+ next_usage_reset_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
105405
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
105406
+ credit_limit: z.ZodOptional<z.ZodNumber>;
105407
+ type: z.ZodOptional<z.ZodString>;
105408
+ alert_threshold: z.ZodOptional<z.ZodNumber>;
105409
+ periodic_reset: z.ZodOptional<z.ZodNullable<z.ZodString>>;
105410
+ periodic_reset_days: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
105411
+ next_usage_reset_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
105412
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
105413
+ credit_limit: z.ZodOptional<z.ZodNumber>;
105414
+ type: z.ZodOptional<z.ZodString>;
105415
+ alert_threshold: z.ZodOptional<z.ZodNumber>;
105416
+ periodic_reset: z.ZodOptional<z.ZodNullable<z.ZodString>>;
105417
+ periodic_reset_days: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
105418
+ next_usage_reset_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
105419
+ }, z.ZodTypeAny, "passthrough">>, "many">, z.ZodRecord<z.ZodString, z.ZodUnknown>]>>;
104263
105420
  }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
104264
105421
  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>>;
105422
+ rate_limits: z.ZodNullable<z.ZodUnion<[z.ZodArray<z.ZodObject<{
105423
+ type: z.ZodOptional<z.ZodString>;
105424
+ unit: z.ZodOptional<z.ZodString>;
105425
+ value: z.ZodOptional<z.ZodNumber>;
105426
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
105427
+ type: z.ZodOptional<z.ZodString>;
105428
+ unit: z.ZodOptional<z.ZodString>;
105429
+ value: z.ZodOptional<z.ZodNumber>;
105430
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
105431
+ type: z.ZodOptional<z.ZodString>;
105432
+ unit: z.ZodOptional<z.ZodString>;
105433
+ value: z.ZodOptional<z.ZodNumber>;
105434
+ }, z.ZodTypeAny, "passthrough">>, "many">, z.ZodRecord<z.ZodString, z.ZodUnknown>]>>;
105435
+ usage_limits: z.ZodNullable<z.ZodUnion<[z.ZodArray<z.ZodObject<{
105436
+ credit_limit: z.ZodOptional<z.ZodNumber>;
105437
+ type: z.ZodOptional<z.ZodString>;
105438
+ alert_threshold: z.ZodOptional<z.ZodNumber>;
105439
+ periodic_reset: z.ZodOptional<z.ZodNullable<z.ZodString>>;
105440
+ periodic_reset_days: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
105441
+ next_usage_reset_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
105442
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
105443
+ credit_limit: z.ZodOptional<z.ZodNumber>;
105444
+ type: z.ZodOptional<z.ZodString>;
105445
+ alert_threshold: z.ZodOptional<z.ZodNumber>;
105446
+ periodic_reset: z.ZodOptional<z.ZodNullable<z.ZodString>>;
105447
+ periodic_reset_days: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
105448
+ next_usage_reset_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
105449
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
105450
+ credit_limit: z.ZodOptional<z.ZodNumber>;
105451
+ type: z.ZodOptional<z.ZodString>;
105452
+ alert_threshold: z.ZodOptional<z.ZodNumber>;
105453
+ periodic_reset: z.ZodOptional<z.ZodNullable<z.ZodString>>;
105454
+ periodic_reset_days: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
105455
+ next_usage_reset_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
105456
+ }, z.ZodTypeAny, "passthrough">>, "many">, z.ZodRecord<z.ZodString, z.ZodUnknown>]>>;
104267
105457
  }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
104268
105458
  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>>;
105459
+ rate_limits: z.ZodNullable<z.ZodUnion<[z.ZodArray<z.ZodObject<{
105460
+ type: z.ZodOptional<z.ZodString>;
105461
+ unit: z.ZodOptional<z.ZodString>;
105462
+ value: z.ZodOptional<z.ZodNumber>;
105463
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
105464
+ type: z.ZodOptional<z.ZodString>;
105465
+ unit: z.ZodOptional<z.ZodString>;
105466
+ value: z.ZodOptional<z.ZodNumber>;
105467
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
105468
+ type: z.ZodOptional<z.ZodString>;
105469
+ unit: z.ZodOptional<z.ZodString>;
105470
+ value: z.ZodOptional<z.ZodNumber>;
105471
+ }, z.ZodTypeAny, "passthrough">>, "many">, z.ZodRecord<z.ZodString, z.ZodUnknown>]>>;
105472
+ usage_limits: z.ZodNullable<z.ZodUnion<[z.ZodArray<z.ZodObject<{
105473
+ credit_limit: z.ZodOptional<z.ZodNumber>;
105474
+ type: z.ZodOptional<z.ZodString>;
105475
+ alert_threshold: z.ZodOptional<z.ZodNumber>;
105476
+ periodic_reset: z.ZodOptional<z.ZodNullable<z.ZodString>>;
105477
+ periodic_reset_days: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
105478
+ next_usage_reset_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
105479
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
105480
+ credit_limit: z.ZodOptional<z.ZodNumber>;
105481
+ type: z.ZodOptional<z.ZodString>;
105482
+ alert_threshold: z.ZodOptional<z.ZodNumber>;
105483
+ periodic_reset: z.ZodOptional<z.ZodNullable<z.ZodString>>;
105484
+ periodic_reset_days: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
105485
+ next_usage_reset_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
105486
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
105487
+ credit_limit: z.ZodOptional<z.ZodNumber>;
105488
+ type: z.ZodOptional<z.ZodString>;
105489
+ alert_threshold: z.ZodOptional<z.ZodNumber>;
105490
+ periodic_reset: z.ZodOptional<z.ZodNullable<z.ZodString>>;
105491
+ periodic_reset_days: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
105492
+ next_usage_reset_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
105493
+ }, z.ZodTypeAny, "passthrough">>, "many">, z.ZodRecord<z.ZodString, z.ZodUnknown>]>>;
104271
105494
  }, z.ZodTypeAny, "passthrough">>;
104272
105495
  object: z.ZodString;
104273
105496
  }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
104274
105497
  workspaces: z.ZodArray<z.ZodObject<{
104275
105498
  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>>;
105499
+ usage_limits: z.ZodNullable<z.ZodUnion<[z.ZodArray<z.ZodObject<{
105500
+ credit_limit: z.ZodOptional<z.ZodNumber>;
105501
+ type: z.ZodOptional<z.ZodString>;
105502
+ alert_threshold: z.ZodOptional<z.ZodNumber>;
105503
+ periodic_reset: z.ZodOptional<z.ZodNullable<z.ZodString>>;
105504
+ periodic_reset_days: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
105505
+ next_usage_reset_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
105506
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
105507
+ credit_limit: z.ZodOptional<z.ZodNumber>;
105508
+ type: z.ZodOptional<z.ZodString>;
105509
+ alert_threshold: z.ZodOptional<z.ZodNumber>;
105510
+ periodic_reset: z.ZodOptional<z.ZodNullable<z.ZodString>>;
105511
+ periodic_reset_days: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
105512
+ next_usage_reset_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
105513
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
105514
+ credit_limit: z.ZodOptional<z.ZodNumber>;
105515
+ type: z.ZodOptional<z.ZodString>;
105516
+ alert_threshold: z.ZodOptional<z.ZodNumber>;
105517
+ periodic_reset: z.ZodOptional<z.ZodNullable<z.ZodString>>;
105518
+ periodic_reset_days: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
105519
+ next_usage_reset_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
105520
+ }, z.ZodTypeAny, "passthrough">>, "many">, z.ZodRecord<z.ZodString, z.ZodUnknown>]>>;
105521
+ rate_limits: z.ZodNullable<z.ZodUnion<[z.ZodArray<z.ZodObject<{
105522
+ type: z.ZodOptional<z.ZodString>;
105523
+ unit: z.ZodOptional<z.ZodString>;
105524
+ value: z.ZodOptional<z.ZodNumber>;
105525
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
105526
+ type: z.ZodOptional<z.ZodString>;
105527
+ unit: z.ZodOptional<z.ZodString>;
105528
+ value: z.ZodOptional<z.ZodNumber>;
105529
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
105530
+ type: z.ZodOptional<z.ZodString>;
105531
+ unit: z.ZodOptional<z.ZodString>;
105532
+ value: z.ZodOptional<z.ZodNumber>;
105533
+ }, z.ZodTypeAny, "passthrough">>, "many">, z.ZodRecord<z.ZodString, z.ZodUnknown>]>>;
104278
105534
  enabled: z.ZodBoolean;
104279
105535
  status: z.ZodString;
104280
105536
  created_at: z.ZodString;
@@ -104282,8 +105538,41 @@ declare const GatewayIntegrationWorkspacesResponseSchema: z.ZodObject<{
104282
105538
  last_reset_at: z.ZodNullable<z.ZodString>;
104283
105539
  }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
104284
105540
  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>>;
105541
+ usage_limits: z.ZodNullable<z.ZodUnion<[z.ZodArray<z.ZodObject<{
105542
+ credit_limit: z.ZodOptional<z.ZodNumber>;
105543
+ type: z.ZodOptional<z.ZodString>;
105544
+ alert_threshold: z.ZodOptional<z.ZodNumber>;
105545
+ periodic_reset: z.ZodOptional<z.ZodNullable<z.ZodString>>;
105546
+ periodic_reset_days: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
105547
+ next_usage_reset_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
105548
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
105549
+ credit_limit: z.ZodOptional<z.ZodNumber>;
105550
+ type: z.ZodOptional<z.ZodString>;
105551
+ alert_threshold: z.ZodOptional<z.ZodNumber>;
105552
+ periodic_reset: z.ZodOptional<z.ZodNullable<z.ZodString>>;
105553
+ periodic_reset_days: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
105554
+ next_usage_reset_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
105555
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
105556
+ credit_limit: z.ZodOptional<z.ZodNumber>;
105557
+ type: z.ZodOptional<z.ZodString>;
105558
+ alert_threshold: z.ZodOptional<z.ZodNumber>;
105559
+ periodic_reset: z.ZodOptional<z.ZodNullable<z.ZodString>>;
105560
+ periodic_reset_days: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
105561
+ next_usage_reset_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
105562
+ }, z.ZodTypeAny, "passthrough">>, "many">, z.ZodRecord<z.ZodString, z.ZodUnknown>]>>;
105563
+ rate_limits: z.ZodNullable<z.ZodUnion<[z.ZodArray<z.ZodObject<{
105564
+ type: z.ZodOptional<z.ZodString>;
105565
+ unit: z.ZodOptional<z.ZodString>;
105566
+ value: z.ZodOptional<z.ZodNumber>;
105567
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
105568
+ type: z.ZodOptional<z.ZodString>;
105569
+ unit: z.ZodOptional<z.ZodString>;
105570
+ value: z.ZodOptional<z.ZodNumber>;
105571
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
105572
+ type: z.ZodOptional<z.ZodString>;
105573
+ unit: z.ZodOptional<z.ZodString>;
105574
+ value: z.ZodOptional<z.ZodNumber>;
105575
+ }, z.ZodTypeAny, "passthrough">>, "many">, z.ZodRecord<z.ZodString, z.ZodUnknown>]>>;
104287
105576
  enabled: z.ZodBoolean;
104288
105577
  status: z.ZodString;
104289
105578
  created_at: z.ZodString;
@@ -104291,8 +105580,41 @@ declare const GatewayIntegrationWorkspacesResponseSchema: z.ZodObject<{
104291
105580
  last_reset_at: z.ZodNullable<z.ZodString>;
104292
105581
  }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
104293
105582
  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>>;
105583
+ usage_limits: z.ZodNullable<z.ZodUnion<[z.ZodArray<z.ZodObject<{
105584
+ credit_limit: z.ZodOptional<z.ZodNumber>;
105585
+ type: z.ZodOptional<z.ZodString>;
105586
+ alert_threshold: z.ZodOptional<z.ZodNumber>;
105587
+ periodic_reset: z.ZodOptional<z.ZodNullable<z.ZodString>>;
105588
+ periodic_reset_days: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
105589
+ next_usage_reset_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
105590
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
105591
+ credit_limit: z.ZodOptional<z.ZodNumber>;
105592
+ type: z.ZodOptional<z.ZodString>;
105593
+ alert_threshold: z.ZodOptional<z.ZodNumber>;
105594
+ periodic_reset: z.ZodOptional<z.ZodNullable<z.ZodString>>;
105595
+ periodic_reset_days: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
105596
+ next_usage_reset_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
105597
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
105598
+ credit_limit: z.ZodOptional<z.ZodNumber>;
105599
+ type: z.ZodOptional<z.ZodString>;
105600
+ alert_threshold: z.ZodOptional<z.ZodNumber>;
105601
+ periodic_reset: z.ZodOptional<z.ZodNullable<z.ZodString>>;
105602
+ periodic_reset_days: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
105603
+ next_usage_reset_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
105604
+ }, z.ZodTypeAny, "passthrough">>, "many">, z.ZodRecord<z.ZodString, z.ZodUnknown>]>>;
105605
+ rate_limits: z.ZodNullable<z.ZodUnion<[z.ZodArray<z.ZodObject<{
105606
+ type: z.ZodOptional<z.ZodString>;
105607
+ unit: z.ZodOptional<z.ZodString>;
105608
+ value: z.ZodOptional<z.ZodNumber>;
105609
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
105610
+ type: z.ZodOptional<z.ZodString>;
105611
+ unit: z.ZodOptional<z.ZodString>;
105612
+ value: z.ZodOptional<z.ZodNumber>;
105613
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
105614
+ type: z.ZodOptional<z.ZodString>;
105615
+ unit: z.ZodOptional<z.ZodString>;
105616
+ value: z.ZodOptional<z.ZodNumber>;
105617
+ }, z.ZodTypeAny, "passthrough">>, "many">, z.ZodRecord<z.ZodString, z.ZodUnknown>]>>;
104296
105618
  enabled: z.ZodBoolean;
104297
105619
  status: z.ZodString;
104298
105620
  created_at: z.ZodString;
@@ -104301,23 +105623,155 @@ declare const GatewayIntegrationWorkspacesResponseSchema: z.ZodObject<{
104301
105623
  }, z.ZodTypeAny, "passthrough">>, "many">;
104302
105624
  global_workspace_access: z.ZodObject<{
104303
105625
  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>>;
105626
+ rate_limits: z.ZodNullable<z.ZodUnion<[z.ZodArray<z.ZodObject<{
105627
+ type: z.ZodOptional<z.ZodString>;
105628
+ unit: z.ZodOptional<z.ZodString>;
105629
+ value: z.ZodOptional<z.ZodNumber>;
105630
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
105631
+ type: z.ZodOptional<z.ZodString>;
105632
+ unit: z.ZodOptional<z.ZodString>;
105633
+ value: z.ZodOptional<z.ZodNumber>;
105634
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
105635
+ type: z.ZodOptional<z.ZodString>;
105636
+ unit: z.ZodOptional<z.ZodString>;
105637
+ value: z.ZodOptional<z.ZodNumber>;
105638
+ }, z.ZodTypeAny, "passthrough">>, "many">, z.ZodRecord<z.ZodString, z.ZodUnknown>]>>;
105639
+ usage_limits: z.ZodNullable<z.ZodUnion<[z.ZodArray<z.ZodObject<{
105640
+ credit_limit: z.ZodOptional<z.ZodNumber>;
105641
+ type: z.ZodOptional<z.ZodString>;
105642
+ alert_threshold: z.ZodOptional<z.ZodNumber>;
105643
+ periodic_reset: z.ZodOptional<z.ZodNullable<z.ZodString>>;
105644
+ periodic_reset_days: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
105645
+ next_usage_reset_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
105646
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
105647
+ credit_limit: z.ZodOptional<z.ZodNumber>;
105648
+ type: z.ZodOptional<z.ZodString>;
105649
+ alert_threshold: z.ZodOptional<z.ZodNumber>;
105650
+ periodic_reset: z.ZodOptional<z.ZodNullable<z.ZodString>>;
105651
+ periodic_reset_days: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
105652
+ next_usage_reset_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
105653
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
105654
+ credit_limit: z.ZodOptional<z.ZodNumber>;
105655
+ type: z.ZodOptional<z.ZodString>;
105656
+ alert_threshold: z.ZodOptional<z.ZodNumber>;
105657
+ periodic_reset: z.ZodOptional<z.ZodNullable<z.ZodString>>;
105658
+ periodic_reset_days: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
105659
+ next_usage_reset_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
105660
+ }, z.ZodTypeAny, "passthrough">>, "many">, z.ZodRecord<z.ZodString, z.ZodUnknown>]>>;
104306
105661
  }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
104307
105662
  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>>;
105663
+ rate_limits: z.ZodNullable<z.ZodUnion<[z.ZodArray<z.ZodObject<{
105664
+ type: z.ZodOptional<z.ZodString>;
105665
+ unit: z.ZodOptional<z.ZodString>;
105666
+ value: z.ZodOptional<z.ZodNumber>;
105667
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
105668
+ type: z.ZodOptional<z.ZodString>;
105669
+ unit: z.ZodOptional<z.ZodString>;
105670
+ value: z.ZodOptional<z.ZodNumber>;
105671
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
105672
+ type: z.ZodOptional<z.ZodString>;
105673
+ unit: z.ZodOptional<z.ZodString>;
105674
+ value: z.ZodOptional<z.ZodNumber>;
105675
+ }, z.ZodTypeAny, "passthrough">>, "many">, z.ZodRecord<z.ZodString, z.ZodUnknown>]>>;
105676
+ usage_limits: z.ZodNullable<z.ZodUnion<[z.ZodArray<z.ZodObject<{
105677
+ credit_limit: z.ZodOptional<z.ZodNumber>;
105678
+ type: z.ZodOptional<z.ZodString>;
105679
+ alert_threshold: z.ZodOptional<z.ZodNumber>;
105680
+ periodic_reset: z.ZodOptional<z.ZodNullable<z.ZodString>>;
105681
+ periodic_reset_days: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
105682
+ next_usage_reset_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
105683
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
105684
+ credit_limit: z.ZodOptional<z.ZodNumber>;
105685
+ type: z.ZodOptional<z.ZodString>;
105686
+ alert_threshold: z.ZodOptional<z.ZodNumber>;
105687
+ periodic_reset: z.ZodOptional<z.ZodNullable<z.ZodString>>;
105688
+ periodic_reset_days: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
105689
+ next_usage_reset_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
105690
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
105691
+ credit_limit: z.ZodOptional<z.ZodNumber>;
105692
+ type: z.ZodOptional<z.ZodString>;
105693
+ alert_threshold: z.ZodOptional<z.ZodNumber>;
105694
+ periodic_reset: z.ZodOptional<z.ZodNullable<z.ZodString>>;
105695
+ periodic_reset_days: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
105696
+ next_usage_reset_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
105697
+ }, z.ZodTypeAny, "passthrough">>, "many">, z.ZodRecord<z.ZodString, z.ZodUnknown>]>>;
104310
105698
  }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
104311
105699
  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>>;
105700
+ rate_limits: z.ZodNullable<z.ZodUnion<[z.ZodArray<z.ZodObject<{
105701
+ type: z.ZodOptional<z.ZodString>;
105702
+ unit: z.ZodOptional<z.ZodString>;
105703
+ value: z.ZodOptional<z.ZodNumber>;
105704
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
105705
+ type: z.ZodOptional<z.ZodString>;
105706
+ unit: z.ZodOptional<z.ZodString>;
105707
+ value: z.ZodOptional<z.ZodNumber>;
105708
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
105709
+ type: z.ZodOptional<z.ZodString>;
105710
+ unit: z.ZodOptional<z.ZodString>;
105711
+ value: z.ZodOptional<z.ZodNumber>;
105712
+ }, z.ZodTypeAny, "passthrough">>, "many">, z.ZodRecord<z.ZodString, z.ZodUnknown>]>>;
105713
+ usage_limits: z.ZodNullable<z.ZodUnion<[z.ZodArray<z.ZodObject<{
105714
+ credit_limit: z.ZodOptional<z.ZodNumber>;
105715
+ type: z.ZodOptional<z.ZodString>;
105716
+ alert_threshold: z.ZodOptional<z.ZodNumber>;
105717
+ periodic_reset: z.ZodOptional<z.ZodNullable<z.ZodString>>;
105718
+ periodic_reset_days: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
105719
+ next_usage_reset_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
105720
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
105721
+ credit_limit: z.ZodOptional<z.ZodNumber>;
105722
+ type: z.ZodOptional<z.ZodString>;
105723
+ alert_threshold: z.ZodOptional<z.ZodNumber>;
105724
+ periodic_reset: z.ZodOptional<z.ZodNullable<z.ZodString>>;
105725
+ periodic_reset_days: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
105726
+ next_usage_reset_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
105727
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
105728
+ credit_limit: z.ZodOptional<z.ZodNumber>;
105729
+ type: z.ZodOptional<z.ZodString>;
105730
+ alert_threshold: z.ZodOptional<z.ZodNumber>;
105731
+ periodic_reset: z.ZodOptional<z.ZodNullable<z.ZodString>>;
105732
+ periodic_reset_days: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
105733
+ next_usage_reset_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
105734
+ }, z.ZodTypeAny, "passthrough">>, "many">, z.ZodRecord<z.ZodString, z.ZodUnknown>]>>;
104314
105735
  }, z.ZodTypeAny, "passthrough">>;
104315
105736
  object: z.ZodString;
104316
105737
  }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
104317
105738
  workspaces: z.ZodArray<z.ZodObject<{
104318
105739
  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>>;
105740
+ usage_limits: z.ZodNullable<z.ZodUnion<[z.ZodArray<z.ZodObject<{
105741
+ credit_limit: z.ZodOptional<z.ZodNumber>;
105742
+ type: z.ZodOptional<z.ZodString>;
105743
+ alert_threshold: z.ZodOptional<z.ZodNumber>;
105744
+ periodic_reset: z.ZodOptional<z.ZodNullable<z.ZodString>>;
105745
+ periodic_reset_days: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
105746
+ next_usage_reset_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
105747
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
105748
+ credit_limit: z.ZodOptional<z.ZodNumber>;
105749
+ type: z.ZodOptional<z.ZodString>;
105750
+ alert_threshold: z.ZodOptional<z.ZodNumber>;
105751
+ periodic_reset: z.ZodOptional<z.ZodNullable<z.ZodString>>;
105752
+ periodic_reset_days: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
105753
+ next_usage_reset_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
105754
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
105755
+ credit_limit: z.ZodOptional<z.ZodNumber>;
105756
+ type: z.ZodOptional<z.ZodString>;
105757
+ alert_threshold: z.ZodOptional<z.ZodNumber>;
105758
+ periodic_reset: z.ZodOptional<z.ZodNullable<z.ZodString>>;
105759
+ periodic_reset_days: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
105760
+ next_usage_reset_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
105761
+ }, z.ZodTypeAny, "passthrough">>, "many">, z.ZodRecord<z.ZodString, z.ZodUnknown>]>>;
105762
+ rate_limits: z.ZodNullable<z.ZodUnion<[z.ZodArray<z.ZodObject<{
105763
+ type: z.ZodOptional<z.ZodString>;
105764
+ unit: z.ZodOptional<z.ZodString>;
105765
+ value: z.ZodOptional<z.ZodNumber>;
105766
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
105767
+ type: z.ZodOptional<z.ZodString>;
105768
+ unit: z.ZodOptional<z.ZodString>;
105769
+ value: z.ZodOptional<z.ZodNumber>;
105770
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
105771
+ type: z.ZodOptional<z.ZodString>;
105772
+ unit: z.ZodOptional<z.ZodString>;
105773
+ value: z.ZodOptional<z.ZodNumber>;
105774
+ }, z.ZodTypeAny, "passthrough">>, "many">, z.ZodRecord<z.ZodString, z.ZodUnknown>]>>;
104321
105775
  enabled: z.ZodBoolean;
104322
105776
  status: z.ZodString;
104323
105777
  created_at: z.ZodString;
@@ -104325,8 +105779,41 @@ declare const GatewayIntegrationWorkspacesResponseSchema: z.ZodObject<{
104325
105779
  last_reset_at: z.ZodNullable<z.ZodString>;
104326
105780
  }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
104327
105781
  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>>;
105782
+ usage_limits: z.ZodNullable<z.ZodUnion<[z.ZodArray<z.ZodObject<{
105783
+ credit_limit: z.ZodOptional<z.ZodNumber>;
105784
+ type: z.ZodOptional<z.ZodString>;
105785
+ alert_threshold: z.ZodOptional<z.ZodNumber>;
105786
+ periodic_reset: z.ZodOptional<z.ZodNullable<z.ZodString>>;
105787
+ periodic_reset_days: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
105788
+ next_usage_reset_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
105789
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
105790
+ credit_limit: z.ZodOptional<z.ZodNumber>;
105791
+ type: z.ZodOptional<z.ZodString>;
105792
+ alert_threshold: z.ZodOptional<z.ZodNumber>;
105793
+ periodic_reset: z.ZodOptional<z.ZodNullable<z.ZodString>>;
105794
+ periodic_reset_days: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
105795
+ next_usage_reset_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
105796
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
105797
+ credit_limit: z.ZodOptional<z.ZodNumber>;
105798
+ type: z.ZodOptional<z.ZodString>;
105799
+ alert_threshold: z.ZodOptional<z.ZodNumber>;
105800
+ periodic_reset: z.ZodOptional<z.ZodNullable<z.ZodString>>;
105801
+ periodic_reset_days: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
105802
+ next_usage_reset_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
105803
+ }, z.ZodTypeAny, "passthrough">>, "many">, z.ZodRecord<z.ZodString, z.ZodUnknown>]>>;
105804
+ rate_limits: z.ZodNullable<z.ZodUnion<[z.ZodArray<z.ZodObject<{
105805
+ type: z.ZodOptional<z.ZodString>;
105806
+ unit: z.ZodOptional<z.ZodString>;
105807
+ value: z.ZodOptional<z.ZodNumber>;
105808
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
105809
+ type: z.ZodOptional<z.ZodString>;
105810
+ unit: z.ZodOptional<z.ZodString>;
105811
+ value: z.ZodOptional<z.ZodNumber>;
105812
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
105813
+ type: z.ZodOptional<z.ZodString>;
105814
+ unit: z.ZodOptional<z.ZodString>;
105815
+ value: z.ZodOptional<z.ZodNumber>;
105816
+ }, z.ZodTypeAny, "passthrough">>, "many">, z.ZodRecord<z.ZodString, z.ZodUnknown>]>>;
104330
105817
  enabled: z.ZodBoolean;
104331
105818
  status: z.ZodString;
104332
105819
  created_at: z.ZodString;
@@ -104334,8 +105821,41 @@ declare const GatewayIntegrationWorkspacesResponseSchema: z.ZodObject<{
104334
105821
  last_reset_at: z.ZodNullable<z.ZodString>;
104335
105822
  }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
104336
105823
  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>>;
105824
+ usage_limits: z.ZodNullable<z.ZodUnion<[z.ZodArray<z.ZodObject<{
105825
+ credit_limit: z.ZodOptional<z.ZodNumber>;
105826
+ type: z.ZodOptional<z.ZodString>;
105827
+ alert_threshold: z.ZodOptional<z.ZodNumber>;
105828
+ periodic_reset: z.ZodOptional<z.ZodNullable<z.ZodString>>;
105829
+ periodic_reset_days: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
105830
+ next_usage_reset_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
105831
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
105832
+ credit_limit: z.ZodOptional<z.ZodNumber>;
105833
+ type: z.ZodOptional<z.ZodString>;
105834
+ alert_threshold: z.ZodOptional<z.ZodNumber>;
105835
+ periodic_reset: z.ZodOptional<z.ZodNullable<z.ZodString>>;
105836
+ periodic_reset_days: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
105837
+ next_usage_reset_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
105838
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
105839
+ credit_limit: z.ZodOptional<z.ZodNumber>;
105840
+ type: z.ZodOptional<z.ZodString>;
105841
+ alert_threshold: z.ZodOptional<z.ZodNumber>;
105842
+ periodic_reset: z.ZodOptional<z.ZodNullable<z.ZodString>>;
105843
+ periodic_reset_days: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
105844
+ next_usage_reset_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
105845
+ }, z.ZodTypeAny, "passthrough">>, "many">, z.ZodRecord<z.ZodString, z.ZodUnknown>]>>;
105846
+ rate_limits: z.ZodNullable<z.ZodUnion<[z.ZodArray<z.ZodObject<{
105847
+ type: z.ZodOptional<z.ZodString>;
105848
+ unit: z.ZodOptional<z.ZodString>;
105849
+ value: z.ZodOptional<z.ZodNumber>;
105850
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
105851
+ type: z.ZodOptional<z.ZodString>;
105852
+ unit: z.ZodOptional<z.ZodString>;
105853
+ value: z.ZodOptional<z.ZodNumber>;
105854
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
105855
+ type: z.ZodOptional<z.ZodString>;
105856
+ unit: z.ZodOptional<z.ZodString>;
105857
+ value: z.ZodOptional<z.ZodNumber>;
105858
+ }, z.ZodTypeAny, "passthrough">>, "many">, z.ZodRecord<z.ZodString, z.ZodUnknown>]>>;
104339
105859
  enabled: z.ZodBoolean;
104340
105860
  status: z.ZodString;
104341
105861
  created_at: z.ZodString;
@@ -104344,16 +105864,115 @@ declare const GatewayIntegrationWorkspacesResponseSchema: z.ZodObject<{
104344
105864
  }, z.ZodTypeAny, "passthrough">>, "many">;
104345
105865
  global_workspace_access: z.ZodObject<{
104346
105866
  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>>;
105867
+ rate_limits: z.ZodNullable<z.ZodUnion<[z.ZodArray<z.ZodObject<{
105868
+ type: z.ZodOptional<z.ZodString>;
105869
+ unit: z.ZodOptional<z.ZodString>;
105870
+ value: z.ZodOptional<z.ZodNumber>;
105871
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
105872
+ type: z.ZodOptional<z.ZodString>;
105873
+ unit: z.ZodOptional<z.ZodString>;
105874
+ value: z.ZodOptional<z.ZodNumber>;
105875
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
105876
+ type: z.ZodOptional<z.ZodString>;
105877
+ unit: z.ZodOptional<z.ZodString>;
105878
+ value: z.ZodOptional<z.ZodNumber>;
105879
+ }, z.ZodTypeAny, "passthrough">>, "many">, z.ZodRecord<z.ZodString, z.ZodUnknown>]>>;
105880
+ usage_limits: z.ZodNullable<z.ZodUnion<[z.ZodArray<z.ZodObject<{
105881
+ credit_limit: z.ZodOptional<z.ZodNumber>;
105882
+ type: z.ZodOptional<z.ZodString>;
105883
+ alert_threshold: z.ZodOptional<z.ZodNumber>;
105884
+ periodic_reset: z.ZodOptional<z.ZodNullable<z.ZodString>>;
105885
+ periodic_reset_days: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
105886
+ next_usage_reset_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
105887
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
105888
+ credit_limit: z.ZodOptional<z.ZodNumber>;
105889
+ type: z.ZodOptional<z.ZodString>;
105890
+ alert_threshold: z.ZodOptional<z.ZodNumber>;
105891
+ periodic_reset: z.ZodOptional<z.ZodNullable<z.ZodString>>;
105892
+ periodic_reset_days: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
105893
+ next_usage_reset_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
105894
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
105895
+ credit_limit: z.ZodOptional<z.ZodNumber>;
105896
+ type: z.ZodOptional<z.ZodString>;
105897
+ alert_threshold: z.ZodOptional<z.ZodNumber>;
105898
+ periodic_reset: z.ZodOptional<z.ZodNullable<z.ZodString>>;
105899
+ periodic_reset_days: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
105900
+ next_usage_reset_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
105901
+ }, z.ZodTypeAny, "passthrough">>, "many">, z.ZodRecord<z.ZodString, z.ZodUnknown>]>>;
104349
105902
  }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
104350
105903
  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>>;
105904
+ rate_limits: z.ZodNullable<z.ZodUnion<[z.ZodArray<z.ZodObject<{
105905
+ type: z.ZodOptional<z.ZodString>;
105906
+ unit: z.ZodOptional<z.ZodString>;
105907
+ value: z.ZodOptional<z.ZodNumber>;
105908
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
105909
+ type: z.ZodOptional<z.ZodString>;
105910
+ unit: z.ZodOptional<z.ZodString>;
105911
+ value: z.ZodOptional<z.ZodNumber>;
105912
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
105913
+ type: z.ZodOptional<z.ZodString>;
105914
+ unit: z.ZodOptional<z.ZodString>;
105915
+ value: z.ZodOptional<z.ZodNumber>;
105916
+ }, z.ZodTypeAny, "passthrough">>, "many">, z.ZodRecord<z.ZodString, z.ZodUnknown>]>>;
105917
+ usage_limits: z.ZodNullable<z.ZodUnion<[z.ZodArray<z.ZodObject<{
105918
+ credit_limit: z.ZodOptional<z.ZodNumber>;
105919
+ type: z.ZodOptional<z.ZodString>;
105920
+ alert_threshold: z.ZodOptional<z.ZodNumber>;
105921
+ periodic_reset: z.ZodOptional<z.ZodNullable<z.ZodString>>;
105922
+ periodic_reset_days: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
105923
+ next_usage_reset_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
105924
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
105925
+ credit_limit: z.ZodOptional<z.ZodNumber>;
105926
+ type: z.ZodOptional<z.ZodString>;
105927
+ alert_threshold: z.ZodOptional<z.ZodNumber>;
105928
+ periodic_reset: z.ZodOptional<z.ZodNullable<z.ZodString>>;
105929
+ periodic_reset_days: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
105930
+ next_usage_reset_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
105931
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
105932
+ credit_limit: z.ZodOptional<z.ZodNumber>;
105933
+ type: z.ZodOptional<z.ZodString>;
105934
+ alert_threshold: z.ZodOptional<z.ZodNumber>;
105935
+ periodic_reset: z.ZodOptional<z.ZodNullable<z.ZodString>>;
105936
+ periodic_reset_days: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
105937
+ next_usage_reset_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
105938
+ }, z.ZodTypeAny, "passthrough">>, "many">, z.ZodRecord<z.ZodString, z.ZodUnknown>]>>;
104353
105939
  }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
104354
105940
  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>>;
105941
+ rate_limits: z.ZodNullable<z.ZodUnion<[z.ZodArray<z.ZodObject<{
105942
+ type: z.ZodOptional<z.ZodString>;
105943
+ unit: z.ZodOptional<z.ZodString>;
105944
+ value: z.ZodOptional<z.ZodNumber>;
105945
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
105946
+ type: z.ZodOptional<z.ZodString>;
105947
+ unit: z.ZodOptional<z.ZodString>;
105948
+ value: z.ZodOptional<z.ZodNumber>;
105949
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
105950
+ type: z.ZodOptional<z.ZodString>;
105951
+ unit: z.ZodOptional<z.ZodString>;
105952
+ value: z.ZodOptional<z.ZodNumber>;
105953
+ }, z.ZodTypeAny, "passthrough">>, "many">, z.ZodRecord<z.ZodString, z.ZodUnknown>]>>;
105954
+ usage_limits: z.ZodNullable<z.ZodUnion<[z.ZodArray<z.ZodObject<{
105955
+ credit_limit: z.ZodOptional<z.ZodNumber>;
105956
+ type: z.ZodOptional<z.ZodString>;
105957
+ alert_threshold: z.ZodOptional<z.ZodNumber>;
105958
+ periodic_reset: z.ZodOptional<z.ZodNullable<z.ZodString>>;
105959
+ periodic_reset_days: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
105960
+ next_usage_reset_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
105961
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
105962
+ credit_limit: z.ZodOptional<z.ZodNumber>;
105963
+ type: z.ZodOptional<z.ZodString>;
105964
+ alert_threshold: z.ZodOptional<z.ZodNumber>;
105965
+ periodic_reset: z.ZodOptional<z.ZodNullable<z.ZodString>>;
105966
+ periodic_reset_days: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
105967
+ next_usage_reset_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
105968
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
105969
+ credit_limit: z.ZodOptional<z.ZodNumber>;
105970
+ type: z.ZodOptional<z.ZodString>;
105971
+ alert_threshold: z.ZodOptional<z.ZodNumber>;
105972
+ periodic_reset: z.ZodOptional<z.ZodNullable<z.ZodString>>;
105973
+ periodic_reset_days: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
105974
+ next_usage_reset_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
105975
+ }, z.ZodTypeAny, "passthrough">>, "many">, z.ZodRecord<z.ZodString, z.ZodUnknown>]>>;
104357
105976
  }, z.ZodTypeAny, "passthrough">>;
104358
105977
  object: z.ZodString;
104359
105978
  }, z.ZodTypeAny, "passthrough">>;
@@ -105443,8 +107062,8 @@ declare const MAX_NUMBER_OF_BATCH_SCAN_OBJECTS = 20;
105443
107062
  declare const MAX_CONNECTION_POOL_SIZE = 100;
105444
107063
  declare const MAX_NUMBER_OF_RETRIES = 5;
105445
107064
  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";
107065
+ declare const SDK_VERSION = "0.17.0";
107066
+ declare const USER_AGENT = "PAN-AIRS/0.17.0-typescript-sdk";
105448
107067
  declare const DEFAULT_MGMT_ENDPOINT = "https://api.sase.paloaltonetworks.com/aisec";
105449
107068
  declare const DEFAULT_TOKEN_ENDPOINT = "https://auth.apps.paloaltonetworks.com/oauth2/access_token";
105450
107069
  declare const MGMT_CLIENT_ID = "PANW_MGMT_CLIENT_ID";
@@ -105518,6 +107137,8 @@ declare const RED_TEAM_LANGUAGES_PATH = "/v1/languages";
105518
107137
  declare const RED_TEAM_ERROR_LOG_TARGET_PROFILE_PATH = "/v1/error-log/target-profile";
105519
107138
  declare const RED_TEAM_TARGET_PATH = "/v1/target";
105520
107139
  declare const RED_TEAM_TARGET_VALIDATE_AUTH_PATH = "/v1/target/validate-auth";
107140
+ declare const RED_TEAM_ADAPTER_PATH = "/v1/adapters";
107141
+ declare const RED_TEAM_ADAPTER_VALIDATE_PATH = "/v1/adapters/validate";
105521
107142
  declare const RED_TEAM_TEMPLATE_PATH = "/v1/template";
105522
107143
  declare const RED_TEAM_EULA_PATH = "/v1/eula";
105523
107144
  declare const RED_TEAM_INSTANCES_PATH = "/v1/instances";
@@ -105601,6 +107222,11 @@ interface PaginationOptions {
105601
107222
  offset?: number;
105602
107223
  /** Max items to return. Defaults to 100. */
105603
107224
  limit?: number;
107225
+ /** Return only the latest revision of each profile when supported by the endpoint. */
107226
+ latest?: boolean;
107227
+ }
107228
+ /** Options for walking all security profile pages. */
107229
+ interface ProfileListAllOptions extends Omit<PaginationOptions, 'offset'>, CollectAllOptions {
105604
107230
  }
105605
107231
  /** @internal */
105606
107232
  interface ProfilesClientOptions {
@@ -105652,6 +107278,14 @@ declare class ProfilesClient {
105652
107278
  * ```
105653
107279
  */
105654
107280
  list(opts?: PaginationOptions): Promise<SecurityProfileListResponse>;
107281
+ /**
107282
+ * List security profiles across every response page.
107283
+ * @example
107284
+ * ```ts
107285
+ * const profiles = await mgmt.profiles.listAll({ latest: true });
107286
+ * ```
107287
+ */
107288
+ listAll(opts?: ProfileListAllOptions): Promise<SecurityProfile[]>;
105655
107289
  /**
105656
107290
  * Get a security profile by UUID.
105657
107291
  * Fetches all profiles and filters — no dedicated API endpoint exists.
@@ -105739,6 +107373,14 @@ declare class ProfilesClient {
105739
107373
  forceDelete(profileId: string, updatedBy: string): Promise<DeleteProfileResponse>;
105740
107374
  }
105741
107375
 
107376
+ /** Options for listing topics, including client-side latest-revision grouping. */
107377
+ interface TopicListOptions extends Omit<PaginationOptions, 'latest'> {
107378
+ /** Walk all pages and return the highest revision for each topic name. */
107379
+ latestOnly?: boolean;
107380
+ }
107381
+ /** Options for walking all custom-topic pages. */
107382
+ interface TopicListAllOptions extends Omit<TopicListOptions, 'offset' | 'latestOnly'>, CollectAllOptions {
107383
+ }
105742
107384
  /** @internal */
105743
107385
  interface TopicsClientOptions {
105744
107386
  baseUrl: string;
@@ -105789,7 +107431,31 @@ declare class TopicsClient {
105789
107431
  * // revision: 1, active: true } ], next_offset: 20 }
105790
107432
  * ```
105791
107433
  */
105792
- list(opts?: PaginationOptions): Promise<CustomTopicListResponse>;
107434
+ list(opts?: TopicListOptions): Promise<CustomTopicListResponse>;
107435
+ /**
107436
+ * List custom topics across every response page.
107437
+ * @example
107438
+ * ```ts
107439
+ * const topics = await mgmt.topics.listAll({ limit: 200 });
107440
+ * ```
107441
+ */
107442
+ listAll(opts?: TopicListAllOptions): Promise<CustomTopic[]>;
107443
+ /**
107444
+ * Get an exact custom-topic revision by UUID.
107445
+ * @example
107446
+ * ```ts
107447
+ * const topic = await mgmt.topics.get('550e8400-e29b-41d4-a716-446655440000');
107448
+ * ```
107449
+ */
107450
+ get(topicId: string): Promise<CustomTopic>;
107451
+ /**
107452
+ * Get the highest revision of a custom topic by name.
107453
+ * @example
107454
+ * ```ts
107455
+ * const topic = await mgmt.topics.getByName('credit-cards');
107456
+ * ```
107457
+ */
107458
+ getByName(topicName: string): Promise<CustomTopic>;
105793
107459
  /**
105794
107460
  * Update an existing custom topic.
105795
107461
  * @param topicId - UUID of the topic to update.
@@ -105844,6 +107510,9 @@ declare class TopicsClient {
105844
107510
  forceDelete(topicId: string, updatedBy?: string): Promise<DeleteTopicResponse>;
105845
107511
  }
105846
107512
 
107513
+ interface ApiKeyListAllOptions extends Omit<PaginationOptions, 'offset' | 'latest'>, CollectAllOptions {
107514
+ }
107515
+
105847
107516
  /** @internal */
105848
107517
  interface ApiKeysClientOptions {
105849
107518
  baseUrl: string;
@@ -105898,6 +107567,8 @@ declare class ApiKeysClient {
105898
107567
  * ```
105899
107568
  */
105900
107569
  list(opts?: PaginationOptions): Promise<ApiKeyListResponse>;
107570
+ /** List all API keys. @example `const keys = await mgmt.apiKeys.listAll();` */
107571
+ listAll(opts?: ApiKeyListAllOptions): Promise<ApiKey[]>;
105901
107572
  /**
105902
107573
  * Delete an API key by name.
105903
107574
  * @param apiKeyName - Name of the API key to delete.
@@ -105935,6 +107606,9 @@ declare class ApiKeysClient {
105935
107606
  regenerate(apiKeyId: string, body: ApiKeyRegenerateRequest): Promise<ApiKey>;
105936
107607
  }
105937
107608
 
107609
+ interface CustomerAppListAllOptions extends Omit<PaginationOptions, 'offset' | 'latest'>, CollectAllOptions {
107610
+ }
107611
+
105938
107612
  /** @internal */
105939
107613
  interface CustomerAppsClientOptions {
105940
107614
  baseUrl: string;
@@ -105980,6 +107654,8 @@ declare class CustomerAppsClient {
105980
107654
  * ```
105981
107655
  */
105982
107656
  list(opts?: PaginationOptions): Promise<CustomerAppListResponse>;
107657
+ /** List all customer applications. @example `const apps = await mgmt.customerApps.listAll();` */
107658
+ listAll(opts?: CustomerAppListAllOptions): Promise<CustomerApp[]>;
105983
107659
  /**
105984
107660
  * Update a customer app.
105985
107661
  * @param customerAppId - UUID of the customer app to update.
@@ -106207,8 +107883,8 @@ interface DashboardClientOptions {
106207
107883
  */
106208
107884
  interface DashboardAppQuery {
106209
107885
  /**
106210
- * Customer application UUID. Source it from
106211
- * {@link import('./customer-apps.js').CustomerAppsClient.list}'s `customer_appId` field.
107886
+ * Customer application UUID. Source it from `CustomerAppsClient.list()`'s
107887
+ * `customer_appId` field.
106212
107888
  */
106213
107889
  appId: string;
106214
107890
  /**
@@ -106401,6 +108077,8 @@ interface DataFilteringProfileListParams {
106401
108077
  /** Partial-match filter on profile name. */
106402
108078
  name?: string;
106403
108079
  }
108080
+ interface DataFilteringProfileListAllParams extends Omit<DataFilteringProfileListParams, 'page'>, CollectAllOptions {
108081
+ }
106404
108082
  /** @internal */
106405
108083
  interface DataFilteringProfilesClientOptions {
106406
108084
  baseUrl: string;
@@ -106434,6 +108112,8 @@ declare class DataFilteringProfilesClient {
106434
108112
  * ```
106435
108113
  */
106436
108114
  list(params?: DataFilteringProfileListParams): Promise<PageDataFilteringProfileResponse>;
108115
+ /** List all filtering profiles. @example `const profiles = await mgmt.dlp.dataFilteringProfiles.listAll();` */
108116
+ listAll(params?: DataFilteringProfileListAllParams): Promise<PageDataFilteringProfileResponse['content']>;
106437
108117
  /**
106438
108118
  * Get a single data filtering profile by resource ID.
106439
108119
  * @example
@@ -106479,6 +108159,8 @@ interface DataPatternListParams {
106479
108159
  */
106480
108160
  sort?: string[];
106481
108161
  }
108162
+ interface DataPatternListAllParams extends Omit<DataPatternListParams, 'page'>, CollectAllOptions {
108163
+ }
106482
108164
  /** @internal */
106483
108165
  interface DataPatternsClientOptions {
106484
108166
  baseUrl: string;
@@ -106513,6 +108195,8 @@ declare class DataPatternsClient {
106513
108195
  * ```
106514
108196
  */
106515
108197
  list(params?: DataPatternListParams): Promise<PageDataPatternResponse>;
108198
+ /** List all data patterns. @example `const patterns = await mgmt.dlp.dataPatterns.listAll();` */
108199
+ listAll(params?: DataPatternListAllParams): Promise<PageDataPatternResponse['content']>;
106516
108200
  /**
106517
108201
  * Create a new custom data pattern.
106518
108202
  * @example
@@ -106609,6 +108293,8 @@ interface DataProfileListParams {
106609
108293
  */
106610
108294
  sort?: string[];
106611
108295
  }
108296
+ interface DataProfileListAllParams extends Omit<DataProfileListParams, 'page'>, CollectAllOptions {
108297
+ }
106612
108298
  /** @internal */
106613
108299
  interface DataProfilesClientOptions {
106614
108300
  baseUrl: string;
@@ -106644,6 +108330,8 @@ declare class DataProfilesClient {
106644
108330
  * ```
106645
108331
  */
106646
108332
  list(params?: DataProfileListParams): Promise<PageDataProfileResponse>;
108333
+ /** List all data profiles. @example `const profiles = await mgmt.dlp.dataProfiles.listAll();` */
108334
+ listAll(params?: DataProfileListAllParams): Promise<PageDataProfileResponse['content']>;
106647
108335
  /**
106648
108336
  * Create a new data profile.
106649
108337
  * @example
@@ -106737,6 +108425,8 @@ interface DictionaryListParams {
106737
108425
  /** When true, the API includes the `keywords` array in each response entry. */
106738
108426
  keywords?: boolean;
106739
108427
  }
108428
+ interface DictionaryListAllParams extends Omit<DictionaryListParams, 'page'>, CollectAllOptions {
108429
+ }
106740
108430
  /** Parameters accepted by {@link DictionariesClient.get}. */
106741
108431
  interface DictionaryGetParams {
106742
108432
  /** When true, request that the response include the dictionary's keyword list. */
@@ -106784,6 +108474,8 @@ declare class DictionariesClient {
106784
108474
  * ```
106785
108475
  */
106786
108476
  list(params?: DictionaryListParams): Promise<PageDictionaryResponse>;
108477
+ /** List all dictionaries. @example `const dictionaries = await mgmt.dlp.dictionaries.listAll();` */
108478
+ listAll(params?: DictionaryListAllParams): Promise<PageDictionaryResponse['content']>;
106787
108479
  /**
106788
108480
  * Create a dictionary by uploading a keyword file. Sends a multipart body — the SDK does
106789
108481
  * not set Content-Type so the runtime can write the correct boundary.
@@ -107105,20 +108797,6 @@ declare class OAuthClient {
107105
108797
  private fetchToken;
107106
108798
  }
107107
108799
 
107108
- /**
107109
- * Pagination + search options shared by every list endpoint across the OAuth domains.
107110
- * Sub-clients extend this with endpoint-specific filter fields and merge their additions
107111
- * into the params record returned by the internal `serializeListing` helper.
107112
- */
107113
- interface ListingOptions {
107114
- /** Number of records to skip from the start. */
107115
- skip?: number;
107116
- /** Max records to return. */
107117
- limit?: number;
107118
- /** Free-text search filter. */
107119
- search?: string;
107120
- }
107121
-
107122
108800
  /** Pagination + filter options for model security scan listing. */
107123
108801
  interface ModelSecurityScanListOptions extends ListingOptions {
107124
108802
  /** Sort field: 'created_at' or 'updated_at'. */
@@ -107140,6 +108818,8 @@ interface ModelSecurityScanListOptions extends ListingOptions {
107140
108818
  /** Labels query filter (max 4096 chars). */
107141
108819
  labels_query?: string;
107142
108820
  }
108821
+ interface ModelSecurityScanListAllOptions extends Omit<ModelSecurityScanListOptions, 'skip'>, CollectAllOptions {
108822
+ }
107143
108823
  /** Options for listing rule evaluations within a scan. */
107144
108824
  interface ModelSecurityEvaluationListOptions extends ListingOptions {
107145
108825
  /** Sort field: 'created_at' or 'updated_at'. */
@@ -107214,6 +108894,8 @@ declare class ModelSecurityScansClient {
107214
108894
  * ```
107215
108895
  */
107216
108896
  list(opts?: ModelSecurityScanListOptions): Promise<ScanList>;
108897
+ /** List every model-security scan page. @example `const scans = await ms.scans.listAll();` */
108898
+ listAll(opts?: ModelSecurityScanListAllOptions): Promise<ScanList['scans']>;
107217
108899
  /**
107218
108900
  * Get a single scan by UUID.
107219
108901
  * @param uuid - Scan UUID.
@@ -107406,6 +109088,8 @@ interface ModelSecurityGroupListOptions extends ListingOptions {
107406
109088
  /** Filter by rule UUIDs with ALLOWING or BLOCKING state. */
107407
109089
  enabled_rules?: string[];
107408
109090
  }
109091
+ interface ModelSecurityGroupListAllOptions extends Omit<ModelSecurityGroupListOptions, 'skip'>, CollectAllOptions {
109092
+ }
107409
109093
  /** Options for listing rule instances within a security group. */
107410
109094
  interface ModelSecurityRuleInstanceListOptions extends ListingOptions {
107411
109095
  /** Filter by security rule UUID. */
@@ -107464,6 +109148,8 @@ declare class ModelSecurityGroupsClient {
107464
109148
  * ```
107465
109149
  */
107466
109150
  list(opts?: ModelSecurityGroupListOptions): Promise<ListModelSecurityGroupsResponse>;
109151
+ /** List every security-group page. @example `const groups = await ms.securityGroups.listAll();` */
109152
+ listAll(opts?: ModelSecurityGroupListAllOptions): Promise<ListModelSecurityGroupsResponse['security_groups']>;
107467
109153
  /**
107468
109154
  * Get a single security group by UUID.
107469
109155
  * @param uuid - Security group UUID.
@@ -107580,6 +109266,8 @@ interface ModelSecurityRuleListOptions extends ListingOptions {
107580
109266
  /** Search term (matches UUID or Name, 3-1000 chars). */
107581
109267
  search_query?: string;
107582
109268
  }
109269
+ interface ModelSecurityRuleListAllOptions extends Omit<ModelSecurityRuleListOptions, 'skip'>, CollectAllOptions {
109270
+ }
107583
109271
  /** @internal */
107584
109272
  interface ModelSecurityRulesClientOptions {
107585
109273
  baseUrl: string;
@@ -107611,6 +109299,8 @@ declare class ModelSecurityRulesClient {
107611
109299
  * ```
107612
109300
  */
107613
109301
  list(opts?: ModelSecurityRuleListOptions): Promise<ListModelSecurityRulesResponse>;
109302
+ /** List every security-rule page. @example `const rules = await ms.securityRules.listAll();` */
109303
+ listAll(opts?: ModelSecurityRuleListAllOptions): Promise<ListModelSecurityRulesResponse['rules']>;
107614
109304
  /**
107615
109305
  * Get a single security rule by UUID.
107616
109306
  * @param uuid - Security rule UUID.
@@ -107656,6 +109346,12 @@ interface ModelSecurityModelVersionListOptions extends ListingOptions {
107656
109346
  }
107657
109347
  /** Pagination options for listing a model version's files. */
107658
109348
  type ModelSecurityModelVersionFileListOptions = ListingOptions;
109349
+ interface ModelSecurityModelListAllOptions extends Omit<ModelSecurityModelListOptions, 'skip'>, CollectAllOptions {
109350
+ }
109351
+ interface ModelSecurityModelVersionListAllOptions extends Omit<ModelSecurityModelVersionListOptions, 'skip'>, CollectAllOptions {
109352
+ }
109353
+ interface ModelSecurityModelVersionFileListAllOptions extends Omit<ModelSecurityModelVersionFileListOptions, 'skip'>, CollectAllOptions {
109354
+ }
107659
109355
  /** @internal */
107660
109356
  interface ModelSecurityModelsClientOptions {
107661
109357
  baseUrl: string;
@@ -107683,6 +109379,8 @@ declare class ModelSecurityModelsClient {
107683
109379
  * ```
107684
109380
  */
107685
109381
  listModels(opts?: ModelSecurityModelListOptions): Promise<ModelList>;
109382
+ /** List every model page. @example `const models = await ms.models.listAllModels();` */
109383
+ listAllModels(opts?: ModelSecurityModelListAllOptions): Promise<ModelList['models']>;
107686
109384
  /**
107687
109385
  * Get a single model by UUID.
107688
109386
  * @param uuid - Model UUID.
@@ -107716,6 +109414,8 @@ declare class ModelSecurityModelsClient {
107716
109414
  * ```
107717
109415
  */
107718
109416
  listModelVersions(modelUuid: string, opts?: ModelSecurityModelVersionListOptions): Promise<ModelVersionList>;
109417
+ /** List every version of a model. @example `const versions = await ms.models.listAllModelVersions(modelUuid);` */
109418
+ listAllModelVersions(modelUuid: string, opts?: ModelSecurityModelVersionListAllOptions): Promise<ModelVersionList['model_versions']>;
107719
109419
  /**
107720
109420
  * Get a single model version by UUID.
107721
109421
  * @param uuid - Model version UUID.
@@ -107749,6 +109449,8 @@ declare class ModelSecurityModelsClient {
107749
109449
  * ```
107750
109450
  */
107751
109451
  listModelVersionFiles(modelVersionUuid: string, opts?: ModelSecurityModelVersionFileListOptions): Promise<FileList>;
109452
+ /** List every file in a model version. @example `const files = await ms.models.listAllModelVersionFiles(versionUuid);` */
109453
+ listAllModelVersionFiles(modelVersionUuid: string, opts?: ModelSecurityModelVersionFileListAllOptions): Promise<FileList['files']>;
107752
109454
  }
107753
109455
 
107754
109456
  /** Options for constructing a {@link ModelSecurityClient}. */
@@ -107820,6 +109522,8 @@ interface RedTeamScanListOptions extends RedTeamListOptions {
107820
109522
  job_type?: string;
107821
109523
  target_id?: string;
107822
109524
  }
109525
+ interface RedTeamScanListAllOptions extends Omit<RedTeamScanListOptions, 'skip'>, CollectAllOptions {
109526
+ }
107823
109527
  /** @internal */
107824
109528
  interface RedTeamScansClientOptions {
107825
109529
  baseUrl: string;
@@ -107867,6 +109571,8 @@ declare class RedTeamScansClient {
107867
109571
  * ```
107868
109572
  */
107869
109573
  list(opts?: RedTeamScanListOptions): Promise<JobListResponse>;
109574
+ /** List every scan page. @example `const scans = await rt.scans.listAll({ status: 'COMPLETED' });` */
109575
+ listAll(opts?: RedTeamScanListAllOptions): Promise<JobListResponse['data']>;
107870
109576
  /**
107871
109577
  * Get a single scan job by ID.
107872
109578
  * @param jobId - The job UUID.
@@ -108321,6 +110027,9 @@ interface TargetListOptions extends RedTeamListOptions {
108321
110027
  target_type?: string;
108322
110028
  status?: string;
108323
110029
  }
110030
+ /** Options for walking every target page. */
110031
+ interface TargetListAllOptions extends Omit<TargetListOptions, 'skip'>, CollectAllOptions {
110032
+ }
108324
110033
  /** Options for target create/update operations. */
108325
110034
  interface TargetOperationOptions {
108326
110035
  /** Validate the target connection before saving. */
@@ -108379,6 +110088,14 @@ declare class RedTeamTargetsClient {
108379
110088
  * ```
108380
110089
  */
108381
110090
  list(opts?: TargetListOptions): Promise<TargetList>;
110091
+ /**
110092
+ * List targets across every page while preserving the supplied filters.
110093
+ * @example
110094
+ * ```ts
110095
+ * const targets = await rt.targets.listAll({ limit: 100, status: 'READY' });
110096
+ * ```
110097
+ */
110098
+ listAll(opts?: TargetListAllOptions): Promise<TargetListItem[]>;
108382
110099
  /**
108383
110100
  * Get a target by UUID.
108384
110101
  * @param uuid - The target UUID.
@@ -108542,6 +110259,10 @@ interface PromptListOptions extends RedTeamListOptions {
108542
110259
  status?: string;
108543
110260
  active?: boolean;
108544
110261
  }
110262
+ interface PromptSetListAllOptions extends Omit<PromptSetListOptions, 'skip'>, CollectAllOptions {
110263
+ }
110264
+ interface PromptListAllOptions extends Omit<PromptListOptions, 'skip'>, CollectAllOptions {
110265
+ }
108545
110266
  /** @internal */
108546
110267
  interface RedTeamCustomAttacksClientOptions {
108547
110268
  baseUrl: string;
@@ -108587,6 +110308,8 @@ declare class RedTeamCustomAttacksClient {
108587
110308
  * ```
108588
110309
  */
108589
110310
  listPromptSets(opts?: PromptSetListOptions): Promise<CustomPromptSetList>;
110311
+ /** List every custom prompt-set page. @example `const sets = await rt.customAttacks.listAllPromptSets();` */
110312
+ listAllPromptSets(opts?: PromptSetListAllOptions): Promise<NonNullable<CustomPromptSetList['data']>>;
108590
110313
  /**
108591
110314
  * Get a prompt set by UUID.
108592
110315
  * @param uuid - The prompt set UUID.
@@ -108760,6 +110483,8 @@ declare class RedTeamCustomAttacksClient {
108760
110483
  * ```
108761
110484
  */
108762
110485
  listPrompts(promptSetUuid: string, opts?: PromptListOptions): Promise<CustomPromptList>;
110486
+ /** List every prompt page for a set. @example `const prompts = await rt.customAttacks.listAllPrompts(promptSetUuid);` */
110487
+ listAllPrompts(promptSetUuid: string, opts?: PromptListAllOptions): Promise<NonNullable<CustomPromptList['data']>>;
108763
110488
  /**
108764
110489
  * Get a prompt by UUID.
108765
110490
  * @param promptSetUuid - The prompt set UUID.
@@ -109213,6 +110938,151 @@ declare class RedTeamNetworkBrokerClient {
109213
110938
  updateChannel(channelId: string, body: UpdateChannelRequest): Promise<Channel>;
109214
110939
  }
109215
110940
 
110941
+ interface AdapterListAllOptions extends Omit<RedTeamListOptions, 'skip'>, CollectAllOptions {
110942
+ }
110943
+ /** Options for adapter create/update operations. */
110944
+ interface AdapterOperationOptions {
110945
+ /**
110946
+ * Run the adapter script end-to-end against its configured target during save.
110947
+ * When true the adapter is saved as ACTIVE on success, DRAFT on failure.
110948
+ * When false (or omitted) the adapter is saved as DRAFT without validation.
110949
+ * Note: requires the network channel client (v1.4.0+) to be running and ONLINE.
110950
+ */
110951
+ validate?: boolean;
110952
+ }
110953
+ /** @internal */
110954
+ interface RedTeamAdaptersClientOptions {
110955
+ baseUrl: string;
110956
+ auth: AuthAdapter;
110957
+ numRetries: number;
110958
+ }
110959
+ /**
110960
+ * Client for Red Team custom target adapter operations (management plane).
110961
+ *
110962
+ * Custom target adapters are Python scripts that run inside an adapter sidecar
110963
+ * alongside the network broker client pod. They give full control over how
110964
+ * attack prompts are delivered to targets that use non-standard protocols,
110965
+ * dynamic auth, or multi-turn session handling.
110966
+ *
110967
+ * @example
110968
+ * ```ts
110969
+ * import { RedTeamClient } from '@cdot65/prisma-airs-sdk';
110970
+ * const rt = new RedTeamClient();
110971
+ *
110972
+ * const adapter = await rt.adapters.create({
110973
+ * name: 'my-keycloak-agent',
110974
+ * script_b64: Buffer.from(pythonScript).toString('base64'),
110975
+ * network_broker_channel_uuid: '550e8400-e29b-41d4-a716-446655440000',
110976
+ * variables: [
110977
+ * { key: 'endpoint', value: 'http://agent.svc:8080/v1/chat/completions', type: 'VAR' },
110978
+ * { key: 'client_secret', value: 'changeme', type: 'SECRET' },
110979
+ * ],
110980
+ * prompt: 'What is the capital of France?',
110981
+ * });
110982
+ * // adapter.status => 'ACTIVE' (when validate=true, default)
110983
+ * ```
110984
+ */
110985
+ declare class RedTeamAdaptersClient {
110986
+ private readonly baseUrl;
110987
+ private readonly auth;
110988
+ private readonly numRetries;
110989
+ constructor(opts: RedTeamAdaptersClientOptions);
110990
+ /**
110991
+ * Create a new custom target adapter.
110992
+ * @param body - Adapter creation request (name, base64 script, variables, validation prompt).
110993
+ * @param opts - Set validate: false to save as DRAFT without running the script.
110994
+ * @returns The created adapter.
110995
+ * @example
110996
+ * ```ts
110997
+ * const adapter = await rt.adapters.create({
110998
+ * name: 'my-adapter',
110999
+ * script_b64: Buffer.from(script).toString('base64'),
111000
+ * network_broker_channel_uuid: '550e8400-...',
111001
+ * variables: [{ key: 'endpoint', value: 'http://...', type: 'VAR' }],
111002
+ * prompt: 'Hello',
111003
+ * }, { validate: true });
111004
+ * ```
111005
+ */
111006
+ create(body: AdapterCreateRequest, opts?: AdapterOperationOptions): Promise<AdapterResponse>;
111007
+ /**
111008
+ * List adapters with optional pagination.
111009
+ * @param opts - Optional limit/skip/search.
111010
+ * @returns Paginated list of adapters.
111011
+ * @example
111012
+ * ```ts
111013
+ * const { data } = await rt.adapters.list({ limit: 20 });
111014
+ * // data => [{ uuid: '...', name: 'my-adapter', status: 'ACTIVE' }]
111015
+ * ```
111016
+ */
111017
+ list(opts?: RedTeamListOptions): Promise<AdapterList>;
111018
+ /** List every adapter page. @example `const adapters = await rt.adapters.listAll();` */
111019
+ listAll(opts?: AdapterListAllOptions): Promise<NonNullable<AdapterList['data']>>;
111020
+ /**
111021
+ * Get a single adapter by UUID.
111022
+ * @param uuid - Adapter UUID.
111023
+ * @returns The adapter detail.
111024
+ * @example
111025
+ * ```ts
111026
+ * const adapter = await rt.adapters.get('550e8400-e29b-41d4-a716-446655440000');
111027
+ * // adapter.status => 'ACTIVE'
111028
+ * ```
111029
+ */
111030
+ get(uuid: string): Promise<AdapterResponse>;
111031
+ /**
111032
+ * Update an adapter. **Full replacement (PUT), not a patch** — `name`, `script_b64`, and
111033
+ * `prompt` are required just as on create. For `variables`, the list defines the complete
111034
+ * desired key set: a provided value sets it, `null` keeps the stored value (unchanged
111035
+ * secrets), and omitting a key **deletes** that variable.
111036
+ * @param uuid - Adapter UUID.
111037
+ * @param body - The complete adapter definition.
111038
+ * @param opts - Set validate: false to save as DRAFT without re-running the script.
111039
+ * @returns The updated adapter.
111040
+ * @example
111041
+ * ```ts
111042
+ * const updated = await rt.adapters.update('550e8400-...', {
111043
+ * name: 'my-keycloak-agent',
111044
+ * script_b64: Buffer.from(newScript).toString('base64'),
111045
+ * prompt: 'What is the capital of France?',
111046
+ * variables: [
111047
+ * { key: 'endpoint', value: 'http://agent.svc:8080', type: 'VAR' },
111048
+ * { key: 'client_secret', value: null, type: 'SECRET' }, // null keeps stored secret
111049
+ * ],
111050
+ * });
111051
+ * ```
111052
+ */
111053
+ update(uuid: string, body: AdapterUpdateRequest, opts?: AdapterOperationOptions): Promise<AdapterResponse>;
111054
+ /**
111055
+ * Delete an adapter.
111056
+ * @param uuid - Adapter UUID.
111057
+ * @example
111058
+ * ```ts
111059
+ * await rt.adapters.delete('550e8400-e29b-41d4-a716-446655440000');
111060
+ * ```
111061
+ */
111062
+ delete(uuid: string): Promise<BaseResponse | undefined>;
111063
+ /**
111064
+ * Validate an adapter script without saving anything. Runs the script end-to-end through the
111065
+ * network broker channel using the sample prompt, and returns the execution outcome —
111066
+ * `validated` plus the script's `stdout` / `stderr` / `traceback` — not an adapter record.
111067
+ *
111068
+ * This endpoint has its own request shape: no `name`, `network_broker_channel_uuid` is
111069
+ * required, and `adapter_uuid` may reference an existing adapter so `null` variable values
111070
+ * are resolved from its stored secrets before the run.
111071
+ * @param body - Script, channel, prompt, and optionally variables / an existing adapter UUID.
111072
+ * @returns The validation outcome.
111073
+ * @example
111074
+ * ```ts
111075
+ * const result = await rt.adapters.validate({
111076
+ * script_b64: Buffer.from(script).toString('base64'),
111077
+ * network_broker_channel_uuid: '550e8400-...',
111078
+ * prompt: 'Hello',
111079
+ * });
111080
+ * if (!result.validated) console.error(result.stderr ?? result.traceback);
111081
+ * ```
111082
+ */
111083
+ validate(body: AdapterValidateRequest): Promise<AdapterValidateResponse>;
111084
+ }
111085
+
109216
111086
  /** Options for constructing a {@link RedTeamClient}. */
109217
111087
  interface RedTeamClientOptions {
109218
111088
  /** OAuth2 client ID. Falls back to `PANW_RED_TEAM_CLIENT_ID`, then `PANW_MGMT_CLIENT_ID`. */
@@ -109263,6 +111133,8 @@ declare class RedTeamClient {
109263
111133
  readonly instances: RedTeamInstancesClient;
109264
111134
  /** Network broker channel operations (distinct network broker base URL). */
109265
111135
  readonly networkBroker: RedTeamNetworkBrokerClient;
111136
+ /** Management plane custom target adapter operations. */
111137
+ readonly adapters: RedTeamAdaptersClient;
109266
111138
  private readonly dataEndpoint;
109267
111139
  private readonly mgmtEndpoint;
109268
111140
  private readonly auth;
@@ -109779,6 +111651,47 @@ interface AIGatewaySubClientOptions {
109779
111651
  auth: AuthAdapter;
109780
111652
  numRetries: number;
109781
111653
  }
111654
+ /**
111655
+ * @internal
111656
+ * Construction options for `AIGatewayWorkspacesClient`, the one resource that spans both planes:
111657
+ * reads work on either, writes are admin-only.
111658
+ *
111659
+ * Declared standalone rather than extending {@link AIGatewaySubClientOptions}, matching the
111660
+ * precedent set by `AIGatewayTelemetryClientOptions` — sub-client option types in this subsystem
111661
+ * stay separate even when near-identical.
111662
+ */
111663
+ interface AIGatewayWorkspacesClientOptions {
111664
+ /** Data-plane base URL (`/ai_gw/v2`). Default for reads. */
111665
+ baseUrl: string;
111666
+ /** Admin-plane base URL (`/ai_gw/admin/v2`). Required for writes and tenant-wide reads. */
111667
+ adminBaseUrl: string;
111668
+ auth: AuthAdapter;
111669
+ numRetries: number;
111670
+ }
111671
+ /**
111672
+ * Which plane to route a workspace read through.
111673
+ *
111674
+ * - `data` (default) — `/ai_gw/v2`, returns only workspaces the caller holds a workspace-scope
111675
+ * grant on. A workspace outside that scope answers `403 AB03`, not `404`.
111676
+ * - `admin` — `/ai_gw/admin/v2`, returns every workspace in the tenant. Needs a tenant-root
111677
+ * admin role.
111678
+ */
111679
+ type AIGatewayPlane = 'data' | 'admin';
111680
+ /** Options for `AIGatewayWorkspacesClient.list`. */
111681
+ interface AIGatewayWorkspaceListOptions {
111682
+ /**
111683
+ * Filter by lifecycle state. **Omitting this returns active workspaces only** — archived
111684
+ * workspaces are invisible unless asked for explicitly. Lowercase on the wire.
111685
+ */
111686
+ status?: 'active' | 'archived';
111687
+ /** Defaults to `data`. Use `admin` to enumerate the whole tenant. */
111688
+ plane?: AIGatewayPlane;
111689
+ }
111690
+ /** Options for `AIGatewayWorkspacesClient.get`. */
111691
+ interface AIGatewayWorkspaceGetOptions {
111692
+ /** Defaults to `data`. Use `admin` to read a workspace outside your workspace scope. */
111693
+ plane?: AIGatewayPlane;
111694
+ }
109782
111695
  /**
109783
111696
  * Options for listing workspace-scoped resources. Shared by every sub-client whose `list`
109784
111697
  * (or list-alike) endpoint takes only a workspace UUID — guardrails, providers, api-keys,
@@ -109789,28 +111702,96 @@ interface AIGatewayWorkspaceScopedListOptions {
109789
111702
  workspaceId: string;
109790
111703
  }
109791
111704
 
109792
- /** Client for AI Gateway workspace reads (data plane). */
111705
+ /** Request body for {@link AIGatewayWorkspacesClient.create}. */
111706
+ interface GatewayWorkspaceCreateRequest {
111707
+ /** Display name. Required. */
111708
+ name: string;
111709
+ /**
111710
+ * SCM role scope granting data-plane access to the new workspace, e.g. `ws_production_bx7qw0`.
111711
+ * Required, and **specific to Prisma AIRS** — upstream Portkey has no such field.
111712
+ *
111713
+ * It is not derived from `name`. A workspace created with a scope nobody holds is invisible to
111714
+ * `list()` on the data plane, though it still appears via `list({ plane: 'admin' })`.
111715
+ */
111716
+ scope_name: string;
111717
+ description?: string;
111718
+ icon?: string;
111719
+ /** Workspace defaults; `metadata` is a flat string map applied to every request. */
111720
+ defaults?: Record<string, unknown>;
111721
+ /** User ids to seed the workspace with. */
111722
+ users?: string[];
111723
+ /** Usage-limit policies. An **array**, not a single object. */
111724
+ usage_limits?: Array<Record<string, unknown>>;
111725
+ /** Rate-limit policies. An **array**, not a single object. */
111726
+ rate_limits?: Array<Record<string, unknown>>;
111727
+ }
111728
+ /**
111729
+ * Request body for {@link AIGatewayWorkspacesClient.update}. Partial — send only what changes.
111730
+ *
111731
+ * The API enumerates the fields it accepts in its own rejection message: `name`, `description`,
111732
+ * `icon`, `defaults`, `rate_limits`. `usage_limits` is accepted by upstream Portkey but missing
111733
+ * from that message, so it is offered here and may be ignored server-side.
111734
+ */
111735
+ interface GatewayWorkspaceUpdateRequest {
111736
+ name?: string;
111737
+ description?: string;
111738
+ icon?: string;
111739
+ defaults?: Record<string, unknown>;
111740
+ usage_limits?: Array<Record<string, unknown>>;
111741
+ rate_limits?: Array<Record<string, unknown>>;
111742
+ }
111743
+ /**
111744
+ * Client for AI Gateway workspaces.
111745
+ *
111746
+ * The only sub-client spanning **both planes**: reads default to the data plane but can be routed
111747
+ * to the admin plane, and every write is admin-only. Each of the other eleven sub-clients is wired
111748
+ * to exactly one plane.
111749
+ */
109793
111750
  declare class AIGatewayWorkspacesClient {
109794
111751
  private readonly baseUrl;
111752
+ private readonly adminBaseUrl;
109795
111753
  private readonly auth;
109796
111754
  private readonly numRetries;
109797
- constructor(opts: AIGatewaySubClientOptions);
111755
+ constructor(opts: AIGatewayWorkspacesClientOptions);
111756
+ private urlFor;
109798
111757
  /**
109799
- * List workspaces visible to the caller.
109800
- * @returns All workspaces, each with the `scope_name` that grants data-plane access to it.
111758
+ * List workspaces.
111759
+ *
111760
+ * Two defaults worth knowing, because each one hides rows:
111761
+ *
111762
+ * 1. **Active only.** Without `status`, archived workspaces are omitted. Pass
111763
+ * `{ status: 'archived' }` to see them — that is where {@link AIGatewayWorkspacesClient.delete}
111764
+ * leaves a workspace.
111765
+ * 2. **Your scope only.** The data plane returns just the workspaces your service account holds a
111766
+ * workspace-scope grant on. Pass `{ plane: 'admin' }` to enumerate the whole tenant.
111767
+ *
111768
+ * @param options - Optional status filter and plane selection.
111769
+ * @returns Workspaces, each with the `scope_name` that grants data-plane access to it.
109801
111770
  * @example
109802
111771
  * ```ts
109803
111772
  * import { AIGatewayClient } from '@cdot65/prisma-airs-sdk';
109804
111773
  * const gw = new AIGatewayClient();
109805
111774
  *
109806
- * const ws = await gw.workspaces.list();
109807
- * // ws.data[0] => { slug: 'ws-main-a-349e0e', scope_name: 'main_airs_workspace_1852583913', ... }
111775
+ * const mine = await gw.workspaces.list();
111776
+ * // mine.data[0] => { slug: 'ws-main-a-349e0e', scope_name: 'main_airs_workspace_1852583913', ... }
111777
+ *
111778
+ * const everything = await gw.workspaces.list({ plane: 'admin' });
111779
+ * const archived = await gw.workspaces.list({ plane: 'admin', status: 'archived' });
109808
111780
  * ```
109809
111781
  */
109810
- list(): Promise<ListWorkspacesResponse>;
111782
+ list(options?: AIGatewayWorkspaceListOptions): Promise<ListWorkspacesResponse>;
109811
111783
  /**
109812
111784
  * Fetch one workspace, including its security and rate-limit settings.
109813
- * @param workspaceId - Workspace UUID.
111785
+ *
111786
+ * @param workspaceRef - Workspace UUID **or** slug; the API accepts both.
111787
+ * @param options - Plane selection. A workspace outside your workspace scope answers `403 AB03`
111788
+ * on the data plane, not `404`; re-read it with `{ plane: 'admin' }`.
111789
+ *
111790
+ * **Archived workspaces are not retrievable here.** Once
111791
+ * {@link AIGatewayWorkspacesClient.delete} has archived a workspace, this returns `404 AB08`
111792
+ * for both its UUID and its slug, on either plane (verified live 2026-08-01) — even though the
111793
+ * row is still listed by `list({ status: 'archived' })`. Treat a 404 after a delete as expected,
111794
+ * and use the list filter to inspect archived workspaces.
109814
111795
  * @returns Workspace detail; list rows do not carry the settings blocks.
109815
111796
  * @example
109816
111797
  * ```ts
@@ -109819,9 +111800,81 @@ declare class AIGatewayWorkspacesClient {
109819
111800
  *
109820
111801
  * const ws = await gw.workspaces.get('16f7e90d-382a-4e78-b577-1b01eb5f8297');
109821
111802
  * // ws.security_settings?.membersViewLogs => true
111803
+ *
111804
+ * // Slugs work too, and the admin plane reaches workspaces you aren't scoped to:
111805
+ * const other = await gw.workspaces.get('ws-produc-985697', { plane: 'admin' });
111806
+ * ```
111807
+ */
111808
+ get(workspaceRef: string, options?: AIGatewayWorkspaceGetOptions): Promise<GatewayWorkspaceDetail>;
111809
+ /**
111810
+ * Create a workspace. **Admin plane** — needs a tenant-root admin role.
111811
+ *
111812
+ * @param body - `name` and `scope_name` are both required; the API rejects a body missing either.
111813
+ * @returns The created workspace. Unlike `configs`/`guardrails`/`providers`/`deployments`,
111814
+ * which return short receipts, this returns most of the record — but not `status`,
111815
+ * `is_default`, `icon`, `usage_limits`, `rate_limits`, or the settings blocks. Call
111816
+ * {@link AIGatewayWorkspacesClient.get} when you need those.
111817
+ * @example
111818
+ * ```ts
111819
+ * import { AIGatewayClient } from '@cdot65/prisma-airs-sdk';
111820
+ * const gw = new AIGatewayClient();
111821
+ *
111822
+ * const created = await gw.workspaces.create({
111823
+ * name: 'Production',
111824
+ * scope_name: 'ws_production_bx7qw0', // the SCM scope, not derived from name
111825
+ * description: 'All production applications',
111826
+ * defaults: { metadata: { env: 'production' } },
111827
+ * rate_limits: [{ type: 'requests', unit: 'rpm', value: 100 }],
111828
+ * });
111829
+ * ```
111830
+ */
111831
+ create(body: GatewayWorkspaceCreateRequest): Promise<GatewayWorkspaceCreateResponse>;
111832
+ /**
111833
+ * Update a workspace. **Admin plane.** Partial patch — send only the fields that change.
111834
+ *
111835
+ * @param workspaceRef - Workspace UUID or slug.
111836
+ * @param body - At least one field. An empty patch is rejected locally, mirroring the API's own
111837
+ * "No update fields provided" rejection, so a typo'd caller fails without a round trip.
111838
+ * @returns An **empty object** — the API acknowledges the write without echoing the record
111839
+ * (verified live 2026-08-01). The change does persist; re-read with
111840
+ * {@link AIGatewayWorkspacesClient.get} to see it.
111841
+ * @example
111842
+ * ```ts
111843
+ * import { AIGatewayClient } from '@cdot65/prisma-airs-sdk';
111844
+ * const gw = new AIGatewayClient();
111845
+ *
111846
+ * await gw.workspaces.update('ws-produc-985697', {
111847
+ * description: 'Production workloads, us-east',
111848
+ * });
111849
+ * ```
111850
+ */
111851
+ update(workspaceRef: string, body: GatewayWorkspaceUpdateRequest): Promise<GatewayWriteResponse>;
111852
+ /**
111853
+ * Delete a workspace. **Admin plane.**
111854
+ *
111855
+ * This is a **soft delete**: the workspace is archived, not destroyed. It vanishes from a default
111856
+ * {@link AIGatewayWorkspacesClient.list} but stays visible via `list({ status: 'archived' })`.
111857
+ * Note that `list` is the *only* way to see it afterwards —
111858
+ * {@link AIGatewayWorkspacesClient.get} answers `404 AB08` for an archived workspace.
111859
+ * Same semantics as `deployments.delete()`, and the opposite of `configs`/`guardrails`/`providers`,
111860
+ * which hard delete. There is no hard delete for workspaces.
111861
+ *
111862
+ * Takes no query parameters — unlike `integrations.delete()` and `deployments.delete()`, which
111863
+ * both require `organisation_id`.
111864
+ *
111865
+ * @param workspaceRef - Workspace UUID or slug.
111866
+ * @example
111867
+ * ```ts
111868
+ * import { AIGatewayClient } from '@cdot65/prisma-airs-sdk';
111869
+ * const gw = new AIGatewayClient();
111870
+ *
111871
+ * await gw.workspaces.delete('ws-produc-985697');
111872
+ *
111873
+ * // Still there, archived:
111874
+ * const gone = await gw.workspaces.list({ plane: 'admin', status: 'archived' });
109822
111875
  * ```
109823
111876
  */
109824
- get(workspaceId: string): Promise<GatewayWorkspaceDetail>;
111877
+ delete(workspaceRef: string): Promise<void>;
109825
111878
  }
109826
111879
 
109827
111880
  /** Request body for creating or updating a config. */
@@ -110872,4 +112925,4 @@ declare class AIGatewayClient {
110872
112925
  constructor(opts?: AIGatewayClientOptions);
110873
112926
  }
110874
112927
 
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 };
112928
+ 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 AdapterListAllOptions, 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 ApiKeyListAllOptions, 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 CollectAllOptions, 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 CustomerAppListAllOptions, 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 DataFilteringProfileListAllParams, 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 DataPatternListAllParams, 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 DataProfileListAllParams, 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 DictionaryListAllParams, 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 ModelSecurityGroupListAllOptions, type ModelSecurityGroupListOptions, type ModelSecurityGroupResponse, ModelSecurityGroupResponseSchema, ModelSecurityGroupState, type ModelSecurityGroupUpdateRequest, ModelSecurityGroupUpdateRequestSchema, ModelSecurityGroupsClient, type ModelSecurityGroupsClientOptions, type ModelSecurityLabelListOptions, type ModelSecurityModelListAllOptions, type ModelSecurityModelListOptions, type ModelSecurityModelVersionFileListAllOptions, type ModelSecurityModelVersionFileListOptions, type ModelSecurityModelVersionListAllOptions, type ModelSecurityModelVersionListOptions, ModelSecurityModelsClient, type ModelSecurityModelsClientOptions, type ModelSecurityPagination, ModelSecurityPaginationSchema, type ModelSecurityRuleInstanceListOptions, type ModelSecurityRuleInstanceResponse, ModelSecurityRuleInstanceResponseSchema, type ModelSecurityRuleInstanceUpdateRequest, ModelSecurityRuleInstanceUpdateRequestSchema, type ModelSecurityRuleListAllOptions, type ModelSecurityRuleListOptions, type ModelSecurityRuleResponse, ModelSecurityRuleResponseSchema, ModelSecurityRulesClient, type ModelSecurityRulesClientOptions, type ModelSecurityScanListAllOptions, 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 PaginationPage, type PatternDetection, PatternDetectionSchema, type Policy, type PolicyAppProtection, PolicyAppProtectionSchema, type PolicyLatency, PolicyLatencySchema, PolicySchema, PolicyType, type PrerequisiteModel, PrerequisiteModelSchema, type ProfileListAllOptions, ProfilesClient, type ProfilesClientOptions, ProfilingStatus, type PromptDetailResponse, PromptDetailResponseSchema, type PromptDetected, PromptDetectedSchema, type PromptDetectionDetails, PromptDetectionDetailsSchema, type PromptListAllOptions, type PromptListOptions, type PromptSetListAllOptions, 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 RedTeamScanListAllOptions, 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 TargetListAllOptions, 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 TopicListAllOptions, type TopicListOptions, 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 WalkAllOptions, type WebSocketConnectionParams, WebSocketConnectionParamsSchema, type WeightedRegex, WeightedRegexSchema, aiGwOrganisationsAuthSettingsPath, collectAll, collectSkipPages, collectSpringPages, globalConfiguration, init, jsonNullable, pageSchema, paginate, serializeListing };