@oxy.so/contracts 5.7.0 → 6.0.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 +6 -5
- package/dist/cjs/accountEmail.js +13 -5
- package/dist/cjs/accountGraph.js +10 -9
- package/dist/cjs/accountName.js +3 -2
- package/dist/cjs/agency.js +91 -34
- package/dist/cjs/agentKeys.js +21 -17
- package/dist/cjs/appAssertions.js +14 -13
- package/dist/cjs/applicationRoles.js +19 -12
- package/dist/cjs/civic.js +10 -9
- package/dist/cjs/client/check.js +61 -53
- package/dist/cjs/client/consoleOnboarding.js +24 -0
- package/dist/cjs/client/index.js +7 -3
- package/dist/cjs/client/safety.js +9 -1
- package/dist/cjs/consoleOnboarding.js +56 -0
- package/dist/cjs/contentClaims.js +23 -14
- package/dist/cjs/deviceDirectory.js +11 -9
- package/dist/cjs/deviceSession.js +27 -25
- package/dist/cjs/email/messages.js +20 -18
- package/dist/cjs/emailAgentContext.js +11 -9
- package/dist/cjs/externalIdentity.js +15 -11
- package/dist/cjs/federationInstanceFetch.js +12 -7
- package/dist/cjs/identity.js +19 -17
- package/dist/cjs/identityLink.js +6 -4
- package/dist/cjs/identityProof.js +6 -4
- package/dist/cjs/inboxPush.js +5 -4
- package/dist/cjs/index.js +16 -6
- package/dist/cjs/inference/accountBilling.js +35 -33
- package/dist/cjs/inference/aliaModelRelease.js +9 -7
- package/dist/cjs/inference/attribution.js +14 -12
- package/dist/cjs/inference/catalogue.js +35 -29
- package/dist/cjs/inference/economics.js +24 -19
- package/dist/cjs/inference/embeddings.js +9 -7
- package/dist/cjs/inference/entitlement.js +17 -15
- package/dist/cjs/inference/errors.js +15 -8
- package/dist/cjs/inference/identifiers.js +33 -21
- package/dist/cjs/inference/inbox.js +37 -35
- package/dist/cjs/inference/modelDocumentation.js +16 -14
- package/dist/cjs/inference/money.js +5 -4
- package/dist/cjs/inference/priceVersion.js +10 -5
- package/dist/cjs/inference/providerConnection.js +21 -14
- package/dist/cjs/inference/realtime.js +88 -47
- package/dist/cjs/inference/request.js +27 -25
- package/dist/cjs/inference/routingPolicy.js +12 -10
- package/dist/cjs/inference/streamEvents.js +22 -16
- package/dist/cjs/inference/usage.js +32 -15
- package/dist/cjs/keyRecovery.js +8 -6
- package/dist/cjs/keyRotation.js +5 -4
- package/dist/cjs/linkedAccounts.js +22 -18
- package/dist/cjs/moderationReputation.js +29 -27
- package/dist/cjs/notifications.js +25 -9
- package/dist/cjs/numberChecks.js +45 -0
- package/dist/cjs/oauth.js +14 -12
- package/dist/cjs/organizations.js +23 -21
- package/dist/cjs/products/access.js +10 -8
- package/dist/cjs/products/billing.js +10 -8
- package/dist/cjs/products/checkout.js +22 -10
- package/dist/cjs/products/plans.js +15 -10
- package/dist/cjs/protocol.js +6 -5
- package/dist/cjs/recommendations.js +27 -19
- package/dist/cjs/reputation.js +15 -13
- package/dist/cjs/safety.js +46 -29
- package/dist/cjs/serviceToken.js +81 -2
- package/dist/cjs/sessionRevocation.js +8 -6
- package/dist/cjs/signIn.js +42 -24
- package/dist/cjs/stickers.js +19 -15
- package/dist/cjs/stringChecks.js +70 -0
- package/dist/cjs/transparency.js +14 -12
- package/dist/cjs/updates.js +24 -22
- package/dist/cjs/userInvalidation.js +7 -5
- package/dist/cjs/userResponse.js +8 -7
- package/dist/cjs/username.js +7 -6
- package/dist/esm/accountAccess.js +4 -3
- package/dist/esm/accountEmail.js +13 -5
- package/dist/esm/accountGraph.js +8 -7
- package/dist/esm/accountName.js +3 -2
- package/dist/esm/agency.js +90 -33
- package/dist/esm/agentKeys.js +21 -17
- package/dist/esm/appAssertions.js +11 -10
- package/dist/esm/applicationRoles.js +16 -9
- package/dist/esm/civic.js +8 -7
- package/dist/esm/client/check.js +61 -53
- package/dist/esm/client/consoleOnboarding.js +21 -0
- package/dist/esm/client/index.js +2 -1
- package/dist/esm/client/safety.js +8 -0
- package/dist/esm/consoleOnboarding.js +51 -0
- package/dist/esm/contentClaims.js +23 -14
- package/dist/esm/deviceDirectory.js +11 -9
- package/dist/esm/deviceSession.js +27 -25
- package/dist/esm/email/messages.js +18 -16
- package/dist/esm/emailAgentContext.js +11 -9
- package/dist/esm/externalIdentity.js +15 -11
- package/dist/esm/federationInstanceFetch.js +10 -5
- package/dist/esm/identity.js +17 -15
- package/dist/esm/identityLink.js +6 -4
- package/dist/esm/identityProof.js +6 -4
- package/dist/esm/inboxPush.js +3 -2
- package/dist/esm/index.js +5 -2
- package/dist/esm/inference/accountBilling.js +33 -31
- package/dist/esm/inference/aliaModelRelease.js +7 -5
- package/dist/esm/inference/attribution.js +14 -12
- package/dist/esm/inference/catalogue.js +33 -27
- package/dist/esm/inference/economics.js +22 -17
- package/dist/esm/inference/embeddings.js +9 -7
- package/dist/esm/inference/entitlement.js +15 -13
- package/dist/esm/inference/errors.js +13 -6
- package/dist/esm/inference/identifiers.js +31 -19
- package/dist/esm/inference/inbox.js +37 -35
- package/dist/esm/inference/modelDocumentation.js +14 -12
- package/dist/esm/inference/money.js +3 -2
- package/dist/esm/inference/priceVersion.js +8 -3
- package/dist/esm/inference/providerConnection.js +19 -12
- package/dist/esm/inference/realtime.js +85 -44
- package/dist/esm/inference/request.js +25 -23
- package/dist/esm/inference/routingPolicy.js +9 -7
- package/dist/esm/inference/streamEvents.js +20 -14
- package/dist/esm/inference/usage.js +30 -13
- package/dist/esm/keyRecovery.js +8 -6
- package/dist/esm/keyRotation.js +5 -4
- package/dist/esm/linkedAccounts.js +20 -16
- package/dist/esm/moderationReputation.js +27 -25
- package/dist/esm/notifications.js +23 -7
- package/dist/esm/numberChecks.js +41 -0
- package/dist/esm/oauth.js +14 -12
- package/dist/esm/organizations.js +23 -21
- package/dist/esm/products/access.js +10 -8
- package/dist/esm/products/billing.js +10 -8
- package/dist/esm/products/checkout.js +22 -10
- package/dist/esm/products/plans.js +15 -10
- package/dist/esm/protocol.js +4 -3
- package/dist/esm/recommendations.js +25 -17
- package/dist/esm/reputation.js +13 -11
- package/dist/esm/safety.js +45 -29
- package/dist/esm/serviceToken.js +80 -1
- package/dist/esm/sessionRevocation.js +6 -4
- package/dist/esm/signIn.js +42 -24
- package/dist/esm/stickers.js +17 -13
- package/dist/esm/stringChecks.js +63 -0
- package/dist/esm/transparency.js +14 -12
- package/dist/esm/updates.js +22 -20
- package/dist/esm/userInvalidation.js +4 -2
- package/dist/esm/userResponse.js +4 -3
- package/dist/esm/username.js +3 -2
- package/dist/types/accountAccess.d.ts +29 -70
- package/dist/types/accountEmail.d.ts +2 -14
- package/dist/types/accountGraph.d.ts +179 -171
- package/dist/types/accountName.d.ts +1 -1
- package/dist/types/accountSubject.d.ts +20 -93
- package/dist/types/agency.d.ts +528 -2924
- package/dist/types/agentKeys.d.ts +48 -421
- package/dist/types/appAssertions.d.ts +56 -210
- package/dist/types/applicationRoles.d.ts +30 -276
- package/dist/types/avatarCharacter.d.ts +1 -1
- package/dist/types/civic.d.ts +1 -13
- package/dist/types/client/agentKeys.d.ts +18 -18
- package/dist/types/client/appAssertions.d.ts +3 -3
- package/dist/types/client/check.d.ts +13 -13
- package/dist/types/client/consoleOnboarding.d.ts +16 -0
- package/dist/types/client/deviceDirectory.d.ts +51 -51
- package/dist/types/client/deviceSession.d.ts +14 -14
- package/dist/types/client/index.d.ts +2 -1
- package/dist/types/client/organizations.d.ts +25 -25
- package/dist/types/client/products.d.ts +33 -33
- package/dist/types/client/recommendations.d.ts +2 -2
- package/dist/types/client/safety.d.ts +53 -45
- package/dist/types/client/sessionStatus.d.ts +4 -4
- package/dist/types/client/signIn.d.ts +1 -1
- package/dist/types/commonsSignIn.d.ts +4 -1
- package/dist/types/consoleOnboarding.d.ts +57 -0
- package/dist/types/contentClaims.d.ts +24 -180
- package/dist/types/deviceDirectory.d.ts +109 -1040
- package/dist/types/deviceSession.d.ts +36 -298
- package/dist/types/email/messages.d.ts +212 -1793
- package/dist/types/emailAgentContext.d.ts +10 -194
- package/dist/types/externalIdentity.d.ts +121 -615
- package/dist/types/federationInstanceFetch.d.ts +3 -32
- package/dist/types/identity.d.ts +15 -92
- package/dist/types/identityLink.d.ts +6 -84
- package/dist/types/identityProof.d.ts +5 -17
- package/dist/types/inboxPush.d.ts +1 -9
- package/dist/types/index.d.ts +6 -3
- package/dist/types/inference/accountBilling.d.ts +151 -488
- package/dist/types/inference/aliaModelRelease.d.ts +42 -439
- package/dist/types/inference/attribution.d.ts +75 -104
- package/dist/types/inference/catalogue.d.ts +417 -1599
- package/dist/types/inference/economics.d.ts +69 -276
- package/dist/types/inference/embeddings.d.ts +110 -406
- package/dist/types/inference/entitlement.d.ts +80 -335
- package/dist/types/inference/errors.d.ts +90 -102
- package/dist/types/inference/identifiers.d.ts +12 -4
- package/dist/types/inference/inbox.d.ts +105 -420
- package/dist/types/inference/modelDocumentation.d.ts +201 -1390
- package/dist/types/inference/money.d.ts +65 -32
- package/dist/types/inference/priceVersion.d.ts +53 -120
- package/dist/types/inference/providerConnection.d.ts +253 -710
- package/dist/types/inference/realtime.d.ts +954 -6825
- package/dist/types/inference/request.d.ts +300 -2572
- package/dist/types/inference/routingPolicy.d.ts +95 -503
- package/dist/types/inference/streamEvents.d.ts +253 -721
- package/dist/types/inference/usage.d.ts +317 -950
- package/dist/types/keyRecovery.d.ts +3 -51
- package/dist/types/keyRotation.d.ts +3 -38
- package/dist/types/linkedAccounts.d.ts +50 -236
- package/dist/types/moderationReputation.d.ts +81 -14
- package/dist/types/notifications.d.ts +19 -51
- package/dist/types/numberChecks.d.ts +9 -0
- package/dist/types/oauth.d.ts +101 -809
- package/dist/types/organizations.d.ts +268 -921
- package/dist/types/oxyRecordTypes.d.ts +11 -1
- package/dist/types/products/access.d.ts +125 -775
- package/dist/types/products/billing.d.ts +67 -503
- package/dist/types/products/checkout.d.ts +16 -69
- package/dist/types/products/plans.d.ts +33 -366
- package/dist/types/recommendations.d.ts +76 -389
- package/dist/types/reputation.d.ts +37 -5
- package/dist/types/safety.d.ts +410 -2050
- package/dist/types/serviceToken.d.ts +247 -7
- package/dist/types/sessionRevocation.d.ts +2 -17
- package/dist/types/sessionStatus.d.ts +27 -115
- package/dist/types/signIn.d.ts +53 -553
- package/dist/types/stickers.d.ts +67 -819
- package/dist/types/stringChecks.d.ts +16 -0
- package/dist/types/transparency.d.ts +14 -302
- package/dist/types/updates.d.ts +60 -316
- package/dist/types/userInvalidation.d.ts +4 -13
- package/dist/types/userResponse.d.ts +302 -2400
- package/dist/types/username.d.ts +3 -3
- package/package.json +3 -4
|
@@ -89,22 +89,11 @@ import { z } from 'zod';
|
|
|
89
89
|
* that is the wrong length before reading it to the end, rather than only after.
|
|
90
90
|
*/
|
|
91
91
|
export declare const aliaReleaseArtifactSchema: z.ZodObject<{
|
|
92
|
-
/** Path within the release, e.g. `model-00001-of-00004.safetensors`. */
|
|
93
92
|
path: z.ZodString;
|
|
94
93
|
digest: z.ZodString;
|
|
95
94
|
sizeBytes: z.ZodNumber;
|
|
96
95
|
mediaType: z.ZodOptional<z.ZodString>;
|
|
97
|
-
},
|
|
98
|
-
path: string;
|
|
99
|
-
digest: string;
|
|
100
|
-
sizeBytes: number;
|
|
101
|
-
mediaType?: string | undefined;
|
|
102
|
-
}, {
|
|
103
|
-
path: string;
|
|
104
|
-
digest: string;
|
|
105
|
-
sizeBytes: number;
|
|
106
|
-
mediaType?: string | undefined;
|
|
107
|
-
}>;
|
|
96
|
+
}, z.core.$strict>;
|
|
108
97
|
/**
|
|
109
98
|
* One detached signature over the manifest.
|
|
110
99
|
*
|
|
@@ -127,30 +116,16 @@ export declare const aliaReleaseArtifactSchema: z.ZodObject<{
|
|
|
127
116
|
* necessity and is independent of the open question of which key signs.
|
|
128
117
|
*/
|
|
129
118
|
export declare const aliaReleaseSignatureSchema: z.ZodObject<{
|
|
130
|
-
algorithm: z.ZodEnum<
|
|
131
|
-
|
|
132
|
-
|
|
119
|
+
algorithm: z.ZodEnum<{
|
|
120
|
+
ed25519: "ed25519";
|
|
121
|
+
}>;
|
|
122
|
+
canonicalization: z.ZodEnum<{
|
|
123
|
+
jcs: "jcs";
|
|
124
|
+
}>;
|
|
133
125
|
keyId: z.ZodString;
|
|
134
|
-
/**
|
|
135
|
-
* Unpadded base64url. Exactly 86 characters, which is a 64-byte Ed25519
|
|
136
|
-
* signature — the one algorithm above. A second algorithm moves this length
|
|
137
|
-
* into a refinement keyed on `algorithm`.
|
|
138
|
-
*/
|
|
139
126
|
signature: z.ZodString;
|
|
140
127
|
signedAt: z.ZodString;
|
|
141
|
-
},
|
|
142
|
-
signature: string;
|
|
143
|
-
keyId: string;
|
|
144
|
-
signedAt: string;
|
|
145
|
-
algorithm: "ed25519";
|
|
146
|
-
canonicalization: "jcs";
|
|
147
|
-
}, {
|
|
148
|
-
signature: string;
|
|
149
|
-
keyId: string;
|
|
150
|
-
signedAt: string;
|
|
151
|
-
algorithm: "ed25519";
|
|
152
|
-
canonicalization: "jcs";
|
|
153
|
-
}>;
|
|
128
|
+
}, z.core.$strict>;
|
|
154
129
|
/**
|
|
155
130
|
* A signed release of an `alia/*` model revision.
|
|
156
131
|
*
|
|
@@ -159,19 +134,11 @@ export declare const aliaReleaseSignatureSchema: z.ZodObject<{
|
|
|
159
134
|
* Alia release key and an existing attestation co-sign the same document without
|
|
160
135
|
* either being retrofitted later.
|
|
161
136
|
*/
|
|
162
|
-
export declare const aliaModelReleaseManifestSchema: z.
|
|
163
|
-
/** See `version.ts`: an ingestion payload is a whole message on the wire. */
|
|
137
|
+
export declare const aliaModelReleaseManifestSchema: z.ZodObject<{
|
|
164
138
|
schemaVersion: z.ZodLiteral<1>;
|
|
165
|
-
/** The release's own identity, so ingestion is idempotent on it. */
|
|
166
139
|
releaseId: z.ZodString;
|
|
167
140
|
issuedAt: z.ZodString;
|
|
168
|
-
|
|
169
|
-
* The revision being released. Carries its OWN `schemaVersion`, like
|
|
170
|
-
* `billingProfileSchema` inside `accountBillingStateSchema`: the manifest's
|
|
171
|
-
* version governs the manifest and the revision's governs the revision,
|
|
172
|
-
* which is two versions of two things rather than two versions of one.
|
|
173
|
-
*/
|
|
174
|
-
revision: z.ZodEffects<z.ZodObject<{
|
|
141
|
+
revision: z.ZodObject<{
|
|
175
142
|
schemaVersion: z.ZodLiteral<1>;
|
|
176
143
|
revisionId: z.ZodString;
|
|
177
144
|
modelId: z.ZodString;
|
|
@@ -187,142 +154,33 @@ export declare const aliaModelReleaseManifestSchema: z.ZodEffects<z.ZodObject<{
|
|
|
187
154
|
score: z.ZodString;
|
|
188
155
|
evaluatedAt: z.ZodOptional<z.ZodString>;
|
|
189
156
|
reportUrl: z.ZodOptional<z.ZodString>;
|
|
190
|
-
},
|
|
191
|
-
score: string;
|
|
192
|
-
suite: string;
|
|
193
|
-
metric: string;
|
|
194
|
-
evaluatedAt?: string | undefined;
|
|
195
|
-
reportUrl?: string | undefined;
|
|
196
|
-
}, {
|
|
197
|
-
score: string;
|
|
198
|
-
suite: string;
|
|
199
|
-
metric: string;
|
|
200
|
-
evaluatedAt?: string | undefined;
|
|
201
|
-
reportUrl?: string | undefined;
|
|
202
|
-
}>, "many">>;
|
|
157
|
+
}, z.core.$strict>>>;
|
|
203
158
|
safety: z.ZodOptional<z.ZodObject<{
|
|
204
159
|
safetyCardUrl: z.ZodOptional<z.ZodString>;
|
|
205
|
-
contentFilteringDefault: z.ZodEnum<
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
|
|
209
|
-
|
|
210
|
-
knownLimitations:
|
|
211
|
-
provenanceMarking:
|
|
212
|
-
|
|
213
|
-
|
|
214
|
-
|
|
215
|
-
|
|
216
|
-
|
|
217
|
-
|
|
218
|
-
|
|
219
|
-
}, "strip", z.ZodTypeAny, {
|
|
220
|
-
schemaVersion: 1;
|
|
221
|
-
revision: string;
|
|
222
|
-
reference: string;
|
|
223
|
-
modelId: string;
|
|
224
|
-
revisionId: string;
|
|
225
|
-
releasedAt: string;
|
|
226
|
-
evaluations: {
|
|
227
|
-
score: string;
|
|
228
|
-
suite: string;
|
|
229
|
-
metric: string;
|
|
230
|
-
evaluatedAt?: string | undefined;
|
|
231
|
-
reportUrl?: string | undefined;
|
|
232
|
-
}[];
|
|
233
|
-
retiredAt?: string | undefined;
|
|
234
|
-
artifactDigest?: string | undefined;
|
|
235
|
-
modelCardUrl?: string | undefined;
|
|
236
|
-
safety?: {
|
|
237
|
-
contentFilteringDefault: "strict" | "none" | "provider_default";
|
|
238
|
-
knownLimitations: string[];
|
|
239
|
-
provenanceMarking: "none" | "visible_watermark" | "invisible_watermark" | "c2pa";
|
|
240
|
-
safetyCardUrl?: string | undefined;
|
|
241
|
-
} | undefined;
|
|
242
|
-
}, {
|
|
243
|
-
schemaVersion: 1;
|
|
244
|
-
revision: string;
|
|
245
|
-
reference: string;
|
|
246
|
-
modelId: string;
|
|
247
|
-
revisionId: string;
|
|
248
|
-
releasedAt: string;
|
|
249
|
-
retiredAt?: string | undefined;
|
|
250
|
-
artifactDigest?: string | undefined;
|
|
251
|
-
modelCardUrl?: string | undefined;
|
|
252
|
-
evaluations?: {
|
|
253
|
-
score: string;
|
|
254
|
-
suite: string;
|
|
255
|
-
metric: string;
|
|
256
|
-
evaluatedAt?: string | undefined;
|
|
257
|
-
reportUrl?: string | undefined;
|
|
258
|
-
}[] | undefined;
|
|
259
|
-
safety?: {
|
|
260
|
-
contentFilteringDefault: "strict" | "none" | "provider_default";
|
|
261
|
-
provenanceMarking: "none" | "visible_watermark" | "invisible_watermark" | "c2pa";
|
|
262
|
-
safetyCardUrl?: string | undefined;
|
|
263
|
-
knownLimitations?: string[] | undefined;
|
|
264
|
-
} | undefined;
|
|
265
|
-
}>, {
|
|
266
|
-
schemaVersion: 1;
|
|
267
|
-
revision: string;
|
|
268
|
-
reference: string;
|
|
269
|
-
modelId: string;
|
|
270
|
-
revisionId: string;
|
|
271
|
-
releasedAt: string;
|
|
272
|
-
evaluations: {
|
|
273
|
-
score: string;
|
|
274
|
-
suite: string;
|
|
275
|
-
metric: string;
|
|
276
|
-
evaluatedAt?: string | undefined;
|
|
277
|
-
reportUrl?: string | undefined;
|
|
278
|
-
}[];
|
|
279
|
-
retiredAt?: string | undefined;
|
|
280
|
-
artifactDigest?: string | undefined;
|
|
281
|
-
modelCardUrl?: string | undefined;
|
|
282
|
-
safety?: {
|
|
283
|
-
contentFilteringDefault: "strict" | "none" | "provider_default";
|
|
284
|
-
knownLimitations: string[];
|
|
285
|
-
provenanceMarking: "none" | "visible_watermark" | "invisible_watermark" | "c2pa";
|
|
286
|
-
safetyCardUrl?: string | undefined;
|
|
287
|
-
} | undefined;
|
|
288
|
-
}, {
|
|
289
|
-
schemaVersion: 1;
|
|
290
|
-
revision: string;
|
|
291
|
-
reference: string;
|
|
292
|
-
modelId: string;
|
|
293
|
-
revisionId: string;
|
|
294
|
-
releasedAt: string;
|
|
295
|
-
retiredAt?: string | undefined;
|
|
296
|
-
artifactDigest?: string | undefined;
|
|
297
|
-
modelCardUrl?: string | undefined;
|
|
298
|
-
evaluations?: {
|
|
299
|
-
score: string;
|
|
300
|
-
suite: string;
|
|
301
|
-
metric: string;
|
|
302
|
-
evaluatedAt?: string | undefined;
|
|
303
|
-
reportUrl?: string | undefined;
|
|
304
|
-
}[] | undefined;
|
|
305
|
-
safety?: {
|
|
306
|
-
contentFilteringDefault: "strict" | "none" | "provider_default";
|
|
307
|
-
provenanceMarking: "none" | "visible_watermark" | "invisible_watermark" | "c2pa";
|
|
308
|
-
safetyCardUrl?: string | undefined;
|
|
309
|
-
knownLimitations?: string[] | undefined;
|
|
310
|
-
} | undefined;
|
|
311
|
-
}>;
|
|
312
|
-
/** On the MODEL rather than the revision in the catalogue, so carried here. */
|
|
160
|
+
contentFilteringDefault: z.ZodEnum<{
|
|
161
|
+
none: "none";
|
|
162
|
+
strict: "strict";
|
|
163
|
+
provider_default: "provider_default";
|
|
164
|
+
}>;
|
|
165
|
+
knownLimitations: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
166
|
+
provenanceMarking: z.ZodEnum<{
|
|
167
|
+
none: "none";
|
|
168
|
+
visible_watermark: "visible_watermark";
|
|
169
|
+
invisible_watermark: "invisible_watermark";
|
|
170
|
+
c2pa: "c2pa";
|
|
171
|
+
}>;
|
|
172
|
+
}, z.core.$strict>>;
|
|
173
|
+
}, z.core.$strip>;
|
|
313
174
|
provenance: z.ZodObject<{
|
|
314
|
-
releaseKind: z.ZodEnum<
|
|
175
|
+
releaseKind: z.ZodEnum<{
|
|
176
|
+
first_party_original: "first_party_original";
|
|
177
|
+
first_party_derived: "first_party_derived";
|
|
178
|
+
open_weight: "open_weight";
|
|
179
|
+
third_party_hosted: "third_party_hosted";
|
|
180
|
+
}>;
|
|
315
181
|
baseModelId: z.ZodOptional<z.ZodString>;
|
|
316
182
|
trainingOrganization: z.ZodOptional<z.ZodString>;
|
|
317
|
-
},
|
|
318
|
-
releaseKind: "first_party_original" | "first_party_derived" | "open_weight" | "third_party_hosted";
|
|
319
|
-
baseModelId?: string | undefined;
|
|
320
|
-
trainingOrganization?: string | undefined;
|
|
321
|
-
}, {
|
|
322
|
-
releaseKind: "first_party_original" | "first_party_derived" | "open_weight" | "third_party_hosted";
|
|
323
|
-
baseModelId?: string | undefined;
|
|
324
|
-
trainingOrganization?: string | undefined;
|
|
325
|
-
}>;
|
|
183
|
+
}, z.core.$strict>;
|
|
326
184
|
license: z.ZodObject<{
|
|
327
185
|
licenseId: z.ZodString;
|
|
328
186
|
displayName: z.ZodString;
|
|
@@ -330,280 +188,25 @@ export declare const aliaModelReleaseManifestSchema: z.ZodEffects<z.ZodObject<{
|
|
|
330
188
|
commercialUseAllowed: z.ZodBoolean;
|
|
331
189
|
requiresAttribution: z.ZodBoolean;
|
|
332
190
|
acceptableUsePolicyUrl: z.ZodOptional<z.ZodString>;
|
|
333
|
-
},
|
|
334
|
-
displayName: string;
|
|
335
|
-
licenseId: string;
|
|
336
|
-
commercialUseAllowed: boolean;
|
|
337
|
-
requiresAttribution: boolean;
|
|
338
|
-
url?: string | undefined;
|
|
339
|
-
acceptableUsePolicyUrl?: string | undefined;
|
|
340
|
-
}, {
|
|
341
|
-
displayName: string;
|
|
342
|
-
licenseId: string;
|
|
343
|
-
commercialUseAllowed: boolean;
|
|
344
|
-
requiresAttribution: boolean;
|
|
345
|
-
url?: string | undefined;
|
|
346
|
-
acceptableUsePolicyUrl?: string | undefined;
|
|
347
|
-
}>;
|
|
191
|
+
}, z.core.$strict>;
|
|
348
192
|
artifacts: z.ZodArray<z.ZodObject<{
|
|
349
|
-
/** Path within the release, e.g. `model-00001-of-00004.safetensors`. */
|
|
350
193
|
path: z.ZodString;
|
|
351
194
|
digest: z.ZodString;
|
|
352
195
|
sizeBytes: z.ZodNumber;
|
|
353
196
|
mediaType: z.ZodOptional<z.ZodString>;
|
|
354
|
-
},
|
|
355
|
-
path: string;
|
|
356
|
-
digest: string;
|
|
357
|
-
sizeBytes: number;
|
|
358
|
-
mediaType?: string | undefined;
|
|
359
|
-
}, {
|
|
360
|
-
path: string;
|
|
361
|
-
digest: string;
|
|
362
|
-
sizeBytes: number;
|
|
363
|
-
mediaType?: string | undefined;
|
|
364
|
-
}>, "many">;
|
|
197
|
+
}, z.core.$strict>>;
|
|
365
198
|
signatures: z.ZodArray<z.ZodObject<{
|
|
366
|
-
algorithm: z.ZodEnum<
|
|
367
|
-
|
|
368
|
-
|
|
199
|
+
algorithm: z.ZodEnum<{
|
|
200
|
+
ed25519: "ed25519";
|
|
201
|
+
}>;
|
|
202
|
+
canonicalization: z.ZodEnum<{
|
|
203
|
+
jcs: "jcs";
|
|
204
|
+
}>;
|
|
369
205
|
keyId: z.ZodString;
|
|
370
|
-
/**
|
|
371
|
-
* Unpadded base64url. Exactly 86 characters, which is a 64-byte Ed25519
|
|
372
|
-
* signature — the one algorithm above. A second algorithm moves this length
|
|
373
|
-
* into a refinement keyed on `algorithm`.
|
|
374
|
-
*/
|
|
375
206
|
signature: z.ZodString;
|
|
376
207
|
signedAt: z.ZodString;
|
|
377
|
-
},
|
|
378
|
-
|
|
379
|
-
keyId: string;
|
|
380
|
-
signedAt: string;
|
|
381
|
-
algorithm: "ed25519";
|
|
382
|
-
canonicalization: "jcs";
|
|
383
|
-
}, {
|
|
384
|
-
signature: string;
|
|
385
|
-
keyId: string;
|
|
386
|
-
signedAt: string;
|
|
387
|
-
algorithm: "ed25519";
|
|
388
|
-
canonicalization: "jcs";
|
|
389
|
-
}>, "many">;
|
|
390
|
-
}, "strict", z.ZodTypeAny, {
|
|
391
|
-
schemaVersion: 1;
|
|
392
|
-
revision: {
|
|
393
|
-
schemaVersion: 1;
|
|
394
|
-
revision: string;
|
|
395
|
-
reference: string;
|
|
396
|
-
modelId: string;
|
|
397
|
-
revisionId: string;
|
|
398
|
-
releasedAt: string;
|
|
399
|
-
evaluations: {
|
|
400
|
-
score: string;
|
|
401
|
-
suite: string;
|
|
402
|
-
metric: string;
|
|
403
|
-
evaluatedAt?: string | undefined;
|
|
404
|
-
reportUrl?: string | undefined;
|
|
405
|
-
}[];
|
|
406
|
-
retiredAt?: string | undefined;
|
|
407
|
-
artifactDigest?: string | undefined;
|
|
408
|
-
modelCardUrl?: string | undefined;
|
|
409
|
-
safety?: {
|
|
410
|
-
contentFilteringDefault: "strict" | "none" | "provider_default";
|
|
411
|
-
knownLimitations: string[];
|
|
412
|
-
provenanceMarking: "none" | "visible_watermark" | "invisible_watermark" | "c2pa";
|
|
413
|
-
safetyCardUrl?: string | undefined;
|
|
414
|
-
} | undefined;
|
|
415
|
-
};
|
|
416
|
-
issuedAt: string;
|
|
417
|
-
signatures: {
|
|
418
|
-
signature: string;
|
|
419
|
-
keyId: string;
|
|
420
|
-
signedAt: string;
|
|
421
|
-
algorithm: "ed25519";
|
|
422
|
-
canonicalization: "jcs";
|
|
423
|
-
}[];
|
|
424
|
-
license: {
|
|
425
|
-
displayName: string;
|
|
426
|
-
licenseId: string;
|
|
427
|
-
commercialUseAllowed: boolean;
|
|
428
|
-
requiresAttribution: boolean;
|
|
429
|
-
url?: string | undefined;
|
|
430
|
-
acceptableUsePolicyUrl?: string | undefined;
|
|
431
|
-
};
|
|
432
|
-
provenance: {
|
|
433
|
-
releaseKind: "first_party_original" | "first_party_derived" | "open_weight" | "third_party_hosted";
|
|
434
|
-
baseModelId?: string | undefined;
|
|
435
|
-
trainingOrganization?: string | undefined;
|
|
436
|
-
};
|
|
437
|
-
releaseId: string;
|
|
438
|
-
artifacts: {
|
|
439
|
-
path: string;
|
|
440
|
-
digest: string;
|
|
441
|
-
sizeBytes: number;
|
|
442
|
-
mediaType?: string | undefined;
|
|
443
|
-
}[];
|
|
444
|
-
}, {
|
|
445
|
-
schemaVersion: 1;
|
|
446
|
-
revision: {
|
|
447
|
-
schemaVersion: 1;
|
|
448
|
-
revision: string;
|
|
449
|
-
reference: string;
|
|
450
|
-
modelId: string;
|
|
451
|
-
revisionId: string;
|
|
452
|
-
releasedAt: string;
|
|
453
|
-
retiredAt?: string | undefined;
|
|
454
|
-
artifactDigest?: string | undefined;
|
|
455
|
-
modelCardUrl?: string | undefined;
|
|
456
|
-
evaluations?: {
|
|
457
|
-
score: string;
|
|
458
|
-
suite: string;
|
|
459
|
-
metric: string;
|
|
460
|
-
evaluatedAt?: string | undefined;
|
|
461
|
-
reportUrl?: string | undefined;
|
|
462
|
-
}[] | undefined;
|
|
463
|
-
safety?: {
|
|
464
|
-
contentFilteringDefault: "strict" | "none" | "provider_default";
|
|
465
|
-
provenanceMarking: "none" | "visible_watermark" | "invisible_watermark" | "c2pa";
|
|
466
|
-
safetyCardUrl?: string | undefined;
|
|
467
|
-
knownLimitations?: string[] | undefined;
|
|
468
|
-
} | undefined;
|
|
469
|
-
};
|
|
470
|
-
issuedAt: string;
|
|
471
|
-
signatures: {
|
|
472
|
-
signature: string;
|
|
473
|
-
keyId: string;
|
|
474
|
-
signedAt: string;
|
|
475
|
-
algorithm: "ed25519";
|
|
476
|
-
canonicalization: "jcs";
|
|
477
|
-
}[];
|
|
478
|
-
license: {
|
|
479
|
-
displayName: string;
|
|
480
|
-
licenseId: string;
|
|
481
|
-
commercialUseAllowed: boolean;
|
|
482
|
-
requiresAttribution: boolean;
|
|
483
|
-
url?: string | undefined;
|
|
484
|
-
acceptableUsePolicyUrl?: string | undefined;
|
|
485
|
-
};
|
|
486
|
-
provenance: {
|
|
487
|
-
releaseKind: "first_party_original" | "first_party_derived" | "open_weight" | "third_party_hosted";
|
|
488
|
-
baseModelId?: string | undefined;
|
|
489
|
-
trainingOrganization?: string | undefined;
|
|
490
|
-
};
|
|
491
|
-
releaseId: string;
|
|
492
|
-
artifacts: {
|
|
493
|
-
path: string;
|
|
494
|
-
digest: string;
|
|
495
|
-
sizeBytes: number;
|
|
496
|
-
mediaType?: string | undefined;
|
|
497
|
-
}[];
|
|
498
|
-
}>, {
|
|
499
|
-
schemaVersion: 1;
|
|
500
|
-
revision: {
|
|
501
|
-
schemaVersion: 1;
|
|
502
|
-
revision: string;
|
|
503
|
-
reference: string;
|
|
504
|
-
modelId: string;
|
|
505
|
-
revisionId: string;
|
|
506
|
-
releasedAt: string;
|
|
507
|
-
evaluations: {
|
|
508
|
-
score: string;
|
|
509
|
-
suite: string;
|
|
510
|
-
metric: string;
|
|
511
|
-
evaluatedAt?: string | undefined;
|
|
512
|
-
reportUrl?: string | undefined;
|
|
513
|
-
}[];
|
|
514
|
-
retiredAt?: string | undefined;
|
|
515
|
-
artifactDigest?: string | undefined;
|
|
516
|
-
modelCardUrl?: string | undefined;
|
|
517
|
-
safety?: {
|
|
518
|
-
contentFilteringDefault: "strict" | "none" | "provider_default";
|
|
519
|
-
knownLimitations: string[];
|
|
520
|
-
provenanceMarking: "none" | "visible_watermark" | "invisible_watermark" | "c2pa";
|
|
521
|
-
safetyCardUrl?: string | undefined;
|
|
522
|
-
} | undefined;
|
|
523
|
-
};
|
|
524
|
-
issuedAt: string;
|
|
525
|
-
signatures: {
|
|
526
|
-
signature: string;
|
|
527
|
-
keyId: string;
|
|
528
|
-
signedAt: string;
|
|
529
|
-
algorithm: "ed25519";
|
|
530
|
-
canonicalization: "jcs";
|
|
531
|
-
}[];
|
|
532
|
-
license: {
|
|
533
|
-
displayName: string;
|
|
534
|
-
licenseId: string;
|
|
535
|
-
commercialUseAllowed: boolean;
|
|
536
|
-
requiresAttribution: boolean;
|
|
537
|
-
url?: string | undefined;
|
|
538
|
-
acceptableUsePolicyUrl?: string | undefined;
|
|
539
|
-
};
|
|
540
|
-
provenance: {
|
|
541
|
-
releaseKind: "first_party_original" | "first_party_derived" | "open_weight" | "third_party_hosted";
|
|
542
|
-
baseModelId?: string | undefined;
|
|
543
|
-
trainingOrganization?: string | undefined;
|
|
544
|
-
};
|
|
545
|
-
releaseId: string;
|
|
546
|
-
artifacts: {
|
|
547
|
-
path: string;
|
|
548
|
-
digest: string;
|
|
549
|
-
sizeBytes: number;
|
|
550
|
-
mediaType?: string | undefined;
|
|
551
|
-
}[];
|
|
552
|
-
}, {
|
|
553
|
-
schemaVersion: 1;
|
|
554
|
-
revision: {
|
|
555
|
-
schemaVersion: 1;
|
|
556
|
-
revision: string;
|
|
557
|
-
reference: string;
|
|
558
|
-
modelId: string;
|
|
559
|
-
revisionId: string;
|
|
560
|
-
releasedAt: string;
|
|
561
|
-
retiredAt?: string | undefined;
|
|
562
|
-
artifactDigest?: string | undefined;
|
|
563
|
-
modelCardUrl?: string | undefined;
|
|
564
|
-
evaluations?: {
|
|
565
|
-
score: string;
|
|
566
|
-
suite: string;
|
|
567
|
-
metric: string;
|
|
568
|
-
evaluatedAt?: string | undefined;
|
|
569
|
-
reportUrl?: string | undefined;
|
|
570
|
-
}[] | undefined;
|
|
571
|
-
safety?: {
|
|
572
|
-
contentFilteringDefault: "strict" | "none" | "provider_default";
|
|
573
|
-
provenanceMarking: "none" | "visible_watermark" | "invisible_watermark" | "c2pa";
|
|
574
|
-
safetyCardUrl?: string | undefined;
|
|
575
|
-
knownLimitations?: string[] | undefined;
|
|
576
|
-
} | undefined;
|
|
577
|
-
};
|
|
578
|
-
issuedAt: string;
|
|
579
|
-
signatures: {
|
|
580
|
-
signature: string;
|
|
581
|
-
keyId: string;
|
|
582
|
-
signedAt: string;
|
|
583
|
-
algorithm: "ed25519";
|
|
584
|
-
canonicalization: "jcs";
|
|
585
|
-
}[];
|
|
586
|
-
license: {
|
|
587
|
-
displayName: string;
|
|
588
|
-
licenseId: string;
|
|
589
|
-
commercialUseAllowed: boolean;
|
|
590
|
-
requiresAttribution: boolean;
|
|
591
|
-
url?: string | undefined;
|
|
592
|
-
acceptableUsePolicyUrl?: string | undefined;
|
|
593
|
-
};
|
|
594
|
-
provenance: {
|
|
595
|
-
releaseKind: "first_party_original" | "first_party_derived" | "open_weight" | "third_party_hosted";
|
|
596
|
-
baseModelId?: string | undefined;
|
|
597
|
-
trainingOrganization?: string | undefined;
|
|
598
|
-
};
|
|
599
|
-
releaseId: string;
|
|
600
|
-
artifacts: {
|
|
601
|
-
path: string;
|
|
602
|
-
digest: string;
|
|
603
|
-
sizeBytes: number;
|
|
604
|
-
mediaType?: string | undefined;
|
|
605
|
-
}[];
|
|
606
|
-
}>;
|
|
208
|
+
}, z.core.$strict>>;
|
|
209
|
+
}, z.core.$strict>;
|
|
607
210
|
export type AliaReleaseArtifact = z.infer<typeof aliaReleaseArtifactSchema>;
|
|
608
211
|
export type AliaReleaseSignature = z.infer<typeof aliaReleaseSignatureSchema>;
|
|
609
212
|
export type AliaModelReleaseManifest = z.infer<typeof aliaModelReleaseManifestSchema>;
|