@oxy.so/contracts 4.13.0 → 4.15.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 (57) hide show
  1. package/dist/cjs/.tsbuildinfo +1 -1
  2. package/dist/cjs/accountGraph.js +23 -4
  3. package/dist/cjs/index.js +19 -15
  4. package/dist/cjs/organizations.js +210 -0
  5. package/dist/cjs/products/billing.js +1 -0
  6. package/dist/cjs/products/checkout.js +14 -1
  7. package/dist/cjs/products/plans.js +18 -2
  8. package/dist/cjs/safety.js +15 -0
  9. package/dist/cjs/userResponse.js +8 -1
  10. package/dist/esm/.tsbuildinfo +1 -1
  11. package/dist/esm/accountGraph.js +21 -2
  12. package/dist/esm/index.js +4 -2
  13. package/dist/esm/organizations.js +207 -0
  14. package/dist/esm/products/billing.js +1 -0
  15. package/dist/esm/products/checkout.js +13 -0
  16. package/dist/esm/products/plans.js +17 -1
  17. package/dist/esm/safety.js +12 -0
  18. package/dist/esm/userResponse.js +8 -1
  19. package/dist/types/.tsbuildinfo +1 -1
  20. package/dist/types/accountGraph.d.ts +50 -18
  21. package/dist/types/agency.d.ts +42 -42
  22. package/dist/types/deviceDirectory.d.ts +56 -56
  23. package/dist/types/email/messages.d.ts +56 -56
  24. package/dist/types/externalIdentity.d.ts +56 -23
  25. package/dist/types/index.d.ts +4 -2
  26. package/dist/types/inference/accountBilling.d.ts +36 -36
  27. package/dist/types/inference/catalogue.d.ts +12 -12
  28. package/dist/types/inference/decisions.d.ts +16 -16
  29. package/dist/types/inference/economics.d.ts +6 -6
  30. package/dist/types/inference/embeddings.d.ts +18 -18
  31. package/dist/types/inference/entitlement.d.ts +12 -12
  32. package/dist/types/inference/errors.d.ts +4 -4
  33. package/dist/types/inference/inbox.d.ts +17 -17
  34. package/dist/types/inference/priceVersion.d.ts +8 -8
  35. package/dist/types/inference/privateAutoExecution.d.ts +12 -12
  36. package/dist/types/inference/providerConnection.d.ts +24 -24
  37. package/dist/types/inference/realtime.d.ts +26 -26
  38. package/dist/types/inference/request.d.ts +26 -26
  39. package/dist/types/inference/routingPolicy.d.ts +4 -4
  40. package/dist/types/inference/scopedExecution.d.ts +8 -8
  41. package/dist/types/inference/streamEvents.d.ts +20 -20
  42. package/dist/types/inference/usage.d.ts +8 -8
  43. package/dist/types/keyRecovery.d.ts +4 -4
  44. package/dist/types/linkedAccounts.d.ts +16 -16
  45. package/dist/types/notifications.d.ts +4 -4
  46. package/dist/types/oauth.d.ts +40 -40
  47. package/dist/types/organizations.d.ts +1088 -0
  48. package/dist/types/products/access.d.ts +18 -18
  49. package/dist/types/products/billing.d.ts +32 -24
  50. package/dist/types/products/checkout.d.ts +36 -0
  51. package/dist/types/products/plans.d.ts +108 -11
  52. package/dist/types/recommendations.d.ts +2 -2
  53. package/dist/types/safety.d.ts +24 -0
  54. package/dist/types/sessionStatus.d.ts +6 -6
  55. package/dist/types/stickers.d.ts +32 -32
  56. package/dist/types/userResponse.d.ts +169 -33
  57. package/package.json +1 -1
@@ -110,9 +110,9 @@ export declare const mcpOAuthClientApplicationSchema: z.ZodObject<{
110
110
  scopes: string[];
111
111
  isOfficial: boolean;
112
112
  isInternal: boolean;
113
+ websiteUrl?: string | undefined;
113
114
  description?: string | undefined;
114
115
  icon?: string | undefined;
115
- websiteUrl?: string | undefined;
116
116
  privacyPolicyUrl?: string | undefined;
117
117
  termsUrl?: string | undefined;
118
118
  developerName?: string | undefined;
@@ -124,9 +124,9 @@ export declare const mcpOAuthClientApplicationSchema: z.ZodObject<{
124
124
  scopes: string[];
125
125
  isOfficial: boolean;
126
126
  isInternal: boolean;
127
+ websiteUrl?: string | undefined;
127
128
  description?: string | undefined;
128
129
  icon?: string | undefined;
129
- websiteUrl?: string | undefined;
130
130
  privacyPolicyUrl?: string | undefined;
131
131
  termsUrl?: string | undefined;
132
132
  developerName?: string | undefined;
@@ -219,9 +219,9 @@ export declare const mcpOAuthConsentContextSchema: z.ZodObject<{
219
219
  scopes: string[];
220
220
  isOfficial: boolean;
221
221
  isInternal: boolean;
222
+ websiteUrl?: string | undefined;
222
223
  description?: string | undefined;
223
224
  icon?: string | undefined;
224
- websiteUrl?: string | undefined;
225
225
  privacyPolicyUrl?: string | undefined;
226
226
  termsUrl?: string | undefined;
227
227
  developerName?: string | undefined;
@@ -233,9 +233,9 @@ export declare const mcpOAuthConsentContextSchema: z.ZodObject<{
233
233
  scopes: string[];
234
234
  isOfficial: boolean;
235
235
  isInternal: boolean;
236
+ websiteUrl?: string | undefined;
236
237
  description?: string | undefined;
237
238
  icon?: string | undefined;
238
- websiteUrl?: string | undefined;
239
239
  privacyPolicyUrl?: string | undefined;
240
240
  termsUrl?: string | undefined;
241
241
  developerName?: string | undefined;
@@ -247,13 +247,13 @@ export declare const mcpOAuthConsentContextSchema: z.ZodObject<{
247
247
  avatar: z.ZodOptional<z.ZodString>;
248
248
  }, "strict", z.ZodTypeAny, {
249
249
  id: string;
250
- displayName?: string | undefined;
251
250
  avatar?: string | undefined;
251
+ displayName?: string | undefined;
252
252
  handle?: string | undefined;
253
253
  }, {
254
254
  id: string;
255
- displayName?: string | undefined;
256
255
  avatar?: string | undefined;
256
+ displayName?: string | undefined;
257
257
  handle?: string | undefined;
258
258
  }>;
259
259
  resource: z.ZodObject<{
@@ -279,9 +279,9 @@ export declare const mcpOAuthConsentContextSchema: z.ZodObject<{
279
279
  scopes: string[];
280
280
  isOfficial: boolean;
281
281
  isInternal: boolean;
282
+ websiteUrl?: string | undefined;
282
283
  description?: string | undefined;
283
284
  icon?: string | undefined;
284
- websiteUrl?: string | undefined;
285
285
  privacyPolicyUrl?: string | undefined;
286
286
  termsUrl?: string | undefined;
287
287
  developerName?: string | undefined;
@@ -292,9 +292,9 @@ export declare const mcpOAuthConsentContextSchema: z.ZodObject<{
292
292
  scopes: string[];
293
293
  isOfficial: boolean;
294
294
  isInternal: boolean;
295
+ websiteUrl?: string | undefined;
295
296
  description?: string | undefined;
296
297
  icon?: string | undefined;
297
- websiteUrl?: string | undefined;
298
298
  privacyPolicyUrl?: string | undefined;
299
299
  termsUrl?: string | undefined;
300
300
  developerName?: string | undefined;
@@ -308,9 +308,9 @@ export declare const mcpOAuthConsentContextSchema: z.ZodObject<{
308
308
  scopes: string[];
309
309
  isOfficial: boolean;
310
310
  isInternal: boolean;
311
+ websiteUrl?: string | undefined;
311
312
  description?: string | undefined;
312
313
  icon?: string | undefined;
313
- websiteUrl?: string | undefined;
314
314
  privacyPolicyUrl?: string | undefined;
315
315
  termsUrl?: string | undefined;
316
316
  developerName?: string | undefined;
@@ -325,9 +325,9 @@ export declare const mcpOAuthConsentContextSchema: z.ZodObject<{
325
325
  scopes: string[];
326
326
  isOfficial: boolean;
327
327
  isInternal: boolean;
328
+ websiteUrl?: string | undefined;
328
329
  description?: string | undefined;
329
330
  icon?: string | undefined;
330
- websiteUrl?: string | undefined;
331
331
  privacyPolicyUrl?: string | undefined;
332
332
  termsUrl?: string | undefined;
333
333
  developerName?: string | undefined;
@@ -403,9 +403,9 @@ export declare const mcpOAuthConsentContextSchema: z.ZodObject<{
403
403
  scopes: string[];
404
404
  isOfficial: boolean;
405
405
  isInternal: boolean;
406
+ websiteUrl?: string | undefined;
406
407
  description?: string | undefined;
407
408
  icon?: string | undefined;
408
- websiteUrl?: string | undefined;
409
409
  privacyPolicyUrl?: string | undefined;
410
410
  termsUrl?: string | undefined;
411
411
  developerName?: string | undefined;
@@ -415,8 +415,8 @@ export declare const mcpOAuthConsentContextSchema: z.ZodObject<{
415
415
  capabilities: string[];
416
416
  account: {
417
417
  id: string;
418
- displayName?: string | undefined;
419
418
  avatar?: string | undefined;
419
+ displayName?: string | undefined;
420
420
  handle?: string | undefined;
421
421
  };
422
422
  client: {
@@ -427,9 +427,9 @@ export declare const mcpOAuthConsentContextSchema: z.ZodObject<{
427
427
  scopes: string[];
428
428
  isOfficial: boolean;
429
429
  isInternal: boolean;
430
+ websiteUrl?: string | undefined;
430
431
  description?: string | undefined;
431
432
  icon?: string | undefined;
432
- websiteUrl?: string | undefined;
433
433
  privacyPolicyUrl?: string | undefined;
434
434
  termsUrl?: string | undefined;
435
435
  developerName?: string | undefined;
@@ -451,9 +451,9 @@ export declare const mcpOAuthConsentContextSchema: z.ZodObject<{
451
451
  scopes: string[];
452
452
  isOfficial: boolean;
453
453
  isInternal: boolean;
454
+ websiteUrl?: string | undefined;
454
455
  description?: string | undefined;
455
456
  icon?: string | undefined;
456
- websiteUrl?: string | undefined;
457
457
  privacyPolicyUrl?: string | undefined;
458
458
  termsUrl?: string | undefined;
459
459
  developerName?: string | undefined;
@@ -463,8 +463,8 @@ export declare const mcpOAuthConsentContextSchema: z.ZodObject<{
463
463
  capabilities: string[];
464
464
  account: {
465
465
  id: string;
466
- displayName?: string | undefined;
467
466
  avatar?: string | undefined;
467
+ displayName?: string | undefined;
468
468
  handle?: string | undefined;
469
469
  };
470
470
  client: {
@@ -475,9 +475,9 @@ export declare const mcpOAuthConsentContextSchema: z.ZodObject<{
475
475
  scopes: string[];
476
476
  isOfficial: boolean;
477
477
  isInternal: boolean;
478
+ websiteUrl?: string | undefined;
478
479
  description?: string | undefined;
479
480
  icon?: string | undefined;
480
- websiteUrl?: string | undefined;
481
481
  privacyPolicyUrl?: string | undefined;
482
482
  termsUrl?: string | undefined;
483
483
  developerName?: string | undefined;
@@ -514,9 +514,9 @@ export declare const mcpOAuthClientInfoResponseSchema: z.ZodObject<{
514
514
  scopes: string[];
515
515
  isOfficial: boolean;
516
516
  isInternal: boolean;
517
+ websiteUrl?: string | undefined;
517
518
  description?: string | undefined;
518
519
  icon?: string | undefined;
519
- websiteUrl?: string | undefined;
520
520
  privacyPolicyUrl?: string | undefined;
521
521
  termsUrl?: string | undefined;
522
522
  developerName?: string | undefined;
@@ -528,9 +528,9 @@ export declare const mcpOAuthClientInfoResponseSchema: z.ZodObject<{
528
528
  scopes: string[];
529
529
  isOfficial: boolean;
530
530
  isInternal: boolean;
531
+ websiteUrl?: string | undefined;
531
532
  description?: string | undefined;
532
533
  icon?: string | undefined;
533
- websiteUrl?: string | undefined;
534
534
  privacyPolicyUrl?: string | undefined;
535
535
  termsUrl?: string | undefined;
536
536
  developerName?: string | undefined;
@@ -544,9 +544,9 @@ export declare const mcpOAuthClientInfoResponseSchema: z.ZodObject<{
544
544
  scopes: string[];
545
545
  isOfficial: boolean;
546
546
  isInternal: boolean;
547
+ websiteUrl?: string | undefined;
547
548
  description?: string | undefined;
548
549
  icon?: string | undefined;
549
- websiteUrl?: string | undefined;
550
550
  privacyPolicyUrl?: string | undefined;
551
551
  termsUrl?: string | undefined;
552
552
  developerName?: string | undefined;
@@ -560,9 +560,9 @@ export declare const mcpOAuthClientInfoResponseSchema: z.ZodObject<{
560
560
  scopes: string[];
561
561
  isOfficial: boolean;
562
562
  isInternal: boolean;
563
+ websiteUrl?: string | undefined;
563
564
  description?: string | undefined;
564
565
  icon?: string | undefined;
565
- websiteUrl?: string | undefined;
566
566
  privacyPolicyUrl?: string | undefined;
567
567
  termsUrl?: string | undefined;
568
568
  developerName?: string | undefined;
@@ -594,9 +594,9 @@ export declare const mcpOAuthConsentResponseSchema: z.ZodObject<{
594
594
  scopes: string[];
595
595
  isOfficial: boolean;
596
596
  isInternal: boolean;
597
+ websiteUrl?: string | undefined;
597
598
  description?: string | undefined;
598
599
  icon?: string | undefined;
599
- websiteUrl?: string | undefined;
600
600
  privacyPolicyUrl?: string | undefined;
601
601
  termsUrl?: string | undefined;
602
602
  developerName?: string | undefined;
@@ -608,9 +608,9 @@ export declare const mcpOAuthConsentResponseSchema: z.ZodObject<{
608
608
  scopes: string[];
609
609
  isOfficial: boolean;
610
610
  isInternal: boolean;
611
+ websiteUrl?: string | undefined;
611
612
  description?: string | undefined;
612
613
  icon?: string | undefined;
613
- websiteUrl?: string | undefined;
614
614
  privacyPolicyUrl?: string | undefined;
615
615
  termsUrl?: string | undefined;
616
616
  developerName?: string | undefined;
@@ -622,13 +622,13 @@ export declare const mcpOAuthConsentResponseSchema: z.ZodObject<{
622
622
  avatar: z.ZodOptional<z.ZodString>;
623
623
  }, "strict", z.ZodTypeAny, {
624
624
  id: string;
625
- displayName?: string | undefined;
626
625
  avatar?: string | undefined;
626
+ displayName?: string | undefined;
627
627
  handle?: string | undefined;
628
628
  }, {
629
629
  id: string;
630
- displayName?: string | undefined;
631
630
  avatar?: string | undefined;
631
+ displayName?: string | undefined;
632
632
  handle?: string | undefined;
633
633
  }>;
634
634
  resource: z.ZodObject<{
@@ -654,9 +654,9 @@ export declare const mcpOAuthConsentResponseSchema: z.ZodObject<{
654
654
  scopes: string[];
655
655
  isOfficial: boolean;
656
656
  isInternal: boolean;
657
+ websiteUrl?: string | undefined;
657
658
  description?: string | undefined;
658
659
  icon?: string | undefined;
659
- websiteUrl?: string | undefined;
660
660
  privacyPolicyUrl?: string | undefined;
661
661
  termsUrl?: string | undefined;
662
662
  developerName?: string | undefined;
@@ -667,9 +667,9 @@ export declare const mcpOAuthConsentResponseSchema: z.ZodObject<{
667
667
  scopes: string[];
668
668
  isOfficial: boolean;
669
669
  isInternal: boolean;
670
+ websiteUrl?: string | undefined;
670
671
  description?: string | undefined;
671
672
  icon?: string | undefined;
672
- websiteUrl?: string | undefined;
673
673
  privacyPolicyUrl?: string | undefined;
674
674
  termsUrl?: string | undefined;
675
675
  developerName?: string | undefined;
@@ -683,9 +683,9 @@ export declare const mcpOAuthConsentResponseSchema: z.ZodObject<{
683
683
  scopes: string[];
684
684
  isOfficial: boolean;
685
685
  isInternal: boolean;
686
+ websiteUrl?: string | undefined;
686
687
  description?: string | undefined;
687
688
  icon?: string | undefined;
688
- websiteUrl?: string | undefined;
689
689
  privacyPolicyUrl?: string | undefined;
690
690
  termsUrl?: string | undefined;
691
691
  developerName?: string | undefined;
@@ -700,9 +700,9 @@ export declare const mcpOAuthConsentResponseSchema: z.ZodObject<{
700
700
  scopes: string[];
701
701
  isOfficial: boolean;
702
702
  isInternal: boolean;
703
+ websiteUrl?: string | undefined;
703
704
  description?: string | undefined;
704
705
  icon?: string | undefined;
705
- websiteUrl?: string | undefined;
706
706
  privacyPolicyUrl?: string | undefined;
707
707
  termsUrl?: string | undefined;
708
708
  developerName?: string | undefined;
@@ -778,9 +778,9 @@ export declare const mcpOAuthConsentResponseSchema: z.ZodObject<{
778
778
  scopes: string[];
779
779
  isOfficial: boolean;
780
780
  isInternal: boolean;
781
+ websiteUrl?: string | undefined;
781
782
  description?: string | undefined;
782
783
  icon?: string | undefined;
783
- websiteUrl?: string | undefined;
784
784
  privacyPolicyUrl?: string | undefined;
785
785
  termsUrl?: string | undefined;
786
786
  developerName?: string | undefined;
@@ -790,8 +790,8 @@ export declare const mcpOAuthConsentResponseSchema: z.ZodObject<{
790
790
  capabilities: string[];
791
791
  account: {
792
792
  id: string;
793
- displayName?: string | undefined;
794
793
  avatar?: string | undefined;
794
+ displayName?: string | undefined;
795
795
  handle?: string | undefined;
796
796
  };
797
797
  client: {
@@ -802,9 +802,9 @@ export declare const mcpOAuthConsentResponseSchema: z.ZodObject<{
802
802
  scopes: string[];
803
803
  isOfficial: boolean;
804
804
  isInternal: boolean;
805
+ websiteUrl?: string | undefined;
805
806
  description?: string | undefined;
806
807
  icon?: string | undefined;
807
- websiteUrl?: string | undefined;
808
808
  privacyPolicyUrl?: string | undefined;
809
809
  termsUrl?: string | undefined;
810
810
  developerName?: string | undefined;
@@ -826,9 +826,9 @@ export declare const mcpOAuthConsentResponseSchema: z.ZodObject<{
826
826
  scopes: string[];
827
827
  isOfficial: boolean;
828
828
  isInternal: boolean;
829
+ websiteUrl?: string | undefined;
829
830
  description?: string | undefined;
830
831
  icon?: string | undefined;
831
- websiteUrl?: string | undefined;
832
832
  privacyPolicyUrl?: string | undefined;
833
833
  termsUrl?: string | undefined;
834
834
  developerName?: string | undefined;
@@ -838,8 +838,8 @@ export declare const mcpOAuthConsentResponseSchema: z.ZodObject<{
838
838
  capabilities: string[];
839
839
  account: {
840
840
  id: string;
841
- displayName?: string | undefined;
842
841
  avatar?: string | undefined;
842
+ displayName?: string | undefined;
843
843
  handle?: string | undefined;
844
844
  };
845
845
  client: {
@@ -850,9 +850,9 @@ export declare const mcpOAuthConsentResponseSchema: z.ZodObject<{
850
850
  scopes: string[];
851
851
  isOfficial: boolean;
852
852
  isInternal: boolean;
853
+ websiteUrl?: string | undefined;
853
854
  description?: string | undefined;
854
855
  icon?: string | undefined;
855
- websiteUrl?: string | undefined;
856
856
  privacyPolicyUrl?: string | undefined;
857
857
  termsUrl?: string | undefined;
858
858
  developerName?: string | undefined;
@@ -876,9 +876,9 @@ export declare const mcpOAuthConsentResponseSchema: z.ZodObject<{
876
876
  scopes: string[];
877
877
  isOfficial: boolean;
878
878
  isInternal: boolean;
879
+ websiteUrl?: string | undefined;
879
880
  description?: string | undefined;
880
881
  icon?: string | undefined;
881
- websiteUrl?: string | undefined;
882
882
  privacyPolicyUrl?: string | undefined;
883
883
  termsUrl?: string | undefined;
884
884
  developerName?: string | undefined;
@@ -888,8 +888,8 @@ export declare const mcpOAuthConsentResponseSchema: z.ZodObject<{
888
888
  capabilities: string[];
889
889
  account: {
890
890
  id: string;
891
- displayName?: string | undefined;
892
891
  avatar?: string | undefined;
892
+ displayName?: string | undefined;
893
893
  handle?: string | undefined;
894
894
  };
895
895
  client: {
@@ -900,9 +900,9 @@ export declare const mcpOAuthConsentResponseSchema: z.ZodObject<{
900
900
  scopes: string[];
901
901
  isOfficial: boolean;
902
902
  isInternal: boolean;
903
+ websiteUrl?: string | undefined;
903
904
  description?: string | undefined;
904
905
  icon?: string | undefined;
905
- websiteUrl?: string | undefined;
906
906
  privacyPolicyUrl?: string | undefined;
907
907
  termsUrl?: string | undefined;
908
908
  developerName?: string | undefined;
@@ -927,9 +927,9 @@ export declare const mcpOAuthConsentResponseSchema: z.ZodObject<{
927
927
  scopes: string[];
928
928
  isOfficial: boolean;
929
929
  isInternal: boolean;
930
+ websiteUrl?: string | undefined;
930
931
  description?: string | undefined;
931
932
  icon?: string | undefined;
932
- websiteUrl?: string | undefined;
933
933
  privacyPolicyUrl?: string | undefined;
934
934
  termsUrl?: string | undefined;
935
935
  developerName?: string | undefined;
@@ -939,8 +939,8 @@ export declare const mcpOAuthConsentResponseSchema: z.ZodObject<{
939
939
  capabilities: string[];
940
940
  account: {
941
941
  id: string;
942
- displayName?: string | undefined;
943
942
  avatar?: string | undefined;
943
+ displayName?: string | undefined;
944
944
  handle?: string | undefined;
945
945
  };
946
946
  client: {
@@ -951,9 +951,9 @@ export declare const mcpOAuthConsentResponseSchema: z.ZodObject<{
951
951
  scopes: string[];
952
952
  isOfficial: boolean;
953
953
  isInternal: boolean;
954
+ websiteUrl?: string | undefined;
954
955
  description?: string | undefined;
955
956
  icon?: string | undefined;
956
- websiteUrl?: string | undefined;
957
957
  privacyPolicyUrl?: string | undefined;
958
958
  termsUrl?: string | undefined;
959
959
  developerName?: string | undefined;