vercel-api-js 1.30.0 → 1.32.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.
@@ -287,12 +287,12 @@ const resolveUrl = (url, queryParams = {})=>{
287
287
  /**
288
288
  * @summary Create virtual model config
289
289
  * @description Create a virtual model config (VMC)
290
- * @link /v1/ai-gateway/virtual-model-configs
290
+ * @link /ai-gateway/virtual-model-configs
291
291
  */ async function createAiGatewayVirtualModelConfig({ queryParams, config } = {}) {
292
292
  const { client: request = client, ...requestConfig } = config ?? {};
293
293
  const data = await request({
294
294
  method: "POST",
295
- url: `/v1/ai-gateway/virtual-model-configs`,
295
+ url: `/ai-gateway/virtual-model-configs`,
296
296
  queryParams,
297
297
  ...requestConfig,
298
298
  headers: {
@@ -304,12 +304,12 @@ const resolveUrl = (url, queryParams = {})=>{
304
304
  /**
305
305
  * @summary Get virtual model config
306
306
  * @description Get a virtual model config
307
- * @link /v1/ai-gateway/virtual-model-configs
307
+ * @link /ai-gateway/virtual-model-configs
308
308
  */ async function getAiGatewayVirtualModelConfig({ queryParams, config } = {}) {
309
309
  const { client: request = client, ...requestConfig } = config ?? {};
310
310
  const data = await request({
311
311
  method: "GET",
312
- url: `/v1/ai-gateway/virtual-model-configs`,
312
+ url: `/ai-gateway/virtual-model-configs`,
313
313
  queryParams,
314
314
  ...requestConfig,
315
315
  headers: {
@@ -321,12 +321,12 @@ const resolveUrl = (url, queryParams = {})=>{
321
321
  /**
322
322
  * @summary Update virtual model config
323
323
  * @description Update a virtual model config
324
- * @link /v1/ai-gateway/virtual-model-configs
324
+ * @link /ai-gateway/virtual-model-configs
325
325
  */ async function updateAiGatewayVirtualModelConfig({ queryParams, config } = {}) {
326
326
  const { client: request = client, ...requestConfig } = config ?? {};
327
327
  const data = await request({
328
328
  method: "PATCH",
329
- url: `/v1/ai-gateway/virtual-model-configs`,
329
+ url: `/ai-gateway/virtual-model-configs`,
330
330
  queryParams,
331
331
  ...requestConfig,
332
332
  headers: {
@@ -338,12 +338,12 @@ const resolveUrl = (url, queryParams = {})=>{
338
338
  /**
339
339
  * @summary Delete virtual model config
340
340
  * @description Delete a virtual model config (soft delete)
341
- * @link /v1/ai-gateway/virtual-model-configs
341
+ * @link /ai-gateway/virtual-model-configs
342
342
  */ async function deleteAiGatewayVirtualModelConfig({ queryParams, config } = {}) {
343
343
  const { client: request = client, ...requestConfig } = config ?? {};
344
344
  const data = await request({
345
345
  method: "DELETE",
346
- url: `/v1/ai-gateway/virtual-model-configs`,
346
+ url: `/ai-gateway/virtual-model-configs`,
347
347
  queryParams,
348
348
  ...requestConfig,
349
349
  headers: {
@@ -355,12 +355,12 @@ const resolveUrl = (url, queryParams = {})=>{
355
355
  /**
356
356
  * @summary List virtual model configs
357
357
  * @description List virtual model configs. With `ownerId`, returns all of that team's VMCs. Without it, pages through VMCs across all teams (newest-first, `limit`/`cursor`).
358
- * @link /v1/ai-gateway/virtual-model-configs/list
358
+ * @link /ai-gateway/virtual-model-configs/list
359
359
  */ async function listAiGatewayVirtualModelConfigs({ queryParams, config } = {}) {
360
360
  const { client: request = client, ...requestConfig } = config ?? {};
361
361
  const data = await request({
362
362
  method: "GET",
363
- url: `/v1/ai-gateway/virtual-model-configs/list`,
363
+ url: `/ai-gateway/virtual-model-configs/list`,
364
364
  queryParams,
365
365
  ...requestConfig,
366
366
  headers: {
@@ -372,7 +372,7 @@ const resolveUrl = (url, queryParams = {})=>{
372
372
  /**
373
373
  * @summary Get virtual model config
374
374
  * @description Get a virtual model config by path slug
375
- * @link /v1/ai-gateway/virtual-model-configs/{vmcSlug}
375
+ * @link /ai-gateway/virtual-model-configs/{vmcSlug}
376
376
  */ async function getAiGatewayVirtualModelConfigBySlug({ pathParams, queryParams, config } = {}) {
377
377
  const { client: request = client, ...requestConfig } = config ?? {};
378
378
  if (!pathParams.vmcSlug) {
@@ -380,7 +380,7 @@ const resolveUrl = (url, queryParams = {})=>{
380
380
  }
381
381
  const data = await request({
382
382
  method: "GET",
383
- url: `/v1/ai-gateway/virtual-model-configs/${pathParams.vmcSlug}`,
383
+ url: `/ai-gateway/virtual-model-configs/${pathParams.vmcSlug}`,
384
384
  queryParams,
385
385
  ...requestConfig,
386
386
  headers: {
@@ -392,7 +392,7 @@ const resolveUrl = (url, queryParams = {})=>{
392
392
  /**
393
393
  * @summary Update virtual model config
394
394
  * @description Update a virtual model config by path slug
395
- * @link /v1/ai-gateway/virtual-model-configs/{vmcSlug}
395
+ * @link /ai-gateway/virtual-model-configs/{vmcSlug}
396
396
  */ async function updateAiGatewayVirtualModelConfigBySlug({ pathParams, queryParams, config } = {}) {
397
397
  const { client: request = client, ...requestConfig } = config ?? {};
398
398
  if (!pathParams.vmcSlug) {
@@ -400,7 +400,7 @@ const resolveUrl = (url, queryParams = {})=>{
400
400
  }
401
401
  const data = await request({
402
402
  method: "PATCH",
403
- url: `/v1/ai-gateway/virtual-model-configs/${pathParams.vmcSlug}`,
403
+ url: `/ai-gateway/virtual-model-configs/${pathParams.vmcSlug}`,
404
404
  queryParams,
405
405
  ...requestConfig,
406
406
  headers: {
@@ -412,7 +412,7 @@ const resolveUrl = (url, queryParams = {})=>{
412
412
  /**
413
413
  * @summary Delete virtual model config
414
414
  * @description Delete a virtual model config by path slug (soft delete)
415
- * @link /v1/ai-gateway/virtual-model-configs/{vmcSlug}
415
+ * @link /ai-gateway/virtual-model-configs/{vmcSlug}
416
416
  */ async function deleteAiGatewayVirtualModelConfigBySlug({ pathParams, queryParams, config } = {}) {
417
417
  const { client: request = client, ...requestConfig } = config ?? {};
418
418
  if (!pathParams.vmcSlug) {
@@ -420,7 +420,7 @@ const resolveUrl = (url, queryParams = {})=>{
420
420
  }
421
421
  const data = await request({
422
422
  method: "DELETE",
423
- url: `/v1/ai-gateway/virtual-model-configs/${pathParams.vmcSlug}`,
423
+ url: `/ai-gateway/virtual-model-configs/${pathParams.vmcSlug}`,
424
424
  queryParams,
425
425
  ...requestConfig,
426
426
  headers: {
@@ -432,12 +432,12 @@ const resolveUrl = (url, queryParams = {})=>{
432
432
  /**
433
433
  * @summary Create rule
434
434
  * @description Create a routing rule
435
- * @link /v1/ai-gateway/rules
435
+ * @link /ai-gateway/rules
436
436
  */ async function createAiGatewayRule({ queryParams, config } = {}) {
437
437
  const { client: request = client, ...requestConfig } = config ?? {};
438
438
  const data = await request({
439
439
  method: "POST",
440
- url: `/v1/ai-gateway/rules`,
440
+ url: `/ai-gateway/rules`,
441
441
  queryParams,
442
442
  ...requestConfig,
443
443
  headers: {
@@ -449,12 +449,12 @@ const resolveUrl = (url, queryParams = {})=>{
449
449
  /**
450
450
  * @summary List rules
451
451
  * @description List the authenticated team's routing rules
452
- * @link /v1/ai-gateway/rules
452
+ * @link /ai-gateway/rules
453
453
  */ async function listAiGatewayRules({ queryParams, config } = {}) {
454
454
  const { client: request = client, ...requestConfig } = config ?? {};
455
455
  const data = await request({
456
456
  method: "GET",
457
- url: `/v1/ai-gateway/rules`,
457
+ url: `/ai-gateway/rules`,
458
458
  queryParams,
459
459
  ...requestConfig,
460
460
  headers: {
@@ -466,12 +466,12 @@ const resolveUrl = (url, queryParams = {})=>{
466
466
  /**
467
467
  * @summary Update rule
468
468
  * @description Update a routing rule (enabled, action, or description)
469
- * @link /v1/ai-gateway/rules
469
+ * @link /ai-gateway/rules
470
470
  */ async function updateAiGatewayRule({ queryParams, config } = {}) {
471
471
  const { client: request = client, ...requestConfig } = config ?? {};
472
472
  const data = await request({
473
473
  method: "PATCH",
474
- url: `/v1/ai-gateway/rules`,
474
+ url: `/ai-gateway/rules`,
475
475
  queryParams,
476
476
  ...requestConfig,
477
477
  headers: {
@@ -483,12 +483,12 @@ const resolveUrl = (url, queryParams = {})=>{
483
483
  /**
484
484
  * @summary Delete rule
485
485
  * @description Delete a routing rule (soft delete)
486
- * @link /v1/ai-gateway/rules
486
+ * @link /ai-gateway/rules
487
487
  */ async function deleteAiGatewayRule({ queryParams, config } = {}) {
488
488
  const { client: request = client, ...requestConfig } = config ?? {};
489
489
  const data = await request({
490
490
  method: "DELETE",
491
- url: `/v1/ai-gateway/rules`,
491
+ url: `/ai-gateway/rules`,
492
492
  queryParams,
493
493
  ...requestConfig,
494
494
  headers: {
@@ -6108,7 +6108,7 @@ const resolveUrl = (url, queryParams = {})=>{
6108
6108
  }
6109
6109
  /**
6110
6110
  * @summary Get a named sandbox
6111
- * @description Retrieves a named sandbox by name, including its current sandbox and routes. If the sandbox is stopped and resume is true, a new sandbox will be created from the most recent snapshot.
6111
+ * @description Retrieves a named sandbox by name, including its current sandbox and routes. If the sandbox is stopped and resume is true, a new sandbox will be created from the most recent snapshot. Returns 404 if the named sandbox or its configuration no longer exists.
6112
6112
  * @link /v2/sandboxes/{name}
6113
6113
  */ async function getNamedSandbox({ pathParams, queryParams, config } = {}) {
6114
6114
  const { client: request = client, ...requestConfig } = config ?? {};
@@ -8701,18 +8701,18 @@ const operationsByPath = {
8701
8701
  "GET /v1/access-groups/{accessGroupIdOrName}/projects/{projectId}": readAccessGroupProject,
8702
8702
  "PATCH /v1/access-groups/{accessGroupIdOrName}/projects/{projectId}": updateAccessGroupProject,
8703
8703
  "DELETE /v1/access-groups/{accessGroupIdOrName}/projects/{projectId}": deleteAccessGroupProject,
8704
- "POST /v1/ai-gateway/virtual-model-configs": createAiGatewayVirtualModelConfig,
8705
- "GET /v1/ai-gateway/virtual-model-configs": getAiGatewayVirtualModelConfig,
8706
- "PATCH /v1/ai-gateway/virtual-model-configs": updateAiGatewayVirtualModelConfig,
8707
- "DELETE /v1/ai-gateway/virtual-model-configs": deleteAiGatewayVirtualModelConfig,
8708
- "GET /v1/ai-gateway/virtual-model-configs/list": listAiGatewayVirtualModelConfigs,
8709
- "GET /v1/ai-gateway/virtual-model-configs/{vmcSlug}": getAiGatewayVirtualModelConfigBySlug,
8710
- "PATCH /v1/ai-gateway/virtual-model-configs/{vmcSlug}": updateAiGatewayVirtualModelConfigBySlug,
8711
- "DELETE /v1/ai-gateway/virtual-model-configs/{vmcSlug}": deleteAiGatewayVirtualModelConfigBySlug,
8712
- "POST /v1/ai-gateway/rules": createAiGatewayRule,
8713
- "GET /v1/ai-gateway/rules": listAiGatewayRules,
8714
- "PATCH /v1/ai-gateway/rules": updateAiGatewayRule,
8715
- "DELETE /v1/ai-gateway/rules": deleteAiGatewayRule,
8704
+ "POST /ai-gateway/virtual-model-configs": createAiGatewayVirtualModelConfig,
8705
+ "GET /ai-gateway/virtual-model-configs": getAiGatewayVirtualModelConfig,
8706
+ "PATCH /ai-gateway/virtual-model-configs": updateAiGatewayVirtualModelConfig,
8707
+ "DELETE /ai-gateway/virtual-model-configs": deleteAiGatewayVirtualModelConfig,
8708
+ "GET /ai-gateway/virtual-model-configs/list": listAiGatewayVirtualModelConfigs,
8709
+ "GET /ai-gateway/virtual-model-configs/{vmcSlug}": getAiGatewayVirtualModelConfigBySlug,
8710
+ "PATCH /ai-gateway/virtual-model-configs/{vmcSlug}": updateAiGatewayVirtualModelConfigBySlug,
8711
+ "DELETE /ai-gateway/virtual-model-configs/{vmcSlug}": deleteAiGatewayVirtualModelConfigBySlug,
8712
+ "POST /ai-gateway/rules": createAiGatewayRule,
8713
+ "GET /ai-gateway/rules": listAiGatewayRules,
8714
+ "PATCH /ai-gateway/rules": updateAiGatewayRule,
8715
+ "DELETE /ai-gateway/rules": deleteAiGatewayRule,
8716
8716
  "POST /v8/artifacts/events": recordEvents,
8717
8717
  "GET /v8/artifacts/status": status,
8718
8718
  "PUT /v8/artifacts/{hash}": uploadArtifact,
@@ -9136,7 +9136,7 @@ const operationsByTag = {
9136
9136
  updateAccessGroupProject,
9137
9137
  deleteAccessGroupProject
9138
9138
  },
9139
- apiAiGateway: {
9139
+ aiGateway: {
9140
9140
  createAiGatewayVirtualModelConfig,
9141
9141
  getAiGatewayVirtualModelConfig,
9142
9142
  updateAiGatewayVirtualModelConfig,
@@ -9144,9 +9144,7 @@ const operationsByTag = {
9144
9144
  listAiGatewayVirtualModelConfigs,
9145
9145
  getAiGatewayVirtualModelConfigBySlug,
9146
9146
  updateAiGatewayVirtualModelConfigBySlug,
9147
- deleteAiGatewayVirtualModelConfigBySlug
9148
- },
9149
- aiGateway: {
9147
+ deleteAiGatewayVirtualModelConfigBySlug,
9150
9148
  createAiGatewayRule,
9151
9149
  listAiGatewayRules,
9152
9150
  updateAiGatewayRule,
@@ -9658,35 +9656,25 @@ const tagDictionary = {
9658
9656
  "updateAccessGroupProject"
9659
9657
  ]
9660
9658
  },
9661
- apiAiGateway: {
9662
- POST: [
9663
- "createAiGatewayVirtualModelConfig"
9664
- ],
9665
- GET: [
9666
- "getAiGatewayVirtualModelConfig",
9667
- "listAiGatewayVirtualModelConfigs",
9668
- "getAiGatewayVirtualModelConfigBySlug"
9669
- ],
9670
- PATCH: [
9671
- "updateAiGatewayVirtualModelConfig",
9672
- "updateAiGatewayVirtualModelConfigBySlug"
9673
- ],
9674
- DELETE: [
9675
- "deleteAiGatewayVirtualModelConfig",
9676
- "deleteAiGatewayVirtualModelConfigBySlug"
9677
- ]
9678
- },
9679
9659
  aiGateway: {
9680
9660
  POST: [
9661
+ "createAiGatewayVirtualModelConfig",
9681
9662
  "createAiGatewayRule"
9682
9663
  ],
9683
9664
  GET: [
9665
+ "getAiGatewayVirtualModelConfig",
9666
+ "listAiGatewayVirtualModelConfigs",
9667
+ "getAiGatewayVirtualModelConfigBySlug",
9684
9668
  "listAiGatewayRules"
9685
9669
  ],
9686
9670
  PATCH: [
9671
+ "updateAiGatewayVirtualModelConfig",
9672
+ "updateAiGatewayVirtualModelConfigBySlug",
9687
9673
  "updateAiGatewayRule"
9688
9674
  ],
9689
9675
  DELETE: [
9676
+ "deleteAiGatewayVirtualModelConfig",
9677
+ "deleteAiGatewayVirtualModelConfigBySlug",
9690
9678
  "deleteAiGatewayRule"
9691
9679
  ]
9692
9680
  },
@@ -287,12 +287,12 @@ const resolveUrl = (url, queryParams = {})=>{
287
287
  /**
288
288
  * @summary Create virtual model config
289
289
  * @description Create a virtual model config (VMC)
290
- * @link /v1/ai-gateway/virtual-model-configs
290
+ * @link /ai-gateway/virtual-model-configs
291
291
  */ async function createAiGatewayVirtualModelConfig({ queryParams, config } = {}) {
292
292
  const { client: request = client, ...requestConfig } = config ?? {};
293
293
  const data = await request({
294
294
  method: "POST",
295
- url: `/v1/ai-gateway/virtual-model-configs`,
295
+ url: `/ai-gateway/virtual-model-configs`,
296
296
  queryParams,
297
297
  ...requestConfig,
298
298
  headers: {
@@ -304,12 +304,12 @@ const resolveUrl = (url, queryParams = {})=>{
304
304
  /**
305
305
  * @summary Get virtual model config
306
306
  * @description Get a virtual model config
307
- * @link /v1/ai-gateway/virtual-model-configs
307
+ * @link /ai-gateway/virtual-model-configs
308
308
  */ async function getAiGatewayVirtualModelConfig({ queryParams, config } = {}) {
309
309
  const { client: request = client, ...requestConfig } = config ?? {};
310
310
  const data = await request({
311
311
  method: "GET",
312
- url: `/v1/ai-gateway/virtual-model-configs`,
312
+ url: `/ai-gateway/virtual-model-configs`,
313
313
  queryParams,
314
314
  ...requestConfig,
315
315
  headers: {
@@ -321,12 +321,12 @@ const resolveUrl = (url, queryParams = {})=>{
321
321
  /**
322
322
  * @summary Update virtual model config
323
323
  * @description Update a virtual model config
324
- * @link /v1/ai-gateway/virtual-model-configs
324
+ * @link /ai-gateway/virtual-model-configs
325
325
  */ async function updateAiGatewayVirtualModelConfig({ queryParams, config } = {}) {
326
326
  const { client: request = client, ...requestConfig } = config ?? {};
327
327
  const data = await request({
328
328
  method: "PATCH",
329
- url: `/v1/ai-gateway/virtual-model-configs`,
329
+ url: `/ai-gateway/virtual-model-configs`,
330
330
  queryParams,
331
331
  ...requestConfig,
332
332
  headers: {
@@ -338,12 +338,12 @@ const resolveUrl = (url, queryParams = {})=>{
338
338
  /**
339
339
  * @summary Delete virtual model config
340
340
  * @description Delete a virtual model config (soft delete)
341
- * @link /v1/ai-gateway/virtual-model-configs
341
+ * @link /ai-gateway/virtual-model-configs
342
342
  */ async function deleteAiGatewayVirtualModelConfig({ queryParams, config } = {}) {
343
343
  const { client: request = client, ...requestConfig } = config ?? {};
344
344
  const data = await request({
345
345
  method: "DELETE",
346
- url: `/v1/ai-gateway/virtual-model-configs`,
346
+ url: `/ai-gateway/virtual-model-configs`,
347
347
  queryParams,
348
348
  ...requestConfig,
349
349
  headers: {
@@ -355,12 +355,12 @@ const resolveUrl = (url, queryParams = {})=>{
355
355
  /**
356
356
  * @summary List virtual model configs
357
357
  * @description List virtual model configs. With `ownerId`, returns all of that team's VMCs. Without it, pages through VMCs across all teams (newest-first, `limit`/`cursor`).
358
- * @link /v1/ai-gateway/virtual-model-configs/list
358
+ * @link /ai-gateway/virtual-model-configs/list
359
359
  */ async function listAiGatewayVirtualModelConfigs({ queryParams, config } = {}) {
360
360
  const { client: request = client, ...requestConfig } = config ?? {};
361
361
  const data = await request({
362
362
  method: "GET",
363
- url: `/v1/ai-gateway/virtual-model-configs/list`,
363
+ url: `/ai-gateway/virtual-model-configs/list`,
364
364
  queryParams,
365
365
  ...requestConfig,
366
366
  headers: {
@@ -372,7 +372,7 @@ const resolveUrl = (url, queryParams = {})=>{
372
372
  /**
373
373
  * @summary Get virtual model config
374
374
  * @description Get a virtual model config by path slug
375
- * @link /v1/ai-gateway/virtual-model-configs/{vmcSlug}
375
+ * @link /ai-gateway/virtual-model-configs/{vmcSlug}
376
376
  */ async function getAiGatewayVirtualModelConfigBySlug({ pathParams, queryParams, config } = {}) {
377
377
  const { client: request = client, ...requestConfig } = config ?? {};
378
378
  if (!pathParams.vmcSlug) {
@@ -380,7 +380,7 @@ const resolveUrl = (url, queryParams = {})=>{
380
380
  }
381
381
  const data = await request({
382
382
  method: "GET",
383
- url: `/v1/ai-gateway/virtual-model-configs/${pathParams.vmcSlug}`,
383
+ url: `/ai-gateway/virtual-model-configs/${pathParams.vmcSlug}`,
384
384
  queryParams,
385
385
  ...requestConfig,
386
386
  headers: {
@@ -392,7 +392,7 @@ const resolveUrl = (url, queryParams = {})=>{
392
392
  /**
393
393
  * @summary Update virtual model config
394
394
  * @description Update a virtual model config by path slug
395
- * @link /v1/ai-gateway/virtual-model-configs/{vmcSlug}
395
+ * @link /ai-gateway/virtual-model-configs/{vmcSlug}
396
396
  */ async function updateAiGatewayVirtualModelConfigBySlug({ pathParams, queryParams, config } = {}) {
397
397
  const { client: request = client, ...requestConfig } = config ?? {};
398
398
  if (!pathParams.vmcSlug) {
@@ -400,7 +400,7 @@ const resolveUrl = (url, queryParams = {})=>{
400
400
  }
401
401
  const data = await request({
402
402
  method: "PATCH",
403
- url: `/v1/ai-gateway/virtual-model-configs/${pathParams.vmcSlug}`,
403
+ url: `/ai-gateway/virtual-model-configs/${pathParams.vmcSlug}`,
404
404
  queryParams,
405
405
  ...requestConfig,
406
406
  headers: {
@@ -412,7 +412,7 @@ const resolveUrl = (url, queryParams = {})=>{
412
412
  /**
413
413
  * @summary Delete virtual model config
414
414
  * @description Delete a virtual model config by path slug (soft delete)
415
- * @link /v1/ai-gateway/virtual-model-configs/{vmcSlug}
415
+ * @link /ai-gateway/virtual-model-configs/{vmcSlug}
416
416
  */ async function deleteAiGatewayVirtualModelConfigBySlug({ pathParams, queryParams, config } = {}) {
417
417
  const { client: request = client, ...requestConfig } = config ?? {};
418
418
  if (!pathParams.vmcSlug) {
@@ -420,7 +420,7 @@ const resolveUrl = (url, queryParams = {})=>{
420
420
  }
421
421
  const data = await request({
422
422
  method: "DELETE",
423
- url: `/v1/ai-gateway/virtual-model-configs/${pathParams.vmcSlug}`,
423
+ url: `/ai-gateway/virtual-model-configs/${pathParams.vmcSlug}`,
424
424
  queryParams,
425
425
  ...requestConfig,
426
426
  headers: {
@@ -432,12 +432,12 @@ const resolveUrl = (url, queryParams = {})=>{
432
432
  /**
433
433
  * @summary Create rule
434
434
  * @description Create a routing rule
435
- * @link /v1/ai-gateway/rules
435
+ * @link /ai-gateway/rules
436
436
  */ async function createAiGatewayRule({ queryParams, config } = {}) {
437
437
  const { client: request = client, ...requestConfig } = config ?? {};
438
438
  const data = await request({
439
439
  method: "POST",
440
- url: `/v1/ai-gateway/rules`,
440
+ url: `/ai-gateway/rules`,
441
441
  queryParams,
442
442
  ...requestConfig,
443
443
  headers: {
@@ -449,12 +449,12 @@ const resolveUrl = (url, queryParams = {})=>{
449
449
  /**
450
450
  * @summary List rules
451
451
  * @description List the authenticated team's routing rules
452
- * @link /v1/ai-gateway/rules
452
+ * @link /ai-gateway/rules
453
453
  */ async function listAiGatewayRules({ queryParams, config } = {}) {
454
454
  const { client: request = client, ...requestConfig } = config ?? {};
455
455
  const data = await request({
456
456
  method: "GET",
457
- url: `/v1/ai-gateway/rules`,
457
+ url: `/ai-gateway/rules`,
458
458
  queryParams,
459
459
  ...requestConfig,
460
460
  headers: {
@@ -466,12 +466,12 @@ const resolveUrl = (url, queryParams = {})=>{
466
466
  /**
467
467
  * @summary Update rule
468
468
  * @description Update a routing rule (enabled, action, or description)
469
- * @link /v1/ai-gateway/rules
469
+ * @link /ai-gateway/rules
470
470
  */ async function updateAiGatewayRule({ queryParams, config } = {}) {
471
471
  const { client: request = client, ...requestConfig } = config ?? {};
472
472
  const data = await request({
473
473
  method: "PATCH",
474
- url: `/v1/ai-gateway/rules`,
474
+ url: `/ai-gateway/rules`,
475
475
  queryParams,
476
476
  ...requestConfig,
477
477
  headers: {
@@ -483,12 +483,12 @@ const resolveUrl = (url, queryParams = {})=>{
483
483
  /**
484
484
  * @summary Delete rule
485
485
  * @description Delete a routing rule (soft delete)
486
- * @link /v1/ai-gateway/rules
486
+ * @link /ai-gateway/rules
487
487
  */ async function deleteAiGatewayRule({ queryParams, config } = {}) {
488
488
  const { client: request = client, ...requestConfig } = config ?? {};
489
489
  const data = await request({
490
490
  method: "DELETE",
491
- url: `/v1/ai-gateway/rules`,
491
+ url: `/ai-gateway/rules`,
492
492
  queryParams,
493
493
  ...requestConfig,
494
494
  headers: {
@@ -6108,7 +6108,7 @@ const resolveUrl = (url, queryParams = {})=>{
6108
6108
  }
6109
6109
  /**
6110
6110
  * @summary Get a named sandbox
6111
- * @description Retrieves a named sandbox by name, including its current sandbox and routes. If the sandbox is stopped and resume is true, a new sandbox will be created from the most recent snapshot.
6111
+ * @description Retrieves a named sandbox by name, including its current sandbox and routes. If the sandbox is stopped and resume is true, a new sandbox will be created from the most recent snapshot. Returns 404 if the named sandbox or its configuration no longer exists.
6112
6112
  * @link /v2/sandboxes/{name}
6113
6113
  */ async function getNamedSandbox({ pathParams, queryParams, config } = {}) {
6114
6114
  const { client: request = client, ...requestConfig } = config ?? {};
@@ -8701,18 +8701,18 @@ const operationsByPath = {
8701
8701
  "GET /v1/access-groups/{accessGroupIdOrName}/projects/{projectId}": readAccessGroupProject,
8702
8702
  "PATCH /v1/access-groups/{accessGroupIdOrName}/projects/{projectId}": updateAccessGroupProject,
8703
8703
  "DELETE /v1/access-groups/{accessGroupIdOrName}/projects/{projectId}": deleteAccessGroupProject,
8704
- "POST /v1/ai-gateway/virtual-model-configs": createAiGatewayVirtualModelConfig,
8705
- "GET /v1/ai-gateway/virtual-model-configs": getAiGatewayVirtualModelConfig,
8706
- "PATCH /v1/ai-gateway/virtual-model-configs": updateAiGatewayVirtualModelConfig,
8707
- "DELETE /v1/ai-gateway/virtual-model-configs": deleteAiGatewayVirtualModelConfig,
8708
- "GET /v1/ai-gateway/virtual-model-configs/list": listAiGatewayVirtualModelConfigs,
8709
- "GET /v1/ai-gateway/virtual-model-configs/{vmcSlug}": getAiGatewayVirtualModelConfigBySlug,
8710
- "PATCH /v1/ai-gateway/virtual-model-configs/{vmcSlug}": updateAiGatewayVirtualModelConfigBySlug,
8711
- "DELETE /v1/ai-gateway/virtual-model-configs/{vmcSlug}": deleteAiGatewayVirtualModelConfigBySlug,
8712
- "POST /v1/ai-gateway/rules": createAiGatewayRule,
8713
- "GET /v1/ai-gateway/rules": listAiGatewayRules,
8714
- "PATCH /v1/ai-gateway/rules": updateAiGatewayRule,
8715
- "DELETE /v1/ai-gateway/rules": deleteAiGatewayRule,
8704
+ "POST /ai-gateway/virtual-model-configs": createAiGatewayVirtualModelConfig,
8705
+ "GET /ai-gateway/virtual-model-configs": getAiGatewayVirtualModelConfig,
8706
+ "PATCH /ai-gateway/virtual-model-configs": updateAiGatewayVirtualModelConfig,
8707
+ "DELETE /ai-gateway/virtual-model-configs": deleteAiGatewayVirtualModelConfig,
8708
+ "GET /ai-gateway/virtual-model-configs/list": listAiGatewayVirtualModelConfigs,
8709
+ "GET /ai-gateway/virtual-model-configs/{vmcSlug}": getAiGatewayVirtualModelConfigBySlug,
8710
+ "PATCH /ai-gateway/virtual-model-configs/{vmcSlug}": updateAiGatewayVirtualModelConfigBySlug,
8711
+ "DELETE /ai-gateway/virtual-model-configs/{vmcSlug}": deleteAiGatewayVirtualModelConfigBySlug,
8712
+ "POST /ai-gateway/rules": createAiGatewayRule,
8713
+ "GET /ai-gateway/rules": listAiGatewayRules,
8714
+ "PATCH /ai-gateway/rules": updateAiGatewayRule,
8715
+ "DELETE /ai-gateway/rules": deleteAiGatewayRule,
8716
8716
  "POST /v8/artifacts/events": recordEvents,
8717
8717
  "GET /v8/artifacts/status": status,
8718
8718
  "PUT /v8/artifacts/{hash}": uploadArtifact,
@@ -9136,7 +9136,7 @@ const operationsByTag = {
9136
9136
  updateAccessGroupProject,
9137
9137
  deleteAccessGroupProject
9138
9138
  },
9139
- apiAiGateway: {
9139
+ aiGateway: {
9140
9140
  createAiGatewayVirtualModelConfig,
9141
9141
  getAiGatewayVirtualModelConfig,
9142
9142
  updateAiGatewayVirtualModelConfig,
@@ -9144,9 +9144,7 @@ const operationsByTag = {
9144
9144
  listAiGatewayVirtualModelConfigs,
9145
9145
  getAiGatewayVirtualModelConfigBySlug,
9146
9146
  updateAiGatewayVirtualModelConfigBySlug,
9147
- deleteAiGatewayVirtualModelConfigBySlug
9148
- },
9149
- aiGateway: {
9147
+ deleteAiGatewayVirtualModelConfigBySlug,
9150
9148
  createAiGatewayRule,
9151
9149
  listAiGatewayRules,
9152
9150
  updateAiGatewayRule,
@@ -9658,35 +9656,25 @@ const tagDictionary = {
9658
9656
  "updateAccessGroupProject"
9659
9657
  ]
9660
9658
  },
9661
- apiAiGateway: {
9662
- POST: [
9663
- "createAiGatewayVirtualModelConfig"
9664
- ],
9665
- GET: [
9666
- "getAiGatewayVirtualModelConfig",
9667
- "listAiGatewayVirtualModelConfigs",
9668
- "getAiGatewayVirtualModelConfigBySlug"
9669
- ],
9670
- PATCH: [
9671
- "updateAiGatewayVirtualModelConfig",
9672
- "updateAiGatewayVirtualModelConfigBySlug"
9673
- ],
9674
- DELETE: [
9675
- "deleteAiGatewayVirtualModelConfig",
9676
- "deleteAiGatewayVirtualModelConfigBySlug"
9677
- ]
9678
- },
9679
9659
  aiGateway: {
9680
9660
  POST: [
9661
+ "createAiGatewayVirtualModelConfig",
9681
9662
  "createAiGatewayRule"
9682
9663
  ],
9683
9664
  GET: [
9665
+ "getAiGatewayVirtualModelConfig",
9666
+ "listAiGatewayVirtualModelConfigs",
9667
+ "getAiGatewayVirtualModelConfigBySlug",
9684
9668
  "listAiGatewayRules"
9685
9669
  ],
9686
9670
  PATCH: [
9671
+ "updateAiGatewayVirtualModelConfig",
9672
+ "updateAiGatewayVirtualModelConfigBySlug",
9687
9673
  "updateAiGatewayRule"
9688
9674
  ],
9689
9675
  DELETE: [
9676
+ "deleteAiGatewayVirtualModelConfig",
9677
+ "deleteAiGatewayVirtualModelConfigBySlug",
9690
9678
  "deleteAiGatewayRule"
9691
9679
  ]
9692
9680
  },
@@ -1,6 +1,6 @@
1
1
  Object.defineProperty(exports, '__esModule', { value: true });
2
2
 
3
- var components = require('./components-d3fvkbpw.cjs');
3
+ var components = require('./components-iqz7kw3n.cjs');
4
4
 
5
5
 
6
6