@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.
- package/dist/cjs/.tsbuildinfo +1 -1
- package/dist/cjs/accountGraph.js +23 -4
- package/dist/cjs/index.js +19 -15
- package/dist/cjs/organizations.js +210 -0
- package/dist/cjs/products/billing.js +1 -0
- package/dist/cjs/products/checkout.js +14 -1
- package/dist/cjs/products/plans.js +18 -2
- package/dist/cjs/safety.js +15 -0
- package/dist/cjs/userResponse.js +8 -1
- package/dist/esm/.tsbuildinfo +1 -1
- package/dist/esm/accountGraph.js +21 -2
- package/dist/esm/index.js +4 -2
- package/dist/esm/organizations.js +207 -0
- package/dist/esm/products/billing.js +1 -0
- package/dist/esm/products/checkout.js +13 -0
- package/dist/esm/products/plans.js +17 -1
- package/dist/esm/safety.js +12 -0
- package/dist/esm/userResponse.js +8 -1
- package/dist/types/.tsbuildinfo +1 -1
- package/dist/types/accountGraph.d.ts +50 -18
- package/dist/types/agency.d.ts +42 -42
- package/dist/types/deviceDirectory.d.ts +56 -56
- package/dist/types/email/messages.d.ts +56 -56
- package/dist/types/externalIdentity.d.ts +56 -23
- package/dist/types/index.d.ts +4 -2
- package/dist/types/inference/accountBilling.d.ts +36 -36
- package/dist/types/inference/catalogue.d.ts +12 -12
- package/dist/types/inference/decisions.d.ts +16 -16
- package/dist/types/inference/economics.d.ts +6 -6
- package/dist/types/inference/embeddings.d.ts +18 -18
- package/dist/types/inference/entitlement.d.ts +12 -12
- package/dist/types/inference/errors.d.ts +4 -4
- package/dist/types/inference/inbox.d.ts +17 -17
- package/dist/types/inference/priceVersion.d.ts +8 -8
- package/dist/types/inference/privateAutoExecution.d.ts +12 -12
- package/dist/types/inference/providerConnection.d.ts +24 -24
- package/dist/types/inference/realtime.d.ts +26 -26
- package/dist/types/inference/request.d.ts +26 -26
- package/dist/types/inference/routingPolicy.d.ts +4 -4
- package/dist/types/inference/scopedExecution.d.ts +8 -8
- package/dist/types/inference/streamEvents.d.ts +20 -20
- package/dist/types/inference/usage.d.ts +8 -8
- package/dist/types/keyRecovery.d.ts +4 -4
- package/dist/types/linkedAccounts.d.ts +16 -16
- package/dist/types/notifications.d.ts +4 -4
- package/dist/types/oauth.d.ts +40 -40
- package/dist/types/organizations.d.ts +1088 -0
- package/dist/types/products/access.d.ts +18 -18
- package/dist/types/products/billing.d.ts +32 -24
- package/dist/types/products/checkout.d.ts +36 -0
- package/dist/types/products/plans.d.ts +108 -11
- package/dist/types/recommendations.d.ts +2 -2
- package/dist/types/safety.d.ts +24 -0
- package/dist/types/sessionStatus.d.ts +6 -6
- package/dist/types/stickers.d.ts +32 -32
- package/dist/types/userResponse.d.ts +169 -33
- package/package.json +1 -1
|
@@ -129,11 +129,11 @@ export declare const deviceAccountContextSchema: z.ZodObject<{
|
|
|
129
129
|
active: z.ZodBoolean;
|
|
130
130
|
lastUsedAt: z.ZodNullable<z.ZodNumber>;
|
|
131
131
|
}, "strip", z.ZodTypeAny, {
|
|
132
|
-
|
|
132
|
+
active: boolean;
|
|
133
|
+
kind: "organization" | "bot" | "personal" | "project" | "channel";
|
|
133
134
|
accountId: string;
|
|
134
135
|
id: string;
|
|
135
136
|
lastUsedAt: number | null;
|
|
136
|
-
active: boolean;
|
|
137
137
|
relationship: "owner" | "self" | "member";
|
|
138
138
|
account: {
|
|
139
139
|
username: string;
|
|
@@ -145,11 +145,11 @@ export declare const deviceAccountContextSchema: z.ZodObject<{
|
|
|
145
145
|
onDevice: boolean;
|
|
146
146
|
available: boolean;
|
|
147
147
|
}, {
|
|
148
|
-
|
|
148
|
+
active: boolean;
|
|
149
|
+
kind: "organization" | "bot" | "personal" | "project" | "channel";
|
|
149
150
|
accountId: string;
|
|
150
151
|
id: string;
|
|
151
152
|
lastUsedAt: number | null;
|
|
152
|
-
active: boolean;
|
|
153
153
|
relationship: "owner" | "self" | "member";
|
|
154
154
|
account: {
|
|
155
155
|
username: string;
|
|
@@ -231,11 +231,11 @@ export declare const devicePrincipalSchema: z.ZodObject<{
|
|
|
231
231
|
active: z.ZodBoolean;
|
|
232
232
|
lastUsedAt: z.ZodNullable<z.ZodNumber>;
|
|
233
233
|
}, "strip", z.ZodTypeAny, {
|
|
234
|
-
|
|
234
|
+
active: boolean;
|
|
235
|
+
kind: "organization" | "bot" | "personal" | "project" | "channel";
|
|
235
236
|
accountId: string;
|
|
236
237
|
id: string;
|
|
237
238
|
lastUsedAt: number | null;
|
|
238
|
-
active: boolean;
|
|
239
239
|
relationship: "owner" | "self" | "member";
|
|
240
240
|
account: {
|
|
241
241
|
username: string;
|
|
@@ -247,11 +247,11 @@ export declare const devicePrincipalSchema: z.ZodObject<{
|
|
|
247
247
|
onDevice: boolean;
|
|
248
248
|
available: boolean;
|
|
249
249
|
}, {
|
|
250
|
-
|
|
250
|
+
active: boolean;
|
|
251
|
+
kind: "organization" | "bot" | "personal" | "project" | "channel";
|
|
251
252
|
accountId: string;
|
|
252
253
|
id: string;
|
|
253
254
|
lastUsedAt: number | null;
|
|
254
|
-
active: boolean;
|
|
255
255
|
relationship: "owner" | "self" | "member";
|
|
256
256
|
account: {
|
|
257
257
|
username: string;
|
|
@@ -275,11 +275,11 @@ export declare const devicePrincipalSchema: z.ZodObject<{
|
|
|
275
275
|
authuser: number;
|
|
276
276
|
userId: string;
|
|
277
277
|
contexts: {
|
|
278
|
-
|
|
278
|
+
active: boolean;
|
|
279
|
+
kind: "organization" | "bot" | "personal" | "project" | "channel";
|
|
279
280
|
accountId: string;
|
|
280
281
|
id: string;
|
|
281
282
|
lastUsedAt: number | null;
|
|
282
|
-
active: boolean;
|
|
283
283
|
relationship: "owner" | "self" | "member";
|
|
284
284
|
account: {
|
|
285
285
|
username: string;
|
|
@@ -303,11 +303,11 @@ export declare const devicePrincipalSchema: z.ZodObject<{
|
|
|
303
303
|
authuser: number;
|
|
304
304
|
userId: string;
|
|
305
305
|
contexts: {
|
|
306
|
-
|
|
306
|
+
active: boolean;
|
|
307
|
+
kind: "organization" | "bot" | "personal" | "project" | "channel";
|
|
307
308
|
accountId: string;
|
|
308
309
|
id: string;
|
|
309
310
|
lastUsedAt: number | null;
|
|
310
|
-
active: boolean;
|
|
311
311
|
relationship: "owner" | "self" | "member";
|
|
312
312
|
account: {
|
|
313
313
|
username: string;
|
|
@@ -394,11 +394,11 @@ export declare const deviceDirectorySchema: z.ZodObject<{
|
|
|
394
394
|
active: z.ZodBoolean;
|
|
395
395
|
lastUsedAt: z.ZodNullable<z.ZodNumber>;
|
|
396
396
|
}, "strip", z.ZodTypeAny, {
|
|
397
|
-
|
|
397
|
+
active: boolean;
|
|
398
|
+
kind: "organization" | "bot" | "personal" | "project" | "channel";
|
|
398
399
|
accountId: string;
|
|
399
400
|
id: string;
|
|
400
401
|
lastUsedAt: number | null;
|
|
401
|
-
active: boolean;
|
|
402
402
|
relationship: "owner" | "self" | "member";
|
|
403
403
|
account: {
|
|
404
404
|
username: string;
|
|
@@ -410,11 +410,11 @@ export declare const deviceDirectorySchema: z.ZodObject<{
|
|
|
410
410
|
onDevice: boolean;
|
|
411
411
|
available: boolean;
|
|
412
412
|
}, {
|
|
413
|
-
|
|
413
|
+
active: boolean;
|
|
414
|
+
kind: "organization" | "bot" | "personal" | "project" | "channel";
|
|
414
415
|
accountId: string;
|
|
415
416
|
id: string;
|
|
416
417
|
lastUsedAt: number | null;
|
|
417
|
-
active: boolean;
|
|
418
418
|
relationship: "owner" | "self" | "member";
|
|
419
419
|
account: {
|
|
420
420
|
username: string;
|
|
@@ -438,11 +438,11 @@ export declare const deviceDirectorySchema: z.ZodObject<{
|
|
|
438
438
|
authuser: number;
|
|
439
439
|
userId: string;
|
|
440
440
|
contexts: {
|
|
441
|
-
|
|
441
|
+
active: boolean;
|
|
442
|
+
kind: "organization" | "bot" | "personal" | "project" | "channel";
|
|
442
443
|
accountId: string;
|
|
443
444
|
id: string;
|
|
444
445
|
lastUsedAt: number | null;
|
|
445
|
-
active: boolean;
|
|
446
446
|
relationship: "owner" | "self" | "member";
|
|
447
447
|
account: {
|
|
448
448
|
username: string;
|
|
@@ -466,11 +466,11 @@ export declare const deviceDirectorySchema: z.ZodObject<{
|
|
|
466
466
|
authuser: number;
|
|
467
467
|
userId: string;
|
|
468
468
|
contexts: {
|
|
469
|
-
|
|
469
|
+
active: boolean;
|
|
470
|
+
kind: "organization" | "bot" | "personal" | "project" | "channel";
|
|
470
471
|
accountId: string;
|
|
471
472
|
id: string;
|
|
472
473
|
lastUsedAt: number | null;
|
|
473
|
-
active: boolean;
|
|
474
474
|
relationship: "owner" | "self" | "member";
|
|
475
475
|
account: {
|
|
476
476
|
username: string;
|
|
@@ -501,11 +501,11 @@ export declare const deviceDirectorySchema: z.ZodObject<{
|
|
|
501
501
|
authuser: number;
|
|
502
502
|
userId: string;
|
|
503
503
|
contexts: {
|
|
504
|
-
|
|
504
|
+
active: boolean;
|
|
505
|
+
kind: "organization" | "bot" | "personal" | "project" | "channel";
|
|
505
506
|
accountId: string;
|
|
506
507
|
id: string;
|
|
507
508
|
lastUsedAt: number | null;
|
|
508
|
-
active: boolean;
|
|
509
509
|
relationship: "owner" | "self" | "member";
|
|
510
510
|
account: {
|
|
511
511
|
username: string;
|
|
@@ -535,11 +535,11 @@ export declare const deviceDirectorySchema: z.ZodObject<{
|
|
|
535
535
|
authuser: number;
|
|
536
536
|
userId: string;
|
|
537
537
|
contexts: {
|
|
538
|
-
|
|
538
|
+
active: boolean;
|
|
539
|
+
kind: "organization" | "bot" | "personal" | "project" | "channel";
|
|
539
540
|
accountId: string;
|
|
540
541
|
id: string;
|
|
541
542
|
lastUsedAt: number | null;
|
|
542
|
-
active: boolean;
|
|
543
543
|
relationship: "owner" | "self" | "member";
|
|
544
544
|
account: {
|
|
545
545
|
username: string;
|
|
@@ -648,11 +648,11 @@ export declare const deviceActivateResponseSchema: z.ZodObject<{
|
|
|
648
648
|
active: z.ZodBoolean;
|
|
649
649
|
lastUsedAt: z.ZodNullable<z.ZodNumber>;
|
|
650
650
|
}, "strip", z.ZodTypeAny, {
|
|
651
|
-
|
|
651
|
+
active: boolean;
|
|
652
|
+
kind: "organization" | "bot" | "personal" | "project" | "channel";
|
|
652
653
|
accountId: string;
|
|
653
654
|
id: string;
|
|
654
655
|
lastUsedAt: number | null;
|
|
655
|
-
active: boolean;
|
|
656
656
|
relationship: "owner" | "self" | "member";
|
|
657
657
|
account: {
|
|
658
658
|
username: string;
|
|
@@ -664,11 +664,11 @@ export declare const deviceActivateResponseSchema: z.ZodObject<{
|
|
|
664
664
|
onDevice: boolean;
|
|
665
665
|
available: boolean;
|
|
666
666
|
}, {
|
|
667
|
-
|
|
667
|
+
active: boolean;
|
|
668
|
+
kind: "organization" | "bot" | "personal" | "project" | "channel";
|
|
668
669
|
accountId: string;
|
|
669
670
|
id: string;
|
|
670
671
|
lastUsedAt: number | null;
|
|
671
|
-
active: boolean;
|
|
672
672
|
relationship: "owner" | "self" | "member";
|
|
673
673
|
account: {
|
|
674
674
|
username: string;
|
|
@@ -692,11 +692,11 @@ export declare const deviceActivateResponseSchema: z.ZodObject<{
|
|
|
692
692
|
authuser: number;
|
|
693
693
|
userId: string;
|
|
694
694
|
contexts: {
|
|
695
|
-
|
|
695
|
+
active: boolean;
|
|
696
|
+
kind: "organization" | "bot" | "personal" | "project" | "channel";
|
|
696
697
|
accountId: string;
|
|
697
698
|
id: string;
|
|
698
699
|
lastUsedAt: number | null;
|
|
699
|
-
active: boolean;
|
|
700
700
|
relationship: "owner" | "self" | "member";
|
|
701
701
|
account: {
|
|
702
702
|
username: string;
|
|
@@ -720,11 +720,11 @@ export declare const deviceActivateResponseSchema: z.ZodObject<{
|
|
|
720
720
|
authuser: number;
|
|
721
721
|
userId: string;
|
|
722
722
|
contexts: {
|
|
723
|
-
|
|
723
|
+
active: boolean;
|
|
724
|
+
kind: "organization" | "bot" | "personal" | "project" | "channel";
|
|
724
725
|
accountId: string;
|
|
725
726
|
id: string;
|
|
726
727
|
lastUsedAt: number | null;
|
|
727
|
-
active: boolean;
|
|
728
728
|
relationship: "owner" | "self" | "member";
|
|
729
729
|
account: {
|
|
730
730
|
username: string;
|
|
@@ -755,11 +755,11 @@ export declare const deviceActivateResponseSchema: z.ZodObject<{
|
|
|
755
755
|
authuser: number;
|
|
756
756
|
userId: string;
|
|
757
757
|
contexts: {
|
|
758
|
-
|
|
758
|
+
active: boolean;
|
|
759
|
+
kind: "organization" | "bot" | "personal" | "project" | "channel";
|
|
759
760
|
accountId: string;
|
|
760
761
|
id: string;
|
|
761
762
|
lastUsedAt: number | null;
|
|
762
|
-
active: boolean;
|
|
763
763
|
relationship: "owner" | "self" | "member";
|
|
764
764
|
account: {
|
|
765
765
|
username: string;
|
|
@@ -789,11 +789,11 @@ export declare const deviceActivateResponseSchema: z.ZodObject<{
|
|
|
789
789
|
authuser: number;
|
|
790
790
|
userId: string;
|
|
791
791
|
contexts: {
|
|
792
|
-
|
|
792
|
+
active: boolean;
|
|
793
|
+
kind: "organization" | "bot" | "personal" | "project" | "channel";
|
|
793
794
|
accountId: string;
|
|
794
795
|
id: string;
|
|
795
796
|
lastUsedAt: number | null;
|
|
796
|
-
active: boolean;
|
|
797
797
|
relationship: "owner" | "self" | "member";
|
|
798
798
|
account: {
|
|
799
799
|
username: string;
|
|
@@ -839,11 +839,11 @@ export declare const deviceActivateResponseSchema: z.ZodObject<{
|
|
|
839
839
|
authuser: number;
|
|
840
840
|
userId: string;
|
|
841
841
|
contexts: {
|
|
842
|
-
|
|
842
|
+
active: boolean;
|
|
843
|
+
kind: "organization" | "bot" | "personal" | "project" | "channel";
|
|
843
844
|
accountId: string;
|
|
844
845
|
id: string;
|
|
845
846
|
lastUsedAt: number | null;
|
|
846
|
-
active: boolean;
|
|
847
847
|
relationship: "owner" | "self" | "member";
|
|
848
848
|
account: {
|
|
849
849
|
username: string;
|
|
@@ -879,11 +879,11 @@ export declare const deviceActivateResponseSchema: z.ZodObject<{
|
|
|
879
879
|
authuser: number;
|
|
880
880
|
userId: string;
|
|
881
881
|
contexts: {
|
|
882
|
-
|
|
882
|
+
active: boolean;
|
|
883
|
+
kind: "organization" | "bot" | "personal" | "project" | "channel";
|
|
883
884
|
accountId: string;
|
|
884
885
|
id: string;
|
|
885
886
|
lastUsedAt: number | null;
|
|
886
|
-
active: boolean;
|
|
887
887
|
relationship: "owner" | "self" | "member";
|
|
888
888
|
account: {
|
|
889
889
|
username: string;
|
|
@@ -989,11 +989,11 @@ export declare const deviceDirectorySyncSchema: z.ZodObject<{
|
|
|
989
989
|
active: z.ZodBoolean;
|
|
990
990
|
lastUsedAt: z.ZodNullable<z.ZodNumber>;
|
|
991
991
|
}, "strip", z.ZodTypeAny, {
|
|
992
|
-
|
|
992
|
+
active: boolean;
|
|
993
|
+
kind: "organization" | "bot" | "personal" | "project" | "channel";
|
|
993
994
|
accountId: string;
|
|
994
995
|
id: string;
|
|
995
996
|
lastUsedAt: number | null;
|
|
996
|
-
active: boolean;
|
|
997
997
|
relationship: "owner" | "self" | "member";
|
|
998
998
|
account: {
|
|
999
999
|
username: string;
|
|
@@ -1005,11 +1005,11 @@ export declare const deviceDirectorySyncSchema: z.ZodObject<{
|
|
|
1005
1005
|
onDevice: boolean;
|
|
1006
1006
|
available: boolean;
|
|
1007
1007
|
}, {
|
|
1008
|
-
|
|
1008
|
+
active: boolean;
|
|
1009
|
+
kind: "organization" | "bot" | "personal" | "project" | "channel";
|
|
1009
1010
|
accountId: string;
|
|
1010
1011
|
id: string;
|
|
1011
1012
|
lastUsedAt: number | null;
|
|
1012
|
-
active: boolean;
|
|
1013
1013
|
relationship: "owner" | "self" | "member";
|
|
1014
1014
|
account: {
|
|
1015
1015
|
username: string;
|
|
@@ -1033,11 +1033,11 @@ export declare const deviceDirectorySyncSchema: z.ZodObject<{
|
|
|
1033
1033
|
authuser: number;
|
|
1034
1034
|
userId: string;
|
|
1035
1035
|
contexts: {
|
|
1036
|
-
|
|
1036
|
+
active: boolean;
|
|
1037
|
+
kind: "organization" | "bot" | "personal" | "project" | "channel";
|
|
1037
1038
|
accountId: string;
|
|
1038
1039
|
id: string;
|
|
1039
1040
|
lastUsedAt: number | null;
|
|
1040
|
-
active: boolean;
|
|
1041
1041
|
relationship: "owner" | "self" | "member";
|
|
1042
1042
|
account: {
|
|
1043
1043
|
username: string;
|
|
@@ -1061,11 +1061,11 @@ export declare const deviceDirectorySyncSchema: z.ZodObject<{
|
|
|
1061
1061
|
authuser: number;
|
|
1062
1062
|
userId: string;
|
|
1063
1063
|
contexts: {
|
|
1064
|
-
|
|
1064
|
+
active: boolean;
|
|
1065
|
+
kind: "organization" | "bot" | "personal" | "project" | "channel";
|
|
1065
1066
|
accountId: string;
|
|
1066
1067
|
id: string;
|
|
1067
1068
|
lastUsedAt: number | null;
|
|
1068
|
-
active: boolean;
|
|
1069
1069
|
relationship: "owner" | "self" | "member";
|
|
1070
1070
|
account: {
|
|
1071
1071
|
username: string;
|
|
@@ -1096,11 +1096,11 @@ export declare const deviceDirectorySyncSchema: z.ZodObject<{
|
|
|
1096
1096
|
authuser: number;
|
|
1097
1097
|
userId: string;
|
|
1098
1098
|
contexts: {
|
|
1099
|
-
|
|
1099
|
+
active: boolean;
|
|
1100
|
+
kind: "organization" | "bot" | "personal" | "project" | "channel";
|
|
1100
1101
|
accountId: string;
|
|
1101
1102
|
id: string;
|
|
1102
1103
|
lastUsedAt: number | null;
|
|
1103
|
-
active: boolean;
|
|
1104
1104
|
relationship: "owner" | "self" | "member";
|
|
1105
1105
|
account: {
|
|
1106
1106
|
username: string;
|
|
@@ -1130,11 +1130,11 @@ export declare const deviceDirectorySyncSchema: z.ZodObject<{
|
|
|
1130
1130
|
authuser: number;
|
|
1131
1131
|
userId: string;
|
|
1132
1132
|
contexts: {
|
|
1133
|
-
|
|
1133
|
+
active: boolean;
|
|
1134
|
+
kind: "organization" | "bot" | "personal" | "project" | "channel";
|
|
1134
1135
|
accountId: string;
|
|
1135
1136
|
id: string;
|
|
1136
1137
|
lastUsedAt: number | null;
|
|
1137
|
-
active: boolean;
|
|
1138
1138
|
relationship: "owner" | "self" | "member";
|
|
1139
1139
|
account: {
|
|
1140
1140
|
username: string;
|
|
@@ -1236,11 +1236,11 @@ export declare const deviceDirectorySyncSchema: z.ZodObject<{
|
|
|
1236
1236
|
authuser: number;
|
|
1237
1237
|
userId: string;
|
|
1238
1238
|
contexts: {
|
|
1239
|
-
|
|
1239
|
+
active: boolean;
|
|
1240
|
+
kind: "organization" | "bot" | "personal" | "project" | "channel";
|
|
1240
1241
|
accountId: string;
|
|
1241
1242
|
id: string;
|
|
1242
1243
|
lastUsedAt: number | null;
|
|
1243
|
-
active: boolean;
|
|
1244
1244
|
relationship: "owner" | "self" | "member";
|
|
1245
1245
|
account: {
|
|
1246
1246
|
username: string;
|
|
@@ -1288,11 +1288,11 @@ export declare const deviceDirectorySyncSchema: z.ZodObject<{
|
|
|
1288
1288
|
authuser: number;
|
|
1289
1289
|
userId: string;
|
|
1290
1290
|
contexts: {
|
|
1291
|
-
|
|
1291
|
+
active: boolean;
|
|
1292
|
+
kind: "organization" | "bot" | "personal" | "project" | "channel";
|
|
1292
1293
|
accountId: string;
|
|
1293
1294
|
id: string;
|
|
1294
1295
|
lastUsedAt: number | null;
|
|
1295
|
-
active: boolean;
|
|
1296
1296
|
relationship: "owner" | "self" | "member";
|
|
1297
1297
|
account: {
|
|
1298
1298
|
username: string;
|