@to11ai/sdk 3.0.0-rc.23 → 3.0.0-rc.25
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 +5609 -4235
- package/dist/generated/zod.gen.d.ts +849 -3
- package/dist/usage/resource.cjs +3 -7
- package/dist/usage/resource.d.ts +1 -1
- package/dist/usage/resource.js +3 -7
- package/dist/usage/types.d.ts +1 -4
- package/package.json +1 -1
- package/src/generated/index.ts +1 -1
- package/src/generated/types.gen.ts +5841 -4413
- package/src/generated/zod.gen.ts +847 -5
- package/src/usage/resource.ts +8 -14
- package/src/usage/types.ts +5 -4
|
@@ -206,6 +206,13 @@ export declare const zPrincipalApiKeyContextInvariant: z.ZodObject<{
|
|
|
206
206
|
workspaceId: z.ZodNullable<z.ZodString>;
|
|
207
207
|
}, z.core.$strip>>>;
|
|
208
208
|
audience: z.ZodArray<z.ZodString>;
|
|
209
|
+
delegation: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
210
|
+
actor: z.ZodEnum<{
|
|
211
|
+
"assistant:slack": "assistant:slack";
|
|
212
|
+
}>;
|
|
213
|
+
organizationId: z.ZodString;
|
|
214
|
+
scopes: z.ZodArray<z.ZodString>;
|
|
215
|
+
}, z.core.$strip>>>;
|
|
209
216
|
email: z.ZodNullable<z.ZodString>;
|
|
210
217
|
emailVerified: z.ZodBoolean;
|
|
211
218
|
externalId: z.ZodString;
|
|
@@ -1375,7 +1382,6 @@ export declare const zSlackIntegrationLookupSlackInstallationBody: z.ZodObject<{
|
|
|
1375
1382
|
export declare const zSlackIntegrationLookupSlackInstallationResponse: z.ZodObject<{
|
|
1376
1383
|
code: z.ZodNumber;
|
|
1377
1384
|
data: z.ZodNullable<z.ZodObject<{
|
|
1378
|
-
apiKey: z.ZodString;
|
|
1379
1385
|
botToken: z.ZodString;
|
|
1380
1386
|
botUserId: z.ZodString;
|
|
1381
1387
|
organizationId: z.ZodString;
|
|
@@ -1402,6 +1408,117 @@ export declare const zSlackIntegrationLookupSlackInstallationResponse: z.ZodObje
|
|
|
1402
1408
|
}, z.core.$strip>>>;
|
|
1403
1409
|
success: z.ZodBoolean;
|
|
1404
1410
|
}, z.core.$strip>;
|
|
1411
|
+
export declare const zSlackIntegrationRecordRefusedSlackRunBody: z.ZodObject<{
|
|
1412
|
+
run: z.ZodObject<{
|
|
1413
|
+
finishedAt: z.ZodString;
|
|
1414
|
+
model: z.ZodString;
|
|
1415
|
+
outcome: z.ZodEnum<{
|
|
1416
|
+
answered: "answered";
|
|
1417
|
+
limit_tool_rounds: "limit_tool_rounds";
|
|
1418
|
+
limit_wall_clock: "limit_wall_clock";
|
|
1419
|
+
limit_output_tokens: "limit_output_tokens";
|
|
1420
|
+
refused: "refused";
|
|
1421
|
+
credential_expired: "credential_expired";
|
|
1422
|
+
model_error: "model_error";
|
|
1423
|
+
disabled: "disabled";
|
|
1424
|
+
superseded: "superseded";
|
|
1425
|
+
credential_unavailable: "credential_unavailable";
|
|
1426
|
+
}>;
|
|
1427
|
+
reason: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
|
|
1428
|
+
credential_unavailable: "credential_unavailable";
|
|
1429
|
+
asker_external: "asker_external";
|
|
1430
|
+
asker_guest: "asker_guest";
|
|
1431
|
+
shared_channel: "shared_channel";
|
|
1432
|
+
guest_in_channel: "guest_in_channel";
|
|
1433
|
+
unverified: "unverified";
|
|
1434
|
+
not_linked: "not_linked";
|
|
1435
|
+
}>>>;
|
|
1436
|
+
reportedAsker: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
1437
|
+
slackTeamId: z.ZodString;
|
|
1438
|
+
slackUserId: z.ZodString;
|
|
1439
|
+
}, z.core.$strip>>>;
|
|
1440
|
+
runId: z.ZodString;
|
|
1441
|
+
runType: z.ZodEnum<{
|
|
1442
|
+
data_question: "data_question";
|
|
1443
|
+
skill_run: "skill_run";
|
|
1444
|
+
}>;
|
|
1445
|
+
startedAt: z.ZodString;
|
|
1446
|
+
surface: z.ZodEnum<{
|
|
1447
|
+
slack: "slack";
|
|
1448
|
+
web_chat: "web_chat";
|
|
1449
|
+
mcp: "mcp";
|
|
1450
|
+
}>;
|
|
1451
|
+
toolsCalled: z.ZodArray<z.ZodString>;
|
|
1452
|
+
}, z.core.$strip>;
|
|
1453
|
+
slackTeamId: z.ZodString;
|
|
1454
|
+
}, z.core.$strip>;
|
|
1455
|
+
/**
|
|
1456
|
+
* Success
|
|
1457
|
+
*/
|
|
1458
|
+
export declare const zSlackIntegrationRecordRefusedSlackRunResponse: z.ZodObject<{
|
|
1459
|
+
code: z.ZodNumber;
|
|
1460
|
+
data: z.ZodNullable<z.ZodObject<{
|
|
1461
|
+
id: z.ZodString;
|
|
1462
|
+
}, z.core.$strip>>;
|
|
1463
|
+
error: z.ZodNullable<z.ZodObject<{
|
|
1464
|
+
code: z.ZodString;
|
|
1465
|
+
details: z.ZodOptional<z.ZodNullable<z.ZodUnknown>>;
|
|
1466
|
+
message: z.ZodString;
|
|
1467
|
+
rowErrors: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
|
|
1468
|
+
code: z.ZodString;
|
|
1469
|
+
message: z.ZodString;
|
|
1470
|
+
path: z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>>;
|
|
1471
|
+
}, z.core.$strip>>>>;
|
|
1472
|
+
}, z.core.$strip>>;
|
|
1473
|
+
pagination: z.ZodNullable<z.ZodObject<{
|
|
1474
|
+
limit: z.ZodInt;
|
|
1475
|
+
page: z.ZodInt;
|
|
1476
|
+
total: z.ZodInt;
|
|
1477
|
+
totalPages: z.ZodInt;
|
|
1478
|
+
}, z.core.$strip>>;
|
|
1479
|
+
sdkBehavior: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
1480
|
+
flags: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
1481
|
+
v: z.ZodInt;
|
|
1482
|
+
}, z.core.$strip>>>;
|
|
1483
|
+
success: z.ZodBoolean;
|
|
1484
|
+
}, z.core.$strip>;
|
|
1485
|
+
export declare const zSlackIntegrationIssueSlackUserCredentialBody: z.ZodObject<{
|
|
1486
|
+
slackTeamId: z.ZodString;
|
|
1487
|
+
slackUserId: z.ZodString;
|
|
1488
|
+
}, z.core.$strip>;
|
|
1489
|
+
/**
|
|
1490
|
+
* Success
|
|
1491
|
+
*/
|
|
1492
|
+
export declare const zSlackIntegrationIssueSlackUserCredentialResponse: z.ZodObject<{
|
|
1493
|
+
code: z.ZodNumber;
|
|
1494
|
+
data: z.ZodNullable<z.ZodObject<{
|
|
1495
|
+
credential: z.ZodString;
|
|
1496
|
+
displayName: z.ZodNullable<z.ZodString>;
|
|
1497
|
+
expiresAt: z.ZodString;
|
|
1498
|
+
principalId: z.ZodString;
|
|
1499
|
+
}, z.core.$strip>>;
|
|
1500
|
+
error: z.ZodNullable<z.ZodObject<{
|
|
1501
|
+
code: z.ZodString;
|
|
1502
|
+
details: z.ZodOptional<z.ZodNullable<z.ZodUnknown>>;
|
|
1503
|
+
message: z.ZodString;
|
|
1504
|
+
rowErrors: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
|
|
1505
|
+
code: z.ZodString;
|
|
1506
|
+
message: z.ZodString;
|
|
1507
|
+
path: z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>>;
|
|
1508
|
+
}, z.core.$strip>>>>;
|
|
1509
|
+
}, z.core.$strip>>;
|
|
1510
|
+
pagination: z.ZodNullable<z.ZodObject<{
|
|
1511
|
+
limit: z.ZodInt;
|
|
1512
|
+
page: z.ZodInt;
|
|
1513
|
+
total: z.ZodInt;
|
|
1514
|
+
totalPages: z.ZodInt;
|
|
1515
|
+
}, z.core.$strip>>;
|
|
1516
|
+
sdkBehavior: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
1517
|
+
flags: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
1518
|
+
v: z.ZodInt;
|
|
1519
|
+
}, z.core.$strip>>>;
|
|
1520
|
+
success: z.ZodBoolean;
|
|
1521
|
+
}, z.core.$strip>;
|
|
1405
1522
|
/**
|
|
1406
1523
|
* Success
|
|
1407
1524
|
*/
|
|
@@ -2226,6 +2343,13 @@ export declare const zAuthAuthMeResponse: z.ZodObject<{
|
|
|
2226
2343
|
workspaceId: z.ZodNullable<z.ZodString>;
|
|
2227
2344
|
}, z.core.$strip>>>;
|
|
2228
2345
|
audience: z.ZodArray<z.ZodString>;
|
|
2346
|
+
delegation: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
2347
|
+
actor: z.ZodEnum<{
|
|
2348
|
+
"assistant:slack": "assistant:slack";
|
|
2349
|
+
}>;
|
|
2350
|
+
organizationId: z.ZodString;
|
|
2351
|
+
scopes: z.ZodArray<z.ZodString>;
|
|
2352
|
+
}, z.core.$strip>>>;
|
|
2229
2353
|
email: z.ZodNullable<z.ZodString>;
|
|
2230
2354
|
emailVerified: z.ZodBoolean;
|
|
2231
2355
|
externalId: z.ZodString;
|
|
@@ -2673,6 +2797,78 @@ export declare const zIngestTokenExchangeIngestTokenResponse: z.ZodObject<{
|
|
|
2673
2797
|
}, z.core.$strip>>>;
|
|
2674
2798
|
success: z.ZodBoolean;
|
|
2675
2799
|
}, z.core.$strip>;
|
|
2800
|
+
export declare const zSlackIntegrationCompleteSlackUserLinkBody: z.ZodObject<{
|
|
2801
|
+
code: z.ZodString;
|
|
2802
|
+
state: z.ZodString;
|
|
2803
|
+
}, z.core.$strip>;
|
|
2804
|
+
/**
|
|
2805
|
+
* Success
|
|
2806
|
+
*/
|
|
2807
|
+
export declare const zSlackIntegrationCompleteSlackUserLinkResponse: z.ZodObject<{
|
|
2808
|
+
code: z.ZodNumber;
|
|
2809
|
+
data: z.ZodNullable<z.ZodObject<{
|
|
2810
|
+
organizationId: z.ZodString;
|
|
2811
|
+
organizationName: z.ZodString;
|
|
2812
|
+
replaced: z.ZodArray<z.ZodObject<{
|
|
2813
|
+
platformPrincipalId: z.ZodString;
|
|
2814
|
+
slackTeamId: z.ZodString;
|
|
2815
|
+
slackUserId: z.ZodString;
|
|
2816
|
+
}, z.core.$strip>>;
|
|
2817
|
+
slackUserName: z.ZodNullable<z.ZodString>;
|
|
2818
|
+
workspaceName: z.ZodString;
|
|
2819
|
+
}, z.core.$strip>>;
|
|
2820
|
+
error: z.ZodNullable<z.ZodObject<{
|
|
2821
|
+
code: z.ZodString;
|
|
2822
|
+
details: z.ZodOptional<z.ZodNullable<z.ZodUnknown>>;
|
|
2823
|
+
message: z.ZodString;
|
|
2824
|
+
rowErrors: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
|
|
2825
|
+
code: z.ZodString;
|
|
2826
|
+
message: z.ZodString;
|
|
2827
|
+
path: z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>>;
|
|
2828
|
+
}, z.core.$strip>>>>;
|
|
2829
|
+
}, z.core.$strip>>;
|
|
2830
|
+
pagination: z.ZodNullable<z.ZodObject<{
|
|
2831
|
+
limit: z.ZodInt;
|
|
2832
|
+
page: z.ZodInt;
|
|
2833
|
+
total: z.ZodInt;
|
|
2834
|
+
totalPages: z.ZodInt;
|
|
2835
|
+
}, z.core.$strip>>;
|
|
2836
|
+
sdkBehavior: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
2837
|
+
flags: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
2838
|
+
v: z.ZodInt;
|
|
2839
|
+
}, z.core.$strip>>>;
|
|
2840
|
+
success: z.ZodBoolean;
|
|
2841
|
+
}, z.core.$strip>;
|
|
2842
|
+
/**
|
|
2843
|
+
* Success
|
|
2844
|
+
*/
|
|
2845
|
+
export declare const zSlackIntegrationStartSlackUserLinkResponse: z.ZodObject<{
|
|
2846
|
+
code: z.ZodNumber;
|
|
2847
|
+
data: z.ZodNullable<z.ZodObject<{
|
|
2848
|
+
authorizeUrl: z.ZodString;
|
|
2849
|
+
}, z.core.$strip>>;
|
|
2850
|
+
error: z.ZodNullable<z.ZodObject<{
|
|
2851
|
+
code: z.ZodString;
|
|
2852
|
+
details: z.ZodOptional<z.ZodNullable<z.ZodUnknown>>;
|
|
2853
|
+
message: z.ZodString;
|
|
2854
|
+
rowErrors: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
|
|
2855
|
+
code: z.ZodString;
|
|
2856
|
+
message: z.ZodString;
|
|
2857
|
+
path: z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>>;
|
|
2858
|
+
}, z.core.$strip>>>>;
|
|
2859
|
+
}, z.core.$strip>>;
|
|
2860
|
+
pagination: z.ZodNullable<z.ZodObject<{
|
|
2861
|
+
limit: z.ZodInt;
|
|
2862
|
+
page: z.ZodInt;
|
|
2863
|
+
total: z.ZodInt;
|
|
2864
|
+
totalPages: z.ZodInt;
|
|
2865
|
+
}, z.core.$strip>>;
|
|
2866
|
+
sdkBehavior: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
2867
|
+
flags: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
2868
|
+
v: z.ZodInt;
|
|
2869
|
+
}, z.core.$strip>>>;
|
|
2870
|
+
success: z.ZodBoolean;
|
|
2871
|
+
}, z.core.$strip>;
|
|
2676
2872
|
export declare const zOrganizationsAcceptOrganizationInvitationBody: z.ZodObject<{
|
|
2677
2873
|
token: z.ZodString;
|
|
2678
2874
|
}, z.core.$strip>;
|
|
@@ -3195,7 +3391,17 @@ export declare const zAssistantRunsRecordAssistantRunBody: z.ZodObject<{
|
|
|
3195
3391
|
model_error: "model_error";
|
|
3196
3392
|
disabled: "disabled";
|
|
3197
3393
|
superseded: "superseded";
|
|
3394
|
+
credential_unavailable: "credential_unavailable";
|
|
3198
3395
|
}>;
|
|
3396
|
+
reason: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
|
|
3397
|
+
credential_unavailable: "credential_unavailable";
|
|
3398
|
+
asker_external: "asker_external";
|
|
3399
|
+
asker_guest: "asker_guest";
|
|
3400
|
+
shared_channel: "shared_channel";
|
|
3401
|
+
guest_in_channel: "guest_in_channel";
|
|
3402
|
+
unverified: "unverified";
|
|
3403
|
+
not_linked: "not_linked";
|
|
3404
|
+
}>>>;
|
|
3199
3405
|
reportedAsker: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
3200
3406
|
slackTeamId: z.ZodString;
|
|
3201
3407
|
slackUserId: z.ZodString;
|
|
@@ -3289,6 +3495,7 @@ export declare const zOrgAuditListOrgAuditEventsResponse: z.ZodObject<{
|
|
|
3289
3495
|
platform_setting: "platform_setting";
|
|
3290
3496
|
assistant_run: "assistant_run";
|
|
3291
3497
|
slack_installation: "slack_installation";
|
|
3498
|
+
slack_user_link: "slack_user_link";
|
|
3292
3499
|
}>;
|
|
3293
3500
|
scope: z.ZodEnum<{
|
|
3294
3501
|
system: "system";
|
|
@@ -3945,6 +4152,114 @@ export declare const zSlackIntegrationCreateSlackInstallUrlResponse: z.ZodObject
|
|
|
3945
4152
|
}, z.core.$strip>>>;
|
|
3946
4153
|
success: z.ZodBoolean;
|
|
3947
4154
|
}, z.core.$strip>;
|
|
4155
|
+
export declare const zSlackIntegrationListSlackUserLinksPath: z.ZodObject<{
|
|
4156
|
+
orgId: z.ZodString;
|
|
4157
|
+
}, z.core.$strip>;
|
|
4158
|
+
/**
|
|
4159
|
+
* Success
|
|
4160
|
+
*/
|
|
4161
|
+
export declare const zSlackIntegrationListSlackUserLinksResponse: z.ZodObject<{
|
|
4162
|
+
code: z.ZodNumber;
|
|
4163
|
+
data: z.ZodNullable<z.ZodArray<z.ZodObject<{
|
|
4164
|
+
createdAt: z.ZodString;
|
|
4165
|
+
id: z.ZodString;
|
|
4166
|
+
platformPrincipalId: z.ZodString;
|
|
4167
|
+
slackTeamId: z.ZodString;
|
|
4168
|
+
slackUserId: z.ZodString;
|
|
4169
|
+
}, z.core.$strip>>>;
|
|
4170
|
+
error: z.ZodNullable<z.ZodObject<{
|
|
4171
|
+
code: z.ZodString;
|
|
4172
|
+
details: z.ZodOptional<z.ZodNullable<z.ZodUnknown>>;
|
|
4173
|
+
message: z.ZodString;
|
|
4174
|
+
rowErrors: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
|
|
4175
|
+
code: z.ZodString;
|
|
4176
|
+
message: z.ZodString;
|
|
4177
|
+
path: z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>>;
|
|
4178
|
+
}, z.core.$strip>>>>;
|
|
4179
|
+
}, z.core.$strip>>;
|
|
4180
|
+
pagination: z.ZodNullable<z.ZodObject<{
|
|
4181
|
+
limit: z.ZodInt;
|
|
4182
|
+
page: z.ZodInt;
|
|
4183
|
+
total: z.ZodInt;
|
|
4184
|
+
totalPages: z.ZodInt;
|
|
4185
|
+
}, z.core.$strip>>;
|
|
4186
|
+
sdkBehavior: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
4187
|
+
flags: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
4188
|
+
v: z.ZodInt;
|
|
4189
|
+
}, z.core.$strip>>>;
|
|
4190
|
+
success: z.ZodBoolean;
|
|
4191
|
+
}, z.core.$strip>;
|
|
4192
|
+
export declare const zSlackIntegrationGetMySlackUserLinkPath: z.ZodObject<{
|
|
4193
|
+
orgId: z.ZodString;
|
|
4194
|
+
}, z.core.$strip>;
|
|
4195
|
+
/**
|
|
4196
|
+
* Success
|
|
4197
|
+
*/
|
|
4198
|
+
export declare const zSlackIntegrationGetMySlackUserLinkResponse: z.ZodObject<{
|
|
4199
|
+
code: z.ZodNumber;
|
|
4200
|
+
data: z.ZodNullable<z.ZodObject<{
|
|
4201
|
+
createdAt: z.ZodString;
|
|
4202
|
+
id: z.ZodString;
|
|
4203
|
+
platformPrincipalId: z.ZodString;
|
|
4204
|
+
slackTeamId: z.ZodString;
|
|
4205
|
+
slackUserId: z.ZodString;
|
|
4206
|
+
}, z.core.$strip>>;
|
|
4207
|
+
error: z.ZodNullable<z.ZodObject<{
|
|
4208
|
+
code: z.ZodString;
|
|
4209
|
+
details: z.ZodOptional<z.ZodNullable<z.ZodUnknown>>;
|
|
4210
|
+
message: z.ZodString;
|
|
4211
|
+
rowErrors: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
|
|
4212
|
+
code: z.ZodString;
|
|
4213
|
+
message: z.ZodString;
|
|
4214
|
+
path: z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>>;
|
|
4215
|
+
}, z.core.$strip>>>>;
|
|
4216
|
+
}, z.core.$strip>>;
|
|
4217
|
+
pagination: z.ZodNullable<z.ZodObject<{
|
|
4218
|
+
limit: z.ZodInt;
|
|
4219
|
+
page: z.ZodInt;
|
|
4220
|
+
total: z.ZodInt;
|
|
4221
|
+
totalPages: z.ZodInt;
|
|
4222
|
+
}, z.core.$strip>>;
|
|
4223
|
+
sdkBehavior: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
4224
|
+
flags: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
4225
|
+
v: z.ZodInt;
|
|
4226
|
+
}, z.core.$strip>>>;
|
|
4227
|
+
success: z.ZodBoolean;
|
|
4228
|
+
}, z.core.$strip>;
|
|
4229
|
+
export declare const zSlackIntegrationRemoveSlackUserLinkPath: z.ZodObject<{
|
|
4230
|
+
orgId: z.ZodString;
|
|
4231
|
+
linkId: z.ZodUUID;
|
|
4232
|
+
}, z.core.$strip>;
|
|
4233
|
+
/**
|
|
4234
|
+
* Success
|
|
4235
|
+
*/
|
|
4236
|
+
export declare const zSlackIntegrationRemoveSlackUserLinkResponse: z.ZodObject<{
|
|
4237
|
+
code: z.ZodNumber;
|
|
4238
|
+
data: z.ZodNullable<z.ZodObject<{
|
|
4239
|
+
deleted: z.ZodBoolean;
|
|
4240
|
+
}, z.core.$strip>>;
|
|
4241
|
+
error: z.ZodNullable<z.ZodObject<{
|
|
4242
|
+
code: z.ZodString;
|
|
4243
|
+
details: z.ZodOptional<z.ZodNullable<z.ZodUnknown>>;
|
|
4244
|
+
message: z.ZodString;
|
|
4245
|
+
rowErrors: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
|
|
4246
|
+
code: z.ZodString;
|
|
4247
|
+
message: z.ZodString;
|
|
4248
|
+
path: z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>>;
|
|
4249
|
+
}, z.core.$strip>>>>;
|
|
4250
|
+
}, z.core.$strip>>;
|
|
4251
|
+
pagination: z.ZodNullable<z.ZodObject<{
|
|
4252
|
+
limit: z.ZodInt;
|
|
4253
|
+
page: z.ZodInt;
|
|
4254
|
+
total: z.ZodInt;
|
|
4255
|
+
totalPages: z.ZodInt;
|
|
4256
|
+
}, z.core.$strip>>;
|
|
4257
|
+
sdkBehavior: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
4258
|
+
flags: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
4259
|
+
v: z.ZodInt;
|
|
4260
|
+
}, z.core.$strip>>>;
|
|
4261
|
+
success: z.ZodBoolean;
|
|
4262
|
+
}, z.core.$strip>;
|
|
3948
4263
|
export declare const zOrganizationsListOrganizationInvitationsPath: z.ZodObject<{
|
|
3949
4264
|
orgId: z.ZodString;
|
|
3950
4265
|
}, z.core.$strip>;
|
|
@@ -5756,8 +6071,7 @@ export declare const zUsageListUsagePrincipalsPath: z.ZodObject<{
|
|
|
5756
6071
|
orgId: z.ZodString;
|
|
5757
6072
|
}, z.core.$strip>;
|
|
5758
6073
|
export declare const zUsageListUsagePrincipalsQuery: z.ZodObject<{
|
|
5759
|
-
query: z.
|
|
5760
|
-
email: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
6074
|
+
query: z.ZodString;
|
|
5761
6075
|
}, z.core.$strip>;
|
|
5762
6076
|
/**
|
|
5763
6077
|
* Success
|
|
@@ -15309,6 +15623,538 @@ export declare const zSessionsGetSessionResponse: z.ZodObject<{
|
|
|
15309
15623
|
}, z.core.$strip>>>;
|
|
15310
15624
|
success: z.ZodBoolean;
|
|
15311
15625
|
}, z.core.$strip>;
|
|
15626
|
+
export declare const zSessionsExportSessionPath: z.ZodObject<{
|
|
15627
|
+
projectId: z.ZodString;
|
|
15628
|
+
sessionId: z.ZodString;
|
|
15629
|
+
}, z.core.$strip>;
|
|
15630
|
+
/**
|
|
15631
|
+
* Success
|
|
15632
|
+
*/
|
|
15633
|
+
export declare const zSessionsExportSessionResponse: z.ZodObject<{
|
|
15634
|
+
session: z.ZodObject<{
|
|
15635
|
+
apiPriceEquivalentUsd: z.ZodNullable<z.ZodNumber>;
|
|
15636
|
+
billedCostUsd: z.ZodNullable<z.ZodNumber>;
|
|
15637
|
+
billingMode: z.ZodNullable<z.ZodEnum<{
|
|
15638
|
+
subscription: "subscription";
|
|
15639
|
+
api: "api";
|
|
15640
|
+
unknown: "unknown";
|
|
15641
|
+
mixed: "mixed";
|
|
15642
|
+
}>>;
|
|
15643
|
+
cost: z.ZodObject<{
|
|
15644
|
+
api_price_equivalent_total: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
15645
|
+
billed_total: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
15646
|
+
by_model: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
|
|
15647
|
+
mode: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
15648
|
+
model: z.ZodString;
|
|
15649
|
+
provider: z.ZodString;
|
|
15650
|
+
region: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
15651
|
+
span_count: z.ZodNumber;
|
|
15652
|
+
tier: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
15653
|
+
tokens: z.ZodObject<{
|
|
15654
|
+
cache_creation: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
15655
|
+
cost: z.ZodNullable<z.ZodNumber>;
|
|
15656
|
+
count: z.ZodNumber;
|
|
15657
|
+
}, z.core.$strip>>>;
|
|
15658
|
+
cache_creation_12h: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
15659
|
+
cost: z.ZodNullable<z.ZodNumber>;
|
|
15660
|
+
count: z.ZodNumber;
|
|
15661
|
+
}, z.core.$strip>>>;
|
|
15662
|
+
cache_creation_1h: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
15663
|
+
cost: z.ZodNullable<z.ZodNumber>;
|
|
15664
|
+
count: z.ZodNumber;
|
|
15665
|
+
}, z.core.$strip>>>;
|
|
15666
|
+
cache_creation_5m: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
15667
|
+
cost: z.ZodNullable<z.ZodNumber>;
|
|
15668
|
+
count: z.ZodNumber;
|
|
15669
|
+
}, z.core.$strip>>>;
|
|
15670
|
+
cache_read: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
15671
|
+
cost: z.ZodNullable<z.ZodNumber>;
|
|
15672
|
+
count: z.ZodNumber;
|
|
15673
|
+
}, z.core.$strip>>>;
|
|
15674
|
+
input: z.ZodObject<{
|
|
15675
|
+
cost: z.ZodNullable<z.ZodNumber>;
|
|
15676
|
+
count: z.ZodNumber;
|
|
15677
|
+
}, z.core.$strip>;
|
|
15678
|
+
missing_rates: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodEnum<{
|
|
15679
|
+
input: "input";
|
|
15680
|
+
output: "output";
|
|
15681
|
+
cache_creation: "cache_creation";
|
|
15682
|
+
cache_creation_5m: "cache_creation_5m";
|
|
15683
|
+
cache_creation_1h: "cache_creation_1h";
|
|
15684
|
+
cache_creation_12h: "cache_creation_12h";
|
|
15685
|
+
cache_read: "cache_read";
|
|
15686
|
+
reasoning: "reasoning";
|
|
15687
|
+
}>>>>;
|
|
15688
|
+
output: z.ZodObject<{
|
|
15689
|
+
cost: z.ZodNullable<z.ZodNumber>;
|
|
15690
|
+
count: z.ZodNumber;
|
|
15691
|
+
}, z.core.$strip>;
|
|
15692
|
+
reasoning: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
15693
|
+
cost: z.ZodNullable<z.ZodNumber>;
|
|
15694
|
+
count: z.ZodNumber;
|
|
15695
|
+
}, z.core.$strip>>>;
|
|
15696
|
+
total: z.ZodObject<{
|
|
15697
|
+
cost: z.ZodNullable<z.ZodNumber>;
|
|
15698
|
+
count: z.ZodNumber;
|
|
15699
|
+
}, z.core.$strip>;
|
|
15700
|
+
}, z.core.$strip>;
|
|
15701
|
+
total: z.ZodNullable<z.ZodNumber>;
|
|
15702
|
+
}, z.core.$strip>>>>;
|
|
15703
|
+
currency: z.ZodEnum<{
|
|
15704
|
+
USD: "USD";
|
|
15705
|
+
}>;
|
|
15706
|
+
tokens: z.ZodObject<{
|
|
15707
|
+
cache_creation: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
15708
|
+
cost: z.ZodNullable<z.ZodNumber>;
|
|
15709
|
+
count: z.ZodNumber;
|
|
15710
|
+
}, z.core.$strip>>>;
|
|
15711
|
+
cache_creation_12h: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
15712
|
+
cost: z.ZodNullable<z.ZodNumber>;
|
|
15713
|
+
count: z.ZodNumber;
|
|
15714
|
+
}, z.core.$strip>>>;
|
|
15715
|
+
cache_creation_1h: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
15716
|
+
cost: z.ZodNullable<z.ZodNumber>;
|
|
15717
|
+
count: z.ZodNumber;
|
|
15718
|
+
}, z.core.$strip>>>;
|
|
15719
|
+
cache_creation_5m: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
15720
|
+
cost: z.ZodNullable<z.ZodNumber>;
|
|
15721
|
+
count: z.ZodNumber;
|
|
15722
|
+
}, z.core.$strip>>>;
|
|
15723
|
+
cache_read: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
15724
|
+
cost: z.ZodNullable<z.ZodNumber>;
|
|
15725
|
+
count: z.ZodNumber;
|
|
15726
|
+
}, z.core.$strip>>>;
|
|
15727
|
+
input: z.ZodObject<{
|
|
15728
|
+
cost: z.ZodNullable<z.ZodNumber>;
|
|
15729
|
+
count: z.ZodNumber;
|
|
15730
|
+
}, z.core.$strip>;
|
|
15731
|
+
output: z.ZodObject<{
|
|
15732
|
+
cost: z.ZodNullable<z.ZodNumber>;
|
|
15733
|
+
count: z.ZodNumber;
|
|
15734
|
+
}, z.core.$strip>;
|
|
15735
|
+
reasoning: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
15736
|
+
cost: z.ZodNullable<z.ZodNumber>;
|
|
15737
|
+
count: z.ZodNumber;
|
|
15738
|
+
}, z.core.$strip>>>;
|
|
15739
|
+
total: z.ZodObject<{
|
|
15740
|
+
cost: z.ZodNullable<z.ZodNumber>;
|
|
15741
|
+
count: z.ZodNumber;
|
|
15742
|
+
}, z.core.$strip>;
|
|
15743
|
+
}, z.core.$strip>;
|
|
15744
|
+
total: z.ZodNullable<z.ZodNumber>;
|
|
15745
|
+
}, z.core.$strip>;
|
|
15746
|
+
costUsd: z.ZodNullable<z.ZodNumber>;
|
|
15747
|
+
durationMs: z.ZodNumber;
|
|
15748
|
+
errorCount: z.ZodInt;
|
|
15749
|
+
errorTypes: z.ZodArray<z.ZodString>;
|
|
15750
|
+
firstSeen: z.ZodString;
|
|
15751
|
+
lastSeen: z.ZodString;
|
|
15752
|
+
models: z.ZodArray<z.ZodString>;
|
|
15753
|
+
owner: z.ZodNullable<z.ZodObject<{
|
|
15754
|
+
displayName: z.ZodNullable<z.ZodString>;
|
|
15755
|
+
id: z.ZodString;
|
|
15756
|
+
}, z.core.$strip>>;
|
|
15757
|
+
providerSlug: z.ZodNullable<z.ZodString>;
|
|
15758
|
+
pullRequests: z.ZodArray<z.ZodObject<{
|
|
15759
|
+
number: z.ZodInt;
|
|
15760
|
+
state: z.ZodEnum<{
|
|
15761
|
+
open: "open";
|
|
15762
|
+
draft: "draft";
|
|
15763
|
+
merged: "merged";
|
|
15764
|
+
closed: "closed";
|
|
15765
|
+
}>;
|
|
15766
|
+
url: z.ZodString;
|
|
15767
|
+
usage: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
15768
|
+
apiEquivalentUsd: z.ZodNullable<z.ZodNumber>;
|
|
15769
|
+
requests: z.ZodInt;
|
|
15770
|
+
tokens: z.ZodInt;
|
|
15771
|
+
}, z.core.$strip>>>;
|
|
15772
|
+
}, z.core.$strip>>;
|
|
15773
|
+
requestCount: z.ZodInt;
|
|
15774
|
+
sessionId: z.ZodString;
|
|
15775
|
+
startedAt: z.ZodString;
|
|
15776
|
+
title: z.ZodNullable<z.ZodString>;
|
|
15777
|
+
tokens: z.ZodObject<{
|
|
15778
|
+
cacheCreation: z.ZodInt;
|
|
15779
|
+
cacheRead: z.ZodInt;
|
|
15780
|
+
input: z.ZodInt;
|
|
15781
|
+
output: z.ZodInt;
|
|
15782
|
+
reasoning: z.ZodInt;
|
|
15783
|
+
}, z.core.$strip>;
|
|
15784
|
+
toolCalls: z.ZodInt;
|
|
15785
|
+
traceCount: z.ZodInt;
|
|
15786
|
+
vcsHeadName: z.ZodNullable<z.ZodString>;
|
|
15787
|
+
vcsRepositoryUrl: z.ZodNullable<z.ZodString>;
|
|
15788
|
+
}, z.core.$strip>;
|
|
15789
|
+
spans: z.ZodArray<z.ZodObject<{
|
|
15790
|
+
api_price_equivalent_usd: z.ZodNullable<z.ZodNumber>;
|
|
15791
|
+
attributes: z.ZodRecord<z.ZodString, z.ZodNullable<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>>;
|
|
15792
|
+
billed_cost_usd: z.ZodNullable<z.ZodNumber>;
|
|
15793
|
+
billing_mode: z.ZodNullable<z.ZodEnum<{
|
|
15794
|
+
subscription: "subscription";
|
|
15795
|
+
api: "api";
|
|
15796
|
+
unknown: "unknown";
|
|
15797
|
+
}>>;
|
|
15798
|
+
consumedBy: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
|
|
15799
|
+
kind: z.ZodString;
|
|
15800
|
+
name: z.ZodString;
|
|
15801
|
+
spanId: z.ZodString;
|
|
15802
|
+
traceId: z.ZodString;
|
|
15803
|
+
}, z.core.$strip>>>>;
|
|
15804
|
+
cost: z.ZodNullable<z.ZodObject<{
|
|
15805
|
+
api_price_equivalent_total: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
15806
|
+
billed_total: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
15807
|
+
currency: z.ZodEnum<{
|
|
15808
|
+
USD: "USD";
|
|
15809
|
+
}>;
|
|
15810
|
+
tokens: z.ZodObject<{
|
|
15811
|
+
cache_creation: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
15812
|
+
cost: z.ZodNullable<z.ZodNumber>;
|
|
15813
|
+
count: z.ZodNumber;
|
|
15814
|
+
}, z.core.$strip>>>;
|
|
15815
|
+
cache_creation_12h: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
15816
|
+
cost: z.ZodNullable<z.ZodNumber>;
|
|
15817
|
+
count: z.ZodNumber;
|
|
15818
|
+
}, z.core.$strip>>>;
|
|
15819
|
+
cache_creation_1h: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
15820
|
+
cost: z.ZodNullable<z.ZodNumber>;
|
|
15821
|
+
count: z.ZodNumber;
|
|
15822
|
+
}, z.core.$strip>>>;
|
|
15823
|
+
cache_creation_5m: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
15824
|
+
cost: z.ZodNullable<z.ZodNumber>;
|
|
15825
|
+
count: z.ZodNumber;
|
|
15826
|
+
}, z.core.$strip>>>;
|
|
15827
|
+
cache_read: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
15828
|
+
cost: z.ZodNullable<z.ZodNumber>;
|
|
15829
|
+
count: z.ZodNumber;
|
|
15830
|
+
}, z.core.$strip>>>;
|
|
15831
|
+
input: z.ZodObject<{
|
|
15832
|
+
cost: z.ZodNullable<z.ZodNumber>;
|
|
15833
|
+
count: z.ZodNumber;
|
|
15834
|
+
}, z.core.$strip>;
|
|
15835
|
+
missing_rates: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodEnum<{
|
|
15836
|
+
input: "input";
|
|
15837
|
+
output: "output";
|
|
15838
|
+
cache_creation: "cache_creation";
|
|
15839
|
+
cache_creation_5m: "cache_creation_5m";
|
|
15840
|
+
cache_creation_1h: "cache_creation_1h";
|
|
15841
|
+
cache_creation_12h: "cache_creation_12h";
|
|
15842
|
+
cache_read: "cache_read";
|
|
15843
|
+
reasoning: "reasoning";
|
|
15844
|
+
}>>>>;
|
|
15845
|
+
output: z.ZodObject<{
|
|
15846
|
+
cost: z.ZodNullable<z.ZodNumber>;
|
|
15847
|
+
count: z.ZodNumber;
|
|
15848
|
+
}, z.core.$strip>;
|
|
15849
|
+
reasoning: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
15850
|
+
cost: z.ZodNullable<z.ZodNumber>;
|
|
15851
|
+
count: z.ZodNumber;
|
|
15852
|
+
}, z.core.$strip>>>;
|
|
15853
|
+
total: z.ZodObject<{
|
|
15854
|
+
cost: z.ZodNullable<z.ZodNumber>;
|
|
15855
|
+
count: z.ZodNumber;
|
|
15856
|
+
}, z.core.$strip>;
|
|
15857
|
+
}, z.core.$strip>;
|
|
15858
|
+
total: z.ZodNullable<z.ZodNumber>;
|
|
15859
|
+
}, z.core.$strip>>;
|
|
15860
|
+
duration_ms: z.ZodNumber;
|
|
15861
|
+
events: z.ZodArray<z.ZodObject<{
|
|
15862
|
+
attributes: z.ZodRecord<z.ZodString, z.ZodNullable<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>>;
|
|
15863
|
+
name: z.ZodString;
|
|
15864
|
+
timestampOffsetMs: z.ZodNumber;
|
|
15865
|
+
}, z.core.$strip>>;
|
|
15866
|
+
kind: z.ZodEnum<{
|
|
15867
|
+
SERVER: "SERVER";
|
|
15868
|
+
CLIENT: "CLIENT";
|
|
15869
|
+
INTERNAL: "INTERNAL";
|
|
15870
|
+
}>;
|
|
15871
|
+
links: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
|
|
15872
|
+
attributes: z.ZodRecord<z.ZodString, z.ZodString>;
|
|
15873
|
+
kind: z.ZodString;
|
|
15874
|
+
name: z.ZodString;
|
|
15875
|
+
spanId: z.ZodString;
|
|
15876
|
+
traceId: z.ZodString;
|
|
15877
|
+
}, z.core.$strip>>>>;
|
|
15878
|
+
name: z.ZodString;
|
|
15879
|
+
parent_span_id: z.ZodNullable<z.ZodString>;
|
|
15880
|
+
span_id: z.ZodString;
|
|
15881
|
+
startOffsetMs: z.ZodNumber;
|
|
15882
|
+
start_time: z.ZodString;
|
|
15883
|
+
status: z.ZodEnum<{
|
|
15884
|
+
ok: "ok";
|
|
15885
|
+
error: "error";
|
|
15886
|
+
timeout: "timeout";
|
|
15887
|
+
}>;
|
|
15888
|
+
trace_id: z.ZodString;
|
|
15889
|
+
type: z.ZodEnum<{
|
|
15890
|
+
generation: "generation";
|
|
15891
|
+
span: "span";
|
|
15892
|
+
}>;
|
|
15893
|
+
}, z.core.$strip>>;
|
|
15894
|
+
truncated: z.ZodBoolean;
|
|
15895
|
+
}, z.core.$strip>;
|
|
15896
|
+
export declare const zSessionsGetSessionTurnPath: z.ZodObject<{
|
|
15897
|
+
projectId: z.ZodString;
|
|
15898
|
+
sessionId: z.ZodString;
|
|
15899
|
+
traceId: z.ZodString;
|
|
15900
|
+
}, z.core.$strip>;
|
|
15901
|
+
export declare const zSessionsGetSessionTurnQuery: z.ZodObject<{
|
|
15902
|
+
view: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
|
|
15903
|
+
last: "last";
|
|
15904
|
+
first: "first";
|
|
15905
|
+
io: "io";
|
|
15906
|
+
all: "all";
|
|
15907
|
+
}>>>;
|
|
15908
|
+
}, z.core.$strip>;
|
|
15909
|
+
/**
|
|
15910
|
+
* Success
|
|
15911
|
+
*/
|
|
15912
|
+
export declare const zSessionsGetSessionTurnResponse: z.ZodObject<{
|
|
15913
|
+
code: z.ZodNumber;
|
|
15914
|
+
data: z.ZodNullable<z.ZodObject<{
|
|
15915
|
+
budgetExceeded: z.ZodBoolean;
|
|
15916
|
+
duration_ms: z.ZodNumber;
|
|
15917
|
+
payloads: z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
15918
|
+
input: z.ZodNullable<z.ZodUnion<readonly [z.ZodObject<{
|
|
15919
|
+
chars: z.ZodInt;
|
|
15920
|
+
kind: z.ZodEnum<{
|
|
15921
|
+
preview: "preview";
|
|
15922
|
+
}>;
|
|
15923
|
+
previewChars: z.ZodInt;
|
|
15924
|
+
truncatedStrings: z.ZodInt;
|
|
15925
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
15926
|
+
bytes: z.ZodInt;
|
|
15927
|
+
kind: z.ZodEnum<{
|
|
15928
|
+
omitted: "omitted";
|
|
15929
|
+
}>;
|
|
15930
|
+
reason: z.ZodEnum<{
|
|
15931
|
+
too_large: "too_large";
|
|
15932
|
+
budget: "budget";
|
|
15933
|
+
}>;
|
|
15934
|
+
}, z.core.$strip>]>>;
|
|
15935
|
+
output: z.ZodNullable<z.ZodUnion<readonly [z.ZodObject<{
|
|
15936
|
+
chars: z.ZodInt;
|
|
15937
|
+
kind: z.ZodEnum<{
|
|
15938
|
+
preview: "preview";
|
|
15939
|
+
}>;
|
|
15940
|
+
previewChars: z.ZodInt;
|
|
15941
|
+
truncatedStrings: z.ZodInt;
|
|
15942
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
15943
|
+
bytes: z.ZodInt;
|
|
15944
|
+
kind: z.ZodEnum<{
|
|
15945
|
+
omitted: "omitted";
|
|
15946
|
+
}>;
|
|
15947
|
+
reason: z.ZodEnum<{
|
|
15948
|
+
too_large: "too_large";
|
|
15949
|
+
budget: "budget";
|
|
15950
|
+
}>;
|
|
15951
|
+
}, z.core.$strip>]>>;
|
|
15952
|
+
}, z.core.$strip>>;
|
|
15953
|
+
spans: z.ZodArray<z.ZodObject<{
|
|
15954
|
+
api_price_equivalent_usd: z.ZodNullable<z.ZodNumber>;
|
|
15955
|
+
attributes: z.ZodRecord<z.ZodString, z.ZodNullable<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>>;
|
|
15956
|
+
billed_cost_usd: z.ZodNullable<z.ZodNumber>;
|
|
15957
|
+
billing_mode: z.ZodNullable<z.ZodEnum<{
|
|
15958
|
+
subscription: "subscription";
|
|
15959
|
+
api: "api";
|
|
15960
|
+
unknown: "unknown";
|
|
15961
|
+
}>>;
|
|
15962
|
+
consumedBy: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
|
|
15963
|
+
kind: z.ZodString;
|
|
15964
|
+
name: z.ZodString;
|
|
15965
|
+
spanId: z.ZodString;
|
|
15966
|
+
traceId: z.ZodString;
|
|
15967
|
+
}, z.core.$strip>>>>;
|
|
15968
|
+
cost: z.ZodNullable<z.ZodObject<{
|
|
15969
|
+
api_price_equivalent_total: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
15970
|
+
billed_total: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
15971
|
+
currency: z.ZodEnum<{
|
|
15972
|
+
USD: "USD";
|
|
15973
|
+
}>;
|
|
15974
|
+
tokens: z.ZodObject<{
|
|
15975
|
+
cache_creation: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
15976
|
+
cost: z.ZodNullable<z.ZodNumber>;
|
|
15977
|
+
count: z.ZodNumber;
|
|
15978
|
+
}, z.core.$strip>>>;
|
|
15979
|
+
cache_creation_12h: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
15980
|
+
cost: z.ZodNullable<z.ZodNumber>;
|
|
15981
|
+
count: z.ZodNumber;
|
|
15982
|
+
}, z.core.$strip>>>;
|
|
15983
|
+
cache_creation_1h: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
15984
|
+
cost: z.ZodNullable<z.ZodNumber>;
|
|
15985
|
+
count: z.ZodNumber;
|
|
15986
|
+
}, z.core.$strip>>>;
|
|
15987
|
+
cache_creation_5m: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
15988
|
+
cost: z.ZodNullable<z.ZodNumber>;
|
|
15989
|
+
count: z.ZodNumber;
|
|
15990
|
+
}, z.core.$strip>>>;
|
|
15991
|
+
cache_read: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
15992
|
+
cost: z.ZodNullable<z.ZodNumber>;
|
|
15993
|
+
count: z.ZodNumber;
|
|
15994
|
+
}, z.core.$strip>>>;
|
|
15995
|
+
input: z.ZodObject<{
|
|
15996
|
+
cost: z.ZodNullable<z.ZodNumber>;
|
|
15997
|
+
count: z.ZodNumber;
|
|
15998
|
+
}, z.core.$strip>;
|
|
15999
|
+
missing_rates: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodEnum<{
|
|
16000
|
+
input: "input";
|
|
16001
|
+
output: "output";
|
|
16002
|
+
cache_creation: "cache_creation";
|
|
16003
|
+
cache_creation_5m: "cache_creation_5m";
|
|
16004
|
+
cache_creation_1h: "cache_creation_1h";
|
|
16005
|
+
cache_creation_12h: "cache_creation_12h";
|
|
16006
|
+
cache_read: "cache_read";
|
|
16007
|
+
reasoning: "reasoning";
|
|
16008
|
+
}>>>>;
|
|
16009
|
+
output: z.ZodObject<{
|
|
16010
|
+
cost: z.ZodNullable<z.ZodNumber>;
|
|
16011
|
+
count: z.ZodNumber;
|
|
16012
|
+
}, z.core.$strip>;
|
|
16013
|
+
reasoning: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
16014
|
+
cost: z.ZodNullable<z.ZodNumber>;
|
|
16015
|
+
count: z.ZodNumber;
|
|
16016
|
+
}, z.core.$strip>>>;
|
|
16017
|
+
total: z.ZodObject<{
|
|
16018
|
+
cost: z.ZodNullable<z.ZodNumber>;
|
|
16019
|
+
count: z.ZodNumber;
|
|
16020
|
+
}, z.core.$strip>;
|
|
16021
|
+
}, z.core.$strip>;
|
|
16022
|
+
total: z.ZodNullable<z.ZodNumber>;
|
|
16023
|
+
}, z.core.$strip>>;
|
|
16024
|
+
duration_ms: z.ZodNumber;
|
|
16025
|
+
events: z.ZodArray<z.ZodObject<{
|
|
16026
|
+
attributes: z.ZodRecord<z.ZodString, z.ZodNullable<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>>;
|
|
16027
|
+
name: z.ZodString;
|
|
16028
|
+
timestampOffsetMs: z.ZodNumber;
|
|
16029
|
+
}, z.core.$strip>>;
|
|
16030
|
+
kind: z.ZodEnum<{
|
|
16031
|
+
SERVER: "SERVER";
|
|
16032
|
+
CLIENT: "CLIENT";
|
|
16033
|
+
INTERNAL: "INTERNAL";
|
|
16034
|
+
}>;
|
|
16035
|
+
links: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
|
|
16036
|
+
attributes: z.ZodRecord<z.ZodString, z.ZodString>;
|
|
16037
|
+
kind: z.ZodString;
|
|
16038
|
+
name: z.ZodString;
|
|
16039
|
+
spanId: z.ZodString;
|
|
16040
|
+
traceId: z.ZodString;
|
|
16041
|
+
}, z.core.$strip>>>>;
|
|
16042
|
+
name: z.ZodString;
|
|
16043
|
+
parent_span_id: z.ZodNullable<z.ZodString>;
|
|
16044
|
+
span_id: z.ZodString;
|
|
16045
|
+
startOffsetMs: z.ZodNumber;
|
|
16046
|
+
start_time: z.ZodString;
|
|
16047
|
+
status: z.ZodEnum<{
|
|
16048
|
+
ok: "ok";
|
|
16049
|
+
error: "error";
|
|
16050
|
+
timeout: "timeout";
|
|
16051
|
+
}>;
|
|
16052
|
+
trace_id: z.ZodString;
|
|
16053
|
+
type: z.ZodEnum<{
|
|
16054
|
+
generation: "generation";
|
|
16055
|
+
span: "span";
|
|
16056
|
+
}>;
|
|
16057
|
+
}, z.core.$strip>>;
|
|
16058
|
+
spansTruncated: z.ZodBoolean;
|
|
16059
|
+
start_time: z.ZodString;
|
|
16060
|
+
status: z.ZodEnum<{
|
|
16061
|
+
ok: "ok";
|
|
16062
|
+
error: "error";
|
|
16063
|
+
timeout: "timeout";
|
|
16064
|
+
}>;
|
|
16065
|
+
trace_id: z.ZodString;
|
|
16066
|
+
view: z.ZodEnum<{
|
|
16067
|
+
last: "last";
|
|
16068
|
+
first: "first";
|
|
16069
|
+
io: "io";
|
|
16070
|
+
all: "all";
|
|
16071
|
+
}>;
|
|
16072
|
+
}, z.core.$strip>>;
|
|
16073
|
+
error: z.ZodNullable<z.ZodObject<{
|
|
16074
|
+
code: z.ZodString;
|
|
16075
|
+
details: z.ZodOptional<z.ZodNullable<z.ZodUnknown>>;
|
|
16076
|
+
message: z.ZodString;
|
|
16077
|
+
rowErrors: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
|
|
16078
|
+
code: z.ZodString;
|
|
16079
|
+
message: z.ZodString;
|
|
16080
|
+
path: z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>>;
|
|
16081
|
+
}, z.core.$strip>>>>;
|
|
16082
|
+
}, z.core.$strip>>;
|
|
16083
|
+
pagination: z.ZodNullable<z.ZodObject<{
|
|
16084
|
+
limit: z.ZodInt;
|
|
16085
|
+
page: z.ZodInt;
|
|
16086
|
+
total: z.ZodInt;
|
|
16087
|
+
totalPages: z.ZodInt;
|
|
16088
|
+
}, z.core.$strip>>;
|
|
16089
|
+
sdkBehavior: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
16090
|
+
flags: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
16091
|
+
v: z.ZodInt;
|
|
16092
|
+
}, z.core.$strip>>>;
|
|
16093
|
+
success: z.ZodBoolean;
|
|
16094
|
+
}, z.core.$strip>;
|
|
16095
|
+
export declare const zSessionsGetSessionSpanFieldPath: z.ZodObject<{
|
|
16096
|
+
projectId: z.ZodString;
|
|
16097
|
+
sessionId: z.ZodString;
|
|
16098
|
+
traceId: z.ZodString;
|
|
16099
|
+
spanId: z.ZodString;
|
|
16100
|
+
}, z.core.$strip>;
|
|
16101
|
+
export declare const zSessionsGetSessionSpanFieldQuery: z.ZodObject<{
|
|
16102
|
+
field: z.ZodEnum<{
|
|
16103
|
+
input: "input";
|
|
16104
|
+
output: "output";
|
|
16105
|
+
}>;
|
|
16106
|
+
}, z.core.$strip>;
|
|
16107
|
+
/**
|
|
16108
|
+
* Success
|
|
16109
|
+
*/
|
|
16110
|
+
export declare const zSessionsGetSessionSpanFieldResponse: z.ZodObject<{
|
|
16111
|
+
code: z.ZodNumber;
|
|
16112
|
+
data: z.ZodNullable<z.ZodObject<{
|
|
16113
|
+
chars: z.ZodInt;
|
|
16114
|
+
field: z.ZodEnum<{
|
|
16115
|
+
input: "input";
|
|
16116
|
+
output: "output";
|
|
16117
|
+
}>;
|
|
16118
|
+
omitted: z.ZodNullable<z.ZodEnum<{
|
|
16119
|
+
too_large: "too_large";
|
|
16120
|
+
}>>;
|
|
16121
|
+
spanId: z.ZodString;
|
|
16122
|
+
value: z.ZodNullable<z.ZodUnknown>;
|
|
16123
|
+
}, z.core.$strip>>;
|
|
16124
|
+
error: z.ZodNullable<z.ZodObject<{
|
|
16125
|
+
code: z.ZodString;
|
|
16126
|
+
details: z.ZodOptional<z.ZodNullable<z.ZodUnknown>>;
|
|
16127
|
+
message: z.ZodString;
|
|
16128
|
+
rowErrors: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
|
|
16129
|
+
code: z.ZodString;
|
|
16130
|
+
message: z.ZodString;
|
|
16131
|
+
path: z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>>;
|
|
16132
|
+
}, z.core.$strip>>>>;
|
|
16133
|
+
}, z.core.$strip>>;
|
|
16134
|
+
pagination: z.ZodNullable<z.ZodObject<{
|
|
16135
|
+
limit: z.ZodInt;
|
|
16136
|
+
page: z.ZodInt;
|
|
16137
|
+
total: z.ZodInt;
|
|
16138
|
+
totalPages: z.ZodInt;
|
|
16139
|
+
}, z.core.$strip>>;
|
|
16140
|
+
sdkBehavior: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
16141
|
+
flags: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
16142
|
+
v: z.ZodInt;
|
|
16143
|
+
}, z.core.$strip>>>;
|
|
16144
|
+
success: z.ZodBoolean;
|
|
16145
|
+
}, z.core.$strip>;
|
|
16146
|
+
export declare const zSessionsDownloadSessionSpanFieldPath: z.ZodObject<{
|
|
16147
|
+
projectId: z.ZodString;
|
|
16148
|
+
sessionId: z.ZodString;
|
|
16149
|
+
traceId: z.ZodString;
|
|
16150
|
+
spanId: z.ZodString;
|
|
16151
|
+
}, z.core.$strip>;
|
|
16152
|
+
export declare const zSessionsDownloadSessionSpanFieldQuery: z.ZodObject<{
|
|
16153
|
+
field: z.ZodEnum<{
|
|
16154
|
+
input: "input";
|
|
16155
|
+
output: "output";
|
|
16156
|
+
}>;
|
|
16157
|
+
}, z.core.$strip>;
|
|
15312
16158
|
export declare const zTracesListTracesPath: z.ZodObject<{
|
|
15313
16159
|
projectId: z.ZodString;
|
|
15314
16160
|
}, z.core.$strip>;
|