@to11ai/sdk 3.0.0-rc.13 → 3.0.0-rc.15
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/generated/index.d.ts +1 -1
- package/dist/generated/types.gen.d.ts +546 -0
- package/dist/generated/zod.gen.d.ts +280 -0
- package/package.json +1 -1
- package/src/generated/index.ts +1 -1
- package/src/generated/types.gen.ts +571 -0
- package/src/generated/zod.gen.ts +297 -2
|
@@ -5211,6 +5211,336 @@ export type DashboardingSyncOrganizationPersesResponses = {
|
|
|
5211
5211
|
|
|
5212
5212
|
export type DashboardingSyncOrganizationPersesResponse = DashboardingSyncOrganizationPersesResponses[keyof DashboardingSyncOrganizationPersesResponses];
|
|
5213
5213
|
|
|
5214
|
+
export type IntegrationsGetGitHubIntegrationData = {
|
|
5215
|
+
body?: never;
|
|
5216
|
+
path: {
|
|
5217
|
+
orgId: string;
|
|
5218
|
+
};
|
|
5219
|
+
query?: never;
|
|
5220
|
+
url: '/v1/orgs/{orgId}/integrations/github';
|
|
5221
|
+
};
|
|
5222
|
+
|
|
5223
|
+
export type IntegrationsGetGitHubIntegrationErrors = {
|
|
5224
|
+
/**
|
|
5225
|
+
* BadRequestError
|
|
5226
|
+
*/
|
|
5227
|
+
400: BadRequestError;
|
|
5228
|
+
/**
|
|
5229
|
+
* UnauthorizedError
|
|
5230
|
+
*/
|
|
5231
|
+
401: UnauthorizedError;
|
|
5232
|
+
/**
|
|
5233
|
+
* ForbiddenError
|
|
5234
|
+
*/
|
|
5235
|
+
403: ForbiddenError;
|
|
5236
|
+
/**
|
|
5237
|
+
* NotFoundError
|
|
5238
|
+
*/
|
|
5239
|
+
404: NotFoundError;
|
|
5240
|
+
/**
|
|
5241
|
+
* ConflictError
|
|
5242
|
+
*/
|
|
5243
|
+
409: ConflictError;
|
|
5244
|
+
/**
|
|
5245
|
+
* GoneError
|
|
5246
|
+
*/
|
|
5247
|
+
410: GoneError;
|
|
5248
|
+
/**
|
|
5249
|
+
* ContentTooLargeError
|
|
5250
|
+
*/
|
|
5251
|
+
413: ContentTooLargeError;
|
|
5252
|
+
/**
|
|
5253
|
+
* MisdirectedRequestError
|
|
5254
|
+
*/
|
|
5255
|
+
421: MisdirectedRequestError;
|
|
5256
|
+
/**
|
|
5257
|
+
* UnprocessableEntityError
|
|
5258
|
+
*/
|
|
5259
|
+
422: UnprocessableEntityError;
|
|
5260
|
+
/**
|
|
5261
|
+
* TooManyRequestsError
|
|
5262
|
+
*/
|
|
5263
|
+
429: TooManyRequestsError;
|
|
5264
|
+
/**
|
|
5265
|
+
* InternalServerError
|
|
5266
|
+
*/
|
|
5267
|
+
500: InternalServerError;
|
|
5268
|
+
/**
|
|
5269
|
+
* ServiceUnavailableError
|
|
5270
|
+
*/
|
|
5271
|
+
503: ServiceUnavailableError;
|
|
5272
|
+
};
|
|
5273
|
+
|
|
5274
|
+
export type IntegrationsGetGitHubIntegrationError = IntegrationsGetGitHubIntegrationErrors[keyof IntegrationsGetGitHubIntegrationErrors];
|
|
5275
|
+
|
|
5276
|
+
export type IntegrationsGetGitHubIntegrationResponses = {
|
|
5277
|
+
/**
|
|
5278
|
+
* Success
|
|
5279
|
+
*/
|
|
5280
|
+
200: {
|
|
5281
|
+
code: number;
|
|
5282
|
+
data: {
|
|
5283
|
+
appSlug: string | null;
|
|
5284
|
+
configured: boolean;
|
|
5285
|
+
installation: {
|
|
5286
|
+
accountLogin: string;
|
|
5287
|
+
backfillRequestedAt: string | null;
|
|
5288
|
+
createdAt: string;
|
|
5289
|
+
externalId: string;
|
|
5290
|
+
id: string;
|
|
5291
|
+
lastReconciledAt: string | null;
|
|
5292
|
+
repositoryCount: number;
|
|
5293
|
+
suspendedAt: string | null;
|
|
5294
|
+
uninstalledAt: string | null;
|
|
5295
|
+
updatedAt: string;
|
|
5296
|
+
} | null;
|
|
5297
|
+
} | null;
|
|
5298
|
+
error: {
|
|
5299
|
+
code: string;
|
|
5300
|
+
details?: unknown | null;
|
|
5301
|
+
message: string;
|
|
5302
|
+
rowErrors?: Array<{
|
|
5303
|
+
code: string;
|
|
5304
|
+
message: string;
|
|
5305
|
+
path: Array<string | number>;
|
|
5306
|
+
}> | null;
|
|
5307
|
+
} | null;
|
|
5308
|
+
pagination: {
|
|
5309
|
+
limit: number;
|
|
5310
|
+
page: number;
|
|
5311
|
+
total: number;
|
|
5312
|
+
totalPages: number;
|
|
5313
|
+
} | null;
|
|
5314
|
+
sdkBehavior?: {
|
|
5315
|
+
flags: {
|
|
5316
|
+
[key: string]: unknown;
|
|
5317
|
+
};
|
|
5318
|
+
v: number;
|
|
5319
|
+
} | null;
|
|
5320
|
+
success: boolean;
|
|
5321
|
+
};
|
|
5322
|
+
};
|
|
5323
|
+
|
|
5324
|
+
export type IntegrationsGetGitHubIntegrationResponse = IntegrationsGetGitHubIntegrationResponses[keyof IntegrationsGetGitHubIntegrationResponses];
|
|
5325
|
+
|
|
5326
|
+
export type IntegrationsCompleteGitHubIntegrationData = {
|
|
5327
|
+
body: {
|
|
5328
|
+
code: string;
|
|
5329
|
+
installationId?: string | null;
|
|
5330
|
+
setupAction?: string | null;
|
|
5331
|
+
state: string;
|
|
5332
|
+
};
|
|
5333
|
+
path: {
|
|
5334
|
+
orgId: string;
|
|
5335
|
+
};
|
|
5336
|
+
query?: never;
|
|
5337
|
+
url: '/v1/orgs/{orgId}/integrations/github/callback';
|
|
5338
|
+
};
|
|
5339
|
+
|
|
5340
|
+
export type IntegrationsCompleteGitHubIntegrationErrors = {
|
|
5341
|
+
/**
|
|
5342
|
+
* BadRequestError
|
|
5343
|
+
*/
|
|
5344
|
+
400: BadRequestError;
|
|
5345
|
+
/**
|
|
5346
|
+
* UnauthorizedError
|
|
5347
|
+
*/
|
|
5348
|
+
401: UnauthorizedError;
|
|
5349
|
+
/**
|
|
5350
|
+
* ForbiddenError
|
|
5351
|
+
*/
|
|
5352
|
+
403: ForbiddenError;
|
|
5353
|
+
/**
|
|
5354
|
+
* NotFoundError
|
|
5355
|
+
*/
|
|
5356
|
+
404: NotFoundError;
|
|
5357
|
+
/**
|
|
5358
|
+
* ConflictError
|
|
5359
|
+
*/
|
|
5360
|
+
409: ConflictError;
|
|
5361
|
+
/**
|
|
5362
|
+
* GoneError
|
|
5363
|
+
*/
|
|
5364
|
+
410: GoneError;
|
|
5365
|
+
/**
|
|
5366
|
+
* ContentTooLargeError
|
|
5367
|
+
*/
|
|
5368
|
+
413: ContentTooLargeError;
|
|
5369
|
+
/**
|
|
5370
|
+
* MisdirectedRequestError
|
|
5371
|
+
*/
|
|
5372
|
+
421: MisdirectedRequestError;
|
|
5373
|
+
/**
|
|
5374
|
+
* UnprocessableEntityError
|
|
5375
|
+
*/
|
|
5376
|
+
422: UnprocessableEntityError;
|
|
5377
|
+
/**
|
|
5378
|
+
* TooManyRequestsError
|
|
5379
|
+
*/
|
|
5380
|
+
429: TooManyRequestsError;
|
|
5381
|
+
/**
|
|
5382
|
+
* InternalServerError
|
|
5383
|
+
*/
|
|
5384
|
+
500: InternalServerError;
|
|
5385
|
+
/**
|
|
5386
|
+
* ServiceUnavailableError
|
|
5387
|
+
*/
|
|
5388
|
+
503: ServiceUnavailableError;
|
|
5389
|
+
};
|
|
5390
|
+
|
|
5391
|
+
export type IntegrationsCompleteGitHubIntegrationError = IntegrationsCompleteGitHubIntegrationErrors[keyof IntegrationsCompleteGitHubIntegrationErrors];
|
|
5392
|
+
|
|
5393
|
+
export type IntegrationsCompleteGitHubIntegrationResponses = {
|
|
5394
|
+
/**
|
|
5395
|
+
* Success
|
|
5396
|
+
*/
|
|
5397
|
+
200: {
|
|
5398
|
+
code: number;
|
|
5399
|
+
data: {
|
|
5400
|
+
installation: {
|
|
5401
|
+
accountLogin: string;
|
|
5402
|
+
backfillRequestedAt: string | null;
|
|
5403
|
+
createdAt: string;
|
|
5404
|
+
externalId: string;
|
|
5405
|
+
id: string;
|
|
5406
|
+
lastReconciledAt: string | null;
|
|
5407
|
+
repositoryCount: number;
|
|
5408
|
+
suspendedAt: string | null;
|
|
5409
|
+
uninstalledAt: string | null;
|
|
5410
|
+
updatedAt: string;
|
|
5411
|
+
};
|
|
5412
|
+
} | null;
|
|
5413
|
+
error: {
|
|
5414
|
+
code: string;
|
|
5415
|
+
details?: unknown | null;
|
|
5416
|
+
message: string;
|
|
5417
|
+
rowErrors?: Array<{
|
|
5418
|
+
code: string;
|
|
5419
|
+
message: string;
|
|
5420
|
+
path: Array<string | number>;
|
|
5421
|
+
}> | null;
|
|
5422
|
+
} | null;
|
|
5423
|
+
pagination: {
|
|
5424
|
+
limit: number;
|
|
5425
|
+
page: number;
|
|
5426
|
+
total: number;
|
|
5427
|
+
totalPages: number;
|
|
5428
|
+
} | null;
|
|
5429
|
+
sdkBehavior?: {
|
|
5430
|
+
flags: {
|
|
5431
|
+
[key: string]: unknown;
|
|
5432
|
+
};
|
|
5433
|
+
v: number;
|
|
5434
|
+
} | null;
|
|
5435
|
+
success: boolean;
|
|
5436
|
+
};
|
|
5437
|
+
};
|
|
5438
|
+
|
|
5439
|
+
export type IntegrationsCompleteGitHubIntegrationResponse = IntegrationsCompleteGitHubIntegrationResponses[keyof IntegrationsCompleteGitHubIntegrationResponses];
|
|
5440
|
+
|
|
5441
|
+
export type IntegrationsConnectGitHubIntegrationData = {
|
|
5442
|
+
body: {
|
|
5443
|
+
accountLogin?: string | null;
|
|
5444
|
+
mode: 'install' | 'authorize';
|
|
5445
|
+
};
|
|
5446
|
+
path: {
|
|
5447
|
+
orgId: string;
|
|
5448
|
+
};
|
|
5449
|
+
query?: never;
|
|
5450
|
+
url: '/v1/orgs/{orgId}/integrations/github/connect';
|
|
5451
|
+
};
|
|
5452
|
+
|
|
5453
|
+
export type IntegrationsConnectGitHubIntegrationErrors = {
|
|
5454
|
+
/**
|
|
5455
|
+
* BadRequestError
|
|
5456
|
+
*/
|
|
5457
|
+
400: BadRequestError;
|
|
5458
|
+
/**
|
|
5459
|
+
* UnauthorizedError
|
|
5460
|
+
*/
|
|
5461
|
+
401: UnauthorizedError;
|
|
5462
|
+
/**
|
|
5463
|
+
* ForbiddenError
|
|
5464
|
+
*/
|
|
5465
|
+
403: ForbiddenError;
|
|
5466
|
+
/**
|
|
5467
|
+
* NotFoundError
|
|
5468
|
+
*/
|
|
5469
|
+
404: NotFoundError;
|
|
5470
|
+
/**
|
|
5471
|
+
* ConflictError
|
|
5472
|
+
*/
|
|
5473
|
+
409: ConflictError;
|
|
5474
|
+
/**
|
|
5475
|
+
* GoneError
|
|
5476
|
+
*/
|
|
5477
|
+
410: GoneError;
|
|
5478
|
+
/**
|
|
5479
|
+
* ContentTooLargeError
|
|
5480
|
+
*/
|
|
5481
|
+
413: ContentTooLargeError;
|
|
5482
|
+
/**
|
|
5483
|
+
* MisdirectedRequestError
|
|
5484
|
+
*/
|
|
5485
|
+
421: MisdirectedRequestError;
|
|
5486
|
+
/**
|
|
5487
|
+
* UnprocessableEntityError
|
|
5488
|
+
*/
|
|
5489
|
+
422: UnprocessableEntityError;
|
|
5490
|
+
/**
|
|
5491
|
+
* TooManyRequestsError
|
|
5492
|
+
*/
|
|
5493
|
+
429: TooManyRequestsError;
|
|
5494
|
+
/**
|
|
5495
|
+
* InternalServerError
|
|
5496
|
+
*/
|
|
5497
|
+
500: InternalServerError;
|
|
5498
|
+
/**
|
|
5499
|
+
* ServiceUnavailableError
|
|
5500
|
+
*/
|
|
5501
|
+
503: ServiceUnavailableError;
|
|
5502
|
+
};
|
|
5503
|
+
|
|
5504
|
+
export type IntegrationsConnectGitHubIntegrationError = IntegrationsConnectGitHubIntegrationErrors[keyof IntegrationsConnectGitHubIntegrationErrors];
|
|
5505
|
+
|
|
5506
|
+
export type IntegrationsConnectGitHubIntegrationResponses = {
|
|
5507
|
+
/**
|
|
5508
|
+
* Success
|
|
5509
|
+
*/
|
|
5510
|
+
200: {
|
|
5511
|
+
code: number;
|
|
5512
|
+
data: {
|
|
5513
|
+
state: string;
|
|
5514
|
+
url: string;
|
|
5515
|
+
} | null;
|
|
5516
|
+
error: {
|
|
5517
|
+
code: string;
|
|
5518
|
+
details?: unknown | null;
|
|
5519
|
+
message: string;
|
|
5520
|
+
rowErrors?: Array<{
|
|
5521
|
+
code: string;
|
|
5522
|
+
message: string;
|
|
5523
|
+
path: Array<string | number>;
|
|
5524
|
+
}> | null;
|
|
5525
|
+
} | null;
|
|
5526
|
+
pagination: {
|
|
5527
|
+
limit: number;
|
|
5528
|
+
page: number;
|
|
5529
|
+
total: number;
|
|
5530
|
+
totalPages: number;
|
|
5531
|
+
} | null;
|
|
5532
|
+
sdkBehavior?: {
|
|
5533
|
+
flags: {
|
|
5534
|
+
[key: string]: unknown;
|
|
5535
|
+
};
|
|
5536
|
+
v: number;
|
|
5537
|
+
} | null;
|
|
5538
|
+
success: boolean;
|
|
5539
|
+
};
|
|
5540
|
+
};
|
|
5541
|
+
|
|
5542
|
+
export type IntegrationsConnectGitHubIntegrationResponse = IntegrationsConnectGitHubIntegrationResponses[keyof IntegrationsConnectGitHubIntegrationResponses];
|
|
5543
|
+
|
|
5214
5544
|
export type OrganizationsListOrganizationInvitationsData = {
|
|
5215
5545
|
body?: never;
|
|
5216
5546
|
path: {
|
|
@@ -13317,7 +13647,20 @@ export type ProjectOverviewGetProjectOverviewResponses = {
|
|
|
13317
13647
|
200: {
|
|
13318
13648
|
code: number;
|
|
13319
13649
|
data: {
|
|
13650
|
+
apiPriceEquivalentUsd: number | null;
|
|
13651
|
+
billedCostUsd: number | null;
|
|
13652
|
+
byBillingMode: Array<{
|
|
13653
|
+
apiPriceEquivalentUsd: number | null;
|
|
13654
|
+
billedCostUsd: number | null;
|
|
13655
|
+
billingMode: 'subscription' | 'api' | 'unknown';
|
|
13656
|
+
estimatedCostUsd: number | null;
|
|
13657
|
+
spanCount: number;
|
|
13658
|
+
totalTokens: number;
|
|
13659
|
+
traceCount: number;
|
|
13660
|
+
}>;
|
|
13320
13661
|
cost: {
|
|
13662
|
+
api_price_equivalent_total?: number | null | null;
|
|
13663
|
+
billed_total?: number | null | null;
|
|
13321
13664
|
by_model?: Array<{
|
|
13322
13665
|
mode?: string | null;
|
|
13323
13666
|
model: string;
|
|
@@ -13412,11 +13755,16 @@ export type ProjectOverviewGetProjectOverviewResponses = {
|
|
|
13412
13755
|
model: string;
|
|
13413
13756
|
name: string;
|
|
13414
13757
|
provider: string;
|
|
13758
|
+
sessionId?: string | null;
|
|
13415
13759
|
timestamp: string;
|
|
13416
13760
|
traceId: string;
|
|
13417
13761
|
}>;
|
|
13418
13762
|
timeSeries: Array<{
|
|
13763
|
+
apiPriceEquivalentUsd: number | null;
|
|
13764
|
+
billedCostUsd: number | null;
|
|
13419
13765
|
cost: {
|
|
13766
|
+
api_price_equivalent_total?: number | null | null;
|
|
13767
|
+
billed_total?: number | null | null;
|
|
13420
13768
|
by_model?: Array<{
|
|
13421
13769
|
mode?: string | null;
|
|
13422
13770
|
model: string;
|
|
@@ -13502,9 +13850,14 @@ export type ProjectOverviewGetProjectOverviewResponses = {
|
|
|
13502
13850
|
estimatedCostUsd: number | null;
|
|
13503
13851
|
timestamp: string;
|
|
13504
13852
|
traceCount: number;
|
|
13853
|
+
unclassifiedApiPriceEquivalentUsd: number | null;
|
|
13505
13854
|
}>;
|
|
13506
13855
|
topModels: Array<{
|
|
13856
|
+
apiPriceEquivalentUsd: number | null;
|
|
13857
|
+
billedCostUsd: number | null;
|
|
13507
13858
|
cost: {
|
|
13859
|
+
api_price_equivalent_total?: number | null | null;
|
|
13860
|
+
billed_total?: number | null | null;
|
|
13508
13861
|
by_model?: Array<{
|
|
13509
13862
|
mode?: string | null;
|
|
13510
13863
|
model: string;
|
|
@@ -13599,6 +13952,8 @@ export type ProjectOverviewGetProjectOverviewResponses = {
|
|
|
13599
13952
|
totalOutputTokens: number;
|
|
13600
13953
|
totalTokens: number;
|
|
13601
13954
|
totalTraces: number;
|
|
13955
|
+
tracesReadable: boolean;
|
|
13956
|
+
unclassifiedApiPriceEquivalentUsd: number | null;
|
|
13602
13957
|
} | null;
|
|
13603
13958
|
error: {
|
|
13604
13959
|
code: string;
|
|
@@ -24000,6 +24355,7 @@ export type TracesListTracesData = {
|
|
|
24000
24355
|
vcsRepositoryUrl?: string | null;
|
|
24001
24356
|
vcsHeadName?: string | null;
|
|
24002
24357
|
vcsHeadRevision?: string | null;
|
|
24358
|
+
billingMode?: 'subscription' | 'api' | 'unknown' | Array<'subscription' | 'api' | 'unknown'> | null;
|
|
24003
24359
|
minTokens?: string | null;
|
|
24004
24360
|
maxTokens?: string | null;
|
|
24005
24361
|
minCost?: string | null;
|
|
@@ -24072,7 +24428,12 @@ export type TracesListTracesResponses = {
|
|
|
24072
24428
|
200: {
|
|
24073
24429
|
code: number;
|
|
24074
24430
|
data: Array<{
|
|
24431
|
+
api_price_equivalent_usd: number | null;
|
|
24432
|
+
billed_cost_usd: number | null;
|
|
24433
|
+
billing_mode: 'subscription' | 'api' | 'unknown' | 'mixed' | null;
|
|
24075
24434
|
cost: {
|
|
24435
|
+
api_price_equivalent_total?: number | null | null;
|
|
24436
|
+
billed_total?: number | null | null;
|
|
24076
24437
|
by_model?: Array<{
|
|
24077
24438
|
mode?: string | null;
|
|
24078
24439
|
model: string;
|
|
@@ -24203,6 +24564,105 @@ export type TracesListTracesResponses = {
|
|
|
24203
24564
|
|
|
24204
24565
|
export type TracesListTracesResponse = TracesListTracesResponses[keyof TracesListTracesResponses];
|
|
24205
24566
|
|
|
24567
|
+
export type TracesGetTraceExistenceData = {
|
|
24568
|
+
body?: never;
|
|
24569
|
+
path: {
|
|
24570
|
+
projectId: string;
|
|
24571
|
+
};
|
|
24572
|
+
query?: never;
|
|
24573
|
+
url: '/v1/projects/{projectId}/traces/exists';
|
|
24574
|
+
};
|
|
24575
|
+
|
|
24576
|
+
export type TracesGetTraceExistenceErrors = {
|
|
24577
|
+
/**
|
|
24578
|
+
* BadRequestError
|
|
24579
|
+
*/
|
|
24580
|
+
400: BadRequestError;
|
|
24581
|
+
/**
|
|
24582
|
+
* UnauthorizedError
|
|
24583
|
+
*/
|
|
24584
|
+
401: UnauthorizedError;
|
|
24585
|
+
/**
|
|
24586
|
+
* ForbiddenError
|
|
24587
|
+
*/
|
|
24588
|
+
403: ForbiddenError;
|
|
24589
|
+
/**
|
|
24590
|
+
* NotFoundError
|
|
24591
|
+
*/
|
|
24592
|
+
404: NotFoundError;
|
|
24593
|
+
/**
|
|
24594
|
+
* ConflictError
|
|
24595
|
+
*/
|
|
24596
|
+
409: ConflictError;
|
|
24597
|
+
/**
|
|
24598
|
+
* GoneError
|
|
24599
|
+
*/
|
|
24600
|
+
410: GoneError;
|
|
24601
|
+
/**
|
|
24602
|
+
* ContentTooLargeError
|
|
24603
|
+
*/
|
|
24604
|
+
413: ContentTooLargeError;
|
|
24605
|
+
/**
|
|
24606
|
+
* MisdirectedRequestError
|
|
24607
|
+
*/
|
|
24608
|
+
421: MisdirectedRequestError;
|
|
24609
|
+
/**
|
|
24610
|
+
* UnprocessableEntityError
|
|
24611
|
+
*/
|
|
24612
|
+
422: UnprocessableEntityError;
|
|
24613
|
+
/**
|
|
24614
|
+
* TooManyRequestsError
|
|
24615
|
+
*/
|
|
24616
|
+
429: TooManyRequestsError;
|
|
24617
|
+
/**
|
|
24618
|
+
* InternalServerError
|
|
24619
|
+
*/
|
|
24620
|
+
500: InternalServerError;
|
|
24621
|
+
/**
|
|
24622
|
+
* ServiceUnavailableError
|
|
24623
|
+
*/
|
|
24624
|
+
503: ServiceUnavailableError;
|
|
24625
|
+
};
|
|
24626
|
+
|
|
24627
|
+
export type TracesGetTraceExistenceError = TracesGetTraceExistenceErrors[keyof TracesGetTraceExistenceErrors];
|
|
24628
|
+
|
|
24629
|
+
export type TracesGetTraceExistenceResponses = {
|
|
24630
|
+
/**
|
|
24631
|
+
* Success
|
|
24632
|
+
*/
|
|
24633
|
+
200: {
|
|
24634
|
+
code: number;
|
|
24635
|
+
data: {
|
|
24636
|
+
exists: boolean;
|
|
24637
|
+
} | null;
|
|
24638
|
+
error: {
|
|
24639
|
+
code: string;
|
|
24640
|
+
details?: unknown | null;
|
|
24641
|
+
message: string;
|
|
24642
|
+
rowErrors?: Array<{
|
|
24643
|
+
code: string;
|
|
24644
|
+
message: string;
|
|
24645
|
+
path: Array<string | number>;
|
|
24646
|
+
}> | null;
|
|
24647
|
+
} | null;
|
|
24648
|
+
pagination: {
|
|
24649
|
+
limit: number;
|
|
24650
|
+
page: number;
|
|
24651
|
+
total: number;
|
|
24652
|
+
totalPages: number;
|
|
24653
|
+
} | null;
|
|
24654
|
+
sdkBehavior?: {
|
|
24655
|
+
flags: {
|
|
24656
|
+
[key: string]: unknown;
|
|
24657
|
+
};
|
|
24658
|
+
v: number;
|
|
24659
|
+
} | null;
|
|
24660
|
+
success: boolean;
|
|
24661
|
+
};
|
|
24662
|
+
};
|
|
24663
|
+
|
|
24664
|
+
export type TracesGetTraceExistenceResponse = TracesGetTraceExistenceResponses[keyof TracesGetTraceExistenceResponses];
|
|
24665
|
+
|
|
24206
24666
|
export type TracesListTracePromptFacetsData = {
|
|
24207
24667
|
body?: never;
|
|
24208
24668
|
path: {
|
|
@@ -24221,6 +24681,7 @@ export type TracesListTracePromptFacetsData = {
|
|
|
24221
24681
|
vcsRepositoryUrl?: string | null;
|
|
24222
24682
|
vcsHeadName?: string | null;
|
|
24223
24683
|
vcsHeadRevision?: string | null;
|
|
24684
|
+
billingMode?: 'subscription' | 'api' | 'unknown' | Array<'subscription' | 'api' | 'unknown'> | null;
|
|
24224
24685
|
minTokens?: string | null;
|
|
24225
24686
|
maxTokens?: string | null;
|
|
24226
24687
|
minCost?: string | null;
|
|
@@ -24395,7 +24856,12 @@ export type TracesGetTraceDetailResponses = {
|
|
|
24395
24856
|
200: {
|
|
24396
24857
|
code: number;
|
|
24397
24858
|
data: {
|
|
24859
|
+
api_price_equivalent_usd: number | null;
|
|
24860
|
+
billed_cost_usd: number | null;
|
|
24861
|
+
billing_mode: 'subscription' | 'api' | 'unknown' | 'mixed' | null;
|
|
24398
24862
|
cost: {
|
|
24863
|
+
api_price_equivalent_total?: number | null | null;
|
|
24864
|
+
billed_total?: number | null | null;
|
|
24399
24865
|
by_model?: Array<{
|
|
24400
24866
|
mode?: string | null;
|
|
24401
24867
|
model: string;
|
|
@@ -24479,9 +24945,12 @@ export type TracesGetTraceDetailResponses = {
|
|
|
24479
24945
|
};
|
|
24480
24946
|
duration_ms: number;
|
|
24481
24947
|
spans: Array<{
|
|
24948
|
+
api_price_equivalent_usd: number | null;
|
|
24482
24949
|
attributes: {
|
|
24483
24950
|
[key: string]: string | number | boolean | null;
|
|
24484
24951
|
};
|
|
24952
|
+
billed_cost_usd: number | null;
|
|
24953
|
+
billing_mode: 'subscription' | 'api' | 'unknown' | null;
|
|
24485
24954
|
consumedBy?: Array<{
|
|
24486
24955
|
kind: string;
|
|
24487
24956
|
name: string;
|
|
@@ -24489,6 +24958,8 @@ export type TracesGetTraceDetailResponses = {
|
|
|
24489
24958
|
traceId: string;
|
|
24490
24959
|
}> | null;
|
|
24491
24960
|
cost: {
|
|
24961
|
+
api_price_equivalent_total?: number | null | null;
|
|
24962
|
+
billed_total?: number | null | null;
|
|
24492
24963
|
currency: 'USD';
|
|
24493
24964
|
tokens: {
|
|
24494
24965
|
cache_creation?: {
|
|
@@ -25008,6 +25479,106 @@ export type ClerkWebhooksReceiveClerkWebhookResponses = {
|
|
|
25008
25479
|
|
|
25009
25480
|
export type ClerkWebhooksReceiveClerkWebhookResponse = ClerkWebhooksReceiveClerkWebhookResponses[keyof ClerkWebhooksReceiveClerkWebhookResponses];
|
|
25010
25481
|
|
|
25482
|
+
export type IntegrationsReceiveIntegrationWebhookData = {
|
|
25483
|
+
body?: never;
|
|
25484
|
+
path: {
|
|
25485
|
+
provider: string;
|
|
25486
|
+
endpointRef: string;
|
|
25487
|
+
};
|
|
25488
|
+
query?: never;
|
|
25489
|
+
url: '/v1/webhooks/{provider}/{endpointRef}';
|
|
25490
|
+
};
|
|
25491
|
+
|
|
25492
|
+
export type IntegrationsReceiveIntegrationWebhookErrors = {
|
|
25493
|
+
/**
|
|
25494
|
+
* BadRequestError
|
|
25495
|
+
*/
|
|
25496
|
+
400: BadRequestError;
|
|
25497
|
+
/**
|
|
25498
|
+
* UnauthorizedError
|
|
25499
|
+
*/
|
|
25500
|
+
401: UnauthorizedError;
|
|
25501
|
+
/**
|
|
25502
|
+
* ForbiddenError
|
|
25503
|
+
*/
|
|
25504
|
+
403: ForbiddenError;
|
|
25505
|
+
/**
|
|
25506
|
+
* NotFoundError
|
|
25507
|
+
*/
|
|
25508
|
+
404: NotFoundError;
|
|
25509
|
+
/**
|
|
25510
|
+
* ConflictError
|
|
25511
|
+
*/
|
|
25512
|
+
409: ConflictError;
|
|
25513
|
+
/**
|
|
25514
|
+
* GoneError
|
|
25515
|
+
*/
|
|
25516
|
+
410: GoneError;
|
|
25517
|
+
/**
|
|
25518
|
+
* ContentTooLargeError
|
|
25519
|
+
*/
|
|
25520
|
+
413: ContentTooLargeError;
|
|
25521
|
+
/**
|
|
25522
|
+
* MisdirectedRequestError
|
|
25523
|
+
*/
|
|
25524
|
+
421: MisdirectedRequestError;
|
|
25525
|
+
/**
|
|
25526
|
+
* UnprocessableEntityError
|
|
25527
|
+
*/
|
|
25528
|
+
422: UnprocessableEntityError;
|
|
25529
|
+
/**
|
|
25530
|
+
* TooManyRequestsError
|
|
25531
|
+
*/
|
|
25532
|
+
429: TooManyRequestsError;
|
|
25533
|
+
/**
|
|
25534
|
+
* InternalServerError
|
|
25535
|
+
*/
|
|
25536
|
+
500: InternalServerError;
|
|
25537
|
+
/**
|
|
25538
|
+
* ServiceUnavailableError
|
|
25539
|
+
*/
|
|
25540
|
+
503: ServiceUnavailableError;
|
|
25541
|
+
};
|
|
25542
|
+
|
|
25543
|
+
export type IntegrationsReceiveIntegrationWebhookError = IntegrationsReceiveIntegrationWebhookErrors[keyof IntegrationsReceiveIntegrationWebhookErrors];
|
|
25544
|
+
|
|
25545
|
+
export type IntegrationsReceiveIntegrationWebhookResponses = {
|
|
25546
|
+
/**
|
|
25547
|
+
* Success
|
|
25548
|
+
*/
|
|
25549
|
+
202: {
|
|
25550
|
+
code: number;
|
|
25551
|
+
data: {
|
|
25552
|
+
received: boolean;
|
|
25553
|
+
} | null;
|
|
25554
|
+
error: {
|
|
25555
|
+
code: string;
|
|
25556
|
+
details?: unknown | null;
|
|
25557
|
+
message: string;
|
|
25558
|
+
rowErrors?: Array<{
|
|
25559
|
+
code: string;
|
|
25560
|
+
message: string;
|
|
25561
|
+
path: Array<string | number>;
|
|
25562
|
+
}> | null;
|
|
25563
|
+
} | null;
|
|
25564
|
+
pagination: {
|
|
25565
|
+
limit: number;
|
|
25566
|
+
page: number;
|
|
25567
|
+
total: number;
|
|
25568
|
+
totalPages: number;
|
|
25569
|
+
} | null;
|
|
25570
|
+
sdkBehavior?: {
|
|
25571
|
+
flags: {
|
|
25572
|
+
[key: string]: unknown;
|
|
25573
|
+
};
|
|
25574
|
+
v: number;
|
|
25575
|
+
} | null;
|
|
25576
|
+
success: boolean;
|
|
25577
|
+
};
|
|
25578
|
+
};
|
|
25579
|
+
|
|
25580
|
+
export type IntegrationsReceiveIntegrationWebhookResponse = IntegrationsReceiveIntegrationWebhookResponses[keyof IntegrationsReceiveIntegrationWebhookResponses];
|
|
25581
|
+
|
|
25011
25582
|
export type ProjectsListProjectsData = {
|
|
25012
25583
|
body?: never;
|
|
25013
25584
|
path: {
|