@to11ai/sdk 0.2.0 → 0.3.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.
|
@@ -12256,7 +12256,9 @@ export type ProjectOverviewGetProjectOverviewData = {
|
|
|
12256
12256
|
projectId: string;
|
|
12257
12257
|
};
|
|
12258
12258
|
query?: {
|
|
12259
|
-
timeRange?: '1h' | '6h' | '12h' | '24h' | '7d' | '30d' | null;
|
|
12259
|
+
timeRange?: '10m' | '30m' | '1h' | '2h' | '3h' | '6h' | '8h' | '12h' | '24h' | '7d' | '14d' | '28d' | '30d' | '60d' | null;
|
|
12260
|
+
startTimeFrom?: string | null;
|
|
12261
|
+
startTimeTo?: string | null;
|
|
12260
12262
|
};
|
|
12261
12263
|
url: '/v1/projects/{projectId}/overview';
|
|
12262
12264
|
};
|
|
@@ -14863,10 +14865,12 @@ export type PromptsGetPromptReviewStateResponses = {
|
|
|
14863
14865
|
activeDecisions: Array<{
|
|
14864
14866
|
createdAt: string;
|
|
14865
14867
|
decision: 'approve' | 'reject' | 'request_changes' | 'withdraw';
|
|
14868
|
+
hasActiveRejection: boolean;
|
|
14866
14869
|
reviewId: string;
|
|
14867
14870
|
reviewerPrincipalId: string;
|
|
14868
14871
|
}>;
|
|
14869
14872
|
approvalCount: number;
|
|
14873
|
+
callerHasActiveRejection: boolean;
|
|
14870
14874
|
hasActiveRejection: boolean;
|
|
14871
14875
|
reviews: Array<{
|
|
14872
14876
|
createdAt: string;
|
|
@@ -6810,11 +6810,21 @@ export declare const zProjectOverviewGetProjectOverviewQuery: z.ZodObject<{
|
|
|
6810
6810
|
timeRange: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
|
|
6811
6811
|
"24h": "24h";
|
|
6812
6812
|
"7d": "7d";
|
|
6813
|
+
"10m": "10m";
|
|
6814
|
+
"30m": "30m";
|
|
6813
6815
|
"1h": "1h";
|
|
6816
|
+
"2h": "2h";
|
|
6817
|
+
"3h": "3h";
|
|
6814
6818
|
"6h": "6h";
|
|
6819
|
+
"8h": "8h";
|
|
6815
6820
|
"12h": "12h";
|
|
6821
|
+
"14d": "14d";
|
|
6822
|
+
"28d": "28d";
|
|
6816
6823
|
"30d": "30d";
|
|
6824
|
+
"60d": "60d";
|
|
6817
6825
|
}>>>;
|
|
6826
|
+
startTimeFrom: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
6827
|
+
startTimeTo: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
6818
6828
|
}, z.core.$strip>;
|
|
6819
6829
|
/**
|
|
6820
6830
|
* Success
|
|
@@ -8495,10 +8505,12 @@ export declare const zPromptsGetPromptReviewStateResponse: z.ZodObject<{
|
|
|
8495
8505
|
request_changes: "request_changes";
|
|
8496
8506
|
withdraw: "withdraw";
|
|
8497
8507
|
}>;
|
|
8508
|
+
hasActiveRejection: z.ZodBoolean;
|
|
8498
8509
|
reviewId: z.ZodString;
|
|
8499
8510
|
reviewerPrincipalId: z.ZodString;
|
|
8500
8511
|
}, z.core.$strip>>;
|
|
8501
8512
|
approvalCount: z.ZodNumber;
|
|
8513
|
+
callerHasActiveRejection: z.ZodBoolean;
|
|
8502
8514
|
hasActiveRejection: z.ZodBoolean;
|
|
8503
8515
|
reviews: z.ZodArray<z.ZodObject<{
|
|
8504
8516
|
createdAt: z.ZodISODateTime;
|
|
@@ -12839,9 +12851,9 @@ export declare const zTracesListTracesQuery: z.ZodObject<{
|
|
|
12839
12851
|
timePreset: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
|
|
12840
12852
|
"24h": "24h";
|
|
12841
12853
|
"7d": "7d";
|
|
12842
|
-
"1h": "1h";
|
|
12843
12854
|
"10m": "10m";
|
|
12844
12855
|
"30m": "30m";
|
|
12856
|
+
"1h": "1h";
|
|
12845
12857
|
"2h": "2h";
|
|
12846
12858
|
"3h": "3h";
|
|
12847
12859
|
"8h": "8h";
|
package/package.json
CHANGED
|
@@ -12881,7 +12881,9 @@ export type ProjectOverviewGetProjectOverviewData = {
|
|
|
12881
12881
|
projectId: string;
|
|
12882
12882
|
};
|
|
12883
12883
|
query?: {
|
|
12884
|
-
timeRange?: '1h' | '6h' | '12h' | '24h' | '7d' | '30d' | null;
|
|
12884
|
+
timeRange?: '10m' | '30m' | '1h' | '2h' | '3h' | '6h' | '8h' | '12h' | '24h' | '7d' | '14d' | '28d' | '30d' | '60d' | null;
|
|
12885
|
+
startTimeFrom?: string | null;
|
|
12886
|
+
startTimeTo?: string | null;
|
|
12885
12887
|
};
|
|
12886
12888
|
url: '/v1/projects/{projectId}/overview';
|
|
12887
12889
|
};
|
|
@@ -15606,10 +15608,12 @@ export type PromptsGetPromptReviewStateResponses = {
|
|
|
15606
15608
|
activeDecisions: Array<{
|
|
15607
15609
|
createdAt: string;
|
|
15608
15610
|
decision: 'approve' | 'reject' | 'request_changes' | 'withdraw';
|
|
15611
|
+
hasActiveRejection: boolean;
|
|
15609
15612
|
reviewId: string;
|
|
15610
15613
|
reviewerPrincipalId: string;
|
|
15611
15614
|
}>;
|
|
15612
15615
|
approvalCount: number;
|
|
15616
|
+
callerHasActiveRejection: boolean;
|
|
15613
15617
|
hasActiveRejection: boolean;
|
|
15614
15618
|
reviews: Array<{
|
|
15615
15619
|
createdAt: string;
|
package/src/generated/zod.gen.ts
CHANGED
|
@@ -6580,13 +6580,23 @@ export const zProjectOverviewGetProjectOverviewPath = z.object({
|
|
|
6580
6580
|
|
|
6581
6581
|
export const zProjectOverviewGetProjectOverviewQuery = z.object({
|
|
6582
6582
|
timeRange: z.enum([
|
|
6583
|
+
'10m',
|
|
6584
|
+
'30m',
|
|
6583
6585
|
'1h',
|
|
6586
|
+
'2h',
|
|
6587
|
+
'3h',
|
|
6584
6588
|
'6h',
|
|
6589
|
+
'8h',
|
|
6585
6590
|
'12h',
|
|
6586
6591
|
'24h',
|
|
6587
6592
|
'7d',
|
|
6588
|
-
'
|
|
6589
|
-
|
|
6593
|
+
'14d',
|
|
6594
|
+
'28d',
|
|
6595
|
+
'30d',
|
|
6596
|
+
'60d'
|
|
6597
|
+
]).nullish(),
|
|
6598
|
+
startTimeFrom: z.string().regex(/^\d{4}-\d{2}-\d{2}T\d{2}:\d{2}:\d{2}(\.\d{1,3})?(Z|[+-]\d{2}:\d{2})$/).nullish(),
|
|
6599
|
+
startTimeTo: z.string().regex(/^\d{4}-\d{2}-\d{2}T\d{2}:\d{2}:\d{2}(\.\d{1,3})?(Z|[+-]\d{2}:\d{2})$/).nullish()
|
|
6590
6600
|
});
|
|
6591
6601
|
|
|
6592
6602
|
/**
|
|
@@ -8003,10 +8013,12 @@ export const zPromptsGetPromptReviewStateResponse = z.object({
|
|
|
8003
8013
|
'request_changes',
|
|
8004
8014
|
'withdraw'
|
|
8005
8015
|
]),
|
|
8016
|
+
hasActiveRejection: z.boolean(),
|
|
8006
8017
|
reviewId: z.string(),
|
|
8007
8018
|
reviewerPrincipalId: z.string()
|
|
8008
8019
|
})),
|
|
8009
8020
|
approvalCount: z.number(),
|
|
8021
|
+
callerHasActiveRejection: z.boolean(),
|
|
8010
8022
|
hasActiveRejection: z.boolean(),
|
|
8011
8023
|
reviews: z.array(z.object({
|
|
8012
8024
|
createdAt: z.iso.datetime(),
|