@to11ai/sdk 0.3.0 → 0.5.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/README.md +1 -0
- package/dist/generated/index.d.ts +1 -1
- package/dist/generated/types.gen.d.ts +789 -304
- package/dist/generated/zod.gen.d.ts +454 -133
- package/dist/prompts/types.d.ts +1 -1
- package/package.json +1 -1
- package/src/generated/index.ts +1 -1
- package/src/generated/types.gen.ts +809 -304
- package/src/generated/zod.gen.ts +476 -154
- package/src/prompts/types.ts +1 -1
|
@@ -208,6 +208,7 @@ export type PromptLabelEvent = {
|
|
|
208
208
|
export type PromptLabelPointer = {
|
|
209
209
|
label: string;
|
|
210
210
|
promptId: string;
|
|
211
|
+
reason: string;
|
|
211
212
|
updatedAt: string;
|
|
212
213
|
updatedByDisplayName: string | null;
|
|
213
214
|
updatedByUserId: string;
|
|
@@ -226,7 +227,7 @@ export type PromptRelease = {
|
|
|
226
227
|
id: string;
|
|
227
228
|
priorReleaseId: string | null;
|
|
228
229
|
promptId: string;
|
|
229
|
-
reason: string
|
|
230
|
+
reason: string;
|
|
230
231
|
strategy: 'single' | 'weighted';
|
|
231
232
|
versionId: string;
|
|
232
233
|
};
|
|
@@ -1262,190 +1263,6 @@ export type DataCentersGetDataCenterBootstrapStatusResponses = {
|
|
|
1262
1263
|
};
|
|
1263
1264
|
};
|
|
1264
1265
|
export type DataCentersGetDataCenterBootstrapStatusResponse = DataCentersGetDataCenterBootstrapStatusResponses[keyof DataCentersGetDataCenterBootstrapStatusResponses];
|
|
1265
|
-
export type PlatformSettingsGetMultiDcRoutingToggleData = {
|
|
1266
|
-
body?: never;
|
|
1267
|
-
path?: never;
|
|
1268
|
-
query?: never;
|
|
1269
|
-
url: '/v1/admin/multi-dc-routing';
|
|
1270
|
-
};
|
|
1271
|
-
export type PlatformSettingsGetMultiDcRoutingToggleErrors = {
|
|
1272
|
-
/**
|
|
1273
|
-
* BadRequestError
|
|
1274
|
-
*/
|
|
1275
|
-
400: BadRequestError;
|
|
1276
|
-
/**
|
|
1277
|
-
* UnauthorizedError
|
|
1278
|
-
*/
|
|
1279
|
-
401: UnauthorizedError;
|
|
1280
|
-
/**
|
|
1281
|
-
* ForbiddenError
|
|
1282
|
-
*/
|
|
1283
|
-
403: ForbiddenError;
|
|
1284
|
-
/**
|
|
1285
|
-
* NotFoundError
|
|
1286
|
-
*/
|
|
1287
|
-
404: NotFoundError;
|
|
1288
|
-
/**
|
|
1289
|
-
* ConflictError
|
|
1290
|
-
*/
|
|
1291
|
-
409: ConflictError;
|
|
1292
|
-
/**
|
|
1293
|
-
* GoneError
|
|
1294
|
-
*/
|
|
1295
|
-
410: GoneError;
|
|
1296
|
-
/**
|
|
1297
|
-
* MisdirectedRequestError
|
|
1298
|
-
*/
|
|
1299
|
-
421: MisdirectedRequestError;
|
|
1300
|
-
/**
|
|
1301
|
-
* UnprocessableEntityError
|
|
1302
|
-
*/
|
|
1303
|
-
422: UnprocessableEntityError;
|
|
1304
|
-
/**
|
|
1305
|
-
* TooManyRequestsError
|
|
1306
|
-
*/
|
|
1307
|
-
429: TooManyRequestsError;
|
|
1308
|
-
/**
|
|
1309
|
-
* InternalServerError
|
|
1310
|
-
*/
|
|
1311
|
-
500: InternalServerError;
|
|
1312
|
-
/**
|
|
1313
|
-
* ServiceUnavailableError
|
|
1314
|
-
*/
|
|
1315
|
-
503: ServiceUnavailableError;
|
|
1316
|
-
};
|
|
1317
|
-
export type PlatformSettingsGetMultiDcRoutingToggleError = PlatformSettingsGetMultiDcRoutingToggleErrors[keyof PlatformSettingsGetMultiDcRoutingToggleErrors];
|
|
1318
|
-
export type PlatformSettingsGetMultiDcRoutingToggleResponses = {
|
|
1319
|
-
/**
|
|
1320
|
-
* Success
|
|
1321
|
-
*/
|
|
1322
|
-
200: {
|
|
1323
|
-
code: number;
|
|
1324
|
-
data: {
|
|
1325
|
-
createdAt: string;
|
|
1326
|
-
enabled: boolean;
|
|
1327
|
-
key: string;
|
|
1328
|
-
updatedAt: string;
|
|
1329
|
-
} | null;
|
|
1330
|
-
error: {
|
|
1331
|
-
code: string;
|
|
1332
|
-
details?: unknown | null;
|
|
1333
|
-
message: string;
|
|
1334
|
-
rowErrors?: Array<{
|
|
1335
|
-
code: string;
|
|
1336
|
-
message: string;
|
|
1337
|
-
path: Array<string | number>;
|
|
1338
|
-
}> | null;
|
|
1339
|
-
} | null;
|
|
1340
|
-
pagination: {
|
|
1341
|
-
limit: number;
|
|
1342
|
-
page: number;
|
|
1343
|
-
total: number;
|
|
1344
|
-
totalPages: number;
|
|
1345
|
-
} | null;
|
|
1346
|
-
sdkBehavior?: {
|
|
1347
|
-
flags: {
|
|
1348
|
-
[key: string]: unknown;
|
|
1349
|
-
};
|
|
1350
|
-
v: number;
|
|
1351
|
-
} | null;
|
|
1352
|
-
success: boolean;
|
|
1353
|
-
};
|
|
1354
|
-
};
|
|
1355
|
-
export type PlatformSettingsGetMultiDcRoutingToggleResponse = PlatformSettingsGetMultiDcRoutingToggleResponses[keyof PlatformSettingsGetMultiDcRoutingToggleResponses];
|
|
1356
|
-
export type PlatformSettingsUpdateMultiDcRoutingToggleData = {
|
|
1357
|
-
body: {
|
|
1358
|
-
enabled: boolean;
|
|
1359
|
-
};
|
|
1360
|
-
path?: never;
|
|
1361
|
-
query?: never;
|
|
1362
|
-
url: '/v1/admin/multi-dc-routing';
|
|
1363
|
-
};
|
|
1364
|
-
export type PlatformSettingsUpdateMultiDcRoutingToggleErrors = {
|
|
1365
|
-
/**
|
|
1366
|
-
* BadRequestError
|
|
1367
|
-
*/
|
|
1368
|
-
400: BadRequestError;
|
|
1369
|
-
/**
|
|
1370
|
-
* UnauthorizedError
|
|
1371
|
-
*/
|
|
1372
|
-
401: UnauthorizedError;
|
|
1373
|
-
/**
|
|
1374
|
-
* ForbiddenError
|
|
1375
|
-
*/
|
|
1376
|
-
403: ForbiddenError;
|
|
1377
|
-
/**
|
|
1378
|
-
* NotFoundError
|
|
1379
|
-
*/
|
|
1380
|
-
404: NotFoundError;
|
|
1381
|
-
/**
|
|
1382
|
-
* ConflictError
|
|
1383
|
-
*/
|
|
1384
|
-
409: ConflictError;
|
|
1385
|
-
/**
|
|
1386
|
-
* GoneError
|
|
1387
|
-
*/
|
|
1388
|
-
410: GoneError;
|
|
1389
|
-
/**
|
|
1390
|
-
* MisdirectedRequestError
|
|
1391
|
-
*/
|
|
1392
|
-
421: MisdirectedRequestError;
|
|
1393
|
-
/**
|
|
1394
|
-
* UnprocessableEntityError
|
|
1395
|
-
*/
|
|
1396
|
-
422: UnprocessableEntityError;
|
|
1397
|
-
/**
|
|
1398
|
-
* TooManyRequestsError
|
|
1399
|
-
*/
|
|
1400
|
-
429: TooManyRequestsError;
|
|
1401
|
-
/**
|
|
1402
|
-
* InternalServerError
|
|
1403
|
-
*/
|
|
1404
|
-
500: InternalServerError;
|
|
1405
|
-
/**
|
|
1406
|
-
* ServiceUnavailableError
|
|
1407
|
-
*/
|
|
1408
|
-
503: ServiceUnavailableError;
|
|
1409
|
-
};
|
|
1410
|
-
export type PlatformSettingsUpdateMultiDcRoutingToggleError = PlatformSettingsUpdateMultiDcRoutingToggleErrors[keyof PlatformSettingsUpdateMultiDcRoutingToggleErrors];
|
|
1411
|
-
export type PlatformSettingsUpdateMultiDcRoutingToggleResponses = {
|
|
1412
|
-
/**
|
|
1413
|
-
* Success
|
|
1414
|
-
*/
|
|
1415
|
-
200: {
|
|
1416
|
-
code: number;
|
|
1417
|
-
data: {
|
|
1418
|
-
createdAt: string;
|
|
1419
|
-
enabled: boolean;
|
|
1420
|
-
key: string;
|
|
1421
|
-
updatedAt: string;
|
|
1422
|
-
} | null;
|
|
1423
|
-
error: {
|
|
1424
|
-
code: string;
|
|
1425
|
-
details?: unknown | null;
|
|
1426
|
-
message: string;
|
|
1427
|
-
rowErrors?: Array<{
|
|
1428
|
-
code: string;
|
|
1429
|
-
message: string;
|
|
1430
|
-
path: Array<string | number>;
|
|
1431
|
-
}> | null;
|
|
1432
|
-
} | null;
|
|
1433
|
-
pagination: {
|
|
1434
|
-
limit: number;
|
|
1435
|
-
page: number;
|
|
1436
|
-
total: number;
|
|
1437
|
-
totalPages: number;
|
|
1438
|
-
} | null;
|
|
1439
|
-
sdkBehavior?: {
|
|
1440
|
-
flags: {
|
|
1441
|
-
[key: string]: unknown;
|
|
1442
|
-
};
|
|
1443
|
-
v: number;
|
|
1444
|
-
} | null;
|
|
1445
|
-
success: boolean;
|
|
1446
|
-
};
|
|
1447
|
-
};
|
|
1448
|
-
export type PlatformSettingsUpdateMultiDcRoutingToggleResponse = PlatformSettingsUpdateMultiDcRoutingToggleResponses[keyof PlatformSettingsUpdateMultiDcRoutingToggleResponses];
|
|
1449
1266
|
export type PlatformSettingsGetPlatformSettingData = {
|
|
1450
1267
|
body?: never;
|
|
1451
1268
|
path: {
|
|
@@ -3348,6 +3165,7 @@ export type IngestTokenExchangeIngestTokenResponses = {
|
|
|
3348
3165
|
200: {
|
|
3349
3166
|
code: number;
|
|
3350
3167
|
data: {
|
|
3168
|
+
apiKeyId: string;
|
|
3351
3169
|
expiresAt: string;
|
|
3352
3170
|
projectId: string;
|
|
3353
3171
|
scopeClass: 'project' | 'org';
|
|
@@ -3471,13 +3289,13 @@ export type OrganizationsAcceptOrganizationInvitationResponses = {
|
|
|
3471
3289
|
};
|
|
3472
3290
|
};
|
|
3473
3291
|
export type OrganizationsAcceptOrganizationInvitationResponse = OrganizationsAcceptOrganizationInvitationResponses[keyof OrganizationsAcceptOrganizationInvitationResponses];
|
|
3474
|
-
export type
|
|
3292
|
+
export type OrganizationsAcceptPendingOrganizationInvitationsData = {
|
|
3475
3293
|
body?: never;
|
|
3476
3294
|
path?: never;
|
|
3477
3295
|
query?: never;
|
|
3478
|
-
url: '/v1/
|
|
3296
|
+
url: '/v1/invitations/accept-pending';
|
|
3479
3297
|
};
|
|
3480
|
-
export type
|
|
3298
|
+
export type OrganizationsAcceptPendingOrganizationInvitationsErrors = {
|
|
3481
3299
|
/**
|
|
3482
3300
|
* BadRequestError
|
|
3483
3301
|
*/
|
|
@@ -3523,25 +3341,15 @@ export type ApiKeysListApiKeysSuperErrors = {
|
|
|
3523
3341
|
*/
|
|
3524
3342
|
503: ServiceUnavailableError;
|
|
3525
3343
|
};
|
|
3526
|
-
export type
|
|
3527
|
-
export type
|
|
3344
|
+
export type OrganizationsAcceptPendingOrganizationInvitationsError = OrganizationsAcceptPendingOrganizationInvitationsErrors[keyof OrganizationsAcceptPendingOrganizationInvitationsErrors];
|
|
3345
|
+
export type OrganizationsAcceptPendingOrganizationInvitationsResponses = {
|
|
3528
3346
|
/**
|
|
3529
3347
|
* Success
|
|
3530
3348
|
*/
|
|
3531
3349
|
200: {
|
|
3532
3350
|
code: number;
|
|
3533
3351
|
data: {
|
|
3534
|
-
|
|
3535
|
-
createdAt: string;
|
|
3536
|
-
environment: 'live' | 'test';
|
|
3537
|
-
expiresAt: string;
|
|
3538
|
-
id: string;
|
|
3539
|
-
key: string;
|
|
3540
|
-
orgId: string | null;
|
|
3541
|
-
projectId: string | null;
|
|
3542
|
-
revokedAt: string | null;
|
|
3543
|
-
scopes: Array<string>;
|
|
3544
|
-
}>;
|
|
3352
|
+
acceptedOrganizationIds: Array<string>;
|
|
3545
3353
|
} | null;
|
|
3546
3354
|
error: {
|
|
3547
3355
|
code: string;
|
|
@@ -3568,19 +3376,16 @@ export type ApiKeysListApiKeysSuperResponses = {
|
|
|
3568
3376
|
success: boolean;
|
|
3569
3377
|
};
|
|
3570
3378
|
};
|
|
3571
|
-
export type
|
|
3572
|
-
export type
|
|
3379
|
+
export type OrganizationsAcceptPendingOrganizationInvitationsResponse = OrganizationsAcceptPendingOrganizationInvitationsResponses[keyof OrganizationsAcceptPendingOrganizationInvitationsResponses];
|
|
3380
|
+
export type OrganizationsGetOrganizationInvitationDetailsData = {
|
|
3573
3381
|
body: {
|
|
3574
|
-
|
|
3575
|
-
orgId?: string | null;
|
|
3576
|
-
projectId?: string | null;
|
|
3577
|
-
scopes: Array<string>;
|
|
3382
|
+
token: string;
|
|
3578
3383
|
};
|
|
3579
3384
|
path?: never;
|
|
3580
3385
|
query?: never;
|
|
3581
|
-
url: '/v1/
|
|
3386
|
+
url: '/v1/invitations/details';
|
|
3582
3387
|
};
|
|
3583
|
-
export type
|
|
3388
|
+
export type OrganizationsGetOrganizationInvitationDetailsErrors = {
|
|
3584
3389
|
/**
|
|
3585
3390
|
* BadRequestError
|
|
3586
3391
|
*/
|
|
@@ -3626,17 +3431,19 @@ export type ApiKeysCreateApiKeySuperErrors = {
|
|
|
3626
3431
|
*/
|
|
3627
3432
|
503: ServiceUnavailableError;
|
|
3628
3433
|
};
|
|
3629
|
-
export type
|
|
3630
|
-
export type
|
|
3434
|
+
export type OrganizationsGetOrganizationInvitationDetailsError = OrganizationsGetOrganizationInvitationDetailsErrors[keyof OrganizationsGetOrganizationInvitationDetailsErrors];
|
|
3435
|
+
export type OrganizationsGetOrganizationInvitationDetailsResponses = {
|
|
3631
3436
|
/**
|
|
3632
3437
|
* Success
|
|
3633
3438
|
*/
|
|
3634
|
-
|
|
3439
|
+
200: {
|
|
3635
3440
|
code: number;
|
|
3636
3441
|
data: {
|
|
3637
|
-
|
|
3638
|
-
|
|
3639
|
-
|
|
3442
|
+
details: {
|
|
3443
|
+
inviterEmail: string | null;
|
|
3444
|
+
inviterName: string | null;
|
|
3445
|
+
organizationName: string;
|
|
3446
|
+
} | null;
|
|
3640
3447
|
} | null;
|
|
3641
3448
|
error: {
|
|
3642
3449
|
code: string;
|
|
@@ -3663,16 +3470,14 @@ export type ApiKeysCreateApiKeySuperResponses = {
|
|
|
3663
3470
|
success: boolean;
|
|
3664
3471
|
};
|
|
3665
3472
|
};
|
|
3666
|
-
export type
|
|
3667
|
-
export type
|
|
3473
|
+
export type OrganizationsGetOrganizationInvitationDetailsResponse = OrganizationsGetOrganizationInvitationDetailsResponses[keyof OrganizationsGetOrganizationInvitationDetailsResponses];
|
|
3474
|
+
export type ApiKeysListApiKeysSuperData = {
|
|
3668
3475
|
body?: never;
|
|
3669
|
-
path
|
|
3670
|
-
id: string;
|
|
3671
|
-
};
|
|
3476
|
+
path?: never;
|
|
3672
3477
|
query?: never;
|
|
3673
|
-
url: '/v1/keys
|
|
3478
|
+
url: '/v1/keys';
|
|
3674
3479
|
};
|
|
3675
|
-
export type
|
|
3480
|
+
export type ApiKeysListApiKeysSuperErrors = {
|
|
3676
3481
|
/**
|
|
3677
3482
|
* BadRequestError
|
|
3678
3483
|
*/
|
|
@@ -3718,15 +3523,25 @@ export type ApiKeysRevokeApiKeySuperErrors = {
|
|
|
3718
3523
|
*/
|
|
3719
3524
|
503: ServiceUnavailableError;
|
|
3720
3525
|
};
|
|
3721
|
-
export type
|
|
3722
|
-
export type
|
|
3526
|
+
export type ApiKeysListApiKeysSuperError = ApiKeysListApiKeysSuperErrors[keyof ApiKeysListApiKeysSuperErrors];
|
|
3527
|
+
export type ApiKeysListApiKeysSuperResponses = {
|
|
3723
3528
|
/**
|
|
3724
3529
|
* Success
|
|
3725
3530
|
*/
|
|
3726
3531
|
200: {
|
|
3727
3532
|
code: number;
|
|
3728
3533
|
data: {
|
|
3729
|
-
|
|
3534
|
+
keys: Array<{
|
|
3535
|
+
createdAt: string;
|
|
3536
|
+
environment: 'live' | 'test';
|
|
3537
|
+
expiresAt: string;
|
|
3538
|
+
id: string;
|
|
3539
|
+
key: string;
|
|
3540
|
+
orgId: string | null;
|
|
3541
|
+
projectId: string | null;
|
|
3542
|
+
revokedAt: string | null;
|
|
3543
|
+
scopes: Array<string>;
|
|
3544
|
+
}>;
|
|
3730
3545
|
} | null;
|
|
3731
3546
|
error: {
|
|
3732
3547
|
code: string;
|
|
@@ -3753,20 +3568,205 @@ export type ApiKeysRevokeApiKeySuperResponses = {
|
|
|
3753
3568
|
success: boolean;
|
|
3754
3569
|
};
|
|
3755
3570
|
};
|
|
3756
|
-
export type
|
|
3757
|
-
export type
|
|
3758
|
-
body
|
|
3759
|
-
|
|
3760
|
-
|
|
3761
|
-
|
|
3762
|
-
|
|
3763
|
-
tokenType?: 'input' | 'output' | 'cache_creation' | 'cache_creation_5m' | 'cache_creation_1h' | 'cache_read' | 'reasoning' | null;
|
|
3764
|
-
asOf?: string | null;
|
|
3765
|
-
page?: string | null;
|
|
3766
|
-
limit?: string | null;
|
|
3767
|
-
includeDeleted?: 'true' | 'false' | null;
|
|
3571
|
+
export type ApiKeysListApiKeysSuperResponse = ApiKeysListApiKeysSuperResponses[keyof ApiKeysListApiKeysSuperResponses];
|
|
3572
|
+
export type ApiKeysCreateApiKeySuperData = {
|
|
3573
|
+
body: {
|
|
3574
|
+
environment: 'live' | 'test';
|
|
3575
|
+
orgId?: string | null;
|
|
3576
|
+
projectId?: string | null;
|
|
3577
|
+
scopes: Array<string>;
|
|
3768
3578
|
};
|
|
3769
|
-
|
|
3579
|
+
path?: never;
|
|
3580
|
+
query?: never;
|
|
3581
|
+
url: '/v1/keys';
|
|
3582
|
+
};
|
|
3583
|
+
export type ApiKeysCreateApiKeySuperErrors = {
|
|
3584
|
+
/**
|
|
3585
|
+
* BadRequestError
|
|
3586
|
+
*/
|
|
3587
|
+
400: BadRequestError;
|
|
3588
|
+
/**
|
|
3589
|
+
* UnauthorizedError
|
|
3590
|
+
*/
|
|
3591
|
+
401: UnauthorizedError;
|
|
3592
|
+
/**
|
|
3593
|
+
* ForbiddenError
|
|
3594
|
+
*/
|
|
3595
|
+
403: ForbiddenError;
|
|
3596
|
+
/**
|
|
3597
|
+
* NotFoundError
|
|
3598
|
+
*/
|
|
3599
|
+
404: NotFoundError;
|
|
3600
|
+
/**
|
|
3601
|
+
* ConflictError
|
|
3602
|
+
*/
|
|
3603
|
+
409: ConflictError;
|
|
3604
|
+
/**
|
|
3605
|
+
* GoneError
|
|
3606
|
+
*/
|
|
3607
|
+
410: GoneError;
|
|
3608
|
+
/**
|
|
3609
|
+
* MisdirectedRequestError
|
|
3610
|
+
*/
|
|
3611
|
+
421: MisdirectedRequestError;
|
|
3612
|
+
/**
|
|
3613
|
+
* UnprocessableEntityError
|
|
3614
|
+
*/
|
|
3615
|
+
422: UnprocessableEntityError;
|
|
3616
|
+
/**
|
|
3617
|
+
* TooManyRequestsError
|
|
3618
|
+
*/
|
|
3619
|
+
429: TooManyRequestsError;
|
|
3620
|
+
/**
|
|
3621
|
+
* InternalServerError
|
|
3622
|
+
*/
|
|
3623
|
+
500: InternalServerError;
|
|
3624
|
+
/**
|
|
3625
|
+
* ServiceUnavailableError
|
|
3626
|
+
*/
|
|
3627
|
+
503: ServiceUnavailableError;
|
|
3628
|
+
};
|
|
3629
|
+
export type ApiKeysCreateApiKeySuperError = ApiKeysCreateApiKeySuperErrors[keyof ApiKeysCreateApiKeySuperErrors];
|
|
3630
|
+
export type ApiKeysCreateApiKeySuperResponses = {
|
|
3631
|
+
/**
|
|
3632
|
+
* Success
|
|
3633
|
+
*/
|
|
3634
|
+
201: {
|
|
3635
|
+
code: number;
|
|
3636
|
+
data: {
|
|
3637
|
+
expiresAt: string;
|
|
3638
|
+
jwt: string;
|
|
3639
|
+
key: string;
|
|
3640
|
+
} | null;
|
|
3641
|
+
error: {
|
|
3642
|
+
code: string;
|
|
3643
|
+
details?: unknown | null;
|
|
3644
|
+
message: string;
|
|
3645
|
+
rowErrors?: Array<{
|
|
3646
|
+
code: string;
|
|
3647
|
+
message: string;
|
|
3648
|
+
path: Array<string | number>;
|
|
3649
|
+
}> | null;
|
|
3650
|
+
} | null;
|
|
3651
|
+
pagination: {
|
|
3652
|
+
limit: number;
|
|
3653
|
+
page: number;
|
|
3654
|
+
total: number;
|
|
3655
|
+
totalPages: number;
|
|
3656
|
+
} | null;
|
|
3657
|
+
sdkBehavior?: {
|
|
3658
|
+
flags: {
|
|
3659
|
+
[key: string]: unknown;
|
|
3660
|
+
};
|
|
3661
|
+
v: number;
|
|
3662
|
+
} | null;
|
|
3663
|
+
success: boolean;
|
|
3664
|
+
};
|
|
3665
|
+
};
|
|
3666
|
+
export type ApiKeysCreateApiKeySuperResponse = ApiKeysCreateApiKeySuperResponses[keyof ApiKeysCreateApiKeySuperResponses];
|
|
3667
|
+
export type ApiKeysRevokeApiKeySuperData = {
|
|
3668
|
+
body?: never;
|
|
3669
|
+
path: {
|
|
3670
|
+
id: string;
|
|
3671
|
+
};
|
|
3672
|
+
query?: never;
|
|
3673
|
+
url: '/v1/keys/{id}';
|
|
3674
|
+
};
|
|
3675
|
+
export type ApiKeysRevokeApiKeySuperErrors = {
|
|
3676
|
+
/**
|
|
3677
|
+
* BadRequestError
|
|
3678
|
+
*/
|
|
3679
|
+
400: BadRequestError;
|
|
3680
|
+
/**
|
|
3681
|
+
* UnauthorizedError
|
|
3682
|
+
*/
|
|
3683
|
+
401: UnauthorizedError;
|
|
3684
|
+
/**
|
|
3685
|
+
* ForbiddenError
|
|
3686
|
+
*/
|
|
3687
|
+
403: ForbiddenError;
|
|
3688
|
+
/**
|
|
3689
|
+
* NotFoundError
|
|
3690
|
+
*/
|
|
3691
|
+
404: NotFoundError;
|
|
3692
|
+
/**
|
|
3693
|
+
* ConflictError
|
|
3694
|
+
*/
|
|
3695
|
+
409: ConflictError;
|
|
3696
|
+
/**
|
|
3697
|
+
* GoneError
|
|
3698
|
+
*/
|
|
3699
|
+
410: GoneError;
|
|
3700
|
+
/**
|
|
3701
|
+
* MisdirectedRequestError
|
|
3702
|
+
*/
|
|
3703
|
+
421: MisdirectedRequestError;
|
|
3704
|
+
/**
|
|
3705
|
+
* UnprocessableEntityError
|
|
3706
|
+
*/
|
|
3707
|
+
422: UnprocessableEntityError;
|
|
3708
|
+
/**
|
|
3709
|
+
* TooManyRequestsError
|
|
3710
|
+
*/
|
|
3711
|
+
429: TooManyRequestsError;
|
|
3712
|
+
/**
|
|
3713
|
+
* InternalServerError
|
|
3714
|
+
*/
|
|
3715
|
+
500: InternalServerError;
|
|
3716
|
+
/**
|
|
3717
|
+
* ServiceUnavailableError
|
|
3718
|
+
*/
|
|
3719
|
+
503: ServiceUnavailableError;
|
|
3720
|
+
};
|
|
3721
|
+
export type ApiKeysRevokeApiKeySuperError = ApiKeysRevokeApiKeySuperErrors[keyof ApiKeysRevokeApiKeySuperErrors];
|
|
3722
|
+
export type ApiKeysRevokeApiKeySuperResponses = {
|
|
3723
|
+
/**
|
|
3724
|
+
* Success
|
|
3725
|
+
*/
|
|
3726
|
+
200: {
|
|
3727
|
+
code: number;
|
|
3728
|
+
data: {
|
|
3729
|
+
revoked: boolean;
|
|
3730
|
+
} | null;
|
|
3731
|
+
error: {
|
|
3732
|
+
code: string;
|
|
3733
|
+
details?: unknown | null;
|
|
3734
|
+
message: string;
|
|
3735
|
+
rowErrors?: Array<{
|
|
3736
|
+
code: string;
|
|
3737
|
+
message: string;
|
|
3738
|
+
path: Array<string | number>;
|
|
3739
|
+
}> | null;
|
|
3740
|
+
} | null;
|
|
3741
|
+
pagination: {
|
|
3742
|
+
limit: number;
|
|
3743
|
+
page: number;
|
|
3744
|
+
total: number;
|
|
3745
|
+
totalPages: number;
|
|
3746
|
+
} | null;
|
|
3747
|
+
sdkBehavior?: {
|
|
3748
|
+
flags: {
|
|
3749
|
+
[key: string]: unknown;
|
|
3750
|
+
};
|
|
3751
|
+
v: number;
|
|
3752
|
+
} | null;
|
|
3753
|
+
success: boolean;
|
|
3754
|
+
};
|
|
3755
|
+
};
|
|
3756
|
+
export type ApiKeysRevokeApiKeySuperResponse = ApiKeysRevokeApiKeySuperResponses[keyof ApiKeysRevokeApiKeySuperResponses];
|
|
3757
|
+
export type CostRatesListBuiltinCostRatesData = {
|
|
3758
|
+
body?: never;
|
|
3759
|
+
path?: never;
|
|
3760
|
+
query?: {
|
|
3761
|
+
provider?: string | null;
|
|
3762
|
+
model?: string | null;
|
|
3763
|
+
tokenType?: 'input' | 'output' | 'cache_creation' | 'cache_creation_5m' | 'cache_creation_1h' | 'cache_read' | 'reasoning' | null;
|
|
3764
|
+
asOf?: string | null;
|
|
3765
|
+
page?: string | null;
|
|
3766
|
+
limit?: string | null;
|
|
3767
|
+
includeDeleted?: 'true' | 'false' | null;
|
|
3768
|
+
};
|
|
3769
|
+
url: '/v1/llm-cost-rates/builtin';
|
|
3770
3770
|
};
|
|
3771
3771
|
export type CostRatesListBuiltinCostRatesErrors = {
|
|
3772
3772
|
/**
|
|
@@ -7681,27 +7681,14 @@ export type WorkspacesCreateWorkspaceResponses = {
|
|
|
7681
7681
|
201: {
|
|
7682
7682
|
code: number;
|
|
7683
7683
|
data: {
|
|
7684
|
-
|
|
7685
|
-
|
|
7686
|
-
|
|
7687
|
-
|
|
7688
|
-
|
|
7689
|
-
|
|
7690
|
-
|
|
7691
|
-
|
|
7692
|
-
updatedAt: string;
|
|
7693
|
-
workspaceId: string;
|
|
7694
|
-
};
|
|
7695
|
-
workspace: {
|
|
7696
|
-
allowPlatformDiscovery: boolean;
|
|
7697
|
-
createdAt: string;
|
|
7698
|
-
id: string;
|
|
7699
|
-
name: string;
|
|
7700
|
-
organizationId: string;
|
|
7701
|
-
slug: string;
|
|
7702
|
-
status: 'active' | 'archived' | 'deleted';
|
|
7703
|
-
updatedAt: string;
|
|
7704
|
-
};
|
|
7684
|
+
allowPlatformDiscovery: boolean;
|
|
7685
|
+
createdAt: string;
|
|
7686
|
+
id: string;
|
|
7687
|
+
name: string;
|
|
7688
|
+
organizationId: string;
|
|
7689
|
+
slug: string;
|
|
7690
|
+
status: 'active' | 'archived' | 'deleted';
|
|
7691
|
+
updatedAt: string;
|
|
7705
7692
|
} | null;
|
|
7706
7693
|
error: {
|
|
7707
7694
|
code: string;
|
|
@@ -9500,7 +9487,7 @@ export type CredentialsDirectoryListProjectCredentialsDirectoryData = {
|
|
|
9500
9487
|
};
|
|
9501
9488
|
query?: {
|
|
9502
9489
|
catalog_id?: string | null;
|
|
9503
|
-
lifecycle_status?: 'active' | null;
|
|
9490
|
+
lifecycle_status?: 'active' | 'deleted' | null;
|
|
9504
9491
|
attached_provider_count?: '0' | '1' | '2+' | null;
|
|
9505
9492
|
limit?: string | null;
|
|
9506
9493
|
cursor?: string | null;
|
|
@@ -9576,7 +9563,7 @@ export type CredentialsDirectoryListProjectCredentialsDirectoryResponses = {
|
|
|
9576
9563
|
};
|
|
9577
9564
|
createdAt: string;
|
|
9578
9565
|
createdBy: string | null;
|
|
9579
|
-
credentialType:
|
|
9566
|
+
credentialType: 'api-key' | 'oauth' | 'iam-role' | 'access-key' | 'service-account' | 'none' | 'passthrough';
|
|
9580
9567
|
currentActivations: Array<{
|
|
9581
9568
|
activeFrom: string;
|
|
9582
9569
|
activeTo: string | null;
|
|
@@ -9590,7 +9577,7 @@ export type CredentialsDirectoryListProjectCredentialsDirectoryResponses = {
|
|
|
9590
9577
|
keyLast4: string;
|
|
9591
9578
|
label: string | null;
|
|
9592
9579
|
lastRotationAt: string | null;
|
|
9593
|
-
lifecycleStatus: 'active';
|
|
9580
|
+
lifecycleStatus: 'active' | 'deleted';
|
|
9594
9581
|
projectId: string;
|
|
9595
9582
|
}>;
|
|
9596
9583
|
pagination: {
|
|
@@ -13179,7 +13166,7 @@ export type PromptsListPromptsData = {
|
|
|
13179
13166
|
search?: string | null;
|
|
13180
13167
|
sortDir?: 'asc' | 'desc' | null;
|
|
13181
13168
|
status?: string | null;
|
|
13182
|
-
sortBy?: 'createdAt' | 'updatedAt' | 'name' | 'status' | 'latestVersion' | null;
|
|
13169
|
+
sortBy?: 'createdAt' | 'updatedAt' | 'name' | 'status' | 'latestVersion' | 'environments' | null;
|
|
13183
13170
|
tags?: string | null;
|
|
13184
13171
|
environment?: string | null;
|
|
13185
13172
|
};
|
|
@@ -13254,6 +13241,7 @@ export type PromptsListPromptsResponses = {
|
|
|
13254
13241
|
lastModifiedAt: string;
|
|
13255
13242
|
lastModifiedByDisplayName: string | null;
|
|
13256
13243
|
lastModifiedByImage: string | null;
|
|
13244
|
+
lastModifiedByType: 'user' | 'api_key' | 'unknown' | null;
|
|
13257
13245
|
lastModifiedByUserId: string | null;
|
|
13258
13246
|
latestVersion: number | null;
|
|
13259
13247
|
name: string;
|
|
@@ -13983,7 +13971,9 @@ export type PromptsListPromptLabelsData = {
|
|
|
13983
13971
|
projectId: string;
|
|
13984
13972
|
promptId: string;
|
|
13985
13973
|
};
|
|
13986
|
-
query?:
|
|
13974
|
+
query?: {
|
|
13975
|
+
asOf?: string | null;
|
|
13976
|
+
};
|
|
13987
13977
|
url: '/v1/projects/{projectId}/prompts/{promptId}/labels';
|
|
13988
13978
|
};
|
|
13989
13979
|
export type PromptsListPromptLabelsErrors = {
|
|
@@ -14068,7 +14058,7 @@ export type PromptsListPromptLabelsResponses = {
|
|
|
14068
14058
|
export type PromptsListPromptLabelsResponse = PromptsListPromptLabelsResponses[keyof PromptsListPromptLabelsResponses];
|
|
14069
14059
|
export type PromptsMovePromptLabelData = {
|
|
14070
14060
|
body: {
|
|
14071
|
-
reason
|
|
14061
|
+
reason: string;
|
|
14072
14062
|
versionId: string;
|
|
14073
14063
|
};
|
|
14074
14064
|
path: {
|
|
@@ -14266,7 +14256,7 @@ export type PromptsListPromptLabelEventsByLabelResponses = {
|
|
|
14266
14256
|
export type PromptsListPromptLabelEventsByLabelResponse = PromptsListPromptLabelEventsByLabelResponses[keyof PromptsListPromptLabelEventsByLabelResponses];
|
|
14267
14257
|
export type PromptsSetWeightedReleaseData = {
|
|
14268
14258
|
body: {
|
|
14269
|
-
reason
|
|
14259
|
+
reason: string;
|
|
14270
14260
|
variants: Array<{
|
|
14271
14261
|
name: string;
|
|
14272
14262
|
versionId: string;
|
|
@@ -14361,16 +14351,18 @@ export type PromptsSetWeightedReleaseResponses = {
|
|
|
14361
14351
|
};
|
|
14362
14352
|
};
|
|
14363
14353
|
export type PromptsSetWeightedReleaseResponse = PromptsSetWeightedReleaseResponses[keyof PromptsSetWeightedReleaseResponses];
|
|
14364
|
-
export type
|
|
14354
|
+
export type PromptMetricsGetPromptRequestMetricsData = {
|
|
14365
14355
|
body?: never;
|
|
14366
14356
|
path: {
|
|
14367
14357
|
projectId: string;
|
|
14368
14358
|
promptId: string;
|
|
14369
14359
|
};
|
|
14370
|
-
query?:
|
|
14371
|
-
|
|
14360
|
+
query?: {
|
|
14361
|
+
window?: string | null;
|
|
14362
|
+
};
|
|
14363
|
+
url: '/v1/projects/{projectId}/prompts/{promptId}/request-metrics';
|
|
14372
14364
|
};
|
|
14373
|
-
export type
|
|
14365
|
+
export type PromptMetricsGetPromptRequestMetricsErrors = {
|
|
14374
14366
|
/**
|
|
14375
14367
|
* BadRequestError
|
|
14376
14368
|
*/
|
|
@@ -14416,14 +14408,25 @@ export type PromptsListPromptVersionsErrors = {
|
|
|
14416
14408
|
*/
|
|
14417
14409
|
503: ServiceUnavailableError;
|
|
14418
14410
|
};
|
|
14419
|
-
export type
|
|
14420
|
-
export type
|
|
14411
|
+
export type PromptMetricsGetPromptRequestMetricsError = PromptMetricsGetPromptRequestMetricsErrors[keyof PromptMetricsGetPromptRequestMetricsErrors];
|
|
14412
|
+
export type PromptMetricsGetPromptRequestMetricsResponses = {
|
|
14421
14413
|
/**
|
|
14422
14414
|
* Success
|
|
14423
14415
|
*/
|
|
14424
14416
|
200: {
|
|
14425
14417
|
code: number;
|
|
14426
|
-
data:
|
|
14418
|
+
data: {
|
|
14419
|
+
bucketMinutes: number;
|
|
14420
|
+
series: Array<{
|
|
14421
|
+
points: Array<{
|
|
14422
|
+
bucketStart: string;
|
|
14423
|
+
requests: number;
|
|
14424
|
+
}>;
|
|
14425
|
+
totalRequests: number;
|
|
14426
|
+
version: string;
|
|
14427
|
+
}>;
|
|
14428
|
+
windowHours: number;
|
|
14429
|
+
} | null;
|
|
14427
14430
|
error: {
|
|
14428
14431
|
code: string;
|
|
14429
14432
|
details?: unknown | null;
|
|
@@ -14449,17 +14452,9 @@ export type PromptsListPromptVersionsResponses = {
|
|
|
14449
14452
|
success: boolean;
|
|
14450
14453
|
};
|
|
14451
14454
|
};
|
|
14452
|
-
export type
|
|
14453
|
-
export type
|
|
14454
|
-
body
|
|
14455
|
-
allowBlockRemovals?: Array<string> | null;
|
|
14456
|
-
baseVersionId?: string | null;
|
|
14457
|
-
changelog?: string | null;
|
|
14458
|
-
format: 'text' | 'chat';
|
|
14459
|
-
modelConfig?: unknown | null;
|
|
14460
|
-
templateJson: unknown;
|
|
14461
|
-
variablesSchema?: unknown | null;
|
|
14462
|
-
};
|
|
14455
|
+
export type PromptMetricsGetPromptRequestMetricsResponse = PromptMetricsGetPromptRequestMetricsResponses[keyof PromptMetricsGetPromptRequestMetricsResponses];
|
|
14456
|
+
export type PromptsListPromptVersionsData = {
|
|
14457
|
+
body?: never;
|
|
14463
14458
|
path: {
|
|
14464
14459
|
projectId: string;
|
|
14465
14460
|
promptId: string;
|
|
@@ -14467,7 +14462,7 @@ export type PromptsCreatePromptVersionData = {
|
|
|
14467
14462
|
query?: never;
|
|
14468
14463
|
url: '/v1/projects/{projectId}/prompts/{promptId}/versions';
|
|
14469
14464
|
};
|
|
14470
|
-
export type
|
|
14465
|
+
export type PromptsListPromptVersionsErrors = {
|
|
14471
14466
|
/**
|
|
14472
14467
|
* BadRequestError
|
|
14473
14468
|
*/
|
|
@@ -14513,14 +14508,111 @@ export type PromptsCreatePromptVersionErrors = {
|
|
|
14513
14508
|
*/
|
|
14514
14509
|
503: ServiceUnavailableError;
|
|
14515
14510
|
};
|
|
14516
|
-
export type
|
|
14517
|
-
export type
|
|
14511
|
+
export type PromptsListPromptVersionsError = PromptsListPromptVersionsErrors[keyof PromptsListPromptVersionsErrors];
|
|
14512
|
+
export type PromptsListPromptVersionsResponses = {
|
|
14518
14513
|
/**
|
|
14519
14514
|
* Success
|
|
14520
14515
|
*/
|
|
14521
|
-
|
|
14516
|
+
200: {
|
|
14522
14517
|
code: number;
|
|
14523
|
-
data: PromptVersion | null;
|
|
14518
|
+
data: Array<PromptVersion> | null;
|
|
14519
|
+
error: {
|
|
14520
|
+
code: string;
|
|
14521
|
+
details?: unknown | null;
|
|
14522
|
+
message: string;
|
|
14523
|
+
rowErrors?: Array<{
|
|
14524
|
+
code: string;
|
|
14525
|
+
message: string;
|
|
14526
|
+
path: Array<string | number>;
|
|
14527
|
+
}> | null;
|
|
14528
|
+
} | null;
|
|
14529
|
+
pagination: {
|
|
14530
|
+
limit: number;
|
|
14531
|
+
page: number;
|
|
14532
|
+
total: number;
|
|
14533
|
+
totalPages: number;
|
|
14534
|
+
} | null;
|
|
14535
|
+
sdkBehavior?: {
|
|
14536
|
+
flags: {
|
|
14537
|
+
[key: string]: unknown;
|
|
14538
|
+
};
|
|
14539
|
+
v: number;
|
|
14540
|
+
} | null;
|
|
14541
|
+
success: boolean;
|
|
14542
|
+
};
|
|
14543
|
+
};
|
|
14544
|
+
export type PromptsListPromptVersionsResponse = PromptsListPromptVersionsResponses[keyof PromptsListPromptVersionsResponses];
|
|
14545
|
+
export type PromptsCreatePromptVersionData = {
|
|
14546
|
+
body: {
|
|
14547
|
+
allowBlockRemovals?: Array<string> | null;
|
|
14548
|
+
baseVersionId?: string | null;
|
|
14549
|
+
changelog?: string | null;
|
|
14550
|
+
format: 'text' | 'chat';
|
|
14551
|
+
modelConfig?: unknown | null;
|
|
14552
|
+
templateJson: unknown;
|
|
14553
|
+
variablesSchema?: unknown | null;
|
|
14554
|
+
};
|
|
14555
|
+
path: {
|
|
14556
|
+
projectId: string;
|
|
14557
|
+
promptId: string;
|
|
14558
|
+
};
|
|
14559
|
+
query?: never;
|
|
14560
|
+
url: '/v1/projects/{projectId}/prompts/{promptId}/versions';
|
|
14561
|
+
};
|
|
14562
|
+
export type PromptsCreatePromptVersionErrors = {
|
|
14563
|
+
/**
|
|
14564
|
+
* BadRequestError
|
|
14565
|
+
*/
|
|
14566
|
+
400: BadRequestError;
|
|
14567
|
+
/**
|
|
14568
|
+
* UnauthorizedError
|
|
14569
|
+
*/
|
|
14570
|
+
401: UnauthorizedError;
|
|
14571
|
+
/**
|
|
14572
|
+
* ForbiddenError
|
|
14573
|
+
*/
|
|
14574
|
+
403: ForbiddenError;
|
|
14575
|
+
/**
|
|
14576
|
+
* NotFoundError
|
|
14577
|
+
*/
|
|
14578
|
+
404: NotFoundError;
|
|
14579
|
+
/**
|
|
14580
|
+
* ConflictError
|
|
14581
|
+
*/
|
|
14582
|
+
409: ConflictError;
|
|
14583
|
+
/**
|
|
14584
|
+
* GoneError
|
|
14585
|
+
*/
|
|
14586
|
+
410: GoneError;
|
|
14587
|
+
/**
|
|
14588
|
+
* MisdirectedRequestError
|
|
14589
|
+
*/
|
|
14590
|
+
421: MisdirectedRequestError;
|
|
14591
|
+
/**
|
|
14592
|
+
* UnprocessableEntityError
|
|
14593
|
+
*/
|
|
14594
|
+
422: UnprocessableEntityError;
|
|
14595
|
+
/**
|
|
14596
|
+
* TooManyRequestsError
|
|
14597
|
+
*/
|
|
14598
|
+
429: TooManyRequestsError;
|
|
14599
|
+
/**
|
|
14600
|
+
* InternalServerError
|
|
14601
|
+
*/
|
|
14602
|
+
500: InternalServerError;
|
|
14603
|
+
/**
|
|
14604
|
+
* ServiceUnavailableError
|
|
14605
|
+
*/
|
|
14606
|
+
503: ServiceUnavailableError;
|
|
14607
|
+
};
|
|
14608
|
+
export type PromptsCreatePromptVersionError = PromptsCreatePromptVersionErrors[keyof PromptsCreatePromptVersionErrors];
|
|
14609
|
+
export type PromptsCreatePromptVersionResponses = {
|
|
14610
|
+
/**
|
|
14611
|
+
* Success
|
|
14612
|
+
*/
|
|
14613
|
+
201: {
|
|
14614
|
+
code: number;
|
|
14615
|
+
data: PromptVersion | null;
|
|
14524
14616
|
error: {
|
|
14525
14617
|
code: string;
|
|
14526
14618
|
details?: unknown | null;
|
|
@@ -14660,6 +14752,11 @@ export type PromptsGetPromptVersionDiffResponses = {
|
|
|
14660
14752
|
before: 'system' | 'user' | 'assistant' | 'developer' | 'tool';
|
|
14661
14753
|
name: string;
|
|
14662
14754
|
op: 'edit_role';
|
|
14755
|
+
} | {
|
|
14756
|
+
after: boolean;
|
|
14757
|
+
before: boolean;
|
|
14758
|
+
name: string;
|
|
14759
|
+
op: 'edit_required';
|
|
14663
14760
|
} | {
|
|
14664
14761
|
after: {
|
|
14665
14762
|
description?: string | null;
|
|
@@ -15282,6 +15379,7 @@ export type CredentialLifecycleRenameCredentialResponses = {
|
|
|
15282
15379
|
data: {
|
|
15283
15380
|
createdAt: string;
|
|
15284
15381
|
credentialType: 'api-key' | 'oauth' | 'iam-role' | 'access-key' | 'service-account' | 'none' | 'passthrough';
|
|
15382
|
+
deletedAt?: string | null | null;
|
|
15285
15383
|
id: string;
|
|
15286
15384
|
keyLast4: string;
|
|
15287
15385
|
label: string | null;
|
|
@@ -15572,6 +15670,7 @@ export type CredentialLifecycleRestoreCredentialResponses = {
|
|
|
15572
15670
|
credential: {
|
|
15573
15671
|
createdAt: string;
|
|
15574
15672
|
credentialType: 'api-key' | 'oauth' | 'iam-role' | 'access-key' | 'service-account' | 'none' | 'passthrough';
|
|
15673
|
+
deletedAt?: string | null | null;
|
|
15575
15674
|
id: string;
|
|
15576
15675
|
keyLast4: string;
|
|
15577
15676
|
label: string | null;
|
|
@@ -16988,6 +17087,7 @@ export type RoutingProvidersListRoutingProvidersResponses = {
|
|
|
16988
17087
|
200: {
|
|
16989
17088
|
code: number;
|
|
16990
17089
|
data: Array<{
|
|
17090
|
+
affectedEnvCount: number;
|
|
16991
17091
|
apiVersion: string | null;
|
|
16992
17092
|
archivedAt: string | null;
|
|
16993
17093
|
authHeaderName: string | null;
|
|
@@ -16998,20 +17098,32 @@ export type RoutingProvidersListRoutingProvidersResponses = {
|
|
|
16998
17098
|
createdByDisplay: string | null;
|
|
16999
17099
|
createdByImage: string | null;
|
|
17000
17100
|
createdByType?: 'user' | 'api_key' | 'unknown' | null | null;
|
|
17101
|
+
currentConfigVersion?: number | null | null;
|
|
17001
17102
|
displayName: string;
|
|
17103
|
+
envCount: number;
|
|
17002
17104
|
environments: Array<{
|
|
17003
17105
|
activationId: string;
|
|
17004
17106
|
activeFrom: string;
|
|
17005
17107
|
configSnapshot: {
|
|
17006
17108
|
[key: string]: unknown;
|
|
17007
17109
|
};
|
|
17110
|
+
configVersion?: number | null | null;
|
|
17008
17111
|
credentialId: string;
|
|
17112
|
+
credentialValidity: 'valid' | 'invalid' | 'untested' | 'na';
|
|
17009
17113
|
current: true;
|
|
17114
|
+
health: 'healthy' | 'degraded' | 'failing';
|
|
17010
17115
|
id: string;
|
|
17116
|
+
notRouted: boolean;
|
|
17117
|
+
perVersionHealth?: Array<{
|
|
17118
|
+
activeFrom: string;
|
|
17119
|
+
activeTo?: string | null | null;
|
|
17120
|
+
configVersion: number;
|
|
17121
|
+
current: boolean;
|
|
17122
|
+
health: 'healthy' | 'degraded' | 'failing';
|
|
17123
|
+
}> | null | null;
|
|
17011
17124
|
slug: string;
|
|
17012
|
-
status: 'healthy' | 'degraded' | 'failing' | 'idle';
|
|
17013
17125
|
}>;
|
|
17014
|
-
health: 'healthy' | 'degraded' | 'failing'
|
|
17126
|
+
health: 'healthy' | 'degraded' | 'failing';
|
|
17015
17127
|
id: string;
|
|
17016
17128
|
lastTestedAt: string | null;
|
|
17017
17129
|
lifecycleState: 'active' | 'deactivated' | 'archived';
|
|
@@ -17133,6 +17245,7 @@ export type RoutingProvidersCreateRoutingProviderResponses = {
|
|
|
17133
17245
|
201: {
|
|
17134
17246
|
code: number;
|
|
17135
17247
|
data: {
|
|
17248
|
+
affectedEnvCount: number;
|
|
17136
17249
|
apiVersion: string | null;
|
|
17137
17250
|
archivedAt: string | null;
|
|
17138
17251
|
authHeaderName: string | null;
|
|
@@ -17143,20 +17256,32 @@ export type RoutingProvidersCreateRoutingProviderResponses = {
|
|
|
17143
17256
|
createdByDisplay: string | null;
|
|
17144
17257
|
createdByImage: string | null;
|
|
17145
17258
|
createdByType?: 'user' | 'api_key' | 'unknown' | null | null;
|
|
17259
|
+
currentConfigVersion?: number | null | null;
|
|
17146
17260
|
displayName: string;
|
|
17261
|
+
envCount: number;
|
|
17147
17262
|
environments: Array<{
|
|
17148
17263
|
activationId: string;
|
|
17149
17264
|
activeFrom: string;
|
|
17150
17265
|
configSnapshot: {
|
|
17151
17266
|
[key: string]: unknown;
|
|
17152
17267
|
};
|
|
17268
|
+
configVersion?: number | null | null;
|
|
17153
17269
|
credentialId: string;
|
|
17270
|
+
credentialValidity: 'valid' | 'invalid' | 'untested' | 'na';
|
|
17154
17271
|
current: true;
|
|
17272
|
+
health: 'healthy' | 'degraded' | 'failing';
|
|
17155
17273
|
id: string;
|
|
17274
|
+
notRouted: boolean;
|
|
17275
|
+
perVersionHealth?: Array<{
|
|
17276
|
+
activeFrom: string;
|
|
17277
|
+
activeTo?: string | null | null;
|
|
17278
|
+
configVersion: number;
|
|
17279
|
+
current: boolean;
|
|
17280
|
+
health: 'healthy' | 'degraded' | 'failing';
|
|
17281
|
+
}> | null | null;
|
|
17156
17282
|
slug: string;
|
|
17157
|
-
status: 'healthy' | 'degraded' | 'failing' | 'idle';
|
|
17158
17283
|
}>;
|
|
17159
|
-
health: 'healthy' | 'degraded' | 'failing'
|
|
17284
|
+
health: 'healthy' | 'degraded' | 'failing';
|
|
17160
17285
|
id: string;
|
|
17161
17286
|
lastTestedAt: string | null;
|
|
17162
17287
|
lifecycleState: 'active' | 'deactivated' | 'archived';
|
|
@@ -17334,6 +17459,7 @@ export type RoutingProvidersConnectRoutingProviderResponses = {
|
|
|
17334
17459
|
}>;
|
|
17335
17460
|
credentialId: string;
|
|
17336
17461
|
provider: {
|
|
17462
|
+
affectedEnvCount: number;
|
|
17337
17463
|
apiVersion: string | null;
|
|
17338
17464
|
archivedAt: string | null;
|
|
17339
17465
|
authHeaderName: string | null;
|
|
@@ -17344,20 +17470,32 @@ export type RoutingProvidersConnectRoutingProviderResponses = {
|
|
|
17344
17470
|
createdByDisplay: string | null;
|
|
17345
17471
|
createdByImage: string | null;
|
|
17346
17472
|
createdByType?: 'user' | 'api_key' | 'unknown' | null | null;
|
|
17473
|
+
currentConfigVersion?: number | null | null;
|
|
17347
17474
|
displayName: string;
|
|
17475
|
+
envCount: number;
|
|
17348
17476
|
environments: Array<{
|
|
17349
17477
|
activationId: string;
|
|
17350
17478
|
activeFrom: string;
|
|
17351
17479
|
configSnapshot: {
|
|
17352
17480
|
[key: string]: unknown;
|
|
17353
17481
|
};
|
|
17482
|
+
configVersion?: number | null | null;
|
|
17354
17483
|
credentialId: string;
|
|
17484
|
+
credentialValidity: 'valid' | 'invalid' | 'untested' | 'na';
|
|
17355
17485
|
current: true;
|
|
17486
|
+
health: 'healthy' | 'degraded' | 'failing';
|
|
17356
17487
|
id: string;
|
|
17488
|
+
notRouted: boolean;
|
|
17489
|
+
perVersionHealth?: Array<{
|
|
17490
|
+
activeFrom: string;
|
|
17491
|
+
activeTo?: string | null | null;
|
|
17492
|
+
configVersion: number;
|
|
17493
|
+
current: boolean;
|
|
17494
|
+
health: 'healthy' | 'degraded' | 'failing';
|
|
17495
|
+
}> | null | null;
|
|
17357
17496
|
slug: string;
|
|
17358
|
-
status: 'healthy' | 'degraded' | 'failing' | 'idle';
|
|
17359
17497
|
}>;
|
|
17360
|
-
health: 'healthy' | 'degraded' | 'failing'
|
|
17498
|
+
health: 'healthy' | 'degraded' | 'failing';
|
|
17361
17499
|
id: string;
|
|
17362
17500
|
lastTestedAt: string | null;
|
|
17363
17501
|
lifecycleState: 'active' | 'deactivated' | 'archived';
|
|
@@ -17880,6 +18018,7 @@ export type RoutingProvidersGetRoutingProviderResponses = {
|
|
|
17880
18018
|
200: {
|
|
17881
18019
|
code: number;
|
|
17882
18020
|
data: {
|
|
18021
|
+
affectedEnvCount: number;
|
|
17883
18022
|
apiVersion: string | null;
|
|
17884
18023
|
archivedAt: string | null;
|
|
17885
18024
|
authHeaderName: string | null;
|
|
@@ -17890,20 +18029,32 @@ export type RoutingProvidersGetRoutingProviderResponses = {
|
|
|
17890
18029
|
createdByDisplay: string | null;
|
|
17891
18030
|
createdByImage: string | null;
|
|
17892
18031
|
createdByType?: 'user' | 'api_key' | 'unknown' | null | null;
|
|
18032
|
+
currentConfigVersion?: number | null | null;
|
|
17893
18033
|
displayName: string;
|
|
18034
|
+
envCount: number;
|
|
17894
18035
|
environments: Array<{
|
|
17895
18036
|
activationId: string;
|
|
17896
18037
|
activeFrom: string;
|
|
17897
18038
|
configSnapshot: {
|
|
17898
18039
|
[key: string]: unknown;
|
|
17899
18040
|
};
|
|
18041
|
+
configVersion?: number | null | null;
|
|
17900
18042
|
credentialId: string;
|
|
18043
|
+
credentialValidity: 'valid' | 'invalid' | 'untested' | 'na';
|
|
17901
18044
|
current: true;
|
|
18045
|
+
health: 'healthy' | 'degraded' | 'failing';
|
|
17902
18046
|
id: string;
|
|
18047
|
+
notRouted: boolean;
|
|
18048
|
+
perVersionHealth?: Array<{
|
|
18049
|
+
activeFrom: string;
|
|
18050
|
+
activeTo?: string | null | null;
|
|
18051
|
+
configVersion: number;
|
|
18052
|
+
current: boolean;
|
|
18053
|
+
health: 'healthy' | 'degraded' | 'failing';
|
|
18054
|
+
}> | null | null;
|
|
17903
18055
|
slug: string;
|
|
17904
|
-
status: 'healthy' | 'degraded' | 'failing' | 'idle';
|
|
17905
18056
|
}>;
|
|
17906
|
-
health: 'healthy' | 'degraded' | 'failing'
|
|
18057
|
+
health: 'healthy' | 'degraded' | 'failing';
|
|
17907
18058
|
id: string;
|
|
17908
18059
|
lastTestedAt: string | null;
|
|
17909
18060
|
lifecycleState: 'active' | 'deactivated' | 'archived';
|
|
@@ -18023,6 +18174,7 @@ export type RoutingProvidersUpdateRoutingProviderResponses = {
|
|
|
18023
18174
|
200: {
|
|
18024
18175
|
code: number;
|
|
18025
18176
|
data: {
|
|
18177
|
+
affectedEnvCount: number;
|
|
18026
18178
|
apiVersion: string | null;
|
|
18027
18179
|
archivedAt: string | null;
|
|
18028
18180
|
authHeaderName: string | null;
|
|
@@ -18033,20 +18185,32 @@ export type RoutingProvidersUpdateRoutingProviderResponses = {
|
|
|
18033
18185
|
createdByDisplay: string | null;
|
|
18034
18186
|
createdByImage: string | null;
|
|
18035
18187
|
createdByType?: 'user' | 'api_key' | 'unknown' | null | null;
|
|
18188
|
+
currentConfigVersion?: number | null | null;
|
|
18036
18189
|
displayName: string;
|
|
18190
|
+
envCount: number;
|
|
18037
18191
|
environments: Array<{
|
|
18038
18192
|
activationId: string;
|
|
18039
18193
|
activeFrom: string;
|
|
18040
18194
|
configSnapshot: {
|
|
18041
18195
|
[key: string]: unknown;
|
|
18042
18196
|
};
|
|
18197
|
+
configVersion?: number | null | null;
|
|
18043
18198
|
credentialId: string;
|
|
18199
|
+
credentialValidity: 'valid' | 'invalid' | 'untested' | 'na';
|
|
18044
18200
|
current: true;
|
|
18201
|
+
health: 'healthy' | 'degraded' | 'failing';
|
|
18045
18202
|
id: string;
|
|
18203
|
+
notRouted: boolean;
|
|
18204
|
+
perVersionHealth?: Array<{
|
|
18205
|
+
activeFrom: string;
|
|
18206
|
+
activeTo?: string | null | null;
|
|
18207
|
+
configVersion: number;
|
|
18208
|
+
current: boolean;
|
|
18209
|
+
health: 'healthy' | 'degraded' | 'failing';
|
|
18210
|
+
}> | null | null;
|
|
18046
18211
|
slug: string;
|
|
18047
|
-
status: 'healthy' | 'degraded' | 'failing' | 'idle';
|
|
18048
18212
|
}>;
|
|
18049
|
-
health: 'healthy' | 'degraded' | 'failing'
|
|
18213
|
+
health: 'healthy' | 'degraded' | 'failing';
|
|
18050
18214
|
id: string;
|
|
18051
18215
|
lastTestedAt: string | null;
|
|
18052
18216
|
lifecycleState: 'active' | 'deactivated' | 'archived';
|
|
@@ -18267,6 +18431,7 @@ export type RoutingProviderCatalogResolveRoutingProviderCatalogResponses = {
|
|
|
18267
18431
|
deprecatedAt?: string | null;
|
|
18268
18432
|
displayName?: string | null;
|
|
18269
18433
|
id: string;
|
|
18434
|
+
source?: 'user' | 'platform' | 'curated' | 'custom' | null;
|
|
18270
18435
|
}>;
|
|
18271
18436
|
source: 'user' | 'platform' | 'curated' | 'empty';
|
|
18272
18437
|
transition: {
|
|
@@ -18461,6 +18626,7 @@ export type RoutingProvidersListRoutingCredentialsResponses = {
|
|
|
18461
18626
|
data: Array<{
|
|
18462
18627
|
createdAt: string;
|
|
18463
18628
|
credentialType: 'api-key' | 'oauth' | 'iam-role' | 'access-key' | 'service-account' | 'none' | 'passthrough';
|
|
18629
|
+
deletedAt?: string | null | null;
|
|
18464
18630
|
id: string;
|
|
18465
18631
|
keyLast4: string;
|
|
18466
18632
|
label: string | null;
|
|
@@ -18582,6 +18748,7 @@ export type RoutingProvidersCreateRoutingCredentialResponses = {
|
|
|
18582
18748
|
data: {
|
|
18583
18749
|
createdAt: string;
|
|
18584
18750
|
credentialType: 'api-key' | 'oauth' | 'iam-role' | 'access-key' | 'service-account' | 'none' | 'passthrough';
|
|
18751
|
+
deletedAt?: string | null | null;
|
|
18585
18752
|
id: string;
|
|
18586
18753
|
keyLast4: string;
|
|
18587
18754
|
label: string | null;
|
|
@@ -18821,6 +18988,117 @@ export type RoutingProvidersTestRoutingCredentialResponses = {
|
|
|
18821
18988
|
};
|
|
18822
18989
|
};
|
|
18823
18990
|
export type RoutingProvidersTestRoutingCredentialResponse = RoutingProvidersTestRoutingCredentialResponses[keyof RoutingProvidersTestRoutingCredentialResponses];
|
|
18991
|
+
export type ProviderPromoteVersionPromoteProviderEnvVersionData = {
|
|
18992
|
+
body: {
|
|
18993
|
+
reason?: string | null;
|
|
18994
|
+
version: number;
|
|
18995
|
+
};
|
|
18996
|
+
path: {
|
|
18997
|
+
projectId: string;
|
|
18998
|
+
providerId: string;
|
|
18999
|
+
envSlug: string;
|
|
19000
|
+
};
|
|
19001
|
+
query?: never;
|
|
19002
|
+
url: '/v1/projects/{projectId}/routing/providers/{providerId}/environments/{envSlug}/promote';
|
|
19003
|
+
};
|
|
19004
|
+
export type ProviderPromoteVersionPromoteProviderEnvVersionErrors = {
|
|
19005
|
+
/**
|
|
19006
|
+
* BadRequestError
|
|
19007
|
+
*/
|
|
19008
|
+
400: BadRequestError;
|
|
19009
|
+
/**
|
|
19010
|
+
* UnauthorizedError
|
|
19011
|
+
*/
|
|
19012
|
+
401: UnauthorizedError;
|
|
19013
|
+
/**
|
|
19014
|
+
* ForbiddenError
|
|
19015
|
+
*/
|
|
19016
|
+
403: ForbiddenError;
|
|
19017
|
+
/**
|
|
19018
|
+
* NotFoundError
|
|
19019
|
+
*/
|
|
19020
|
+
404: NotFoundError;
|
|
19021
|
+
/**
|
|
19022
|
+
* ConflictError
|
|
19023
|
+
*/
|
|
19024
|
+
409: ConflictError;
|
|
19025
|
+
/**
|
|
19026
|
+
* GoneError
|
|
19027
|
+
*/
|
|
19028
|
+
410: GoneError;
|
|
19029
|
+
/**
|
|
19030
|
+
* MisdirectedRequestError
|
|
19031
|
+
*/
|
|
19032
|
+
421: MisdirectedRequestError;
|
|
19033
|
+
/**
|
|
19034
|
+
* UnprocessableEntityError
|
|
19035
|
+
*/
|
|
19036
|
+
422: UnprocessableEntityError;
|
|
19037
|
+
/**
|
|
19038
|
+
* TooManyRequestsError
|
|
19039
|
+
*/
|
|
19040
|
+
429: TooManyRequestsError;
|
|
19041
|
+
/**
|
|
19042
|
+
* InternalServerError
|
|
19043
|
+
*/
|
|
19044
|
+
500: InternalServerError;
|
|
19045
|
+
/**
|
|
19046
|
+
* ServiceUnavailableError
|
|
19047
|
+
*/
|
|
19048
|
+
503: ServiceUnavailableError;
|
|
19049
|
+
};
|
|
19050
|
+
export type ProviderPromoteVersionPromoteProviderEnvVersionError = ProviderPromoteVersionPromoteProviderEnvVersionErrors[keyof ProviderPromoteVersionPromoteProviderEnvVersionErrors];
|
|
19051
|
+
export type ProviderPromoteVersionPromoteProviderEnvVersionResponses = {
|
|
19052
|
+
/**
|
|
19053
|
+
* Success
|
|
19054
|
+
*/
|
|
19055
|
+
201: {
|
|
19056
|
+
code: number;
|
|
19057
|
+
data: {
|
|
19058
|
+
activeFrom: string;
|
|
19059
|
+
activeTo: string | null;
|
|
19060
|
+
actorId: string;
|
|
19061
|
+
actorType: string;
|
|
19062
|
+
approvalStatus: 'not_required' | 'pending' | 'approved' | 'rejected';
|
|
19063
|
+
changeType: string;
|
|
19064
|
+
configSnapshot: {
|
|
19065
|
+
[key: string]: unknown;
|
|
19066
|
+
};
|
|
19067
|
+
createdAt: string;
|
|
19068
|
+
credentialId: string;
|
|
19069
|
+
envSlug: string;
|
|
19070
|
+
environmentId: string;
|
|
19071
|
+
id: string;
|
|
19072
|
+
providerId: string;
|
|
19073
|
+
reason: string | null;
|
|
19074
|
+
state: 'current' | 'pending';
|
|
19075
|
+
} | null;
|
|
19076
|
+
error: {
|
|
19077
|
+
code: string;
|
|
19078
|
+
details?: unknown | null;
|
|
19079
|
+
message: string;
|
|
19080
|
+
rowErrors?: Array<{
|
|
19081
|
+
code: string;
|
|
19082
|
+
message: string;
|
|
19083
|
+
path: Array<string | number>;
|
|
19084
|
+
}> | null;
|
|
19085
|
+
} | null;
|
|
19086
|
+
pagination: {
|
|
19087
|
+
limit: number;
|
|
19088
|
+
page: number;
|
|
19089
|
+
total: number;
|
|
19090
|
+
totalPages: number;
|
|
19091
|
+
} | null;
|
|
19092
|
+
sdkBehavior?: {
|
|
19093
|
+
flags: {
|
|
19094
|
+
[key: string]: unknown;
|
|
19095
|
+
};
|
|
19096
|
+
v: number;
|
|
19097
|
+
} | null;
|
|
19098
|
+
success: boolean;
|
|
19099
|
+
};
|
|
19100
|
+
};
|
|
19101
|
+
export type ProviderPromoteVersionPromoteProviderEnvVersionResponse = ProviderPromoteVersionPromoteProviderEnvVersionResponses[keyof ProviderPromoteVersionPromoteProviderEnvVersionResponses];
|
|
18824
19102
|
export type RoutingProvidersListRoutingModelsData = {
|
|
18825
19103
|
body?: never;
|
|
18826
19104
|
path: {
|
|
@@ -18884,11 +19162,11 @@ export type RoutingProvidersListRoutingModelsResponses = {
|
|
|
18884
19162
|
200: {
|
|
18885
19163
|
code: number;
|
|
18886
19164
|
data: Array<{
|
|
19165
|
+
catalogSlug?: string | null | null;
|
|
18887
19166
|
createdAt: string;
|
|
18888
19167
|
description: string | null;
|
|
18889
19168
|
displayName: string | null;
|
|
18890
19169
|
id: string;
|
|
18891
|
-
isActive: boolean;
|
|
18892
19170
|
modelType: string | null;
|
|
18893
19171
|
name: string;
|
|
18894
19172
|
providerId: string;
|
|
@@ -18922,9 +19200,9 @@ export type RoutingProvidersListRoutingModelsResponses = {
|
|
|
18922
19200
|
export type RoutingProvidersListRoutingModelsResponse = RoutingProvidersListRoutingModelsResponses[keyof RoutingProvidersListRoutingModelsResponses];
|
|
18923
19201
|
export type RoutingProvidersCreateRoutingModelData = {
|
|
18924
19202
|
body: {
|
|
19203
|
+
catalogSlug?: string | null;
|
|
18925
19204
|
description?: string | null;
|
|
18926
19205
|
displayName?: string | null;
|
|
18927
|
-
isActive?: boolean | null;
|
|
18928
19206
|
modelType?: string | null;
|
|
18929
19207
|
name: string;
|
|
18930
19208
|
};
|
|
@@ -18989,11 +19267,11 @@ export type RoutingProvidersCreateRoutingModelResponses = {
|
|
|
18989
19267
|
201: {
|
|
18990
19268
|
code: number;
|
|
18991
19269
|
data: {
|
|
19270
|
+
catalogSlug?: string | null | null;
|
|
18992
19271
|
createdAt: string;
|
|
18993
19272
|
description: string | null;
|
|
18994
19273
|
displayName: string | null;
|
|
18995
19274
|
id: string;
|
|
18996
|
-
isActive: boolean;
|
|
18997
19275
|
modelType: string | null;
|
|
18998
19276
|
name: string;
|
|
18999
19277
|
providerId: string;
|
|
@@ -19137,7 +19415,6 @@ export type RoutingProvidersUpdateRoutingModelData = {
|
|
|
19137
19415
|
body: {
|
|
19138
19416
|
description?: string | null;
|
|
19139
19417
|
displayName?: string | null;
|
|
19140
|
-
isActive?: boolean | null;
|
|
19141
19418
|
modelType?: string | null;
|
|
19142
19419
|
};
|
|
19143
19420
|
path: {
|
|
@@ -19202,11 +19479,11 @@ export type RoutingProvidersUpdateRoutingModelResponses = {
|
|
|
19202
19479
|
200: {
|
|
19203
19480
|
code: number;
|
|
19204
19481
|
data: {
|
|
19482
|
+
catalogSlug?: string | null | null;
|
|
19205
19483
|
createdAt: string;
|
|
19206
19484
|
description: string | null;
|
|
19207
19485
|
displayName: string | null;
|
|
19208
19486
|
id: string;
|
|
19209
|
-
isActive: boolean;
|
|
19210
19487
|
modelType: string | null;
|
|
19211
19488
|
name: string;
|
|
19212
19489
|
providerId: string;
|
|
@@ -19246,6 +19523,114 @@ export type RoutingProvidersUpdateRoutingModelResponses = {
|
|
|
19246
19523
|
};
|
|
19247
19524
|
};
|
|
19248
19525
|
export type RoutingProvidersUpdateRoutingModelResponse = RoutingProvidersUpdateRoutingModelResponses[keyof RoutingProvidersUpdateRoutingModelResponses];
|
|
19526
|
+
export type RoutingProvidersRestoreRoutingModelData = {
|
|
19527
|
+
body?: never;
|
|
19528
|
+
path: {
|
|
19529
|
+
projectId: string;
|
|
19530
|
+
providerId: string;
|
|
19531
|
+
modelId: string;
|
|
19532
|
+
};
|
|
19533
|
+
query?: never;
|
|
19534
|
+
url: '/v1/projects/{projectId}/routing/providers/{providerId}/models/{modelId}/restore';
|
|
19535
|
+
};
|
|
19536
|
+
export type RoutingProvidersRestoreRoutingModelErrors = {
|
|
19537
|
+
/**
|
|
19538
|
+
* BadRequestError
|
|
19539
|
+
*/
|
|
19540
|
+
400: BadRequestError;
|
|
19541
|
+
/**
|
|
19542
|
+
* UnauthorizedError
|
|
19543
|
+
*/
|
|
19544
|
+
401: UnauthorizedError;
|
|
19545
|
+
/**
|
|
19546
|
+
* ForbiddenError
|
|
19547
|
+
*/
|
|
19548
|
+
403: ForbiddenError;
|
|
19549
|
+
/**
|
|
19550
|
+
* NotFoundError
|
|
19551
|
+
*/
|
|
19552
|
+
404: NotFoundError;
|
|
19553
|
+
/**
|
|
19554
|
+
* ConflictError
|
|
19555
|
+
*/
|
|
19556
|
+
409: ConflictError;
|
|
19557
|
+
/**
|
|
19558
|
+
* GoneError
|
|
19559
|
+
*/
|
|
19560
|
+
410: GoneError;
|
|
19561
|
+
/**
|
|
19562
|
+
* MisdirectedRequestError
|
|
19563
|
+
*/
|
|
19564
|
+
421: MisdirectedRequestError;
|
|
19565
|
+
/**
|
|
19566
|
+
* UnprocessableEntityError
|
|
19567
|
+
*/
|
|
19568
|
+
422: UnprocessableEntityError;
|
|
19569
|
+
/**
|
|
19570
|
+
* TooManyRequestsError
|
|
19571
|
+
*/
|
|
19572
|
+
429: TooManyRequestsError;
|
|
19573
|
+
/**
|
|
19574
|
+
* InternalServerError
|
|
19575
|
+
*/
|
|
19576
|
+
500: InternalServerError;
|
|
19577
|
+
/**
|
|
19578
|
+
* ServiceUnavailableError
|
|
19579
|
+
*/
|
|
19580
|
+
503: ServiceUnavailableError;
|
|
19581
|
+
};
|
|
19582
|
+
export type RoutingProvidersRestoreRoutingModelError = RoutingProvidersRestoreRoutingModelErrors[keyof RoutingProvidersRestoreRoutingModelErrors];
|
|
19583
|
+
export type RoutingProvidersRestoreRoutingModelResponses = {
|
|
19584
|
+
/**
|
|
19585
|
+
* Success
|
|
19586
|
+
*/
|
|
19587
|
+
200: {
|
|
19588
|
+
code: number;
|
|
19589
|
+
data: {
|
|
19590
|
+
catalogSlug?: string | null | null;
|
|
19591
|
+
createdAt: string;
|
|
19592
|
+
description: string | null;
|
|
19593
|
+
displayName: string | null;
|
|
19594
|
+
id: string;
|
|
19595
|
+
modelType: string | null;
|
|
19596
|
+
name: string;
|
|
19597
|
+
providerId: string;
|
|
19598
|
+
publishWarning?: {
|
|
19599
|
+
errors: Array<{
|
|
19600
|
+
entity: string;
|
|
19601
|
+
message: string;
|
|
19602
|
+
rule?: string | null;
|
|
19603
|
+
}>;
|
|
19604
|
+
kind: 'validation';
|
|
19605
|
+
} | null;
|
|
19606
|
+
updatedAt: string;
|
|
19607
|
+
} | null;
|
|
19608
|
+
error: {
|
|
19609
|
+
code: string;
|
|
19610
|
+
details?: unknown | null;
|
|
19611
|
+
message: string;
|
|
19612
|
+
rowErrors?: Array<{
|
|
19613
|
+
code: string;
|
|
19614
|
+
message: string;
|
|
19615
|
+
path: Array<string | number>;
|
|
19616
|
+
}> | null;
|
|
19617
|
+
} | null;
|
|
19618
|
+
pagination: {
|
|
19619
|
+
limit: number;
|
|
19620
|
+
page: number;
|
|
19621
|
+
total: number;
|
|
19622
|
+
totalPages: number;
|
|
19623
|
+
} | null;
|
|
19624
|
+
sdkBehavior?: {
|
|
19625
|
+
flags: {
|
|
19626
|
+
[key: string]: unknown;
|
|
19627
|
+
};
|
|
19628
|
+
v: number;
|
|
19629
|
+
} | null;
|
|
19630
|
+
success: boolean;
|
|
19631
|
+
};
|
|
19632
|
+
};
|
|
19633
|
+
export type RoutingProvidersRestoreRoutingModelResponse = RoutingProvidersRestoreRoutingModelResponses[keyof RoutingProvidersRestoreRoutingModelResponses];
|
|
19249
19634
|
export type RoutingProvidersRestoreRoutingProviderData = {
|
|
19250
19635
|
body: {
|
|
19251
19636
|
reason: string;
|
|
@@ -19339,6 +19724,106 @@ export type RoutingProvidersRestoreRoutingProviderResponses = {
|
|
|
19339
19724
|
};
|
|
19340
19725
|
};
|
|
19341
19726
|
export type RoutingProvidersRestoreRoutingProviderResponse = RoutingProvidersRestoreRoutingProviderResponses[keyof RoutingProvidersRestoreRoutingProviderResponses];
|
|
19727
|
+
export type ProviderConfigVersionsListProviderConfigVersionsData = {
|
|
19728
|
+
body?: never;
|
|
19729
|
+
path: {
|
|
19730
|
+
projectId: string;
|
|
19731
|
+
providerId: string;
|
|
19732
|
+
};
|
|
19733
|
+
query?: never;
|
|
19734
|
+
url: '/v1/projects/{projectId}/routing/providers/{providerId}/versions';
|
|
19735
|
+
};
|
|
19736
|
+
export type ProviderConfigVersionsListProviderConfigVersionsErrors = {
|
|
19737
|
+
/**
|
|
19738
|
+
* BadRequestError
|
|
19739
|
+
*/
|
|
19740
|
+
400: BadRequestError;
|
|
19741
|
+
/**
|
|
19742
|
+
* UnauthorizedError
|
|
19743
|
+
*/
|
|
19744
|
+
401: UnauthorizedError;
|
|
19745
|
+
/**
|
|
19746
|
+
* ForbiddenError
|
|
19747
|
+
*/
|
|
19748
|
+
403: ForbiddenError;
|
|
19749
|
+
/**
|
|
19750
|
+
* NotFoundError
|
|
19751
|
+
*/
|
|
19752
|
+
404: NotFoundError;
|
|
19753
|
+
/**
|
|
19754
|
+
* ConflictError
|
|
19755
|
+
*/
|
|
19756
|
+
409: ConflictError;
|
|
19757
|
+
/**
|
|
19758
|
+
* GoneError
|
|
19759
|
+
*/
|
|
19760
|
+
410: GoneError;
|
|
19761
|
+
/**
|
|
19762
|
+
* MisdirectedRequestError
|
|
19763
|
+
*/
|
|
19764
|
+
421: MisdirectedRequestError;
|
|
19765
|
+
/**
|
|
19766
|
+
* UnprocessableEntityError
|
|
19767
|
+
*/
|
|
19768
|
+
422: UnprocessableEntityError;
|
|
19769
|
+
/**
|
|
19770
|
+
* TooManyRequestsError
|
|
19771
|
+
*/
|
|
19772
|
+
429: TooManyRequestsError;
|
|
19773
|
+
/**
|
|
19774
|
+
* InternalServerError
|
|
19775
|
+
*/
|
|
19776
|
+
500: InternalServerError;
|
|
19777
|
+
/**
|
|
19778
|
+
* ServiceUnavailableError
|
|
19779
|
+
*/
|
|
19780
|
+
503: ServiceUnavailableError;
|
|
19781
|
+
};
|
|
19782
|
+
export type ProviderConfigVersionsListProviderConfigVersionsError = ProviderConfigVersionsListProviderConfigVersionsErrors[keyof ProviderConfigVersionsListProviderConfigVersionsErrors];
|
|
19783
|
+
export type ProviderConfigVersionsListProviderConfigVersionsResponses = {
|
|
19784
|
+
/**
|
|
19785
|
+
* Success
|
|
19786
|
+
*/
|
|
19787
|
+
200: {
|
|
19788
|
+
code: number;
|
|
19789
|
+
data: {
|
|
19790
|
+
versions: Array<{
|
|
19791
|
+
configSnapshot: {
|
|
19792
|
+
[key: string]: unknown;
|
|
19793
|
+
};
|
|
19794
|
+
contentHash: string;
|
|
19795
|
+
createdAt: string;
|
|
19796
|
+
createdBy: string | null;
|
|
19797
|
+
liveInEnvSlugs: Array<string>;
|
|
19798
|
+
version: number;
|
|
19799
|
+
}>;
|
|
19800
|
+
} | null;
|
|
19801
|
+
error: {
|
|
19802
|
+
code: string;
|
|
19803
|
+
details?: unknown | null;
|
|
19804
|
+
message: string;
|
|
19805
|
+
rowErrors?: Array<{
|
|
19806
|
+
code: string;
|
|
19807
|
+
message: string;
|
|
19808
|
+
path: Array<string | number>;
|
|
19809
|
+
}> | null;
|
|
19810
|
+
} | null;
|
|
19811
|
+
pagination: {
|
|
19812
|
+
limit: number;
|
|
19813
|
+
page: number;
|
|
19814
|
+
total: number;
|
|
19815
|
+
totalPages: number;
|
|
19816
|
+
} | null;
|
|
19817
|
+
sdkBehavior?: {
|
|
19818
|
+
flags: {
|
|
19819
|
+
[key: string]: unknown;
|
|
19820
|
+
};
|
|
19821
|
+
v: number;
|
|
19822
|
+
} | null;
|
|
19823
|
+
success: boolean;
|
|
19824
|
+
};
|
|
19825
|
+
};
|
|
19826
|
+
export type ProviderConfigVersionsListProviderConfigVersionsResponse = ProviderConfigVersionsListProviderConfigVersionsResponses[keyof ProviderConfigVersionsListProviderConfigVersionsResponses];
|
|
19342
19827
|
export type RoutingRoutesListRoutingRoutesData = {
|
|
19343
19828
|
body?: never;
|
|
19344
19829
|
path: {
|