@tearleads/client-sdk 0.1.248 → 0.1.250
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/client/organizations/index.js +5 -3
- package/client/organizations/index.js.map +1 -1
- package/client/organizations/organizationGroupPresentation.d.ts +1 -1
- package/client/organizations/organizationGroupPresentation.js.map +1 -1
- package/client/organizations/organizationLeaveRequestVerifier.js +21 -0
- package/client/organizations/organizationLeaveRequestVerifier.js.map +1 -0
- package/client/organizations/{organizationReadModels.d.ts → organizationReadModelCoordinator.d.ts} +18 -16
- package/client/organizations/organizationReadModelCoordinator.js +2 -0
- package/client/organizations/organizationReadModelCoordinator.js.map +1 -0
- package/client/organizations/organizationReadModelPresentation.js +51 -0
- package/client/organizations/organizationReadModelPresentation.js.map +1 -0
- package/client/organizations/organizationReadModelScopes.js +37 -0
- package/client/organizations/organizationReadModelScopes.js.map +1 -0
- package/client/organizations/organizationReadModels.js +131 -88
- package/client/organizations/organizationReadModels.js.map +1 -1
- package/client/organizations/organizationsTypes.d.ts +13 -5
- package/client/organizations/organizationsTypes.js.map +1 -1
- package/client/organizations/principalMutations.d.ts +18 -2
- package/client/organizations/principalMutations.js +29 -15
- package/client/organizations/principalMutations.js.map +1 -1
- package/client/runtime/principalMutationApi.d.ts +2 -0
- package/client/runtime/principalMutationApi.js +2 -0
- package/client/runtime/principalMutationApi.js.map +1 -1
- package/client/runtime/principalMutationDispatch.js +47 -10
- package/client/runtime/principalMutationDispatch.js.map +1 -1
- package/client/runtime/workflowRuntime.js +5 -4
- package/client/runtime/workflowRuntime.js.map +1 -1
- package/data/containers/shared/mutationRequestOptions.d.ts +2 -0
- package/data/containers/shared/mutationRequestOptions.js.map +1 -1
- package/data/containers/shared/types.d.ts +12 -2
- package/data/containers/shared/types.js.map +1 -1
- package/data/keyingProjectionVerification/principalPolicy/mergeProjectionPolicyEvidence.js +1 -4
- package/data/keyingProjectionVerification/principalPolicy/mergeProjectionPolicyEvidence.js.map +1 -1
- package/data/persistence/organizations/organizationReadModelRepository.js +20 -2
- package/data/persistence/organizations/organizationReadModelRepository.js.map +1 -1
- package/data/persistence/principalPolicy/heldOrganizationDirectories.js +6 -1
- package/data/persistence/principalPolicy/heldOrganizationDirectories.js.map +1 -1
- package/data/persistence/principalPolicy/principalPolicyBundleIntegrity.js +1 -1
- package/data/persistence/principalPolicy/principalPolicyBundleIntegrity.js.map +1 -1
- package/data/persistence/principalPolicy/verifiedPrincipalPolicyCurrent.js +1 -5
- package/data/persistence/principalPolicy/verifiedPrincipalPolicyCurrent.js.map +1 -1
- package/data/principals/organizationGroupDirectoryRequest.js +0 -2
- package/data/principals/organizationGroupDirectoryRequest.js.map +1 -1
- package/data/principals/organizationPolicyRequest.js +0 -2
- package/data/principals/organizationPolicyRequest.js.map +1 -1
- package/data/principals/principalPolicyRequest.js +0 -2
- package/data/principals/principalPolicyRequest.js.map +1 -1
- package/internal/api-client/ApiClient.d.ts +4 -59
- package/internal/api-client/client/apiClientContext.d.ts +0 -30
- package/internal/api-client/client/containerMutations.d.ts +2 -2
- package/internal/api-client/client/containerMutations.js +2 -1
- package/internal/api-client/client/containerMutations.js.map +1 -1
- package/internal/api-client/client/documents.d.ts +0 -12
- package/internal/api-client/client/principalPolicies.d.ts +3 -18
- package/internal/api-client/client/writerProjections.d.ts +0 -12
- package/internal/api-client/heldDirectoryCitations.d.ts +8 -4
- package/internal/api-client/heldDirectoryCitations.js +6 -10
- package/internal/api-client/heldDirectoryCitations.js.map +1 -1
- package/internal/api-client/organizationPolicyHistory.d.ts +0 -6
- package/internal/api-client/principalPolicyRequests.d.ts +2 -18
- package/internal/api-client/principalPolicyRequests.js +6 -4
- package/internal/api-client/principalPolicyRequests.js.map +1 -1
- package/internal/api-client/routes/containers/mutations.js +3 -3
- package/internal/api-client/routes/containers/mutations.js.map +1 -1
- package/internal/api-client/routes/organizations/createGroup.js +3 -5
- package/internal/api-client/routes/organizations/createGroup.js.map +1 -1
- package/internal/api-client/routes/principals/policy.js +2 -5
- package/internal/api-client/routes/principals/policy.js.map +1 -1
- package/internal/api-client/types.d.ts +6 -0
- package/internal/api-client/types.js.map +1 -1
- package/internal/api-client/verifiedManifestCitations.js +3 -3
- package/internal/api-client/verifiedManifestCitations.js.map +1 -1
- package/internal/crypto/index.d.ts +1 -1
- package/internal/crypto/index.js.map +1 -1
- package/internal/crypto/keying/principalPolicyPayload.js +2 -12
- package/internal/crypto/keying/principalPolicyPayload.js.map +1 -1
- package/internal/crypto/keying/principalPolicyTypes.d.ts +5 -6
- package/internal/crypto/keying/principalPolicyTypes.js.map +1 -1
- package/internal/crypto/principalState.d.ts +1 -1
- package/internal/crypto/principalState.js.map +1 -1
- package/internal/crypto/principalStateTypes.d.ts +0 -1
- package/internal/crypto/principalStateTypes.js.map +1 -1
- package/internal/validators/operation/auth.d.ts +0 -24
- package/internal/validators/operation/containerMutations.d.ts +20 -3
- package/internal/validators/operation/containerMutations.js +18 -20
- package/internal/validators/operation/containerMutations.js.map +1 -1
- package/internal/validators/operation/documentMutations.d.ts +0 -48
- package/internal/validators/operation/index.d.ts +1 -1
- package/internal/validators/operation/index.js +1 -1
- package/internal/validators/operation/index.js.map +1 -1
- package/internal/validators/operation/organizationPolicyHistory.d.ts +0 -24
- package/internal/validators/operation/organizations.d.ts +17 -49
- package/internal/validators/operation/organizations.js +4 -2
- package/internal/validators/operation/organizations.js.map +1 -1
- package/internal/validators/operation/principals.d.ts +17 -57
- package/internal/validators/operation/principals.js +5 -2
- package/internal/validators/operation/principals.js.map +1 -1
- package/internal/validators/operation/writerProjections.d.ts +0 -48
- package/internal/validators/request/index.d.ts +1 -1
- package/internal/validators/request/index.js +1 -1
- package/internal/validators/request/index.js.map +1 -1
- package/internal/validators/request/organization.d.ts +15 -32
- package/internal/validators/request/organization.js +8 -0
- package/internal/validators/request/organization.js.map +1 -1
- package/internal/validators/request/organizationProvisioning.d.ts +0 -72
- package/internal/validators/request/principal.d.ts +4 -48
- package/internal/validators/request/principal.js +4 -2
- package/internal/validators/request/principal.js.map +1 -1
- package/internal/validators/request/registration.d.ts +0 -24
- package/internal/validators/response/areas/organizations.d.ts +3 -2
- package/internal/validators/response/areas/organizations.js +3 -2
- package/internal/validators/response/areas/organizations.js.map +1 -1
- package/internal/validators/response/areas/principals.d.ts +1 -1
- package/internal/validators/response/areas/principals.js +1 -1
- package/internal/validators/response/areas/principals.js.map +1 -1
- package/internal/validators/response/committedReadModel.d.ts +697 -0
- package/internal/validators/response/committedReadModel.js +52 -0
- package/internal/validators/response/committedReadModel.js.map +1 -0
- package/internal/validators/response/container.d.ts +52 -48
- package/internal/validators/response/container.js +3 -3
- package/internal/validators/response/container.js.map +1 -1
- package/internal/validators/response/documentMutation.d.ts +0 -96
- package/internal/validators/response/organization.d.ts +0 -191
- package/internal/validators/response/organization.js +0 -7
- package/internal/validators/response/organization.js.map +1 -1
- package/internal/validators/response/organizationPolicyHistory.d.ts +0 -24
- package/internal/validators/response/organizationReadModel.d.ts +167 -0
- package/internal/validators/response/organizationReadModel.js +5 -0
- package/internal/validators/response/organizationReadModel.js.map +1 -1
- package/internal/validators/response/policyEvidenceWire.d.ts +5 -3
- package/internal/validators/response/policyEvidenceWire.js +6 -4
- package/internal/validators/response/policyEvidenceWire.js.map +1 -1
- package/internal/validators/response/principal.d.ts +0 -451
- package/internal/validators/response/principal.js +0 -8
- package/internal/validators/response/principal.js.map +1 -1
- package/internal/validators/response/principalPolicyPage.d.ts +0 -48
- package/internal/validators/response/principalSnapshot.d.ts +4 -24
- package/internal/validators/response/principalSnapshot.js +4 -6
- package/internal/validators/response/principalSnapshot.js.map +1 -1
- package/internal/validators/response/projectionPolicyEvidence.d.ts +0 -48
- package/package.json +1 -1
- package/workflows/container-contents/container-state/organizationHost.d.ts +9 -0
- package/workflows/container-contents/container-state/organizationHost.js.map +1 -1
- package/workflows/container-contents/container-state/remote.js +6 -0
- package/workflows/container-contents/container-state/remote.js.map +1 -1
- package/workflows/containers/child/share/index.d.ts +4 -2
- package/workflows/containers/child/share/index.js +37 -20
- package/workflows/containers/child/share/index.js.map +1 -1
- package/workflows/organizations/containerContentsHost.js +20 -1
- package/workflows/organizations/containerContentsHost.js.map +1 -1
- package/workflows/organizations/groupPolicy/commitCurrentGroupPolicyMutation.js +5 -1
- package/workflows/organizations/groupPolicy/commitCurrentGroupPolicyMutation.js.map +1 -1
- package/workflows/organizations/groupPolicy/currentPolicyMutationAcknowledgement.js +1 -6
- package/workflows/organizations/groupPolicy/currentPolicyMutationAcknowledgement.js.map +1 -1
- package/workflows/organizations/groupPolicy/groupPolicyMutationAcknowledgement.js +1 -6
- package/workflows/organizations/groupPolicy/groupPolicyMutationAcknowledgement.js.map +1 -1
- package/workflows/organizations/groups/createCurrentOrganizationGroup.js +8 -1
- package/workflows/organizations/groups/createCurrentOrganizationGroup.js.map +1 -1
- package/workflows/organizations/index.d.ts +1 -0
- package/workflows/organizations/index.js +1 -0
- package/workflows/organizations/index.js.map +1 -1
- package/workflows/organizations/policyHistory/organizationPolicyHistoryVerification.js +4 -6
- package/workflows/organizations/policyHistory/organizationPolicyHistoryVerification.js.map +1 -1
- package/workflows/organizations/principalPolicy/principalPolicyReceiptArtifacts.js +1 -7
- package/workflows/organizations/principalPolicy/principalPolicyReceiptArtifacts.js.map +1 -1
- package/workflows/organizations/readModel/committedReadModel.d.ts +66 -0
- package/workflows/organizations/readModel/committedReadModel.js +150 -0
- package/workflows/organizations/readModel/committedReadModel.js.map +1 -0
- package/workflows/organizations/readModel/readModelProjection.d.ts +15 -2
- package/workflows/organizations/readModel/readModelProjection.js +26 -4
- package/workflows/organizations/readModel/readModelProjection.js.map +1 -1
- package/workflows/principals/policyCache/principalPolicyCacheValidation.js +0 -13
- package/workflows/principals/policyCache/principalPolicyCacheValidation.js.map +1 -1
- package/workflows/principals/publicHistory/publicProjectionDirectory.js +4 -5
- package/workflows/principals/publicHistory/publicProjectionDirectory.js.map +1 -1
- package/workflows/registration/provisioningBootstrapBuilders.d.ts +0 -6
- package/workflows/registration/registrationPrincipalPolicyPersistence.js +1 -7
- package/workflows/registration/registrationPrincipalPolicyPersistence.js.map +1 -1
|
@@ -3,9 +3,7 @@ export declare const CreateOrganizationGroupRequestSchema: z.ZodObject<{
|
|
|
3
3
|
groupId: z.ZodCustom<string, string>;
|
|
4
4
|
initialGroupPolicy: z.ZodType<{
|
|
5
5
|
encryptedPayload: {
|
|
6
|
-
cipherSuite: "aes-256-gcm";
|
|
7
6
|
ciphertext: string;
|
|
8
|
-
ciphertextHash: string;
|
|
9
7
|
};
|
|
10
8
|
grants: {
|
|
11
9
|
accessLevel: "write" | "admin" | "read";
|
|
@@ -94,9 +92,7 @@ export declare const CreateOrganizationGroupRequestSchema: z.ZodObject<{
|
|
|
94
92
|
}[] | undefined;
|
|
95
93
|
}, {
|
|
96
94
|
encryptedPayload: {
|
|
97
|
-
cipherSuite: "aes-256-gcm";
|
|
98
95
|
ciphertext: string;
|
|
99
|
-
ciphertextHash: string;
|
|
100
96
|
};
|
|
101
97
|
grants: {
|
|
102
98
|
accessLevel: "write" | "admin" | "read";
|
|
@@ -185,9 +181,7 @@ export declare const CreateOrganizationGroupRequestSchema: z.ZodObject<{
|
|
|
185
181
|
}[] | undefined;
|
|
186
182
|
}, z.core.$ZodTypeInternals<{
|
|
187
183
|
encryptedPayload: {
|
|
188
|
-
cipherSuite: "aes-256-gcm";
|
|
189
184
|
ciphertext: string;
|
|
190
|
-
ciphertextHash: string;
|
|
191
185
|
};
|
|
192
186
|
grants: {
|
|
193
187
|
accessLevel: "write" | "admin" | "read";
|
|
@@ -276,9 +270,7 @@ export declare const CreateOrganizationGroupRequestSchema: z.ZodObject<{
|
|
|
276
270
|
}[] | undefined;
|
|
277
271
|
}, {
|
|
278
272
|
encryptedPayload: {
|
|
279
|
-
cipherSuite: "aes-256-gcm";
|
|
280
273
|
ciphertext: string;
|
|
281
|
-
ciphertextHash: string;
|
|
282
274
|
};
|
|
283
275
|
grants: {
|
|
284
276
|
accessLevel: "write" | "admin" | "read";
|
|
@@ -370,9 +362,7 @@ export declare const CreateOrganizationGroupRequestSchema: z.ZodObject<{
|
|
|
370
362
|
export declare const CreateOrganizationGroupWithPolicyRequestSchema: z.ZodObject<{
|
|
371
363
|
organizationPolicy: z.ZodType<{
|
|
372
364
|
encryptedPayload: {
|
|
373
|
-
cipherSuite: "aes-256-gcm";
|
|
374
365
|
ciphertext: string;
|
|
375
|
-
ciphertextHash: string;
|
|
376
366
|
};
|
|
377
367
|
grants: {
|
|
378
368
|
accessLevel: "write" | "admin" | "read";
|
|
@@ -461,9 +451,7 @@ export declare const CreateOrganizationGroupWithPolicyRequestSchema: z.ZodObject
|
|
|
461
451
|
}[] | undefined;
|
|
462
452
|
}, {
|
|
463
453
|
encryptedPayload: {
|
|
464
|
-
cipherSuite: "aes-256-gcm";
|
|
465
454
|
ciphertext: string;
|
|
466
|
-
ciphertextHash: string;
|
|
467
455
|
};
|
|
468
456
|
grants: {
|
|
469
457
|
accessLevel: "write" | "admin" | "read";
|
|
@@ -552,9 +540,7 @@ export declare const CreateOrganizationGroupWithPolicyRequestSchema: z.ZodObject
|
|
|
552
540
|
}[] | undefined;
|
|
553
541
|
}, z.core.$ZodTypeInternals<{
|
|
554
542
|
encryptedPayload: {
|
|
555
|
-
cipherSuite: "aes-256-gcm";
|
|
556
543
|
ciphertext: string;
|
|
557
|
-
ciphertextHash: string;
|
|
558
544
|
};
|
|
559
545
|
grants: {
|
|
560
546
|
accessLevel: "write" | "admin" | "read";
|
|
@@ -643,9 +629,7 @@ export declare const CreateOrganizationGroupWithPolicyRequestSchema: z.ZodObject
|
|
|
643
629
|
}[] | undefined;
|
|
644
630
|
}, {
|
|
645
631
|
encryptedPayload: {
|
|
646
|
-
cipherSuite: "aes-256-gcm";
|
|
647
632
|
ciphertext: string;
|
|
648
|
-
ciphertextHash: string;
|
|
649
633
|
};
|
|
650
634
|
grants: {
|
|
651
635
|
accessLevel: "write" | "admin" | "read";
|
|
@@ -736,9 +720,7 @@ export declare const CreateOrganizationGroupWithPolicyRequestSchema: z.ZodObject
|
|
|
736
720
|
groupId: z.ZodCustom<string, string>;
|
|
737
721
|
initialGroupPolicy: z.ZodType<{
|
|
738
722
|
encryptedPayload: {
|
|
739
|
-
cipherSuite: "aes-256-gcm";
|
|
740
723
|
ciphertext: string;
|
|
741
|
-
ciphertextHash: string;
|
|
742
724
|
};
|
|
743
725
|
grants: {
|
|
744
726
|
accessLevel: "write" | "admin" | "read";
|
|
@@ -827,9 +809,7 @@ export declare const CreateOrganizationGroupWithPolicyRequestSchema: z.ZodObject
|
|
|
827
809
|
}[] | undefined;
|
|
828
810
|
}, {
|
|
829
811
|
encryptedPayload: {
|
|
830
|
-
cipherSuite: "aes-256-gcm";
|
|
831
812
|
ciphertext: string;
|
|
832
|
-
ciphertextHash: string;
|
|
833
813
|
};
|
|
834
814
|
grants: {
|
|
835
815
|
accessLevel: "write" | "admin" | "read";
|
|
@@ -918,9 +898,7 @@ export declare const CreateOrganizationGroupWithPolicyRequestSchema: z.ZodObject
|
|
|
918
898
|
}[] | undefined;
|
|
919
899
|
}, z.core.$ZodTypeInternals<{
|
|
920
900
|
encryptedPayload: {
|
|
921
|
-
cipherSuite: "aes-256-gcm";
|
|
922
901
|
ciphertext: string;
|
|
923
|
-
ciphertextHash: string;
|
|
924
902
|
};
|
|
925
903
|
grants: {
|
|
926
904
|
accessLevel: "write" | "admin" | "read";
|
|
@@ -1009,9 +987,7 @@ export declare const CreateOrganizationGroupWithPolicyRequestSchema: z.ZodObject
|
|
|
1009
987
|
}[] | undefined;
|
|
1010
988
|
}, {
|
|
1011
989
|
encryptedPayload: {
|
|
1012
|
-
cipherSuite: "aes-256-gcm";
|
|
1013
990
|
ciphertext: string;
|
|
1014
|
-
ciphertextHash: string;
|
|
1015
991
|
};
|
|
1016
992
|
grants: {
|
|
1017
993
|
accessLevel: "write" | "admin" | "read";
|
|
@@ -1105,9 +1081,7 @@ export type CreateOrganizationGroupWithPolicyRequest = z.infer<typeof CreateOrga
|
|
|
1105
1081
|
export declare const DeleteOrganizationGroupRequestSchema: z.ZodType<{
|
|
1106
1082
|
organizationPolicy: {
|
|
1107
1083
|
encryptedPayload: {
|
|
1108
|
-
cipherSuite: "aes-256-gcm";
|
|
1109
1084
|
ciphertext: string;
|
|
1110
|
-
ciphertextHash: string;
|
|
1111
1085
|
};
|
|
1112
1086
|
grants: {
|
|
1113
1087
|
accessLevel: "write" | "admin" | "read";
|
|
@@ -1198,9 +1172,7 @@ export declare const DeleteOrganizationGroupRequestSchema: z.ZodType<{
|
|
|
1198
1172
|
}, {
|
|
1199
1173
|
organizationPolicy: {
|
|
1200
1174
|
encryptedPayload: {
|
|
1201
|
-
cipherSuite: "aes-256-gcm";
|
|
1202
1175
|
ciphertext: string;
|
|
1203
|
-
ciphertextHash: string;
|
|
1204
1176
|
};
|
|
1205
1177
|
grants: {
|
|
1206
1178
|
accessLevel: "write" | "admin" | "read";
|
|
@@ -1291,9 +1263,7 @@ export declare const DeleteOrganizationGroupRequestSchema: z.ZodType<{
|
|
|
1291
1263
|
}, z.core.$ZodTypeInternals<{
|
|
1292
1264
|
organizationPolicy: {
|
|
1293
1265
|
encryptedPayload: {
|
|
1294
|
-
cipherSuite: "aes-256-gcm";
|
|
1295
1266
|
ciphertext: string;
|
|
1296
|
-
ciphertextHash: string;
|
|
1297
1267
|
};
|
|
1298
1268
|
grants: {
|
|
1299
1269
|
accessLevel: "write" | "admin" | "read";
|
|
@@ -1384,9 +1354,7 @@ export declare const DeleteOrganizationGroupRequestSchema: z.ZodType<{
|
|
|
1384
1354
|
}, {
|
|
1385
1355
|
organizationPolicy: {
|
|
1386
1356
|
encryptedPayload: {
|
|
1387
|
-
cipherSuite: "aes-256-gcm";
|
|
1388
1357
|
ciphertext: string;
|
|
1389
|
-
ciphertextHash: string;
|
|
1390
1358
|
};
|
|
1391
1359
|
grants: {
|
|
1392
1360
|
accessLevel: "write" | "admin" | "read";
|
|
@@ -1486,6 +1454,21 @@ export declare const OrganizationReadModelQuerySchema: z.ZodType<{
|
|
|
1486
1454
|
cursor?: string | undefined;
|
|
1487
1455
|
}>>;
|
|
1488
1456
|
export type OrganizationReadModelQuery = z.infer<typeof OrganizationReadModelQuerySchema>;
|
|
1457
|
+
/**
|
|
1458
|
+
* The organization read-model cursor a mutation's caller holds, as the query
|
|
1459
|
+
* of a mutation that may stamp the read model. It stays out of the body, which
|
|
1460
|
+
* a stored receipt binds, so a retry carrying a newer cursor still replays.
|
|
1461
|
+
*/
|
|
1462
|
+
export declare const OrganizationReadModelHeldCursorQuerySchema: z.ZodType<{
|
|
1463
|
+
readModelCursor?: string | undefined;
|
|
1464
|
+
}, {
|
|
1465
|
+
readModelCursor?: string | undefined;
|
|
1466
|
+
}, z.core.$ZodTypeInternals<{
|
|
1467
|
+
readModelCursor?: string | undefined;
|
|
1468
|
+
}, {
|
|
1469
|
+
readModelCursor?: string | undefined;
|
|
1470
|
+
}>>;
|
|
1471
|
+
export type OrganizationReadModelHeldCursorQuery = z.infer<typeof OrganizationReadModelHeldCursorQuerySchema>;
|
|
1489
1472
|
export declare const UpdateOrganizationRosterEntryRequestSchema: z.ZodType<{
|
|
1490
1473
|
profileDocumentId: string | null;
|
|
1491
1474
|
}, {
|
|
@@ -16,6 +16,14 @@ export const DeleteOrganizationGroupRequestSchema = loosePlainObject({
|
|
|
16
16
|
export const OrganizationReadModelQuerySchema = loosePlainObject({
|
|
17
17
|
cursor: z.string().optional(),
|
|
18
18
|
});
|
|
19
|
+
/**
|
|
20
|
+
* The organization read-model cursor a mutation's caller holds, as the query
|
|
21
|
+
* of a mutation that may stamp the read model. It stays out of the body, which
|
|
22
|
+
* a stored receipt binds, so a retry carrying a newer cursor still replays.
|
|
23
|
+
*/
|
|
24
|
+
export const OrganizationReadModelHeldCursorQuerySchema = loosePlainObject({
|
|
25
|
+
readModelCursor: z.string().optional(),
|
|
26
|
+
});
|
|
19
27
|
export const UpdateOrganizationRosterEntryRequestSchema = loosePlainObject({
|
|
20
28
|
profileDocumentId: uuidV4StringSchema.nullable(),
|
|
21
29
|
});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"organization.js","sourceRoot":"","sources":["organization.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AACxB,OAAO,EAAE,gBAAgB,EAAE,kBAAkB,EAAE,MAAM,WAAW,CAAC;AACjE,OAAO,EACL,wCAAwC,EACxC,+BAA+B,GAChC,MAAM,aAAa,CAAC;AAErB,MAAM,mCAAmC,GAAG;IAC1C,OAAO,EAAE,kBAAkB;IAC3B,kBAAkB,EAAE,+BAA+B;CACpD,CAAC;AAEF,MAAM,CAAC,MAAM,oCAAoC,GAAG,CAAC,CAAC,YAAY,CAChE,mCAAmC,CACpC,CAAC;AAEF,MAAM,CAAC,MAAM,8CAA8C,GAAG,CAAC,CAAC,YAAY,CAAC;IAC3E,GAAG,mCAAmC;IACtC,kBAAkB,EAAE,wCAAwC;CAC7D,CAAC,CAAC;AAUH,MAAM,CAAC,MAAM,oCAAoC,GAAG,gBAAgB,CAAC;IACnE,kBAAkB,EAAE,wCAAwC;CAC7D,CAAC,CAAC;AAMH,MAAM,CAAC,MAAM,gCAAgC,GAAG,gBAAgB,CAAC;IAC/D,MAAM,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;CAC9B,CAAC,CAAC;AAMH,MAAM,CAAC,MAAM,0CAA0C,GAAG,gBAAgB,CAAC;IACzE,iBAAiB,EAAE,kBAAkB,CAAC,QAAQ,EAAE;CACjD,CAAC,CAAC;AAMH,yEAAyE;AACzE,MAAM,CAAC,MAAM,yCAAyC,GAAG,CAAC,CAAC,YAAY,CAAC;IACtE,UAAU,EAAE,CAAC,CAAC,OAAO,EAAE;CACxB,CAAC,CAAC;AAMH,MAAM,CAAC,MAAM,sCAAsC,GAAG,gBAAgB,CAAC;IACrE,iBAAiB,EAAE,kBAAkB,CAAC,QAAQ,EAAE;CACjD,CAAC,CAAC;AAMH,MAAM,UAAU,gCAAgC,CAC9C,KAAc;IAEd,OAAO,oCAAoC,CAAC,SAAS,CAAC,KAAK,CAAC,CAAC,OAAO,CAAC;AACvE,CAAC;AAED,MAAM,UAAU,0CAA0C,CACxD,KAAc;IAEd,OAAO,8CAA8C,CAAC,SAAS,CAAC,KAAK,CAAC;SACnE,OAAO,CAAC;AACb,CAAC;AAED,MAAM,UAAU,gCAAgC,CAC9C,KAAc;IAEd,OAAO,oCAAoC,CAAC,SAAS,CAAC,KAAK,CAAC,CAAC,OAAO,CAAC;AACvE,CAAC;AAED,MAAM,UAAU,sCAAsC,CACpD,KAAc;IAEd,OAAO,0CAA0C,CAAC,SAAS,CAAC,KAAK,CAAC,CAAC,OAAO,CAAC;AAC7E,CAAC;AAED,MAAM,UAAU,qCAAqC,CACnD,KAAc;IAEd,OAAO,yCAAyC,CAAC,SAAS,CAAC,KAAK,CAAC,CAAC,OAAO,CAAC;AAC5E,CAAC;AAED,MAAM,UAAU,kCAAkC,CAChD,KAAc;IAEd,OAAO,sCAAsC,CAAC,SAAS,CAAC,KAAK,CAAC,CAAC,OAAO,CAAC;AACzE,CAAC","sourcesContent":["import { z } from \"zod\";\nimport { loosePlainObject, uuidV4StringSchema } from \"../schema\";\nimport {\n OrganizationPrincipalPolicyRequestSchema,\n PutPrincipalPolicyRequestSchema,\n} from \"./principal\";\n\nconst CreateOrganizationGroupRequestShape = {\n groupId: uuidV4StringSchema,\n initialGroupPolicy: PutPrincipalPolicyRequestSchema,\n};\n\nexport const CreateOrganizationGroupRequestSchema = z.strictObject(\n CreateOrganizationGroupRequestShape,\n);\n\nexport const CreateOrganizationGroupWithPolicyRequestSchema = z.strictObject({\n ...CreateOrganizationGroupRequestShape,\n organizationPolicy: OrganizationPrincipalPolicyRequestSchema,\n});\n\nexport type CreateOrganizationGroupRequest = z.infer<\n typeof CreateOrganizationGroupRequestSchema\n>;\n\nexport type CreateOrganizationGroupWithPolicyRequest = z.infer<\n typeof CreateOrganizationGroupWithPolicyRequestSchema\n>;\n\nexport const DeleteOrganizationGroupRequestSchema = loosePlainObject({\n organizationPolicy: OrganizationPrincipalPolicyRequestSchema,\n});\n\nexport type DeleteOrganizationGroupRequest = z.infer<\n typeof DeleteOrganizationGroupRequestSchema\n>;\n\nexport const OrganizationReadModelQuerySchema = loosePlainObject({\n cursor: z.string().optional(),\n});\n\nexport type OrganizationReadModelQuery = z.infer<\n typeof OrganizationReadModelQuerySchema\n>;\n\nexport const UpdateOrganizationRosterEntryRequestSchema = loosePlainObject({\n profileDocumentId: uuidV4StringSchema.nullable(),\n});\n\nexport type UpdateOrganizationRosterEntryRequest = z.infer<\n typeof UpdateOrganizationRosterEntryRequestSchema\n>;\n\n/** The session user's own choice for one organization they belong to. */\nexport const UpdateOrganizationMembershipRequestSchema = z.strictObject({\n syncPaused: z.boolean(),\n});\n\nexport type UpdateOrganizationMembershipRequest = z.infer<\n typeof UpdateOrganizationMembershipRequestSchema\n>;\n\nexport const UpdateOrganizationProfileRequestSchema = loosePlainObject({\n profileDocumentId: uuidV4StringSchema.nullable(),\n});\n\nexport type UpdateOrganizationProfileRequest = z.infer<\n typeof UpdateOrganizationProfileRequestSchema\n>;\n\nexport function isCreateOrganizationGroupRequest(\n value: unknown,\n): value is CreateOrganizationGroupRequest {\n return CreateOrganizationGroupRequestSchema.safeParse(value).success;\n}\n\nexport function isCreateOrganizationGroupWithPolicyRequest(\n value: unknown,\n): value is CreateOrganizationGroupWithPolicyRequest {\n return CreateOrganizationGroupWithPolicyRequestSchema.safeParse(value)\n .success;\n}\n\nexport function isDeleteOrganizationGroupRequest(\n value: unknown,\n): value is DeleteOrganizationGroupRequest {\n return DeleteOrganizationGroupRequestSchema.safeParse(value).success;\n}\n\nexport function isUpdateOrganizationRosterEntryRequest(\n value: unknown,\n): value is UpdateOrganizationRosterEntryRequest {\n return UpdateOrganizationRosterEntryRequestSchema.safeParse(value).success;\n}\n\nexport function isUpdateOrganizationMembershipRequest(\n value: unknown,\n): value is UpdateOrganizationMembershipRequest {\n return UpdateOrganizationMembershipRequestSchema.safeParse(value).success;\n}\n\nexport function isUpdateOrganizationProfileRequest(\n value: unknown,\n): value is UpdateOrganizationProfileRequest {\n return UpdateOrganizationProfileRequestSchema.safeParse(value).success;\n}\n"]}
|
|
1
|
+
{"version":3,"file":"organization.js","sourceRoot":"","sources":["organization.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AACxB,OAAO,EAAE,gBAAgB,EAAE,kBAAkB,EAAE,MAAM,WAAW,CAAC;AACjE,OAAO,EACL,wCAAwC,EACxC,+BAA+B,GAChC,MAAM,aAAa,CAAC;AAErB,MAAM,mCAAmC,GAAG;IAC1C,OAAO,EAAE,kBAAkB;IAC3B,kBAAkB,EAAE,+BAA+B;CACpD,CAAC;AAEF,MAAM,CAAC,MAAM,oCAAoC,GAAG,CAAC,CAAC,YAAY,CAChE,mCAAmC,CACpC,CAAC;AAEF,MAAM,CAAC,MAAM,8CAA8C,GAAG,CAAC,CAAC,YAAY,CAAC;IAC3E,GAAG,mCAAmC;IACtC,kBAAkB,EAAE,wCAAwC;CAC7D,CAAC,CAAC;AAUH,MAAM,CAAC,MAAM,oCAAoC,GAAG,gBAAgB,CAAC;IACnE,kBAAkB,EAAE,wCAAwC;CAC7D,CAAC,CAAC;AAMH,MAAM,CAAC,MAAM,gCAAgC,GAAG,gBAAgB,CAAC;IAC/D,MAAM,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;CAC9B,CAAC,CAAC;AAMH;;;;GAIG;AACH,MAAM,CAAC,MAAM,0CAA0C,GAAG,gBAAgB,CAAC;IACzE,eAAe,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;CACvC,CAAC,CAAC;AAMH,MAAM,CAAC,MAAM,0CAA0C,GAAG,gBAAgB,CAAC;IACzE,iBAAiB,EAAE,kBAAkB,CAAC,QAAQ,EAAE;CACjD,CAAC,CAAC;AAMH,yEAAyE;AACzE,MAAM,CAAC,MAAM,yCAAyC,GAAG,CAAC,CAAC,YAAY,CAAC;IACtE,UAAU,EAAE,CAAC,CAAC,OAAO,EAAE;CACxB,CAAC,CAAC;AAMH,MAAM,CAAC,MAAM,sCAAsC,GAAG,gBAAgB,CAAC;IACrE,iBAAiB,EAAE,kBAAkB,CAAC,QAAQ,EAAE;CACjD,CAAC,CAAC;AAMH,MAAM,UAAU,gCAAgC,CAC9C,KAAc;IAEd,OAAO,oCAAoC,CAAC,SAAS,CAAC,KAAK,CAAC,CAAC,OAAO,CAAC;AACvE,CAAC;AAED,MAAM,UAAU,0CAA0C,CACxD,KAAc;IAEd,OAAO,8CAA8C,CAAC,SAAS,CAAC,KAAK,CAAC;SACnE,OAAO,CAAC;AACb,CAAC;AAED,MAAM,UAAU,gCAAgC,CAC9C,KAAc;IAEd,OAAO,oCAAoC,CAAC,SAAS,CAAC,KAAK,CAAC,CAAC,OAAO,CAAC;AACvE,CAAC;AAED,MAAM,UAAU,sCAAsC,CACpD,KAAc;IAEd,OAAO,0CAA0C,CAAC,SAAS,CAAC,KAAK,CAAC,CAAC,OAAO,CAAC;AAC7E,CAAC;AAED,MAAM,UAAU,qCAAqC,CACnD,KAAc;IAEd,OAAO,yCAAyC,CAAC,SAAS,CAAC,KAAK,CAAC,CAAC,OAAO,CAAC;AAC5E,CAAC;AAED,MAAM,UAAU,kCAAkC,CAChD,KAAc;IAEd,OAAO,sCAAsC,CAAC,SAAS,CAAC,KAAK,CAAC,CAAC,OAAO,CAAC;AACzE,CAAC","sourcesContent":["import { z } from \"zod\";\nimport { loosePlainObject, uuidV4StringSchema } from \"../schema\";\nimport {\n OrganizationPrincipalPolicyRequestSchema,\n PutPrincipalPolicyRequestSchema,\n} from \"./principal\";\n\nconst CreateOrganizationGroupRequestShape = {\n groupId: uuidV4StringSchema,\n initialGroupPolicy: PutPrincipalPolicyRequestSchema,\n};\n\nexport const CreateOrganizationGroupRequestSchema = z.strictObject(\n CreateOrganizationGroupRequestShape,\n);\n\nexport const CreateOrganizationGroupWithPolicyRequestSchema = z.strictObject({\n ...CreateOrganizationGroupRequestShape,\n organizationPolicy: OrganizationPrincipalPolicyRequestSchema,\n});\n\nexport type CreateOrganizationGroupRequest = z.infer<\n typeof CreateOrganizationGroupRequestSchema\n>;\n\nexport type CreateOrganizationGroupWithPolicyRequest = z.infer<\n typeof CreateOrganizationGroupWithPolicyRequestSchema\n>;\n\nexport const DeleteOrganizationGroupRequestSchema = loosePlainObject({\n organizationPolicy: OrganizationPrincipalPolicyRequestSchema,\n});\n\nexport type DeleteOrganizationGroupRequest = z.infer<\n typeof DeleteOrganizationGroupRequestSchema\n>;\n\nexport const OrganizationReadModelQuerySchema = loosePlainObject({\n cursor: z.string().optional(),\n});\n\nexport type OrganizationReadModelQuery = z.infer<\n typeof OrganizationReadModelQuerySchema\n>;\n\n/**\n * The organization read-model cursor a mutation's caller holds, as the query\n * of a mutation that may stamp the read model. It stays out of the body, which\n * a stored receipt binds, so a retry carrying a newer cursor still replays.\n */\nexport const OrganizationReadModelHeldCursorQuerySchema = loosePlainObject({\n readModelCursor: z.string().optional(),\n});\n\nexport type OrganizationReadModelHeldCursorQuery = z.infer<\n typeof OrganizationReadModelHeldCursorQuerySchema\n>;\n\nexport const UpdateOrganizationRosterEntryRequestSchema = loosePlainObject({\n profileDocumentId: uuidV4StringSchema.nullable(),\n});\n\nexport type UpdateOrganizationRosterEntryRequest = z.infer<\n typeof UpdateOrganizationRosterEntryRequestSchema\n>;\n\n/** The session user's own choice for one organization they belong to. */\nexport const UpdateOrganizationMembershipRequestSchema = z.strictObject({\n syncPaused: z.boolean(),\n});\n\nexport type UpdateOrganizationMembershipRequest = z.infer<\n typeof UpdateOrganizationMembershipRequestSchema\n>;\n\nexport const UpdateOrganizationProfileRequestSchema = loosePlainObject({\n profileDocumentId: uuidV4StringSchema.nullable(),\n});\n\nexport type UpdateOrganizationProfileRequest = z.infer<\n typeof UpdateOrganizationProfileRequestSchema\n>;\n\nexport function isCreateOrganizationGroupRequest(\n value: unknown,\n): value is CreateOrganizationGroupRequest {\n return CreateOrganizationGroupRequestSchema.safeParse(value).success;\n}\n\nexport function isCreateOrganizationGroupWithPolicyRequest(\n value: unknown,\n): value is CreateOrganizationGroupWithPolicyRequest {\n return CreateOrganizationGroupWithPolicyRequestSchema.safeParse(value)\n .success;\n}\n\nexport function isDeleteOrganizationGroupRequest(\n value: unknown,\n): value is DeleteOrganizationGroupRequest {\n return DeleteOrganizationGroupRequestSchema.safeParse(value).success;\n}\n\nexport function isUpdateOrganizationRosterEntryRequest(\n value: unknown,\n): value is UpdateOrganizationRosterEntryRequest {\n return UpdateOrganizationRosterEntryRequestSchema.safeParse(value).success;\n}\n\nexport function isUpdateOrganizationMembershipRequest(\n value: unknown,\n): value is UpdateOrganizationMembershipRequest {\n return UpdateOrganizationMembershipRequestSchema.safeParse(value).success;\n}\n\nexport function isUpdateOrganizationProfileRequest(\n value: unknown,\n): value is UpdateOrganizationProfileRequest {\n return UpdateOrganizationProfileRequestSchema.safeParse(value).success;\n}\n"]}
|
|
@@ -1374,9 +1374,7 @@ export declare const organizationProvisioningRequestShape: {
|
|
|
1374
1374
|
groupId: z.ZodCustom<string, string>;
|
|
1375
1375
|
initialGroupPolicy: z.ZodType<{
|
|
1376
1376
|
encryptedPayload: {
|
|
1377
|
-
cipherSuite: "aes-256-gcm";
|
|
1378
1377
|
ciphertext: string;
|
|
1379
|
-
ciphertextHash: string;
|
|
1380
1378
|
};
|
|
1381
1379
|
grants: {
|
|
1382
1380
|
accessLevel: "write" | "admin" | "read";
|
|
@@ -1465,9 +1463,7 @@ export declare const organizationProvisioningRequestShape: {
|
|
|
1465
1463
|
}[] | undefined;
|
|
1466
1464
|
}, {
|
|
1467
1465
|
encryptedPayload: {
|
|
1468
|
-
cipherSuite: "aes-256-gcm";
|
|
1469
1466
|
ciphertext: string;
|
|
1470
|
-
ciphertextHash: string;
|
|
1471
1467
|
};
|
|
1472
1468
|
grants: {
|
|
1473
1469
|
accessLevel: "write" | "admin" | "read";
|
|
@@ -1556,9 +1552,7 @@ export declare const organizationProvisioningRequestShape: {
|
|
|
1556
1552
|
}[] | undefined;
|
|
1557
1553
|
}, z.core.$ZodTypeInternals<{
|
|
1558
1554
|
encryptedPayload: {
|
|
1559
|
-
cipherSuite: "aes-256-gcm";
|
|
1560
1555
|
ciphertext: string;
|
|
1561
|
-
ciphertextHash: string;
|
|
1562
1556
|
};
|
|
1563
1557
|
grants: {
|
|
1564
1558
|
accessLevel: "write" | "admin" | "read";
|
|
@@ -1647,9 +1641,7 @@ export declare const organizationProvisioningRequestShape: {
|
|
|
1647
1641
|
}[] | undefined;
|
|
1648
1642
|
}, {
|
|
1649
1643
|
encryptedPayload: {
|
|
1650
|
-
cipherSuite: "aes-256-gcm";
|
|
1651
1644
|
ciphertext: string;
|
|
1652
|
-
ciphertextHash: string;
|
|
1653
1645
|
};
|
|
1654
1646
|
grants: {
|
|
1655
1647
|
accessLevel: "write" | "admin" | "read";
|
|
@@ -1742,9 +1734,7 @@ export declare const organizationProvisioningRequestShape: {
|
|
|
1742
1734
|
groupId: z.ZodCustom<string, string>;
|
|
1743
1735
|
initialGroupPolicy: z.ZodType<{
|
|
1744
1736
|
encryptedPayload: {
|
|
1745
|
-
cipherSuite: "aes-256-gcm";
|
|
1746
1737
|
ciphertext: string;
|
|
1747
|
-
ciphertextHash: string;
|
|
1748
1738
|
};
|
|
1749
1739
|
grants: {
|
|
1750
1740
|
accessLevel: "write" | "admin" | "read";
|
|
@@ -1833,9 +1823,7 @@ export declare const organizationProvisioningRequestShape: {
|
|
|
1833
1823
|
}[] | undefined;
|
|
1834
1824
|
}, {
|
|
1835
1825
|
encryptedPayload: {
|
|
1836
|
-
cipherSuite: "aes-256-gcm";
|
|
1837
1826
|
ciphertext: string;
|
|
1838
|
-
ciphertextHash: string;
|
|
1839
1827
|
};
|
|
1840
1828
|
grants: {
|
|
1841
1829
|
accessLevel: "write" | "admin" | "read";
|
|
@@ -1924,9 +1912,7 @@ export declare const organizationProvisioningRequestShape: {
|
|
|
1924
1912
|
}[] | undefined;
|
|
1925
1913
|
}, z.core.$ZodTypeInternals<{
|
|
1926
1914
|
encryptedPayload: {
|
|
1927
|
-
cipherSuite: "aes-256-gcm";
|
|
1928
1915
|
ciphertext: string;
|
|
1929
|
-
ciphertextHash: string;
|
|
1930
1916
|
};
|
|
1931
1917
|
grants: {
|
|
1932
1918
|
accessLevel: "write" | "admin" | "read";
|
|
@@ -2015,9 +2001,7 @@ export declare const organizationProvisioningRequestShape: {
|
|
|
2015
2001
|
}[] | undefined;
|
|
2016
2002
|
}, {
|
|
2017
2003
|
encryptedPayload: {
|
|
2018
|
-
cipherSuite: "aes-256-gcm";
|
|
2019
2004
|
ciphertext: string;
|
|
2020
|
-
ciphertextHash: string;
|
|
2021
2005
|
};
|
|
2022
2006
|
grants: {
|
|
2023
2007
|
accessLevel: "write" | "admin" | "read";
|
|
@@ -2873,9 +2857,7 @@ export declare const organizationProvisioningRequestShape: {
|
|
|
2873
2857
|
}>>;
|
|
2874
2858
|
initialOrganizationPolicy: z.ZodType<{
|
|
2875
2859
|
encryptedPayload: {
|
|
2876
|
-
cipherSuite: "aes-256-gcm";
|
|
2877
2860
|
ciphertext: string;
|
|
2878
|
-
ciphertextHash: string;
|
|
2879
2861
|
};
|
|
2880
2862
|
grants: {
|
|
2881
2863
|
accessLevel: "write" | "admin" | "read";
|
|
@@ -2964,9 +2946,7 @@ export declare const organizationProvisioningRequestShape: {
|
|
|
2964
2946
|
}[] | undefined;
|
|
2965
2947
|
}, {
|
|
2966
2948
|
encryptedPayload: {
|
|
2967
|
-
cipherSuite: "aes-256-gcm";
|
|
2968
2949
|
ciphertext: string;
|
|
2969
|
-
ciphertextHash: string;
|
|
2970
2950
|
};
|
|
2971
2951
|
grants: {
|
|
2972
2952
|
accessLevel: "write" | "admin" | "read";
|
|
@@ -3055,9 +3035,7 @@ export declare const organizationProvisioningRequestShape: {
|
|
|
3055
3035
|
}[] | undefined;
|
|
3056
3036
|
}, z.core.$ZodTypeInternals<{
|
|
3057
3037
|
encryptedPayload: {
|
|
3058
|
-
cipherSuite: "aes-256-gcm";
|
|
3059
3038
|
ciphertext: string;
|
|
3060
|
-
ciphertextHash: string;
|
|
3061
3039
|
};
|
|
3062
3040
|
grants: {
|
|
3063
3041
|
accessLevel: "write" | "admin" | "read";
|
|
@@ -3146,9 +3124,7 @@ export declare const organizationProvisioningRequestShape: {
|
|
|
3146
3124
|
}[] | undefined;
|
|
3147
3125
|
}, {
|
|
3148
3126
|
encryptedPayload: {
|
|
3149
|
-
cipherSuite: "aes-256-gcm";
|
|
3150
3127
|
ciphertext: string;
|
|
3151
|
-
ciphertextHash: string;
|
|
3152
3128
|
};
|
|
3153
3129
|
grants: {
|
|
3154
3130
|
accessLevel: "write" | "admin" | "read";
|
|
@@ -6321,9 +6297,7 @@ export declare const OrganizationProvisioningRequestSchema: z.ZodType<{
|
|
|
6321
6297
|
groupId: string;
|
|
6322
6298
|
initialGroupPolicy: {
|
|
6323
6299
|
encryptedPayload: {
|
|
6324
|
-
cipherSuite: "aes-256-gcm";
|
|
6325
6300
|
ciphertext: string;
|
|
6326
|
-
ciphertextHash: string;
|
|
6327
6301
|
};
|
|
6328
6302
|
grants: {
|
|
6329
6303
|
accessLevel: "write" | "admin" | "read";
|
|
@@ -6416,9 +6390,7 @@ export declare const OrganizationProvisioningRequestSchema: z.ZodType<{
|
|
|
6416
6390
|
groupId: string;
|
|
6417
6391
|
initialGroupPolicy: {
|
|
6418
6392
|
encryptedPayload: {
|
|
6419
|
-
cipherSuite: "aes-256-gcm";
|
|
6420
6393
|
ciphertext: string;
|
|
6421
|
-
ciphertextHash: string;
|
|
6422
6394
|
};
|
|
6423
6395
|
grants: {
|
|
6424
6396
|
accessLevel: "write" | "admin" | "read";
|
|
@@ -6701,9 +6673,7 @@ export declare const OrganizationProvisioningRequestSchema: z.ZodType<{
|
|
|
6701
6673
|
};
|
|
6702
6674
|
initialOrganizationPolicy: {
|
|
6703
6675
|
encryptedPayload: {
|
|
6704
|
-
cipherSuite: "aes-256-gcm";
|
|
6705
6676
|
ciphertext: string;
|
|
6706
|
-
ciphertextHash: string;
|
|
6707
6677
|
};
|
|
6708
6678
|
grants: {
|
|
6709
6679
|
accessLevel: "write" | "admin" | "read";
|
|
@@ -7668,9 +7638,7 @@ export declare const OrganizationProvisioningRequestSchema: z.ZodType<{
|
|
|
7668
7638
|
groupId: string;
|
|
7669
7639
|
initialGroupPolicy: {
|
|
7670
7640
|
encryptedPayload: {
|
|
7671
|
-
cipherSuite: "aes-256-gcm";
|
|
7672
7641
|
ciphertext: string;
|
|
7673
|
-
ciphertextHash: string;
|
|
7674
7642
|
};
|
|
7675
7643
|
grants: {
|
|
7676
7644
|
accessLevel: "write" | "admin" | "read";
|
|
@@ -7763,9 +7731,7 @@ export declare const OrganizationProvisioningRequestSchema: z.ZodType<{
|
|
|
7763
7731
|
groupId: string;
|
|
7764
7732
|
initialGroupPolicy: {
|
|
7765
7733
|
encryptedPayload: {
|
|
7766
|
-
cipherSuite: "aes-256-gcm";
|
|
7767
7734
|
ciphertext: string;
|
|
7768
|
-
ciphertextHash: string;
|
|
7769
7735
|
};
|
|
7770
7736
|
grants: {
|
|
7771
7737
|
accessLevel: "write" | "admin" | "read";
|
|
@@ -8048,9 +8014,7 @@ export declare const OrganizationProvisioningRequestSchema: z.ZodType<{
|
|
|
8048
8014
|
};
|
|
8049
8015
|
initialOrganizationPolicy: {
|
|
8050
8016
|
encryptedPayload: {
|
|
8051
|
-
cipherSuite: "aes-256-gcm";
|
|
8052
8017
|
ciphertext: string;
|
|
8053
|
-
ciphertextHash: string;
|
|
8054
8018
|
};
|
|
8055
8019
|
grants: {
|
|
8056
8020
|
accessLevel: "write" | "admin" | "read";
|
|
@@ -9015,9 +8979,7 @@ export declare const OrganizationProvisioningRequestSchema: z.ZodType<{
|
|
|
9015
8979
|
groupId: string;
|
|
9016
8980
|
initialGroupPolicy: {
|
|
9017
8981
|
encryptedPayload: {
|
|
9018
|
-
cipherSuite: "aes-256-gcm";
|
|
9019
8982
|
ciphertext: string;
|
|
9020
|
-
ciphertextHash: string;
|
|
9021
8983
|
};
|
|
9022
8984
|
grants: {
|
|
9023
8985
|
accessLevel: "write" | "admin" | "read";
|
|
@@ -9110,9 +9072,7 @@ export declare const OrganizationProvisioningRequestSchema: z.ZodType<{
|
|
|
9110
9072
|
groupId: string;
|
|
9111
9073
|
initialGroupPolicy: {
|
|
9112
9074
|
encryptedPayload: {
|
|
9113
|
-
cipherSuite: "aes-256-gcm";
|
|
9114
9075
|
ciphertext: string;
|
|
9115
|
-
ciphertextHash: string;
|
|
9116
9076
|
};
|
|
9117
9077
|
grants: {
|
|
9118
9078
|
accessLevel: "write" | "admin" | "read";
|
|
@@ -9395,9 +9355,7 @@ export declare const OrganizationProvisioningRequestSchema: z.ZodType<{
|
|
|
9395
9355
|
};
|
|
9396
9356
|
initialOrganizationPolicy: {
|
|
9397
9357
|
encryptedPayload: {
|
|
9398
|
-
cipherSuite: "aes-256-gcm";
|
|
9399
9358
|
ciphertext: string;
|
|
9400
|
-
ciphertextHash: string;
|
|
9401
9359
|
};
|
|
9402
9360
|
grants: {
|
|
9403
9361
|
accessLevel: "write" | "admin" | "read";
|
|
@@ -10362,9 +10320,7 @@ export declare const OrganizationProvisioningRequestSchema: z.ZodType<{
|
|
|
10362
10320
|
groupId: string;
|
|
10363
10321
|
initialGroupPolicy: {
|
|
10364
10322
|
encryptedPayload: {
|
|
10365
|
-
cipherSuite: "aes-256-gcm";
|
|
10366
10323
|
ciphertext: string;
|
|
10367
|
-
ciphertextHash: string;
|
|
10368
10324
|
};
|
|
10369
10325
|
grants: {
|
|
10370
10326
|
accessLevel: "write" | "admin" | "read";
|
|
@@ -10457,9 +10413,7 @@ export declare const OrganizationProvisioningRequestSchema: z.ZodType<{
|
|
|
10457
10413
|
groupId: string;
|
|
10458
10414
|
initialGroupPolicy: {
|
|
10459
10415
|
encryptedPayload: {
|
|
10460
|
-
cipherSuite: "aes-256-gcm";
|
|
10461
10416
|
ciphertext: string;
|
|
10462
|
-
ciphertextHash: string;
|
|
10463
10417
|
};
|
|
10464
10418
|
grants: {
|
|
10465
10419
|
accessLevel: "write" | "admin" | "read";
|
|
@@ -10742,9 +10696,7 @@ export declare const OrganizationProvisioningRequestSchema: z.ZodType<{
|
|
|
10742
10696
|
};
|
|
10743
10697
|
initialOrganizationPolicy: {
|
|
10744
10698
|
encryptedPayload: {
|
|
10745
|
-
cipherSuite: "aes-256-gcm";
|
|
10746
10699
|
ciphertext: string;
|
|
10747
|
-
ciphertextHash: string;
|
|
10748
10700
|
};
|
|
10749
10701
|
grants: {
|
|
10750
10702
|
accessLevel: "write" | "admin" | "read";
|
|
@@ -11718,9 +11670,7 @@ export declare const CreateOrganizationRequestSchema: z.ZodType<{
|
|
|
11718
11670
|
groupId: string;
|
|
11719
11671
|
initialGroupPolicy: {
|
|
11720
11672
|
encryptedPayload: {
|
|
11721
|
-
cipherSuite: "aes-256-gcm";
|
|
11722
11673
|
ciphertext: string;
|
|
11723
|
-
ciphertextHash: string;
|
|
11724
11674
|
};
|
|
11725
11675
|
grants: {
|
|
11726
11676
|
accessLevel: "write" | "admin" | "read";
|
|
@@ -11813,9 +11763,7 @@ export declare const CreateOrganizationRequestSchema: z.ZodType<{
|
|
|
11813
11763
|
groupId: string;
|
|
11814
11764
|
initialGroupPolicy: {
|
|
11815
11765
|
encryptedPayload: {
|
|
11816
|
-
cipherSuite: "aes-256-gcm";
|
|
11817
11766
|
ciphertext: string;
|
|
11818
|
-
ciphertextHash: string;
|
|
11819
11767
|
};
|
|
11820
11768
|
grants: {
|
|
11821
11769
|
accessLevel: "write" | "admin" | "read";
|
|
@@ -12098,9 +12046,7 @@ export declare const CreateOrganizationRequestSchema: z.ZodType<{
|
|
|
12098
12046
|
};
|
|
12099
12047
|
initialOrganizationPolicy: {
|
|
12100
12048
|
encryptedPayload: {
|
|
12101
|
-
cipherSuite: "aes-256-gcm";
|
|
12102
12049
|
ciphertext: string;
|
|
12103
|
-
ciphertextHash: string;
|
|
12104
12050
|
};
|
|
12105
12051
|
grants: {
|
|
12106
12052
|
accessLevel: "write" | "admin" | "read";
|
|
@@ -13082,9 +13028,7 @@ export declare const CreateOrganizationRequestSchema: z.ZodType<{
|
|
|
13082
13028
|
groupId: string;
|
|
13083
13029
|
initialGroupPolicy: {
|
|
13084
13030
|
encryptedPayload: {
|
|
13085
|
-
cipherSuite: "aes-256-gcm";
|
|
13086
13031
|
ciphertext: string;
|
|
13087
|
-
ciphertextHash: string;
|
|
13088
13032
|
};
|
|
13089
13033
|
grants: {
|
|
13090
13034
|
accessLevel: "write" | "admin" | "read";
|
|
@@ -13177,9 +13121,7 @@ export declare const CreateOrganizationRequestSchema: z.ZodType<{
|
|
|
13177
13121
|
groupId: string;
|
|
13178
13122
|
initialGroupPolicy: {
|
|
13179
13123
|
encryptedPayload: {
|
|
13180
|
-
cipherSuite: "aes-256-gcm";
|
|
13181
13124
|
ciphertext: string;
|
|
13182
|
-
ciphertextHash: string;
|
|
13183
13125
|
};
|
|
13184
13126
|
grants: {
|
|
13185
13127
|
accessLevel: "write" | "admin" | "read";
|
|
@@ -13462,9 +13404,7 @@ export declare const CreateOrganizationRequestSchema: z.ZodType<{
|
|
|
13462
13404
|
};
|
|
13463
13405
|
initialOrganizationPolicy: {
|
|
13464
13406
|
encryptedPayload: {
|
|
13465
|
-
cipherSuite: "aes-256-gcm";
|
|
13466
13407
|
ciphertext: string;
|
|
13467
|
-
ciphertextHash: string;
|
|
13468
13408
|
};
|
|
13469
13409
|
grants: {
|
|
13470
13410
|
accessLevel: "write" | "admin" | "read";
|
|
@@ -14446,9 +14386,7 @@ export declare const CreateOrganizationRequestSchema: z.ZodType<{
|
|
|
14446
14386
|
groupId: string;
|
|
14447
14387
|
initialGroupPolicy: {
|
|
14448
14388
|
encryptedPayload: {
|
|
14449
|
-
cipherSuite: "aes-256-gcm";
|
|
14450
14389
|
ciphertext: string;
|
|
14451
|
-
ciphertextHash: string;
|
|
14452
14390
|
};
|
|
14453
14391
|
grants: {
|
|
14454
14392
|
accessLevel: "write" | "admin" | "read";
|
|
@@ -14541,9 +14479,7 @@ export declare const CreateOrganizationRequestSchema: z.ZodType<{
|
|
|
14541
14479
|
groupId: string;
|
|
14542
14480
|
initialGroupPolicy: {
|
|
14543
14481
|
encryptedPayload: {
|
|
14544
|
-
cipherSuite: "aes-256-gcm";
|
|
14545
14482
|
ciphertext: string;
|
|
14546
|
-
ciphertextHash: string;
|
|
14547
14483
|
};
|
|
14548
14484
|
grants: {
|
|
14549
14485
|
accessLevel: "write" | "admin" | "read";
|
|
@@ -14826,9 +14762,7 @@ export declare const CreateOrganizationRequestSchema: z.ZodType<{
|
|
|
14826
14762
|
};
|
|
14827
14763
|
initialOrganizationPolicy: {
|
|
14828
14764
|
encryptedPayload: {
|
|
14829
|
-
cipherSuite: "aes-256-gcm";
|
|
14830
14765
|
ciphertext: string;
|
|
14831
|
-
ciphertextHash: string;
|
|
14832
14766
|
};
|
|
14833
14767
|
grants: {
|
|
14834
14768
|
accessLevel: "write" | "admin" | "read";
|
|
@@ -15810,9 +15744,7 @@ export declare const CreateOrganizationRequestSchema: z.ZodType<{
|
|
|
15810
15744
|
groupId: string;
|
|
15811
15745
|
initialGroupPolicy: {
|
|
15812
15746
|
encryptedPayload: {
|
|
15813
|
-
cipherSuite: "aes-256-gcm";
|
|
15814
15747
|
ciphertext: string;
|
|
15815
|
-
ciphertextHash: string;
|
|
15816
15748
|
};
|
|
15817
15749
|
grants: {
|
|
15818
15750
|
accessLevel: "write" | "admin" | "read";
|
|
@@ -15905,9 +15837,7 @@ export declare const CreateOrganizationRequestSchema: z.ZodType<{
|
|
|
15905
15837
|
groupId: string;
|
|
15906
15838
|
initialGroupPolicy: {
|
|
15907
15839
|
encryptedPayload: {
|
|
15908
|
-
cipherSuite: "aes-256-gcm";
|
|
15909
15840
|
ciphertext: string;
|
|
15910
|
-
ciphertextHash: string;
|
|
15911
15841
|
};
|
|
15912
15842
|
grants: {
|
|
15913
15843
|
accessLevel: "write" | "admin" | "read";
|
|
@@ -16190,9 +16120,7 @@ export declare const CreateOrganizationRequestSchema: z.ZodType<{
|
|
|
16190
16120
|
};
|
|
16191
16121
|
initialOrganizationPolicy: {
|
|
16192
16122
|
encryptedPayload: {
|
|
16193
|
-
cipherSuite: "aes-256-gcm";
|
|
16194
16123
|
ciphertext: string;
|
|
16195
|
-
ciphertextHash: string;
|
|
16196
16124
|
};
|
|
16197
16125
|
grants: {
|
|
16198
16126
|
accessLevel: "write" | "admin" | "read";
|