@oxy.so/contracts 4.11.0 → 4.13.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.
- package/dist/cjs/.tsbuildinfo +1 -1
- package/dist/cjs/accountGraph.js +15 -0
- package/dist/cjs/avatarCharacter.js +120 -0
- package/dist/cjs/index.js +24 -14
- package/dist/cjs/inference/identifiers.js +14 -1
- package/dist/cjs/inference/routingPolicy.js +17 -0
- package/dist/cjs/inference/usage.js +8 -0
- package/dist/cjs/inference/version.js +1 -1
- package/dist/cjs/recommendations.js +3 -0
- package/dist/cjs/userResponse.js +7 -0
- package/dist/esm/.tsbuildinfo +1 -1
- package/dist/esm/accountGraph.js +15 -0
- package/dist/esm/avatarCharacter.js +115 -0
- package/dist/esm/index.js +4 -1
- package/dist/esm/inference/identifiers.js +13 -0
- package/dist/esm/inference/routingPolicy.js +18 -1
- package/dist/esm/inference/usage.js +9 -1
- package/dist/esm/inference/version.js +1 -1
- package/dist/esm/recommendations.js +3 -0
- package/dist/esm/userResponse.js +7 -0
- package/dist/types/.tsbuildinfo +1 -1
- package/dist/types/accountGraph.d.ts +15 -4
- package/dist/types/accountSubject.d.ts +4 -4
- package/dist/types/agency.d.ts +44 -44
- package/dist/types/avatarCharacter.d.ts +57 -0
- package/dist/types/deviceDirectory.d.ts +66 -66
- package/dist/types/email/messages.d.ts +22 -22
- package/dist/types/externalIdentity.d.ts +11 -4
- package/dist/types/index.d.ts +4 -2
- package/dist/types/inference/accountBilling.d.ts +2 -2
- package/dist/types/inference/decisions.d.ts +20 -0
- package/dist/types/inference/identifiers.d.ts +14 -0
- package/dist/types/inference/realtime.d.ts +18 -0
- package/dist/types/inference/request.d.ts +54 -0
- package/dist/types/inference/routingPolicy.d.ts +10 -0
- package/dist/types/inference/usage.d.ts +12 -0
- package/dist/types/inference/version.d.ts +1 -1
- package/dist/types/recommendations.d.ts +12 -0
- package/dist/types/userResponse.d.ts +100 -2
- package/package.json +1 -1
|
@@ -603,9 +603,9 @@ export declare const emailUserLabelSchema: z.ZodObject<{
|
|
|
603
603
|
createdAt: z.ZodString;
|
|
604
604
|
updatedAt: z.ZodString;
|
|
605
605
|
}, "strip", z.ZodTypeAny, {
|
|
606
|
+
color: string;
|
|
606
607
|
system: false;
|
|
607
608
|
name: string;
|
|
608
|
-
color: string;
|
|
609
609
|
id: string;
|
|
610
610
|
createdAt: string;
|
|
611
611
|
updatedAt: string;
|
|
@@ -613,9 +613,9 @@ export declare const emailUserLabelSchema: z.ZodObject<{
|
|
|
613
613
|
_id: string;
|
|
614
614
|
order: number;
|
|
615
615
|
}, {
|
|
616
|
+
color: string;
|
|
616
617
|
system: false;
|
|
617
618
|
name: string;
|
|
618
|
-
color: string;
|
|
619
619
|
id: string;
|
|
620
620
|
createdAt: string;
|
|
621
621
|
updatedAt: string;
|
|
@@ -632,15 +632,15 @@ export declare const emailSystemLabelSchema: z.ZodObject<{
|
|
|
632
632
|
order: z.ZodNumber;
|
|
633
633
|
system: z.ZodLiteral<true>;
|
|
634
634
|
}, "strip", z.ZodTypeAny, {
|
|
635
|
+
color: string;
|
|
635
636
|
system: true;
|
|
636
637
|
name: string;
|
|
637
|
-
color: string;
|
|
638
638
|
_id: string;
|
|
639
639
|
order: number;
|
|
640
640
|
}, {
|
|
641
|
+
color: string;
|
|
641
642
|
system: true;
|
|
642
643
|
name: string;
|
|
643
|
-
color: string;
|
|
644
644
|
_id: string;
|
|
645
645
|
order: number;
|
|
646
646
|
}>;
|
|
@@ -656,9 +656,9 @@ export declare const emailLabelSchema: z.ZodDiscriminatedUnion<"system", [z.ZodO
|
|
|
656
656
|
createdAt: z.ZodString;
|
|
657
657
|
updatedAt: z.ZodString;
|
|
658
658
|
}, "strip", z.ZodTypeAny, {
|
|
659
|
+
color: string;
|
|
659
660
|
system: false;
|
|
660
661
|
name: string;
|
|
661
|
-
color: string;
|
|
662
662
|
id: string;
|
|
663
663
|
createdAt: string;
|
|
664
664
|
updatedAt: string;
|
|
@@ -666,9 +666,9 @@ export declare const emailLabelSchema: z.ZodDiscriminatedUnion<"system", [z.ZodO
|
|
|
666
666
|
_id: string;
|
|
667
667
|
order: number;
|
|
668
668
|
}, {
|
|
669
|
+
color: string;
|
|
669
670
|
system: false;
|
|
670
671
|
name: string;
|
|
671
|
-
color: string;
|
|
672
672
|
id: string;
|
|
673
673
|
createdAt: string;
|
|
674
674
|
updatedAt: string;
|
|
@@ -682,15 +682,15 @@ export declare const emailLabelSchema: z.ZodDiscriminatedUnion<"system", [z.ZodO
|
|
|
682
682
|
order: z.ZodNumber;
|
|
683
683
|
system: z.ZodLiteral<true>;
|
|
684
684
|
}, "strip", z.ZodTypeAny, {
|
|
685
|
+
color: string;
|
|
685
686
|
system: true;
|
|
686
687
|
name: string;
|
|
687
|
-
color: string;
|
|
688
688
|
_id: string;
|
|
689
689
|
order: number;
|
|
690
690
|
}, {
|
|
691
|
+
color: string;
|
|
691
692
|
system: true;
|
|
692
693
|
name: string;
|
|
693
|
-
color: string;
|
|
694
694
|
_id: string;
|
|
695
695
|
order: number;
|
|
696
696
|
}>]>;
|
|
@@ -714,10 +714,10 @@ export declare const emailFilterActionSchema: z.ZodObject<{
|
|
|
714
714
|
type: z.ZodEnum<["move", "label", "star", "mark-read", "archive", "delete", "forward"]>;
|
|
715
715
|
value: z.ZodOptional<z.ZodString>;
|
|
716
716
|
}, "strip", z.ZodTypeAny, {
|
|
717
|
-
type: "
|
|
717
|
+
type: "star" | "label" | "archive" | "move" | "mark-read" | "delete" | "forward";
|
|
718
718
|
value?: string | undefined;
|
|
719
719
|
}, {
|
|
720
|
-
type: "
|
|
720
|
+
type: "star" | "label" | "archive" | "move" | "mark-read" | "delete" | "forward";
|
|
721
721
|
value?: string | undefined;
|
|
722
722
|
}>;
|
|
723
723
|
export type EmailFilterActionWire = z.infer<typeof emailFilterActionSchema>;
|
|
@@ -746,10 +746,10 @@ export declare const emailFilterSchema: z.ZodObject<{
|
|
|
746
746
|
type: z.ZodEnum<["move", "label", "star", "mark-read", "archive", "delete", "forward"]>;
|
|
747
747
|
value: z.ZodOptional<z.ZodString>;
|
|
748
748
|
}, "strip", z.ZodTypeAny, {
|
|
749
|
-
type: "
|
|
749
|
+
type: "star" | "label" | "archive" | "move" | "mark-read" | "delete" | "forward";
|
|
750
750
|
value?: string | undefined;
|
|
751
751
|
}, {
|
|
752
|
-
type: "
|
|
752
|
+
type: "star" | "label" | "archive" | "move" | "mark-read" | "delete" | "forward";
|
|
753
753
|
value?: string | undefined;
|
|
754
754
|
}>, "many">;
|
|
755
755
|
createdAt: z.ZodString;
|
|
@@ -770,7 +770,7 @@ export declare const emailFilterSchema: z.ZodObject<{
|
|
|
770
770
|
operator: "contains" | "equals" | "not-contains" | "starts-with" | "ends-with" | "greater-than" | "less-than";
|
|
771
771
|
}[];
|
|
772
772
|
actions: {
|
|
773
|
-
type: "
|
|
773
|
+
type: "star" | "label" | "archive" | "move" | "mark-read" | "delete" | "forward";
|
|
774
774
|
value?: string | undefined;
|
|
775
775
|
}[];
|
|
776
776
|
}, {
|
|
@@ -789,7 +789,7 @@ export declare const emailFilterSchema: z.ZodObject<{
|
|
|
789
789
|
operator: "contains" | "equals" | "not-contains" | "starts-with" | "ends-with" | "greater-than" | "less-than";
|
|
790
790
|
}[];
|
|
791
791
|
actions: {
|
|
792
|
-
type: "
|
|
792
|
+
type: "star" | "label" | "archive" | "move" | "mark-read" | "delete" | "forward";
|
|
793
793
|
value?: string | undefined;
|
|
794
794
|
}[];
|
|
795
795
|
}>;
|
|
@@ -808,8 +808,8 @@ export declare const emailBundleSchema: z.ZodObject<{
|
|
|
808
808
|
createdAt: z.ZodString;
|
|
809
809
|
updatedAt: z.ZodString;
|
|
810
810
|
}, "strip", z.ZodTypeAny, {
|
|
811
|
-
name: string;
|
|
812
811
|
color: string;
|
|
812
|
+
name: string;
|
|
813
813
|
id: string;
|
|
814
814
|
createdAt: string;
|
|
815
815
|
updatedAt: string;
|
|
@@ -821,8 +821,8 @@ export declare const emailBundleSchema: z.ZodObject<{
|
|
|
821
821
|
matchLabels: string[];
|
|
822
822
|
collapsed: boolean;
|
|
823
823
|
}, {
|
|
824
|
-
name: string;
|
|
825
824
|
color: string;
|
|
825
|
+
name: string;
|
|
826
826
|
id: string;
|
|
827
827
|
createdAt: string;
|
|
828
828
|
updatedAt: string;
|
|
@@ -1208,8 +1208,8 @@ export declare const emailBundledInboxSchema: z.ZodObject<{
|
|
|
1208
1208
|
createdAt: z.ZodString;
|
|
1209
1209
|
updatedAt: z.ZodString;
|
|
1210
1210
|
}, "strip", z.ZodTypeAny, {
|
|
1211
|
-
name: string;
|
|
1212
1211
|
color: string;
|
|
1212
|
+
name: string;
|
|
1213
1213
|
id: string;
|
|
1214
1214
|
createdAt: string;
|
|
1215
1215
|
updatedAt: string;
|
|
@@ -1221,8 +1221,8 @@ export declare const emailBundledInboxSchema: z.ZodObject<{
|
|
|
1221
1221
|
matchLabels: string[];
|
|
1222
1222
|
collapsed: boolean;
|
|
1223
1223
|
}, {
|
|
1224
|
-
name: string;
|
|
1225
1224
|
color: string;
|
|
1225
|
+
name: string;
|
|
1226
1226
|
id: string;
|
|
1227
1227
|
createdAt: string;
|
|
1228
1228
|
updatedAt: string;
|
|
@@ -1682,8 +1682,8 @@ export declare const emailBundledInboxSchema: z.ZodObject<{
|
|
|
1682
1682
|
} | undefined;
|
|
1683
1683
|
}[];
|
|
1684
1684
|
bundle: {
|
|
1685
|
-
name: string;
|
|
1686
1685
|
color: string;
|
|
1686
|
+
name: string;
|
|
1687
1687
|
id: string;
|
|
1688
1688
|
createdAt: string;
|
|
1689
1689
|
updatedAt: string;
|
|
@@ -1779,8 +1779,8 @@ export declare const emailBundledInboxSchema: z.ZodObject<{
|
|
|
1779
1779
|
delivery?: unknown;
|
|
1780
1780
|
}[];
|
|
1781
1781
|
bundle: {
|
|
1782
|
-
name: string;
|
|
1783
1782
|
color: string;
|
|
1783
|
+
name: string;
|
|
1784
1784
|
id: string;
|
|
1785
1785
|
createdAt: string;
|
|
1786
1786
|
updatedAt: string;
|
|
@@ -1977,8 +1977,8 @@ export declare const emailBundledInboxSchema: z.ZodObject<{
|
|
|
1977
1977
|
} | undefined;
|
|
1978
1978
|
}[];
|
|
1979
1979
|
bundle: {
|
|
1980
|
-
name: string;
|
|
1981
1980
|
color: string;
|
|
1981
|
+
name: string;
|
|
1982
1982
|
id: string;
|
|
1983
1983
|
createdAt: string;
|
|
1984
1984
|
updatedAt: string;
|
|
@@ -2158,8 +2158,8 @@ export declare const emailBundledInboxSchema: z.ZodObject<{
|
|
|
2158
2158
|
delivery?: unknown;
|
|
2159
2159
|
}[];
|
|
2160
2160
|
bundle: {
|
|
2161
|
-
name: string;
|
|
2162
2161
|
color: string;
|
|
2162
|
+
name: string;
|
|
2163
2163
|
id: string;
|
|
2164
2164
|
createdAt: string;
|
|
2165
2165
|
updatedAt: string;
|
|
@@ -72,6 +72,7 @@ export declare const resolveExternalIdentityResponseSchema: z.ZodEffects<z.ZodOb
|
|
|
72
72
|
verifiedDomains: z.ZodOptional<z.ZodArray<z.ZodType<import("./identity").VerifiedDomain, z.ZodTypeDef, import("./identity").VerifiedDomain>, "many">>;
|
|
73
73
|
kind: z.ZodOptional<z.ZodEnum<["personal", "organization", "project", "bot", "channel"]>>;
|
|
74
74
|
accountCategories: z.ZodOptional<z.ZodEffects<z.ZodArray<z.ZodEnum<["news", "politics", "business", "startup", "finance", "crypto", "marketplace", "retail", "real_estate", "agency", "landlord", "cooperative", "architecture", "technology", "software", "ai", "security", "automation", "science", "education", "books", "health", "fitness", "sports", "gaming", "music", "film", "podcast", "art", "photography", "comedy", "food", "travel", "fashion", "home_garden", "diy", "automotive", "animals", "family", "nonprofit", "government", "community", "activism", "environment", "religion", "other"]>, "many">, ("security" | "news" | "politics" | "business" | "startup" | "finance" | "crypto" | "marketplace" | "retail" | "real_estate" | "agency" | "landlord" | "cooperative" | "architecture" | "technology" | "software" | "ai" | "automation" | "science" | "education" | "books" | "health" | "fitness" | "sports" | "gaming" | "music" | "film" | "podcast" | "art" | "photography" | "comedy" | "food" | "travel" | "fashion" | "home_garden" | "diy" | "automotive" | "animals" | "family" | "nonprofit" | "government" | "community" | "activism" | "environment" | "religion" | "other")[], ("security" | "news" | "politics" | "business" | "startup" | "finance" | "crypto" | "marketplace" | "retail" | "real_estate" | "agency" | "landlord" | "cooperative" | "architecture" | "technology" | "software" | "ai" | "automation" | "science" | "education" | "books" | "health" | "fitness" | "sports" | "gaming" | "music" | "film" | "podcast" | "art" | "photography" | "comedy" | "food" | "travel" | "fashion" | "home_garden" | "diy" | "automotive" | "animals" | "family" | "nonprofit" | "government" | "community" | "activism" | "environment" | "religion" | "other")[]>>;
|
|
75
|
+
character: z.ZodOptional<z.ZodType<import("./avatarCharacter").AvatarCharacter, z.ZodTypeDef, unknown>>;
|
|
75
76
|
relationship: z.ZodOptional<z.ZodType<import("./userResponse").UserRelationship, z.ZodTypeDef, import("./userResponse").UserRelationship>>;
|
|
76
77
|
themePreference: z.ZodOptional<z.ZodType<import("./userResponse").ThemePreference, z.ZodTypeDef, import("./userResponse").ThemePreference>>;
|
|
77
78
|
personalization: z.ZodOptional<z.ZodObject<{
|
|
@@ -141,6 +142,7 @@ export declare const resolveExternalIdentityResponseSchema: z.ZodEffects<z.ZodOb
|
|
|
141
142
|
verifiedDomains: z.ZodOptional<z.ZodArray<z.ZodType<import("./identity").VerifiedDomain, z.ZodTypeDef, import("./identity").VerifiedDomain>, "many">>;
|
|
142
143
|
kind: z.ZodOptional<z.ZodEnum<["personal", "organization", "project", "bot", "channel"]>>;
|
|
143
144
|
accountCategories: z.ZodOptional<z.ZodEffects<z.ZodArray<z.ZodEnum<["news", "politics", "business", "startup", "finance", "crypto", "marketplace", "retail", "real_estate", "agency", "landlord", "cooperative", "architecture", "technology", "software", "ai", "security", "automation", "science", "education", "books", "health", "fitness", "sports", "gaming", "music", "film", "podcast", "art", "photography", "comedy", "food", "travel", "fashion", "home_garden", "diy", "automotive", "animals", "family", "nonprofit", "government", "community", "activism", "environment", "religion", "other"]>, "many">, ("security" | "news" | "politics" | "business" | "startup" | "finance" | "crypto" | "marketplace" | "retail" | "real_estate" | "agency" | "landlord" | "cooperative" | "architecture" | "technology" | "software" | "ai" | "automation" | "science" | "education" | "books" | "health" | "fitness" | "sports" | "gaming" | "music" | "film" | "podcast" | "art" | "photography" | "comedy" | "food" | "travel" | "fashion" | "home_garden" | "diy" | "automotive" | "animals" | "family" | "nonprofit" | "government" | "community" | "activism" | "environment" | "religion" | "other")[], ("security" | "news" | "politics" | "business" | "startup" | "finance" | "crypto" | "marketplace" | "retail" | "real_estate" | "agency" | "landlord" | "cooperative" | "architecture" | "technology" | "software" | "ai" | "automation" | "science" | "education" | "books" | "health" | "fitness" | "sports" | "gaming" | "music" | "film" | "podcast" | "art" | "photography" | "comedy" | "food" | "travel" | "fashion" | "home_garden" | "diy" | "automotive" | "animals" | "family" | "nonprofit" | "government" | "community" | "activism" | "environment" | "religion" | "other")[]>>;
|
|
145
|
+
character: z.ZodOptional<z.ZodType<import("./avatarCharacter").AvatarCharacter, z.ZodTypeDef, unknown>>;
|
|
144
146
|
relationship: z.ZodOptional<z.ZodType<import("./userResponse").UserRelationship, z.ZodTypeDef, import("./userResponse").UserRelationship>>;
|
|
145
147
|
themePreference: z.ZodOptional<z.ZodType<import("./userResponse").ThemePreference, z.ZodTypeDef, import("./userResponse").ThemePreference>>;
|
|
146
148
|
personalization: z.ZodOptional<z.ZodObject<{
|
|
@@ -210,6 +212,7 @@ export declare const resolveExternalIdentityResponseSchema: z.ZodEffects<z.ZodOb
|
|
|
210
212
|
verifiedDomains: z.ZodOptional<z.ZodArray<z.ZodType<import("./identity").VerifiedDomain, z.ZodTypeDef, import("./identity").VerifiedDomain>, "many">>;
|
|
211
213
|
kind: z.ZodOptional<z.ZodEnum<["personal", "organization", "project", "bot", "channel"]>>;
|
|
212
214
|
accountCategories: z.ZodOptional<z.ZodEffects<z.ZodArray<z.ZodEnum<["news", "politics", "business", "startup", "finance", "crypto", "marketplace", "retail", "real_estate", "agency", "landlord", "cooperative", "architecture", "technology", "software", "ai", "security", "automation", "science", "education", "books", "health", "fitness", "sports", "gaming", "music", "film", "podcast", "art", "photography", "comedy", "food", "travel", "fashion", "home_garden", "diy", "automotive", "animals", "family", "nonprofit", "government", "community", "activism", "environment", "religion", "other"]>, "many">, ("security" | "news" | "politics" | "business" | "startup" | "finance" | "crypto" | "marketplace" | "retail" | "real_estate" | "agency" | "landlord" | "cooperative" | "architecture" | "technology" | "software" | "ai" | "automation" | "science" | "education" | "books" | "health" | "fitness" | "sports" | "gaming" | "music" | "film" | "podcast" | "art" | "photography" | "comedy" | "food" | "travel" | "fashion" | "home_garden" | "diy" | "automotive" | "animals" | "family" | "nonprofit" | "government" | "community" | "activism" | "environment" | "religion" | "other")[], ("security" | "news" | "politics" | "business" | "startup" | "finance" | "crypto" | "marketplace" | "retail" | "real_estate" | "agency" | "landlord" | "cooperative" | "architecture" | "technology" | "software" | "ai" | "automation" | "science" | "education" | "books" | "health" | "fitness" | "sports" | "gaming" | "music" | "film" | "podcast" | "art" | "photography" | "comedy" | "food" | "travel" | "fashion" | "home_garden" | "diy" | "automotive" | "animals" | "family" | "nonprofit" | "government" | "community" | "activism" | "environment" | "religion" | "other")[]>>;
|
|
215
|
+
character: z.ZodOptional<z.ZodType<import("./avatarCharacter").AvatarCharacter, z.ZodTypeDef, unknown>>;
|
|
213
216
|
relationship: z.ZodOptional<z.ZodType<import("./userResponse").UserRelationship, z.ZodTypeDef, import("./userResponse").UserRelationship>>;
|
|
214
217
|
themePreference: z.ZodOptional<z.ZodType<import("./userResponse").ThemePreference, z.ZodTypeDef, import("./userResponse").ThemePreference>>;
|
|
215
218
|
personalization: z.ZodOptional<z.ZodObject<{
|
|
@@ -326,11 +329,12 @@ export declare const resolveExternalIdentityResponseSchema: z.ZodEffects<z.ZodOb
|
|
|
326
329
|
}[];
|
|
327
330
|
redirectedUserIds: string[];
|
|
328
331
|
email?: string | undefined;
|
|
332
|
+
color?: string | null | undefined;
|
|
329
333
|
kind?: "bot" | "personal" | "organization" | "project" | "channel" | undefined;
|
|
330
334
|
bio?: string | undefined;
|
|
331
335
|
avatar?: string | null | undefined;
|
|
332
|
-
color?: string | null | undefined;
|
|
333
336
|
accountCategories?: ("security" | "news" | "politics" | "business" | "startup" | "finance" | "crypto" | "marketplace" | "retail" | "real_estate" | "agency" | "landlord" | "cooperative" | "architecture" | "technology" | "software" | "ai" | "automation" | "science" | "education" | "books" | "health" | "fitness" | "sports" | "gaming" | "music" | "film" | "podcast" | "art" | "photography" | "comedy" | "food" | "travel" | "fashion" | "home_garden" | "diy" | "automotive" | "animals" | "family" | "nonprofit" | "government" | "community" | "activism" | "environment" | "religion" | "other")[] | undefined;
|
|
337
|
+
character?: import("./avatarCharacter").AvatarCharacter | undefined;
|
|
334
338
|
publicKey?: string | undefined;
|
|
335
339
|
verified?: boolean | undefined;
|
|
336
340
|
did?: string | undefined;
|
|
@@ -386,11 +390,12 @@ export declare const resolveExternalIdentityResponseSchema: z.ZodEffects<z.ZodOb
|
|
|
386
390
|
}[];
|
|
387
391
|
redirectedUserIds: string[];
|
|
388
392
|
email?: string | undefined;
|
|
393
|
+
color?: string | null | undefined;
|
|
389
394
|
kind?: "bot" | "personal" | "organization" | "project" | "channel" | undefined;
|
|
390
395
|
bio?: string | undefined;
|
|
391
396
|
avatar?: string | null | undefined;
|
|
392
|
-
color?: string | null | undefined;
|
|
393
397
|
accountCategories?: ("security" | "news" | "politics" | "business" | "startup" | "finance" | "crypto" | "marketplace" | "retail" | "real_estate" | "agency" | "landlord" | "cooperative" | "architecture" | "technology" | "software" | "ai" | "automation" | "science" | "education" | "books" | "health" | "fitness" | "sports" | "gaming" | "music" | "film" | "podcast" | "art" | "photography" | "comedy" | "food" | "travel" | "fashion" | "home_garden" | "diy" | "automotive" | "animals" | "family" | "nonprofit" | "government" | "community" | "activism" | "environment" | "religion" | "other")[] | undefined;
|
|
398
|
+
character?: unknown;
|
|
394
399
|
publicKey?: string | undefined;
|
|
395
400
|
verified?: boolean | undefined;
|
|
396
401
|
did?: string | undefined;
|
|
@@ -446,11 +451,12 @@ export declare const resolveExternalIdentityResponseSchema: z.ZodEffects<z.ZodOb
|
|
|
446
451
|
}[];
|
|
447
452
|
redirectedUserIds: string[];
|
|
448
453
|
email?: string | undefined;
|
|
454
|
+
color?: string | null | undefined;
|
|
449
455
|
kind?: "bot" | "personal" | "organization" | "project" | "channel" | undefined;
|
|
450
456
|
bio?: string | undefined;
|
|
451
457
|
avatar?: string | null | undefined;
|
|
452
|
-
color?: string | null | undefined;
|
|
453
458
|
accountCategories?: ("security" | "news" | "politics" | "business" | "startup" | "finance" | "crypto" | "marketplace" | "retail" | "real_estate" | "agency" | "landlord" | "cooperative" | "architecture" | "technology" | "software" | "ai" | "automation" | "science" | "education" | "books" | "health" | "fitness" | "sports" | "gaming" | "music" | "film" | "podcast" | "art" | "photography" | "comedy" | "food" | "travel" | "fashion" | "home_garden" | "diy" | "automotive" | "animals" | "family" | "nonprofit" | "government" | "community" | "activism" | "environment" | "religion" | "other")[] | undefined;
|
|
459
|
+
character?: import("./avatarCharacter").AvatarCharacter | undefined;
|
|
454
460
|
publicKey?: string | undefined;
|
|
455
461
|
verified?: boolean | undefined;
|
|
456
462
|
did?: string | undefined;
|
|
@@ -506,11 +512,12 @@ export declare const resolveExternalIdentityResponseSchema: z.ZodEffects<z.ZodOb
|
|
|
506
512
|
}[];
|
|
507
513
|
redirectedUserIds: string[];
|
|
508
514
|
email?: string | undefined;
|
|
515
|
+
color?: string | null | undefined;
|
|
509
516
|
kind?: "bot" | "personal" | "organization" | "project" | "channel" | undefined;
|
|
510
517
|
bio?: string | undefined;
|
|
511
518
|
avatar?: string | null | undefined;
|
|
512
|
-
color?: string | null | undefined;
|
|
513
519
|
accountCategories?: ("security" | "news" | "politics" | "business" | "startup" | "finance" | "crypto" | "marketplace" | "retail" | "real_estate" | "agency" | "landlord" | "cooperative" | "architecture" | "technology" | "software" | "ai" | "automation" | "science" | "education" | "books" | "health" | "fitness" | "sports" | "gaming" | "music" | "film" | "podcast" | "art" | "photography" | "comedy" | "food" | "travel" | "fashion" | "home_garden" | "diy" | "automotive" | "animals" | "family" | "nonprofit" | "government" | "community" | "activism" | "environment" | "religion" | "other")[] | undefined;
|
|
520
|
+
character?: unknown;
|
|
514
521
|
publicKey?: string | undefined;
|
|
515
522
|
verified?: boolean | undefined;
|
|
516
523
|
did?: string | undefined;
|
package/dist/types/index.d.ts
CHANGED
|
@@ -11,6 +11,8 @@
|
|
|
11
11
|
*/
|
|
12
12
|
export { ACCOUNT_KINDS, accountKindSchema, CHILD_ACCOUNT_KINDS, childAccountKindSchema, isAccountKind, isDelegatedActAsEligibleKind, isOperatorSwitchTargetKind, ACCOUNT_CATEGORY_IDS, ACCOUNT_CATEGORY_KINDS, accountCategoriesSchema, accountCategoryIdSchema, isSelectableAccountCategoryId, kindAcceptsAccountCategories, MAX_ACCOUNT_CATEGORIES, newlyAddedRetiredCategories, RETIRED_ACCOUNT_CATEGORY_IDS, SELECTABLE_ACCOUNT_CATEGORY_IDS, createAccountRequestSchema, } from './accountGraph';
|
|
13
13
|
export type { AccountKind, AccountCategoryId, AccountCategoryKind, ChildAccountKind, CreateAccountRequest, } from './accountGraph';
|
|
14
|
+
export { AVATAR_EYE_SPACING, AVATAR_PICKABLE_COLORS, AVATAR_PICKABLE_SHAPES, avatarCharacterFor, avatarCharacterSchema, parseAvatarCharacter, } from './avatarCharacter';
|
|
15
|
+
export type { AvatarCharacter } from './avatarCharacter';
|
|
14
16
|
export { ACCOUNT_ACTOR_NATURES, ACCOUNT_SUBJECT_CONTRACT_VERSION, FINANCIAL_EFFECT_DIRECTIONS, KIND_INDEPENDENT_ACCOUNT_DIMENSIONS, accountActorChainFromSession, accountActorChainSchema, accountActorNatureSchema, accountKindActorNature, accountKindActsAsItself, attributeFinancialEffect, financialEffectAttributionSchema, } from './accountSubject';
|
|
15
17
|
export type { AccountActorChain, AccountActorNature, FinancialEffectAttribution, FinancialEffectDirection, KindIndependentAccountDimension, } from './accountSubject';
|
|
16
18
|
export { usernameSchema, usernameSchemaForAccountKind, isValidUsername, stripDisallowedUsernameCharacters, applyBotUsernameSuffix, USERNAME_MIN_LENGTH, USERNAME_MAX_LENGTH, USERNAME_INVALID_MESSAGE, BOT_USERNAME_INVALID_MESSAGE, RESERVED_USERNAME_MESSAGE, NUMERIC_USERNAME_MESSAGE, } from './username';
|
|
@@ -64,8 +66,8 @@ export type { EmailVerificationPurpose, EmailVerificationStartRequest, EmailVeri
|
|
|
64
66
|
export { transparencyCheckpointSignatureSchema, transparencyAnchorSchema, transparencyCheckpointSchema, transparencyInclusionProofSchema, transparencyCheckpointListSchema, } from './transparency';
|
|
65
67
|
export type { TransparencyCheckpointSignature, TransparencyAnchor, TransparencyCheckpoint, TransparencyInclusionProof, TransparencyCheckpointList, } from './transparency';
|
|
66
68
|
export { INFERENCE_CONTRACT_VERSION, } from './inference/version';
|
|
67
|
-
export { oxyAccountIdSchema, delegatedUserIdSchema, oxyApplicationIdSchema, oxyCredentialIdSchema, requestIdSchema, generationIdSchema, idempotencyKeySchema, inferenceEnvironmentSchema, inferenceTimestampSchema, inferenceDateSchema, inferenceHttpsUrlSchema, sha256DigestSchema, publisherSlugSchema, modelSlugSchema, modelIdSchema, modelRevisionLabelSchema, modelReferenceSchema, routingProfileIdSchema, routingProfileSlugSchema, inferenceProviderSlugSchema, deploymentIdSchema, inferenceRegionSchema, RESERVED_ALIA_PUBLISHER, } from './inference/identifiers';
|
|
68
|
-
export type { OxyAccountId, DelegatedUserId, InferenceEnvironment, ModelReference, ModelId, } from './inference/identifiers';
|
|
69
|
+
export { oxyAccountIdSchema, delegatedUserIdSchema, oxyApplicationIdSchema, oxyCredentialIdSchema, requestIdSchema, generationIdSchema, idempotencyKeySchema, inferenceEnvironmentSchema, inferenceTimestampSchema, inferenceDateSchema, inferenceHttpsUrlSchema, sha256DigestSchema, publisherSlugSchema, modelSlugSchema, modelIdSchema, modelRevisionLabelSchema, modelReferenceSchema, routingProfileIdSchema, routingProfileSlugSchema, inferenceProviderSlugSchema, deploymentIdSchema, inferenceRegionSchema, inferenceFundingTierSchema, RESERVED_ALIA_PUBLISHER, } from './inference/identifiers';
|
|
70
|
+
export type { OxyAccountId, DelegatedUserId, InferenceEnvironment, InferenceFundingTier, ModelReference, ModelId, } from './inference/identifiers';
|
|
69
71
|
export { currencyCodeSchema, INFERENCE_MONEY_SCALE, exactDecimalSchema, moneySchema, USAGE_UNITS, usageUnitSchema, USAGE_SOURCES, usageSourceSchema, usageQuantitySchema, unitPriceSchema, } from './inference/money';
|
|
70
72
|
export type { CurrencyCode, ExactDecimal, Money, UsageUnit, UsageSource, UsageQuantity, UnitPrice, } from './inference/money';
|
|
71
73
|
export { INFERENCE_SCOPES, inferenceScopeSchema, billingPrincipalSchema, authenticatedPrincipalSchema, inferenceAttributionSchema, } from './inference/attribution';
|
|
@@ -322,7 +322,7 @@ export declare const billingInvoiceSchema: z.ZodObject<{
|
|
|
322
322
|
paidAt: z.ZodOptional<z.ZodString>;
|
|
323
323
|
receiptCount: z.ZodNumber;
|
|
324
324
|
}, "strict", z.ZodTypeAny, {
|
|
325
|
-
status: "void" | "
|
|
325
|
+
status: "void" | "paid" | "draft" | "open";
|
|
326
326
|
schemaVersion: 1;
|
|
327
327
|
accountId: string & z.BRAND<"OxyAccountId">;
|
|
328
328
|
id: string;
|
|
@@ -337,7 +337,7 @@ export declare const billingInvoiceSchema: z.ZodObject<{
|
|
|
337
337
|
externalInvoiceRef?: string | undefined;
|
|
338
338
|
paidAt?: string | undefined;
|
|
339
339
|
}, {
|
|
340
|
-
status: "void" | "
|
|
340
|
+
status: "void" | "paid" | "draft" | "open";
|
|
341
341
|
schemaVersion: 1;
|
|
342
342
|
accountId: string;
|
|
343
343
|
id: string;
|
|
@@ -531,6 +531,7 @@ export declare const decisionResultSchema: z.ZodEffects<z.ZodEffects<z.ZodObject
|
|
|
531
531
|
servingProvider: z.ZodString;
|
|
532
532
|
deploymentId: z.ZodString;
|
|
533
533
|
routeSwitches: z.ZodNumber;
|
|
534
|
+
fundingTier: z.ZodOptional<z.ZodEnum<["free", "credit", "paid"]>>;
|
|
534
535
|
startedAt: z.ZodString;
|
|
535
536
|
completedAt: z.ZodString;
|
|
536
537
|
timeToFirstTokenMs: z.ZodOptional<z.ZodNumber>;
|
|
@@ -564,6 +565,7 @@ export declare const decisionResultSchema: z.ZodEffects<z.ZodEffects<z.ZodObject
|
|
|
564
565
|
routeSwitches: number;
|
|
565
566
|
startedAt: string;
|
|
566
567
|
generationId?: string | undefined;
|
|
568
|
+
fundingTier?: "free" | "credit" | "paid" | undefined;
|
|
567
569
|
timeToFirstTokenMs?: number | undefined;
|
|
568
570
|
}, {
|
|
569
571
|
schemaVersion: 2;
|
|
@@ -595,6 +597,7 @@ export declare const decisionResultSchema: z.ZodEffects<z.ZodEffects<z.ZodObject
|
|
|
595
597
|
routeSwitches: number;
|
|
596
598
|
startedAt: string;
|
|
597
599
|
generationId?: string | undefined;
|
|
600
|
+
fundingTier?: "free" | "credit" | "paid" | undefined;
|
|
598
601
|
timeToFirstTokenMs?: number | undefined;
|
|
599
602
|
}>, {
|
|
600
603
|
schemaVersion: 2;
|
|
@@ -626,6 +629,7 @@ export declare const decisionResultSchema: z.ZodEffects<z.ZodEffects<z.ZodObject
|
|
|
626
629
|
routeSwitches: number;
|
|
627
630
|
startedAt: string;
|
|
628
631
|
generationId?: string | undefined;
|
|
632
|
+
fundingTier?: "free" | "credit" | "paid" | undefined;
|
|
629
633
|
timeToFirstTokenMs?: number | undefined;
|
|
630
634
|
}, {
|
|
631
635
|
schemaVersion: 2;
|
|
@@ -657,6 +661,7 @@ export declare const decisionResultSchema: z.ZodEffects<z.ZodEffects<z.ZodObject
|
|
|
657
661
|
routeSwitches: number;
|
|
658
662
|
startedAt: string;
|
|
659
663
|
generationId?: string | undefined;
|
|
664
|
+
fundingTier?: "free" | "credit" | "paid" | undefined;
|
|
660
665
|
timeToFirstTokenMs?: number | undefined;
|
|
661
666
|
}>;
|
|
662
667
|
schemaVersion: z.ZodLiteral<1>;
|
|
@@ -803,6 +808,7 @@ export declare const decisionResultSchema: z.ZodEffects<z.ZodEffects<z.ZodObject
|
|
|
803
808
|
routeSwitches: number;
|
|
804
809
|
startedAt: string;
|
|
805
810
|
generationId?: string | undefined;
|
|
811
|
+
fundingTier?: "free" | "credit" | "paid" | undefined;
|
|
806
812
|
timeToFirstTokenMs?: number | undefined;
|
|
807
813
|
};
|
|
808
814
|
}, {
|
|
@@ -857,6 +863,7 @@ export declare const decisionResultSchema: z.ZodEffects<z.ZodEffects<z.ZodObject
|
|
|
857
863
|
routeSwitches: number;
|
|
858
864
|
startedAt: string;
|
|
859
865
|
generationId?: string | undefined;
|
|
866
|
+
fundingTier?: "free" | "credit" | "paid" | undefined;
|
|
860
867
|
timeToFirstTokenMs?: number | undefined;
|
|
861
868
|
};
|
|
862
869
|
}>, {
|
|
@@ -911,6 +918,7 @@ export declare const decisionResultSchema: z.ZodEffects<z.ZodEffects<z.ZodObject
|
|
|
911
918
|
routeSwitches: number;
|
|
912
919
|
startedAt: string;
|
|
913
920
|
generationId?: string | undefined;
|
|
921
|
+
fundingTier?: "free" | "credit" | "paid" | undefined;
|
|
914
922
|
timeToFirstTokenMs?: number | undefined;
|
|
915
923
|
};
|
|
916
924
|
}, {
|
|
@@ -965,6 +973,7 @@ export declare const decisionResultSchema: z.ZodEffects<z.ZodEffects<z.ZodObject
|
|
|
965
973
|
routeSwitches: number;
|
|
966
974
|
startedAt: string;
|
|
967
975
|
generationId?: string | undefined;
|
|
976
|
+
fundingTier?: "free" | "credit" | "paid" | undefined;
|
|
968
977
|
timeToFirstTokenMs?: number | undefined;
|
|
969
978
|
};
|
|
970
979
|
}>, {
|
|
@@ -1019,6 +1028,7 @@ export declare const decisionResultSchema: z.ZodEffects<z.ZodEffects<z.ZodObject
|
|
|
1019
1028
|
routeSwitches: number;
|
|
1020
1029
|
startedAt: string;
|
|
1021
1030
|
generationId?: string | undefined;
|
|
1031
|
+
fundingTier?: "free" | "credit" | "paid" | undefined;
|
|
1022
1032
|
timeToFirstTokenMs?: number | undefined;
|
|
1023
1033
|
};
|
|
1024
1034
|
}, {
|
|
@@ -1073,6 +1083,7 @@ export declare const decisionResultSchema: z.ZodEffects<z.ZodEffects<z.ZodObject
|
|
|
1073
1083
|
routeSwitches: number;
|
|
1074
1084
|
startedAt: string;
|
|
1075
1085
|
generationId?: string | undefined;
|
|
1086
|
+
fundingTier?: "free" | "credit" | "paid" | undefined;
|
|
1076
1087
|
timeToFirstTokenMs?: number | undefined;
|
|
1077
1088
|
};
|
|
1078
1089
|
}>;
|
|
@@ -1250,6 +1261,7 @@ export declare const decisionFailureSchema: z.ZodEffects<z.ZodObject<{
|
|
|
1250
1261
|
servingProvider: z.ZodString;
|
|
1251
1262
|
deploymentId: z.ZodString;
|
|
1252
1263
|
routeSwitches: z.ZodNumber;
|
|
1264
|
+
fundingTier: z.ZodOptional<z.ZodEnum<["free", "credit", "paid"]>>;
|
|
1253
1265
|
startedAt: z.ZodString;
|
|
1254
1266
|
completedAt: z.ZodString;
|
|
1255
1267
|
timeToFirstTokenMs: z.ZodOptional<z.ZodNumber>;
|
|
@@ -1283,6 +1295,7 @@ export declare const decisionFailureSchema: z.ZodEffects<z.ZodObject<{
|
|
|
1283
1295
|
routeSwitches: number;
|
|
1284
1296
|
startedAt: string;
|
|
1285
1297
|
generationId?: string | undefined;
|
|
1298
|
+
fundingTier?: "free" | "credit" | "paid" | undefined;
|
|
1286
1299
|
timeToFirstTokenMs?: number | undefined;
|
|
1287
1300
|
}, {
|
|
1288
1301
|
schemaVersion: 2;
|
|
@@ -1314,6 +1327,7 @@ export declare const decisionFailureSchema: z.ZodEffects<z.ZodObject<{
|
|
|
1314
1327
|
routeSwitches: number;
|
|
1315
1328
|
startedAt: string;
|
|
1316
1329
|
generationId?: string | undefined;
|
|
1330
|
+
fundingTier?: "free" | "credit" | "paid" | undefined;
|
|
1317
1331
|
timeToFirstTokenMs?: number | undefined;
|
|
1318
1332
|
}>, {
|
|
1319
1333
|
schemaVersion: 2;
|
|
@@ -1345,6 +1359,7 @@ export declare const decisionFailureSchema: z.ZodEffects<z.ZodObject<{
|
|
|
1345
1359
|
routeSwitches: number;
|
|
1346
1360
|
startedAt: string;
|
|
1347
1361
|
generationId?: string | undefined;
|
|
1362
|
+
fundingTier?: "free" | "credit" | "paid" | undefined;
|
|
1348
1363
|
timeToFirstTokenMs?: number | undefined;
|
|
1349
1364
|
}, {
|
|
1350
1365
|
schemaVersion: 2;
|
|
@@ -1376,6 +1391,7 @@ export declare const decisionFailureSchema: z.ZodEffects<z.ZodObject<{
|
|
|
1376
1391
|
routeSwitches: number;
|
|
1377
1392
|
startedAt: string;
|
|
1378
1393
|
generationId?: string | undefined;
|
|
1394
|
+
fundingTier?: "free" | "credit" | "paid" | undefined;
|
|
1379
1395
|
timeToFirstTokenMs?: number | undefined;
|
|
1380
1396
|
}>>;
|
|
1381
1397
|
}, "strict", z.ZodTypeAny, {
|
|
@@ -1427,6 +1443,7 @@ export declare const decisionFailureSchema: z.ZodEffects<z.ZodObject<{
|
|
|
1427
1443
|
routeSwitches: number;
|
|
1428
1444
|
startedAt: string;
|
|
1429
1445
|
generationId?: string | undefined;
|
|
1446
|
+
fundingTier?: "free" | "credit" | "paid" | undefined;
|
|
1430
1447
|
timeToFirstTokenMs?: number | undefined;
|
|
1431
1448
|
} | undefined;
|
|
1432
1449
|
}, {
|
|
@@ -1478,6 +1495,7 @@ export declare const decisionFailureSchema: z.ZodEffects<z.ZodObject<{
|
|
|
1478
1495
|
routeSwitches: number;
|
|
1479
1496
|
startedAt: string;
|
|
1480
1497
|
generationId?: string | undefined;
|
|
1498
|
+
fundingTier?: "free" | "credit" | "paid" | undefined;
|
|
1481
1499
|
timeToFirstTokenMs?: number | undefined;
|
|
1482
1500
|
} | undefined;
|
|
1483
1501
|
}>, {
|
|
@@ -1529,6 +1547,7 @@ export declare const decisionFailureSchema: z.ZodEffects<z.ZodObject<{
|
|
|
1529
1547
|
routeSwitches: number;
|
|
1530
1548
|
startedAt: string;
|
|
1531
1549
|
generationId?: string | undefined;
|
|
1550
|
+
fundingTier?: "free" | "credit" | "paid" | undefined;
|
|
1532
1551
|
timeToFirstTokenMs?: number | undefined;
|
|
1533
1552
|
} | undefined;
|
|
1534
1553
|
}, {
|
|
@@ -1580,6 +1599,7 @@ export declare const decisionFailureSchema: z.ZodEffects<z.ZodObject<{
|
|
|
1580
1599
|
routeSwitches: number;
|
|
1581
1600
|
startedAt: string;
|
|
1582
1601
|
generationId?: string | undefined;
|
|
1602
|
+
fundingTier?: "free" | "credit" | "paid" | undefined;
|
|
1583
1603
|
timeToFirstTokenMs?: number | undefined;
|
|
1584
1604
|
} | undefined;
|
|
1585
1605
|
}>;
|
|
@@ -182,3 +182,17 @@ export type DelegatedUserId = z.infer<typeof delegatedUserIdSchema>;
|
|
|
182
182
|
export type InferenceEnvironment = z.infer<typeof inferenceEnvironmentSchema>;
|
|
183
183
|
export type ModelReference = z.infer<typeof modelReferenceSchema>;
|
|
184
184
|
export type ModelId = z.infer<typeof modelIdSchema>;
|
|
185
|
+
/**
|
|
186
|
+
* The economic tier of the provider capacity that funds a request, in the
|
|
187
|
+
* order Kaana spends it: `free` (costs nothing), `credit` (a promotional or
|
|
188
|
+
* trial grant, or a prepaid balance), `paid` (ordinary metered spend).
|
|
189
|
+
*
|
|
190
|
+
* Kaana owns provider keys, their economics and which key serves (Oxy ADR
|
|
191
|
+
* 0038, Kaana ADR 0001); Oxy owns what a customer may spend. The tier is the
|
|
192
|
+
* one economic fact the two exchange: Oxy BOUNDS a route by it
|
|
193
|
+
* (`maxFundingTier`), and Kaana REPORTS the tier that served
|
|
194
|
+
* (`normalizedUsageReportSchema.fundingTier`). No key id, label or price
|
|
195
|
+
* travels with it.
|
|
196
|
+
*/
|
|
197
|
+
export declare const inferenceFundingTierSchema: z.ZodEnum<["free", "credit", "paid"]>;
|
|
198
|
+
export type InferenceFundingTier = z.infer<typeof inferenceFundingTierSchema>;
|
|
@@ -970,6 +970,7 @@ export declare const realtimeSessionRequestSchema: z.ZodEffects<z.ZodObject<{
|
|
|
970
970
|
modelReference: z.ZodString;
|
|
971
971
|
provider: z.ZodString;
|
|
972
972
|
regions: z.ZodArray<z.ZodString, "many">;
|
|
973
|
+
maxFundingTier: z.ZodOptional<z.ZodEnum<["free", "credit", "paid"]>>;
|
|
973
974
|
customerProviderCredential: z.ZodOptional<z.ZodObject<{
|
|
974
975
|
credentialHandle: z.ZodString;
|
|
975
976
|
credentialRevision: z.ZodNumber;
|
|
@@ -996,6 +997,7 @@ export declare const realtimeSessionRequestSchema: z.ZodEffects<z.ZodObject<{
|
|
|
996
997
|
deploymentId: string;
|
|
997
998
|
regions: string[];
|
|
998
999
|
substitution: "same_model";
|
|
1000
|
+
maxFundingTier?: "free" | "credit" | "paid" | undefined;
|
|
999
1001
|
customerProviderCredential?: {
|
|
1000
1002
|
environment: "development" | "staging" | "production";
|
|
1001
1003
|
ownerAccountId: string & z.BRAND<"OxyAccountId">;
|
|
@@ -1009,6 +1011,7 @@ export declare const realtimeSessionRequestSchema: z.ZodEffects<z.ZodObject<{
|
|
|
1009
1011
|
deploymentId: string;
|
|
1010
1012
|
regions: string[];
|
|
1011
1013
|
substitution: "same_model";
|
|
1014
|
+
maxFundingTier?: "free" | "credit" | "paid" | undefined;
|
|
1012
1015
|
customerProviderCredential?: {
|
|
1013
1016
|
environment: "development" | "staging" | "production";
|
|
1014
1017
|
ownerAccountId: string;
|
|
@@ -1022,6 +1025,7 @@ export declare const realtimeSessionRequestSchema: z.ZodEffects<z.ZodObject<{
|
|
|
1022
1025
|
modelReference: z.ZodString;
|
|
1023
1026
|
provider: z.ZodString;
|
|
1024
1027
|
regions: z.ZodArray<z.ZodString, "many">;
|
|
1028
|
+
maxFundingTier: z.ZodOptional<z.ZodEnum<["free", "credit", "paid"]>>;
|
|
1025
1029
|
customerProviderCredential: z.ZodOptional<z.ZodObject<{
|
|
1026
1030
|
credentialHandle: z.ZodString;
|
|
1027
1031
|
credentialRevision: z.ZodNumber;
|
|
@@ -1049,6 +1053,7 @@ export declare const realtimeSessionRequestSchema: z.ZodEffects<z.ZodObject<{
|
|
|
1049
1053
|
regions: string[];
|
|
1050
1054
|
substitution: "cross_model";
|
|
1051
1055
|
authorizedByPolicy: true;
|
|
1056
|
+
maxFundingTier?: "free" | "credit" | "paid" | undefined;
|
|
1052
1057
|
customerProviderCredential?: {
|
|
1053
1058
|
environment: "development" | "staging" | "production";
|
|
1054
1059
|
ownerAccountId: string & z.BRAND<"OxyAccountId">;
|
|
@@ -1063,6 +1068,7 @@ export declare const realtimeSessionRequestSchema: z.ZodEffects<z.ZodObject<{
|
|
|
1063
1068
|
regions: string[];
|
|
1064
1069
|
substitution: "cross_model";
|
|
1065
1070
|
authorizedByPolicy: true;
|
|
1071
|
+
maxFundingTier?: "free" | "credit" | "paid" | undefined;
|
|
1066
1072
|
customerProviderCredential?: {
|
|
1067
1073
|
environment: "development" | "staging" | "production";
|
|
1068
1074
|
ownerAccountId: string;
|
|
@@ -1076,6 +1082,7 @@ export declare const realtimeSessionRequestSchema: z.ZodEffects<z.ZodObject<{
|
|
|
1076
1082
|
deploymentId: string;
|
|
1077
1083
|
regions: string[];
|
|
1078
1084
|
substitution: "same_model";
|
|
1085
|
+
maxFundingTier?: "free" | "credit" | "paid" | undefined;
|
|
1079
1086
|
customerProviderCredential?: {
|
|
1080
1087
|
environment: "development" | "staging" | "production";
|
|
1081
1088
|
ownerAccountId: string & z.BRAND<"OxyAccountId">;
|
|
@@ -1090,6 +1097,7 @@ export declare const realtimeSessionRequestSchema: z.ZodEffects<z.ZodObject<{
|
|
|
1090
1097
|
regions: string[];
|
|
1091
1098
|
substitution: "cross_model";
|
|
1092
1099
|
authorizedByPolicy: true;
|
|
1100
|
+
maxFundingTier?: "free" | "credit" | "paid" | undefined;
|
|
1093
1101
|
customerProviderCredential?: {
|
|
1094
1102
|
environment: "development" | "staging" | "production";
|
|
1095
1103
|
ownerAccountId: string & z.BRAND<"OxyAccountId">;
|
|
@@ -1103,6 +1111,7 @@ export declare const realtimeSessionRequestSchema: z.ZodEffects<z.ZodObject<{
|
|
|
1103
1111
|
deploymentId: string;
|
|
1104
1112
|
regions: string[];
|
|
1105
1113
|
substitution: "same_model";
|
|
1114
|
+
maxFundingTier?: "free" | "credit" | "paid" | undefined;
|
|
1106
1115
|
customerProviderCredential?: {
|
|
1107
1116
|
environment: "development" | "staging" | "production";
|
|
1108
1117
|
ownerAccountId: string;
|
|
@@ -1117,6 +1126,7 @@ export declare const realtimeSessionRequestSchema: z.ZodEffects<z.ZodObject<{
|
|
|
1117
1126
|
regions: string[];
|
|
1118
1127
|
substitution: "cross_model";
|
|
1119
1128
|
authorizedByPolicy: true;
|
|
1129
|
+
maxFundingTier?: "free" | "credit" | "paid" | undefined;
|
|
1120
1130
|
customerProviderCredential?: {
|
|
1121
1131
|
environment: "development" | "staging" | "production";
|
|
1122
1132
|
ownerAccountId: string;
|
|
@@ -1166,6 +1176,7 @@ export declare const realtimeSessionRequestSchema: z.ZodEffects<z.ZodObject<{
|
|
|
1166
1176
|
deploymentId: string;
|
|
1167
1177
|
regions: string[];
|
|
1168
1178
|
substitution: "same_model";
|
|
1179
|
+
maxFundingTier?: "free" | "credit" | "paid" | undefined;
|
|
1169
1180
|
customerProviderCredential?: {
|
|
1170
1181
|
environment: "development" | "staging" | "production";
|
|
1171
1182
|
ownerAccountId: string & z.BRAND<"OxyAccountId">;
|
|
@@ -1180,6 +1191,7 @@ export declare const realtimeSessionRequestSchema: z.ZodEffects<z.ZodObject<{
|
|
|
1180
1191
|
regions: string[];
|
|
1181
1192
|
substitution: "cross_model";
|
|
1182
1193
|
authorizedByPolicy: true;
|
|
1194
|
+
maxFundingTier?: "free" | "credit" | "paid" | undefined;
|
|
1183
1195
|
customerProviderCredential?: {
|
|
1184
1196
|
environment: "development" | "staging" | "production";
|
|
1185
1197
|
ownerAccountId: string & z.BRAND<"OxyAccountId">;
|
|
@@ -1272,6 +1284,7 @@ export declare const realtimeSessionRequestSchema: z.ZodEffects<z.ZodObject<{
|
|
|
1272
1284
|
deploymentId: string;
|
|
1273
1285
|
regions: string[];
|
|
1274
1286
|
substitution: "same_model";
|
|
1287
|
+
maxFundingTier?: "free" | "credit" | "paid" | undefined;
|
|
1275
1288
|
customerProviderCredential?: {
|
|
1276
1289
|
environment: "development" | "staging" | "production";
|
|
1277
1290
|
ownerAccountId: string;
|
|
@@ -1286,6 +1299,7 @@ export declare const realtimeSessionRequestSchema: z.ZodEffects<z.ZodObject<{
|
|
|
1286
1299
|
regions: string[];
|
|
1287
1300
|
substitution: "cross_model";
|
|
1288
1301
|
authorizedByPolicy: true;
|
|
1302
|
+
maxFundingTier?: "free" | "credit" | "paid" | undefined;
|
|
1289
1303
|
customerProviderCredential?: {
|
|
1290
1304
|
environment: "development" | "staging" | "production";
|
|
1291
1305
|
ownerAccountId: string;
|
|
@@ -1378,6 +1392,7 @@ export declare const realtimeSessionRequestSchema: z.ZodEffects<z.ZodObject<{
|
|
|
1378
1392
|
deploymentId: string;
|
|
1379
1393
|
regions: string[];
|
|
1380
1394
|
substitution: "same_model";
|
|
1395
|
+
maxFundingTier?: "free" | "credit" | "paid" | undefined;
|
|
1381
1396
|
customerProviderCredential?: {
|
|
1382
1397
|
environment: "development" | "staging" | "production";
|
|
1383
1398
|
ownerAccountId: string & z.BRAND<"OxyAccountId">;
|
|
@@ -1392,6 +1407,7 @@ export declare const realtimeSessionRequestSchema: z.ZodEffects<z.ZodObject<{
|
|
|
1392
1407
|
regions: string[];
|
|
1393
1408
|
substitution: "cross_model";
|
|
1394
1409
|
authorizedByPolicy: true;
|
|
1410
|
+
maxFundingTier?: "free" | "credit" | "paid" | undefined;
|
|
1395
1411
|
customerProviderCredential?: {
|
|
1396
1412
|
environment: "development" | "staging" | "production";
|
|
1397
1413
|
ownerAccountId: string & z.BRAND<"OxyAccountId">;
|
|
@@ -1484,6 +1500,7 @@ export declare const realtimeSessionRequestSchema: z.ZodEffects<z.ZodObject<{
|
|
|
1484
1500
|
deploymentId: string;
|
|
1485
1501
|
regions: string[];
|
|
1486
1502
|
substitution: "same_model";
|
|
1503
|
+
maxFundingTier?: "free" | "credit" | "paid" | undefined;
|
|
1487
1504
|
customerProviderCredential?: {
|
|
1488
1505
|
environment: "development" | "staging" | "production";
|
|
1489
1506
|
ownerAccountId: string;
|
|
@@ -1498,6 +1515,7 @@ export declare const realtimeSessionRequestSchema: z.ZodEffects<z.ZodObject<{
|
|
|
1498
1515
|
regions: string[];
|
|
1499
1516
|
substitution: "cross_model";
|
|
1500
1517
|
authorizedByPolicy: true;
|
|
1518
|
+
maxFundingTier?: "free" | "credit" | "paid" | undefined;
|
|
1501
1519
|
customerProviderCredential?: {
|
|
1502
1520
|
environment: "development" | "staging" | "production";
|
|
1503
1521
|
ownerAccountId: string;
|