@oxy.so/contracts 4.21.0 → 4.22.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/client/contentClaims.js +139 -0
- package/dist/cjs/client/index.js +16 -1
- package/dist/cjs/contentClaims.js +246 -0
- package/dist/cjs/index.js +1 -0
- package/dist/esm/client/contentClaims.js +134 -0
- package/dist/esm/client/index.js +1 -0
- package/dist/esm/contentClaims.js +229 -0
- package/dist/esm/index.js +1 -0
- package/dist/types/client/contentClaims.d.ts +106 -0
- package/dist/types/client/index.d.ts +1 -0
- package/dist/types/client/safety.d.ts +1 -1
- package/dist/types/contentClaims.d.ts +383 -0
- package/dist/types/email/messages.d.ts +2 -2
- package/dist/types/externalIdentity.d.ts +12 -12
- package/dist/types/index.d.ts +1 -0
- package/dist/types/inference/aliaModelRelease.d.ts +8 -8
- package/dist/types/inference/catalogue.d.ts +4 -4
- package/dist/types/inference/inbox.d.ts +4 -4
- package/dist/types/inference/modelDocumentation.d.ts +16 -16
- package/dist/types/safety.d.ts +50 -50
- package/dist/types/sessionStatus.d.ts +4 -4
- package/dist/types/updates.d.ts +6 -6
- package/dist/types/userResponse.d.ts +6 -6
- package/package.json +1 -1
|
@@ -543,9 +543,9 @@ export declare const modelReleaseIngestionRequestSchema: z.ZodObject<{
|
|
|
543
543
|
}, "strip", z.ZodTypeAny, {
|
|
544
544
|
schemaVersion: 1;
|
|
545
545
|
revision: string;
|
|
546
|
+
reference: string;
|
|
546
547
|
modelId: string;
|
|
547
548
|
revisionId: string;
|
|
548
|
-
reference: string;
|
|
549
549
|
releasedAt: string;
|
|
550
550
|
evaluations: {
|
|
551
551
|
score: string;
|
|
@@ -566,9 +566,9 @@ export declare const modelReleaseIngestionRequestSchema: z.ZodObject<{
|
|
|
566
566
|
}, {
|
|
567
567
|
schemaVersion: 1;
|
|
568
568
|
revision: string;
|
|
569
|
+
reference: string;
|
|
569
570
|
modelId: string;
|
|
570
571
|
revisionId: string;
|
|
571
|
-
reference: string;
|
|
572
572
|
releasedAt: string;
|
|
573
573
|
retiredAt?: string | undefined;
|
|
574
574
|
artifactDigest?: string | undefined;
|
|
@@ -589,9 +589,9 @@ export declare const modelReleaseIngestionRequestSchema: z.ZodObject<{
|
|
|
589
589
|
}>, {
|
|
590
590
|
schemaVersion: 1;
|
|
591
591
|
revision: string;
|
|
592
|
+
reference: string;
|
|
592
593
|
modelId: string;
|
|
593
594
|
revisionId: string;
|
|
594
|
-
reference: string;
|
|
595
595
|
releasedAt: string;
|
|
596
596
|
evaluations: {
|
|
597
597
|
score: string;
|
|
@@ -612,9 +612,9 @@ export declare const modelReleaseIngestionRequestSchema: z.ZodObject<{
|
|
|
612
612
|
}, {
|
|
613
613
|
schemaVersion: 1;
|
|
614
614
|
revision: string;
|
|
615
|
+
reference: string;
|
|
615
616
|
modelId: string;
|
|
616
617
|
revisionId: string;
|
|
617
|
-
reference: string;
|
|
618
618
|
releasedAt: string;
|
|
619
619
|
retiredAt?: string | undefined;
|
|
620
620
|
artifactDigest?: string | undefined;
|
|
@@ -708,9 +708,9 @@ export declare const modelReleaseIngestionRequestSchema: z.ZodObject<{
|
|
|
708
708
|
revision: {
|
|
709
709
|
schemaVersion: 1;
|
|
710
710
|
revision: string;
|
|
711
|
+
reference: string;
|
|
711
712
|
modelId: string;
|
|
712
713
|
revisionId: string;
|
|
713
|
-
reference: string;
|
|
714
714
|
releasedAt: string;
|
|
715
715
|
evaluations: {
|
|
716
716
|
score: string;
|
|
@@ -762,9 +762,9 @@ export declare const modelReleaseIngestionRequestSchema: z.ZodObject<{
|
|
|
762
762
|
revision: {
|
|
763
763
|
schemaVersion: 1;
|
|
764
764
|
revision: string;
|
|
765
|
+
reference: string;
|
|
765
766
|
modelId: string;
|
|
766
767
|
revisionId: string;
|
|
767
|
-
reference: string;
|
|
768
768
|
releasedAt: string;
|
|
769
769
|
retiredAt?: string | undefined;
|
|
770
770
|
artifactDigest?: string | undefined;
|
|
@@ -816,9 +816,9 @@ export declare const modelReleaseIngestionRequestSchema: z.ZodObject<{
|
|
|
816
816
|
revision: {
|
|
817
817
|
schemaVersion: 1;
|
|
818
818
|
revision: string;
|
|
819
|
+
reference: string;
|
|
819
820
|
modelId: string;
|
|
820
821
|
revisionId: string;
|
|
821
|
-
reference: string;
|
|
822
822
|
releasedAt: string;
|
|
823
823
|
evaluations: {
|
|
824
824
|
score: string;
|
|
@@ -870,9 +870,9 @@ export declare const modelReleaseIngestionRequestSchema: z.ZodObject<{
|
|
|
870
870
|
revision: {
|
|
871
871
|
schemaVersion: 1;
|
|
872
872
|
revision: string;
|
|
873
|
+
reference: string;
|
|
873
874
|
modelId: string;
|
|
874
875
|
revisionId: string;
|
|
875
|
-
reference: string;
|
|
876
876
|
releasedAt: string;
|
|
877
877
|
retiredAt?: string | undefined;
|
|
878
878
|
artifactDigest?: string | undefined;
|
|
@@ -1201,9 +1201,9 @@ export declare const modelReleaseIngestionRequestSchema: z.ZodObject<{
|
|
|
1201
1201
|
revision: {
|
|
1202
1202
|
schemaVersion: 1;
|
|
1203
1203
|
revision: string;
|
|
1204
|
+
reference: string;
|
|
1204
1205
|
modelId: string;
|
|
1205
1206
|
revisionId: string;
|
|
1206
|
-
reference: string;
|
|
1207
1207
|
releasedAt: string;
|
|
1208
1208
|
evaluations: {
|
|
1209
1209
|
score: string;
|
|
@@ -1297,9 +1297,9 @@ export declare const modelReleaseIngestionRequestSchema: z.ZodObject<{
|
|
|
1297
1297
|
revision: {
|
|
1298
1298
|
schemaVersion: 1;
|
|
1299
1299
|
revision: string;
|
|
1300
|
+
reference: string;
|
|
1300
1301
|
modelId: string;
|
|
1301
1302
|
revisionId: string;
|
|
1302
|
-
reference: string;
|
|
1303
1303
|
releasedAt: string;
|
|
1304
1304
|
retiredAt?: string | undefined;
|
|
1305
1305
|
artifactDigest?: string | undefined;
|
|
@@ -1389,8 +1389,8 @@ export declare const modelReleaseIngestionResultSchema: z.ZodObject<{
|
|
|
1389
1389
|
schemaVersion: 1;
|
|
1390
1390
|
revision: string;
|
|
1391
1391
|
outcome: "ingested" | "already_ingested";
|
|
1392
|
-
modelId: string;
|
|
1393
1392
|
reference: string;
|
|
1393
|
+
modelId: string;
|
|
1394
1394
|
releaseId: string;
|
|
1395
1395
|
artifactCount: number;
|
|
1396
1396
|
signatureCount: number;
|
|
@@ -1400,8 +1400,8 @@ export declare const modelReleaseIngestionResultSchema: z.ZodObject<{
|
|
|
1400
1400
|
schemaVersion: 1;
|
|
1401
1401
|
revision: string;
|
|
1402
1402
|
outcome: "ingested" | "already_ingested";
|
|
1403
|
-
modelId: string;
|
|
1404
1403
|
reference: string;
|
|
1404
|
+
modelId: string;
|
|
1405
1405
|
releaseId: string;
|
|
1406
1406
|
artifactCount: number;
|
|
1407
1407
|
signatureCount: number;
|
|
@@ -1567,6 +1567,7 @@ export declare const modelDocumentationSchema: z.ZodEffects<z.ZodObject<{
|
|
|
1567
1567
|
}, "strict", z.ZodTypeAny, {
|
|
1568
1568
|
schemaVersion: 1;
|
|
1569
1569
|
revision: string;
|
|
1570
|
+
reference: string;
|
|
1570
1571
|
modelId: string;
|
|
1571
1572
|
license: {
|
|
1572
1573
|
displayName: string;
|
|
@@ -1581,7 +1582,6 @@ export declare const modelDocumentationSchema: z.ZodEffects<z.ZodObject<{
|
|
|
1581
1582
|
baseModelId?: string | undefined;
|
|
1582
1583
|
trainingOrganization?: string | undefined;
|
|
1583
1584
|
};
|
|
1584
|
-
reference: string;
|
|
1585
1585
|
releasedAt: string;
|
|
1586
1586
|
evaluations: {
|
|
1587
1587
|
score: string;
|
|
@@ -1613,6 +1613,7 @@ export declare const modelDocumentationSchema: z.ZodEffects<z.ZodObject<{
|
|
|
1613
1613
|
}, {
|
|
1614
1614
|
schemaVersion: 1;
|
|
1615
1615
|
revision: string;
|
|
1616
|
+
reference: string;
|
|
1616
1617
|
modelId: string;
|
|
1617
1618
|
license: {
|
|
1618
1619
|
displayName: string;
|
|
@@ -1627,7 +1628,6 @@ export declare const modelDocumentationSchema: z.ZodEffects<z.ZodObject<{
|
|
|
1627
1628
|
baseModelId?: string | undefined;
|
|
1628
1629
|
trainingOrganization?: string | undefined;
|
|
1629
1630
|
};
|
|
1630
|
-
reference: string;
|
|
1631
1631
|
releasedAt: string;
|
|
1632
1632
|
isCurrentRevision: boolean;
|
|
1633
1633
|
retiredAt?: string | undefined;
|
|
@@ -1659,6 +1659,7 @@ export declare const modelDocumentationSchema: z.ZodEffects<z.ZodObject<{
|
|
|
1659
1659
|
}>, {
|
|
1660
1660
|
schemaVersion: 1;
|
|
1661
1661
|
revision: string;
|
|
1662
|
+
reference: string;
|
|
1662
1663
|
modelId: string;
|
|
1663
1664
|
license: {
|
|
1664
1665
|
displayName: string;
|
|
@@ -1673,7 +1674,6 @@ export declare const modelDocumentationSchema: z.ZodEffects<z.ZodObject<{
|
|
|
1673
1674
|
baseModelId?: string | undefined;
|
|
1674
1675
|
trainingOrganization?: string | undefined;
|
|
1675
1676
|
};
|
|
1676
|
-
reference: string;
|
|
1677
1677
|
releasedAt: string;
|
|
1678
1678
|
evaluations: {
|
|
1679
1679
|
score: string;
|
|
@@ -1705,6 +1705,7 @@ export declare const modelDocumentationSchema: z.ZodEffects<z.ZodObject<{
|
|
|
1705
1705
|
}, {
|
|
1706
1706
|
schemaVersion: 1;
|
|
1707
1707
|
revision: string;
|
|
1708
|
+
reference: string;
|
|
1708
1709
|
modelId: string;
|
|
1709
1710
|
license: {
|
|
1710
1711
|
displayName: string;
|
|
@@ -1719,7 +1720,6 @@ export declare const modelDocumentationSchema: z.ZodEffects<z.ZodObject<{
|
|
|
1719
1720
|
baseModelId?: string | undefined;
|
|
1720
1721
|
trainingOrganization?: string | undefined;
|
|
1721
1722
|
};
|
|
1722
|
-
reference: string;
|
|
1723
1723
|
releasedAt: string;
|
|
1724
1724
|
isCurrentRevision: boolean;
|
|
1725
1725
|
retiredAt?: string | undefined;
|
package/dist/types/safety.d.ts
CHANGED
|
@@ -15,11 +15,11 @@ export declare const profileAccessDecisionSchema: z.ZodObject<{
|
|
|
15
15
|
policyVersion: z.ZodLiteral<"1">;
|
|
16
16
|
}, "strict", z.ZodTypeAny, {
|
|
17
17
|
allowed: boolean;
|
|
18
|
-
reason: "owner" | "unavailable" | "
|
|
18
|
+
reason: "owner" | "unavailable" | "blocked" | "private" | "public";
|
|
19
19
|
policyVersion: "1";
|
|
20
20
|
}, {
|
|
21
21
|
allowed: boolean;
|
|
22
|
-
reason: "owner" | "unavailable" | "
|
|
22
|
+
reason: "owner" | "unavailable" | "blocked" | "private" | "public";
|
|
23
23
|
policyVersion: "1";
|
|
24
24
|
}>;
|
|
25
25
|
export type ProfileAccessInput = z.infer<typeof profileAccessInputSchema>;
|
|
@@ -33,11 +33,11 @@ export declare const safetyDecisionSchema: z.ZodObject<{
|
|
|
33
33
|
policyVersion: z.ZodLiteral<"2">;
|
|
34
34
|
}, "strict", z.ZodTypeAny, {
|
|
35
35
|
allowed: boolean;
|
|
36
|
-
reason: "owner" | "unavailable" | "allowed" | "
|
|
36
|
+
reason: "owner" | "unavailable" | "allowed" | "blocked" | "private" | "public" | "unsupported_consumer" | "contact_not_approved" | "mature_content" | "unrated_content" | "approval_required";
|
|
37
37
|
policyVersion: "2";
|
|
38
38
|
}, {
|
|
39
39
|
allowed: boolean;
|
|
40
|
-
reason: "owner" | "unavailable" | "allowed" | "
|
|
40
|
+
reason: "owner" | "unavailable" | "allowed" | "blocked" | "private" | "public" | "unsupported_consumer" | "contact_not_approved" | "mature_content" | "unrated_content" | "approval_required";
|
|
41
41
|
policyVersion: "2";
|
|
42
42
|
}>;
|
|
43
43
|
export type SafetyDecision = z.infer<typeof safetyDecisionSchema>;
|
|
@@ -57,24 +57,24 @@ export declare const profileAccessBatchResponseSchema: z.ZodObject<{
|
|
|
57
57
|
policyVersion: z.ZodLiteral<"2">;
|
|
58
58
|
}, "strict", z.ZodTypeAny, {
|
|
59
59
|
allowed: boolean;
|
|
60
|
-
reason: "owner" | "unavailable" | "allowed" | "
|
|
60
|
+
reason: "owner" | "unavailable" | "allowed" | "blocked" | "private" | "public" | "unsupported_consumer" | "contact_not_approved" | "mature_content" | "unrated_content" | "approval_required";
|
|
61
61
|
policyVersion: "2";
|
|
62
62
|
}, {
|
|
63
63
|
allowed: boolean;
|
|
64
|
-
reason: "owner" | "unavailable" | "allowed" | "
|
|
64
|
+
reason: "owner" | "unavailable" | "allowed" | "blocked" | "private" | "public" | "unsupported_consumer" | "contact_not_approved" | "mature_content" | "unrated_content" | "approval_required";
|
|
65
65
|
policyVersion: "2";
|
|
66
66
|
}>;
|
|
67
67
|
}, "strict", z.ZodTypeAny, {
|
|
68
68
|
decision: {
|
|
69
69
|
allowed: boolean;
|
|
70
|
-
reason: "owner" | "unavailable" | "allowed" | "
|
|
70
|
+
reason: "owner" | "unavailable" | "allowed" | "blocked" | "private" | "public" | "unsupported_consumer" | "contact_not_approved" | "mature_content" | "unrated_content" | "approval_required";
|
|
71
71
|
policyVersion: "2";
|
|
72
72
|
};
|
|
73
73
|
subjectAccountId: string;
|
|
74
74
|
}, {
|
|
75
75
|
decision: {
|
|
76
76
|
allowed: boolean;
|
|
77
|
-
reason: "owner" | "unavailable" | "allowed" | "
|
|
77
|
+
reason: "owner" | "unavailable" | "allowed" | "blocked" | "private" | "public" | "unsupported_consumer" | "contact_not_approved" | "mature_content" | "unrated_content" | "approval_required";
|
|
78
78
|
policyVersion: "2";
|
|
79
79
|
};
|
|
80
80
|
subjectAccountId: string;
|
|
@@ -83,7 +83,7 @@ export declare const profileAccessBatchResponseSchema: z.ZodObject<{
|
|
|
83
83
|
items: {
|
|
84
84
|
decision: {
|
|
85
85
|
allowed: boolean;
|
|
86
|
-
reason: "owner" | "unavailable" | "allowed" | "
|
|
86
|
+
reason: "owner" | "unavailable" | "allowed" | "blocked" | "private" | "public" | "unsupported_consumer" | "contact_not_approved" | "mature_content" | "unrated_content" | "approval_required";
|
|
87
87
|
policyVersion: "2";
|
|
88
88
|
};
|
|
89
89
|
subjectAccountId: string;
|
|
@@ -92,7 +92,7 @@ export declare const profileAccessBatchResponseSchema: z.ZodObject<{
|
|
|
92
92
|
items: {
|
|
93
93
|
decision: {
|
|
94
94
|
allowed: boolean;
|
|
95
|
-
reason: "owner" | "unavailable" | "allowed" | "
|
|
95
|
+
reason: "owner" | "unavailable" | "allowed" | "blocked" | "private" | "public" | "unsupported_consumer" | "contact_not_approved" | "mature_content" | "unrated_content" | "approval_required";
|
|
96
96
|
policyVersion: "2";
|
|
97
97
|
};
|
|
98
98
|
subjectAccountId: string;
|
|
@@ -130,24 +130,24 @@ export declare const contactAccessResponseSchema: z.ZodObject<{
|
|
|
130
130
|
policyVersion: z.ZodLiteral<"2">;
|
|
131
131
|
}, "strict", z.ZodTypeAny, {
|
|
132
132
|
allowed: boolean;
|
|
133
|
-
reason: "owner" | "unavailable" | "allowed" | "
|
|
133
|
+
reason: "owner" | "unavailable" | "allowed" | "blocked" | "private" | "public" | "unsupported_consumer" | "contact_not_approved" | "mature_content" | "unrated_content" | "approval_required";
|
|
134
134
|
policyVersion: "2";
|
|
135
135
|
}, {
|
|
136
136
|
allowed: boolean;
|
|
137
|
-
reason: "owner" | "unavailable" | "allowed" | "
|
|
137
|
+
reason: "owner" | "unavailable" | "allowed" | "blocked" | "private" | "public" | "unsupported_consumer" | "contact_not_approved" | "mature_content" | "unrated_content" | "approval_required";
|
|
138
138
|
policyVersion: "2";
|
|
139
139
|
}>;
|
|
140
140
|
}, "strict", z.ZodTypeAny, {
|
|
141
141
|
decision: {
|
|
142
142
|
allowed: boolean;
|
|
143
|
-
reason: "owner" | "unavailable" | "allowed" | "
|
|
143
|
+
reason: "owner" | "unavailable" | "allowed" | "blocked" | "private" | "public" | "unsupported_consumer" | "contact_not_approved" | "mature_content" | "unrated_content" | "approval_required";
|
|
144
144
|
policyVersion: "2";
|
|
145
145
|
};
|
|
146
146
|
targetAccountId: string;
|
|
147
147
|
}, {
|
|
148
148
|
decision: {
|
|
149
149
|
allowed: boolean;
|
|
150
|
-
reason: "owner" | "unavailable" | "allowed" | "
|
|
150
|
+
reason: "owner" | "unavailable" | "allowed" | "blocked" | "private" | "public" | "unsupported_consumer" | "contact_not_approved" | "mature_content" | "unrated_content" | "approval_required";
|
|
151
151
|
policyVersion: "2";
|
|
152
152
|
};
|
|
153
153
|
targetAccountId: string;
|
|
@@ -156,7 +156,7 @@ export declare const contactAccessResponseSchema: z.ZodObject<{
|
|
|
156
156
|
items: {
|
|
157
157
|
decision: {
|
|
158
158
|
allowed: boolean;
|
|
159
|
-
reason: "owner" | "unavailable" | "allowed" | "
|
|
159
|
+
reason: "owner" | "unavailable" | "allowed" | "blocked" | "private" | "public" | "unsupported_consumer" | "contact_not_approved" | "mature_content" | "unrated_content" | "approval_required";
|
|
160
160
|
policyVersion: "2";
|
|
161
161
|
};
|
|
162
162
|
targetAccountId: string;
|
|
@@ -165,7 +165,7 @@ export declare const contactAccessResponseSchema: z.ZodObject<{
|
|
|
165
165
|
items: {
|
|
166
166
|
decision: {
|
|
167
167
|
allowed: boolean;
|
|
168
|
-
reason: "owner" | "unavailable" | "allowed" | "
|
|
168
|
+
reason: "owner" | "unavailable" | "allowed" | "blocked" | "private" | "public" | "unsupported_consumer" | "contact_not_approved" | "mature_content" | "unrated_content" | "approval_required";
|
|
169
169
|
policyVersion: "2";
|
|
170
170
|
};
|
|
171
171
|
targetAccountId: string;
|
|
@@ -183,7 +183,7 @@ export declare const contentAccessInputSchema: z.ZodEffects<z.ZodEffects<z.ZodOb
|
|
|
183
183
|
}, "strict", z.ZodTypeAny, {
|
|
184
184
|
resourceId: string;
|
|
185
185
|
classification: "general" | "mature" | "unrated";
|
|
186
|
-
audience?: "followers" | "
|
|
186
|
+
audience?: "followers" | "private" | "public" | undefined;
|
|
187
187
|
operation?: "read" | "manage_own" | undefined;
|
|
188
188
|
authorAccountId?: string | undefined;
|
|
189
189
|
applicationAudienceAllowed?: boolean | undefined;
|
|
@@ -191,7 +191,7 @@ export declare const contentAccessInputSchema: z.ZodEffects<z.ZodEffects<z.ZodOb
|
|
|
191
191
|
}, {
|
|
192
192
|
resourceId: string;
|
|
193
193
|
classification: "general" | "mature" | "unrated";
|
|
194
|
-
audience?: "followers" | "
|
|
194
|
+
audience?: "followers" | "private" | "public" | undefined;
|
|
195
195
|
operation?: "read" | "manage_own" | undefined;
|
|
196
196
|
authorAccountId?: string | undefined;
|
|
197
197
|
applicationAudienceAllowed?: boolean | undefined;
|
|
@@ -199,7 +199,7 @@ export declare const contentAccessInputSchema: z.ZodEffects<z.ZodEffects<z.ZodOb
|
|
|
199
199
|
}>, {
|
|
200
200
|
resourceId: string;
|
|
201
201
|
classification: "general" | "mature" | "unrated";
|
|
202
|
-
audience?: "followers" | "
|
|
202
|
+
audience?: "followers" | "private" | "public" | undefined;
|
|
203
203
|
operation?: "read" | "manage_own" | undefined;
|
|
204
204
|
authorAccountId?: string | undefined;
|
|
205
205
|
applicationAudienceAllowed?: boolean | undefined;
|
|
@@ -207,7 +207,7 @@ export declare const contentAccessInputSchema: z.ZodEffects<z.ZodEffects<z.ZodOb
|
|
|
207
207
|
}, {
|
|
208
208
|
resourceId: string;
|
|
209
209
|
classification: "general" | "mature" | "unrated";
|
|
210
|
-
audience?: "followers" | "
|
|
210
|
+
audience?: "followers" | "private" | "public" | undefined;
|
|
211
211
|
operation?: "read" | "manage_own" | undefined;
|
|
212
212
|
authorAccountId?: string | undefined;
|
|
213
213
|
applicationAudienceAllowed?: boolean | undefined;
|
|
@@ -215,7 +215,7 @@ export declare const contentAccessInputSchema: z.ZodEffects<z.ZodEffects<z.ZodOb
|
|
|
215
215
|
}>, {
|
|
216
216
|
resourceId: string;
|
|
217
217
|
classification: "general" | "mature" | "unrated";
|
|
218
|
-
audience?: "followers" | "
|
|
218
|
+
audience?: "followers" | "private" | "public" | undefined;
|
|
219
219
|
operation?: "read" | "manage_own" | undefined;
|
|
220
220
|
authorAccountId?: string | undefined;
|
|
221
221
|
applicationAudienceAllowed?: boolean | undefined;
|
|
@@ -223,7 +223,7 @@ export declare const contentAccessInputSchema: z.ZodEffects<z.ZodEffects<z.ZodOb
|
|
|
223
223
|
}, {
|
|
224
224
|
resourceId: string;
|
|
225
225
|
classification: "general" | "mature" | "unrated";
|
|
226
|
-
audience?: "followers" | "
|
|
226
|
+
audience?: "followers" | "private" | "public" | undefined;
|
|
227
227
|
operation?: "read" | "manage_own" | undefined;
|
|
228
228
|
authorAccountId?: string | undefined;
|
|
229
229
|
applicationAudienceAllowed?: boolean | undefined;
|
|
@@ -333,7 +333,7 @@ export declare const contentAccessBatchInputSchema: z.ZodObject<{
|
|
|
333
333
|
}, "strict", z.ZodTypeAny, {
|
|
334
334
|
resourceId: string;
|
|
335
335
|
classification: "general" | "mature" | "unrated";
|
|
336
|
-
audience?: "followers" | "
|
|
336
|
+
audience?: "followers" | "private" | "public" | undefined;
|
|
337
337
|
operation?: "read" | "manage_own" | undefined;
|
|
338
338
|
authorAccountId?: string | undefined;
|
|
339
339
|
applicationAudienceAllowed?: boolean | undefined;
|
|
@@ -341,7 +341,7 @@ export declare const contentAccessBatchInputSchema: z.ZodObject<{
|
|
|
341
341
|
}, {
|
|
342
342
|
resourceId: string;
|
|
343
343
|
classification: "general" | "mature" | "unrated";
|
|
344
|
-
audience?: "followers" | "
|
|
344
|
+
audience?: "followers" | "private" | "public" | undefined;
|
|
345
345
|
operation?: "read" | "manage_own" | undefined;
|
|
346
346
|
authorAccountId?: string | undefined;
|
|
347
347
|
applicationAudienceAllowed?: boolean | undefined;
|
|
@@ -349,7 +349,7 @@ export declare const contentAccessBatchInputSchema: z.ZodObject<{
|
|
|
349
349
|
}>, {
|
|
350
350
|
resourceId: string;
|
|
351
351
|
classification: "general" | "mature" | "unrated";
|
|
352
|
-
audience?: "followers" | "
|
|
352
|
+
audience?: "followers" | "private" | "public" | undefined;
|
|
353
353
|
operation?: "read" | "manage_own" | undefined;
|
|
354
354
|
authorAccountId?: string | undefined;
|
|
355
355
|
applicationAudienceAllowed?: boolean | undefined;
|
|
@@ -357,7 +357,7 @@ export declare const contentAccessBatchInputSchema: z.ZodObject<{
|
|
|
357
357
|
}, {
|
|
358
358
|
resourceId: string;
|
|
359
359
|
classification: "general" | "mature" | "unrated";
|
|
360
|
-
audience?: "followers" | "
|
|
360
|
+
audience?: "followers" | "private" | "public" | undefined;
|
|
361
361
|
operation?: "read" | "manage_own" | undefined;
|
|
362
362
|
authorAccountId?: string | undefined;
|
|
363
363
|
applicationAudienceAllowed?: boolean | undefined;
|
|
@@ -365,7 +365,7 @@ export declare const contentAccessBatchInputSchema: z.ZodObject<{
|
|
|
365
365
|
}>, {
|
|
366
366
|
resourceId: string;
|
|
367
367
|
classification: "general" | "mature" | "unrated";
|
|
368
|
-
audience?: "followers" | "
|
|
368
|
+
audience?: "followers" | "private" | "public" | undefined;
|
|
369
369
|
operation?: "read" | "manage_own" | undefined;
|
|
370
370
|
authorAccountId?: string | undefined;
|
|
371
371
|
applicationAudienceAllowed?: boolean | undefined;
|
|
@@ -373,7 +373,7 @@ export declare const contentAccessBatchInputSchema: z.ZodObject<{
|
|
|
373
373
|
}, {
|
|
374
374
|
resourceId: string;
|
|
375
375
|
classification: "general" | "mature" | "unrated";
|
|
376
|
-
audience?: "followers" | "
|
|
376
|
+
audience?: "followers" | "private" | "public" | undefined;
|
|
377
377
|
operation?: "read" | "manage_own" | undefined;
|
|
378
378
|
authorAccountId?: string | undefined;
|
|
379
379
|
applicationAudienceAllowed?: boolean | undefined;
|
|
@@ -381,7 +381,7 @@ export declare const contentAccessBatchInputSchema: z.ZodObject<{
|
|
|
381
381
|
}>, "many">, {
|
|
382
382
|
resourceId: string;
|
|
383
383
|
classification: "general" | "mature" | "unrated";
|
|
384
|
-
audience?: "followers" | "
|
|
384
|
+
audience?: "followers" | "private" | "public" | undefined;
|
|
385
385
|
operation?: "read" | "manage_own" | undefined;
|
|
386
386
|
authorAccountId?: string | undefined;
|
|
387
387
|
applicationAudienceAllowed?: boolean | undefined;
|
|
@@ -389,7 +389,7 @@ export declare const contentAccessBatchInputSchema: z.ZodObject<{
|
|
|
389
389
|
}[], {
|
|
390
390
|
resourceId: string;
|
|
391
391
|
classification: "general" | "mature" | "unrated";
|
|
392
|
-
audience?: "followers" | "
|
|
392
|
+
audience?: "followers" | "private" | "public" | undefined;
|
|
393
393
|
operation?: "read" | "manage_own" | undefined;
|
|
394
394
|
authorAccountId?: string | undefined;
|
|
395
395
|
applicationAudienceAllowed?: boolean | undefined;
|
|
@@ -399,7 +399,7 @@ export declare const contentAccessBatchInputSchema: z.ZodObject<{
|
|
|
399
399
|
items: {
|
|
400
400
|
resourceId: string;
|
|
401
401
|
classification: "general" | "mature" | "unrated";
|
|
402
|
-
audience?: "followers" | "
|
|
402
|
+
audience?: "followers" | "private" | "public" | undefined;
|
|
403
403
|
operation?: "read" | "manage_own" | undefined;
|
|
404
404
|
authorAccountId?: string | undefined;
|
|
405
405
|
applicationAudienceAllowed?: boolean | undefined;
|
|
@@ -409,7 +409,7 @@ export declare const contentAccessBatchInputSchema: z.ZodObject<{
|
|
|
409
409
|
items: {
|
|
410
410
|
resourceId: string;
|
|
411
411
|
classification: "general" | "mature" | "unrated";
|
|
412
|
-
audience?: "followers" | "
|
|
412
|
+
audience?: "followers" | "private" | "public" | undefined;
|
|
413
413
|
operation?: "read" | "manage_own" | undefined;
|
|
414
414
|
authorAccountId?: string | undefined;
|
|
415
415
|
applicationAudienceAllowed?: boolean | undefined;
|
|
@@ -425,24 +425,24 @@ export declare const contentAccessBatchResponseSchema: z.ZodObject<{
|
|
|
425
425
|
policyVersion: z.ZodLiteral<"2">;
|
|
426
426
|
}, "strict", z.ZodTypeAny, {
|
|
427
427
|
allowed: boolean;
|
|
428
|
-
reason: "owner" | "unavailable" | "allowed" | "
|
|
428
|
+
reason: "owner" | "unavailable" | "allowed" | "blocked" | "private" | "public" | "unsupported_consumer" | "contact_not_approved" | "mature_content" | "unrated_content" | "approval_required";
|
|
429
429
|
policyVersion: "2";
|
|
430
430
|
}, {
|
|
431
431
|
allowed: boolean;
|
|
432
|
-
reason: "owner" | "unavailable" | "allowed" | "
|
|
432
|
+
reason: "owner" | "unavailable" | "allowed" | "blocked" | "private" | "public" | "unsupported_consumer" | "contact_not_approved" | "mature_content" | "unrated_content" | "approval_required";
|
|
433
433
|
policyVersion: "2";
|
|
434
434
|
}>;
|
|
435
435
|
}, "strict", z.ZodTypeAny, {
|
|
436
436
|
decision: {
|
|
437
437
|
allowed: boolean;
|
|
438
|
-
reason: "owner" | "unavailable" | "allowed" | "
|
|
438
|
+
reason: "owner" | "unavailable" | "allowed" | "blocked" | "private" | "public" | "unsupported_consumer" | "contact_not_approved" | "mature_content" | "unrated_content" | "approval_required";
|
|
439
439
|
policyVersion: "2";
|
|
440
440
|
};
|
|
441
441
|
resourceId: string;
|
|
442
442
|
}, {
|
|
443
443
|
decision: {
|
|
444
444
|
allowed: boolean;
|
|
445
|
-
reason: "owner" | "unavailable" | "allowed" | "
|
|
445
|
+
reason: "owner" | "unavailable" | "allowed" | "blocked" | "private" | "public" | "unsupported_consumer" | "contact_not_approved" | "mature_content" | "unrated_content" | "approval_required";
|
|
446
446
|
policyVersion: "2";
|
|
447
447
|
};
|
|
448
448
|
resourceId: string;
|
|
@@ -451,7 +451,7 @@ export declare const contentAccessBatchResponseSchema: z.ZodObject<{
|
|
|
451
451
|
items: {
|
|
452
452
|
decision: {
|
|
453
453
|
allowed: boolean;
|
|
454
|
-
reason: "owner" | "unavailable" | "allowed" | "
|
|
454
|
+
reason: "owner" | "unavailable" | "allowed" | "blocked" | "private" | "public" | "unsupported_consumer" | "contact_not_approved" | "mature_content" | "unrated_content" | "approval_required";
|
|
455
455
|
policyVersion: "2";
|
|
456
456
|
};
|
|
457
457
|
resourceId: string;
|
|
@@ -460,7 +460,7 @@ export declare const contentAccessBatchResponseSchema: z.ZodObject<{
|
|
|
460
460
|
items: {
|
|
461
461
|
decision: {
|
|
462
462
|
allowed: boolean;
|
|
463
|
-
reason: "owner" | "unavailable" | "allowed" | "
|
|
463
|
+
reason: "owner" | "unavailable" | "allowed" | "blocked" | "private" | "public" | "unsupported_consumer" | "contact_not_approved" | "mature_content" | "unrated_content" | "approval_required";
|
|
464
464
|
policyVersion: "2";
|
|
465
465
|
};
|
|
466
466
|
resourceId: string;
|
|
@@ -528,24 +528,24 @@ export declare const messageAccessBatchResponseSchema: z.ZodObject<{
|
|
|
528
528
|
policyVersion: z.ZodLiteral<"2">;
|
|
529
529
|
}, "strict", z.ZodTypeAny, {
|
|
530
530
|
allowed: boolean;
|
|
531
|
-
reason: "owner" | "unavailable" | "allowed" | "
|
|
531
|
+
reason: "owner" | "unavailable" | "allowed" | "blocked" | "private" | "public" | "unsupported_consumer" | "contact_not_approved" | "mature_content" | "unrated_content" | "approval_required";
|
|
532
532
|
policyVersion: "2";
|
|
533
533
|
}, {
|
|
534
534
|
allowed: boolean;
|
|
535
|
-
reason: "owner" | "unavailable" | "allowed" | "
|
|
535
|
+
reason: "owner" | "unavailable" | "allowed" | "blocked" | "private" | "public" | "unsupported_consumer" | "contact_not_approved" | "mature_content" | "unrated_content" | "approval_required";
|
|
536
536
|
policyVersion: "2";
|
|
537
537
|
}>;
|
|
538
538
|
}, "strict", z.ZodTypeAny, {
|
|
539
539
|
decision: {
|
|
540
540
|
allowed: boolean;
|
|
541
|
-
reason: "owner" | "unavailable" | "allowed" | "
|
|
541
|
+
reason: "owner" | "unavailable" | "allowed" | "blocked" | "private" | "public" | "unsupported_consumer" | "contact_not_approved" | "mature_content" | "unrated_content" | "approval_required";
|
|
542
542
|
policyVersion: "2";
|
|
543
543
|
};
|
|
544
544
|
resourceId: string;
|
|
545
545
|
}, {
|
|
546
546
|
decision: {
|
|
547
547
|
allowed: boolean;
|
|
548
|
-
reason: "owner" | "unavailable" | "allowed" | "
|
|
548
|
+
reason: "owner" | "unavailable" | "allowed" | "blocked" | "private" | "public" | "unsupported_consumer" | "contact_not_approved" | "mature_content" | "unrated_content" | "approval_required";
|
|
549
549
|
policyVersion: "2";
|
|
550
550
|
};
|
|
551
551
|
resourceId: string;
|
|
@@ -554,7 +554,7 @@ export declare const messageAccessBatchResponseSchema: z.ZodObject<{
|
|
|
554
554
|
items: {
|
|
555
555
|
decision: {
|
|
556
556
|
allowed: boolean;
|
|
557
|
-
reason: "owner" | "unavailable" | "allowed" | "
|
|
557
|
+
reason: "owner" | "unavailable" | "allowed" | "blocked" | "private" | "public" | "unsupported_consumer" | "contact_not_approved" | "mature_content" | "unrated_content" | "approval_required";
|
|
558
558
|
policyVersion: "2";
|
|
559
559
|
};
|
|
560
560
|
resourceId: string;
|
|
@@ -563,7 +563,7 @@ export declare const messageAccessBatchResponseSchema: z.ZodObject<{
|
|
|
563
563
|
items: {
|
|
564
564
|
decision: {
|
|
565
565
|
allowed: boolean;
|
|
566
|
-
reason: "owner" | "unavailable" | "allowed" | "
|
|
566
|
+
reason: "owner" | "unavailable" | "allowed" | "blocked" | "private" | "public" | "unsupported_consumer" | "contact_not_approved" | "mature_content" | "unrated_content" | "approval_required";
|
|
567
567
|
policyVersion: "2";
|
|
568
568
|
};
|
|
569
569
|
resourceId: string;
|
|
@@ -2178,14 +2178,14 @@ export declare const safetySessionValidationSchema: z.ZodObject<{
|
|
|
2178
2178
|
publicKey?: string | undefined;
|
|
2179
2179
|
verified?: boolean | undefined;
|
|
2180
2180
|
did?: string | undefined;
|
|
2181
|
-
|
|
2182
|
-
phone?: string | undefined;
|
|
2181
|
+
relationship?: import("./userResponse").UserRelationship | undefined;
|
|
2183
2182
|
address?: string | undefined;
|
|
2183
|
+
phone?: string | undefined;
|
|
2184
|
+
_id?: string | undefined;
|
|
2184
2185
|
birthday?: string | undefined;
|
|
2185
2186
|
dateOfBirth?: string | undefined;
|
|
2186
2187
|
isAdult?: boolean | undefined;
|
|
2187
2188
|
languages?: string[] | undefined;
|
|
2188
|
-
relationship?: import("./userResponse").UserRelationship | undefined;
|
|
2189
2189
|
themePreference?: import("./userResponse").ThemePreference | undefined;
|
|
2190
2190
|
personalization?: {
|
|
2191
2191
|
mentionMono: {
|
|
@@ -2221,14 +2221,14 @@ export declare const safetySessionValidationSchema: z.ZodObject<{
|
|
|
2221
2221
|
publicKey?: string | undefined;
|
|
2222
2222
|
verified?: boolean | undefined;
|
|
2223
2223
|
did?: string | undefined;
|
|
2224
|
-
|
|
2225
|
-
phone?: string | undefined;
|
|
2224
|
+
relationship?: import("./userResponse").UserRelationship | undefined;
|
|
2226
2225
|
address?: string | undefined;
|
|
2226
|
+
phone?: string | undefined;
|
|
2227
|
+
_id?: string | undefined;
|
|
2227
2228
|
birthday?: string | undefined;
|
|
2228
2229
|
dateOfBirth?: string | undefined;
|
|
2229
2230
|
isAdult?: boolean | undefined;
|
|
2230
2231
|
languages?: string[] | undefined;
|
|
2231
|
-
relationship?: import("./userResponse").UserRelationship | undefined;
|
|
2232
2232
|
themePreference?: import("./userResponse").ThemePreference | undefined;
|
|
2233
2233
|
personalization?: {
|
|
2234
2234
|
mentionMono: {
|
|
@@ -184,8 +184,6 @@ export declare const sessionStatusSchema: z.ZodObject<{
|
|
|
184
184
|
sessionId?: string | null | undefined;
|
|
185
185
|
userId?: string | null | undefined;
|
|
186
186
|
publicKey?: string | null | undefined;
|
|
187
|
-
authorized?: boolean | undefined;
|
|
188
|
-
sessionToken?: string | undefined;
|
|
189
187
|
application?: {
|
|
190
188
|
type: "system" | "internal" | "first_party" | "third_party";
|
|
191
189
|
name: string;
|
|
@@ -200,6 +198,8 @@ export declare const sessionStatusSchema: z.ZodObject<{
|
|
|
200
198
|
termsUrl?: string | undefined;
|
|
201
199
|
developerName?: string | undefined;
|
|
202
200
|
} | null | undefined;
|
|
201
|
+
authorized?: boolean | undefined;
|
|
202
|
+
sessionToken?: string | undefined;
|
|
203
203
|
pushSentAt?: string | null | undefined;
|
|
204
204
|
openedAt?: string | null | undefined;
|
|
205
205
|
}, {
|
|
@@ -209,8 +209,6 @@ export declare const sessionStatusSchema: z.ZodObject<{
|
|
|
209
209
|
sessionId?: string | null | undefined;
|
|
210
210
|
userId?: string | null | undefined;
|
|
211
211
|
publicKey?: string | null | undefined;
|
|
212
|
-
authorized?: boolean | undefined;
|
|
213
|
-
sessionToken?: string | undefined;
|
|
214
212
|
application?: {
|
|
215
213
|
type: "system" | "internal" | "first_party" | "third_party";
|
|
216
214
|
name: string;
|
|
@@ -225,6 +223,8 @@ export declare const sessionStatusSchema: z.ZodObject<{
|
|
|
225
223
|
termsUrl?: string | undefined;
|
|
226
224
|
developerName?: string | undefined;
|
|
227
225
|
} | null | undefined;
|
|
226
|
+
authorized?: boolean | undefined;
|
|
227
|
+
sessionToken?: string | undefined;
|
|
228
228
|
pushSentAt?: string | null | undefined;
|
|
229
229
|
openedAt?: string | null | undefined;
|
|
230
230
|
}>;
|