@oxy.so/contracts 5.2.0 → 5.4.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/accountGraph.js +8 -5
- package/dist/cjs/accountName.js +20 -0
- package/dist/cjs/accountSubject.js +4 -2
- package/dist/cjs/client/accountGraph.js +2 -0
- package/dist/cjs/client/accountName.js +56 -0
- package/dist/cjs/client/index.js +12 -4
- package/dist/cjs/client/organizations.js +5 -4
- package/dist/cjs/index.js +31 -15
- package/dist/cjs/organizations.js +3 -7
- package/dist/cjs/sessionRevocation.js +89 -0
- package/dist/esm/accountGraph.js +9 -6
- package/dist/esm/accountName.js +12 -0
- package/dist/esm/accountSubject.js +4 -2
- package/dist/esm/client/accountGraph.js +2 -0
- package/dist/esm/client/accountName.js +51 -0
- package/dist/esm/client/index.js +1 -0
- package/dist/esm/client/organizations.js +5 -4
- package/dist/esm/index.js +2 -0
- package/dist/esm/organizations.js +4 -8
- package/dist/esm/sessionRevocation.js +86 -0
- package/dist/types/accountAccess.d.ts +5 -5
- package/dist/types/accountGraph.d.ts +12 -12
- package/dist/types/accountName.d.ts +5 -0
- package/dist/types/accountSubject.d.ts +3 -2
- package/dist/types/agency.d.ts +28 -28
- package/dist/types/client/accountGraph.d.ts +12 -6
- package/dist/types/client/accountName.d.ts +48 -0
- package/dist/types/client/deviceDirectory.d.ts +3 -3
- package/dist/types/client/index.d.ts +1 -0
- package/dist/types/client/organizations.d.ts +8 -7
- package/dist/types/client/safety.d.ts +2 -2
- package/dist/types/deviceDirectory.d.ts +33 -33
- package/dist/types/externalIdentity.d.ts +14 -14
- package/dist/types/index.d.ts +4 -0
- package/dist/types/inference/economics.d.ts +2 -2
- package/dist/types/inference/providerConnection.d.ts +4 -4
- package/dist/types/notifications.d.ts +4 -4
- package/dist/types/organizations.d.ts +41 -40
- package/dist/types/safety.d.ts +22 -22
- package/dist/types/sessionRevocation.d.ts +100 -0
- package/dist/types/stickers.d.ts +9 -9
- package/dist/types/userResponse.d.ts +42 -42
- package/package.json +1 -1
|
@@ -13,6 +13,7 @@ export declare const organizationAliasSchema: z.ZodObject<{
|
|
|
13
13
|
kind: "name_variant" | "former_name" | "localized_name" | "marketing_name" | "misspelling";
|
|
14
14
|
language?: string | undefined;
|
|
15
15
|
}>;
|
|
16
|
+
/** An organization is named by the title policy every non-personal account uses. */
|
|
16
17
|
export declare const organizationNameSchema: z.ZodEffects<z.ZodString, string, string>;
|
|
17
18
|
export declare const createOrganizationSchema: z.ZodObject<{
|
|
18
19
|
name: z.ZodEffects<z.ZodString, string, string>;
|
|
@@ -35,7 +36,7 @@ export declare const createOrganizationSchema: z.ZodObject<{
|
|
|
35
36
|
}>, "many">>;
|
|
36
37
|
}, "strict", z.ZodTypeAny, {
|
|
37
38
|
name: string;
|
|
38
|
-
organizationType: "
|
|
39
|
+
organizationType: "community" | "business" | "nonprofit" | "other" | "public_body";
|
|
39
40
|
legalName?: string | null | undefined;
|
|
40
41
|
websiteUrl?: string | null | undefined;
|
|
41
42
|
countryCode?: string | null | undefined;
|
|
@@ -46,7 +47,7 @@ export declare const createOrganizationSchema: z.ZodObject<{
|
|
|
46
47
|
}[] | undefined;
|
|
47
48
|
}, {
|
|
48
49
|
name: string;
|
|
49
|
-
organizationType: "
|
|
50
|
+
organizationType: "community" | "business" | "nonprofit" | "other" | "public_body";
|
|
50
51
|
legalName?: string | null | undefined;
|
|
51
52
|
websiteUrl?: string | null | undefined;
|
|
52
53
|
countryCode?: string | null | undefined;
|
|
@@ -77,7 +78,7 @@ export declare const updateOrganizationSchema: z.ZodObject<{
|
|
|
77
78
|
}>, "many">>>;
|
|
78
79
|
}, "strict", z.ZodTypeAny, {
|
|
79
80
|
name?: string | undefined;
|
|
80
|
-
organizationType?: "
|
|
81
|
+
organizationType?: "community" | "business" | "nonprofit" | "other" | "public_body" | undefined;
|
|
81
82
|
legalName?: string | null | undefined;
|
|
82
83
|
websiteUrl?: string | null | undefined;
|
|
83
84
|
countryCode?: string | null | undefined;
|
|
@@ -88,7 +89,7 @@ export declare const updateOrganizationSchema: z.ZodObject<{
|
|
|
88
89
|
}[] | undefined;
|
|
89
90
|
}, {
|
|
90
91
|
name?: string | undefined;
|
|
91
|
-
organizationType?: "
|
|
92
|
+
organizationType?: "community" | "business" | "nonprofit" | "other" | "public_body" | undefined;
|
|
92
93
|
legalName?: string | null | undefined;
|
|
93
94
|
websiteUrl?: string | null | undefined;
|
|
94
95
|
countryCode?: string | null | undefined;
|
|
@@ -130,7 +131,7 @@ export declare const organizationSchema: z.ZodObject<{
|
|
|
130
131
|
}, "strict", z.ZodTypeAny, {
|
|
131
132
|
status: "active" | "inactive" | "merged" | "suppressed";
|
|
132
133
|
name: string;
|
|
133
|
-
organizationType: "
|
|
134
|
+
organizationType: "community" | "business" | "nonprofit" | "other" | "public_body";
|
|
134
135
|
legalName: string | null;
|
|
135
136
|
websiteUrl: string | null;
|
|
136
137
|
countryCode: string | null;
|
|
@@ -150,7 +151,7 @@ export declare const organizationSchema: z.ZodObject<{
|
|
|
150
151
|
}, {
|
|
151
152
|
status: "active" | "inactive" | "merged" | "suppressed";
|
|
152
153
|
name: string;
|
|
153
|
-
organizationType: "
|
|
154
|
+
organizationType: "community" | "business" | "nonprofit" | "other" | "public_body";
|
|
154
155
|
legalName: string | null;
|
|
155
156
|
websiteUrl: string | null;
|
|
156
157
|
countryCode: string | null;
|
|
@@ -176,10 +177,10 @@ export declare const organizationSearchSchema: z.ZodObject<{
|
|
|
176
177
|
}, "strict", z.ZodTypeAny, {
|
|
177
178
|
query: string;
|
|
178
179
|
limit: number;
|
|
179
|
-
organizationType?: "
|
|
180
|
+
organizationType?: "community" | "business" | "nonprofit" | "other" | "public_body" | undefined;
|
|
180
181
|
cursor?: string | undefined;
|
|
181
182
|
}, {
|
|
182
|
-
organizationType?: "
|
|
183
|
+
organizationType?: "community" | "business" | "nonprofit" | "other" | "public_body" | undefined;
|
|
183
184
|
query?: string | undefined;
|
|
184
185
|
limit?: number | undefined;
|
|
185
186
|
cursor?: string | undefined;
|
|
@@ -217,7 +218,7 @@ export declare const organizationListSchema: z.ZodObject<{
|
|
|
217
218
|
}, "strict", z.ZodTypeAny, {
|
|
218
219
|
status: "active" | "inactive" | "merged" | "suppressed";
|
|
219
220
|
name: string;
|
|
220
|
-
organizationType: "
|
|
221
|
+
organizationType: "community" | "business" | "nonprofit" | "other" | "public_body";
|
|
221
222
|
legalName: string | null;
|
|
222
223
|
websiteUrl: string | null;
|
|
223
224
|
countryCode: string | null;
|
|
@@ -237,7 +238,7 @@ export declare const organizationListSchema: z.ZodObject<{
|
|
|
237
238
|
}, {
|
|
238
239
|
status: "active" | "inactive" | "merged" | "suppressed";
|
|
239
240
|
name: string;
|
|
240
|
-
organizationType: "
|
|
241
|
+
organizationType: "community" | "business" | "nonprofit" | "other" | "public_body";
|
|
241
242
|
legalName: string | null;
|
|
242
243
|
websiteUrl: string | null;
|
|
243
244
|
countryCode: string | null;
|
|
@@ -260,7 +261,7 @@ export declare const organizationListSchema: z.ZodObject<{
|
|
|
260
261
|
items: {
|
|
261
262
|
status: "active" | "inactive" | "merged" | "suppressed";
|
|
262
263
|
name: string;
|
|
263
|
-
organizationType: "
|
|
264
|
+
organizationType: "community" | "business" | "nonprofit" | "other" | "public_body";
|
|
264
265
|
legalName: string | null;
|
|
265
266
|
websiteUrl: string | null;
|
|
266
267
|
countryCode: string | null;
|
|
@@ -283,7 +284,7 @@ export declare const organizationListSchema: z.ZodObject<{
|
|
|
283
284
|
items: {
|
|
284
285
|
status: "active" | "inactive" | "merged" | "suppressed";
|
|
285
286
|
name: string;
|
|
286
|
-
organizationType: "
|
|
287
|
+
organizationType: "community" | "business" | "nonprofit" | "other" | "public_body";
|
|
287
288
|
legalName: string | null;
|
|
288
289
|
websiteUrl: string | null;
|
|
289
290
|
countryCode: string | null;
|
|
@@ -345,7 +346,7 @@ export declare const organizationBatchSchema: z.ZodObject<{
|
|
|
345
346
|
}, "strict", z.ZodTypeAny, {
|
|
346
347
|
status: "active" | "inactive" | "merged" | "suppressed";
|
|
347
348
|
name: string;
|
|
348
|
-
organizationType: "
|
|
349
|
+
organizationType: "community" | "business" | "nonprofit" | "other" | "public_body";
|
|
349
350
|
legalName: string | null;
|
|
350
351
|
websiteUrl: string | null;
|
|
351
352
|
countryCode: string | null;
|
|
@@ -365,7 +366,7 @@ export declare const organizationBatchSchema: z.ZodObject<{
|
|
|
365
366
|
}, {
|
|
366
367
|
status: "active" | "inactive" | "merged" | "suppressed";
|
|
367
368
|
name: string;
|
|
368
|
-
organizationType: "
|
|
369
|
+
organizationType: "community" | "business" | "nonprofit" | "other" | "public_body";
|
|
369
370
|
legalName: string | null;
|
|
370
371
|
websiteUrl: string | null;
|
|
371
372
|
countryCode: string | null;
|
|
@@ -384,11 +385,10 @@ export declare const organizationBatchSchema: z.ZodObject<{
|
|
|
384
385
|
updatedAt: string;
|
|
385
386
|
}>;
|
|
386
387
|
}, "strict", z.ZodTypeAny, {
|
|
387
|
-
requestedAccountId: string;
|
|
388
388
|
organization: {
|
|
389
389
|
status: "active" | "inactive" | "merged" | "suppressed";
|
|
390
390
|
name: string;
|
|
391
|
-
organizationType: "
|
|
391
|
+
organizationType: "community" | "business" | "nonprofit" | "other" | "public_body";
|
|
392
392
|
legalName: string | null;
|
|
393
393
|
websiteUrl: string | null;
|
|
394
394
|
countryCode: string | null;
|
|
@@ -406,12 +406,12 @@ export declare const organizationBatchSchema: z.ZodObject<{
|
|
|
406
406
|
createdAt: string;
|
|
407
407
|
updatedAt: string;
|
|
408
408
|
};
|
|
409
|
-
}, {
|
|
410
409
|
requestedAccountId: string;
|
|
410
|
+
}, {
|
|
411
411
|
organization: {
|
|
412
412
|
status: "active" | "inactive" | "merged" | "suppressed";
|
|
413
413
|
name: string;
|
|
414
|
-
organizationType: "
|
|
414
|
+
organizationType: "community" | "business" | "nonprofit" | "other" | "public_body";
|
|
415
415
|
legalName: string | null;
|
|
416
416
|
websiteUrl: string | null;
|
|
417
417
|
countryCode: string | null;
|
|
@@ -429,15 +429,15 @@ export declare const organizationBatchSchema: z.ZodObject<{
|
|
|
429
429
|
createdAt: string;
|
|
430
430
|
updatedAt: string;
|
|
431
431
|
};
|
|
432
|
+
requestedAccountId: string;
|
|
432
433
|
}>, "many">;
|
|
433
434
|
missingIds: z.ZodArray<z.ZodString, "many">;
|
|
434
435
|
}, "strict", z.ZodTypeAny, {
|
|
435
436
|
items: {
|
|
436
|
-
requestedAccountId: string;
|
|
437
437
|
organization: {
|
|
438
438
|
status: "active" | "inactive" | "merged" | "suppressed";
|
|
439
439
|
name: string;
|
|
440
|
-
organizationType: "
|
|
440
|
+
organizationType: "community" | "business" | "nonprofit" | "other" | "public_body";
|
|
441
441
|
legalName: string | null;
|
|
442
442
|
websiteUrl: string | null;
|
|
443
443
|
countryCode: string | null;
|
|
@@ -455,15 +455,15 @@ export declare const organizationBatchSchema: z.ZodObject<{
|
|
|
455
455
|
createdAt: string;
|
|
456
456
|
updatedAt: string;
|
|
457
457
|
};
|
|
458
|
+
requestedAccountId: string;
|
|
458
459
|
}[];
|
|
459
460
|
missingIds: string[];
|
|
460
461
|
}, {
|
|
461
462
|
items: {
|
|
462
|
-
requestedAccountId: string;
|
|
463
463
|
organization: {
|
|
464
464
|
status: "active" | "inactive" | "merged" | "suppressed";
|
|
465
465
|
name: string;
|
|
466
|
-
organizationType: "
|
|
466
|
+
organizationType: "community" | "business" | "nonprofit" | "other" | "public_body";
|
|
467
467
|
legalName: string | null;
|
|
468
468
|
websiteUrl: string | null;
|
|
469
469
|
countryCode: string | null;
|
|
@@ -481,6 +481,7 @@ export declare const organizationBatchSchema: z.ZodObject<{
|
|
|
481
481
|
createdAt: string;
|
|
482
482
|
updatedAt: string;
|
|
483
483
|
};
|
|
484
|
+
requestedAccountId: string;
|
|
484
485
|
}[];
|
|
485
486
|
missingIds: string[];
|
|
486
487
|
}>;
|
|
@@ -643,7 +644,7 @@ export declare const organizationExternalInputSchema: z.ZodObject<{
|
|
|
643
644
|
}>, "many">>;
|
|
644
645
|
}, "strict", z.ZodTypeAny, {
|
|
645
646
|
name: string;
|
|
646
|
-
organizationType: "
|
|
647
|
+
organizationType: "community" | "business" | "nonprofit" | "other" | "public_body";
|
|
647
648
|
legalName?: string | null | undefined;
|
|
648
649
|
websiteUrl?: string | null | undefined;
|
|
649
650
|
countryCode?: string | null | undefined;
|
|
@@ -654,7 +655,7 @@ export declare const organizationExternalInputSchema: z.ZodObject<{
|
|
|
654
655
|
}[] | undefined;
|
|
655
656
|
}, {
|
|
656
657
|
name: string;
|
|
657
|
-
organizationType: "
|
|
658
|
+
organizationType: "community" | "business" | "nonprofit" | "other" | "public_body";
|
|
658
659
|
legalName?: string | null | undefined;
|
|
659
660
|
websiteUrl?: string | null | undefined;
|
|
660
661
|
countryCode?: string | null | undefined;
|
|
@@ -669,7 +670,7 @@ export declare const organizationExternalInputSchema: z.ZodObject<{
|
|
|
669
670
|
}, "strict", z.ZodTypeAny, {
|
|
670
671
|
organization: {
|
|
671
672
|
name: string;
|
|
672
|
-
organizationType: "
|
|
673
|
+
organizationType: "community" | "business" | "nonprofit" | "other" | "public_body";
|
|
673
674
|
legalName?: string | null | undefined;
|
|
674
675
|
websiteUrl?: string | null | undefined;
|
|
675
676
|
countryCode?: string | null | undefined;
|
|
@@ -687,7 +688,7 @@ export declare const organizationExternalInputSchema: z.ZodObject<{
|
|
|
687
688
|
}, {
|
|
688
689
|
organization: {
|
|
689
690
|
name: string;
|
|
690
|
-
organizationType: "
|
|
691
|
+
organizationType: "community" | "business" | "nonprofit" | "other" | "public_body";
|
|
691
692
|
legalName?: string | null | undefined;
|
|
692
693
|
websiteUrl?: string | null | undefined;
|
|
693
694
|
countryCode?: string | null | undefined;
|
|
@@ -731,7 +732,7 @@ export declare const organizationImportBatchSchema: z.ZodEffects<z.ZodObject<{
|
|
|
731
732
|
}>, "many">>;
|
|
732
733
|
}, "strict", z.ZodTypeAny, {
|
|
733
734
|
name: string;
|
|
734
|
-
organizationType: "
|
|
735
|
+
organizationType: "community" | "business" | "nonprofit" | "other" | "public_body";
|
|
735
736
|
legalName?: string | null | undefined;
|
|
736
737
|
websiteUrl?: string | null | undefined;
|
|
737
738
|
countryCode?: string | null | undefined;
|
|
@@ -742,7 +743,7 @@ export declare const organizationImportBatchSchema: z.ZodEffects<z.ZodObject<{
|
|
|
742
743
|
}[] | undefined;
|
|
743
744
|
}, {
|
|
744
745
|
name: string;
|
|
745
|
-
organizationType: "
|
|
746
|
+
organizationType: "community" | "business" | "nonprofit" | "other" | "public_body";
|
|
746
747
|
legalName?: string | null | undefined;
|
|
747
748
|
websiteUrl?: string | null | undefined;
|
|
748
749
|
countryCode?: string | null | undefined;
|
|
@@ -757,7 +758,7 @@ export declare const organizationImportBatchSchema: z.ZodEffects<z.ZodObject<{
|
|
|
757
758
|
}, "organization" | "evidenceReference" | "externalId" | "avatarFileId">, "strict", z.ZodTypeAny, {
|
|
758
759
|
organization: {
|
|
759
760
|
name: string;
|
|
760
|
-
organizationType: "
|
|
761
|
+
organizationType: "community" | "business" | "nonprofit" | "other" | "public_body";
|
|
761
762
|
legalName?: string | null | undefined;
|
|
762
763
|
websiteUrl?: string | null | undefined;
|
|
763
764
|
countryCode?: string | null | undefined;
|
|
@@ -773,7 +774,7 @@ export declare const organizationImportBatchSchema: z.ZodEffects<z.ZodObject<{
|
|
|
773
774
|
}, {
|
|
774
775
|
organization: {
|
|
775
776
|
name: string;
|
|
776
|
-
organizationType: "
|
|
777
|
+
organizationType: "community" | "business" | "nonprofit" | "other" | "public_body";
|
|
777
778
|
legalName?: string | null | undefined;
|
|
778
779
|
websiteUrl?: string | null | undefined;
|
|
779
780
|
countryCode?: string | null | undefined;
|
|
@@ -791,7 +792,7 @@ export declare const organizationImportBatchSchema: z.ZodEffects<z.ZodObject<{
|
|
|
791
792
|
items: {
|
|
792
793
|
organization: {
|
|
793
794
|
name: string;
|
|
794
|
-
organizationType: "
|
|
795
|
+
organizationType: "community" | "business" | "nonprofit" | "other" | "public_body";
|
|
795
796
|
legalName?: string | null | undefined;
|
|
796
797
|
websiteUrl?: string | null | undefined;
|
|
797
798
|
countryCode?: string | null | undefined;
|
|
@@ -810,7 +811,7 @@ export declare const organizationImportBatchSchema: z.ZodEffects<z.ZodObject<{
|
|
|
810
811
|
items: {
|
|
811
812
|
organization: {
|
|
812
813
|
name: string;
|
|
813
|
-
organizationType: "
|
|
814
|
+
organizationType: "community" | "business" | "nonprofit" | "other" | "public_body";
|
|
814
815
|
legalName?: string | null | undefined;
|
|
815
816
|
websiteUrl?: string | null | undefined;
|
|
816
817
|
countryCode?: string | null | undefined;
|
|
@@ -829,7 +830,7 @@ export declare const organizationImportBatchSchema: z.ZodEffects<z.ZodObject<{
|
|
|
829
830
|
items: {
|
|
830
831
|
organization: {
|
|
831
832
|
name: string;
|
|
832
|
-
organizationType: "
|
|
833
|
+
organizationType: "community" | "business" | "nonprofit" | "other" | "public_body";
|
|
833
834
|
legalName?: string | null | undefined;
|
|
834
835
|
websiteUrl?: string | null | undefined;
|
|
835
836
|
countryCode?: string | null | undefined;
|
|
@@ -848,7 +849,7 @@ export declare const organizationImportBatchSchema: z.ZodEffects<z.ZodObject<{
|
|
|
848
849
|
items: {
|
|
849
850
|
organization: {
|
|
850
851
|
name: string;
|
|
851
|
-
organizationType: "
|
|
852
|
+
organizationType: "community" | "business" | "nonprofit" | "other" | "public_body";
|
|
852
853
|
legalName?: string | null | undefined;
|
|
853
854
|
websiteUrl?: string | null | undefined;
|
|
854
855
|
countryCode?: string | null | undefined;
|
|
@@ -984,7 +985,7 @@ export declare const organizationCurationSchema: z.ZodEffects<z.ZodObject<{
|
|
|
984
985
|
}>, "many">>>;
|
|
985
986
|
}, "strict", z.ZodTypeAny, {
|
|
986
987
|
name?: string | undefined;
|
|
987
|
-
organizationType?: "
|
|
988
|
+
organizationType?: "community" | "business" | "nonprofit" | "other" | "public_body" | undefined;
|
|
988
989
|
legalName?: string | null | undefined;
|
|
989
990
|
websiteUrl?: string | null | undefined;
|
|
990
991
|
countryCode?: string | null | undefined;
|
|
@@ -995,7 +996,7 @@ export declare const organizationCurationSchema: z.ZodEffects<z.ZodObject<{
|
|
|
995
996
|
}[] | undefined;
|
|
996
997
|
}, {
|
|
997
998
|
name?: string | undefined;
|
|
998
|
-
organizationType?: "
|
|
999
|
+
organizationType?: "community" | "business" | "nonprofit" | "other" | "public_body" | undefined;
|
|
999
1000
|
legalName?: string | null | undefined;
|
|
1000
1001
|
websiteUrl?: string | null | undefined;
|
|
1001
1002
|
countryCode?: string | null | undefined;
|
|
@@ -1012,7 +1013,7 @@ export declare const organizationCurationSchema: z.ZodEffects<z.ZodObject<{
|
|
|
1012
1013
|
status?: "active" | "inactive" | "suppressed" | undefined;
|
|
1013
1014
|
changes?: {
|
|
1014
1015
|
name?: string | undefined;
|
|
1015
|
-
organizationType?: "
|
|
1016
|
+
organizationType?: "community" | "business" | "nonprofit" | "other" | "public_body" | undefined;
|
|
1016
1017
|
legalName?: string | null | undefined;
|
|
1017
1018
|
websiteUrl?: string | null | undefined;
|
|
1018
1019
|
countryCode?: string | null | undefined;
|
|
@@ -1027,7 +1028,7 @@ export declare const organizationCurationSchema: z.ZodEffects<z.ZodObject<{
|
|
|
1027
1028
|
status?: "active" | "inactive" | "suppressed" | undefined;
|
|
1028
1029
|
changes?: {
|
|
1029
1030
|
name?: string | undefined;
|
|
1030
|
-
organizationType?: "
|
|
1031
|
+
organizationType?: "community" | "business" | "nonprofit" | "other" | "public_body" | undefined;
|
|
1031
1032
|
legalName?: string | null | undefined;
|
|
1032
1033
|
websiteUrl?: string | null | undefined;
|
|
1033
1034
|
countryCode?: string | null | undefined;
|
|
@@ -1042,7 +1043,7 @@ export declare const organizationCurationSchema: z.ZodEffects<z.ZodObject<{
|
|
|
1042
1043
|
status?: "active" | "inactive" | "suppressed" | undefined;
|
|
1043
1044
|
changes?: {
|
|
1044
1045
|
name?: string | undefined;
|
|
1045
|
-
organizationType?: "
|
|
1046
|
+
organizationType?: "community" | "business" | "nonprofit" | "other" | "public_body" | undefined;
|
|
1046
1047
|
legalName?: string | null | undefined;
|
|
1047
1048
|
websiteUrl?: string | null | undefined;
|
|
1048
1049
|
countryCode?: string | null | undefined;
|
|
@@ -1057,7 +1058,7 @@ export declare const organizationCurationSchema: z.ZodEffects<z.ZodObject<{
|
|
|
1057
1058
|
status?: "active" | "inactive" | "suppressed" | undefined;
|
|
1058
1059
|
changes?: {
|
|
1059
1060
|
name?: string | undefined;
|
|
1060
|
-
organizationType?: "
|
|
1061
|
+
organizationType?: "community" | "business" | "nonprofit" | "other" | "public_body" | undefined;
|
|
1061
1062
|
legalName?: string | null | undefined;
|
|
1062
1063
|
websiteUrl?: string | null | undefined;
|
|
1063
1064
|
countryCode?: string | null | undefined;
|
package/dist/types/safety.d.ts
CHANGED
|
@@ -2010,8 +2010,8 @@ export declare const safetySessionValidationSchema: z.ZodObject<{
|
|
|
2010
2010
|
languages: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
2011
2011
|
did: z.ZodOptional<z.ZodString>;
|
|
2012
2012
|
verifiedDomains: z.ZodOptional<z.ZodArray<z.ZodType<import("./identity").VerifiedDomain, z.ZodTypeDef, import("./identity").VerifiedDomain>, "many">>;
|
|
2013
|
-
kind: z.ZodOptional<z.ZodEnum<["personal", "organization", "project", "bot", "channel"]>>;
|
|
2014
|
-
accountCategories: z.ZodOptional<z.ZodEffects<z.ZodArray<z.ZodEnum<["news", "politics", "business", "startup", "finance", "crypto", "marketplace", "retail", "real_estate", "agency", "landlord", "cooperative", "architecture", "technology", "software", "ai", "security", "automation", "science", "education", "books", "health", "fitness", "sports", "gaming", "music", "film", "podcast", "art", "photography", "comedy", "food", "travel", "fashion", "home_garden", "diy", "automotive", "animals", "family", "nonprofit", "government", "community", "activism", "environment", "religion", "other"]>, "many">, ("
|
|
2013
|
+
kind: z.ZodOptional<z.ZodEnum<["personal", "organization", "project", "bot", "channel", "community"]>>;
|
|
2014
|
+
accountCategories: z.ZodOptional<z.ZodEffects<z.ZodArray<z.ZodEnum<["news", "politics", "business", "startup", "finance", "crypto", "marketplace", "retail", "real_estate", "agency", "landlord", "cooperative", "architecture", "technology", "software", "ai", "security", "automation", "science", "education", "books", "health", "fitness", "sports", "gaming", "music", "film", "podcast", "art", "photography", "comedy", "food", "travel", "fashion", "home_garden", "diy", "automotive", "animals", "family", "nonprofit", "government", "community", "activism", "environment", "religion", "other"]>, "many">, ("community" | "news" | "politics" | "business" | "startup" | "finance" | "crypto" | "marketplace" | "retail" | "real_estate" | "agency" | "landlord" | "cooperative" | "architecture" | "technology" | "software" | "ai" | "security" | "automation" | "science" | "education" | "books" | "health" | "fitness" | "sports" | "gaming" | "music" | "film" | "podcast" | "art" | "photography" | "comedy" | "food" | "travel" | "fashion" | "home_garden" | "diy" | "automotive" | "animals" | "family" | "nonprofit" | "government" | "activism" | "environment" | "religion" | "other")[], ("community" | "news" | "politics" | "business" | "startup" | "finance" | "crypto" | "marketplace" | "retail" | "real_estate" | "agency" | "landlord" | "cooperative" | "architecture" | "technology" | "software" | "ai" | "security" | "automation" | "science" | "education" | "books" | "health" | "fitness" | "sports" | "gaming" | "music" | "film" | "podcast" | "art" | "photography" | "comedy" | "food" | "travel" | "fashion" | "home_garden" | "diy" | "automotive" | "animals" | "family" | "nonprofit" | "government" | "activism" | "environment" | "religion" | "other")[]>>;
|
|
2015
2015
|
character: z.ZodOptional<z.ZodType<import("./avatarCharacter").AvatarCharacter, z.ZodTypeDef, unknown>>;
|
|
2016
2016
|
relationship: z.ZodOptional<z.ZodType<import("./userResponse").UserRelationship, z.ZodTypeDef, import("./userResponse").UserRelationship>>;
|
|
2017
2017
|
userPreferences: z.ZodOptional<z.ZodObject<{
|
|
@@ -2062,8 +2062,8 @@ export declare const safetySessionValidationSchema: z.ZodObject<{
|
|
|
2062
2062
|
languages: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
2063
2063
|
did: z.ZodOptional<z.ZodString>;
|
|
2064
2064
|
verifiedDomains: z.ZodOptional<z.ZodArray<z.ZodType<import("./identity").VerifiedDomain, z.ZodTypeDef, import("./identity").VerifiedDomain>, "many">>;
|
|
2065
|
-
kind: z.ZodOptional<z.ZodEnum<["personal", "organization", "project", "bot", "channel"]>>;
|
|
2066
|
-
accountCategories: z.ZodOptional<z.ZodEffects<z.ZodArray<z.ZodEnum<["news", "politics", "business", "startup", "finance", "crypto", "marketplace", "retail", "real_estate", "agency", "landlord", "cooperative", "architecture", "technology", "software", "ai", "security", "automation", "science", "education", "books", "health", "fitness", "sports", "gaming", "music", "film", "podcast", "art", "photography", "comedy", "food", "travel", "fashion", "home_garden", "diy", "automotive", "animals", "family", "nonprofit", "government", "community", "activism", "environment", "religion", "other"]>, "many">, ("
|
|
2065
|
+
kind: z.ZodOptional<z.ZodEnum<["personal", "organization", "project", "bot", "channel", "community"]>>;
|
|
2066
|
+
accountCategories: z.ZodOptional<z.ZodEffects<z.ZodArray<z.ZodEnum<["news", "politics", "business", "startup", "finance", "crypto", "marketplace", "retail", "real_estate", "agency", "landlord", "cooperative", "architecture", "technology", "software", "ai", "security", "automation", "science", "education", "books", "health", "fitness", "sports", "gaming", "music", "film", "podcast", "art", "photography", "comedy", "food", "travel", "fashion", "home_garden", "diy", "automotive", "animals", "family", "nonprofit", "government", "community", "activism", "environment", "religion", "other"]>, "many">, ("community" | "news" | "politics" | "business" | "startup" | "finance" | "crypto" | "marketplace" | "retail" | "real_estate" | "agency" | "landlord" | "cooperative" | "architecture" | "technology" | "software" | "ai" | "security" | "automation" | "science" | "education" | "books" | "health" | "fitness" | "sports" | "gaming" | "music" | "film" | "podcast" | "art" | "photography" | "comedy" | "food" | "travel" | "fashion" | "home_garden" | "diy" | "automotive" | "animals" | "family" | "nonprofit" | "government" | "activism" | "environment" | "religion" | "other")[], ("community" | "news" | "politics" | "business" | "startup" | "finance" | "crypto" | "marketplace" | "retail" | "real_estate" | "agency" | "landlord" | "cooperative" | "architecture" | "technology" | "software" | "ai" | "security" | "automation" | "science" | "education" | "books" | "health" | "fitness" | "sports" | "gaming" | "music" | "film" | "podcast" | "art" | "photography" | "comedy" | "food" | "travel" | "fashion" | "home_garden" | "diy" | "automotive" | "animals" | "family" | "nonprofit" | "government" | "activism" | "environment" | "religion" | "other")[]>>;
|
|
2067
2067
|
character: z.ZodOptional<z.ZodType<import("./avatarCharacter").AvatarCharacter, z.ZodTypeDef, unknown>>;
|
|
2068
2068
|
relationship: z.ZodOptional<z.ZodType<import("./userResponse").UserRelationship, z.ZodTypeDef, import("./userResponse").UserRelationship>>;
|
|
2069
2069
|
userPreferences: z.ZodOptional<z.ZodObject<{
|
|
@@ -2114,8 +2114,8 @@ export declare const safetySessionValidationSchema: z.ZodObject<{
|
|
|
2114
2114
|
languages: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
2115
2115
|
did: z.ZodOptional<z.ZodString>;
|
|
2116
2116
|
verifiedDomains: z.ZodOptional<z.ZodArray<z.ZodType<import("./identity").VerifiedDomain, z.ZodTypeDef, import("./identity").VerifiedDomain>, "many">>;
|
|
2117
|
-
kind: z.ZodOptional<z.ZodEnum<["personal", "organization", "project", "bot", "channel"]>>;
|
|
2118
|
-
accountCategories: z.ZodOptional<z.ZodEffects<z.ZodArray<z.ZodEnum<["news", "politics", "business", "startup", "finance", "crypto", "marketplace", "retail", "real_estate", "agency", "landlord", "cooperative", "architecture", "technology", "software", "ai", "security", "automation", "science", "education", "books", "health", "fitness", "sports", "gaming", "music", "film", "podcast", "art", "photography", "comedy", "food", "travel", "fashion", "home_garden", "diy", "automotive", "animals", "family", "nonprofit", "government", "community", "activism", "environment", "religion", "other"]>, "many">, ("
|
|
2117
|
+
kind: z.ZodOptional<z.ZodEnum<["personal", "organization", "project", "bot", "channel", "community"]>>;
|
|
2118
|
+
accountCategories: z.ZodOptional<z.ZodEffects<z.ZodArray<z.ZodEnum<["news", "politics", "business", "startup", "finance", "crypto", "marketplace", "retail", "real_estate", "agency", "landlord", "cooperative", "architecture", "technology", "software", "ai", "security", "automation", "science", "education", "books", "health", "fitness", "sports", "gaming", "music", "film", "podcast", "art", "photography", "comedy", "food", "travel", "fashion", "home_garden", "diy", "automotive", "animals", "family", "nonprofit", "government", "community", "activism", "environment", "religion", "other"]>, "many">, ("community" | "news" | "politics" | "business" | "startup" | "finance" | "crypto" | "marketplace" | "retail" | "real_estate" | "agency" | "landlord" | "cooperative" | "architecture" | "technology" | "software" | "ai" | "security" | "automation" | "science" | "education" | "books" | "health" | "fitness" | "sports" | "gaming" | "music" | "film" | "podcast" | "art" | "photography" | "comedy" | "food" | "travel" | "fashion" | "home_garden" | "diy" | "automotive" | "animals" | "family" | "nonprofit" | "government" | "activism" | "environment" | "religion" | "other")[], ("community" | "news" | "politics" | "business" | "startup" | "finance" | "crypto" | "marketplace" | "retail" | "real_estate" | "agency" | "landlord" | "cooperative" | "architecture" | "technology" | "software" | "ai" | "security" | "automation" | "science" | "education" | "books" | "health" | "fitness" | "sports" | "gaming" | "music" | "film" | "podcast" | "art" | "photography" | "comedy" | "food" | "travel" | "fashion" | "home_garden" | "diy" | "automotive" | "animals" | "family" | "nonprofit" | "government" | "activism" | "environment" | "religion" | "other")[]>>;
|
|
2119
2119
|
character: z.ZodOptional<z.ZodType<import("./avatarCharacter").AvatarCharacter, z.ZodTypeDef, unknown>>;
|
|
2120
2120
|
relationship: z.ZodOptional<z.ZodType<import("./userResponse").UserRelationship, z.ZodTypeDef, import("./userResponse").UserRelationship>>;
|
|
2121
2121
|
userPreferences: z.ZodOptional<z.ZodObject<{
|
|
@@ -2188,12 +2188,12 @@ export declare const safetySessionValidationSchema: z.ZodObject<{
|
|
|
2188
2188
|
user: {
|
|
2189
2189
|
name: import("./userResponse").UserNameResponse;
|
|
2190
2190
|
color?: string | null | undefined;
|
|
2191
|
-
kind?: "
|
|
2191
|
+
kind?: "personal" | "organization" | "project" | "bot" | "channel" | "community" | undefined;
|
|
2192
2192
|
username?: string | undefined;
|
|
2193
2193
|
avatar?: string | null | undefined;
|
|
2194
2194
|
verifiedDomains?: import("./identity").VerifiedDomain[] | undefined;
|
|
2195
2195
|
id?: string | undefined;
|
|
2196
|
-
accountCategories?: ("
|
|
2196
|
+
accountCategories?: ("community" | "news" | "politics" | "business" | "startup" | "finance" | "crypto" | "marketplace" | "retail" | "real_estate" | "agency" | "landlord" | "cooperative" | "architecture" | "technology" | "software" | "ai" | "security" | "automation" | "science" | "education" | "books" | "health" | "fitness" | "sports" | "gaming" | "music" | "film" | "podcast" | "art" | "photography" | "comedy" | "food" | "travel" | "fashion" | "home_garden" | "diy" | "automotive" | "animals" | "family" | "nonprofit" | "government" | "activism" | "environment" | "religion" | "other")[] | undefined;
|
|
2197
2197
|
character?: import("./avatarCharacter").AvatarCharacter | undefined;
|
|
2198
2198
|
email?: string | undefined;
|
|
2199
2199
|
publicKey?: string | undefined;
|
|
@@ -2234,12 +2234,12 @@ export declare const safetySessionValidationSchema: z.ZodObject<{
|
|
|
2234
2234
|
user: {
|
|
2235
2235
|
name: import("./userResponse").UserNameResponse;
|
|
2236
2236
|
color?: string | null | undefined;
|
|
2237
|
-
kind?: "
|
|
2237
|
+
kind?: "personal" | "organization" | "project" | "bot" | "channel" | "community" | undefined;
|
|
2238
2238
|
username?: string | undefined;
|
|
2239
2239
|
avatar?: string | null | undefined;
|
|
2240
2240
|
verifiedDomains?: import("./identity").VerifiedDomain[] | undefined;
|
|
2241
2241
|
id?: string | undefined;
|
|
2242
|
-
accountCategories?: ("
|
|
2242
|
+
accountCategories?: ("community" | "news" | "politics" | "business" | "startup" | "finance" | "crypto" | "marketplace" | "retail" | "real_estate" | "agency" | "landlord" | "cooperative" | "architecture" | "technology" | "software" | "ai" | "security" | "automation" | "science" | "education" | "books" | "health" | "fitness" | "sports" | "gaming" | "music" | "film" | "podcast" | "art" | "photography" | "comedy" | "food" | "travel" | "fashion" | "home_garden" | "diy" | "automotive" | "animals" | "family" | "nonprofit" | "government" | "activism" | "environment" | "religion" | "other")[] | undefined;
|
|
2243
2243
|
character?: unknown;
|
|
2244
2244
|
email?: string | undefined;
|
|
2245
2245
|
publicKey?: string | undefined;
|
|
@@ -2333,12 +2333,12 @@ export declare const safetyOrganizationIdentitySchema: z.ZodObject<{
|
|
|
2333
2333
|
organizationType: z.ZodEnum<["business", "nonprofit", "public_body", "community", "other"]>;
|
|
2334
2334
|
}, "strict", z.ZodTypeAny, {
|
|
2335
2335
|
name: string;
|
|
2336
|
-
organizationType: "
|
|
2336
|
+
organizationType: "community" | "business" | "nonprofit" | "other" | "public_body";
|
|
2337
2337
|
accountId: string;
|
|
2338
2338
|
username: string | null;
|
|
2339
2339
|
}, {
|
|
2340
2340
|
name: string;
|
|
2341
|
-
organizationType: "
|
|
2341
|
+
organizationType: "community" | "business" | "nonprofit" | "other" | "public_body";
|
|
2342
2342
|
accountId: string;
|
|
2343
2343
|
username: string | null;
|
|
2344
2344
|
}>;
|
|
@@ -2368,53 +2368,53 @@ export declare const safetyOrganizationsResponseSchema: z.ZodObject<{
|
|
|
2368
2368
|
organizationType: z.ZodEnum<["business", "nonprofit", "public_body", "community", "other"]>;
|
|
2369
2369
|
}, "strict", z.ZodTypeAny, {
|
|
2370
2370
|
name: string;
|
|
2371
|
-
organizationType: "
|
|
2371
|
+
organizationType: "community" | "business" | "nonprofit" | "other" | "public_body";
|
|
2372
2372
|
accountId: string;
|
|
2373
2373
|
username: string | null;
|
|
2374
2374
|
}, {
|
|
2375
2375
|
name: string;
|
|
2376
|
-
organizationType: "
|
|
2376
|
+
organizationType: "community" | "business" | "nonprofit" | "other" | "public_body";
|
|
2377
2377
|
accountId: string;
|
|
2378
2378
|
username: string | null;
|
|
2379
2379
|
}>;
|
|
2380
2380
|
}, "strict", z.ZodTypeAny, {
|
|
2381
|
-
requestedAccountId: string;
|
|
2382
2381
|
organization: {
|
|
2383
2382
|
name: string;
|
|
2384
|
-
organizationType: "
|
|
2383
|
+
organizationType: "community" | "business" | "nonprofit" | "other" | "public_body";
|
|
2385
2384
|
accountId: string;
|
|
2386
2385
|
username: string | null;
|
|
2387
2386
|
};
|
|
2388
|
-
}, {
|
|
2389
2387
|
requestedAccountId: string;
|
|
2388
|
+
}, {
|
|
2390
2389
|
organization: {
|
|
2391
2390
|
name: string;
|
|
2392
|
-
organizationType: "
|
|
2391
|
+
organizationType: "community" | "business" | "nonprofit" | "other" | "public_body";
|
|
2393
2392
|
accountId: string;
|
|
2394
2393
|
username: string | null;
|
|
2395
2394
|
};
|
|
2395
|
+
requestedAccountId: string;
|
|
2396
2396
|
}>, "many">;
|
|
2397
2397
|
missingIds: z.ZodArray<z.ZodString, "many">;
|
|
2398
2398
|
}, "strict", z.ZodTypeAny, {
|
|
2399
2399
|
items: {
|
|
2400
|
-
requestedAccountId: string;
|
|
2401
2400
|
organization: {
|
|
2402
2401
|
name: string;
|
|
2403
|
-
organizationType: "
|
|
2402
|
+
organizationType: "community" | "business" | "nonprofit" | "other" | "public_body";
|
|
2404
2403
|
accountId: string;
|
|
2405
2404
|
username: string | null;
|
|
2406
2405
|
};
|
|
2406
|
+
requestedAccountId: string;
|
|
2407
2407
|
}[];
|
|
2408
2408
|
missingIds: string[];
|
|
2409
2409
|
}, {
|
|
2410
2410
|
items: {
|
|
2411
|
-
requestedAccountId: string;
|
|
2412
2411
|
organization: {
|
|
2413
2412
|
name: string;
|
|
2414
|
-
organizationType: "
|
|
2413
|
+
organizationType: "community" | "business" | "nonprofit" | "other" | "public_body";
|
|
2415
2414
|
accountId: string;
|
|
2416
2415
|
username: string | null;
|
|
2417
2416
|
};
|
|
2417
|
+
requestedAccountId: string;
|
|
2418
2418
|
}[];
|
|
2419
2419
|
missingIds: string[];
|
|
2420
2420
|
}>;
|