@oxy.so/contracts 1.5.0 → 2.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.
@@ -389,6 +389,7 @@ export declare const aliaModelReleaseManifestSchema: z.ZodEffects<z.ZodObject<{
389
389
  }>, "many">;
390
390
  }, "strict", z.ZodTypeAny, {
391
391
  schemaVersion: 1;
392
+ issuedAt: string;
392
393
  revision: {
393
394
  schemaVersion: 1;
394
395
  revision: string;
@@ -413,7 +414,6 @@ export declare const aliaModelReleaseManifestSchema: z.ZodEffects<z.ZodObject<{
413
414
  safetyCardUrl?: string | undefined;
414
415
  } | undefined;
415
416
  };
416
- issuedAt: string;
417
417
  signatures: {
418
418
  signature: string;
419
419
  signedAt: string;
@@ -443,6 +443,7 @@ export declare const aliaModelReleaseManifestSchema: z.ZodEffects<z.ZodObject<{
443
443
  }[];
444
444
  }, {
445
445
  schemaVersion: 1;
446
+ issuedAt: string;
446
447
  revision: {
447
448
  schemaVersion: 1;
448
449
  revision: string;
@@ -467,7 +468,6 @@ export declare const aliaModelReleaseManifestSchema: z.ZodEffects<z.ZodObject<{
467
468
  knownLimitations?: string[] | undefined;
468
469
  } | undefined;
469
470
  };
470
- issuedAt: string;
471
471
  signatures: {
472
472
  signature: string;
473
473
  signedAt: string;
@@ -497,6 +497,7 @@ export declare const aliaModelReleaseManifestSchema: z.ZodEffects<z.ZodObject<{
497
497
  }[];
498
498
  }>, {
499
499
  schemaVersion: 1;
500
+ issuedAt: string;
500
501
  revision: {
501
502
  schemaVersion: 1;
502
503
  revision: string;
@@ -521,7 +522,6 @@ export declare const aliaModelReleaseManifestSchema: z.ZodEffects<z.ZodObject<{
521
522
  safetyCardUrl?: string | undefined;
522
523
  } | undefined;
523
524
  };
524
- issuedAt: string;
525
525
  signatures: {
526
526
  signature: string;
527
527
  signedAt: string;
@@ -551,6 +551,7 @@ export declare const aliaModelReleaseManifestSchema: z.ZodEffects<z.ZodObject<{
551
551
  }[];
552
552
  }, {
553
553
  schemaVersion: 1;
554
+ issuedAt: string;
554
555
  revision: {
555
556
  schemaVersion: 1;
556
557
  revision: string;
@@ -575,7 +576,6 @@ export declare const aliaModelReleaseManifestSchema: z.ZodEffects<z.ZodObject<{
575
576
  knownLimitations?: string[] | undefined;
576
577
  } | undefined;
577
578
  };
578
- issuedAt: string;
579
579
  signatures: {
580
580
  signature: string;
581
581
  signedAt: string;
@@ -638,6 +638,7 @@ export declare const modelReleaseIngestionRequestSchema: z.ZodObject<{
638
638
  }>, "many">;
639
639
  }, "strict", z.ZodTypeAny, {
640
640
  schemaVersion: 1;
641
+ issuedAt: string;
641
642
  revision: {
642
643
  schemaVersion: 1;
643
644
  revision: string;
@@ -662,7 +663,6 @@ export declare const modelReleaseIngestionRequestSchema: z.ZodObject<{
662
663
  safetyCardUrl?: string | undefined;
663
664
  } | undefined;
664
665
  };
665
- issuedAt: string;
666
666
  signatures: {
667
667
  signature: string;
668
668
  signedAt: string;
@@ -692,6 +692,7 @@ export declare const modelReleaseIngestionRequestSchema: z.ZodObject<{
692
692
  }[];
693
693
  }, {
694
694
  schemaVersion: 1;
695
+ issuedAt: string;
695
696
  revision: {
696
697
  schemaVersion: 1;
697
698
  revision: string;
@@ -716,7 +717,6 @@ export declare const modelReleaseIngestionRequestSchema: z.ZodObject<{
716
717
  knownLimitations?: string[] | undefined;
717
718
  } | undefined;
718
719
  };
719
- issuedAt: string;
720
720
  signatures: {
721
721
  signature: string;
722
722
  signedAt: string;
@@ -746,6 +746,7 @@ export declare const modelReleaseIngestionRequestSchema: z.ZodObject<{
746
746
  }[];
747
747
  }>, {
748
748
  schemaVersion: 1;
749
+ issuedAt: string;
749
750
  revision: {
750
751
  schemaVersion: 1;
751
752
  revision: string;
@@ -770,7 +771,6 @@ export declare const modelReleaseIngestionRequestSchema: z.ZodObject<{
770
771
  safetyCardUrl?: string | undefined;
771
772
  } | undefined;
772
773
  };
773
- issuedAt: string;
774
774
  signatures: {
775
775
  signature: string;
776
776
  signedAt: string;
@@ -800,6 +800,7 @@ export declare const modelReleaseIngestionRequestSchema: z.ZodObject<{
800
800
  }[];
801
801
  }, {
802
802
  schemaVersion: 1;
803
+ issuedAt: string;
803
804
  revision: {
804
805
  schemaVersion: 1;
805
806
  revision: string;
@@ -824,7 +825,6 @@ export declare const modelReleaseIngestionRequestSchema: z.ZodObject<{
824
825
  knownLimitations?: string[] | undefined;
825
826
  } | undefined;
826
827
  };
827
- issuedAt: string;
828
828
  signatures: {
829
829
  signature: string;
830
830
  signedAt: string;
@@ -1059,6 +1059,7 @@ export declare const modelReleaseIngestionRequestSchema: z.ZodObject<{
1059
1059
  };
1060
1060
  manifest: {
1061
1061
  schemaVersion: 1;
1062
+ issuedAt: string;
1062
1063
  revision: {
1063
1064
  schemaVersion: 1;
1064
1065
  revision: string;
@@ -1083,7 +1084,6 @@ export declare const modelReleaseIngestionRequestSchema: z.ZodObject<{
1083
1084
  safetyCardUrl?: string | undefined;
1084
1085
  } | undefined;
1085
1086
  };
1086
- issuedAt: string;
1087
1087
  signatures: {
1088
1088
  signature: string;
1089
1089
  signedAt: string;
@@ -1150,6 +1150,7 @@ export declare const modelReleaseIngestionRequestSchema: z.ZodObject<{
1150
1150
  };
1151
1151
  manifest: {
1152
1152
  schemaVersion: 1;
1153
+ issuedAt: string;
1153
1154
  revision: {
1154
1155
  schemaVersion: 1;
1155
1156
  revision: string;
@@ -1174,7 +1175,6 @@ export declare const modelReleaseIngestionRequestSchema: z.ZodObject<{
1174
1175
  knownLimitations?: string[] | undefined;
1175
1176
  } | undefined;
1176
1177
  };
1177
- issuedAt: string;
1178
1178
  signatures: {
1179
1179
  signature: string;
1180
1180
  signedAt: string;
@@ -1243,8 +1243,8 @@ export declare const modelReleaseIngestionResultSchema: z.ZodObject<{
1243
1243
  ingestedAt: z.ZodString;
1244
1244
  }, "strict", z.ZodTypeAny, {
1245
1245
  schemaVersion: 1;
1246
- revision: string;
1247
1246
  outcome: "ingested" | "already_ingested";
1247
+ revision: string;
1248
1248
  modelId: string;
1249
1249
  reference: string;
1250
1250
  releaseId: string;
@@ -1254,8 +1254,8 @@ export declare const modelReleaseIngestionResultSchema: z.ZodObject<{
1254
1254
  ingestedAt: string;
1255
1255
  }, {
1256
1256
  schemaVersion: 1;
1257
- revision: string;
1258
1257
  outcome: "ingested" | "already_ingested";
1258
+ revision: string;
1259
1259
  modelId: string;
1260
1260
  reference: string;
1261
1261
  releaseId: string;
@@ -855,7 +855,7 @@ export declare const providerConnectionSchema: z.ZodEffects<z.ZodObject<{
855
855
  };
856
856
  provider: string;
857
857
  connectionId: string;
858
- custodyState: "revoked" | "pending" | "ready" | "reconcile";
858
+ custodyState: "pending" | "revoked" | "ready" | "reconcile";
859
859
  upstreamBillsCustomerDirectly: true;
860
860
  credentialHandle?: string | undefined;
861
861
  credentialRevision?: number | undefined;
@@ -885,7 +885,7 @@ export declare const providerConnectionSchema: z.ZodEffects<z.ZodObject<{
885
885
  };
886
886
  provider: string;
887
887
  connectionId: string;
888
- custodyState: "revoked" | "pending" | "ready" | "reconcile";
888
+ custodyState: "pending" | "revoked" | "ready" | "reconcile";
889
889
  upstreamBillsCustomerDirectly: true;
890
890
  credentialHandle?: string | undefined;
891
891
  credentialRevision?: number | undefined;
@@ -915,7 +915,7 @@ export declare const providerConnectionSchema: z.ZodEffects<z.ZodObject<{
915
915
  };
916
916
  provider: string;
917
917
  connectionId: string;
918
- custodyState: "revoked" | "pending" | "ready" | "reconcile";
918
+ custodyState: "pending" | "revoked" | "ready" | "reconcile";
919
919
  upstreamBillsCustomerDirectly: true;
920
920
  credentialHandle?: string | undefined;
921
921
  credentialRevision?: number | undefined;
@@ -945,7 +945,7 @@ export declare const providerConnectionSchema: z.ZodEffects<z.ZodObject<{
945
945
  };
946
946
  provider: string;
947
947
  connectionId: string;
948
- custodyState: "revoked" | "pending" | "ready" | "reconcile";
948
+ custodyState: "pending" | "revoked" | "ready" | "reconcile";
949
949
  upstreamBillsCustomerDirectly: true;
950
950
  credentialHandle?: string | undefined;
951
951
  credentialRevision?: number | undefined;
@@ -82,9 +82,9 @@ export declare const linkedAccountSchema: z.ZodObject<{
82
82
  id: string;
83
83
  createdAt: string;
84
84
  verifiedAt: string;
85
- handle: string;
86
85
  network: "activitypub" | "atproto";
87
86
  actorUri: string;
87
+ handle: string;
88
88
  accountKey: string;
89
89
  host: string;
90
90
  proofMethod: "oauth";
@@ -92,9 +92,9 @@ export declare const linkedAccountSchema: z.ZodObject<{
92
92
  id: string;
93
93
  createdAt: string;
94
94
  verifiedAt: string;
95
- handle: string;
96
95
  network: "activitypub" | "atproto";
97
96
  actorUri: string;
97
+ handle: string;
98
98
  accountKey: string;
99
99
  host: string;
100
100
  proofMethod: "oauth";
@@ -117,9 +117,9 @@ export declare const completeLinkedAccountResponseSchema: z.ZodObject<{
117
117
  id: string;
118
118
  createdAt: string;
119
119
  verifiedAt: string;
120
- handle: string;
121
120
  network: "activitypub" | "atproto";
122
121
  actorUri: string;
122
+ handle: string;
123
123
  accountKey: string;
124
124
  host: string;
125
125
  proofMethod: "oauth";
@@ -127,9 +127,9 @@ export declare const completeLinkedAccountResponseSchema: z.ZodObject<{
127
127
  id: string;
128
128
  createdAt: string;
129
129
  verifiedAt: string;
130
- handle: string;
131
130
  network: "activitypub" | "atproto";
132
131
  actorUri: string;
132
+ handle: string;
133
133
  accountKey: string;
134
134
  host: string;
135
135
  proofMethod: "oauth";
@@ -139,9 +139,9 @@ export declare const completeLinkedAccountResponseSchema: z.ZodObject<{
139
139
  id: string;
140
140
  createdAt: string;
141
141
  verifiedAt: string;
142
- handle: string;
143
142
  network: "activitypub" | "atproto";
144
143
  actorUri: string;
144
+ handle: string;
145
145
  accountKey: string;
146
146
  host: string;
147
147
  proofMethod: "oauth";
@@ -151,9 +151,9 @@ export declare const completeLinkedAccountResponseSchema: z.ZodObject<{
151
151
  id: string;
152
152
  createdAt: string;
153
153
  verifiedAt: string;
154
- handle: string;
155
154
  network: "activitypub" | "atproto";
156
155
  actorUri: string;
156
+ handle: string;
157
157
  accountKey: string;
158
158
  host: string;
159
159
  proofMethod: "oauth";
@@ -177,9 +177,9 @@ export declare const linkedAccountListResponseSchema: z.ZodObject<{
177
177
  id: string;
178
178
  createdAt: string;
179
179
  verifiedAt: string;
180
- handle: string;
181
180
  network: "activitypub" | "atproto";
182
181
  actorUri: string;
182
+ handle: string;
183
183
  accountKey: string;
184
184
  host: string;
185
185
  proofMethod: "oauth";
@@ -187,9 +187,9 @@ export declare const linkedAccountListResponseSchema: z.ZodObject<{
187
187
  id: string;
188
188
  createdAt: string;
189
189
  verifiedAt: string;
190
- handle: string;
191
190
  network: "activitypub" | "atproto";
192
191
  actorUri: string;
192
+ handle: string;
193
193
  accountKey: string;
194
194
  host: string;
195
195
  proofMethod: "oauth";
@@ -199,9 +199,9 @@ export declare const linkedAccountListResponseSchema: z.ZodObject<{
199
199
  id: string;
200
200
  createdAt: string;
201
201
  verifiedAt: string;
202
- handle: string;
203
202
  network: "activitypub" | "atproto";
204
203
  actorUri: string;
204
+ handle: string;
205
205
  accountKey: string;
206
206
  host: string;
207
207
  proofMethod: "oauth";
@@ -211,9 +211,9 @@ export declare const linkedAccountListResponseSchema: z.ZodObject<{
211
211
  id: string;
212
212
  createdAt: string;
213
213
  verifiedAt: string;
214
- handle: string;
215
214
  network: "activitypub" | "atproto";
216
215
  actorUri: string;
216
+ handle: string;
217
217
  accountKey: string;
218
218
  host: string;
219
219
  proofMethod: "oauth";
@@ -244,9 +244,9 @@ export declare const serviceLinkedAccountSchema: z.ZodObject<{
244
244
  id: string;
245
245
  createdAt: string;
246
246
  verifiedAt: string;
247
- handle: string;
248
247
  network: "activitypub" | "atproto";
249
248
  actorUri: string;
249
+ handle: string;
250
250
  accountKey: string;
251
251
  host: string;
252
252
  proofMethod: "oauth";
@@ -255,9 +255,9 @@ export declare const serviceLinkedAccountSchema: z.ZodObject<{
255
255
  id: string;
256
256
  createdAt: string;
257
257
  verifiedAt: string;
258
- handle: string;
259
258
  network: "activitypub" | "atproto";
260
259
  actorUri: string;
260
+ handle: string;
261
261
  accountKey: string;
262
262
  host: string;
263
263
  proofMethod: "oauth";
@@ -284,9 +284,9 @@ export declare const serviceLinkedAccountListResponseSchema: z.ZodObject<{
284
284
  id: string;
285
285
  createdAt: string;
286
286
  verifiedAt: string;
287
- handle: string;
288
287
  network: "activitypub" | "atproto";
289
288
  actorUri: string;
289
+ handle: string;
290
290
  accountKey: string;
291
291
  host: string;
292
292
  proofMethod: "oauth";
@@ -295,9 +295,9 @@ export declare const serviceLinkedAccountListResponseSchema: z.ZodObject<{
295
295
  id: string;
296
296
  createdAt: string;
297
297
  verifiedAt: string;
298
- handle: string;
299
298
  network: "activitypub" | "atproto";
300
299
  actorUri: string;
300
+ handle: string;
301
301
  accountKey: string;
302
302
  host: string;
303
303
  proofMethod: "oauth";
@@ -309,9 +309,9 @@ export declare const serviceLinkedAccountListResponseSchema: z.ZodObject<{
309
309
  id: string;
310
310
  createdAt: string;
311
311
  verifiedAt: string;
312
- handle: string;
313
312
  network: "activitypub" | "atproto";
314
313
  actorUri: string;
314
+ handle: string;
315
315
  accountKey: string;
316
316
  host: string;
317
317
  proofMethod: "oauth";
@@ -323,9 +323,9 @@ export declare const serviceLinkedAccountListResponseSchema: z.ZodObject<{
323
323
  id: string;
324
324
  createdAt: string;
325
325
  verifiedAt: string;
326
- handle: string;
327
326
  network: "activitypub" | "atproto";
328
327
  actorUri: string;
328
+ handle: string;
329
329
  accountKey: string;
330
330
  host: string;
331
331
  proofMethod: "oauth";
@@ -106,10 +106,10 @@ export declare const mcpOAuthClientApplicationSchema: z.ZodObject<{
106
106
  type: "system" | "internal" | "first_party" | "third_party";
107
107
  name: string;
108
108
  id: string;
109
- clientId: string;
110
109
  isOfficial: boolean;
111
110
  isInternal: boolean;
112
111
  scopes: string[];
112
+ clientId: string;
113
113
  description?: string | undefined;
114
114
  icon?: string | undefined;
115
115
  websiteUrl?: string | undefined;
@@ -120,10 +120,10 @@ export declare const mcpOAuthClientApplicationSchema: z.ZodObject<{
120
120
  type: "system" | "internal" | "first_party" | "third_party";
121
121
  name: string;
122
122
  id: string;
123
- clientId: string;
124
123
  isOfficial: boolean;
125
124
  isInternal: boolean;
126
125
  scopes: string[];
126
+ clientId: string;
127
127
  description?: string | undefined;
128
128
  icon?: string | undefined;
129
129
  websiteUrl?: string | undefined;
@@ -215,10 +215,10 @@ export declare const mcpOAuthConsentContextSchema: z.ZodObject<{
215
215
  type: "system" | "internal" | "first_party" | "third_party";
216
216
  name: string;
217
217
  id: string;
218
- clientId: string;
219
218
  isOfficial: boolean;
220
219
  isInternal: boolean;
221
220
  scopes: string[];
221
+ clientId: string;
222
222
  description?: string | undefined;
223
223
  icon?: string | undefined;
224
224
  websiteUrl?: string | undefined;
@@ -229,10 +229,10 @@ export declare const mcpOAuthConsentContextSchema: z.ZodObject<{
229
229
  type: "system" | "internal" | "first_party" | "third_party";
230
230
  name: string;
231
231
  id: string;
232
- clientId: string;
233
232
  isOfficial: boolean;
234
233
  isInternal: boolean;
235
234
  scopes: string[];
235
+ clientId: string;
236
236
  description?: string | undefined;
237
237
  icon?: string | undefined;
238
238
  websiteUrl?: string | undefined;
@@ -423,10 +423,10 @@ export declare const mcpOAuthConsentContextSchema: z.ZodObject<{
423
423
  type: "system" | "internal" | "first_party" | "third_party";
424
424
  name: string;
425
425
  id: string;
426
- clientId: string;
427
426
  isOfficial: boolean;
428
427
  isInternal: boolean;
429
428
  scopes: string[];
429
+ clientId: string;
430
430
  description?: string | undefined;
431
431
  icon?: string | undefined;
432
432
  websiteUrl?: string | undefined;
@@ -471,10 +471,10 @@ export declare const mcpOAuthConsentContextSchema: z.ZodObject<{
471
471
  type: "system" | "internal" | "first_party" | "third_party";
472
472
  name: string;
473
473
  id: string;
474
- clientId: string;
475
474
  isOfficial: boolean;
476
475
  isInternal: boolean;
477
476
  scopes: string[];
477
+ clientId: string;
478
478
  description?: string | undefined;
479
479
  icon?: string | undefined;
480
480
  websiteUrl?: string | undefined;
@@ -510,10 +510,10 @@ export declare const mcpOAuthClientInfoResponseSchema: z.ZodObject<{
510
510
  type: "system" | "internal" | "first_party" | "third_party";
511
511
  name: string;
512
512
  id: string;
513
- clientId: string;
514
513
  isOfficial: boolean;
515
514
  isInternal: boolean;
516
515
  scopes: string[];
516
+ clientId: string;
517
517
  description?: string | undefined;
518
518
  icon?: string | undefined;
519
519
  websiteUrl?: string | undefined;
@@ -524,10 +524,10 @@ export declare const mcpOAuthClientInfoResponseSchema: z.ZodObject<{
524
524
  type: "system" | "internal" | "first_party" | "third_party";
525
525
  name: string;
526
526
  id: string;
527
- clientId: string;
528
527
  isOfficial: boolean;
529
528
  isInternal: boolean;
530
529
  scopes: string[];
530
+ clientId: string;
531
531
  description?: string | undefined;
532
532
  icon?: string | undefined;
533
533
  websiteUrl?: string | undefined;
@@ -540,10 +540,10 @@ export declare const mcpOAuthClientInfoResponseSchema: z.ZodObject<{
540
540
  type: "system" | "internal" | "first_party" | "third_party";
541
541
  name: string;
542
542
  id: string;
543
- clientId: string;
544
543
  isOfficial: boolean;
545
544
  isInternal: boolean;
546
545
  scopes: string[];
546
+ clientId: string;
547
547
  description?: string | undefined;
548
548
  icon?: string | undefined;
549
549
  websiteUrl?: string | undefined;
@@ -556,10 +556,10 @@ export declare const mcpOAuthClientInfoResponseSchema: z.ZodObject<{
556
556
  type: "system" | "internal" | "first_party" | "third_party";
557
557
  name: string;
558
558
  id: string;
559
- clientId: string;
560
559
  isOfficial: boolean;
561
560
  isInternal: boolean;
562
561
  scopes: string[];
562
+ clientId: string;
563
563
  description?: string | undefined;
564
564
  icon?: string | undefined;
565
565
  websiteUrl?: string | undefined;
@@ -590,10 +590,10 @@ export declare const mcpOAuthConsentResponseSchema: z.ZodObject<{
590
590
  type: "system" | "internal" | "first_party" | "third_party";
591
591
  name: string;
592
592
  id: string;
593
- clientId: string;
594
593
  isOfficial: boolean;
595
594
  isInternal: boolean;
596
595
  scopes: string[];
596
+ clientId: string;
597
597
  description?: string | undefined;
598
598
  icon?: string | undefined;
599
599
  websiteUrl?: string | undefined;
@@ -604,10 +604,10 @@ export declare const mcpOAuthConsentResponseSchema: z.ZodObject<{
604
604
  type: "system" | "internal" | "first_party" | "third_party";
605
605
  name: string;
606
606
  id: string;
607
- clientId: string;
608
607
  isOfficial: boolean;
609
608
  isInternal: boolean;
610
609
  scopes: string[];
610
+ clientId: string;
611
611
  description?: string | undefined;
612
612
  icon?: string | undefined;
613
613
  websiteUrl?: string | undefined;
@@ -798,10 +798,10 @@ export declare const mcpOAuthConsentResponseSchema: z.ZodObject<{
798
798
  type: "system" | "internal" | "first_party" | "third_party";
799
799
  name: string;
800
800
  id: string;
801
- clientId: string;
802
801
  isOfficial: boolean;
803
802
  isInternal: boolean;
804
803
  scopes: string[];
804
+ clientId: string;
805
805
  description?: string | undefined;
806
806
  icon?: string | undefined;
807
807
  websiteUrl?: string | undefined;
@@ -846,10 +846,10 @@ export declare const mcpOAuthConsentResponseSchema: z.ZodObject<{
846
846
  type: "system" | "internal" | "first_party" | "third_party";
847
847
  name: string;
848
848
  id: string;
849
- clientId: string;
850
849
  isOfficial: boolean;
851
850
  isInternal: boolean;
852
851
  scopes: string[];
852
+ clientId: string;
853
853
  description?: string | undefined;
854
854
  icon?: string | undefined;
855
855
  websiteUrl?: string | undefined;
@@ -896,10 +896,10 @@ export declare const mcpOAuthConsentResponseSchema: z.ZodObject<{
896
896
  type: "system" | "internal" | "first_party" | "third_party";
897
897
  name: string;
898
898
  id: string;
899
- clientId: string;
900
899
  isOfficial: boolean;
901
900
  isInternal: boolean;
902
901
  scopes: string[];
902
+ clientId: string;
903
903
  description?: string | undefined;
904
904
  icon?: string | undefined;
905
905
  websiteUrl?: string | undefined;
@@ -947,10 +947,10 @@ export declare const mcpOAuthConsentResponseSchema: z.ZodObject<{
947
947
  type: "system" | "internal" | "first_party" | "third_party";
948
948
  name: string;
949
949
  id: string;
950
- clientId: string;
951
950
  isOfficial: boolean;
952
951
  isInternal: boolean;
953
952
  scopes: string[];
953
+ clientId: string;
954
954
  description?: string | undefined;
955
955
  icon?: string | undefined;
956
956
  websiteUrl?: string | undefined;
@@ -180,11 +180,11 @@ export declare const sessionStatusSchema: z.ZodObject<{
180
180
  }, "strip", z.ZodTypeAny, {
181
181
  status: string;
182
182
  expiresAt?: string | undefined;
183
- sessionId?: string | null | undefined;
184
- userId?: string | null | undefined;
185
183
  publicKey?: string | null | undefined;
186
- sessionToken?: string | undefined;
184
+ userId?: string | null | undefined;
185
+ sessionId?: string | null | undefined;
187
186
  authorized?: boolean | undefined;
187
+ sessionToken?: string | undefined;
188
188
  application?: {
189
189
  type: "system" | "internal" | "first_party" | "third_party";
190
190
  name: string;
@@ -205,11 +205,11 @@ export declare const sessionStatusSchema: z.ZodObject<{
205
205
  }, {
206
206
  status: string;
207
207
  expiresAt?: string | undefined;
208
- sessionId?: string | null | undefined;
209
- userId?: string | null | undefined;
210
208
  publicKey?: string | null | undefined;
211
- sessionToken?: string | undefined;
209
+ userId?: string | null | undefined;
210
+ sessionId?: string | null | undefined;
212
211
  authorized?: boolean | undefined;
212
+ sessionToken?: string | undefined;
213
213
  application?: {
214
214
  type: "system" | "internal" | "first_party" | "third_party";
215
215
  name: string;
@@ -1335,7 +1335,6 @@ export declare const deviceLinkedSessionSchema: z.ZodObject<{
1335
1335
  }, z.ZodTypeAny, "passthrough">>>>;
1336
1336
  }, "strip", z.ZodTypeAny, {
1337
1337
  sessionId: string;
1338
- isCurrent?: boolean | undefined;
1339
1338
  user?: z.objectOutputType<{
1340
1339
  /** MongoDB ObjectId as a string. Present on `formatUserResponse` output. */
1341
1340
  id: z.ZodOptional<z.ZodString>;
@@ -1438,9 +1437,9 @@ export declare const deviceLinkedSessionSchema: z.ZodObject<{
1438
1437
  */
1439
1438
  themePreference: z.ZodOptional<z.ZodType<ThemePreference, z.ZodTypeDef, ThemePreference>>;
1440
1439
  }, z.ZodTypeAny, "passthrough"> | null | undefined;
1440
+ isCurrent?: boolean | undefined;
1441
1441
  }, {
1442
1442
  sessionId: string;
1443
- isCurrent?: boolean | undefined;
1444
1443
  user?: z.objectInputType<{
1445
1444
  /** MongoDB ObjectId as a string. Present on `formatUserResponse` output. */
1446
1445
  id: z.ZodOptional<z.ZodString>;
@@ -1543,6 +1542,7 @@ export declare const deviceLinkedSessionSchema: z.ZodObject<{
1543
1542
  */
1544
1543
  themePreference: z.ZodOptional<z.ZodType<ThemePreference, z.ZodTypeDef, ThemePreference>>;
1545
1544
  }, z.ZodTypeAny, "passthrough"> | null | undefined;
1545
+ isCurrent?: boolean | undefined;
1546
1546
  }>;
1547
1547
  export type DeviceLinkedSessionResponse = z.infer<typeof deviceLinkedSessionSchema>;
1548
1548
  /** Wire shape of `GET /session/device/sessions/:sessionId` (an array). */
@@ -1855,7 +1855,6 @@ export declare const deviceLinkedSessionsResponseSchema: z.ZodArray<z.ZodObject<
1855
1855
  }, z.ZodTypeAny, "passthrough">>>>;
1856
1856
  }, "strip", z.ZodTypeAny, {
1857
1857
  sessionId: string;
1858
- isCurrent?: boolean | undefined;
1859
1858
  user?: z.objectOutputType<{
1860
1859
  /** MongoDB ObjectId as a string. Present on `formatUserResponse` output. */
1861
1860
  id: z.ZodOptional<z.ZodString>;
@@ -1958,9 +1957,9 @@ export declare const deviceLinkedSessionsResponseSchema: z.ZodArray<z.ZodObject<
1958
1957
  */
1959
1958
  themePreference: z.ZodOptional<z.ZodType<ThemePreference, z.ZodTypeDef, ThemePreference>>;
1960
1959
  }, z.ZodTypeAny, "passthrough"> | null | undefined;
1960
+ isCurrent?: boolean | undefined;
1961
1961
  }, {
1962
1962
  sessionId: string;
1963
- isCurrent?: boolean | undefined;
1964
1963
  user?: z.objectInputType<{
1965
1964
  /** MongoDB ObjectId as a string. Present on `formatUserResponse` output. */
1966
1965
  id: z.ZodOptional<z.ZodString>;
@@ -2063,6 +2062,7 @@ export declare const deviceLinkedSessionsResponseSchema: z.ZodArray<z.ZodObject<
2063
2062
  */
2064
2063
  themePreference: z.ZodOptional<z.ZodType<ThemePreference, z.ZodTypeDef, ThemePreference>>;
2065
2064
  }, z.ZodTypeAny, "passthrough"> | null | undefined;
2065
+ isCurrent?: boolean | undefined;
2066
2066
  }>, "many">;
2067
2067
  export type DeviceLinkedSessionsResponseContract = z.infer<typeof deviceLinkedSessionsResponseSchema>;
2068
2068
  /**
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@oxy.so/contracts",
3
- "version": "1.5.0",
3
+ "version": "2.0.0",
4
4
  "description": "OxyHQ API contracts — single source of truth for request/response Zod schemas and inferred types, shared by the backend and the client SDKs",
5
5
  "main": "dist/cjs/index.js",
6
6
  "module": "dist/esm/index.js",