@cdot65/prisma-airs-sdk 0.17.0 → 0.19.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.js CHANGED
@@ -1361,6 +1361,60 @@ var Content = class _Content {
1361
1361
  }
1362
1362
  };
1363
1363
 
1364
+ // src/listing.ts
1365
+ async function* paginate(fetchPage, initialCursor) {
1366
+ let cursor = initialCursor;
1367
+ const seen = /* @__PURE__ */ new Set();
1368
+ while (true) {
1369
+ if (seen.has(cursor)) throw new Error("Pagination returned a repeated cursor");
1370
+ seen.add(cursor);
1371
+ const page = await fetchPage(cursor);
1372
+ yield* page.items;
1373
+ if (page.next === void 0) return;
1374
+ cursor = page.next;
1375
+ }
1376
+ }
1377
+ async function collectAll(iterable, opts = {}) {
1378
+ const max = opts.max ?? 1e4;
1379
+ if (!Number.isSafeInteger(max) || max < 0)
1380
+ throw new RangeError("max must be a non-negative integer");
1381
+ const items = [];
1382
+ for await (const item of iterable) {
1383
+ if (max > 0 && items.length >= max) break;
1384
+ items.push(item);
1385
+ }
1386
+ return items;
1387
+ }
1388
+ function collectSkipPages(fetchPage, opts = {}) {
1389
+ const limit = opts.limit ?? 50;
1390
+ return collectAll(
1391
+ paginate(async (skip) => {
1392
+ const page = await fetchPage(skip, limit);
1393
+ const next = skip + page.items.length;
1394
+ const hasMore = page.items.length > 0 && (page.total == null ? page.items.length === limit : next < page.total);
1395
+ return { items: page.items, next: hasMore ? next : void 0 };
1396
+ }, 0),
1397
+ { max: opts.max }
1398
+ );
1399
+ }
1400
+ function collectSpringPages(fetchPage, opts = {}) {
1401
+ const size = opts.size ?? 50;
1402
+ return collectAll(
1403
+ paginate(async (page) => {
1404
+ const result = await fetchPage(page, size);
1405
+ return { items: result.items, next: result.last ? void 0 : page + 1 };
1406
+ }, 0),
1407
+ { max: opts.max }
1408
+ );
1409
+ }
1410
+ function serializeListing(opts) {
1411
+ const params = {};
1412
+ if (opts?.skip !== void 0) params.skip = String(opts.skip);
1413
+ if (opts?.limit !== void 0) params.limit = String(opts.limit);
1414
+ if (opts?.search !== void 0) params.search = opts.search;
1415
+ return params;
1416
+ }
1417
+
1364
1418
  // src/models/enums.ts
1365
1419
  var Verdict = {
1366
1420
  BENIGN: "benign",
@@ -4389,6 +4443,11 @@ var GatewayConfigDetailSchema = GatewayConfigSchema.extend({
4389
4443
  type: z35.string(),
4390
4444
  version_id: z35.string()
4391
4445
  }).passthrough();
4446
+ var GatewayConfigVersionSchema = GatewayConfigDetailSchema.extend({
4447
+ version_created_at: z35.string(),
4448
+ version_owner_id: z35.string()
4449
+ }).passthrough();
4450
+ var ListConfigVersionsResponseSchema = aiGatewayList(GatewayConfigVersionSchema);
4392
4451
  var GatewayConfigCreateResponseSchema = z35.object({
4393
4452
  id: z35.string(),
4394
4453
  version_id: z35.string(),
@@ -4426,8 +4485,8 @@ var GatewayGuardrailDetailSchema = GatewayGuardrailSchema.extend({
4426
4485
  async: z35.boolean(),
4427
4486
  sequential: z35.boolean(),
4428
4487
  /** Absent when the guardrail was created without a pass/fail feedback action. */
4429
- on_success: guardrailFeedbackActionSchema.optional(),
4430
- on_fail: guardrailFeedbackActionSchema.optional()
4488
+ on_success: guardrailFeedbackActionSchema.nullable().optional(),
4489
+ on_fail: guardrailFeedbackActionSchema.nullable().optional()
4431
4490
  }).passthrough(),
4432
4491
  version_id: z35.string()
4433
4492
  }).passthrough();
@@ -4444,6 +4503,27 @@ var GatewayProviderSchema = z35.object({
4444
4503
  object: z35.string().optional()
4445
4504
  }).passthrough();
4446
4505
  var ListProvidersResponseSchema = aiGatewayList(GatewayProviderSchema);
4506
+ var GatewayProviderDetailSchema = z35.object({
4507
+ id: z35.string(),
4508
+ ai_provider_name: z35.string(),
4509
+ model_config: z35.record(z35.unknown()),
4510
+ /** Potentially secret-bearing. Never log or persist this field. */
4511
+ key: z35.string(),
4512
+ masked_api_key: z35.string(),
4513
+ slug: z35.string(),
4514
+ name: z35.string(),
4515
+ usage_limits: z35.unknown().nullable(),
4516
+ status: z35.string(),
4517
+ note: z35.string().nullable(),
4518
+ created_at: z35.string(),
4519
+ expires_at: z35.string().nullable(),
4520
+ last_reset_at: z35.string().nullable(),
4521
+ rate_limits: z35.array(z35.unknown()),
4522
+ integration_id: z35.string(),
4523
+ tags: z35.unknown().nullable(),
4524
+ secret_mappings: z35.array(z35.unknown()).optional(),
4525
+ object: z35.string()
4526
+ }).passthrough();
4447
4527
  var GatewayProviderCreateResponseSchema = z35.object({
4448
4528
  id: z35.string(),
4449
4529
  slug: z35.string(),
@@ -4455,6 +4535,11 @@ var GatewayApiKeySchema = z35.object({
4455
4535
  object: z35.string().optional()
4456
4536
  }).passthrough();
4457
4537
  var ListApiKeysResponseSchema = aiGatewayList(GatewayApiKeySchema);
4538
+ var GatewayApiKeyRotateResponseSchema = z35.object({
4539
+ id: z35.string(),
4540
+ key: z35.string(),
4541
+ key_transition_expires_at: z35.string()
4542
+ }).passthrough();
4458
4543
  var GatewayIntegrationSchema = z35.object({
4459
4544
  id: z35.string(),
4460
4545
  organisation_id: z35.string().optional(),
@@ -4485,7 +4570,7 @@ var GatewayIntegrationWorkspaceSchema = z35.object({
4485
4570
  enabled: z35.boolean(),
4486
4571
  status: z35.string(),
4487
4572
  created_at: z35.string(),
4488
- last_updated_at: z35.string(),
4573
+ last_updated_at: z35.string().nullable(),
4489
4574
  last_reset_at: z35.string().nullable()
4490
4575
  }).passthrough();
4491
4576
  var GatewayGlobalWorkspaceAccessSchema = z35.object({
@@ -4518,6 +4603,70 @@ var McpIntegrationSchema = z35.object({
4518
4603
  last_updated_at: z35.string()
4519
4604
  }).passthrough();
4520
4605
  var ListMcpIntegrationsResponseSchema = aiGatewayList(McpIntegrationSchema);
4606
+ var McpIntegrationDetailSchema = z35.object({
4607
+ id: z35.string(),
4608
+ name: z35.string(),
4609
+ description: z35.string().nullable(),
4610
+ owner_id: z35.string(),
4611
+ status: z35.string(),
4612
+ created_at: z35.string(),
4613
+ last_updated_at: z35.string(),
4614
+ configurations: z35.record(z35.unknown()),
4615
+ global_workspace_access: z35.object({ enabled: z35.boolean() }).passthrough().nullable(),
4616
+ workspace_id: z35.string().nullable(),
4617
+ slug: z35.string(),
4618
+ url: z35.string(),
4619
+ auth_type: z35.string(),
4620
+ transport: z35.string(),
4621
+ type: z35.string(),
4622
+ secret_mappings: z35.array(z35.unknown()).nullable(),
4623
+ object: z35.string()
4624
+ }).passthrough();
4625
+ var McpCapabilityCountSchema = z35.object({ total: z35.number(), enabled: z35.number() }).passthrough();
4626
+ var McpIntegrationCapabilitySchema = z35.object({
4627
+ name: z35.string(),
4628
+ type: z35.string(),
4629
+ title: z35.string().nullable(),
4630
+ description: z35.string().nullable(),
4631
+ icons: z35.unknown().nullable(),
4632
+ enabled: z35.boolean(),
4633
+ created_at: z35.string(),
4634
+ last_updated_at: z35.string(),
4635
+ input_schema: z35.record(z35.unknown()).nullable(),
4636
+ output_schema: z35.record(z35.unknown()).nullable(),
4637
+ execution: z35.unknown().nullable(),
4638
+ annotations: z35.record(z35.unknown()).nullable(),
4639
+ object: z35.string()
4640
+ }).passthrough();
4641
+ var McpIntegrationCapabilitiesResponseSchema = z35.object({
4642
+ object: z35.string(),
4643
+ counts: z35.object({
4644
+ tools: McpCapabilityCountSchema.optional(),
4645
+ prompts: McpCapabilityCountSchema.optional(),
4646
+ resources: McpCapabilityCountSchema.optional(),
4647
+ resource_templates: McpCapabilityCountSchema.optional()
4648
+ }).passthrough(),
4649
+ total: z35.number(),
4650
+ has_more: z35.boolean(),
4651
+ data: z35.array(McpIntegrationCapabilitySchema)
4652
+ }).passthrough();
4653
+ var McpIntegrationCapabilitiesUpdateResponseSchema = z35.object({ success: z35.boolean() }).passthrough();
4654
+ var McpIntegrationWorkspacesUpdateResponseSchema = z35.object({}).strict();
4655
+ var McpIntegrationMetadataSchema = z35.object({
4656
+ server_name: z35.string(),
4657
+ server_version: z35.string(),
4658
+ title: z35.string().nullable(),
4659
+ description: z35.string().nullable(),
4660
+ website_url: z35.string().nullable(),
4661
+ icons: z35.unknown().nullable(),
4662
+ protocol_version: z35.string().nullable(),
4663
+ capability_flags: z35.record(z35.unknown()),
4664
+ instructions: z35.string().nullable(),
4665
+ sync_status: z35.string(),
4666
+ last_synced_at: z35.string().nullable(),
4667
+ sync_error: z35.string().nullable(),
4668
+ object: z35.string()
4669
+ }).passthrough();
4521
4670
  var GatewayDeploymentSchema = z35.object({
4522
4671
  id: z35.string(),
4523
4672
  name: z35.string(),
@@ -4553,6 +4702,18 @@ var GatewayDeploymentCreateResponseSchema = z35.object({
4553
4702
  organisation_id: z35.string(),
4554
4703
  object: z35.string()
4555
4704
  }).passthrough();
4705
+ var GatewayDeploymentPingResponseSchema = z35.object({
4706
+ status: z35.string(),
4707
+ gateway_base_url: z35.string(),
4708
+ outbound: z35.object({
4709
+ status: z35.string(),
4710
+ status_code: z35.number().optional(),
4711
+ version: z35.string().optional(),
4712
+ error: z35.string().optional()
4713
+ }).passthrough(),
4714
+ inbound: z35.object({ status: z35.string(), error: z35.string().optional() }).passthrough(),
4715
+ object: z35.string()
4716
+ }).passthrough();
4556
4717
  var ListDeploymentsResponseSchema = aiGatewayList(GatewayDeploymentSchema);
4557
4718
  var GatewayPluginSchema = z35.object({
4558
4719
  id: z35.string(),
@@ -4922,6 +5083,7 @@ var ProfilesClient = class {
4922
5083
  offset: String(opts?.offset ?? 0),
4923
5084
  limit: String(opts?.limit ?? 100)
4924
5085
  };
5086
+ if (opts?.latest !== void 0) params.latest = String(opts.latest);
4925
5087
  return request({
4926
5088
  method: "GET",
4927
5089
  baseUrl: this.baseUrl,
@@ -4932,6 +5094,23 @@ var ProfilesClient = class {
4932
5094
  numRetries: this.numRetries
4933
5095
  });
4934
5096
  }
5097
+ /**
5098
+ * List security profiles across every response page.
5099
+ * @example
5100
+ * ```ts
5101
+ * const profiles = await mgmt.profiles.listAll({ latest: true });
5102
+ * ```
5103
+ */
5104
+ async listAll(opts = {}) {
5105
+ const limit = opts.limit ?? 100;
5106
+ return collectAll(
5107
+ paginate(async (offset) => {
5108
+ const page = await this.list({ offset, limit, latest: opts.latest });
5109
+ return { items: page.ai_profiles, next: page.next_offset || void 0 };
5110
+ }, 0),
5111
+ { max: opts.max }
5112
+ );
5113
+ }
4935
5114
  /**
4936
5115
  * Get a security profile by UUID.
4937
5116
  * Fetches all profiles and filters — no dedicated API endpoint exists.
@@ -4949,7 +5128,7 @@ var ProfilesClient = class {
4949
5128
  * ```
4950
5129
  */
4951
5130
  async get(profileId) {
4952
- const { ai_profiles } = await this.list();
5131
+ const ai_profiles = await this.listAll();
4953
5132
  const profile = ai_profiles.find((p) => p.profile_id === profileId);
4954
5133
  if (!profile) {
4955
5134
  throw new AISecSDKException(
@@ -4975,7 +5154,7 @@ var ProfilesClient = class {
4975
5154
  * ```
4976
5155
  */
4977
5156
  async getByName(profileName) {
4978
- const { ai_profiles } = await this.list();
5157
+ const ai_profiles = await this.listAll();
4979
5158
  const matches = ai_profiles.filter((p) => p.profile_name === profileName);
4980
5159
  if (matches.length === 0) {
4981
5160
  throw new AISecSDKException(
@@ -5130,6 +5309,22 @@ var TopicsClient = class {
5130
5309
  * ```
5131
5310
  */
5132
5311
  async list(opts) {
5312
+ if (opts?.latestOnly) {
5313
+ const all = await this.listAll({ limit: 200 });
5314
+ const latest = /* @__PURE__ */ new Map();
5315
+ for (const topic of all) {
5316
+ const current = latest.get(topic.topic_name);
5317
+ if (!current || topic.revision > current.revision) latest.set(topic.topic_name, topic);
5318
+ }
5319
+ const custom_topics = [...latest.values()];
5320
+ const offset = opts.offset ?? 0;
5321
+ const limit = opts.limit ?? 100;
5322
+ const nextOffset = offset + limit;
5323
+ return {
5324
+ custom_topics: custom_topics.slice(offset, nextOffset),
5325
+ next_offset: nextOffset < custom_topics.length ? nextOffset : void 0
5326
+ };
5327
+ }
5133
5328
  const params = {
5134
5329
  offset: String(opts?.offset ?? 0),
5135
5330
  limit: String(opts?.limit ?? 100)
@@ -5144,6 +5339,55 @@ var TopicsClient = class {
5144
5339
  numRetries: this.numRetries
5145
5340
  });
5146
5341
  }
5342
+ /**
5343
+ * List custom topics across every response page.
5344
+ * @example
5345
+ * ```ts
5346
+ * const topics = await mgmt.topics.listAll({ limit: 200 });
5347
+ * ```
5348
+ */
5349
+ async listAll(opts = {}) {
5350
+ const limit = opts.limit ?? 100;
5351
+ return collectAll(
5352
+ paginate(async (offset) => {
5353
+ const page = await this.list({ offset, limit });
5354
+ return { items: page.custom_topics, next: page.next_offset || void 0 };
5355
+ }, 0),
5356
+ { max: opts.max }
5357
+ );
5358
+ }
5359
+ /**
5360
+ * Get an exact custom-topic revision by UUID.
5361
+ * @example
5362
+ * ```ts
5363
+ * const topic = await mgmt.topics.get('550e8400-e29b-41d4-a716-446655440000');
5364
+ * ```
5365
+ */
5366
+ async get(topicId) {
5367
+ const topic = (await this.listAll()).find((item) => item.topic_id === topicId);
5368
+ if (!topic)
5369
+ throw new AISecSDKException(
5370
+ `Topic not found: ${topicId}`,
5371
+ "AISEC_USER_REQUEST_PAYLOAD_ERROR" /* USER_REQUEST_PAYLOAD_ERROR */
5372
+ );
5373
+ return topic;
5374
+ }
5375
+ /**
5376
+ * Get the highest revision of a custom topic by name.
5377
+ * @example
5378
+ * ```ts
5379
+ * const topic = await mgmt.topics.getByName('credit-cards');
5380
+ * ```
5381
+ */
5382
+ async getByName(topicName) {
5383
+ const matches = (await this.listAll()).filter((item) => item.topic_name === topicName);
5384
+ if (matches.length === 0)
5385
+ throw new AISecSDKException(
5386
+ `Topic not found: ${topicName}`,
5387
+ "AISEC_USER_REQUEST_PAYLOAD_ERROR" /* USER_REQUEST_PAYLOAD_ERROR */
5388
+ );
5389
+ return matches.reduce((best, topic) => topic.revision > best.revision ? topic : best);
5390
+ }
5147
5391
  /**
5148
5392
  * Update an existing custom topic.
5149
5393
  * @param topicId - UUID of the topic to update.
@@ -5307,6 +5551,17 @@ var ApiKeysClient = class {
5307
5551
  numRetries: this.numRetries
5308
5552
  });
5309
5553
  }
5554
+ /** List all API keys. @example `const keys = await mgmt.apiKeys.listAll();` */
5555
+ async listAll(opts = {}) {
5556
+ const limit = opts.limit ?? 100;
5557
+ return collectAll(
5558
+ paginate(async (offset) => {
5559
+ const page = await this.list({ offset, limit });
5560
+ return { items: page.api_keys ?? [], next: page.next_offset || void 0 };
5561
+ }, 0),
5562
+ { max: opts.max }
5563
+ );
5564
+ }
5310
5565
  /**
5311
5566
  * Delete an API key by name.
5312
5567
  * @param apiKeyName - Name of the API key to delete.
@@ -5431,6 +5686,17 @@ var CustomerAppsClient = class {
5431
5686
  numRetries: this.numRetries
5432
5687
  });
5433
5688
  }
5689
+ /** List all customer applications. @example `const apps = await mgmt.customerApps.listAll();` */
5690
+ async listAll(opts = {}) {
5691
+ const limit = opts.limit ?? 100;
5692
+ return collectAll(
5693
+ paginate(async (offset) => {
5694
+ const page = await this.list({ offset, limit });
5695
+ return { items: page.customer_apps ?? [], next: page.next_offset || void 0 };
5696
+ }, 0),
5697
+ { max: opts.max }
5698
+ );
5699
+ }
5434
5700
  /**
5435
5701
  * Update a customer app.
5436
5702
  * @param customerAppId - UUID of the customer app to update.
@@ -5878,6 +6144,17 @@ var DataFilteringProfilesClient = class {
5878
6144
  numRetries: this.numRetries
5879
6145
  });
5880
6146
  }
6147
+ /** List all filtering profiles. @example `const profiles = await mgmt.dlp.dataFilteringProfiles.listAll();` */
6148
+ async listAll(params = {}) {
6149
+ return collectSpringPages(
6150
+ async (page, size) => {
6151
+ const result = await this.list({ ...params, page, size });
6152
+ const last = result.last ?? (result.totalPages !== void 0 ? page + 1 >= result.totalPages : result.content.length < size);
6153
+ return { items: result.content, last };
6154
+ },
6155
+ { size: params.size, max: params.max }
6156
+ );
6157
+ }
5881
6158
  /**
5882
6159
  * Get a single data filtering profile by resource ID.
5883
6160
  * @example
@@ -5971,6 +6248,17 @@ var DataPatternsClient = class {
5971
6248
  numRetries: this.numRetries
5972
6249
  });
5973
6250
  }
6251
+ /** List all data patterns. @example `const patterns = await mgmt.dlp.dataPatterns.listAll();` */
6252
+ async listAll(params = {}) {
6253
+ return collectSpringPages(
6254
+ async (page, size) => {
6255
+ const result = await this.list({ ...params, page, size });
6256
+ const last = result.last ?? (result.totalPages !== void 0 ? page + 1 >= result.totalPages : result.content.length < size);
6257
+ return { items: result.content, last };
6258
+ },
6259
+ { size: params.size, max: params.max }
6260
+ );
6261
+ }
5974
6262
  /**
5975
6263
  * Create a new custom data pattern.
5976
6264
  * @example
@@ -6144,6 +6432,17 @@ var DataProfilesClient = class {
6144
6432
  numRetries: this.numRetries
6145
6433
  });
6146
6434
  }
6435
+ /** List all data profiles. @example `const profiles = await mgmt.dlp.dataProfiles.listAll();` */
6436
+ async listAll(params = {}) {
6437
+ return collectSpringPages(
6438
+ async (page, size) => {
6439
+ const result = await this.list({ ...params, page, size });
6440
+ const last = result.last ?? (result.totalPages !== void 0 ? page + 1 >= result.totalPages : result.content.length < size);
6441
+ return { items: result.content, last };
6442
+ },
6443
+ { size: params.size, max: params.max }
6444
+ );
6445
+ }
6147
6446
  /**
6148
6447
  * Create a new data profile.
6149
6448
  * @example
@@ -6324,6 +6623,17 @@ var DictionariesClient = class {
6324
6623
  numRetries: this.numRetries
6325
6624
  });
6326
6625
  }
6626
+ /** List all dictionaries. @example `const dictionaries = await mgmt.dlp.dictionaries.listAll();` */
6627
+ async listAll(params = {}) {
6628
+ return collectSpringPages(
6629
+ async (page, size) => {
6630
+ const result = await this.list({ ...params, page, size });
6631
+ const last = result.last ?? (result.totalPages !== void 0 ? page + 1 >= result.totalPages : result.content.length < size);
6632
+ return { items: result.content, last };
6633
+ },
6634
+ { size: params.size, max: params.max }
6635
+ );
6636
+ }
6327
6637
  /**
6328
6638
  * Create a dictionary by uploading a keyword file. Sends a multipart body — the SDK does
6329
6639
  * not set Content-Type so the runtime can write the correct boundary.
@@ -6556,15 +6866,6 @@ var ManagementClient = class {
6556
6866
  }
6557
6867
  };
6558
6868
 
6559
- // src/listing.ts
6560
- function serializeListing(opts) {
6561
- const params = {};
6562
- if (opts?.skip !== void 0) params.skip = String(opts.skip);
6563
- if (opts?.limit !== void 0) params.limit = String(opts.limit);
6564
- if (opts?.search !== void 0) params.search = opts.search;
6565
- return params;
6566
- }
6567
-
6568
6869
  // src/model-security/scans-client.ts
6569
6870
  function buildScanListParams(opts) {
6570
6871
  const params = serializeListing(opts);
@@ -6660,6 +6961,13 @@ var ModelSecurityScansClient = class {
6660
6961
  numRetries: this.numRetries
6661
6962
  });
6662
6963
  }
6964
+ /** List every model-security scan page. @example `const scans = await ms.scans.listAll();` */
6965
+ async listAll(opts = {}) {
6966
+ return collectSkipPages(async (skip, limit) => {
6967
+ const page = await this.list({ ...opts, skip, limit });
6968
+ return { items: page.scans, total: page.pagination.total_items };
6969
+ }, opts);
6970
+ }
6663
6971
  /**
6664
6972
  * Get a single scan by UUID.
6665
6973
  * @param uuid - Scan UUID.
@@ -7038,6 +7346,13 @@ var ModelSecurityGroupsClient = class {
7038
7346
  numRetries: this.numRetries
7039
7347
  });
7040
7348
  }
7349
+ /** List every security-group page. @example `const groups = await ms.securityGroups.listAll();` */
7350
+ async listAll(opts = {}) {
7351
+ return collectSkipPages(async (skip, limit) => {
7352
+ const page = await this.list({ ...opts, skip, limit });
7353
+ return { items: page.security_groups, total: page.pagination.total_items };
7354
+ }, opts);
7355
+ }
7041
7356
  /**
7042
7357
  * Get a single security group by UUID.
7043
7358
  * @param uuid - Security group UUID.
@@ -7253,6 +7568,13 @@ var ModelSecurityRulesClient = class {
7253
7568
  numRetries: this.numRetries
7254
7569
  });
7255
7570
  }
7571
+ /** List every security-rule page. @example `const rules = await ms.securityRules.listAll();` */
7572
+ async listAll(opts = {}) {
7573
+ return collectSkipPages(async (skip, limit) => {
7574
+ const page = await this.list({ ...opts, skip, limit });
7575
+ return { items: page.rules, total: page.pagination.total_items };
7576
+ }, opts);
7577
+ }
7256
7578
  /**
7257
7579
  * Get a single security rule by UUID.
7258
7580
  * @param uuid - Security rule UUID.
@@ -7332,6 +7654,13 @@ var ModelSecurityModelsClient = class {
7332
7654
  numRetries: this.numRetries
7333
7655
  });
7334
7656
  }
7657
+ /** List every model page. @example `const models = await ms.models.listAllModels();` */
7658
+ async listAllModels(opts = {}) {
7659
+ return collectSkipPages(async (skip, limit) => {
7660
+ const page = await this.listModels({ ...opts, skip, limit });
7661
+ return { items: page.models, total: page.pagination.total_items };
7662
+ }, opts);
7663
+ }
7335
7664
  /**
7336
7665
  * Get a single model by UUID.
7337
7666
  * @param uuid - Model UUID.
@@ -7388,6 +7717,13 @@ var ModelSecurityModelsClient = class {
7388
7717
  numRetries: this.numRetries
7389
7718
  });
7390
7719
  }
7720
+ /** List every version of a model. @example `const versions = await ms.models.listAllModelVersions(modelUuid);` */
7721
+ async listAllModelVersions(modelUuid, opts = {}) {
7722
+ return collectSkipPages(async (skip, limit) => {
7723
+ const page = await this.listModelVersions(modelUuid, { ...opts, skip, limit });
7724
+ return { items: page.model_versions, total: page.pagination.total_items };
7725
+ }, opts);
7726
+ }
7391
7727
  /**
7392
7728
  * Get a single model version by UUID.
7393
7729
  * @param uuid - Model version UUID.
@@ -7442,6 +7778,13 @@ var ModelSecurityModelsClient = class {
7442
7778
  numRetries: this.numRetries
7443
7779
  });
7444
7780
  }
7781
+ /** List every file in a model version. @example `const files = await ms.models.listAllModelVersionFiles(versionUuid);` */
7782
+ async listAllModelVersionFiles(modelVersionUuid, opts = {}) {
7783
+ return collectSkipPages(async (skip, limit) => {
7784
+ const page = await this.listModelVersionFiles(modelVersionUuid, { ...opts, skip, limit });
7785
+ return { items: page.files, total: page.pagination.total_items };
7786
+ }, opts);
7787
+ }
7445
7788
  };
7446
7789
 
7447
7790
  // src/model-security/client.ts
@@ -7582,6 +7925,13 @@ var RedTeamScansClient = class {
7582
7925
  numRetries: this.numRetries
7583
7926
  });
7584
7927
  }
7928
+ /** List every scan page. @example `const scans = await rt.scans.listAll({ status: 'COMPLETED' });` */
7929
+ async listAll(opts = {}) {
7930
+ return collectSkipPages(async (skip, limit) => {
7931
+ const page = await this.list({ ...opts, skip, limit });
7932
+ return { items: page.data, total: page.pagination.total_items };
7933
+ }, opts);
7934
+ }
7585
7935
  /**
7586
7936
  * Get a single scan job by ID.
7587
7937
  * @param jobId - The job UUID.
@@ -8359,6 +8709,29 @@ var RedTeamTargetsClient = class {
8359
8709
  numRetries: this.numRetries
8360
8710
  });
8361
8711
  }
8712
+ /**
8713
+ * List targets across every page while preserving the supplied filters.
8714
+ * @example
8715
+ * ```ts
8716
+ * const targets = await rt.targets.listAll({ limit: 100, status: 'READY' });
8717
+ * ```
8718
+ */
8719
+ async listAll(opts = {}) {
8720
+ const limit = opts.limit ?? 50;
8721
+ return collectAll(
8722
+ paginate(async (skip) => {
8723
+ const page = await this.list({ ...opts, skip, limit });
8724
+ const items = page.data ?? [];
8725
+ const next = skip + items.length;
8726
+ const total = page.pagination.total_items;
8727
+ return {
8728
+ items,
8729
+ next: items.length > 0 && (total == null ? items.length === limit : next < total) ? next : void 0
8730
+ };
8731
+ }, 0),
8732
+ { max: opts.max }
8733
+ );
8734
+ }
8362
8735
  /**
8363
8736
  * Get a target by UUID.
8364
8737
  * @param uuid - The target UUID.
@@ -8675,6 +9048,13 @@ var RedTeamCustomAttacksClient = class {
8675
9048
  numRetries: this.numRetries
8676
9049
  });
8677
9050
  }
9051
+ /** List every custom prompt-set page. @example `const sets = await rt.customAttacks.listAllPromptSets();` */
9052
+ async listAllPromptSets(opts = {}) {
9053
+ return collectSkipPages(async (skip, limit) => {
9054
+ const page = await this.listPromptSets({ ...opts, skip, limit });
9055
+ return { items: page.data ?? [], total: page.pagination.total_items };
9056
+ }, opts);
9057
+ }
8678
9058
  /**
8679
9059
  * Get a prompt set by UUID.
8680
9060
  * @param uuid - The prompt set UUID.
@@ -8987,6 +9367,13 @@ var RedTeamCustomAttacksClient = class {
8987
9367
  numRetries: this.numRetries
8988
9368
  });
8989
9369
  }
9370
+ /** List every prompt page for a set. @example `const prompts = await rt.customAttacks.listAllPrompts(promptSetUuid);` */
9371
+ async listAllPrompts(promptSetUuid, opts = {}) {
9372
+ return collectSkipPages(async (skip, limit) => {
9373
+ const page = await this.listPrompts(promptSetUuid, { ...opts, skip, limit });
9374
+ return { items: page.data ?? [], total: page.pagination.total_items };
9375
+ }, opts);
9376
+ }
8990
9377
  /**
8991
9378
  * Get a prompt by UUID.
8992
9379
  * @param promptSetUuid - The prompt set UUID.
@@ -9733,6 +10120,13 @@ var RedTeamAdaptersClient = class {
9733
10120
  numRetries: this.numRetries
9734
10121
  });
9735
10122
  }
10123
+ /** List every adapter page. @example `const adapters = await rt.adapters.listAll();` */
10124
+ async listAll(opts = {}) {
10125
+ return collectSkipPages(async (skip, limit) => {
10126
+ const page = await this.list({ ...opts, skip, limit });
10127
+ return { items: page.data ?? [], total: page.pagination.total_items };
10128
+ }, opts);
10129
+ }
9736
10130
  /**
9737
10131
  * Get a single adapter by UUID.
9738
10132
  * @param uuid - Adapter UUID.
@@ -10862,6 +11256,29 @@ var AIGatewayConfigsClient = class {
10862
11256
  numRetries: this.numRetries
10863
11257
  });
10864
11258
  }
11259
+ /**
11260
+ * List the immutable version history for one config. Verified live 2026-08-29.
11261
+ * @param configId - Config UUID.
11262
+ * @returns Config versions, including version ownership and creation timestamps.
11263
+ * @example
11264
+ * ```ts
11265
+ * import { AIGatewayClient } from '@cdot65/prisma-airs-sdk';
11266
+ * const gw = new AIGatewayClient();
11267
+ * const versions = await gw.configs.listVersions('764cf9cd-4ebf-449e-b669-08149b0fbbbc');
11268
+ * console.log(versions.data[0].version_id);
11269
+ * ```
11270
+ */
11271
+ async listVersions(configId) {
11272
+ assertUuid(configId, "configId");
11273
+ return request({
11274
+ method: "GET",
11275
+ baseUrl: this.baseUrl,
11276
+ path: `${AI_GW_CONFIGS_PATH}/${configId}/versions`,
11277
+ responseSchema: ListConfigVersionsResponseSchema,
11278
+ auth: this.auth,
11279
+ numRetries: this.numRetries
11280
+ });
11281
+ }
10865
11282
  /**
10866
11283
  * Create a config.
10867
11284
  *
@@ -11054,6 +11471,32 @@ var AIGatewayGuardrailsClient = class {
11054
11471
  numRetries: this.numRetries
11055
11472
  });
11056
11473
  }
11474
+ /**
11475
+ * Update a guardrail. Verified live 2026-08-29.
11476
+ * @param guardrailId - Guardrail UUID.
11477
+ * @param body - Fields to update.
11478
+ * @returns The gateway write response.
11479
+ * @example
11480
+ * ```ts
11481
+ * import { AIGatewayClient } from '@cdot65/prisma-airs-sdk';
11482
+ * const gw = new AIGatewayClient();
11483
+ * await gw.guardrails.update('9f6c2a8e-2b3d-4e5f-8a9b-0c1d2e3f4a5b', {
11484
+ * name: 'Updated guardrail',
11485
+ * });
11486
+ * ```
11487
+ */
11488
+ async update(guardrailId, body) {
11489
+ assertUuid(guardrailId, "guardrailId");
11490
+ return request({
11491
+ method: "PUT",
11492
+ baseUrl: this.baseUrl,
11493
+ path: `${AI_GW_GUARDRAILS_PATH}/${guardrailId}`,
11494
+ body,
11495
+ responseSchema: GatewayWriteResponseSchema,
11496
+ auth: this.auth,
11497
+ numRetries: this.numRetries
11498
+ });
11499
+ }
11057
11500
  /**
11058
11501
  * Delete a guardrail.
11059
11502
  *
@@ -11120,6 +11563,32 @@ var AIGatewayProvidersClient = class {
11120
11563
  numRetries: this.numRetries
11121
11564
  });
11122
11565
  }
11566
+ /**
11567
+ * Fetch one provider binding. Verified live 2026-08-29.
11568
+ *
11569
+ * @remarks The response can contain provider credential material. Do not log or persist it,
11570
+ * and do not enable SDK debug logging around this call in production.
11571
+ * @param providerId - Provider UUID.
11572
+ * @returns Provider configuration and lifecycle detail.
11573
+ * @example
11574
+ * ```ts
11575
+ * import { AIGatewayClient } from '@cdot65/prisma-airs-sdk';
11576
+ * const gw = new AIGatewayClient();
11577
+ * const provider = await gw.providers.get('f6692544-3265-49be-9711-bbdcebc079e4');
11578
+ * console.log(provider.name);
11579
+ * ```
11580
+ */
11581
+ async get(providerId) {
11582
+ assertUuid(providerId, "providerId");
11583
+ return request({
11584
+ method: "GET",
11585
+ baseUrl: this.baseUrl,
11586
+ path: `${AI_GW_PROVIDERS_PATH}/${providerId}`,
11587
+ responseSchema: GatewayProviderDetailSchema,
11588
+ auth: this.auth,
11589
+ numRetries: this.numRetries
11590
+ });
11591
+ }
11123
11592
  /**
11124
11593
  * Create a provider.
11125
11594
  *
@@ -11160,6 +11629,33 @@ var AIGatewayProvidersClient = class {
11160
11629
  numRetries: this.numRetries
11161
11630
  });
11162
11631
  }
11632
+ /**
11633
+ * Update a provider binding. Verified live 2026-08-29.
11634
+ * @param providerId - Provider UUID.
11635
+ * @param body - Fields to update.
11636
+ * @returns The gateway write response.
11637
+ * @example
11638
+ * ```ts
11639
+ * import { AIGatewayClient } from '@cdot65/prisma-airs-sdk';
11640
+ * const gw = new AIGatewayClient();
11641
+ * await gw.providers.update('f6692544-3265-49be-9711-bbdcebc079e4', {
11642
+ * name: 'Vertex production',
11643
+ * note: 'Updated by automation',
11644
+ * });
11645
+ * ```
11646
+ */
11647
+ async update(providerId, body) {
11648
+ assertUuid(providerId, "providerId");
11649
+ return request({
11650
+ method: "PUT",
11651
+ baseUrl: this.baseUrl,
11652
+ path: `${AI_GW_PROVIDERS_PATH}/${providerId}`,
11653
+ body,
11654
+ responseSchema: GatewayWriteResponseSchema,
11655
+ auth: this.auth,
11656
+ numRetries: this.numRetries
11657
+ });
11658
+ }
11163
11659
  /**
11164
11660
  * Delete a provider.
11165
11661
  *
@@ -11259,6 +11755,63 @@ var AIGatewayApiKeysClient = class {
11259
11755
  async listUser(opts) {
11260
11756
  return this.listAt(AI_GW_API_KEYS_USER_PATH, opts);
11261
11757
  }
11758
+ getAt(path, keyId) {
11759
+ assertUuid(keyId, "keyId");
11760
+ return request({
11761
+ method: "GET",
11762
+ baseUrl: this.baseUrl,
11763
+ path: `${path}/${keyId}`,
11764
+ responseSchema: GatewayApiKeySchema,
11765
+ auth: this.auth,
11766
+ numRetries: this.numRetries
11767
+ });
11768
+ }
11769
+ async deleteAt(path, keyId) {
11770
+ assertUuid(keyId, "keyId");
11771
+ await request({
11772
+ method: "DELETE",
11773
+ baseUrl: this.baseUrl,
11774
+ path: `${path}/${keyId}`,
11775
+ auth: this.auth,
11776
+ numRetries: this.numRetries
11777
+ });
11778
+ }
11779
+ rotateAt(path, keyId, body = {}) {
11780
+ assertUuid(keyId, "keyId");
11781
+ return request({
11782
+ method: "POST",
11783
+ baseUrl: this.baseUrl,
11784
+ path: `${path}/${keyId}/rotate`,
11785
+ body,
11786
+ responseSchema: GatewayApiKeyRotateResponseSchema,
11787
+ auth: this.auth,
11788
+ numRetries: this.numRetries
11789
+ });
11790
+ }
11791
+ /** Get a service key. @example `await gw.apiKeys.getService(keyId);` */
11792
+ async getService(keyId) {
11793
+ return this.getAt(AI_GW_API_KEYS_SERVICE_PATH, keyId);
11794
+ }
11795
+ /** Get a user key. @example `await gw.apiKeys.getUser(keyId);` */
11796
+ async getUser(keyId) {
11797
+ return this.getAt(AI_GW_API_KEYS_USER_PATH, keyId);
11798
+ }
11799
+ /** Permanently delete a service key. @example `await gw.apiKeys.deleteService(keyId);` */
11800
+ async deleteService(keyId) {
11801
+ return this.deleteAt(AI_GW_API_KEYS_SERVICE_PATH, keyId);
11802
+ }
11803
+ /** Permanently delete a user key. @example `await gw.apiKeys.deleteUser(keyId);` */
11804
+ async deleteUser(keyId) {
11805
+ return this.deleteAt(AI_GW_API_KEYS_USER_PATH, keyId);
11806
+ }
11807
+ /** Rotate a service key; capture the returned secret. @example `const rotated = await gw.apiKeys.rotateService(keyId);` */
11808
+ async rotateService(keyId, body = {}) {
11809
+ return this.rotateAt(AI_GW_API_KEYS_SERVICE_PATH, keyId, body);
11810
+ }
11811
+ /** Rotate a user key; capture the returned secret. @example `const rotated = await gw.apiKeys.rotateUser(keyId);` */
11812
+ async rotateUser(keyId, body = {}) {
11813
+ return this.rotateAt(AI_GW_API_KEYS_USER_PATH, keyId, body);
11814
+ }
11262
11815
  /**
11263
11816
  * Create a service API key.
11264
11817
  * @param body - Name, scopes, TSG, workspace UUID, and type.
@@ -11638,6 +12191,75 @@ var AIGatewayMcpIntegrationsClient = class {
11638
12191
  numRetries: this.numRetries
11639
12192
  });
11640
12193
  }
12194
+ /**
12195
+ * Fetch one MCP integration. Verified live 2026-08-29.
12196
+ * @param mcpIntegrationId - MCP integration UUID.
12197
+ * @returns Integration detail; unlike list rows, `configurations` is an object.
12198
+ * @example
12199
+ * ```ts
12200
+ * import { AIGatewayClient } from '@cdot65/prisma-airs-sdk';
12201
+ * const gw = new AIGatewayClient();
12202
+ * const integration = await gw.mcpIntegrations.get('2a6f4e2e-6f5a-4a1f-9d0e-9b2b6f6c3a11');
12203
+ * console.log(integration.url);
12204
+ * ```
12205
+ */
12206
+ async get(mcpIntegrationId) {
12207
+ assertUuid(mcpIntegrationId, "mcpIntegrationId");
12208
+ return request({
12209
+ method: "GET",
12210
+ baseUrl: this.baseUrl,
12211
+ path: `${AI_GW_MCP_INTEGRATIONS_PATH}/${mcpIntegrationId}`,
12212
+ responseSchema: McpIntegrationDetailSchema,
12213
+ auth: this.auth,
12214
+ numRetries: this.numRetries
12215
+ });
12216
+ }
12217
+ /**
12218
+ * List capabilities discovered from an MCP integration. Verified live 2026-08-29.
12219
+ * @param mcpIntegrationId - MCP integration UUID.
12220
+ * @returns Tools, prompts, resources, and resource templates with enablement counts.
12221
+ * @example
12222
+ * ```ts
12223
+ * import { AIGatewayClient } from '@cdot65/prisma-airs-sdk';
12224
+ * const gw = new AIGatewayClient();
12225
+ * const capabilities = await gw.mcpIntegrations.getCapabilities('2a6f4e2e-6f5a-4a1f-9d0e-9b2b6f6c3a11');
12226
+ * console.log(capabilities.data.map((capability) => capability.name));
12227
+ * ```
12228
+ */
12229
+ async getCapabilities(mcpIntegrationId) {
12230
+ assertUuid(mcpIntegrationId, "mcpIntegrationId");
12231
+ return request({
12232
+ method: "GET",
12233
+ baseUrl: this.baseUrl,
12234
+ path: `${AI_GW_MCP_INTEGRATIONS_PATH}/${mcpIntegrationId}/capabilities`,
12235
+ responseSchema: McpIntegrationCapabilitiesResponseSchema,
12236
+ auth: this.auth,
12237
+ numRetries: this.numRetries
12238
+ });
12239
+ }
12240
+ /**
12241
+ * Fetch metadata discovered from an MCP server. Verified live 2026-08-29.
12242
+ * @param mcpIntegrationId - MCP integration UUID.
12243
+ * @returns Server identity, protocol, capability flags, and sync state.
12244
+ * @example
12245
+ * ```ts
12246
+ * import { AIGatewayClient } from '@cdot65/prisma-airs-sdk';
12247
+ * const gw = new AIGatewayClient();
12248
+ * const metadata = await gw.mcpIntegrations.getMetadata('2a6f4e2e-6f5a-4a1f-9d0e-9b2b6f6c3a11');
12249
+ * console.log(metadata.sync_status);
12250
+ * ```
12251
+ */
12252
+ async getMetadata(mcpIntegrationId) {
12253
+ assertUuid(mcpIntegrationId, "mcpIntegrationId");
12254
+ return request({
12255
+ method: "GET",
12256
+ baseUrl: this.baseUrl,
12257
+ path: `${AI_GW_MCP_INTEGRATIONS_PATH}/${mcpIntegrationId}/metadata`,
12258
+ responseSchema: McpIntegrationMetadataSchema,
12259
+ auth: this.auth,
12260
+ numRetries: this.numRetries
12261
+ });
12262
+ }
11641
12263
  /**
11642
12264
  * Register an MCP server.
11643
12265
  * @param body - Name, server URL, auth type, transport, and provider-specific configuration.
@@ -11668,18 +12290,57 @@ var AIGatewayMcpIntegrationsClient = class {
11668
12290
  numRetries: this.numRetries
11669
12291
  });
11670
12292
  }
12293
+ /** Update an MCP integration. @example `await gw.mcpIntegrations.update(id, { name: 'Docs MCP' });` */
12294
+ async update(mcpIntegrationId, body) {
12295
+ assertUuid(mcpIntegrationId, "mcpIntegrationId");
12296
+ return request({
12297
+ method: "PUT",
12298
+ baseUrl: this.baseUrl,
12299
+ path: `${AI_GW_MCP_INTEGRATIONS_PATH}/${mcpIntegrationId}`,
12300
+ body,
12301
+ responseSchema: GatewayWriteResponseSchema,
12302
+ auth: this.auth,
12303
+ numRetries: this.numRetries
12304
+ });
12305
+ }
12306
+ /** Permanently delete an MCP integration. @example `await gw.mcpIntegrations.delete(id);` */
12307
+ async delete(mcpIntegrationId) {
12308
+ assertUuid(mcpIntegrationId, "mcpIntegrationId");
12309
+ await request({
12310
+ method: "DELETE",
12311
+ baseUrl: this.baseUrl,
12312
+ path: `${AI_GW_MCP_INTEGRATIONS_PATH}/${mcpIntegrationId}`,
12313
+ auth: this.auth,
12314
+ numRetries: this.numRetries
12315
+ });
12316
+ }
12317
+ /** Replace capability enablement values. @example `await gw.mcpIntegrations.setCapabilities(id, { capabilities: [{ name: 'lookup', type: 'tool', enabled: true }] });` */
12318
+ async setCapabilities(mcpIntegrationId, body) {
12319
+ assertUuid(mcpIntegrationId, "mcpIntegrationId");
12320
+ return request({
12321
+ method: "PUT",
12322
+ baseUrl: this.baseUrl,
12323
+ path: `${AI_GW_MCP_INTEGRATIONS_PATH}/${mcpIntegrationId}/capabilities`,
12324
+ body,
12325
+ responseSchema: McpIntegrationCapabilitiesUpdateResponseSchema,
12326
+ auth: this.auth,
12327
+ numRetries: this.numRetries
12328
+ });
12329
+ }
11671
12330
  /**
11672
12331
  * Replace which workspaces may use this MCP integration.
11673
12332
  * @param mcpIntegrationId - MCP integration UUID.
11674
12333
  * @param body - Workspace bindings or a global-access flag; this is a replace, not a merge.
11675
- * @returns The raw response. Shape unverified against a live tenant — see the PRD.
12334
+ * @returns An empty object. Verified live 2026-08-30.
11676
12335
  * @example
11677
12336
  * ```ts
11678
12337
  * import { AIGatewayClient } from '@cdot65/prisma-airs-sdk';
11679
12338
  * const gw = new AIGatewayClient();
11680
12339
  *
11681
12340
  * await gw.mcpIntegrations.setWorkspaces('f6692544-3265-49be-9711-bbdcebc079e4', {
11682
- * global_workspace_access: true,
12341
+ * workspaces: [{ id: 'ws-development', enabled: true }],
12342
+ * global_workspace_access: { enabled: false },
12343
+ * override_existing_workspace_access: true,
11683
12344
  * });
11684
12345
  * ```
11685
12346
  */
@@ -11690,7 +12351,7 @@ var AIGatewayMcpIntegrationsClient = class {
11690
12351
  baseUrl: this.baseUrl,
11691
12352
  path: `${AI_GW_MCP_INTEGRATIONS_PATH}/${mcpIntegrationId}/workspaces`,
11692
12353
  body,
11693
- responseSchema: GatewayWriteResponseSchema,
12354
+ responseSchema: McpIntegrationWorkspacesUpdateResponseSchema,
11694
12355
  auth: this.auth,
11695
12356
  numRetries: this.numRetries
11696
12357
  });
@@ -11799,6 +12460,58 @@ var AIGatewayDeploymentsClient = class {
11799
12460
  numRetries: this.numRetries
11800
12461
  });
11801
12462
  }
12463
+ /**
12464
+ * Update deployment settings, including its externally deployed gateway URL and workspace scope.
12465
+ * @param deploymentId - Deployment UUID.
12466
+ * @param body - Fields to update.
12467
+ * @returns The gateway write response.
12468
+ * @example
12469
+ * ```ts
12470
+ * import { AIGatewayClient } from '@cdot65/prisma-airs-sdk';
12471
+ * const gw = new AIGatewayClient();
12472
+ * await gw.deployments.update('21414819-485e-4ba3-b3d3-3e1815580e43', {
12473
+ * auth_settings: {
12474
+ * gateway_base_url: 'https://gateway.example.com',
12475
+ * workspaces_allowed: ['ws-develo-71f8d8'],
12476
+ * },
12477
+ * });
12478
+ * ```
12479
+ */
12480
+ async update(deploymentId, body) {
12481
+ assertUuid(deploymentId, "deploymentId");
12482
+ return request({
12483
+ method: "PUT",
12484
+ baseUrl: this.baseUrl,
12485
+ path: `${AI_GW_DEPLOYMENTS_PATH}/${deploymentId}`,
12486
+ body,
12487
+ responseSchema: GatewayWriteResponseSchema,
12488
+ auth: this.auth,
12489
+ numRetries: this.numRetries
12490
+ });
12491
+ }
12492
+ /**
12493
+ * Run SCM's outbound and inbound connectivity checks against a configured gateway.
12494
+ * @param deploymentId - Deployment UUID.
12495
+ * @returns Health of both connectivity directions.
12496
+ * @example
12497
+ * ```ts
12498
+ * import { AIGatewayClient } from '@cdot65/prisma-airs-sdk';
12499
+ * const gw = new AIGatewayClient();
12500
+ * const health = await gw.deployments.ping('21414819-485e-4ba3-b3d3-3e1815580e43');
12501
+ * console.log(health.status, health.outbound.status, health.inbound.status);
12502
+ * ```
12503
+ */
12504
+ async ping(deploymentId) {
12505
+ assertUuid(deploymentId, "deploymentId");
12506
+ return request({
12507
+ method: "GET",
12508
+ baseUrl: this.baseUrl,
12509
+ path: `${AI_GW_DEPLOYMENTS_PATH}/${deploymentId}/ping`,
12510
+ responseSchema: GatewayDeploymentPingResponseSchema,
12511
+ auth: this.auth,
12512
+ numRetries: this.numRetries
12513
+ });
12514
+ }
11802
12515
  /**
11803
12516
  * Archive a deployment.
11804
12517
  *
@@ -12395,6 +13108,7 @@ export {
12395
13108
  FileScanDataSchema,
12396
13109
  FileScanResult,
12397
13110
  FileType,
13111
+ GatewayApiKeyRotateResponseSchema,
12398
13112
  GatewayApiKeySchema,
12399
13113
  GatewayAuditLogRecordSchema,
12400
13114
  GatewayAuditLogsResponseSchema,
@@ -12402,8 +13116,10 @@ export {
12402
13116
  GatewayConfigCreateResponseSchema,
12403
13117
  GatewayConfigDetailSchema,
12404
13118
  GatewayConfigSchema,
13119
+ GatewayConfigVersionSchema,
12405
13120
  GatewayDeploymentCreateResponseSchema,
12406
13121
  GatewayDeploymentDetailSchema,
13122
+ GatewayDeploymentPingResponseSchema,
12407
13123
  GatewayDeploymentSchema,
12408
13124
  GatewayGlobalWorkspaceAccessSchema,
12409
13125
  GatewayGroupRowSchema,
@@ -12418,6 +13134,7 @@ export {
12418
13134
  GatewayLogsResponseSchema,
12419
13135
  GatewayPluginSchema,
12420
13136
  GatewayProviderCreateResponseSchema,
13137
+ GatewayProviderDetailSchema,
12421
13138
  GatewayProviderSchema,
12422
13139
  GatewayRateLimitSchema,
12423
13140
  GatewayUsageLimitSchema,
@@ -12458,6 +13175,7 @@ export {
12458
13175
  LanguageOptionSchema,
12459
13176
  LatencyChartResponseSchema,
12460
13177
  ListApiKeysResponseSchema,
13178
+ ListConfigVersionsResponseSchema,
12461
13179
  ListConfigsResponseSchema,
12462
13180
  ListDeploymentsResponseSchema,
12463
13181
  ListGuardrailsResponseSchema,
@@ -12526,7 +13244,13 @@ export {
12526
13244
  MaskedDataSchema,
12527
13245
  McEntrySchema,
12528
13246
  McReportSchema,
13247
+ McpIntegrationCapabilitiesResponseSchema,
13248
+ McpIntegrationCapabilitiesUpdateResponseSchema,
13249
+ McpIntegrationCapabilitySchema,
13250
+ McpIntegrationDetailSchema,
13251
+ McpIntegrationMetadataSchema,
12529
13252
  McpIntegrationSchema,
13253
+ McpIntegrationWorkspacesUpdateResponseSchema,
12530
13254
  MetadataCriterionSchema,
12531
13255
  MetadataSchema,
12532
13256
  ModelConfigurationSchema,
@@ -12769,9 +13493,14 @@ export {
12769
13493
  WebSocketConnectionParamsSchema,
12770
13494
  WeightedRegexSchema,
12771
13495
  aiGwOrganisationsAuthSettingsPath,
13496
+ collectAll,
13497
+ collectSkipPages,
13498
+ collectSpringPages,
12772
13499
  globalConfiguration,
12773
13500
  init,
12774
13501
  jsonNullable,
12775
- pageSchema
13502
+ pageSchema,
13503
+ paginate,
13504
+ serializeListing
12776
13505
  };
12777
13506
  //# sourceMappingURL=index.js.map