@oxy.so/contracts 4.8.0 → 4.9.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 (58) hide show
  1. package/dist/cjs/.tsbuildinfo +1 -1
  2. package/dist/cjs/accountGraph.js +13 -5
  3. package/dist/cjs/accountSubject.js +189 -0
  4. package/dist/cjs/agency.js +56 -4
  5. package/dist/cjs/agentKeys.js +67 -0
  6. package/dist/cjs/capabilityBindings.js +72 -0
  7. package/dist/cjs/index.js +60 -13
  8. package/dist/cjs/inference/economics.js +135 -0
  9. package/dist/cjs/products/access.js +60 -0
  10. package/dist/cjs/products/billing.js +32 -0
  11. package/dist/cjs/signIn.js +1 -1
  12. package/dist/esm/.tsbuildinfo +1 -1
  13. package/dist/esm/accountGraph.js +13 -5
  14. package/dist/esm/accountSubject.js +182 -0
  15. package/dist/esm/agency.js +55 -3
  16. package/dist/esm/agentKeys.js +63 -0
  17. package/dist/esm/capabilityBindings.js +67 -0
  18. package/dist/esm/index.js +10 -1
  19. package/dist/esm/inference/economics.js +132 -0
  20. package/dist/esm/products/access.js +57 -0
  21. package/dist/esm/products/billing.js +29 -0
  22. package/dist/esm/signIn.js +1 -1
  23. package/dist/types/.tsbuildinfo +1 -1
  24. package/dist/types/accountGraph.d.ts +23 -8
  25. package/dist/types/accountSubject.d.ts +210 -0
  26. package/dist/types/agency.d.ts +956 -190
  27. package/dist/types/agentKeys.d.ts +525 -0
  28. package/dist/types/capabilityBindings.d.ts +6 -0
  29. package/dist/types/deviceDirectory.d.ts +50 -50
  30. package/dist/types/deviceSession.d.ts +14 -14
  31. package/dist/types/externalIdentity.d.ts +4 -4
  32. package/dist/types/identity.d.ts +2 -2
  33. package/dist/types/index.d.ts +12 -2
  34. package/dist/types/inference/accountBilling.d.ts +30 -30
  35. package/dist/types/inference/aliaModelRelease.d.ts +83 -83
  36. package/dist/types/inference/catalogue.d.ts +180 -180
  37. package/dist/types/inference/economics.d.ts +376 -0
  38. package/dist/types/inference/entitlement.d.ts +47 -47
  39. package/dist/types/inference/inbox.d.ts +12 -12
  40. package/dist/types/inference/modelDocumentation.d.ts +231 -231
  41. package/dist/types/inference/priceVersion.d.ts +4 -4
  42. package/dist/types/inference/providerConnection.d.ts +38 -38
  43. package/dist/types/inference/realtime.d.ts +802 -802
  44. package/dist/types/inference/request.d.ts +844 -844
  45. package/dist/types/inference/routingPolicy.d.ts +4 -4
  46. package/dist/types/inference/scopedExecution.d.ts +38 -38
  47. package/dist/types/inference/streamEvents.d.ts +4 -4
  48. package/dist/types/inference/usage.d.ts +12 -12
  49. package/dist/types/keyRotation.d.ts +2 -2
  50. package/dist/types/notifications.d.ts +4 -4
  51. package/dist/types/oauth.d.ts +30 -30
  52. package/dist/types/products/access.d.ts +487 -0
  53. package/dist/types/products/billing.d.ts +563 -0
  54. package/dist/types/recommendations.d.ts +2 -2
  55. package/dist/types/sessionStatus.d.ts +10 -10
  56. package/dist/types/signIn.d.ts +6 -6
  57. package/dist/types/transparency.d.ts +2 -2
  58. package/package.json +1 -1
@@ -132,6 +132,7 @@ export declare const deviceAccountContextSchema: z.ZodObject<{
132
132
  kind: "bot" | "personal" | "organization" | "project" | "channel";
133
133
  accountId: string;
134
134
  id: string;
135
+ lastUsedAt: number | null;
135
136
  active: boolean;
136
137
  relationship: "owner" | "self" | "member";
137
138
  account: {
@@ -143,11 +144,11 @@ export declare const deviceAccountContextSchema: z.ZodObject<{
143
144
  };
144
145
  onDevice: boolean;
145
146
  available: boolean;
146
- lastUsedAt: number | null;
147
147
  }, {
148
148
  kind: "bot" | "personal" | "organization" | "project" | "channel";
149
149
  accountId: string;
150
150
  id: string;
151
+ lastUsedAt: number | null;
151
152
  active: boolean;
152
153
  relationship: "owner" | "self" | "member";
153
154
  account: {
@@ -159,7 +160,6 @@ export declare const deviceAccountContextSchema: z.ZodObject<{
159
160
  };
160
161
  onDevice: boolean;
161
162
  available: boolean;
162
- lastUsedAt: number | null;
163
163
  }>;
164
164
  /**
165
165
  * A human who authenticated onto this device.
@@ -234,6 +234,7 @@ export declare const devicePrincipalSchema: z.ZodObject<{
234
234
  kind: "bot" | "personal" | "organization" | "project" | "channel";
235
235
  accountId: string;
236
236
  id: string;
237
+ lastUsedAt: number | null;
237
238
  active: boolean;
238
239
  relationship: "owner" | "self" | "member";
239
240
  account: {
@@ -245,11 +246,11 @@ export declare const devicePrincipalSchema: z.ZodObject<{
245
246
  };
246
247
  onDevice: boolean;
247
248
  available: boolean;
248
- lastUsedAt: number | null;
249
249
  }, {
250
250
  kind: "bot" | "personal" | "organization" | "project" | "channel";
251
251
  accountId: string;
252
252
  id: string;
253
+ lastUsedAt: number | null;
253
254
  active: boolean;
254
255
  relationship: "owner" | "self" | "member";
255
256
  account: {
@@ -261,11 +262,9 @@ export declare const devicePrincipalSchema: z.ZodObject<{
261
262
  };
262
263
  onDevice: boolean;
263
264
  available: boolean;
264
- lastUsedAt: number | null;
265
265
  }>, "many">;
266
266
  }, "strip", z.ZodTypeAny, {
267
267
  id: string;
268
- userId: string;
269
268
  user: {
270
269
  username: string;
271
270
  id: string;
@@ -274,10 +273,12 @@ export declare const devicePrincipalSchema: z.ZodObject<{
274
273
  color?: string | null | undefined;
275
274
  };
276
275
  authuser: number;
276
+ userId: string;
277
277
  contexts: {
278
278
  kind: "bot" | "personal" | "organization" | "project" | "channel";
279
279
  accountId: string;
280
280
  id: string;
281
+ lastUsedAt: number | null;
281
282
  active: boolean;
282
283
  relationship: "owner" | "self" | "member";
283
284
  account: {
@@ -289,11 +290,9 @@ export declare const devicePrincipalSchema: z.ZodObject<{
289
290
  };
290
291
  onDevice: boolean;
291
292
  available: boolean;
292
- lastUsedAt: number | null;
293
293
  }[];
294
294
  }, {
295
295
  id: string;
296
- userId: string;
297
296
  user: {
298
297
  username: string;
299
298
  id: string;
@@ -302,10 +301,12 @@ export declare const devicePrincipalSchema: z.ZodObject<{
302
301
  color?: string | null | undefined;
303
302
  };
304
303
  authuser: number;
304
+ userId: string;
305
305
  contexts: {
306
306
  kind: "bot" | "personal" | "organization" | "project" | "channel";
307
307
  accountId: string;
308
308
  id: string;
309
+ lastUsedAt: number | null;
309
310
  active: boolean;
310
311
  relationship: "owner" | "self" | "member";
311
312
  account: {
@@ -317,7 +318,6 @@ export declare const devicePrincipalSchema: z.ZodObject<{
317
318
  };
318
319
  onDevice: boolean;
319
320
  available: boolean;
320
- lastUsedAt: number | null;
321
321
  }[];
322
322
  }>;
323
323
  /**
@@ -397,6 +397,7 @@ export declare const deviceDirectorySchema: z.ZodObject<{
397
397
  kind: "bot" | "personal" | "organization" | "project" | "channel";
398
398
  accountId: string;
399
399
  id: string;
400
+ lastUsedAt: number | null;
400
401
  active: boolean;
401
402
  relationship: "owner" | "self" | "member";
402
403
  account: {
@@ -408,11 +409,11 @@ export declare const deviceDirectorySchema: z.ZodObject<{
408
409
  };
409
410
  onDevice: boolean;
410
411
  available: boolean;
411
- lastUsedAt: number | null;
412
412
  }, {
413
413
  kind: "bot" | "personal" | "organization" | "project" | "channel";
414
414
  accountId: string;
415
415
  id: string;
416
+ lastUsedAt: number | null;
416
417
  active: boolean;
417
418
  relationship: "owner" | "self" | "member";
418
419
  account: {
@@ -424,11 +425,9 @@ export declare const deviceDirectorySchema: z.ZodObject<{
424
425
  };
425
426
  onDevice: boolean;
426
427
  available: boolean;
427
- lastUsedAt: number | null;
428
428
  }>, "many">;
429
429
  }, "strip", z.ZodTypeAny, {
430
430
  id: string;
431
- userId: string;
432
431
  user: {
433
432
  username: string;
434
433
  id: string;
@@ -437,10 +436,12 @@ export declare const deviceDirectorySchema: z.ZodObject<{
437
436
  color?: string | null | undefined;
438
437
  };
439
438
  authuser: number;
439
+ userId: string;
440
440
  contexts: {
441
441
  kind: "bot" | "personal" | "organization" | "project" | "channel";
442
442
  accountId: string;
443
443
  id: string;
444
+ lastUsedAt: number | null;
444
445
  active: boolean;
445
446
  relationship: "owner" | "self" | "member";
446
447
  account: {
@@ -452,11 +453,9 @@ export declare const deviceDirectorySchema: z.ZodObject<{
452
453
  };
453
454
  onDevice: boolean;
454
455
  available: boolean;
455
- lastUsedAt: number | null;
456
456
  }[];
457
457
  }, {
458
458
  id: string;
459
- userId: string;
460
459
  user: {
461
460
  username: string;
462
461
  id: string;
@@ -465,10 +464,12 @@ export declare const deviceDirectorySchema: z.ZodObject<{
465
464
  color?: string | null | undefined;
466
465
  };
467
466
  authuser: number;
467
+ userId: string;
468
468
  contexts: {
469
469
  kind: "bot" | "personal" | "organization" | "project" | "channel";
470
470
  accountId: string;
471
471
  id: string;
472
+ lastUsedAt: number | null;
472
473
  active: boolean;
473
474
  relationship: "owner" | "self" | "member";
474
475
  account: {
@@ -480,7 +481,6 @@ export declare const deviceDirectorySchema: z.ZodObject<{
480
481
  };
481
482
  onDevice: boolean;
482
483
  available: boolean;
483
- lastUsedAt: number | null;
484
484
  }[];
485
485
  }>, "many">;
486
486
  updatedAt: z.ZodNumber;
@@ -491,7 +491,6 @@ export declare const deviceDirectorySchema: z.ZodObject<{
491
491
  activeContextId: string | null;
492
492
  principals: {
493
493
  id: string;
494
- userId: string;
495
494
  user: {
496
495
  username: string;
497
496
  id: string;
@@ -500,10 +499,12 @@ export declare const deviceDirectorySchema: z.ZodObject<{
500
499
  color?: string | null | undefined;
501
500
  };
502
501
  authuser: number;
502
+ userId: string;
503
503
  contexts: {
504
504
  kind: "bot" | "personal" | "organization" | "project" | "channel";
505
505
  accountId: string;
506
506
  id: string;
507
+ lastUsedAt: number | null;
507
508
  active: boolean;
508
509
  relationship: "owner" | "self" | "member";
509
510
  account: {
@@ -515,7 +516,6 @@ export declare const deviceDirectorySchema: z.ZodObject<{
515
516
  };
516
517
  onDevice: boolean;
517
518
  available: boolean;
518
- lastUsedAt: number | null;
519
519
  }[];
520
520
  }[];
521
521
  }, {
@@ -525,7 +525,6 @@ export declare const deviceDirectorySchema: z.ZodObject<{
525
525
  activeContextId: string | null;
526
526
  principals: {
527
527
  id: string;
528
- userId: string;
529
528
  user: {
530
529
  username: string;
531
530
  id: string;
@@ -534,10 +533,12 @@ export declare const deviceDirectorySchema: z.ZodObject<{
534
533
  color?: string | null | undefined;
535
534
  };
536
535
  authuser: number;
536
+ userId: string;
537
537
  contexts: {
538
538
  kind: "bot" | "personal" | "organization" | "project" | "channel";
539
539
  accountId: string;
540
540
  id: string;
541
+ lastUsedAt: number | null;
541
542
  active: boolean;
542
543
  relationship: "owner" | "self" | "member";
543
544
  account: {
@@ -549,7 +550,6 @@ export declare const deviceDirectorySchema: z.ZodObject<{
549
550
  };
550
551
  onDevice: boolean;
551
552
  available: boolean;
552
- lastUsedAt: number | null;
553
553
  }[];
554
554
  }[];
555
555
  }>;
@@ -651,6 +651,7 @@ export declare const deviceActivateResponseSchema: z.ZodObject<{
651
651
  kind: "bot" | "personal" | "organization" | "project" | "channel";
652
652
  accountId: string;
653
653
  id: string;
654
+ lastUsedAt: number | null;
654
655
  active: boolean;
655
656
  relationship: "owner" | "self" | "member";
656
657
  account: {
@@ -662,11 +663,11 @@ export declare const deviceActivateResponseSchema: z.ZodObject<{
662
663
  };
663
664
  onDevice: boolean;
664
665
  available: boolean;
665
- lastUsedAt: number | null;
666
666
  }, {
667
667
  kind: "bot" | "personal" | "organization" | "project" | "channel";
668
668
  accountId: string;
669
669
  id: string;
670
+ lastUsedAt: number | null;
670
671
  active: boolean;
671
672
  relationship: "owner" | "self" | "member";
672
673
  account: {
@@ -678,11 +679,9 @@ export declare const deviceActivateResponseSchema: z.ZodObject<{
678
679
  };
679
680
  onDevice: boolean;
680
681
  available: boolean;
681
- lastUsedAt: number | null;
682
682
  }>, "many">;
683
683
  }, "strip", z.ZodTypeAny, {
684
684
  id: string;
685
- userId: string;
686
685
  user: {
687
686
  username: string;
688
687
  id: string;
@@ -691,10 +690,12 @@ export declare const deviceActivateResponseSchema: z.ZodObject<{
691
690
  color?: string | null | undefined;
692
691
  };
693
692
  authuser: number;
693
+ userId: string;
694
694
  contexts: {
695
695
  kind: "bot" | "personal" | "organization" | "project" | "channel";
696
696
  accountId: string;
697
697
  id: string;
698
+ lastUsedAt: number | null;
698
699
  active: boolean;
699
700
  relationship: "owner" | "self" | "member";
700
701
  account: {
@@ -706,11 +707,9 @@ export declare const deviceActivateResponseSchema: z.ZodObject<{
706
707
  };
707
708
  onDevice: boolean;
708
709
  available: boolean;
709
- lastUsedAt: number | null;
710
710
  }[];
711
711
  }, {
712
712
  id: string;
713
- userId: string;
714
713
  user: {
715
714
  username: string;
716
715
  id: string;
@@ -719,10 +718,12 @@ export declare const deviceActivateResponseSchema: z.ZodObject<{
719
718
  color?: string | null | undefined;
720
719
  };
721
720
  authuser: number;
721
+ userId: string;
722
722
  contexts: {
723
723
  kind: "bot" | "personal" | "organization" | "project" | "channel";
724
724
  accountId: string;
725
725
  id: string;
726
+ lastUsedAt: number | null;
726
727
  active: boolean;
727
728
  relationship: "owner" | "self" | "member";
728
729
  account: {
@@ -734,7 +735,6 @@ export declare const deviceActivateResponseSchema: z.ZodObject<{
734
735
  };
735
736
  onDevice: boolean;
736
737
  available: boolean;
737
- lastUsedAt: number | null;
738
738
  }[];
739
739
  }>, "many">;
740
740
  updatedAt: z.ZodNumber;
@@ -745,7 +745,6 @@ export declare const deviceActivateResponseSchema: z.ZodObject<{
745
745
  activeContextId: string | null;
746
746
  principals: {
747
747
  id: string;
748
- userId: string;
749
748
  user: {
750
749
  username: string;
751
750
  id: string;
@@ -754,10 +753,12 @@ export declare const deviceActivateResponseSchema: z.ZodObject<{
754
753
  color?: string | null | undefined;
755
754
  };
756
755
  authuser: number;
756
+ userId: string;
757
757
  contexts: {
758
758
  kind: "bot" | "personal" | "organization" | "project" | "channel";
759
759
  accountId: string;
760
760
  id: string;
761
+ lastUsedAt: number | null;
761
762
  active: boolean;
762
763
  relationship: "owner" | "self" | "member";
763
764
  account: {
@@ -769,7 +770,6 @@ export declare const deviceActivateResponseSchema: z.ZodObject<{
769
770
  };
770
771
  onDevice: boolean;
771
772
  available: boolean;
772
- lastUsedAt: number | null;
773
773
  }[];
774
774
  }[];
775
775
  }, {
@@ -779,7 +779,6 @@ export declare const deviceActivateResponseSchema: z.ZodObject<{
779
779
  activeContextId: string | null;
780
780
  principals: {
781
781
  id: string;
782
- userId: string;
783
782
  user: {
784
783
  username: string;
785
784
  id: string;
@@ -788,10 +787,12 @@ export declare const deviceActivateResponseSchema: z.ZodObject<{
788
787
  color?: string | null | undefined;
789
788
  };
790
789
  authuser: number;
790
+ userId: string;
791
791
  contexts: {
792
792
  kind: "bot" | "personal" | "organization" | "project" | "channel";
793
793
  accountId: string;
794
794
  id: string;
795
+ lastUsedAt: number | null;
795
796
  active: boolean;
796
797
  relationship: "owner" | "self" | "member";
797
798
  account: {
@@ -803,7 +804,6 @@ export declare const deviceActivateResponseSchema: z.ZodObject<{
803
804
  };
804
805
  onDevice: boolean;
805
806
  available: boolean;
806
- lastUsedAt: number | null;
807
807
  }[];
808
808
  }[];
809
809
  }>;
@@ -829,7 +829,6 @@ export declare const deviceActivateResponseSchema: z.ZodObject<{
829
829
  activeContextId: string | null;
830
830
  principals: {
831
831
  id: string;
832
- userId: string;
833
832
  user: {
834
833
  username: string;
835
834
  id: string;
@@ -838,10 +837,12 @@ export declare const deviceActivateResponseSchema: z.ZodObject<{
838
837
  color?: string | null | undefined;
839
838
  };
840
839
  authuser: number;
840
+ userId: string;
841
841
  contexts: {
842
842
  kind: "bot" | "personal" | "organization" | "project" | "channel";
843
843
  accountId: string;
844
844
  id: string;
845
+ lastUsedAt: number | null;
845
846
  active: boolean;
846
847
  relationship: "owner" | "self" | "member";
847
848
  account: {
@@ -853,7 +854,6 @@ export declare const deviceActivateResponseSchema: z.ZodObject<{
853
854
  };
854
855
  onDevice: boolean;
855
856
  available: boolean;
856
- lastUsedAt: number | null;
857
857
  }[];
858
858
  }[];
859
859
  };
@@ -869,7 +869,6 @@ export declare const deviceActivateResponseSchema: z.ZodObject<{
869
869
  activeContextId: string | null;
870
870
  principals: {
871
871
  id: string;
872
- userId: string;
873
872
  user: {
874
873
  username: string;
875
874
  id: string;
@@ -878,10 +877,12 @@ export declare const deviceActivateResponseSchema: z.ZodObject<{
878
877
  color?: string | null | undefined;
879
878
  };
880
879
  authuser: number;
880
+ userId: string;
881
881
  contexts: {
882
882
  kind: "bot" | "personal" | "organization" | "project" | "channel";
883
883
  accountId: string;
884
884
  id: string;
885
+ lastUsedAt: number | null;
885
886
  active: boolean;
886
887
  relationship: "owner" | "self" | "member";
887
888
  account: {
@@ -893,7 +894,6 @@ export declare const deviceActivateResponseSchema: z.ZodObject<{
893
894
  };
894
895
  onDevice: boolean;
895
896
  available: boolean;
896
- lastUsedAt: number | null;
897
897
  }[];
898
898
  }[];
899
899
  };
@@ -992,6 +992,7 @@ export declare const deviceDirectorySyncSchema: z.ZodObject<{
992
992
  kind: "bot" | "personal" | "organization" | "project" | "channel";
993
993
  accountId: string;
994
994
  id: string;
995
+ lastUsedAt: number | null;
995
996
  active: boolean;
996
997
  relationship: "owner" | "self" | "member";
997
998
  account: {
@@ -1003,11 +1004,11 @@ export declare const deviceDirectorySyncSchema: z.ZodObject<{
1003
1004
  };
1004
1005
  onDevice: boolean;
1005
1006
  available: boolean;
1006
- lastUsedAt: number | null;
1007
1007
  }, {
1008
1008
  kind: "bot" | "personal" | "organization" | "project" | "channel";
1009
1009
  accountId: string;
1010
1010
  id: string;
1011
+ lastUsedAt: number | null;
1011
1012
  active: boolean;
1012
1013
  relationship: "owner" | "self" | "member";
1013
1014
  account: {
@@ -1019,11 +1020,9 @@ export declare const deviceDirectorySyncSchema: z.ZodObject<{
1019
1020
  };
1020
1021
  onDevice: boolean;
1021
1022
  available: boolean;
1022
- lastUsedAt: number | null;
1023
1023
  }>, "many">;
1024
1024
  }, "strip", z.ZodTypeAny, {
1025
1025
  id: string;
1026
- userId: string;
1027
1026
  user: {
1028
1027
  username: string;
1029
1028
  id: string;
@@ -1032,10 +1031,12 @@ export declare const deviceDirectorySyncSchema: z.ZodObject<{
1032
1031
  color?: string | null | undefined;
1033
1032
  };
1034
1033
  authuser: number;
1034
+ userId: string;
1035
1035
  contexts: {
1036
1036
  kind: "bot" | "personal" | "organization" | "project" | "channel";
1037
1037
  accountId: string;
1038
1038
  id: string;
1039
+ lastUsedAt: number | null;
1039
1040
  active: boolean;
1040
1041
  relationship: "owner" | "self" | "member";
1041
1042
  account: {
@@ -1047,11 +1048,9 @@ export declare const deviceDirectorySyncSchema: z.ZodObject<{
1047
1048
  };
1048
1049
  onDevice: boolean;
1049
1050
  available: boolean;
1050
- lastUsedAt: number | null;
1051
1051
  }[];
1052
1052
  }, {
1053
1053
  id: string;
1054
- userId: string;
1055
1054
  user: {
1056
1055
  username: string;
1057
1056
  id: string;
@@ -1060,10 +1059,12 @@ export declare const deviceDirectorySyncSchema: z.ZodObject<{
1060
1059
  color?: string | null | undefined;
1061
1060
  };
1062
1061
  authuser: number;
1062
+ userId: string;
1063
1063
  contexts: {
1064
1064
  kind: "bot" | "personal" | "organization" | "project" | "channel";
1065
1065
  accountId: string;
1066
1066
  id: string;
1067
+ lastUsedAt: number | null;
1067
1068
  active: boolean;
1068
1069
  relationship: "owner" | "self" | "member";
1069
1070
  account: {
@@ -1075,7 +1076,6 @@ export declare const deviceDirectorySyncSchema: z.ZodObject<{
1075
1076
  };
1076
1077
  onDevice: boolean;
1077
1078
  available: boolean;
1078
- lastUsedAt: number | null;
1079
1079
  }[];
1080
1080
  }>, "many">;
1081
1081
  updatedAt: z.ZodNumber;
@@ -1086,7 +1086,6 @@ export declare const deviceDirectorySyncSchema: z.ZodObject<{
1086
1086
  activeContextId: string | null;
1087
1087
  principals: {
1088
1088
  id: string;
1089
- userId: string;
1090
1089
  user: {
1091
1090
  username: string;
1092
1091
  id: string;
@@ -1095,10 +1094,12 @@ export declare const deviceDirectorySyncSchema: z.ZodObject<{
1095
1094
  color?: string | null | undefined;
1096
1095
  };
1097
1096
  authuser: number;
1097
+ userId: string;
1098
1098
  contexts: {
1099
1099
  kind: "bot" | "personal" | "organization" | "project" | "channel";
1100
1100
  accountId: string;
1101
1101
  id: string;
1102
+ lastUsedAt: number | null;
1102
1103
  active: boolean;
1103
1104
  relationship: "owner" | "self" | "member";
1104
1105
  account: {
@@ -1110,7 +1111,6 @@ export declare const deviceDirectorySyncSchema: z.ZodObject<{
1110
1111
  };
1111
1112
  onDevice: boolean;
1112
1113
  available: boolean;
1113
- lastUsedAt: number | null;
1114
1114
  }[];
1115
1115
  }[];
1116
1116
  }, {
@@ -1120,7 +1120,6 @@ export declare const deviceDirectorySyncSchema: z.ZodObject<{
1120
1120
  activeContextId: string | null;
1121
1121
  principals: {
1122
1122
  id: string;
1123
- userId: string;
1124
1123
  user: {
1125
1124
  username: string;
1126
1125
  id: string;
@@ -1129,10 +1128,12 @@ export declare const deviceDirectorySyncSchema: z.ZodObject<{
1129
1128
  color?: string | null | undefined;
1130
1129
  };
1131
1130
  authuser: number;
1131
+ userId: string;
1132
1132
  contexts: {
1133
1133
  kind: "bot" | "personal" | "organization" | "project" | "channel";
1134
1134
  accountId: string;
1135
1135
  id: string;
1136
+ lastUsedAt: number | null;
1136
1137
  active: boolean;
1137
1138
  relationship: "owner" | "self" | "member";
1138
1139
  account: {
@@ -1144,7 +1145,6 @@ export declare const deviceDirectorySyncSchema: z.ZodObject<{
1144
1145
  };
1145
1146
  onDevice: boolean;
1146
1147
  available: boolean;
1147
- lastUsedAt: number | null;
1148
1148
  }[];
1149
1149
  }[];
1150
1150
  }>;
@@ -1171,6 +1171,7 @@ export declare const deviceDirectorySyncSchema: z.ZodObject<{
1171
1171
  updatedAt: z.ZodNumber;
1172
1172
  }, "strip", z.ZodTypeAny, {
1173
1173
  updatedAt: number;
1174
+ activeAccountId: string | null;
1174
1175
  deviceId: string;
1175
1176
  accounts: {
1176
1177
  accountId: string;
@@ -1178,10 +1179,10 @@ export declare const deviceDirectorySyncSchema: z.ZodObject<{
1178
1179
  authuser: number;
1179
1180
  operatedByUserId?: string | undefined;
1180
1181
  }[];
1181
- activeAccountId: string | null;
1182
1182
  revision: number;
1183
1183
  }, {
1184
1184
  updatedAt: number;
1185
+ activeAccountId: string | null;
1185
1186
  deviceId: string;
1186
1187
  accounts: {
1187
1188
  accountId: string;
@@ -1189,7 +1190,6 @@ export declare const deviceDirectorySyncSchema: z.ZodObject<{
1189
1190
  authuser: number;
1190
1191
  operatedByUserId?: string | undefined;
1191
1192
  }[];
1192
- activeAccountId: string | null;
1193
1193
  revision: number;
1194
1194
  }>;
1195
1195
  activeToken: z.ZodNullable<z.ZodObject<{
@@ -1205,6 +1205,7 @@ export declare const deviceDirectorySyncSchema: z.ZodObject<{
1205
1205
  }, "strip", z.ZodTypeAny, {
1206
1206
  state: {
1207
1207
  updatedAt: number;
1208
+ activeAccountId: string | null;
1208
1209
  deviceId: string;
1209
1210
  accounts: {
1210
1211
  accountId: string;
@@ -1212,7 +1213,6 @@ export declare const deviceDirectorySyncSchema: z.ZodObject<{
1212
1213
  authuser: number;
1213
1214
  operatedByUserId?: string | undefined;
1214
1215
  }[];
1215
- activeAccountId: string | null;
1216
1216
  revision: number;
1217
1217
  };
1218
1218
  activeToken: {
@@ -1226,7 +1226,6 @@ export declare const deviceDirectorySyncSchema: z.ZodObject<{
1226
1226
  activeContextId: string | null;
1227
1227
  principals: {
1228
1228
  id: string;
1229
- userId: string;
1230
1229
  user: {
1231
1230
  username: string;
1232
1231
  id: string;
@@ -1235,10 +1234,12 @@ export declare const deviceDirectorySyncSchema: z.ZodObject<{
1235
1234
  color?: string | null | undefined;
1236
1235
  };
1237
1236
  authuser: number;
1237
+ userId: string;
1238
1238
  contexts: {
1239
1239
  kind: "bot" | "personal" | "organization" | "project" | "channel";
1240
1240
  accountId: string;
1241
1241
  id: string;
1242
+ lastUsedAt: number | null;
1242
1243
  active: boolean;
1243
1244
  relationship: "owner" | "self" | "member";
1244
1245
  account: {
@@ -1250,13 +1251,13 @@ export declare const deviceDirectorySyncSchema: z.ZodObject<{
1250
1251
  };
1251
1252
  onDevice: boolean;
1252
1253
  available: boolean;
1253
- lastUsedAt: number | null;
1254
1254
  }[];
1255
1255
  }[];
1256
1256
  };
1257
1257
  }, {
1258
1258
  state: {
1259
1259
  updatedAt: number;
1260
+ activeAccountId: string | null;
1260
1261
  deviceId: string;
1261
1262
  accounts: {
1262
1263
  accountId: string;
@@ -1264,7 +1265,6 @@ export declare const deviceDirectorySyncSchema: z.ZodObject<{
1264
1265
  authuser: number;
1265
1266
  operatedByUserId?: string | undefined;
1266
1267
  }[];
1267
- activeAccountId: string | null;
1268
1268
  revision: number;
1269
1269
  };
1270
1270
  activeToken: {
@@ -1278,7 +1278,6 @@ export declare const deviceDirectorySyncSchema: z.ZodObject<{
1278
1278
  activeContextId: string | null;
1279
1279
  principals: {
1280
1280
  id: string;
1281
- userId: string;
1282
1281
  user: {
1283
1282
  username: string;
1284
1283
  id: string;
@@ -1287,10 +1286,12 @@ export declare const deviceDirectorySyncSchema: z.ZodObject<{
1287
1286
  color?: string | null | undefined;
1288
1287
  };
1289
1288
  authuser: number;
1289
+ userId: string;
1290
1290
  contexts: {
1291
1291
  kind: "bot" | "personal" | "organization" | "project" | "channel";
1292
1292
  accountId: string;
1293
1293
  id: string;
1294
+ lastUsedAt: number | null;
1294
1295
  active: boolean;
1295
1296
  relationship: "owner" | "self" | "member";
1296
1297
  account: {
@@ -1302,7 +1303,6 @@ export declare const deviceDirectorySyncSchema: z.ZodObject<{
1302
1303
  };
1303
1304
  onDevice: boolean;
1304
1305
  available: boolean;
1305
- lastUsedAt: number | null;
1306
1306
  }[];
1307
1307
  }[];
1308
1308
  };