@oxy.so/contracts 4.21.0 → 4.23.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 (38) hide show
  1. package/dist/cjs/client/contentClaims.js +139 -0
  2. package/dist/cjs/client/index.js +21 -3
  3. package/dist/cjs/client/products.js +33 -11
  4. package/dist/cjs/contentClaims.js +246 -0
  5. package/dist/cjs/index.js +3 -1
  6. package/dist/cjs/products/billing.js +1 -0
  7. package/dist/cjs/products/checkout.js +14 -1
  8. package/dist/cjs/products/plans.js +18 -2
  9. package/dist/cjs/userResponse.js +8 -1
  10. package/dist/esm/client/contentClaims.js +134 -0
  11. package/dist/esm/client/index.js +2 -1
  12. package/dist/esm/client/products.js +32 -10
  13. package/dist/esm/contentClaims.js +229 -0
  14. package/dist/esm/index.js +2 -1
  15. package/dist/esm/products/billing.js +1 -0
  16. package/dist/esm/products/checkout.js +13 -0
  17. package/dist/esm/products/plans.js +17 -1
  18. package/dist/esm/userResponse.js +8 -1
  19. package/dist/types/client/contentClaims.d.ts +106 -0
  20. package/dist/types/client/index.d.ts +2 -1
  21. package/dist/types/client/products.d.ts +43 -10
  22. package/dist/types/client/safety.d.ts +1 -1
  23. package/dist/types/contentClaims.d.ts +383 -0
  24. package/dist/types/email/messages.d.ts +2 -2
  25. package/dist/types/externalIdentity.d.ts +45 -12
  26. package/dist/types/index.d.ts +2 -1
  27. package/dist/types/inference/aliaModelRelease.d.ts +8 -8
  28. package/dist/types/inference/catalogue.d.ts +4 -4
  29. package/dist/types/inference/inbox.d.ts +4 -4
  30. package/dist/types/inference/modelDocumentation.d.ts +16 -16
  31. package/dist/types/products/billing.d.ts +8 -0
  32. package/dist/types/products/checkout.d.ts +36 -0
  33. package/dist/types/products/plans.d.ts +102 -5
  34. package/dist/types/safety.d.ts +77 -50
  35. package/dist/types/sessionStatus.d.ts +4 -4
  36. package/dist/types/updates.d.ts +6 -6
  37. package/dist/types/userResponse.d.ts +145 -9
  38. package/package.json +1 -1
@@ -74,6 +74,13 @@ export declare const resolveExternalIdentityResponseSchema: z.ZodEffects<z.ZodOb
74
74
  accountCategories: z.ZodOptional<z.ZodEffects<z.ZodArray<z.ZodEnum<["news", "politics", "business", "startup", "finance", "crypto", "marketplace", "retail", "real_estate", "agency", "landlord", "cooperative", "architecture", "technology", "software", "ai", "security", "automation", "science", "education", "books", "health", "fitness", "sports", "gaming", "music", "film", "podcast", "art", "photography", "comedy", "food", "travel", "fashion", "home_garden", "diy", "automotive", "animals", "family", "nonprofit", "government", "community", "activism", "environment", "religion", "other"]>, "many">, ("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")[], ("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")[]>>;
75
75
  character: z.ZodOptional<z.ZodType<import("./avatarCharacter").AvatarCharacter, z.ZodTypeDef, unknown>>;
76
76
  relationship: z.ZodOptional<z.ZodType<import("./userResponse").UserRelationship, z.ZodTypeDef, import("./userResponse").UserRelationship>>;
77
+ userPreferences: z.ZodOptional<z.ZodObject<{
78
+ displayCurrency: z.ZodOptional<z.ZodEnum<["USD", "EUR", "FAIR"]>>;
79
+ }, "strip", z.ZodUnknown, z.objectOutputType<{
80
+ displayCurrency: z.ZodOptional<z.ZodEnum<["USD", "EUR", "FAIR"]>>;
81
+ }, z.ZodUnknown, "strip">, z.objectInputType<{
82
+ displayCurrency: z.ZodOptional<z.ZodEnum<["USD", "EUR", "FAIR"]>>;
83
+ }, z.ZodUnknown, "strip">>>;
77
84
  themePreference: z.ZodOptional<z.ZodType<import("./userResponse").ThemePreference, z.ZodTypeDef, import("./userResponse").ThemePreference>>;
78
85
  personalization: z.ZodOptional<z.ZodObject<{
79
86
  mentionMono: z.ZodObject<{
@@ -144,6 +151,13 @@ export declare const resolveExternalIdentityResponseSchema: z.ZodEffects<z.ZodOb
144
151
  accountCategories: z.ZodOptional<z.ZodEffects<z.ZodArray<z.ZodEnum<["news", "politics", "business", "startup", "finance", "crypto", "marketplace", "retail", "real_estate", "agency", "landlord", "cooperative", "architecture", "technology", "software", "ai", "security", "automation", "science", "education", "books", "health", "fitness", "sports", "gaming", "music", "film", "podcast", "art", "photography", "comedy", "food", "travel", "fashion", "home_garden", "diy", "automotive", "animals", "family", "nonprofit", "government", "community", "activism", "environment", "religion", "other"]>, "many">, ("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")[], ("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")[]>>;
145
152
  character: z.ZodOptional<z.ZodType<import("./avatarCharacter").AvatarCharacter, z.ZodTypeDef, unknown>>;
146
153
  relationship: z.ZodOptional<z.ZodType<import("./userResponse").UserRelationship, z.ZodTypeDef, import("./userResponse").UserRelationship>>;
154
+ userPreferences: z.ZodOptional<z.ZodObject<{
155
+ displayCurrency: z.ZodOptional<z.ZodEnum<["USD", "EUR", "FAIR"]>>;
156
+ }, "strip", z.ZodUnknown, z.objectOutputType<{
157
+ displayCurrency: z.ZodOptional<z.ZodEnum<["USD", "EUR", "FAIR"]>>;
158
+ }, z.ZodUnknown, "strip">, z.objectInputType<{
159
+ displayCurrency: z.ZodOptional<z.ZodEnum<["USD", "EUR", "FAIR"]>>;
160
+ }, z.ZodUnknown, "strip">>>;
147
161
  themePreference: z.ZodOptional<z.ZodType<import("./userResponse").ThemePreference, z.ZodTypeDef, import("./userResponse").ThemePreference>>;
148
162
  personalization: z.ZodOptional<z.ZodObject<{
149
163
  mentionMono: z.ZodObject<{
@@ -214,6 +228,13 @@ export declare const resolveExternalIdentityResponseSchema: z.ZodEffects<z.ZodOb
214
228
  accountCategories: z.ZodOptional<z.ZodEffects<z.ZodArray<z.ZodEnum<["news", "politics", "business", "startup", "finance", "crypto", "marketplace", "retail", "real_estate", "agency", "landlord", "cooperative", "architecture", "technology", "software", "ai", "security", "automation", "science", "education", "books", "health", "fitness", "sports", "gaming", "music", "film", "podcast", "art", "photography", "comedy", "food", "travel", "fashion", "home_garden", "diy", "automotive", "animals", "family", "nonprofit", "government", "community", "activism", "environment", "religion", "other"]>, "many">, ("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")[], ("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")[]>>;
215
229
  character: z.ZodOptional<z.ZodType<import("./avatarCharacter").AvatarCharacter, z.ZodTypeDef, unknown>>;
216
230
  relationship: z.ZodOptional<z.ZodType<import("./userResponse").UserRelationship, z.ZodTypeDef, import("./userResponse").UserRelationship>>;
231
+ userPreferences: z.ZodOptional<z.ZodObject<{
232
+ displayCurrency: z.ZodOptional<z.ZodEnum<["USD", "EUR", "FAIR"]>>;
233
+ }, "strip", z.ZodUnknown, z.objectOutputType<{
234
+ displayCurrency: z.ZodOptional<z.ZodEnum<["USD", "EUR", "FAIR"]>>;
235
+ }, z.ZodUnknown, "strip">, z.objectInputType<{
236
+ displayCurrency: z.ZodOptional<z.ZodEnum<["USD", "EUR", "FAIR"]>>;
237
+ }, z.ZodUnknown, "strip">>>;
217
238
  themePreference: z.ZodOptional<z.ZodType<import("./userResponse").ThemePreference, z.ZodTypeDef, import("./userResponse").ThemePreference>>;
218
239
  personalization: z.ZodOptional<z.ZodObject<{
219
240
  mentionMono: z.ZodObject<{
@@ -339,14 +360,17 @@ export declare const resolveExternalIdentityResponseSchema: z.ZodEffects<z.ZodOb
339
360
  publicKey?: string | undefined;
340
361
  verified?: boolean | undefined;
341
362
  did?: string | undefined;
342
- _id?: string | undefined;
343
- phone?: string | undefined;
363
+ relationship?: import("./userResponse").UserRelationship | undefined;
344
364
  address?: string | undefined;
365
+ phone?: string | undefined;
366
+ _id?: string | undefined;
345
367
  birthday?: string | undefined;
346
368
  dateOfBirth?: string | undefined;
347
369
  isAdult?: boolean | undefined;
348
370
  languages?: string[] | undefined;
349
- relationship?: import("./userResponse").UserRelationship | undefined;
371
+ userPreferences?: z.objectOutputType<{
372
+ displayCurrency: z.ZodOptional<z.ZodEnum<["USD", "EUR", "FAIR"]>>;
373
+ }, z.ZodUnknown, "strip"> | undefined;
350
374
  themePreference?: import("./userResponse").ThemePreference | undefined;
351
375
  personalization?: {
352
376
  mentionMono: {
@@ -400,14 +424,17 @@ export declare const resolveExternalIdentityResponseSchema: z.ZodEffects<z.ZodOb
400
424
  publicKey?: string | undefined;
401
425
  verified?: boolean | undefined;
402
426
  did?: string | undefined;
403
- _id?: string | undefined;
404
- phone?: string | undefined;
427
+ relationship?: import("./userResponse").UserRelationship | undefined;
405
428
  address?: string | undefined;
429
+ phone?: string | undefined;
430
+ _id?: string | undefined;
406
431
  birthday?: string | undefined;
407
432
  dateOfBirth?: string | undefined;
408
433
  isAdult?: boolean | undefined;
409
434
  languages?: string[] | undefined;
410
- relationship?: import("./userResponse").UserRelationship | undefined;
435
+ userPreferences?: z.objectInputType<{
436
+ displayCurrency: z.ZodOptional<z.ZodEnum<["USD", "EUR", "FAIR"]>>;
437
+ }, z.ZodUnknown, "strip"> | undefined;
411
438
  themePreference?: import("./userResponse").ThemePreference | undefined;
412
439
  personalization?: {
413
440
  mentionMono: {
@@ -461,14 +488,17 @@ export declare const resolveExternalIdentityResponseSchema: z.ZodEffects<z.ZodOb
461
488
  publicKey?: string | undefined;
462
489
  verified?: boolean | undefined;
463
490
  did?: string | undefined;
464
- _id?: string | undefined;
465
- phone?: string | undefined;
491
+ relationship?: import("./userResponse").UserRelationship | undefined;
466
492
  address?: string | undefined;
493
+ phone?: string | undefined;
494
+ _id?: string | undefined;
467
495
  birthday?: string | undefined;
468
496
  dateOfBirth?: string | undefined;
469
497
  isAdult?: boolean | undefined;
470
498
  languages?: string[] | undefined;
471
- relationship?: import("./userResponse").UserRelationship | undefined;
499
+ userPreferences?: z.objectOutputType<{
500
+ displayCurrency: z.ZodOptional<z.ZodEnum<["USD", "EUR", "FAIR"]>>;
501
+ }, z.ZodUnknown, "strip"> | undefined;
472
502
  themePreference?: import("./userResponse").ThemePreference | undefined;
473
503
  personalization?: {
474
504
  mentionMono: {
@@ -522,14 +552,17 @@ export declare const resolveExternalIdentityResponseSchema: z.ZodEffects<z.ZodOb
522
552
  publicKey?: string | undefined;
523
553
  verified?: boolean | undefined;
524
554
  did?: string | undefined;
525
- _id?: string | undefined;
526
- phone?: string | undefined;
555
+ relationship?: import("./userResponse").UserRelationship | undefined;
527
556
  address?: string | undefined;
557
+ phone?: string | undefined;
558
+ _id?: string | undefined;
528
559
  birthday?: string | undefined;
529
560
  dateOfBirth?: string | undefined;
530
561
  isAdult?: boolean | undefined;
531
562
  languages?: string[] | undefined;
532
- relationship?: import("./userResponse").UserRelationship | undefined;
563
+ userPreferences?: z.objectInputType<{
564
+ displayCurrency: z.ZodOptional<z.ZodEnum<["USD", "EUR", "FAIR"]>>;
565
+ }, z.ZodUnknown, "strip"> | undefined;
533
566
  themePreference?: import("./userResponse").ThemePreference | undefined;
534
567
  personalization?: {
535
568
  mentionMono: {
@@ -133,9 +133,10 @@ export { meteredGenerationSchema, type MeteredGeneration } from './inference/eco
133
133
  export { canonicalCapabilityJson, inputSatisfiesCapabilityLimits, isLoopbackOrigin, } from './capabilityBindings';
134
134
  export * from './agentKeys';
135
135
  export { productSubscriptionSummarySchema, productSubscriptionsResponseSchema, subscriptionCreditGrantSchema, subscriptionCreditGrantsResponseSchema, cancelProductSubscriptionSchema, productSubscriptionCancellationResultSchema, type ProductSubscriptionSummary, type SubscriptionCreditGrant, type ProductSubscriptionCancellationResult, } from './products/billing';
136
- export { personalPlanDisplayPriceSchema, personalPlanCatalogueSchema, type PersonalPlanCatalogue, } from './products/plans';
136
+ export { personalPlanDisplayPriceSchema, personalPlanCatalogueSchema, productPlanCatalogueSchema, type ProductPlanCatalogue, type PersonalPlanCatalogue, } from './products/plans';
137
137
  export * from './products/checkout';
138
138
  export * from './organizations';
139
139
  export * from './safety';
140
140
  export { serviceTokenScopesSchema, serviceTokenOptionsSchema, type ServiceTokenOptions, } from './serviceToken';
141
141
  export * from './applicationRoles';
142
+ export * from './contentClaims';
@@ -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;
@@ -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;
@@ -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
  }>;
@@ -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;
@@ -21,6 +21,7 @@ export declare const productSubscriptionSummarySchema: z.ZodObject<{
21
21
  }>;
22
22
  cancelAtPeriodEnd: z.ZodBoolean;
23
23
  canCancel: z.ZodBoolean;
24
+ canRenew: z.ZodOptional<z.ZodBoolean>;
24
25
  offers: z.ZodArray<z.ZodObject<{
25
26
  segmentId: z.ZodString;
26
27
  offerId: z.ZodString;
@@ -110,6 +111,7 @@ export declare const productSubscriptionSummarySchema: z.ZodObject<{
110
111
  displayName: string;
111
112
  }[];
112
113
  }[];
114
+ canRenew?: boolean | undefined;
113
115
  }, {
114
116
  status: "active" | "incomplete" | "canceled" | "incomplete_expired" | "past_due" | "paused" | "trialing" | "unpaid";
115
117
  sourceId: string;
@@ -135,6 +137,7 @@ export declare const productSubscriptionSummarySchema: z.ZodObject<{
135
137
  displayName: string;
136
138
  }[];
137
139
  }[];
140
+ canRenew?: boolean | undefined;
138
141
  }>;
139
142
  export declare const productSubscriptionsResponseSchema: z.ZodObject<{
140
143
  subscriptions: z.ZodArray<z.ZodObject<{
@@ -158,6 +161,7 @@ export declare const productSubscriptionsResponseSchema: z.ZodObject<{
158
161
  }>;
159
162
  cancelAtPeriodEnd: z.ZodBoolean;
160
163
  canCancel: z.ZodBoolean;
164
+ canRenew: z.ZodOptional<z.ZodBoolean>;
161
165
  offers: z.ZodArray<z.ZodObject<{
162
166
  segmentId: z.ZodString;
163
167
  offerId: z.ZodString;
@@ -247,6 +251,7 @@ export declare const productSubscriptionsResponseSchema: z.ZodObject<{
247
251
  displayName: string;
248
252
  }[];
249
253
  }[];
254
+ canRenew?: boolean | undefined;
250
255
  }, {
251
256
  status: "active" | "incomplete" | "canceled" | "incomplete_expired" | "past_due" | "paused" | "trialing" | "unpaid";
252
257
  sourceId: string;
@@ -272,6 +277,7 @@ export declare const productSubscriptionsResponseSchema: z.ZodObject<{
272
277
  displayName: string;
273
278
  }[];
274
279
  }[];
280
+ canRenew?: boolean | undefined;
275
281
  }>, "many">;
276
282
  }, "strict", z.ZodTypeAny, {
277
283
  subscriptions: {
@@ -299,6 +305,7 @@ export declare const productSubscriptionsResponseSchema: z.ZodObject<{
299
305
  displayName: string;
300
306
  }[];
301
307
  }[];
308
+ canRenew?: boolean | undefined;
302
309
  }[];
303
310
  }, {
304
311
  subscriptions: {
@@ -326,6 +333,7 @@ export declare const productSubscriptionsResponseSchema: z.ZodObject<{
326
333
  displayName: string;
327
334
  }[];
328
335
  }[];
336
+ canRenew?: boolean | undefined;
329
337
  }[];
330
338
  }>;
331
339
  export declare const subscriptionCreditGrantSchema: z.ZodEffects<z.ZodObject<{
@@ -58,3 +58,39 @@ export declare const personalPlanCheckoutResultSchema: z.ZodDiscriminatedUnion<"
58
58
  }>]>;
59
59
  export type PersonalPlanCheckoutRequest = z.infer<typeof personalPlanCheckoutRequestSchema>;
60
60
  export type PersonalPlanCheckoutResult = z.infer<typeof personalPlanCheckoutResultSchema>;
61
+ /** Explicit individual product offer; still owned and paid through Oxy. */
62
+ export declare const productPlanCheckoutRequestSchema: z.ZodObject<{
63
+ expectedSubjectAccountId: z.ZodBranded<z.ZodString, "OxyAccountId">;
64
+ offerId: z.ZodString;
65
+ offerVersion: z.ZodNumber;
66
+ idempotencyKey: z.ZodString;
67
+ } & {
68
+ productId: z.ZodString;
69
+ }, "strict", z.ZodTypeAny, {
70
+ idempotencyKey: string;
71
+ productId: string;
72
+ offerId: string;
73
+ offerVersion: number;
74
+ expectedSubjectAccountId: string & z.BRAND<"OxyAccountId">;
75
+ }, {
76
+ idempotencyKey: string;
77
+ productId: string;
78
+ offerId: string;
79
+ offerVersion: number;
80
+ expectedSubjectAccountId: string;
81
+ }>;
82
+ export type ProductPlanCheckoutRequest = z.infer<typeof productPlanCheckoutRequestSchema>;
83
+ export declare const productSubscriptionRenewalRequestSchema: z.ZodObject<{
84
+ expectedSubjectAccountId: z.ZodBranded<z.ZodString, "OxyAccountId">;
85
+ sourceId: z.ZodString;
86
+ idempotencyKey: z.ZodString;
87
+ }, "strict", z.ZodTypeAny, {
88
+ sourceId: string;
89
+ idempotencyKey: string;
90
+ expectedSubjectAccountId: string & z.BRAND<"OxyAccountId">;
91
+ }, {
92
+ sourceId: string;
93
+ idempotencyKey: string;
94
+ expectedSubjectAccountId: string;
95
+ }>;
96
+ export type ProductSubscriptionRenewalRequest = z.infer<typeof productSubscriptionRenewalRequestSchema>;