@oxy.so/contracts 4.17.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/accountAccess.js +72 -0
- package/dist/cjs/agency.js +112 -1
- package/dist/cjs/applicationRoles.js +211 -0
- package/dist/cjs/client/check.js +9 -0
- package/dist/cjs/client/contentClaims.js +139 -0
- package/dist/cjs/client/index.js +37 -1
- package/dist/cjs/client/safety.js +183 -2
- package/dist/cjs/client/signIn.js +2 -0
- package/dist/cjs/contentClaims.js +246 -0
- package/dist/cjs/index.js +14 -3
- package/dist/cjs/safety.js +430 -1
- package/dist/cjs/serviceToken.js +14 -0
- package/dist/esm/accountAccess.js +69 -0
- package/dist/esm/agency.js +111 -0
- package/dist/esm/applicationRoles.js +207 -0
- package/dist/esm/client/check.js +8 -0
- package/dist/esm/client/contentClaims.js +134 -0
- package/dist/esm/client/index.js +2 -1
- package/dist/esm/client/safety.js +183 -2
- package/dist/esm/client/signIn.js +2 -0
- package/dist/esm/contentClaims.js +229 -0
- package/dist/esm/index.js +5 -1
- package/dist/esm/safety.js +423 -0
- package/dist/esm/serviceToken.js +11 -0
- package/dist/types/accountAccess.d.ts +128 -0
- package/dist/types/accountEmail.d.ts +2 -2
- package/dist/types/agency.d.ts +327 -2
- package/dist/types/agentKeys.d.ts +6 -6
- package/dist/types/applicationRoles.d.ts +438 -0
- package/dist/types/client/agentKeys.d.ts +2 -2
- package/dist/types/client/check.d.ts +3 -0
- package/dist/types/client/contentClaims.d.ts +106 -0
- package/dist/types/client/deviceSession.d.ts +1 -1
- package/dist/types/client/index.d.ts +2 -1
- package/dist/types/client/safety.d.ts +204 -4
- package/dist/types/client/signIn.d.ts +1 -1
- package/dist/types/contentClaims.d.ts +383 -0
- package/dist/types/deviceSession.d.ts +4 -4
- package/dist/types/email/messages.d.ts +4 -4
- package/dist/types/externalIdentity.d.ts +16 -16
- package/dist/types/index.d.ts +6 -2
- package/dist/types/inference/accountBilling.d.ts +2 -2
- package/dist/types/inference/aliaModelRelease.d.ts +8 -8
- package/dist/types/inference/catalogue.d.ts +26 -26
- package/dist/types/inference/inbox.d.ts +4 -4
- package/dist/types/inference/modelDocumentation.d.ts +16 -16
- package/dist/types/inference/providerConnection.d.ts +4 -4
- package/dist/types/inference/realtime.d.ts +74 -74
- package/dist/types/inference/request.d.ts +60 -60
- package/dist/types/inference/usage.d.ts +4 -4
- package/dist/types/products/access.d.ts +4 -4
- package/dist/types/safety.d.ts +2374 -2
- package/dist/types/serviceToken.d.ts +11 -0
- package/dist/types/sessionStatus.d.ts +4 -4
- package/dist/types/signIn.d.ts +5 -5
- package/dist/types/updates.d.ts +6 -6
- package/dist/types/userResponse.d.ts +8 -8
- package/package.json +5 -20
- package/dist/cjs/.tsbuildinfo +0 -1
- package/dist/esm/.tsbuildinfo +0 -1
- package/dist/types/.tsbuildinfo +0 -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;
|
|
@@ -832,12 +832,12 @@ export declare const providerConnectionSchema: z.ZodEffects<z.ZodObject<{
|
|
|
832
832
|
createdAt: z.ZodString;
|
|
833
833
|
rotatedAt: z.ZodOptional<z.ZodString>;
|
|
834
834
|
}, "strict", z.ZodTypeAny, {
|
|
835
|
-
status: "active" | "revoked" | "disabled" | "pending_validation";
|
|
836
835
|
validation: {
|
|
837
836
|
state: "valid" | "invalid" | "expired" | "unvalidated";
|
|
838
837
|
failureCode?: "unknown" | "unauthorized" | "forbidden" | "not_found" | "rate_limited" | "network" | undefined;
|
|
839
838
|
lastValidatedAt?: string | undefined;
|
|
840
839
|
};
|
|
840
|
+
status: "active" | "revoked" | "disabled" | "pending_validation";
|
|
841
841
|
createdAt: string;
|
|
842
842
|
environment: "development" | "staging" | "production";
|
|
843
843
|
schemaVersion: 2;
|
|
@@ -862,12 +862,12 @@ export declare const providerConnectionSchema: z.ZodEffects<z.ZodObject<{
|
|
|
862
862
|
termsAcknowledgedAt?: string | undefined;
|
|
863
863
|
rotatedAt?: string | undefined;
|
|
864
864
|
}, {
|
|
865
|
-
status: "active" | "revoked" | "disabled" | "pending_validation";
|
|
866
865
|
validation: {
|
|
867
866
|
state: "valid" | "invalid" | "expired" | "unvalidated";
|
|
868
867
|
failureCode?: "unknown" | "unauthorized" | "forbidden" | "not_found" | "rate_limited" | "network" | undefined;
|
|
869
868
|
lastValidatedAt?: string | undefined;
|
|
870
869
|
};
|
|
870
|
+
status: "active" | "revoked" | "disabled" | "pending_validation";
|
|
871
871
|
createdAt: string;
|
|
872
872
|
environment: "development" | "staging" | "production";
|
|
873
873
|
schemaVersion: 2;
|
|
@@ -892,12 +892,12 @@ export declare const providerConnectionSchema: z.ZodEffects<z.ZodObject<{
|
|
|
892
892
|
termsAcknowledgedAt?: string | undefined;
|
|
893
893
|
rotatedAt?: string | undefined;
|
|
894
894
|
}>, {
|
|
895
|
-
status: "active" | "revoked" | "disabled" | "pending_validation";
|
|
896
895
|
validation: {
|
|
897
896
|
state: "valid" | "invalid" | "expired" | "unvalidated";
|
|
898
897
|
failureCode?: "unknown" | "unauthorized" | "forbidden" | "not_found" | "rate_limited" | "network" | undefined;
|
|
899
898
|
lastValidatedAt?: string | undefined;
|
|
900
899
|
};
|
|
900
|
+
status: "active" | "revoked" | "disabled" | "pending_validation";
|
|
901
901
|
createdAt: string;
|
|
902
902
|
environment: "development" | "staging" | "production";
|
|
903
903
|
schemaVersion: 2;
|
|
@@ -922,12 +922,12 @@ export declare const providerConnectionSchema: z.ZodEffects<z.ZodObject<{
|
|
|
922
922
|
termsAcknowledgedAt?: string | undefined;
|
|
923
923
|
rotatedAt?: string | undefined;
|
|
924
924
|
}, {
|
|
925
|
-
status: "active" | "revoked" | "disabled" | "pending_validation";
|
|
926
925
|
validation: {
|
|
927
926
|
state: "valid" | "invalid" | "expired" | "unvalidated";
|
|
928
927
|
failureCode?: "unknown" | "unauthorized" | "forbidden" | "not_found" | "rate_limited" | "network" | undefined;
|
|
929
928
|
lastValidatedAt?: string | undefined;
|
|
930
929
|
};
|
|
930
|
+
status: "active" | "revoked" | "disabled" | "pending_validation";
|
|
931
931
|
createdAt: string;
|
|
932
932
|
environment: "development" | "staging" | "production";
|
|
933
933
|
schemaVersion: 2;
|