@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.
Files changed (61) hide show
  1. package/dist/cjs/accountAccess.js +72 -0
  2. package/dist/cjs/agency.js +112 -1
  3. package/dist/cjs/applicationRoles.js +211 -0
  4. package/dist/cjs/client/check.js +9 -0
  5. package/dist/cjs/client/contentClaims.js +139 -0
  6. package/dist/cjs/client/index.js +37 -1
  7. package/dist/cjs/client/safety.js +183 -2
  8. package/dist/cjs/client/signIn.js +2 -0
  9. package/dist/cjs/contentClaims.js +246 -0
  10. package/dist/cjs/index.js +14 -3
  11. package/dist/cjs/safety.js +430 -1
  12. package/dist/cjs/serviceToken.js +14 -0
  13. package/dist/esm/accountAccess.js +69 -0
  14. package/dist/esm/agency.js +111 -0
  15. package/dist/esm/applicationRoles.js +207 -0
  16. package/dist/esm/client/check.js +8 -0
  17. package/dist/esm/client/contentClaims.js +134 -0
  18. package/dist/esm/client/index.js +2 -1
  19. package/dist/esm/client/safety.js +183 -2
  20. package/dist/esm/client/signIn.js +2 -0
  21. package/dist/esm/contentClaims.js +229 -0
  22. package/dist/esm/index.js +5 -1
  23. package/dist/esm/safety.js +423 -0
  24. package/dist/esm/serviceToken.js +11 -0
  25. package/dist/types/accountAccess.d.ts +128 -0
  26. package/dist/types/accountEmail.d.ts +2 -2
  27. package/dist/types/agency.d.ts +327 -2
  28. package/dist/types/agentKeys.d.ts +6 -6
  29. package/dist/types/applicationRoles.d.ts +438 -0
  30. package/dist/types/client/agentKeys.d.ts +2 -2
  31. package/dist/types/client/check.d.ts +3 -0
  32. package/dist/types/client/contentClaims.d.ts +106 -0
  33. package/dist/types/client/deviceSession.d.ts +1 -1
  34. package/dist/types/client/index.d.ts +2 -1
  35. package/dist/types/client/safety.d.ts +204 -4
  36. package/dist/types/client/signIn.d.ts +1 -1
  37. package/dist/types/contentClaims.d.ts +383 -0
  38. package/dist/types/deviceSession.d.ts +4 -4
  39. package/dist/types/email/messages.d.ts +4 -4
  40. package/dist/types/externalIdentity.d.ts +16 -16
  41. package/dist/types/index.d.ts +6 -2
  42. package/dist/types/inference/accountBilling.d.ts +2 -2
  43. package/dist/types/inference/aliaModelRelease.d.ts +8 -8
  44. package/dist/types/inference/catalogue.d.ts +26 -26
  45. package/dist/types/inference/inbox.d.ts +4 -4
  46. package/dist/types/inference/modelDocumentation.d.ts +16 -16
  47. package/dist/types/inference/providerConnection.d.ts +4 -4
  48. package/dist/types/inference/realtime.d.ts +74 -74
  49. package/dist/types/inference/request.d.ts +60 -60
  50. package/dist/types/inference/usage.d.ts +4 -4
  51. package/dist/types/products/access.d.ts +4 -4
  52. package/dist/types/safety.d.ts +2374 -2
  53. package/dist/types/serviceToken.d.ts +11 -0
  54. package/dist/types/sessionStatus.d.ts +4 -4
  55. package/dist/types/signIn.d.ts +5 -5
  56. package/dist/types/updates.d.ts +6 -6
  57. package/dist/types/userResponse.d.ts +8 -8
  58. package/package.json +5 -20
  59. package/dist/cjs/.tsbuildinfo +0 -1
  60. package/dist/esm/.tsbuildinfo +0 -1
  61. package/dist/types/.tsbuildinfo +0 -1
@@ -328,7 +328,6 @@ export declare const resolveExternalIdentityResponseSchema: z.ZodEffects<z.ZodOb
328
328
  sourceUserId: string;
329
329
  }[];
330
330
  redirectedUserIds: string[];
331
- email?: string | undefined;
332
331
  color?: string | null | undefined;
333
332
  kind?: "organization" | "personal" | "project" | "bot" | "channel" | undefined;
334
333
  avatar?: string | null | undefined;
@@ -336,17 +335,18 @@ export declare const resolveExternalIdentityResponseSchema: z.ZodEffects<z.ZodOb
336
335
  bio?: string | undefined;
337
336
  accountCategories?: ("business" | "nonprofit" | "community" | "other" | "news" | "politics" | "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" | "government" | "activism" | "environment" | "religion")[] | undefined;
338
337
  character?: import("./avatarCharacter").AvatarCharacter | undefined;
338
+ email?: string | undefined;
339
339
  publicKey?: string | undefined;
340
340
  verified?: boolean | undefined;
341
341
  did?: string | undefined;
342
- _id?: string | undefined;
343
- phone?: string | undefined;
342
+ relationship?: import("./userResponse").UserRelationship | undefined;
344
343
  address?: string | undefined;
344
+ phone?: string | undefined;
345
+ _id?: string | undefined;
345
346
  birthday?: string | undefined;
346
347
  dateOfBirth?: string | undefined;
347
348
  isAdult?: boolean | undefined;
348
349
  languages?: string[] | undefined;
349
- relationship?: import("./userResponse").UserRelationship | undefined;
350
350
  themePreference?: import("./userResponse").ThemePreference | undefined;
351
351
  personalization?: {
352
352
  mentionMono: {
@@ -389,7 +389,6 @@ export declare const resolveExternalIdentityResponseSchema: z.ZodEffects<z.ZodOb
389
389
  sourceUserId: string;
390
390
  }[];
391
391
  redirectedUserIds: string[];
392
- email?: string | undefined;
393
392
  color?: string | null | undefined;
394
393
  kind?: "organization" | "personal" | "project" | "bot" | "channel" | undefined;
395
394
  avatar?: string | null | undefined;
@@ -397,17 +396,18 @@ export declare const resolveExternalIdentityResponseSchema: z.ZodEffects<z.ZodOb
397
396
  bio?: string | undefined;
398
397
  accountCategories?: ("business" | "nonprofit" | "community" | "other" | "news" | "politics" | "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" | "government" | "activism" | "environment" | "religion")[] | undefined;
399
398
  character?: unknown;
399
+ email?: string | undefined;
400
400
  publicKey?: string | undefined;
401
401
  verified?: boolean | undefined;
402
402
  did?: string | undefined;
403
- _id?: string | undefined;
404
- phone?: string | undefined;
403
+ relationship?: import("./userResponse").UserRelationship | undefined;
405
404
  address?: string | undefined;
405
+ phone?: string | undefined;
406
+ _id?: string | undefined;
406
407
  birthday?: string | undefined;
407
408
  dateOfBirth?: string | undefined;
408
409
  isAdult?: boolean | undefined;
409
410
  languages?: string[] | undefined;
410
- relationship?: import("./userResponse").UserRelationship | undefined;
411
411
  themePreference?: import("./userResponse").ThemePreference | undefined;
412
412
  personalization?: {
413
413
  mentionMono: {
@@ -450,7 +450,6 @@ export declare const resolveExternalIdentityResponseSchema: z.ZodEffects<z.ZodOb
450
450
  sourceUserId: string;
451
451
  }[];
452
452
  redirectedUserIds: string[];
453
- email?: string | undefined;
454
453
  color?: string | null | undefined;
455
454
  kind?: "organization" | "personal" | "project" | "bot" | "channel" | undefined;
456
455
  avatar?: string | null | undefined;
@@ -458,17 +457,18 @@ export declare const resolveExternalIdentityResponseSchema: z.ZodEffects<z.ZodOb
458
457
  bio?: string | undefined;
459
458
  accountCategories?: ("business" | "nonprofit" | "community" | "other" | "news" | "politics" | "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" | "government" | "activism" | "environment" | "religion")[] | undefined;
460
459
  character?: import("./avatarCharacter").AvatarCharacter | undefined;
460
+ email?: string | undefined;
461
461
  publicKey?: string | undefined;
462
462
  verified?: boolean | undefined;
463
463
  did?: string | undefined;
464
- _id?: string | undefined;
465
- phone?: string | undefined;
464
+ relationship?: import("./userResponse").UserRelationship | undefined;
466
465
  address?: string | undefined;
466
+ phone?: string | undefined;
467
+ _id?: string | undefined;
467
468
  birthday?: string | undefined;
468
469
  dateOfBirth?: string | undefined;
469
470
  isAdult?: boolean | undefined;
470
471
  languages?: string[] | undefined;
471
- relationship?: import("./userResponse").UserRelationship | undefined;
472
472
  themePreference?: import("./userResponse").ThemePreference | undefined;
473
473
  personalization?: {
474
474
  mentionMono: {
@@ -511,7 +511,6 @@ export declare const resolveExternalIdentityResponseSchema: z.ZodEffects<z.ZodOb
511
511
  sourceUserId: string;
512
512
  }[];
513
513
  redirectedUserIds: string[];
514
- email?: string | undefined;
515
514
  color?: string | null | undefined;
516
515
  kind?: "organization" | "personal" | "project" | "bot" | "channel" | undefined;
517
516
  avatar?: string | null | undefined;
@@ -519,17 +518,18 @@ export declare const resolveExternalIdentityResponseSchema: z.ZodEffects<z.ZodOb
519
518
  bio?: string | undefined;
520
519
  accountCategories?: ("business" | "nonprofit" | "community" | "other" | "news" | "politics" | "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" | "government" | "activism" | "environment" | "religion")[] | undefined;
521
520
  character?: unknown;
521
+ email?: string | undefined;
522
522
  publicKey?: string | undefined;
523
523
  verified?: boolean | undefined;
524
524
  did?: string | undefined;
525
- _id?: string | undefined;
526
- phone?: string | undefined;
525
+ relationship?: import("./userResponse").UserRelationship | undefined;
527
526
  address?: string | undefined;
527
+ phone?: string | undefined;
528
+ _id?: string | undefined;
528
529
  birthday?: string | undefined;
529
530
  dateOfBirth?: string | undefined;
530
531
  isAdult?: boolean | undefined;
531
532
  languages?: string[] | undefined;
532
- relationship?: import("./userResponse").UserRelationship | undefined;
533
533
  themePreference?: import("./userResponse").ThemePreference | undefined;
534
534
  personalization?: {
535
535
  mentionMono: {
@@ -102,8 +102,8 @@ export { PRODUCT_PLAN_STATUSES, productPlanStatusSchema, LIVE_PRODUCT_PLAN_STATU
102
102
  export type { ProductPlanStatus, PlanAllowance, ProductPlan, PayAsYouGoEntitlement, CostCenterStatus, CostCenter, CostCenterSpend, ProductEntitlement, } from './inference/entitlement';
103
103
  export { INFERENCE_ECONOMIC_TREATMENTS, inferenceEconomicTreatmentSchema, PROVIDER_COST_SOURCES, providerCostSourceSchema, costCenterUsageSchema, } from './inference/economics';
104
104
  export type { InferenceEconomicTreatment, ProviderCostSource, CostCenterUsage, } from './inference/economics';
105
- export { AUTONOMY_LEVELS, CAPABILITY_PACKAGES, autonomyLevelSchema, capabilityPackageSchema, actorRefSchema, executionActorRefSchema, foregroundExecutionAuthorizationInputSchema, resourceRefSchema, toolGrantOverrideSchema, grantLimitSchema, capabilityCatalogBindingSchema, executionAuthorizationRefSchema, capabilityCoordinatorSchema, capabilityTicketRequestSchema, delegationGrantSchema, automationTriggerSchema, automationActorSelectionSchema, automationDataFlowSchema, automationDefinitionSchema, capabilityTicketClaimsSchema, invocationPrincipalSchema, policyDecisionSchema, auditResultSchema, auditEventSchema, catalogToolSchema, catalogEventSchema, appCapabilityCatalogSchema, catalogRegistrationSchema, normalizedAppEventSchema, } from './agency';
106
- export type { AutonomyLevel, CapabilityPackage, ActorRef, ExecutionActorRef, ForegroundExecutionAuthorizationInput, ResourceRef, ToolGrantOverride, GrantLimit, CapabilityCatalogBinding, ExecutionAuthorizationRef, CapabilityCoordinator, CapabilityTicketRequest, DelegationGrant, AutomationTrigger, AutomationActorSelection, AutomationDefinition, CapabilityTicketClaims, InvocationPrincipal, PolicyDecision, AuditEvent, CatalogTool, CatalogEvent, AppCapabilityCatalog, CatalogRegistration, NormalizedAppEvent, } from './agency';
105
+ export { AUTONOMY_LEVELS, CAPABILITY_PACKAGES, autonomyLevelSchema, capabilityPackageSchema, actorRefSchema, executionActorRefSchema, foregroundExecutionAuthorizationInputSchema, resourceRefSchema, toolGrantOverrideSchema, grantLimitSchema, capabilityCatalogBindingSchema, executionAuthorizationRefSchema, capabilityCoordinatorSchema, capabilityTicketRequestSchema, delegationGrantSchema, AGENT_REQUESTER_CEILING_AUTONOMY, agentRequesterCeilingWriteSchema, agentRequesterCeilingSchema, automationTriggerSchema, automationActorSelectionSchema, automationDataFlowSchema, automationDefinitionSchema, capabilityTicketClaimsSchema, invocationPrincipalSchema, policyDecisionSchema, auditResultSchema, auditEventSchema, catalogToolSchema, catalogEventSchema, catalogFeatureSchema, CATALOG_INTERNAL_TRANSPORTS, appCapabilityCatalogSchema, catalogRegistrationSchema, normalizedAppEventSchema, } from './agency';
106
+ export type { AutonomyLevel, CapabilityPackage, ActorRef, ExecutionActorRef, ForegroundExecutionAuthorizationInput, ResourceRef, ToolGrantOverride, GrantLimit, CapabilityCatalogBinding, ExecutionAuthorizationRef, CapabilityCoordinator, CapabilityTicketRequest, DelegationGrant, AutomationTrigger, AutomationActorSelection, AutomationDefinition, CapabilityTicketClaims, InvocationPrincipal, PolicyDecision, AuditEvent, CatalogTool, CatalogEvent, AppCapabilityCatalog, CatalogFeature, CatalogInternalTransport, AgentRequesterCeilingWrite, AgentRequesterCeiling, AgentRequesterCeilingAutonomy, CatalogRegistration, NormalizedAppEvent, } from './agency';
107
107
  export { catalogInvocationPathParameters, catalogInvocationsOverlap, catalogInvocationTemplatesEquivalent, findOverlappingCatalogInvocations, matchCatalogInvocation, resolveCatalogInvocation, } from './capabilityInvocation';
108
108
  export type { CatalogInvocationMatch, CatalogInvocationTemplate, ResolvedCatalogInvocation, } from './capabilityInvocation';
109
109
  export { emailContextAddressSchema, emailContextMailboxSchema, emailContextMessageSchema, emailAgentContextSchema, } from './emailAgentContext';
@@ -113,6 +113,7 @@ export type { InboxComposeRequest, InboxDailyBriefRequest, InboxDailyBriefRespon
113
113
  export * from './externalIdentity';
114
114
  export * from './linkedAccounts';
115
115
  export * from './federationInstanceFetch';
116
+ export * from './accountAccess';
116
117
  export * from './notifications';
117
118
  export * from './email/messages';
118
119
  export * from './stickers';
@@ -136,3 +137,6 @@ export { personalPlanDisplayPriceSchema, personalPlanCatalogueSchema, type Perso
136
137
  export * from './products/checkout';
137
138
  export * from './organizations';
138
139
  export * from './safety';
140
+ export { serviceTokenScopesSchema, serviceTokenOptionsSchema, type ServiceTokenOptions, } from './serviceToken';
141
+ export * from './applicationRoles';
142
+ export * from './contentClaims';
@@ -251,6 +251,7 @@ export declare const accountBillingStateSchema: z.ZodObject<{
251
251
  }>;
252
252
  }, "strict", z.ZodTypeAny, {
253
253
  accountId: string & z.BRAND<"OxyAccountId">;
254
+ inherited: boolean;
254
255
  schemaVersion: 1;
255
256
  profile: {
256
257
  status: "active" | "suspended" | "closed";
@@ -268,9 +269,9 @@ export declare const accountBillingStateSchema: z.ZodObject<{
268
269
  };
269
270
  };
270
271
  billingAccountId: string & z.BRAND<"OxyAccountId">;
271
- inherited: boolean;
272
272
  }, {
273
273
  accountId: string;
274
+ inherited: boolean;
274
275
  schemaVersion: 1;
275
276
  profile: {
276
277
  status: "active" | "suspended" | "closed";
@@ -288,7 +289,6 @@ export declare const accountBillingStateSchema: z.ZodObject<{
288
289
  };
289
290
  };
290
291
  billingAccountId: string;
291
- inherited: boolean;
292
292
  }>;
293
293
  export declare const BILLING_INVOICE_STATUSES: readonly ["draft", "open", "paid", "void"];
294
294
  export declare const billingInvoiceStatusSchema: z.ZodEnum<["draft", "open", "paid", "void"]>;
@@ -219,9 +219,9 @@ export declare const aliaModelReleaseManifestSchema: z.ZodEffects<z.ZodObject<{
219
219
  }, "strip", z.ZodTypeAny, {
220
220
  schemaVersion: 1;
221
221
  revision: string;
222
+ reference: string;
222
223
  modelId: string;
223
224
  revisionId: string;
224
- reference: string;
225
225
  releasedAt: string;
226
226
  evaluations: {
227
227
  score: string;
@@ -242,9 +242,9 @@ export declare const aliaModelReleaseManifestSchema: z.ZodEffects<z.ZodObject<{
242
242
  }, {
243
243
  schemaVersion: 1;
244
244
  revision: string;
245
+ reference: string;
245
246
  modelId: string;
246
247
  revisionId: string;
247
- reference: string;
248
248
  releasedAt: string;
249
249
  retiredAt?: string | undefined;
250
250
  artifactDigest?: string | undefined;
@@ -265,9 +265,9 @@ export declare const aliaModelReleaseManifestSchema: z.ZodEffects<z.ZodObject<{
265
265
  }>, {
266
266
  schemaVersion: 1;
267
267
  revision: string;
268
+ reference: string;
268
269
  modelId: string;
269
270
  revisionId: string;
270
- reference: string;
271
271
  releasedAt: string;
272
272
  evaluations: {
273
273
  score: string;
@@ -288,9 +288,9 @@ export declare const aliaModelReleaseManifestSchema: z.ZodEffects<z.ZodObject<{
288
288
  }, {
289
289
  schemaVersion: 1;
290
290
  revision: string;
291
+ reference: string;
291
292
  modelId: string;
292
293
  revisionId: string;
293
- reference: string;
294
294
  releasedAt: string;
295
295
  retiredAt?: string | undefined;
296
296
  artifactDigest?: string | undefined;
@@ -392,9 +392,9 @@ export declare const aliaModelReleaseManifestSchema: z.ZodEffects<z.ZodObject<{
392
392
  revision: {
393
393
  schemaVersion: 1;
394
394
  revision: string;
395
+ reference: string;
395
396
  modelId: string;
396
397
  revisionId: string;
397
- reference: string;
398
398
  releasedAt: string;
399
399
  evaluations: {
400
400
  score: string;
@@ -446,9 +446,9 @@ export declare const aliaModelReleaseManifestSchema: z.ZodEffects<z.ZodObject<{
446
446
  revision: {
447
447
  schemaVersion: 1;
448
448
  revision: string;
449
+ reference: string;
449
450
  modelId: string;
450
451
  revisionId: string;
451
- reference: string;
452
452
  releasedAt: string;
453
453
  retiredAt?: string | undefined;
454
454
  artifactDigest?: string | undefined;
@@ -500,9 +500,9 @@ export declare const aliaModelReleaseManifestSchema: z.ZodEffects<z.ZodObject<{
500
500
  revision: {
501
501
  schemaVersion: 1;
502
502
  revision: string;
503
+ reference: string;
503
504
  modelId: string;
504
505
  revisionId: string;
505
- reference: string;
506
506
  releasedAt: string;
507
507
  evaluations: {
508
508
  score: string;
@@ -554,9 +554,9 @@ export declare const aliaModelReleaseManifestSchema: z.ZodEffects<z.ZodObject<{
554
554
  revision: {
555
555
  schemaVersion: 1;
556
556
  revision: string;
557
+ reference: string;
557
558
  modelId: string;
558
559
  revisionId: string;
559
- reference: string;
560
560
  releasedAt: string;
561
561
  retiredAt?: string | undefined;
562
562
  artifactDigest?: string | undefined;
@@ -338,22 +338,22 @@ export declare const modelDeprecationSchema: z.ZodEffects<z.ZodObject<{
338
338
  announcedAt: z.ZodOptional<z.ZodString>;
339
339
  sunsetAt: z.ZodOptional<z.ZodString>;
340
340
  }, "strict", z.ZodTypeAny, {
341
- status: "active" | "deprecated" | "retired";
341
+ status: "active" | "retired" | "deprecated";
342
342
  replacementModelReference?: string | undefined;
343
343
  announcedAt?: string | undefined;
344
344
  sunsetAt?: string | undefined;
345
345
  }, {
346
- status: "active" | "deprecated" | "retired";
346
+ status: "active" | "retired" | "deprecated";
347
347
  replacementModelReference?: string | undefined;
348
348
  announcedAt?: string | undefined;
349
349
  sunsetAt?: string | undefined;
350
350
  }>, {
351
- status: "active" | "deprecated" | "retired";
351
+ status: "active" | "retired" | "deprecated";
352
352
  replacementModelReference?: string | undefined;
353
353
  announcedAt?: string | undefined;
354
354
  sunsetAt?: string | undefined;
355
355
  }, {
356
- status: "active" | "deprecated" | "retired";
356
+ status: "active" | "retired" | "deprecated";
357
357
  replacementModelReference?: string | undefined;
358
358
  announcedAt?: string | undefined;
359
359
  sunsetAt?: string | undefined;
@@ -603,22 +603,22 @@ export declare const catalogueModelSchema: z.ZodEffects<z.ZodObject<{
603
603
  announcedAt: z.ZodOptional<z.ZodString>;
604
604
  sunsetAt: z.ZodOptional<z.ZodString>;
605
605
  }, "strict", z.ZodTypeAny, {
606
- status: "active" | "deprecated" | "retired";
606
+ status: "active" | "retired" | "deprecated";
607
607
  replacementModelReference?: string | undefined;
608
608
  announcedAt?: string | undefined;
609
609
  sunsetAt?: string | undefined;
610
610
  }, {
611
- status: "active" | "deprecated" | "retired";
611
+ status: "active" | "retired" | "deprecated";
612
612
  replacementModelReference?: string | undefined;
613
613
  announcedAt?: string | undefined;
614
614
  sunsetAt?: string | undefined;
615
615
  }>, {
616
- status: "active" | "deprecated" | "retired";
616
+ status: "active" | "retired" | "deprecated";
617
617
  replacementModelReference?: string | undefined;
618
618
  announcedAt?: string | undefined;
619
619
  sunsetAt?: string | undefined;
620
620
  }, {
621
- status: "active" | "deprecated" | "retired";
621
+ status: "active" | "retired" | "deprecated";
622
622
  replacementModelReference?: string | undefined;
623
623
  announcedAt?: string | undefined;
624
624
  sunsetAt?: string | undefined;
@@ -663,7 +663,7 @@ export declare const catalogueModelSchema: z.ZodEffects<z.ZodObject<{
663
663
  };
664
664
  currentRevision: string;
665
665
  deprecation: {
666
- status: "active" | "deprecated" | "retired";
666
+ status: "active" | "retired" | "deprecated";
667
667
  replacementModelReference?: string | undefined;
668
668
  announcedAt?: string | undefined;
669
669
  sunsetAt?: string | undefined;
@@ -711,7 +711,7 @@ export declare const catalogueModelSchema: z.ZodEffects<z.ZodObject<{
711
711
  };
712
712
  currentRevision: string;
713
713
  deprecation: {
714
- status: "active" | "deprecated" | "retired";
714
+ status: "active" | "retired" | "deprecated";
715
715
  replacementModelReference?: string | undefined;
716
716
  announcedAt?: string | undefined;
717
717
  sunsetAt?: string | undefined;
@@ -759,7 +759,7 @@ export declare const catalogueModelSchema: z.ZodEffects<z.ZodObject<{
759
759
  };
760
760
  currentRevision: string;
761
761
  deprecation: {
762
- status: "active" | "deprecated" | "retired";
762
+ status: "active" | "retired" | "deprecated";
763
763
  replacementModelReference?: string | undefined;
764
764
  announcedAt?: string | undefined;
765
765
  sunsetAt?: string | undefined;
@@ -807,7 +807,7 @@ export declare const catalogueModelSchema: z.ZodEffects<z.ZodObject<{
807
807
  };
808
808
  currentRevision: string;
809
809
  deprecation: {
810
- status: "active" | "deprecated" | "retired";
810
+ status: "active" | "retired" | "deprecated";
811
811
  replacementModelReference?: string | undefined;
812
812
  announcedAt?: string | undefined;
813
813
  sunsetAt?: string | undefined;
@@ -876,9 +876,9 @@ export declare const modelRevisionSchema: z.ZodEffects<z.ZodObject<{
876
876
  }, "strip", z.ZodTypeAny, {
877
877
  schemaVersion: 1;
878
878
  revision: string;
879
+ reference: string;
879
880
  modelId: string;
880
881
  revisionId: string;
881
- reference: string;
882
882
  releasedAt: string;
883
883
  evaluations: {
884
884
  score: string;
@@ -899,9 +899,9 @@ export declare const modelRevisionSchema: z.ZodEffects<z.ZodObject<{
899
899
  }, {
900
900
  schemaVersion: 1;
901
901
  revision: string;
902
+ reference: string;
902
903
  modelId: string;
903
904
  revisionId: string;
904
- reference: string;
905
905
  releasedAt: string;
906
906
  retiredAt?: string | undefined;
907
907
  artifactDigest?: string | undefined;
@@ -922,9 +922,9 @@ export declare const modelRevisionSchema: z.ZodEffects<z.ZodObject<{
922
922
  }>, {
923
923
  schemaVersion: 1;
924
924
  revision: string;
925
+ reference: string;
925
926
  modelId: string;
926
927
  revisionId: string;
927
- reference: string;
928
928
  releasedAt: string;
929
929
  evaluations: {
930
930
  score: string;
@@ -945,9 +945,9 @@ export declare const modelRevisionSchema: z.ZodEffects<z.ZodObject<{
945
945
  }, {
946
946
  schemaVersion: 1;
947
947
  revision: string;
948
+ reference: string;
948
949
  modelId: string;
949
950
  revisionId: string;
950
- reference: string;
951
951
  releasedAt: string;
952
952
  retiredAt?: string | undefined;
953
953
  artifactDigest?: string | undefined;
@@ -1211,7 +1211,7 @@ export declare const modelDeploymentSchema: z.ZodEffects<z.ZodObject<{
1211
1211
  /** The price version customers are charged under on this route. */
1212
1212
  priceVersionId: z.ZodOptional<z.ZodString>;
1213
1213
  }, "strip", z.ZodTypeAny, {
1214
- status: "active" | "disabled" | "retired" | "degraded";
1214
+ status: "active" | "retired" | "disabled" | "degraded";
1215
1215
  schemaVersion: 2;
1216
1216
  provider: string;
1217
1217
  modelReference: string;
@@ -1255,7 +1255,7 @@ export declare const modelDeploymentSchema: z.ZodEffects<z.ZodObject<{
1255
1255
  maxCostUsd: string & z.BRAND<"ExactDecimal">;
1256
1256
  } | undefined;
1257
1257
  }, {
1258
- status: "active" | "disabled" | "retired" | "degraded";
1258
+ status: "active" | "retired" | "disabled" | "degraded";
1259
1259
  schemaVersion: 2;
1260
1260
  provider: string;
1261
1261
  modelReference: string;
@@ -1299,7 +1299,7 @@ export declare const modelDeploymentSchema: z.ZodEffects<z.ZodObject<{
1299
1299
  maxCostUsd: string;
1300
1300
  } | undefined;
1301
1301
  }>, {
1302
- status: "active" | "disabled" | "retired" | "degraded";
1302
+ status: "active" | "retired" | "disabled" | "degraded";
1303
1303
  schemaVersion: 2;
1304
1304
  provider: string;
1305
1305
  modelReference: string;
@@ -1343,7 +1343,7 @@ export declare const modelDeploymentSchema: z.ZodEffects<z.ZodObject<{
1343
1343
  maxCostUsd: string & z.BRAND<"ExactDecimal">;
1344
1344
  } | undefined;
1345
1345
  }, {
1346
- status: "active" | "disabled" | "retired" | "degraded";
1346
+ status: "active" | "retired" | "disabled" | "degraded";
1347
1347
  schemaVersion: 2;
1348
1348
  provider: string;
1349
1349
  modelReference: string;
@@ -1906,22 +1906,22 @@ export declare const modelCatalogueEntrySchema: z.ZodObject<{
1906
1906
  announcedAt: z.ZodOptional<z.ZodString>;
1907
1907
  sunsetAt: z.ZodOptional<z.ZodString>;
1908
1908
  }, "strict", z.ZodTypeAny, {
1909
- status: "active" | "deprecated" | "retired";
1909
+ status: "active" | "retired" | "deprecated";
1910
1910
  replacementModelReference?: string | undefined;
1911
1911
  announcedAt?: string | undefined;
1912
1912
  sunsetAt?: string | undefined;
1913
1913
  }, {
1914
- status: "active" | "deprecated" | "retired";
1914
+ status: "active" | "retired" | "deprecated";
1915
1915
  replacementModelReference?: string | undefined;
1916
1916
  announcedAt?: string | undefined;
1917
1917
  sunsetAt?: string | undefined;
1918
1918
  }>, {
1919
- status: "active" | "deprecated" | "retired";
1919
+ status: "active" | "retired" | "deprecated";
1920
1920
  replacementModelReference?: string | undefined;
1921
1921
  announcedAt?: string | undefined;
1922
1922
  sunsetAt?: string | undefined;
1923
1923
  }, {
1924
- status: "active" | "deprecated" | "retired";
1924
+ status: "active" | "retired" | "deprecated";
1925
1925
  replacementModelReference?: string | undefined;
1926
1926
  announcedAt?: string | undefined;
1927
1927
  sunsetAt?: string | undefined;
@@ -2013,7 +2013,7 @@ export declare const modelCatalogueEntrySchema: z.ZodObject<{
2013
2013
  };
2014
2014
  currentRevision: string;
2015
2015
  deprecation: {
2016
- status: "active" | "deprecated" | "retired";
2016
+ status: "active" | "retired" | "deprecated";
2017
2017
  replacementModelReference?: string | undefined;
2018
2018
  announcedAt?: string | undefined;
2019
2019
  sunsetAt?: string | undefined;
@@ -2115,7 +2115,7 @@ export declare const modelCatalogueEntrySchema: z.ZodObject<{
2115
2115
  };
2116
2116
  currentRevision: string;
2117
2117
  deprecation: {
2118
- status: "active" | "deprecated" | "retired";
2118
+ status: "active" | "retired" | "deprecated";
2119
2119
  replacementModelReference?: string | undefined;
2120
2120
  announcedAt?: string | undefined;
2121
2121
  sunsetAt?: string | undefined;
@@ -137,7 +137,7 @@ export declare const inboxNaturalSearchResponseSchema: z.ZodObject<{
137
137
  unread?: boolean | undefined;
138
138
  after?: string | undefined;
139
139
  before?: string | undefined;
140
- mailbox?: "inbox" | "sent" | "drafts" | "trash" | "spam" | "archive" | undefined;
140
+ mailbox?: "trash" | "inbox" | "sent" | "drafts" | "spam" | "archive" | undefined;
141
141
  }, {
142
142
  subject?: string | undefined;
143
143
  from?: string | undefined;
@@ -148,7 +148,7 @@ export declare const inboxNaturalSearchResponseSchema: z.ZodObject<{
148
148
  unread?: boolean | undefined;
149
149
  after?: string | undefined;
150
150
  before?: string | undefined;
151
- mailbox?: "inbox" | "sent" | "drafts" | "trash" | "spam" | "archive" | undefined;
151
+ mailbox?: "trash" | "inbox" | "sent" | "drafts" | "spam" | "archive" | undefined;
152
152
  }>;
153
153
  interpretation: z.ZodString;
154
154
  }, "strict", z.ZodTypeAny, {
@@ -162,7 +162,7 @@ export declare const inboxNaturalSearchResponseSchema: z.ZodObject<{
162
162
  unread?: boolean | undefined;
163
163
  after?: string | undefined;
164
164
  before?: string | undefined;
165
- mailbox?: "inbox" | "sent" | "drafts" | "trash" | "spam" | "archive" | undefined;
165
+ mailbox?: "trash" | "inbox" | "sent" | "drafts" | "spam" | "archive" | undefined;
166
166
  };
167
167
  interpretation: string;
168
168
  }, {
@@ -176,7 +176,7 @@ export declare const inboxNaturalSearchResponseSchema: z.ZodObject<{
176
176
  unread?: boolean | undefined;
177
177
  after?: string | undefined;
178
178
  before?: string | undefined;
179
- mailbox?: "inbox" | "sent" | "drafts" | "trash" | "spam" | "archive" | undefined;
179
+ mailbox?: "trash" | "inbox" | "sent" | "drafts" | "spam" | "archive" | undefined;
180
180
  };
181
181
  interpretation: string;
182
182
  }>;