@h-ai/api-contract 1.0.0-beta.25 → 1.0.0-beta.26
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/ai/index.d.ts +3 -3
- package/dist/iam/index.d.ts +4 -4
- package/dist/index.d.ts +3 -3
- package/package.json +3 -3
package/dist/ai/index.d.ts
CHANGED
|
@@ -260,9 +260,9 @@ declare const aiContract: {
|
|
|
260
260
|
}, zod_v4_core.$strict>>>;
|
|
261
261
|
}, zod_v4_core.$strip>;
|
|
262
262
|
finish_reason: zod.ZodEnum<{
|
|
263
|
-
length: "length";
|
|
264
263
|
tool_calls: "tool_calls";
|
|
265
264
|
stop: "stop";
|
|
265
|
+
length: "length";
|
|
266
266
|
content_filter: "content_filter";
|
|
267
267
|
}>;
|
|
268
268
|
}, zod_v4_core.$strip>>;
|
|
@@ -934,9 +934,9 @@ declare const AiChatCompletionChoiceSchema: z.ZodObject<{
|
|
|
934
934
|
}, z.core.$strict>>>;
|
|
935
935
|
}, z.core.$strip>;
|
|
936
936
|
finish_reason: z.ZodEnum<{
|
|
937
|
-
length: "length";
|
|
938
937
|
tool_calls: "tool_calls";
|
|
939
938
|
stop: "stop";
|
|
939
|
+
length: "length";
|
|
940
940
|
content_filter: "content_filter";
|
|
941
941
|
}>;
|
|
942
942
|
}, z.core.$strip>;
|
|
@@ -990,9 +990,9 @@ declare const AiChatCompletionDataSchema: z.ZodObject<{
|
|
|
990
990
|
}, z.core.$strict>>>;
|
|
991
991
|
}, z.core.$strip>;
|
|
992
992
|
finish_reason: z.ZodEnum<{
|
|
993
|
-
length: "length";
|
|
994
993
|
tool_calls: "tool_calls";
|
|
995
994
|
stop: "stop";
|
|
995
|
+
length: "length";
|
|
996
996
|
content_filter: "content_filter";
|
|
997
997
|
}>;
|
|
998
998
|
}, z.core.$strip>>;
|
package/dist/iam/index.d.ts
CHANGED
|
@@ -147,8 +147,8 @@ declare const iamContract: {
|
|
|
147
147
|
}, zod_v4_core.$strip>;
|
|
148
148
|
ui: zod.ZodObject<{
|
|
149
149
|
variant: zod.ZodEnum<{
|
|
150
|
-
card: "card";
|
|
151
150
|
split: "split";
|
|
151
|
+
card: "card";
|
|
152
152
|
}>;
|
|
153
153
|
title: zod.ZodOptional<zod.ZodString>;
|
|
154
154
|
subtitle: zod.ZodOptional<zod.ZodString>;
|
|
@@ -754,11 +754,11 @@ declare const iamContract: {
|
|
|
754
754
|
page: zod.ZodOptional<zod.ZodCoercedNumber<unknown>>;
|
|
755
755
|
pageSize: zod.ZodOptional<zod.ZodCoercedNumber<unknown>>;
|
|
756
756
|
sortBy: zod.ZodOptional<zod.ZodEnum<{
|
|
757
|
+
createdAt: "createdAt";
|
|
757
758
|
email: "email";
|
|
758
759
|
username: "username";
|
|
759
760
|
displayName: "displayName";
|
|
760
761
|
accountStatus: "accountStatus";
|
|
761
|
-
createdAt: "createdAt";
|
|
762
762
|
}>>;
|
|
763
763
|
sortDirection: zod.ZodOptional<zod.ZodEnum<{
|
|
764
764
|
asc: "asc";
|
|
@@ -1808,8 +1808,8 @@ declare const IamPublicConfigSchema: z.ZodObject<{
|
|
|
1808
1808
|
}, z.core.$strip>;
|
|
1809
1809
|
ui: z.ZodObject<{
|
|
1810
1810
|
variant: z.ZodEnum<{
|
|
1811
|
-
card: "card";
|
|
1812
1811
|
split: "split";
|
|
1812
|
+
card: "card";
|
|
1813
1813
|
}>;
|
|
1814
1814
|
title: z.ZodOptional<z.ZodString>;
|
|
1815
1815
|
subtitle: z.ZodOptional<z.ZodString>;
|
|
@@ -1998,11 +1998,11 @@ declare const IamListUsersInputSchema: z.ZodObject<{
|
|
|
1998
1998
|
page: z.ZodOptional<z.ZodCoercedNumber<unknown>>;
|
|
1999
1999
|
pageSize: z.ZodOptional<z.ZodCoercedNumber<unknown>>;
|
|
2000
2000
|
sortBy: z.ZodOptional<z.ZodEnum<{
|
|
2001
|
+
createdAt: "createdAt";
|
|
2001
2002
|
email: "email";
|
|
2002
2003
|
username: "username";
|
|
2003
2004
|
displayName: "displayName";
|
|
2004
2005
|
accountStatus: "accountStatus";
|
|
2005
|
-
createdAt: "createdAt";
|
|
2006
2006
|
}>>;
|
|
2007
2007
|
sortDirection: z.ZodOptional<z.ZodEnum<{
|
|
2008
2008
|
asc: "asc";
|
package/dist/index.d.ts
CHANGED
|
@@ -370,8 +370,8 @@ declare const apiContract: {
|
|
|
370
370
|
}, zod_v4_core.$strip>;
|
|
371
371
|
ui: zod.ZodObject<{
|
|
372
372
|
variant: zod.ZodEnum<{
|
|
373
|
-
card: "card";
|
|
374
373
|
split: "split";
|
|
374
|
+
card: "card";
|
|
375
375
|
}>;
|
|
376
376
|
title: zod.ZodOptional<zod.ZodString>;
|
|
377
377
|
subtitle: zod.ZodOptional<zod.ZodString>;
|
|
@@ -977,11 +977,11 @@ declare const apiContract: {
|
|
|
977
977
|
page: zod.ZodOptional<zod.ZodCoercedNumber<unknown>>;
|
|
978
978
|
pageSize: zod.ZodOptional<zod.ZodCoercedNumber<unknown>>;
|
|
979
979
|
sortBy: zod.ZodOptional<zod.ZodEnum<{
|
|
980
|
+
createdAt: "createdAt";
|
|
980
981
|
email: "email";
|
|
981
982
|
username: "username";
|
|
982
983
|
displayName: "displayName";
|
|
983
984
|
accountStatus: "accountStatus";
|
|
984
|
-
createdAt: "createdAt";
|
|
985
985
|
}>>;
|
|
986
986
|
sortDirection: zod.ZodOptional<zod.ZodEnum<{
|
|
987
987
|
asc: "asc";
|
|
@@ -1819,9 +1819,9 @@ declare const apiContract: {
|
|
|
1819
1819
|
}, zod_v4_core.$strict>>>;
|
|
1820
1820
|
}, zod_v4_core.$strip>;
|
|
1821
1821
|
finish_reason: zod.ZodEnum<{
|
|
1822
|
-
length: "length";
|
|
1823
1822
|
tool_calls: "tool_calls";
|
|
1824
1823
|
stop: "stop";
|
|
1824
|
+
length: "length";
|
|
1825
1825
|
content_filter: "content_filter";
|
|
1826
1826
|
}>;
|
|
1827
1827
|
}, zod_v4_core.$strip>>;
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@h-ai/api-contract",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "1.0.0-beta.
|
|
4
|
+
"version": "1.0.0-beta.26",
|
|
5
5
|
"description": "Hai Framework public API contracts powered by oRPC and Zod.",
|
|
6
6
|
"license": "Apache-2.0",
|
|
7
7
|
"exports": {
|
|
@@ -43,8 +43,8 @@
|
|
|
43
43
|
"node": "^22.23.4 || ^24.22.1 || ^26.12.1"
|
|
44
44
|
},
|
|
45
45
|
"dependencies": {
|
|
46
|
-
"@h-ai/core": "1.0.0-beta.
|
|
47
|
-
"@h-ai/storage": "1.0.0-beta.
|
|
46
|
+
"@h-ai/core": "1.0.0-beta.26",
|
|
47
|
+
"@h-ai/storage": "1.0.0-beta.26",
|
|
48
48
|
"@orpc/contract": "^1.16.2",
|
|
49
49
|
"zod": "^4.6.7"
|
|
50
50
|
},
|