@to11ai/sdk 3.0.0-rc.15 → 3.0.0-rc.16
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 +495 -0
- package/dist/generated/zod.gen.d.ts +203 -0
- package/package.json +1 -1
- package/src/generated/index.ts +1 -1
- package/src/generated/types.gen.ts +520 -0
- package/src/generated/zod.gen.ts +214 -0
|
@@ -5258,6 +5258,500 @@ export type IntegrationsConnectGitHubIntegrationResponses = {
|
|
|
5258
5258
|
};
|
|
5259
5259
|
};
|
|
5260
5260
|
export type IntegrationsConnectGitHubIntegrationResponse = IntegrationsConnectGitHubIntegrationResponses[keyof IntegrationsConnectGitHubIntegrationResponses];
|
|
5261
|
+
export type IntegrationsRemoveGitHubUserLinkData = {
|
|
5262
|
+
body?: never;
|
|
5263
|
+
path: {
|
|
5264
|
+
orgId: string;
|
|
5265
|
+
};
|
|
5266
|
+
query?: never;
|
|
5267
|
+
url: '/v1/orgs/{orgId}/integrations/github/user-link';
|
|
5268
|
+
};
|
|
5269
|
+
export type IntegrationsRemoveGitHubUserLinkErrors = {
|
|
5270
|
+
/**
|
|
5271
|
+
* BadRequestError
|
|
5272
|
+
*/
|
|
5273
|
+
400: BadRequestError;
|
|
5274
|
+
/**
|
|
5275
|
+
* UnauthorizedError
|
|
5276
|
+
*/
|
|
5277
|
+
401: UnauthorizedError;
|
|
5278
|
+
/**
|
|
5279
|
+
* ForbiddenError
|
|
5280
|
+
*/
|
|
5281
|
+
403: ForbiddenError;
|
|
5282
|
+
/**
|
|
5283
|
+
* NotFoundError
|
|
5284
|
+
*/
|
|
5285
|
+
404: NotFoundError;
|
|
5286
|
+
/**
|
|
5287
|
+
* ConflictError
|
|
5288
|
+
*/
|
|
5289
|
+
409: ConflictError;
|
|
5290
|
+
/**
|
|
5291
|
+
* GoneError
|
|
5292
|
+
*/
|
|
5293
|
+
410: GoneError;
|
|
5294
|
+
/**
|
|
5295
|
+
* ContentTooLargeError
|
|
5296
|
+
*/
|
|
5297
|
+
413: ContentTooLargeError;
|
|
5298
|
+
/**
|
|
5299
|
+
* MisdirectedRequestError
|
|
5300
|
+
*/
|
|
5301
|
+
421: MisdirectedRequestError;
|
|
5302
|
+
/**
|
|
5303
|
+
* UnprocessableEntityError
|
|
5304
|
+
*/
|
|
5305
|
+
422: UnprocessableEntityError;
|
|
5306
|
+
/**
|
|
5307
|
+
* TooManyRequestsError
|
|
5308
|
+
*/
|
|
5309
|
+
429: TooManyRequestsError;
|
|
5310
|
+
/**
|
|
5311
|
+
* InternalServerError
|
|
5312
|
+
*/
|
|
5313
|
+
500: InternalServerError;
|
|
5314
|
+
/**
|
|
5315
|
+
* ServiceUnavailableError
|
|
5316
|
+
*/
|
|
5317
|
+
503: ServiceUnavailableError;
|
|
5318
|
+
};
|
|
5319
|
+
export type IntegrationsRemoveGitHubUserLinkError = IntegrationsRemoveGitHubUserLinkErrors[keyof IntegrationsRemoveGitHubUserLinkErrors];
|
|
5320
|
+
export type IntegrationsRemoveGitHubUserLinkResponses = {
|
|
5321
|
+
/**
|
|
5322
|
+
* Success
|
|
5323
|
+
*/
|
|
5324
|
+
200: {
|
|
5325
|
+
code: number;
|
|
5326
|
+
data: {
|
|
5327
|
+
removed: boolean;
|
|
5328
|
+
} | null;
|
|
5329
|
+
error: {
|
|
5330
|
+
code: string;
|
|
5331
|
+
details?: unknown | null;
|
|
5332
|
+
message: string;
|
|
5333
|
+
rowErrors?: Array<{
|
|
5334
|
+
code: string;
|
|
5335
|
+
message: string;
|
|
5336
|
+
path: Array<string | number>;
|
|
5337
|
+
}> | null;
|
|
5338
|
+
} | null;
|
|
5339
|
+
pagination: {
|
|
5340
|
+
limit: number;
|
|
5341
|
+
page: number;
|
|
5342
|
+
total: number;
|
|
5343
|
+
totalPages: number;
|
|
5344
|
+
} | null;
|
|
5345
|
+
sdkBehavior?: {
|
|
5346
|
+
flags: {
|
|
5347
|
+
[key: string]: unknown;
|
|
5348
|
+
};
|
|
5349
|
+
v: number;
|
|
5350
|
+
} | null;
|
|
5351
|
+
success: boolean;
|
|
5352
|
+
};
|
|
5353
|
+
};
|
|
5354
|
+
export type IntegrationsRemoveGitHubUserLinkResponse = IntegrationsRemoveGitHubUserLinkResponses[keyof IntegrationsRemoveGitHubUserLinkResponses];
|
|
5355
|
+
export type IntegrationsGetGitHubUserLinkData = {
|
|
5356
|
+
body?: never;
|
|
5357
|
+
path: {
|
|
5358
|
+
orgId: string;
|
|
5359
|
+
};
|
|
5360
|
+
query?: never;
|
|
5361
|
+
url: '/v1/orgs/{orgId}/integrations/github/user-link';
|
|
5362
|
+
};
|
|
5363
|
+
export type IntegrationsGetGitHubUserLinkErrors = {
|
|
5364
|
+
/**
|
|
5365
|
+
* BadRequestError
|
|
5366
|
+
*/
|
|
5367
|
+
400: BadRequestError;
|
|
5368
|
+
/**
|
|
5369
|
+
* UnauthorizedError
|
|
5370
|
+
*/
|
|
5371
|
+
401: UnauthorizedError;
|
|
5372
|
+
/**
|
|
5373
|
+
* ForbiddenError
|
|
5374
|
+
*/
|
|
5375
|
+
403: ForbiddenError;
|
|
5376
|
+
/**
|
|
5377
|
+
* NotFoundError
|
|
5378
|
+
*/
|
|
5379
|
+
404: NotFoundError;
|
|
5380
|
+
/**
|
|
5381
|
+
* ConflictError
|
|
5382
|
+
*/
|
|
5383
|
+
409: ConflictError;
|
|
5384
|
+
/**
|
|
5385
|
+
* GoneError
|
|
5386
|
+
*/
|
|
5387
|
+
410: GoneError;
|
|
5388
|
+
/**
|
|
5389
|
+
* ContentTooLargeError
|
|
5390
|
+
*/
|
|
5391
|
+
413: ContentTooLargeError;
|
|
5392
|
+
/**
|
|
5393
|
+
* MisdirectedRequestError
|
|
5394
|
+
*/
|
|
5395
|
+
421: MisdirectedRequestError;
|
|
5396
|
+
/**
|
|
5397
|
+
* UnprocessableEntityError
|
|
5398
|
+
*/
|
|
5399
|
+
422: UnprocessableEntityError;
|
|
5400
|
+
/**
|
|
5401
|
+
* TooManyRequestsError
|
|
5402
|
+
*/
|
|
5403
|
+
429: TooManyRequestsError;
|
|
5404
|
+
/**
|
|
5405
|
+
* InternalServerError
|
|
5406
|
+
*/
|
|
5407
|
+
500: InternalServerError;
|
|
5408
|
+
/**
|
|
5409
|
+
* ServiceUnavailableError
|
|
5410
|
+
*/
|
|
5411
|
+
503: ServiceUnavailableError;
|
|
5412
|
+
};
|
|
5413
|
+
export type IntegrationsGetGitHubUserLinkError = IntegrationsGetGitHubUserLinkErrors[keyof IntegrationsGetGitHubUserLinkErrors];
|
|
5414
|
+
export type IntegrationsGetGitHubUserLinkResponses = {
|
|
5415
|
+
/**
|
|
5416
|
+
* Success
|
|
5417
|
+
*/
|
|
5418
|
+
200: {
|
|
5419
|
+
code: number;
|
|
5420
|
+
data: {
|
|
5421
|
+
configured: boolean;
|
|
5422
|
+
link: {
|
|
5423
|
+
githubLogin: string;
|
|
5424
|
+
githubUserId: string;
|
|
5425
|
+
linkedAt: string;
|
|
5426
|
+
source: 'user_authorization' | 'installation' | 'sign_in';
|
|
5427
|
+
} | null;
|
|
5428
|
+
signInAccount: {
|
|
5429
|
+
githubLogin: string;
|
|
5430
|
+
githubUserId: string;
|
|
5431
|
+
} | null;
|
|
5432
|
+
} | null;
|
|
5433
|
+
error: {
|
|
5434
|
+
code: string;
|
|
5435
|
+
details?: unknown | null;
|
|
5436
|
+
message: string;
|
|
5437
|
+
rowErrors?: Array<{
|
|
5438
|
+
code: string;
|
|
5439
|
+
message: string;
|
|
5440
|
+
path: Array<string | number>;
|
|
5441
|
+
}> | null;
|
|
5442
|
+
} | null;
|
|
5443
|
+
pagination: {
|
|
5444
|
+
limit: number;
|
|
5445
|
+
page: number;
|
|
5446
|
+
total: number;
|
|
5447
|
+
totalPages: number;
|
|
5448
|
+
} | null;
|
|
5449
|
+
sdkBehavior?: {
|
|
5450
|
+
flags: {
|
|
5451
|
+
[key: string]: unknown;
|
|
5452
|
+
};
|
|
5453
|
+
v: number;
|
|
5454
|
+
} | null;
|
|
5455
|
+
success: boolean;
|
|
5456
|
+
};
|
|
5457
|
+
};
|
|
5458
|
+
export type IntegrationsGetGitHubUserLinkResponse = IntegrationsGetGitHubUserLinkResponses[keyof IntegrationsGetGitHubUserLinkResponses];
|
|
5459
|
+
export type IntegrationsCompleteGitHubUserLinkData = {
|
|
5460
|
+
body: {
|
|
5461
|
+
code: string;
|
|
5462
|
+
state: string;
|
|
5463
|
+
};
|
|
5464
|
+
path: {
|
|
5465
|
+
orgId: string;
|
|
5466
|
+
};
|
|
5467
|
+
query?: never;
|
|
5468
|
+
url: '/v1/orgs/{orgId}/integrations/github/user-link/callback';
|
|
5469
|
+
};
|
|
5470
|
+
export type IntegrationsCompleteGitHubUserLinkErrors = {
|
|
5471
|
+
/**
|
|
5472
|
+
* BadRequestError
|
|
5473
|
+
*/
|
|
5474
|
+
400: BadRequestError;
|
|
5475
|
+
/**
|
|
5476
|
+
* UnauthorizedError
|
|
5477
|
+
*/
|
|
5478
|
+
401: UnauthorizedError;
|
|
5479
|
+
/**
|
|
5480
|
+
* ForbiddenError
|
|
5481
|
+
*/
|
|
5482
|
+
403: ForbiddenError;
|
|
5483
|
+
/**
|
|
5484
|
+
* NotFoundError
|
|
5485
|
+
*/
|
|
5486
|
+
404: NotFoundError;
|
|
5487
|
+
/**
|
|
5488
|
+
* ConflictError
|
|
5489
|
+
*/
|
|
5490
|
+
409: ConflictError;
|
|
5491
|
+
/**
|
|
5492
|
+
* GoneError
|
|
5493
|
+
*/
|
|
5494
|
+
410: GoneError;
|
|
5495
|
+
/**
|
|
5496
|
+
* ContentTooLargeError
|
|
5497
|
+
*/
|
|
5498
|
+
413: ContentTooLargeError;
|
|
5499
|
+
/**
|
|
5500
|
+
* MisdirectedRequestError
|
|
5501
|
+
*/
|
|
5502
|
+
421: MisdirectedRequestError;
|
|
5503
|
+
/**
|
|
5504
|
+
* UnprocessableEntityError
|
|
5505
|
+
*/
|
|
5506
|
+
422: UnprocessableEntityError;
|
|
5507
|
+
/**
|
|
5508
|
+
* TooManyRequestsError
|
|
5509
|
+
*/
|
|
5510
|
+
429: TooManyRequestsError;
|
|
5511
|
+
/**
|
|
5512
|
+
* InternalServerError
|
|
5513
|
+
*/
|
|
5514
|
+
500: InternalServerError;
|
|
5515
|
+
/**
|
|
5516
|
+
* ServiceUnavailableError
|
|
5517
|
+
*/
|
|
5518
|
+
503: ServiceUnavailableError;
|
|
5519
|
+
};
|
|
5520
|
+
export type IntegrationsCompleteGitHubUserLinkError = IntegrationsCompleteGitHubUserLinkErrors[keyof IntegrationsCompleteGitHubUserLinkErrors];
|
|
5521
|
+
export type IntegrationsCompleteGitHubUserLinkResponses = {
|
|
5522
|
+
/**
|
|
5523
|
+
* Success
|
|
5524
|
+
*/
|
|
5525
|
+
200: {
|
|
5526
|
+
code: number;
|
|
5527
|
+
data: {
|
|
5528
|
+
link: {
|
|
5529
|
+
githubLogin: string;
|
|
5530
|
+
githubUserId: string;
|
|
5531
|
+
linkedAt: string;
|
|
5532
|
+
source: 'user_authorization' | 'installation' | 'sign_in';
|
|
5533
|
+
};
|
|
5534
|
+
} | null;
|
|
5535
|
+
error: {
|
|
5536
|
+
code: string;
|
|
5537
|
+
details?: unknown | null;
|
|
5538
|
+
message: string;
|
|
5539
|
+
rowErrors?: Array<{
|
|
5540
|
+
code: string;
|
|
5541
|
+
message: string;
|
|
5542
|
+
path: Array<string | number>;
|
|
5543
|
+
}> | null;
|
|
5544
|
+
} | null;
|
|
5545
|
+
pagination: {
|
|
5546
|
+
limit: number;
|
|
5547
|
+
page: number;
|
|
5548
|
+
total: number;
|
|
5549
|
+
totalPages: number;
|
|
5550
|
+
} | null;
|
|
5551
|
+
sdkBehavior?: {
|
|
5552
|
+
flags: {
|
|
5553
|
+
[key: string]: unknown;
|
|
5554
|
+
};
|
|
5555
|
+
v: number;
|
|
5556
|
+
} | null;
|
|
5557
|
+
success: boolean;
|
|
5558
|
+
};
|
|
5559
|
+
};
|
|
5560
|
+
export type IntegrationsCompleteGitHubUserLinkResponse = IntegrationsCompleteGitHubUserLinkResponses[keyof IntegrationsCompleteGitHubUserLinkResponses];
|
|
5561
|
+
export type IntegrationsConnectGitHubUserLinkData = {
|
|
5562
|
+
body?: never;
|
|
5563
|
+
path: {
|
|
5564
|
+
orgId: string;
|
|
5565
|
+
};
|
|
5566
|
+
query?: never;
|
|
5567
|
+
url: '/v1/orgs/{orgId}/integrations/github/user-link/connect';
|
|
5568
|
+
};
|
|
5569
|
+
export type IntegrationsConnectGitHubUserLinkErrors = {
|
|
5570
|
+
/**
|
|
5571
|
+
* BadRequestError
|
|
5572
|
+
*/
|
|
5573
|
+
400: BadRequestError;
|
|
5574
|
+
/**
|
|
5575
|
+
* UnauthorizedError
|
|
5576
|
+
*/
|
|
5577
|
+
401: UnauthorizedError;
|
|
5578
|
+
/**
|
|
5579
|
+
* ForbiddenError
|
|
5580
|
+
*/
|
|
5581
|
+
403: ForbiddenError;
|
|
5582
|
+
/**
|
|
5583
|
+
* NotFoundError
|
|
5584
|
+
*/
|
|
5585
|
+
404: NotFoundError;
|
|
5586
|
+
/**
|
|
5587
|
+
* ConflictError
|
|
5588
|
+
*/
|
|
5589
|
+
409: ConflictError;
|
|
5590
|
+
/**
|
|
5591
|
+
* GoneError
|
|
5592
|
+
*/
|
|
5593
|
+
410: GoneError;
|
|
5594
|
+
/**
|
|
5595
|
+
* ContentTooLargeError
|
|
5596
|
+
*/
|
|
5597
|
+
413: ContentTooLargeError;
|
|
5598
|
+
/**
|
|
5599
|
+
* MisdirectedRequestError
|
|
5600
|
+
*/
|
|
5601
|
+
421: MisdirectedRequestError;
|
|
5602
|
+
/**
|
|
5603
|
+
* UnprocessableEntityError
|
|
5604
|
+
*/
|
|
5605
|
+
422: UnprocessableEntityError;
|
|
5606
|
+
/**
|
|
5607
|
+
* TooManyRequestsError
|
|
5608
|
+
*/
|
|
5609
|
+
429: TooManyRequestsError;
|
|
5610
|
+
/**
|
|
5611
|
+
* InternalServerError
|
|
5612
|
+
*/
|
|
5613
|
+
500: InternalServerError;
|
|
5614
|
+
/**
|
|
5615
|
+
* ServiceUnavailableError
|
|
5616
|
+
*/
|
|
5617
|
+
503: ServiceUnavailableError;
|
|
5618
|
+
};
|
|
5619
|
+
export type IntegrationsConnectGitHubUserLinkError = IntegrationsConnectGitHubUserLinkErrors[keyof IntegrationsConnectGitHubUserLinkErrors];
|
|
5620
|
+
export type IntegrationsConnectGitHubUserLinkResponses = {
|
|
5621
|
+
/**
|
|
5622
|
+
* Success
|
|
5623
|
+
*/
|
|
5624
|
+
200: {
|
|
5625
|
+
code: number;
|
|
5626
|
+
data: {
|
|
5627
|
+
state: string;
|
|
5628
|
+
url: string;
|
|
5629
|
+
} | null;
|
|
5630
|
+
error: {
|
|
5631
|
+
code: string;
|
|
5632
|
+
details?: unknown | null;
|
|
5633
|
+
message: string;
|
|
5634
|
+
rowErrors?: Array<{
|
|
5635
|
+
code: string;
|
|
5636
|
+
message: string;
|
|
5637
|
+
path: Array<string | number>;
|
|
5638
|
+
}> | null;
|
|
5639
|
+
} | null;
|
|
5640
|
+
pagination: {
|
|
5641
|
+
limit: number;
|
|
5642
|
+
page: number;
|
|
5643
|
+
total: number;
|
|
5644
|
+
totalPages: number;
|
|
5645
|
+
} | null;
|
|
5646
|
+
sdkBehavior?: {
|
|
5647
|
+
flags: {
|
|
5648
|
+
[key: string]: unknown;
|
|
5649
|
+
};
|
|
5650
|
+
v: number;
|
|
5651
|
+
} | null;
|
|
5652
|
+
success: boolean;
|
|
5653
|
+
};
|
|
5654
|
+
};
|
|
5655
|
+
export type IntegrationsConnectGitHubUserLinkResponse = IntegrationsConnectGitHubUserLinkResponses[keyof IntegrationsConnectGitHubUserLinkResponses];
|
|
5656
|
+
export type IntegrationsLinkGitHubSignInAccountData = {
|
|
5657
|
+
body?: never;
|
|
5658
|
+
path: {
|
|
5659
|
+
orgId: string;
|
|
5660
|
+
};
|
|
5661
|
+
query?: never;
|
|
5662
|
+
url: '/v1/orgs/{orgId}/integrations/github/user-link/sign-in-account';
|
|
5663
|
+
};
|
|
5664
|
+
export type IntegrationsLinkGitHubSignInAccountErrors = {
|
|
5665
|
+
/**
|
|
5666
|
+
* BadRequestError
|
|
5667
|
+
*/
|
|
5668
|
+
400: BadRequestError;
|
|
5669
|
+
/**
|
|
5670
|
+
* UnauthorizedError
|
|
5671
|
+
*/
|
|
5672
|
+
401: UnauthorizedError;
|
|
5673
|
+
/**
|
|
5674
|
+
* ForbiddenError
|
|
5675
|
+
*/
|
|
5676
|
+
403: ForbiddenError;
|
|
5677
|
+
/**
|
|
5678
|
+
* NotFoundError
|
|
5679
|
+
*/
|
|
5680
|
+
404: NotFoundError;
|
|
5681
|
+
/**
|
|
5682
|
+
* ConflictError
|
|
5683
|
+
*/
|
|
5684
|
+
409: ConflictError;
|
|
5685
|
+
/**
|
|
5686
|
+
* GoneError
|
|
5687
|
+
*/
|
|
5688
|
+
410: GoneError;
|
|
5689
|
+
/**
|
|
5690
|
+
* ContentTooLargeError
|
|
5691
|
+
*/
|
|
5692
|
+
413: ContentTooLargeError;
|
|
5693
|
+
/**
|
|
5694
|
+
* MisdirectedRequestError
|
|
5695
|
+
*/
|
|
5696
|
+
421: MisdirectedRequestError;
|
|
5697
|
+
/**
|
|
5698
|
+
* UnprocessableEntityError
|
|
5699
|
+
*/
|
|
5700
|
+
422: UnprocessableEntityError;
|
|
5701
|
+
/**
|
|
5702
|
+
* TooManyRequestsError
|
|
5703
|
+
*/
|
|
5704
|
+
429: TooManyRequestsError;
|
|
5705
|
+
/**
|
|
5706
|
+
* InternalServerError
|
|
5707
|
+
*/
|
|
5708
|
+
500: InternalServerError;
|
|
5709
|
+
/**
|
|
5710
|
+
* ServiceUnavailableError
|
|
5711
|
+
*/
|
|
5712
|
+
503: ServiceUnavailableError;
|
|
5713
|
+
};
|
|
5714
|
+
export type IntegrationsLinkGitHubSignInAccountError = IntegrationsLinkGitHubSignInAccountErrors[keyof IntegrationsLinkGitHubSignInAccountErrors];
|
|
5715
|
+
export type IntegrationsLinkGitHubSignInAccountResponses = {
|
|
5716
|
+
/**
|
|
5717
|
+
* Success
|
|
5718
|
+
*/
|
|
5719
|
+
200: {
|
|
5720
|
+
code: number;
|
|
5721
|
+
data: {
|
|
5722
|
+
link: {
|
|
5723
|
+
githubLogin: string;
|
|
5724
|
+
githubUserId: string;
|
|
5725
|
+
linkedAt: string;
|
|
5726
|
+
source: 'user_authorization' | 'installation' | 'sign_in';
|
|
5727
|
+
};
|
|
5728
|
+
} | null;
|
|
5729
|
+
error: {
|
|
5730
|
+
code: string;
|
|
5731
|
+
details?: unknown | null;
|
|
5732
|
+
message: string;
|
|
5733
|
+
rowErrors?: Array<{
|
|
5734
|
+
code: string;
|
|
5735
|
+
message: string;
|
|
5736
|
+
path: Array<string | number>;
|
|
5737
|
+
}> | null;
|
|
5738
|
+
} | null;
|
|
5739
|
+
pagination: {
|
|
5740
|
+
limit: number;
|
|
5741
|
+
page: number;
|
|
5742
|
+
total: number;
|
|
5743
|
+
totalPages: number;
|
|
5744
|
+
} | null;
|
|
5745
|
+
sdkBehavior?: {
|
|
5746
|
+
flags: {
|
|
5747
|
+
[key: string]: unknown;
|
|
5748
|
+
};
|
|
5749
|
+
v: number;
|
|
5750
|
+
} | null;
|
|
5751
|
+
success: boolean;
|
|
5752
|
+
};
|
|
5753
|
+
};
|
|
5754
|
+
export type IntegrationsLinkGitHubSignInAccountResponse = IntegrationsLinkGitHubSignInAccountResponses[keyof IntegrationsLinkGitHubSignInAccountResponses];
|
|
5261
5755
|
export type OrganizationsListOrganizationInvitationsData = {
|
|
5262
5756
|
body?: never;
|
|
5263
5757
|
path: {
|
|
@@ -23427,6 +23921,7 @@ export type TracesListTracesResponses = {
|
|
|
23427
23921
|
cost_usd: number | null;
|
|
23428
23922
|
duration_ms: number;
|
|
23429
23923
|
input_tokens: number;
|
|
23924
|
+
llm_call_count: number;
|
|
23430
23925
|
model: string;
|
|
23431
23926
|
output_tokens: number;
|
|
23432
23927
|
prompt_id: string | null;
|
|
@@ -3080,6 +3080,208 @@ export declare const zIntegrationsConnectGitHubIntegrationResponse: z.ZodObject<
|
|
|
3080
3080
|
}, z.core.$strip>>>;
|
|
3081
3081
|
success: z.ZodBoolean;
|
|
3082
3082
|
}, z.core.$strip>;
|
|
3083
|
+
export declare const zIntegrationsRemoveGitHubUserLinkPath: z.ZodObject<{
|
|
3084
|
+
orgId: z.ZodString;
|
|
3085
|
+
}, z.core.$strip>;
|
|
3086
|
+
/**
|
|
3087
|
+
* Success
|
|
3088
|
+
*/
|
|
3089
|
+
export declare const zIntegrationsRemoveGitHubUserLinkResponse: z.ZodObject<{
|
|
3090
|
+
code: z.ZodNumber;
|
|
3091
|
+
data: z.ZodNullable<z.ZodObject<{
|
|
3092
|
+
removed: z.ZodBoolean;
|
|
3093
|
+
}, z.core.$strip>>;
|
|
3094
|
+
error: z.ZodNullable<z.ZodObject<{
|
|
3095
|
+
code: z.ZodString;
|
|
3096
|
+
details: z.ZodOptional<z.ZodNullable<z.ZodUnknown>>;
|
|
3097
|
+
message: z.ZodString;
|
|
3098
|
+
rowErrors: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
|
|
3099
|
+
code: z.ZodString;
|
|
3100
|
+
message: z.ZodString;
|
|
3101
|
+
path: z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>>;
|
|
3102
|
+
}, z.core.$strip>>>>;
|
|
3103
|
+
}, z.core.$strip>>;
|
|
3104
|
+
pagination: z.ZodNullable<z.ZodObject<{
|
|
3105
|
+
limit: z.ZodInt;
|
|
3106
|
+
page: z.ZodInt;
|
|
3107
|
+
total: z.ZodInt;
|
|
3108
|
+
totalPages: z.ZodInt;
|
|
3109
|
+
}, z.core.$strip>>;
|
|
3110
|
+
sdkBehavior: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
3111
|
+
flags: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
3112
|
+
v: z.ZodInt;
|
|
3113
|
+
}, z.core.$strip>>>;
|
|
3114
|
+
success: z.ZodBoolean;
|
|
3115
|
+
}, z.core.$strip>;
|
|
3116
|
+
export declare const zIntegrationsGetGitHubUserLinkPath: z.ZodObject<{
|
|
3117
|
+
orgId: z.ZodString;
|
|
3118
|
+
}, z.core.$strip>;
|
|
3119
|
+
/**
|
|
3120
|
+
* Success
|
|
3121
|
+
*/
|
|
3122
|
+
export declare const zIntegrationsGetGitHubUserLinkResponse: z.ZodObject<{
|
|
3123
|
+
code: z.ZodNumber;
|
|
3124
|
+
data: z.ZodNullable<z.ZodObject<{
|
|
3125
|
+
configured: z.ZodBoolean;
|
|
3126
|
+
link: z.ZodNullable<z.ZodObject<{
|
|
3127
|
+
githubLogin: z.ZodString;
|
|
3128
|
+
githubUserId: z.ZodString;
|
|
3129
|
+
linkedAt: z.ZodString;
|
|
3130
|
+
source: z.ZodEnum<{
|
|
3131
|
+
user_authorization: "user_authorization";
|
|
3132
|
+
installation: "installation";
|
|
3133
|
+
sign_in: "sign_in";
|
|
3134
|
+
}>;
|
|
3135
|
+
}, z.core.$strip>>;
|
|
3136
|
+
signInAccount: z.ZodNullable<z.ZodObject<{
|
|
3137
|
+
githubLogin: z.ZodString;
|
|
3138
|
+
githubUserId: z.ZodString;
|
|
3139
|
+
}, z.core.$strip>>;
|
|
3140
|
+
}, z.core.$strip>>;
|
|
3141
|
+
error: z.ZodNullable<z.ZodObject<{
|
|
3142
|
+
code: z.ZodString;
|
|
3143
|
+
details: z.ZodOptional<z.ZodNullable<z.ZodUnknown>>;
|
|
3144
|
+
message: z.ZodString;
|
|
3145
|
+
rowErrors: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
|
|
3146
|
+
code: z.ZodString;
|
|
3147
|
+
message: z.ZodString;
|
|
3148
|
+
path: z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>>;
|
|
3149
|
+
}, z.core.$strip>>>>;
|
|
3150
|
+
}, z.core.$strip>>;
|
|
3151
|
+
pagination: z.ZodNullable<z.ZodObject<{
|
|
3152
|
+
limit: z.ZodInt;
|
|
3153
|
+
page: z.ZodInt;
|
|
3154
|
+
total: z.ZodInt;
|
|
3155
|
+
totalPages: z.ZodInt;
|
|
3156
|
+
}, z.core.$strip>>;
|
|
3157
|
+
sdkBehavior: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
3158
|
+
flags: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
3159
|
+
v: z.ZodInt;
|
|
3160
|
+
}, z.core.$strip>>>;
|
|
3161
|
+
success: z.ZodBoolean;
|
|
3162
|
+
}, z.core.$strip>;
|
|
3163
|
+
export declare const zIntegrationsCompleteGitHubUserLinkBody: z.ZodObject<{
|
|
3164
|
+
code: z.ZodString;
|
|
3165
|
+
state: z.ZodString;
|
|
3166
|
+
}, z.core.$strip>;
|
|
3167
|
+
export declare const zIntegrationsCompleteGitHubUserLinkPath: z.ZodObject<{
|
|
3168
|
+
orgId: z.ZodString;
|
|
3169
|
+
}, z.core.$strip>;
|
|
3170
|
+
/**
|
|
3171
|
+
* Success
|
|
3172
|
+
*/
|
|
3173
|
+
export declare const zIntegrationsCompleteGitHubUserLinkResponse: z.ZodObject<{
|
|
3174
|
+
code: z.ZodNumber;
|
|
3175
|
+
data: z.ZodNullable<z.ZodObject<{
|
|
3176
|
+
link: z.ZodObject<{
|
|
3177
|
+
githubLogin: z.ZodString;
|
|
3178
|
+
githubUserId: z.ZodString;
|
|
3179
|
+
linkedAt: z.ZodString;
|
|
3180
|
+
source: z.ZodEnum<{
|
|
3181
|
+
user_authorization: "user_authorization";
|
|
3182
|
+
installation: "installation";
|
|
3183
|
+
sign_in: "sign_in";
|
|
3184
|
+
}>;
|
|
3185
|
+
}, z.core.$strip>;
|
|
3186
|
+
}, z.core.$strip>>;
|
|
3187
|
+
error: z.ZodNullable<z.ZodObject<{
|
|
3188
|
+
code: z.ZodString;
|
|
3189
|
+
details: z.ZodOptional<z.ZodNullable<z.ZodUnknown>>;
|
|
3190
|
+
message: z.ZodString;
|
|
3191
|
+
rowErrors: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
|
|
3192
|
+
code: z.ZodString;
|
|
3193
|
+
message: z.ZodString;
|
|
3194
|
+
path: z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>>;
|
|
3195
|
+
}, z.core.$strip>>>>;
|
|
3196
|
+
}, z.core.$strip>>;
|
|
3197
|
+
pagination: z.ZodNullable<z.ZodObject<{
|
|
3198
|
+
limit: z.ZodInt;
|
|
3199
|
+
page: z.ZodInt;
|
|
3200
|
+
total: z.ZodInt;
|
|
3201
|
+
totalPages: z.ZodInt;
|
|
3202
|
+
}, z.core.$strip>>;
|
|
3203
|
+
sdkBehavior: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
3204
|
+
flags: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
3205
|
+
v: z.ZodInt;
|
|
3206
|
+
}, z.core.$strip>>>;
|
|
3207
|
+
success: z.ZodBoolean;
|
|
3208
|
+
}, z.core.$strip>;
|
|
3209
|
+
export declare const zIntegrationsConnectGitHubUserLinkPath: z.ZodObject<{
|
|
3210
|
+
orgId: z.ZodString;
|
|
3211
|
+
}, z.core.$strip>;
|
|
3212
|
+
/**
|
|
3213
|
+
* Success
|
|
3214
|
+
*/
|
|
3215
|
+
export declare const zIntegrationsConnectGitHubUserLinkResponse: z.ZodObject<{
|
|
3216
|
+
code: z.ZodNumber;
|
|
3217
|
+
data: z.ZodNullable<z.ZodObject<{
|
|
3218
|
+
state: z.ZodString;
|
|
3219
|
+
url: z.ZodString;
|
|
3220
|
+
}, z.core.$strip>>;
|
|
3221
|
+
error: z.ZodNullable<z.ZodObject<{
|
|
3222
|
+
code: z.ZodString;
|
|
3223
|
+
details: z.ZodOptional<z.ZodNullable<z.ZodUnknown>>;
|
|
3224
|
+
message: z.ZodString;
|
|
3225
|
+
rowErrors: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
|
|
3226
|
+
code: z.ZodString;
|
|
3227
|
+
message: z.ZodString;
|
|
3228
|
+
path: z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>>;
|
|
3229
|
+
}, z.core.$strip>>>>;
|
|
3230
|
+
}, z.core.$strip>>;
|
|
3231
|
+
pagination: z.ZodNullable<z.ZodObject<{
|
|
3232
|
+
limit: z.ZodInt;
|
|
3233
|
+
page: z.ZodInt;
|
|
3234
|
+
total: z.ZodInt;
|
|
3235
|
+
totalPages: z.ZodInt;
|
|
3236
|
+
}, z.core.$strip>>;
|
|
3237
|
+
sdkBehavior: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
3238
|
+
flags: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
3239
|
+
v: z.ZodInt;
|
|
3240
|
+
}, z.core.$strip>>>;
|
|
3241
|
+
success: z.ZodBoolean;
|
|
3242
|
+
}, z.core.$strip>;
|
|
3243
|
+
export declare const zIntegrationsLinkGitHubSignInAccountPath: z.ZodObject<{
|
|
3244
|
+
orgId: z.ZodString;
|
|
3245
|
+
}, z.core.$strip>;
|
|
3246
|
+
/**
|
|
3247
|
+
* Success
|
|
3248
|
+
*/
|
|
3249
|
+
export declare const zIntegrationsLinkGitHubSignInAccountResponse: z.ZodObject<{
|
|
3250
|
+
code: z.ZodNumber;
|
|
3251
|
+
data: z.ZodNullable<z.ZodObject<{
|
|
3252
|
+
link: z.ZodObject<{
|
|
3253
|
+
githubLogin: z.ZodString;
|
|
3254
|
+
githubUserId: z.ZodString;
|
|
3255
|
+
linkedAt: z.ZodString;
|
|
3256
|
+
source: z.ZodEnum<{
|
|
3257
|
+
user_authorization: "user_authorization";
|
|
3258
|
+
installation: "installation";
|
|
3259
|
+
sign_in: "sign_in";
|
|
3260
|
+
}>;
|
|
3261
|
+
}, z.core.$strip>;
|
|
3262
|
+
}, z.core.$strip>>;
|
|
3263
|
+
error: z.ZodNullable<z.ZodObject<{
|
|
3264
|
+
code: z.ZodString;
|
|
3265
|
+
details: z.ZodOptional<z.ZodNullable<z.ZodUnknown>>;
|
|
3266
|
+
message: z.ZodString;
|
|
3267
|
+
rowErrors: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
|
|
3268
|
+
code: z.ZodString;
|
|
3269
|
+
message: z.ZodString;
|
|
3270
|
+
path: z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>>;
|
|
3271
|
+
}, z.core.$strip>>>>;
|
|
3272
|
+
}, z.core.$strip>>;
|
|
3273
|
+
pagination: z.ZodNullable<z.ZodObject<{
|
|
3274
|
+
limit: z.ZodInt;
|
|
3275
|
+
page: z.ZodInt;
|
|
3276
|
+
total: z.ZodInt;
|
|
3277
|
+
totalPages: z.ZodInt;
|
|
3278
|
+
}, z.core.$strip>>;
|
|
3279
|
+
sdkBehavior: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
3280
|
+
flags: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
3281
|
+
v: z.ZodInt;
|
|
3282
|
+
}, z.core.$strip>>>;
|
|
3283
|
+
success: z.ZodBoolean;
|
|
3284
|
+
}, z.core.$strip>;
|
|
3083
3285
|
export declare const zOrganizationsListOrganizationInvitationsPath: z.ZodObject<{
|
|
3084
3286
|
orgId: z.ZodString;
|
|
3085
3287
|
}, z.core.$strip>;
|
|
@@ -13421,6 +13623,7 @@ export declare const zTracesListTracesResponse: z.ZodObject<{
|
|
|
13421
13623
|
cost_usd: z.ZodNullable<z.ZodNumber>;
|
|
13422
13624
|
duration_ms: z.ZodNumber;
|
|
13423
13625
|
input_tokens: z.ZodInt;
|
|
13626
|
+
llm_call_count: z.ZodInt;
|
|
13424
13627
|
model: z.ZodString;
|
|
13425
13628
|
output_tokens: z.ZodInt;
|
|
13426
13629
|
prompt_id: z.ZodNullable<z.ZodString>;
|