@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
|
@@ -148,13 +148,7 @@ export declare const getPrincipalPolicyOperation: Omit<{
|
|
|
148
148
|
stateHash: string;
|
|
149
149
|
};
|
|
150
150
|
currentPayload: {
|
|
151
|
-
cipherSuite: "aes-256-gcm";
|
|
152
151
|
ciphertext: string;
|
|
153
|
-
ciphertextHash: string;
|
|
154
|
-
createdAt: string;
|
|
155
|
-
principalId: string;
|
|
156
|
-
principalType: "group" | "organization";
|
|
157
|
-
stateHash: string;
|
|
158
152
|
};
|
|
159
153
|
currentProjection: {
|
|
160
154
|
identityBundleFingerprint: string;
|
|
@@ -256,13 +250,7 @@ export declare const getPrincipalPolicyOperation: Omit<{
|
|
|
256
250
|
stateHash: string;
|
|
257
251
|
};
|
|
258
252
|
currentPayload: {
|
|
259
|
-
cipherSuite: "aes-256-gcm";
|
|
260
253
|
ciphertext: string;
|
|
261
|
-
ciphertextHash: string;
|
|
262
|
-
createdAt: string;
|
|
263
|
-
principalId: string;
|
|
264
|
-
principalType: "group" | "organization";
|
|
265
|
-
stateHash: string;
|
|
266
254
|
};
|
|
267
255
|
currentProjection: {
|
|
268
256
|
identityBundleFingerprint: string;
|
|
@@ -364,13 +352,7 @@ export declare const getPrincipalPolicyOperation: Omit<{
|
|
|
364
352
|
stateHash: string;
|
|
365
353
|
};
|
|
366
354
|
currentPayload: {
|
|
367
|
-
cipherSuite: "aes-256-gcm";
|
|
368
355
|
ciphertext: string;
|
|
369
|
-
ciphertextHash: string;
|
|
370
|
-
createdAt: string;
|
|
371
|
-
principalId: string;
|
|
372
|
-
principalType: "group" | "organization";
|
|
373
|
-
stateHash: string;
|
|
374
356
|
};
|
|
375
357
|
currentProjection: {
|
|
376
358
|
identityBundleFingerprint: string;
|
|
@@ -472,13 +454,7 @@ export declare const getPrincipalPolicyOperation: Omit<{
|
|
|
472
454
|
stateHash: string;
|
|
473
455
|
};
|
|
474
456
|
currentPayload: {
|
|
475
|
-
cipherSuite: "aes-256-gcm";
|
|
476
457
|
ciphertext: string;
|
|
477
|
-
ciphertextHash: string;
|
|
478
|
-
createdAt: string;
|
|
479
|
-
principalId: string;
|
|
480
|
-
principalType: "group" | "organization";
|
|
481
|
-
stateHash: string;
|
|
482
458
|
};
|
|
483
459
|
currentProjection: {
|
|
484
460
|
identityBundleFingerprint: string;
|
|
@@ -813,9 +789,7 @@ export declare const putPrincipalPolicyOperation: Omit<{
|
|
|
813
789
|
readonly auth: "session";
|
|
814
790
|
readonly body: z.ZodType<{
|
|
815
791
|
encryptedPayload: {
|
|
816
|
-
cipherSuite: "aes-256-gcm";
|
|
817
792
|
ciphertext: string;
|
|
818
|
-
ciphertextHash: string;
|
|
819
793
|
};
|
|
820
794
|
grants: {
|
|
821
795
|
accessLevel: "write" | "admin" | "read";
|
|
@@ -904,9 +878,7 @@ export declare const putPrincipalPolicyOperation: Omit<{
|
|
|
904
878
|
}[] | undefined;
|
|
905
879
|
}, {
|
|
906
880
|
encryptedPayload: {
|
|
907
|
-
cipherSuite: "aes-256-gcm";
|
|
908
881
|
ciphertext: string;
|
|
909
|
-
ciphertextHash: string;
|
|
910
882
|
};
|
|
911
883
|
grants: {
|
|
912
884
|
accessLevel: "write" | "admin" | "read";
|
|
@@ -995,9 +967,7 @@ export declare const putPrincipalPolicyOperation: Omit<{
|
|
|
995
967
|
}[] | undefined;
|
|
996
968
|
}, z.core.$ZodTypeInternals<{
|
|
997
969
|
encryptedPayload: {
|
|
998
|
-
cipherSuite: "aes-256-gcm";
|
|
999
970
|
ciphertext: string;
|
|
1000
|
-
ciphertextHash: string;
|
|
1001
971
|
};
|
|
1002
972
|
grants: {
|
|
1003
973
|
accessLevel: "write" | "admin" | "read";
|
|
@@ -1086,9 +1056,7 @@ export declare const putPrincipalPolicyOperation: Omit<{
|
|
|
1086
1056
|
}[] | undefined;
|
|
1087
1057
|
}, {
|
|
1088
1058
|
encryptedPayload: {
|
|
1089
|
-
cipherSuite: "aes-256-gcm";
|
|
1090
1059
|
ciphertext: string;
|
|
1091
|
-
ciphertextHash: string;
|
|
1092
1060
|
};
|
|
1093
1061
|
grants: {
|
|
1094
1062
|
accessLevel: "write" | "admin" | "read";
|
|
@@ -1562,9 +1530,7 @@ export declare const commitOrganizationGroupPolicyOperation: Omit<{
|
|
|
1562
1530
|
readonly body: z.ZodType<{
|
|
1563
1531
|
groupPolicy: {
|
|
1564
1532
|
encryptedPayload: {
|
|
1565
|
-
cipherSuite: "aes-256-gcm";
|
|
1566
1533
|
ciphertext: string;
|
|
1567
|
-
ciphertextHash: string;
|
|
1568
1534
|
};
|
|
1569
1535
|
grants: {
|
|
1570
1536
|
accessLevel: "write" | "admin" | "read";
|
|
@@ -1654,9 +1620,7 @@ export declare const commitOrganizationGroupPolicyOperation: Omit<{
|
|
|
1654
1620
|
};
|
|
1655
1621
|
organizationPolicy: {
|
|
1656
1622
|
encryptedPayload: {
|
|
1657
|
-
cipherSuite: "aes-256-gcm";
|
|
1658
1623
|
ciphertext: string;
|
|
1659
|
-
ciphertextHash: string;
|
|
1660
1624
|
};
|
|
1661
1625
|
grants: {
|
|
1662
1626
|
accessLevel: "write" | "admin" | "read";
|
|
@@ -1746,9 +1710,7 @@ export declare const commitOrganizationGroupPolicyOperation: Omit<{
|
|
|
1746
1710
|
};
|
|
1747
1711
|
memberPolicy?: {
|
|
1748
1712
|
encryptedPayload: {
|
|
1749
|
-
cipherSuite: "aes-256-gcm";
|
|
1750
1713
|
ciphertext: string;
|
|
1751
|
-
ciphertextHash: string;
|
|
1752
1714
|
};
|
|
1753
1715
|
grants: {
|
|
1754
1716
|
accessLevel: "write" | "admin" | "read";
|
|
@@ -1839,9 +1801,7 @@ export declare const commitOrganizationGroupPolicyOperation: Omit<{
|
|
|
1839
1801
|
}, {
|
|
1840
1802
|
groupPolicy: {
|
|
1841
1803
|
encryptedPayload: {
|
|
1842
|
-
cipherSuite: "aes-256-gcm";
|
|
1843
1804
|
ciphertext: string;
|
|
1844
|
-
ciphertextHash: string;
|
|
1845
1805
|
};
|
|
1846
1806
|
grants: {
|
|
1847
1807
|
accessLevel: "write" | "admin" | "read";
|
|
@@ -1931,9 +1891,7 @@ export declare const commitOrganizationGroupPolicyOperation: Omit<{
|
|
|
1931
1891
|
};
|
|
1932
1892
|
organizationPolicy: {
|
|
1933
1893
|
encryptedPayload: {
|
|
1934
|
-
cipherSuite: "aes-256-gcm";
|
|
1935
1894
|
ciphertext: string;
|
|
1936
|
-
ciphertextHash: string;
|
|
1937
1895
|
};
|
|
1938
1896
|
grants: {
|
|
1939
1897
|
accessLevel: "write" | "admin" | "read";
|
|
@@ -2023,9 +1981,7 @@ export declare const commitOrganizationGroupPolicyOperation: Omit<{
|
|
|
2023
1981
|
};
|
|
2024
1982
|
memberPolicy?: {
|
|
2025
1983
|
encryptedPayload: {
|
|
2026
|
-
cipherSuite: "aes-256-gcm";
|
|
2027
1984
|
ciphertext: string;
|
|
2028
|
-
ciphertextHash: string;
|
|
2029
1985
|
};
|
|
2030
1986
|
grants: {
|
|
2031
1987
|
accessLevel: "write" | "admin" | "read";
|
|
@@ -2116,9 +2072,7 @@ export declare const commitOrganizationGroupPolicyOperation: Omit<{
|
|
|
2116
2072
|
}, z.core.$ZodTypeInternals<{
|
|
2117
2073
|
groupPolicy: {
|
|
2118
2074
|
encryptedPayload: {
|
|
2119
|
-
cipherSuite: "aes-256-gcm";
|
|
2120
2075
|
ciphertext: string;
|
|
2121
|
-
ciphertextHash: string;
|
|
2122
2076
|
};
|
|
2123
2077
|
grants: {
|
|
2124
2078
|
accessLevel: "write" | "admin" | "read";
|
|
@@ -2208,9 +2162,7 @@ export declare const commitOrganizationGroupPolicyOperation: Omit<{
|
|
|
2208
2162
|
};
|
|
2209
2163
|
organizationPolicy: {
|
|
2210
2164
|
encryptedPayload: {
|
|
2211
|
-
cipherSuite: "aes-256-gcm";
|
|
2212
2165
|
ciphertext: string;
|
|
2213
|
-
ciphertextHash: string;
|
|
2214
2166
|
};
|
|
2215
2167
|
grants: {
|
|
2216
2168
|
accessLevel: "write" | "admin" | "read";
|
|
@@ -2300,9 +2252,7 @@ export declare const commitOrganizationGroupPolicyOperation: Omit<{
|
|
|
2300
2252
|
};
|
|
2301
2253
|
memberPolicy?: {
|
|
2302
2254
|
encryptedPayload: {
|
|
2303
|
-
cipherSuite: "aes-256-gcm";
|
|
2304
2255
|
ciphertext: string;
|
|
2305
|
-
ciphertextHash: string;
|
|
2306
2256
|
};
|
|
2307
2257
|
grants: {
|
|
2308
2258
|
accessLevel: "write" | "admin" | "read";
|
|
@@ -2393,9 +2343,7 @@ export declare const commitOrganizationGroupPolicyOperation: Omit<{
|
|
|
2393
2343
|
}, {
|
|
2394
2344
|
groupPolicy: {
|
|
2395
2345
|
encryptedPayload: {
|
|
2396
|
-
cipherSuite: "aes-256-gcm";
|
|
2397
2346
|
ciphertext: string;
|
|
2398
|
-
ciphertextHash: string;
|
|
2399
2347
|
};
|
|
2400
2348
|
grants: {
|
|
2401
2349
|
accessLevel: "write" | "admin" | "read";
|
|
@@ -2485,9 +2433,7 @@ export declare const commitOrganizationGroupPolicyOperation: Omit<{
|
|
|
2485
2433
|
};
|
|
2486
2434
|
organizationPolicy: {
|
|
2487
2435
|
encryptedPayload: {
|
|
2488
|
-
cipherSuite: "aes-256-gcm";
|
|
2489
2436
|
ciphertext: string;
|
|
2490
|
-
ciphertextHash: string;
|
|
2491
2437
|
};
|
|
2492
2438
|
grants: {
|
|
2493
2439
|
accessLevel: "write" | "admin" | "read";
|
|
@@ -2577,9 +2523,7 @@ export declare const commitOrganizationGroupPolicyOperation: Omit<{
|
|
|
2577
2523
|
};
|
|
2578
2524
|
memberPolicy?: {
|
|
2579
2525
|
encryptedPayload: {
|
|
2580
|
-
cipherSuite: "aes-256-gcm";
|
|
2581
2526
|
ciphertext: string;
|
|
2582
|
-
ciphertextHash: string;
|
|
2583
2527
|
};
|
|
2584
2528
|
grants: {
|
|
2585
2529
|
accessLevel: "write" | "admin" | "read";
|
|
@@ -2809,13 +2753,22 @@ export declare const commitOrganizationGroupPolicyOperation: Omit<{
|
|
|
2809
2753
|
readonly failureStatuses: readonly [400, 401, 402, 403, 404, 409, 500, 503];
|
|
2810
2754
|
readonly id: "organizations.groups.policy.commit";
|
|
2811
2755
|
readonly summary: "Advance a group policy and its signed directory head";
|
|
2812
|
-
readonly description: "Commits a group's next signed principal policy, its member envelopes, the matching organization policy successor, and the container grant updates the change requires, all in one transaction. Only organization administrators may call it; a stale head returns 409. A 202 asks for the identical request to be retried after preparation, and only a 503 with `committed: false` and code `principal_history_preparation_unavailable` proves nothing was written.";
|
|
2756
|
+
readonly description: "Commits a group's next signed principal policy, its member envelopes, the matching organization policy successor, and the container grant updates the change requires, all in one transaction. Only organization administrators may call it; a stale head returns 409. When `readModelCursor` names the read-model head the commit advanced from, the response carries the read-model delta a feed read from that cursor returns. A 202 asks for the identical request to be retried after preparation, and only a 503 with `committed: false` and code `principal_history_preparation_unavailable` proves nothing was written.";
|
|
2813
2757
|
readonly method: "PUT";
|
|
2814
2758
|
readonly params: z.ZodObject<{
|
|
2815
2759
|
organizationId: z.ZodCustom<string, string>;
|
|
2816
2760
|
groupId: z.ZodCustom<string, string>;
|
|
2817
2761
|
}, z.core.$strict>;
|
|
2818
2762
|
readonly path: "/organizations/{organizationId}/groups/{groupId}/policy-commit";
|
|
2763
|
+
readonly query: z.ZodType<{
|
|
2764
|
+
readModelCursor?: string | undefined;
|
|
2765
|
+
}, {
|
|
2766
|
+
readModelCursor?: string | undefined;
|
|
2767
|
+
}, z.core.$ZodTypeInternals<{
|
|
2768
|
+
readModelCursor?: string | undefined;
|
|
2769
|
+
}, {
|
|
2770
|
+
readModelCursor?: string | undefined;
|
|
2771
|
+
}>>;
|
|
2819
2772
|
readonly responseDescriptions: {
|
|
2820
2773
|
readonly 202: "The attempted operation rolled back. Retry the identical request to continue verification preparation.";
|
|
2821
2774
|
};
|
|
@@ -2920,6 +2873,7 @@ export declare const commitOrganizationGroupPolicyOperation: Omit<{
|
|
|
2920
2873
|
version: number;
|
|
2921
2874
|
};
|
|
2922
2875
|
} | undefined;
|
|
2876
|
+
readModel?: unknown;
|
|
2923
2877
|
}, {
|
|
2924
2878
|
groupPolicy: {
|
|
2925
2879
|
containerMutations: {
|
|
@@ -3020,6 +2974,7 @@ export declare const commitOrganizationGroupPolicyOperation: Omit<{
|
|
|
3020
2974
|
version: number;
|
|
3021
2975
|
};
|
|
3022
2976
|
} | undefined;
|
|
2977
|
+
readModel?: unknown;
|
|
3023
2978
|
}, z.core.$ZodTypeInternals<{
|
|
3024
2979
|
groupPolicy: {
|
|
3025
2980
|
containerMutations: {
|
|
@@ -3120,6 +3075,7 @@ export declare const commitOrganizationGroupPolicyOperation: Omit<{
|
|
|
3120
3075
|
version: number;
|
|
3121
3076
|
};
|
|
3122
3077
|
} | undefined;
|
|
3078
|
+
readModel?: unknown;
|
|
3123
3079
|
}, {
|
|
3124
3080
|
groupPolicy: {
|
|
3125
3081
|
containerMutations: {
|
|
@@ -3220,6 +3176,7 @@ export declare const commitOrganizationGroupPolicyOperation: Omit<{
|
|
|
3220
3176
|
version: number;
|
|
3221
3177
|
};
|
|
3222
3178
|
} | undefined;
|
|
3179
|
+
readModel?: unknown;
|
|
3223
3180
|
}>>;
|
|
3224
3181
|
readonly 202: z.ZodObject<{
|
|
3225
3182
|
code: z.ZodLiteral<"principal_history_preparation_pending">;
|
|
@@ -3233,6 +3190,9 @@ export declare const commitOrganizationGroupPolicyOperation: Omit<{
|
|
|
3233
3190
|
}, {
|
|
3234
3191
|
readonly id: "response.principal-history-preparation-rollback";
|
|
3235
3192
|
readonly description: "A 503 with code principal_history_preparation_unavailable requires committed:false; other 503 responses do not guarantee rollback.";
|
|
3193
|
+
}, {
|
|
3194
|
+
readonly description: "read-model lanes match the response organization; grants and memberships are unambiguous; snapshot lanes are complete and contain no deletions";
|
|
3195
|
+
readonly id: "response.organization-read-model-consistency";
|
|
3236
3196
|
}];
|
|
3237
3197
|
}, "failureResponses" | "failureStatuses"> & {
|
|
3238
3198
|
readonly failureResponses: {
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
import { organizationProvisioningContainerKeyringRefinement } from "../organizationProvisioningRefinements.js";
|
|
3
|
-
import {
|
|
3
|
+
import { organizationReadModelResponseRuntimeRefinements } from "../organizationReadModelRefinements.js";
|
|
4
|
+
import { CommitOrganizationGroupPolicyRequestSchema, isCommitOrganizationGroupPolicyRequest, isOrganizationPrincipalPolicyRequest, OrganizationPrincipalPolicyRequestSchema, OrganizationReadModelHeldCursorQuerySchema, } from "../request/index.js";
|
|
4
5
|
import { CommitOrganizationGroupPolicyConflictResponseSchema, CommitOrganizationGroupPolicyResponseSchema, CurrentPrincipalMemberEnvelopesResponseSchema, ErrorResponseSchema, isCommitOrganizationGroupPolicyResponse, isCurrentPrincipalMemberEnvelopesResponse, isPrincipalPolicyMutationResponse, PaymentRequiredErrorResponseSchema, PrincipalPolicyErrorResponseSchema, PrincipalPolicyMutationResponseSchema, PrincipalPolicyReadResponseSchema, SessionFailureResponseSchema, } from "../response/index.js";
|
|
5
6
|
import { PrincipalHistoryPreparationFailureResponseSchema, PrincipalHistoryPreparationResponseSchema, principalHistoryRollbackRefinement, } from "../response/principalHistoryPreparation.js";
|
|
6
7
|
import { sha256HexStringSchema, uuidV4StringSchema } from "../schema.js";
|
|
@@ -113,10 +114,11 @@ export const commitOrganizationGroupPolicyOperation = defineJsonOperation({
|
|
|
113
114
|
failureStatuses: [400, 401, 402, 403, 404, 409, 500, 503],
|
|
114
115
|
id: "organizations.groups.policy.commit",
|
|
115
116
|
summary: "Advance a group policy and its signed directory head",
|
|
116
|
-
description: "Commits a group's next signed principal policy, its member envelopes, the matching organization policy successor, and the container grant updates the change requires, all in one transaction. Only organization administrators may call it; a stale head returns 409. A 202 asks for the identical request to be retried after preparation, and only a 503 with `committed: false` and code `principal_history_preparation_unavailable` proves nothing was written.",
|
|
117
|
+
description: "Commits a group's next signed principal policy, its member envelopes, the matching organization policy successor, and the container grant updates the change requires, all in one transaction. Only organization administrators may call it; a stale head returns 409. When `readModelCursor` names the read-model head the commit advanced from, the response carries the read-model delta a feed read from that cursor returns. A 202 asks for the identical request to be retried after preparation, and only a 503 with `committed: false` and code `principal_history_preparation_unavailable` proves nothing was written.",
|
|
117
118
|
method: "PUT",
|
|
118
119
|
params: OrganizationGroupPolicyPathParamsSchema,
|
|
119
120
|
path: "/organizations/{organizationId}/groups/{groupId}/policy-commit",
|
|
121
|
+
query: OrganizationReadModelHeldCursorQuerySchema,
|
|
120
122
|
responseDescriptions: preparationResponseDescriptions,
|
|
121
123
|
responses: {
|
|
122
124
|
200: CommitOrganizationGroupPolicyResponseSchema,
|
|
@@ -125,6 +127,7 @@ export const commitOrganizationGroupPolicyOperation = defineJsonOperation({
|
|
|
125
127
|
runtimeRefinements: [
|
|
126
128
|
organizationProvisioningContainerKeyringRefinement,
|
|
127
129
|
principalHistoryRollbackRefinement,
|
|
130
|
+
...organizationReadModelResponseRuntimeRefinements,
|
|
128
131
|
],
|
|
129
132
|
});
|
|
130
133
|
export const isCommitOrganizationGroupPolicyOperationRequest = isCommitOrganizationGroupPolicyRequest;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"principals.js","sourceRoot":"","sources":["principals.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AACxB,OAAO,EAAE,kDAAkD,EAAE,MAAM,wCAAwC,CAAC;AAC5G,OAAO,EACL,0CAA0C,EAC1C,sCAAsC,EACtC,oCAAoC,EACpC,wCAAwC,GACzC,MAAM,YAAY,CAAC;AACpB,OAAO,EACL,mDAAmD,EACnD,2CAA2C,EAE3C,6CAA6C,EAC7C,mBAAmB,EACnB,uCAAuC,EACvC,yCAAyC,EACzC,iCAAiC,EACjC,kCAAkC,EAClC,kCAAkC,EAClC,qCAAqC,EAErC,iCAAiC,EACjC,4BAA4B,GAC7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;AACzC,MAAM,CAAC,MAAM,gDAAgD,GAC3D,uCAAuC,CAAC;AAE1C,MAAM,UAAU,qCAAqC,CACnD,KAAc;IAEd,OAAO,iCAAiC,CAAC,SAAS,CAAC,KAAK,CAAC,CAAC,OAAO,CAAC;AACpE,CAAC;AAED,MAAM,UAAU,8CAA8C,CAC5D,KAAc;IAEd,OAAO,yCAAyC,CAAC,KAAK,CAAC,CAAC;AAC1D,CAAC;AACD,MAAM,CAAC,MAAM,oCAAoC,GAC/C,oCAAoC,CAAC;AACvC,MAAM,CAAC,MAAM,qCAAqC,GAChD,iCAAiC,CAAC","sourcesContent":["import { z } from \"zod\";\nimport { organizationProvisioningContainerKeyringRefinement } from \"../organizationProvisioningRefinements\";\nimport {\n CommitOrganizationGroupPolicyRequestSchema,\n isCommitOrganizationGroupPolicyRequest,\n isOrganizationPrincipalPolicyRequest,\n OrganizationPrincipalPolicyRequestSchema,\n} from \"../request\";\nimport {\n CommitOrganizationGroupPolicyConflictResponseSchema,\n CommitOrganizationGroupPolicyResponseSchema,\n type CurrentPrincipalMemberEnvelopesResponse,\n CurrentPrincipalMemberEnvelopesResponseSchema,\n ErrorResponseSchema,\n isCommitOrganizationGroupPolicyResponse,\n isCurrentPrincipalMemberEnvelopesResponse,\n isPrincipalPolicyMutationResponse,\n PaymentRequiredErrorResponseSchema,\n PrincipalPolicyErrorResponseSchema,\n PrincipalPolicyMutationResponseSchema,\n type PrincipalPolicyReadResponse,\n PrincipalPolicyReadResponseSchema,\n SessionFailureResponseSchema,\n} from \"../response\";\nimport {\n PrincipalHistoryPreparationFailureResponseSchema,\n PrincipalHistoryPreparationResponseSchema,\n principalHistoryRollbackRefinement,\n} from \"../response/principalHistoryPreparation\";\nimport { sha256HexStringSchema, uuidV4StringSchema } from \"../schema\";\nimport { defineJsonOperation } from \"./definition\";\nimport { PrincipalPolicyPageQuerySchema } from \"./principalPolicyPageQuery\";\n\nexport const PrincipalPolicyPathParamsSchema = z.strictObject({\n principalType: z.literal([\"group\", \"organization\"]),\n principalId: uuidV4StringSchema,\n});\n\nexport type PrincipalPolicyPathParams = z.infer<\n typeof PrincipalPolicyPathParamsSchema\n>;\n\nexport const OrganizationGroupPolicyPathParamsSchema = z.strictObject({\n organizationId: uuidV4StringSchema,\n groupId: uuidV4StringSchema,\n});\n\nexport type OrganizationGroupPolicyPathParams = z.infer<\n typeof OrganizationGroupPolicyPathParamsSchema\n>;\n\nconst preparationResponseDescriptions = {\n 202: \"The attempted operation rolled back. Retry the identical request to continue verification preparation.\",\n} as const;\n\nexport const getPrincipalPolicyOperation = defineJsonOperation({\n auth: \"session\",\n failureResponses: {\n 400: ErrorResponseSchema,\n 401: SessionFailureResponseSchema,\n 403: ErrorResponseSchema,\n 409: ErrorResponseSchema,\n 500: ErrorResponseSchema,\n },\n failureStatuses: [400, 401, 403, 409, 500],\n id: \"principals.policy.get\",\n summary: \"Get a principal policy bundle\",\n description:\n \"Returns a page of a group or organization's signed principal policy chain with its current member envelopes, so the client can verify the chain and a member can unwrap the principal's key; a conditional read that names the still-current head gets a short unchanged reply instead. It is served only to callers who depend on it: active roster members, members of the principal, or holders of a grant whose path cites it. A 202 asks the client to retry the identical request after policy history is prepared.\",\n method: \"GET\",\n params: PrincipalPolicyPathParamsSchema,\n path: \"/principals/{principalType}/{principalId}/policy\",\n query: PrincipalPolicyPageQuerySchema,\n responseDescriptions: preparationResponseDescriptions,\n responses: {\n 200: PrincipalPolicyReadResponseSchema,\n 202: PrincipalHistoryPreparationResponseSchema,\n },\n});\n\nexport const PrincipalMemberEnvelopesQuerySchema = z.strictObject({\n stateHash: sha256HexStringSchema,\n});\n\nexport type PrincipalMemberEnvelopesQuery = z.infer<\n typeof PrincipalMemberEnvelopesQuerySchema\n>;\n\nexport const getPrincipalMemberEnvelopesOperation = defineJsonOperation({\n auth: \"session\",\n failureResponses: {\n 400: ErrorResponseSchema,\n 401: SessionFailureResponseSchema,\n 403: ErrorResponseSchema,\n 404: ErrorResponseSchema,\n 409: ErrorResponseSchema,\n 500: ErrorResponseSchema,\n },\n failureStatuses: [400, 401, 403, 404, 409, 500],\n id: \"principals.policy.memberEnvelopes.get\",\n summary: \"Get the member envelopes of one principal state\",\n description:\n \"Returns every member envelope of one named, immutable state of a group or organization, so a client can check a historical member's committed key fingerprint against that state's `memberEnvelopesRoot`. It is served to the same callers as the policy read, authorized against the principal's live policy, which must verify against its signed state (409 otherwise), before the named state is looked up; a state the principal never had returns 404. A 202 asks the client to retry the identical request after policy history is prepared.\",\n method: \"GET\",\n params: PrincipalPolicyPathParamsSchema,\n path: \"/principals/{principalType}/{principalId}/policy/member-envelopes\",\n query: PrincipalMemberEnvelopesQuerySchema,\n responseDescriptions: preparationResponseDescriptions,\n responses: {\n 200: CurrentPrincipalMemberEnvelopesResponseSchema,\n 202: PrincipalHistoryPreparationResponseSchema,\n },\n});\n\nexport const putPrincipalPolicyOperation = defineJsonOperation({\n auth: \"session\",\n body: OrganizationPrincipalPolicyRequestSchema,\n failureResponses: {\n 400: PrincipalPolicyErrorResponseSchema,\n 401: SessionFailureResponseSchema,\n 402: PaymentRequiredErrorResponseSchema,\n 403: PrincipalPolicyErrorResponseSchema,\n 404: PrincipalPolicyErrorResponseSchema,\n 409: PrincipalPolicyErrorResponseSchema,\n 500: ErrorResponseSchema,\n 503: PrincipalHistoryPreparationFailureResponseSchema,\n },\n failureStatuses: [400, 401, 402, 403, 404, 409, 500, 503],\n id: \"principals.policy.update\",\n summary: \"Update a principal policy\",\n description:\n \"Commits the organization's next signed principal policy and its member envelopes atomically; group policies change through the group policy commit route instead. It requires organization administrator authority, and a stale head returns 409. A 202 asks for the identical request to be retried after preparation, and only a 503 with `committed: false` and code `principal_history_preparation_unavailable` proves nothing was written.\",\n method: \"PUT\",\n params: PrincipalPolicyPathParamsSchema,\n path: \"/principals/{principalType}/{principalId}/policy\",\n responseDescriptions: preparationResponseDescriptions,\n responses: {\n 200: PrincipalPolicyMutationResponseSchema,\n 202: PrincipalHistoryPreparationResponseSchema,\n },\n runtimeRefinements: [\n organizationProvisioningContainerKeyringRefinement,\n principalHistoryRollbackRefinement,\n ],\n});\n\nexport const commitOrganizationGroupPolicyOperation = defineJsonOperation({\n auth: \"session\",\n body: CommitOrganizationGroupPolicyRequestSchema,\n failureResponses: {\n 400: PrincipalPolicyErrorResponseSchema,\n 401: SessionFailureResponseSchema,\n 402: PaymentRequiredErrorResponseSchema,\n 403: PrincipalPolicyErrorResponseSchema,\n 404: PrincipalPolicyErrorResponseSchema,\n 409: CommitOrganizationGroupPolicyConflictResponseSchema,\n 500: ErrorResponseSchema,\n 503: PrincipalHistoryPreparationFailureResponseSchema,\n },\n failureStatuses: [400, 401, 402, 403, 404, 409, 500, 503],\n id: \"organizations.groups.policy.commit\",\n summary: \"Advance a group policy and its signed directory head\",\n description:\n \"Commits a group's next signed principal policy, its member envelopes, the matching organization policy successor, and the container grant updates the change requires, all in one transaction. Only organization administrators may call it; a stale head returns 409. A 202 asks for the identical request to be retried after preparation, and only a 503 with `committed: false` and code `principal_history_preparation_unavailable` proves nothing was written.\",\n method: \"PUT\",\n params: OrganizationGroupPolicyPathParamsSchema,\n path: \"/organizations/{organizationId}/groups/{groupId}/policy-commit\",\n responseDescriptions: preparationResponseDescriptions,\n responses: {\n 200: CommitOrganizationGroupPolicyResponseSchema,\n 202: PrincipalHistoryPreparationResponseSchema,\n },\n runtimeRefinements: [\n organizationProvisioningContainerKeyringRefinement,\n principalHistoryRollbackRefinement,\n ],\n});\n\nexport const isCommitOrganizationGroupPolicyOperationRequest =\n isCommitOrganizationGroupPolicyRequest;\nexport const isCommitOrganizationGroupPolicyOperationResponse =\n isCommitOrganizationGroupPolicyResponse;\n\nexport function isGetPrincipalPolicyOperationResponse(\n value: unknown,\n): value is PrincipalPolicyReadResponse {\n return PrincipalPolicyReadResponseSchema.safeParse(value).success;\n}\n\nexport function isGetPrincipalMemberEnvelopesOperationResponse(\n value: unknown,\n): value is CurrentPrincipalMemberEnvelopesResponse {\n return isCurrentPrincipalMemberEnvelopesResponse(value);\n}\nexport const isPutPrincipalPolicyOperationRequest =\n isOrganizationPrincipalPolicyRequest;\nexport const isPutPrincipalPolicyOperationResponse =\n isPrincipalPolicyMutationResponse;\n"]}
|
|
1
|
+
{"version":3,"file":"principals.js","sourceRoot":"","sources":["principals.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AACxB,OAAO,EAAE,kDAAkD,EAAE,MAAM,wCAAwC,CAAC;AAC5G,OAAO,EAAE,+CAA+C,EAAE,MAAM,qCAAqC,CAAC;AACtG,OAAO,EACL,0CAA0C,EAC1C,sCAAsC,EACtC,oCAAoC,EACpC,wCAAwC,EACxC,0CAA0C,GAC3C,MAAM,YAAY,CAAC;AACpB,OAAO,EACL,mDAAmD,EACnD,2CAA2C,EAE3C,6CAA6C,EAC7C,mBAAmB,EACnB,uCAAuC,EACvC,yCAAyC,EACzC,iCAAiC,EACjC,kCAAkC,EAClC,kCAAkC,EAClC,qCAAqC,EAErC,iCAAiC,EACjC,4BAA4B,GAC7B,MAAM,aAAa,CAAC;AACrB,OAAO,EACL,gDAAgD,EAChD,yCAAyC,EACzC,kCAAkC,GACnC,MAAM,yCAAyC,CAAC;AACjD,OAAO,EAAE,qBAAqB,EAAE,kBAAkB,EAAE,MAAM,WAAW,CAAC;AACtE,OAAO,EAAE,mBAAmB,EAAE,MAAM,cAAc,CAAC;AACnD,OAAO,EAAE,8BAA8B,EAAE,MAAM,4BAA4B,CAAC;AAE5E,MAAM,CAAC,MAAM,+BAA+B,GAAG,CAAC,CAAC,YAAY,CAAC;IAC5D,aAAa,EAAE,CAAC,CAAC,OAAO,CAAC,CAAC,OAAO,EAAE,cAAc,CAAC,CAAC;IACnD,WAAW,EAAE,kBAAkB;CAChC,CAAC,CAAC;AAMH,MAAM,CAAC,MAAM,uCAAuC,GAAG,CAAC,CAAC,YAAY,CAAC;IACpE,cAAc,EAAE,kBAAkB;IAClC,OAAO,EAAE,kBAAkB;CAC5B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E,kCAAkC;QACvC,GAAG,EAAE,kCAAkC;QACvC,GAAG,EAAE,kCAAkC;QACvC,GAAG,EAAE,mDAAmD;QACxD,GAAG,EAAE,mBAAmB;QACxB,GAAG,EAAE,gDAAgD;KACtD;IACD,eAAe,EAAE,CAAC,GAAG,EAAE,GAAG,EAAE,GAAG,EAAE,GAAG,EAAE,GAAG,EAAE,GAAG,EAAE,GAAG,EAAE,GAAG,CAAC;IACzD,EAAE,EAAE,oCAAoC;IACxC,OAAO,EAAE,sDAAsD;IAC/D,WAAW,EACT,imBAAimB;IACnmB,MAAM,EAAE,KAAK;IACb,MAAM,EAAE,uCAAuC;IAC/C,IAAI,EAAE,gEAAgE;IACtE,KAAK,EAAE,0CAA0C;IACjD,oBAAoB,EAAE,+BAA+B;IACrD,SAAS,EAAE;QACT,GAAG,EAAE,2CAA2C;QAChD,GAAG,EAAE,yCAAyC;KAC/C;IACD,kBAAkB,EAAE;QAClB,kDAAkD;QAClD,kCAAkC;QAClC,GAAG,+CAA+C;KACnD;CACF,CAAC,CAAC;AAEH,MAAM,CAAC,MAAM,+CAA+C,GAC1D,sCAAsC,CAAC;AACzC,MAAM,CAAC,MAAM,gDAAgD,GAC3D,uCAAuC,CAAC;AAE1C,MAAM,UAAU,qCAAqC,CACnD,KAAc;IAEd,OAAO,iCAAiC,CAAC,SAAS,CAAC,KAAK,CAAC,CAAC,OAAO,CAAC;AACpE,CAAC;AAED,MAAM,UAAU,8CAA8C,CAC5D,KAAc;IAEd,OAAO,yCAAyC,CAAC,KAAK,CAAC,CAAC;AAC1D,CAAC;AACD,MAAM,CAAC,MAAM,oCAAoC,GAC/C,oCAAoC,CAAC;AACvC,MAAM,CAAC,MAAM,qCAAqC,GAChD,iCAAiC,CAAC","sourcesContent":["import { z } from \"zod\";\nimport { organizationProvisioningContainerKeyringRefinement } from \"../organizationProvisioningRefinements\";\nimport { organizationReadModelResponseRuntimeRefinements } from \"../organizationReadModelRefinements\";\nimport {\n CommitOrganizationGroupPolicyRequestSchema,\n isCommitOrganizationGroupPolicyRequest,\n isOrganizationPrincipalPolicyRequest,\n OrganizationPrincipalPolicyRequestSchema,\n OrganizationReadModelHeldCursorQuerySchema,\n} from \"../request\";\nimport {\n CommitOrganizationGroupPolicyConflictResponseSchema,\n CommitOrganizationGroupPolicyResponseSchema,\n type CurrentPrincipalMemberEnvelopesResponse,\n CurrentPrincipalMemberEnvelopesResponseSchema,\n ErrorResponseSchema,\n isCommitOrganizationGroupPolicyResponse,\n isCurrentPrincipalMemberEnvelopesResponse,\n isPrincipalPolicyMutationResponse,\n PaymentRequiredErrorResponseSchema,\n PrincipalPolicyErrorResponseSchema,\n PrincipalPolicyMutationResponseSchema,\n type PrincipalPolicyReadResponse,\n PrincipalPolicyReadResponseSchema,\n SessionFailureResponseSchema,\n} from \"../response\";\nimport {\n PrincipalHistoryPreparationFailureResponseSchema,\n PrincipalHistoryPreparationResponseSchema,\n principalHistoryRollbackRefinement,\n} from \"../response/principalHistoryPreparation\";\nimport { sha256HexStringSchema, uuidV4StringSchema } from \"../schema\";\nimport { defineJsonOperation } from \"./definition\";\nimport { PrincipalPolicyPageQuerySchema } from \"./principalPolicyPageQuery\";\n\nexport const PrincipalPolicyPathParamsSchema = z.strictObject({\n principalType: z.literal([\"group\", \"organization\"]),\n principalId: uuidV4StringSchema,\n});\n\nexport type PrincipalPolicyPathParams = z.infer<\n typeof PrincipalPolicyPathParamsSchema\n>;\n\nexport const OrganizationGroupPolicyPathParamsSchema = z.strictObject({\n organizationId: uuidV4StringSchema,\n groupId: uuidV4StringSchema,\n});\n\nexport type OrganizationGroupPolicyPathParams = z.infer<\n typeof OrganizationGroupPolicyPathParamsSchema\n>;\n\nconst preparationResponseDescriptions = {\n 202: \"The attempted operation rolled back. Retry the identical request to continue verification preparation.\",\n} as const;\n\nexport const getPrincipalPolicyOperation = defineJsonOperation({\n auth: \"session\",\n failureResponses: {\n 400: ErrorResponseSchema,\n 401: SessionFailureResponseSchema,\n 403: ErrorResponseSchema,\n 409: ErrorResponseSchema,\n 500: ErrorResponseSchema,\n },\n failureStatuses: [400, 401, 403, 409, 500],\n id: \"principals.policy.get\",\n summary: \"Get a principal policy bundle\",\n description:\n \"Returns a page of a group or organization's signed principal policy chain with its current member envelopes, so the client can verify the chain and a member can unwrap the principal's key; a conditional read that names the still-current head gets a short unchanged reply instead. It is served only to callers who depend on it: active roster members, members of the principal, or holders of a grant whose path cites it. A 202 asks the client to retry the identical request after policy history is prepared.\",\n method: \"GET\",\n params: PrincipalPolicyPathParamsSchema,\n path: \"/principals/{principalType}/{principalId}/policy\",\n query: PrincipalPolicyPageQuerySchema,\n responseDescriptions: preparationResponseDescriptions,\n responses: {\n 200: PrincipalPolicyReadResponseSchema,\n 202: PrincipalHistoryPreparationResponseSchema,\n },\n});\n\nexport const PrincipalMemberEnvelopesQuerySchema = z.strictObject({\n stateHash: sha256HexStringSchema,\n});\n\nexport type PrincipalMemberEnvelopesQuery = z.infer<\n typeof PrincipalMemberEnvelopesQuerySchema\n>;\n\nexport const getPrincipalMemberEnvelopesOperation = defineJsonOperation({\n auth: \"session\",\n failureResponses: {\n 400: ErrorResponseSchema,\n 401: SessionFailureResponseSchema,\n 403: ErrorResponseSchema,\n 404: ErrorResponseSchema,\n 409: ErrorResponseSchema,\n 500: ErrorResponseSchema,\n },\n failureStatuses: [400, 401, 403, 404, 409, 500],\n id: \"principals.policy.memberEnvelopes.get\",\n summary: \"Get the member envelopes of one principal state\",\n description:\n \"Returns every member envelope of one named, immutable state of a group or organization, so a client can check a historical member's committed key fingerprint against that state's `memberEnvelopesRoot`. It is served to the same callers as the policy read, authorized against the principal's live policy, which must verify against its signed state (409 otherwise), before the named state is looked up; a state the principal never had returns 404. A 202 asks the client to retry the identical request after policy history is prepared.\",\n method: \"GET\",\n params: PrincipalPolicyPathParamsSchema,\n path: \"/principals/{principalType}/{principalId}/policy/member-envelopes\",\n query: PrincipalMemberEnvelopesQuerySchema,\n responseDescriptions: preparationResponseDescriptions,\n responses: {\n 200: CurrentPrincipalMemberEnvelopesResponseSchema,\n 202: PrincipalHistoryPreparationResponseSchema,\n },\n});\n\nexport const putPrincipalPolicyOperation = defineJsonOperation({\n auth: \"session\",\n body: OrganizationPrincipalPolicyRequestSchema,\n failureResponses: {\n 400: PrincipalPolicyErrorResponseSchema,\n 401: SessionFailureResponseSchema,\n 402: PaymentRequiredErrorResponseSchema,\n 403: PrincipalPolicyErrorResponseSchema,\n 404: PrincipalPolicyErrorResponseSchema,\n 409: PrincipalPolicyErrorResponseSchema,\n 500: ErrorResponseSchema,\n 503: PrincipalHistoryPreparationFailureResponseSchema,\n },\n failureStatuses: [400, 401, 402, 403, 404, 409, 500, 503],\n id: \"principals.policy.update\",\n summary: \"Update a principal policy\",\n description:\n \"Commits the organization's next signed principal policy and its member envelopes atomically; group policies change through the group policy commit route instead. It requires organization administrator authority, and a stale head returns 409. A 202 asks for the identical request to be retried after preparation, and only a 503 with `committed: false` and code `principal_history_preparation_unavailable` proves nothing was written.\",\n method: \"PUT\",\n params: PrincipalPolicyPathParamsSchema,\n path: \"/principals/{principalType}/{principalId}/policy\",\n responseDescriptions: preparationResponseDescriptions,\n responses: {\n 200: PrincipalPolicyMutationResponseSchema,\n 202: PrincipalHistoryPreparationResponseSchema,\n },\n runtimeRefinements: [\n organizationProvisioningContainerKeyringRefinement,\n principalHistoryRollbackRefinement,\n ],\n});\n\nexport const commitOrganizationGroupPolicyOperation = defineJsonOperation({\n auth: \"session\",\n body: CommitOrganizationGroupPolicyRequestSchema,\n failureResponses: {\n 400: PrincipalPolicyErrorResponseSchema,\n 401: SessionFailureResponseSchema,\n 402: PaymentRequiredErrorResponseSchema,\n 403: PrincipalPolicyErrorResponseSchema,\n 404: PrincipalPolicyErrorResponseSchema,\n 409: CommitOrganizationGroupPolicyConflictResponseSchema,\n 500: ErrorResponseSchema,\n 503: PrincipalHistoryPreparationFailureResponseSchema,\n },\n failureStatuses: [400, 401, 402, 403, 404, 409, 500, 503],\n id: \"organizations.groups.policy.commit\",\n summary: \"Advance a group policy and its signed directory head\",\n description:\n \"Commits a group's next signed principal policy, its member envelopes, the matching organization policy successor, and the container grant updates the change requires, all in one transaction. Only organization administrators may call it; a stale head returns 409. When `readModelCursor` names the read-model head the commit advanced from, the response carries the read-model delta a feed read from that cursor returns. A 202 asks for the identical request to be retried after preparation, and only a 503 with `committed: false` and code `principal_history_preparation_unavailable` proves nothing was written.\",\n method: \"PUT\",\n params: OrganizationGroupPolicyPathParamsSchema,\n path: \"/organizations/{organizationId}/groups/{groupId}/policy-commit\",\n query: OrganizationReadModelHeldCursorQuerySchema,\n responseDescriptions: preparationResponseDescriptions,\n responses: {\n 200: CommitOrganizationGroupPolicyResponseSchema,\n 202: PrincipalHistoryPreparationResponseSchema,\n },\n runtimeRefinements: [\n organizationProvisioningContainerKeyringRefinement,\n principalHistoryRollbackRefinement,\n ...organizationReadModelResponseRuntimeRefinements,\n ],\n});\n\nexport const isCommitOrganizationGroupPolicyOperationRequest =\n isCommitOrganizationGroupPolicyRequest;\nexport const isCommitOrganizationGroupPolicyOperationResponse =\n isCommitOrganizationGroupPolicyResponse;\n\nexport function isGetPrincipalPolicyOperationResponse(\n value: unknown,\n): value is PrincipalPolicyReadResponse {\n return PrincipalPolicyReadResponseSchema.safeParse(value).success;\n}\n\nexport function isGetPrincipalMemberEnvelopesOperationResponse(\n value: unknown,\n): value is CurrentPrincipalMemberEnvelopesResponse {\n return isCurrentPrincipalMemberEnvelopesResponse(value);\n}\nexport const isPutPrincipalPolicyOperationRequest =\n isOrganizationPrincipalPolicyRequest;\nexport const isPutPrincipalPolicyOperationResponse =\n isPrincipalPolicyMutationResponse;\n"]}
|
|
@@ -105,13 +105,7 @@ export declare const getContainerWriterProjectionOperation: Omit<{
|
|
|
105
105
|
version: number;
|
|
106
106
|
};
|
|
107
107
|
payload: {
|
|
108
|
-
cipherSuite: "aes-256-gcm";
|
|
109
108
|
ciphertext: string;
|
|
110
|
-
ciphertextHash: string;
|
|
111
|
-
createdAt: string;
|
|
112
|
-
principalId: string;
|
|
113
|
-
principalType: "group" | "organization";
|
|
114
|
-
stateHash: string;
|
|
115
109
|
} | null;
|
|
116
110
|
}[];
|
|
117
111
|
groups: {
|
|
@@ -187,13 +181,7 @@ export declare const getContainerWriterProjectionOperation: Omit<{
|
|
|
187
181
|
version: number;
|
|
188
182
|
};
|
|
189
183
|
payload: {
|
|
190
|
-
cipherSuite: "aes-256-gcm";
|
|
191
184
|
ciphertext: string;
|
|
192
|
-
ciphertextHash: string;
|
|
193
|
-
createdAt: string;
|
|
194
|
-
principalId: string;
|
|
195
|
-
principalType: "group" | "organization";
|
|
196
|
-
stateHash: string;
|
|
197
185
|
} | null;
|
|
198
186
|
}[];
|
|
199
187
|
groups: {
|
|
@@ -269,13 +257,7 @@ export declare const getContainerWriterProjectionOperation: Omit<{
|
|
|
269
257
|
version: number;
|
|
270
258
|
};
|
|
271
259
|
payload: {
|
|
272
|
-
cipherSuite: "aes-256-gcm";
|
|
273
260
|
ciphertext: string;
|
|
274
|
-
ciphertextHash: string;
|
|
275
|
-
createdAt: string;
|
|
276
|
-
principalId: string;
|
|
277
|
-
principalType: "group" | "organization";
|
|
278
|
-
stateHash: string;
|
|
279
261
|
} | null;
|
|
280
262
|
}[];
|
|
281
263
|
groups: {
|
|
@@ -351,13 +333,7 @@ export declare const getContainerWriterProjectionOperation: Omit<{
|
|
|
351
333
|
version: number;
|
|
352
334
|
};
|
|
353
335
|
payload: {
|
|
354
|
-
cipherSuite: "aes-256-gcm";
|
|
355
336
|
ciphertext: string;
|
|
356
|
-
ciphertextHash: string;
|
|
357
|
-
createdAt: string;
|
|
358
|
-
principalId: string;
|
|
359
|
-
principalType: "group" | "organization";
|
|
360
|
-
stateHash: string;
|
|
361
337
|
} | null;
|
|
362
338
|
}[];
|
|
363
339
|
groups: {
|
|
@@ -593,13 +569,7 @@ export declare const getDocumentWriterProjectionOperation: Omit<{
|
|
|
593
569
|
version: number;
|
|
594
570
|
};
|
|
595
571
|
payload: {
|
|
596
|
-
cipherSuite: "aes-256-gcm";
|
|
597
572
|
ciphertext: string;
|
|
598
|
-
ciphertextHash: string;
|
|
599
|
-
createdAt: string;
|
|
600
|
-
principalId: string;
|
|
601
|
-
principalType: "group" | "organization";
|
|
602
|
-
stateHash: string;
|
|
603
573
|
} | null;
|
|
604
574
|
}[];
|
|
605
575
|
groups: {
|
|
@@ -705,13 +675,7 @@ export declare const getDocumentWriterProjectionOperation: Omit<{
|
|
|
705
675
|
version: number;
|
|
706
676
|
};
|
|
707
677
|
payload: {
|
|
708
|
-
cipherSuite: "aes-256-gcm";
|
|
709
678
|
ciphertext: string;
|
|
710
|
-
ciphertextHash: string;
|
|
711
|
-
createdAt: string;
|
|
712
|
-
principalId: string;
|
|
713
|
-
principalType: "group" | "organization";
|
|
714
|
-
stateHash: string;
|
|
715
679
|
} | null;
|
|
716
680
|
}[];
|
|
717
681
|
groups: {
|
|
@@ -817,13 +781,7 @@ export declare const getDocumentWriterProjectionOperation: Omit<{
|
|
|
817
781
|
version: number;
|
|
818
782
|
};
|
|
819
783
|
payload: {
|
|
820
|
-
cipherSuite: "aes-256-gcm";
|
|
821
784
|
ciphertext: string;
|
|
822
|
-
ciphertextHash: string;
|
|
823
|
-
createdAt: string;
|
|
824
|
-
principalId: string;
|
|
825
|
-
principalType: "group" | "organization";
|
|
826
|
-
stateHash: string;
|
|
827
785
|
} | null;
|
|
828
786
|
}[];
|
|
829
787
|
groups: {
|
|
@@ -929,13 +887,7 @@ export declare const getDocumentWriterProjectionOperation: Omit<{
|
|
|
929
887
|
version: number;
|
|
930
888
|
};
|
|
931
889
|
payload: {
|
|
932
|
-
cipherSuite: "aes-256-gcm";
|
|
933
890
|
ciphertext: string;
|
|
934
|
-
ciphertextHash: string;
|
|
935
|
-
createdAt: string;
|
|
936
|
-
principalId: string;
|
|
937
|
-
principalType: "group" | "organization";
|
|
938
|
-
stateHash: string;
|
|
939
891
|
} | null;
|
|
940
892
|
}[];
|
|
941
893
|
groups: {
|
|
@@ -7,7 +7,7 @@ export type { ContainerKekParentRef } from "./containerManifestRef.js";
|
|
|
7
7
|
export { type ContainerCreateWithMetadataDocumentRequest, ContainerCreateWithMetadataDocumentRequestSchema, isContainerCreateWithMetadataDocumentRequest, } from "./containerMetadata.js";
|
|
8
8
|
export { isListContainerParentLanesRequest, type ListContainerParentLanesRequest, ListContainerParentLanesRequestSchema, } from "./containerParentLanes.js";
|
|
9
9
|
export { type ContainerManifestRef, ContainerManifestRefArrayArraySchema, ContainerManifestRefSchema, type DocumentContentKeyBundleRequest, DocumentContentKeyBundleRequestSchema, type DocumentContentKeyTargetEnvelope, DocumentContentKeyTargetEnvelopeSchema, type DocumentCreateRequest, DocumentCreateRequestSchema, type DocumentLinkSetMutationRequest, DocumentLinkSetMutationRequestSchema, type DocumentOutgoingUpdate, DocumentOutgoingUpdateSchema, type DocumentPurgeRequest, DocumentPurgeRequestSchema, type DocumentSyncRequest, DocumentSyncRequestSchema, isContainerManifestRefArrayArray, isDocumentContentKeyBundleRequest, isDocumentCreateRequest, isDocumentLinkSetMutationRequest, isDocumentPurgeRequest, isDocumentSyncRequest, } from "./document.js";
|
|
10
|
-
export { type CreateOrganizationGroupRequest, CreateOrganizationGroupRequestSchema, type CreateOrganizationGroupWithPolicyRequest, CreateOrganizationGroupWithPolicyRequestSchema, type DeleteOrganizationGroupRequest, DeleteOrganizationGroupRequestSchema, isCreateOrganizationGroupRequest, isCreateOrganizationGroupWithPolicyRequest, isDeleteOrganizationGroupRequest, isUpdateOrganizationMembershipRequest, isUpdateOrganizationProfileRequest, isUpdateOrganizationRosterEntryRequest, type OrganizationReadModelQuery, OrganizationReadModelQuerySchema, type UpdateOrganizationMembershipRequest, UpdateOrganizationMembershipRequestSchema, type UpdateOrganizationProfileRequest, UpdateOrganizationProfileRequestSchema, type UpdateOrganizationRosterEntryRequest, UpdateOrganizationRosterEntryRequestSchema, } from "./organization.js";
|
|
10
|
+
export { type CreateOrganizationGroupRequest, CreateOrganizationGroupRequestSchema, type CreateOrganizationGroupWithPolicyRequest, CreateOrganizationGroupWithPolicyRequestSchema, type DeleteOrganizationGroupRequest, DeleteOrganizationGroupRequestSchema, isCreateOrganizationGroupRequest, isCreateOrganizationGroupWithPolicyRequest, isDeleteOrganizationGroupRequest, isUpdateOrganizationMembershipRequest, isUpdateOrganizationProfileRequest, isUpdateOrganizationRosterEntryRequest, type OrganizationReadModelHeldCursorQuery, OrganizationReadModelHeldCursorQuerySchema, type OrganizationReadModelQuery, OrganizationReadModelQuerySchema, type UpdateOrganizationMembershipRequest, UpdateOrganizationMembershipRequestSchema, type UpdateOrganizationProfileRequest, UpdateOrganizationProfileRequestSchema, type UpdateOrganizationRosterEntryRequest, UpdateOrganizationRosterEntryRequestSchema, } from "./organization.js";
|
|
11
11
|
export { type CreateOrganizationRequest, CreateOrganizationRequestSchema, isCreateOrganizationRequest, isOrganizationProvisioningRequest, isProvisionedDocumentRequest, isProvisionedSystemContainerRequest, type OrganizationProvisioningRequest, OrganizationProvisioningRequestSchema, type ProvisionedDocumentRequest, ProvisionedDocumentRequestSchema, type ProvisionedSystemContainerRequest, ProvisionedSystemContainerRequestSchema, } from "./organizationProvisioning.js";
|
|
12
12
|
export { type CommitOrganizationGroupPolicyRequest, CommitOrganizationGroupPolicyRequestSchema, isCommitOrganizationGroupPolicyRequest, isOrganizationPrincipalPolicyRequest, isPutPrincipalPolicyRequest, type OrganizationPrincipalPolicyRequest, OrganizationPrincipalPolicyRequestSchema, type PrincipalContainerGrantRequest, PrincipalContainerGrantRequestSchema, type PrincipalMemberEnvelopeRequest, type PrincipalProjectionMemberRequest, type PrincipalStateEncryptedPayloadRequest, type PrincipalStateRequest, type PutPrincipalPolicyRequest, PutPrincipalPolicyRequestSchema, } from "./principal.js";
|
|
13
13
|
export { type PrincipalPolicyRef, PrincipalPolicyRefListSchema, PrincipalPolicyRefSchema, } from "./principalPolicyRef.js";
|
|
@@ -5,7 +5,7 @@ export { DEFAULT_CONTAINER_DOCUMENT_LANE_PAGE_LIMIT, isListContainerDocumentLane
|
|
|
5
5
|
export { ContainerCreateWithMetadataDocumentRequestSchema, isContainerCreateWithMetadataDocumentRequest, } from "./containerMetadata.js";
|
|
6
6
|
export { isListContainerParentLanesRequest, ListContainerParentLanesRequestSchema, } from "./containerParentLanes.js";
|
|
7
7
|
export { ContainerManifestRefArrayArraySchema, ContainerManifestRefSchema, DocumentContentKeyBundleRequestSchema, DocumentContentKeyTargetEnvelopeSchema, DocumentCreateRequestSchema, DocumentLinkSetMutationRequestSchema, DocumentOutgoingUpdateSchema, DocumentPurgeRequestSchema, DocumentSyncRequestSchema, isContainerManifestRefArrayArray, isDocumentContentKeyBundleRequest, isDocumentCreateRequest, isDocumentLinkSetMutationRequest, isDocumentPurgeRequest, isDocumentSyncRequest, } from "./document.js";
|
|
8
|
-
export { CreateOrganizationGroupRequestSchema, CreateOrganizationGroupWithPolicyRequestSchema, DeleteOrganizationGroupRequestSchema, isCreateOrganizationGroupRequest, isCreateOrganizationGroupWithPolicyRequest, isDeleteOrganizationGroupRequest, isUpdateOrganizationMembershipRequest, isUpdateOrganizationProfileRequest, isUpdateOrganizationRosterEntryRequest, OrganizationReadModelQuerySchema, UpdateOrganizationMembershipRequestSchema, UpdateOrganizationProfileRequestSchema, UpdateOrganizationRosterEntryRequestSchema, } from "./organization.js";
|
|
8
|
+
export { CreateOrganizationGroupRequestSchema, CreateOrganizationGroupWithPolicyRequestSchema, DeleteOrganizationGroupRequestSchema, isCreateOrganizationGroupRequest, isCreateOrganizationGroupWithPolicyRequest, isDeleteOrganizationGroupRequest, isUpdateOrganizationMembershipRequest, isUpdateOrganizationProfileRequest, isUpdateOrganizationRosterEntryRequest, OrganizationReadModelHeldCursorQuerySchema, OrganizationReadModelQuerySchema, UpdateOrganizationMembershipRequestSchema, UpdateOrganizationProfileRequestSchema, UpdateOrganizationRosterEntryRequestSchema, } from "./organization.js";
|
|
9
9
|
export { CreateOrganizationRequestSchema, isCreateOrganizationRequest, isOrganizationProvisioningRequest, isProvisionedDocumentRequest, isProvisionedSystemContainerRequest, OrganizationProvisioningRequestSchema, ProvisionedDocumentRequestSchema, ProvisionedSystemContainerRequestSchema, } from "./organizationProvisioning.js";
|
|
10
10
|
export { CommitOrganizationGroupPolicyRequestSchema, isCommitOrganizationGroupPolicyRequest, isOrganizationPrincipalPolicyRequest, isPutPrincipalPolicyRequest, OrganizationPrincipalPolicyRequestSchema, PrincipalContainerGrantRequestSchema, PutPrincipalPolicyRequestSchema, } from "./principal.js";
|
|
11
11
|
export { PrincipalPolicyRefListSchema, PrincipalPolicyRefSchema, } from "./principalPolicyRef.js";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":"AACA,OAAO,EAEL,sBAAsB,EACtB,kBAAkB,EAClB,eAAe,EAEf,mBAAmB,GACpB,MAAM,QAAQ,CAAC;AAChB,OAAO,EAEL,+BAA+B,EAE/B,iCAAiC,EAEjC,iCAAiC,EAEjC,yCAAyC,EAEzC,2BAA2B,EAE3B,uCAAuC,EACvC,2BAA2B,EAC3B,6BAA6B,EAC7B,mCAAmC,GACpC,MAAM,QAAQ,CAAC;AAChB,OAAO,EAEL,8BAA8B,EAE9B,4BAA4B,EAE5B,8BAA8B,EAC9B,0BAA0B,EAC1B,wBAAwB,EACxB,0BAA0B,GAC3B,MAAM,aAAa,CAAC;AACrB,OAAO,EACL,0CAA0C,EAC1C,mCAAmC,EAEnC,uCAAuC,EACvC,sCAAsC,EACtC,4BAA4B,GAC7B,MAAM,0BAA0B,CAAC;AAElC,OAAO,EAEL,gDAAgD,EAChD,4CAA4C,GAC7C,MAAM,qBAAqB,CAAC;AAC7B,OAAO,EACL,iCAAiC,EAEjC,qCAAqC,GACtC,MAAM,wBAAwB,CAAC;AAChC,OAAO,EAEL,oCAAoC,EACpC,0BAA0B,EAE1B,qCAAqC,EAErC,sCAAsC,EAEtC,2BAA2B,EAE3B,oCAAoC,EAEpC,4B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essManifestBundle\";\nexport {\n type ChallengeRequest,\n ChallengeRequestSchema,\n isChallengeRequest,\n isVerifyRequest,\n type VerifyRequest,\n VerifyRequestSchema,\n} from \"./auth\";\nexport {\n type BlobAttachmentBindRequest,\n BlobAttachmentBindRequestSchema,\n type BlobAttachmentDetachRequest,\n BlobAttachmentDetachRequestSchema,\n type BlobContentKeyBundleRequest,\n BlobContentKeyBundleRequestSchema,\n type BlobContentKeyTargetEnvelopeRequest,\n BlobContentKeyTargetEnvelopeRequestSchema,\n type BlobStagedBlobRequest,\n BlobStagedBlobRequestSchema,\n type InitiateMultipartBlobStageRequest,\n InitiateMultipartBlobStageRequestSchema,\n isBlobAttachmentBindRequest,\n isBlobAttachmentDetachRequest,\n isInitiateMultipartBlobStageRequest,\n} from \"./blob\";\nexport {\n type ContainerMutationRequest,\n ContainerMutationRequestSchema,\n type ContainerReciteRequest,\n ContainerReciteRequestSchema,\n type ContainerRotationRequest,\n ContainerRotationRequestSchema,\n isContainerMutationRequest,\n isContainerReciteRequest,\n isContainerRotationRequest,\n} from \"./container\";\nexport {\n DEFAULT_CONTAINER_DOCUMENT_LANE_PAGE_LIMIT,\n isListContainerDocumentLanesRequest,\n type ListContainerDocumentLanesRequest,\n ListContainerDocumentLanesRequestSchema,\n MAX_CONTAINER_DOCUMENT_LANE_PAGE_TOTAL,\n MAX_CONTAINER_DOCUMENT_LANES,\n} from \"./containerDocumentLanes\";\nexport type { ContainerKekParentRef } from \"./containerManifestRef\";\nexport {\n type ContainerCreateWithMetadataDocumentRequest,\n ContainerCreateWithMetadataDocumentRequestSchema,\n isContainerCreateWithMetadataDocumentRequest,\n} from \"./containerMetadata\";\nexport {\n isListContainerParentLanesRequest,\n type ListContainerParentLanesRequest,\n ListContainerParentLanesRequestSchema,\n} from \"./containerParentLanes\";\nexport {\n type ContainerManifestRef,\n ContainerManifestRefArrayArraySchema,\n ContainerManifestRefSchema,\n type DocumentContentKeyBundleRequest,\n DocumentContentKeyBundleRequestSchema,\n type DocumentContentKeyTargetEnvelope,\n DocumentContentKeyTargetEnvelopeSchema,\n type DocumentCreateRequest,\n DocumentCreateRequestSchema,\n type DocumentLinkSetMutationRequest,\n DocumentLinkSetMutationRequestSchema,\n type DocumentOutgoingUpdate,\n DocumentOutgoingUpdateSchema,\n type DocumentPurgeRequest,\n DocumentPurgeRequestSchema,\n type DocumentSyncRequest,\n DocumentSyncRequestSchema,\n isContainerManifestRefArrayArray,\n isDocumentContentKeyBundleRequest,\n isDocumentCreateRequest,\n isDocumentLinkSetMutationRequest,\n isDocumentPurgeRequest,\n isDocumentSyncRequest,\n} from \"./document\";\nexport {\n type CreateOrganizationGroupRequest,\n CreateOrganizationGroupRequestSchema,\n type CreateOrganizationGroupWithPolicyRequest,\n CreateOrganizationGroupWithPolicyRequestSchema,\n type DeleteOrganizationGroupRequest,\n DeleteOrganizationGroupRequestSchema,\n isCreateOrganizationGroupRequest,\n isCreateOrganizationGroupWithPolicyRequest,\n isDeleteOrganizationGroupRequest,\n isUpdateOrganizationMembershipRequest,\n isUpdateOrganizationProfileRequest,\n isUpdateOrganizationRosterEntryRequest,\n type OrganizationReadModelQuery,\n OrganizationReadModelQuerySchema,\n type UpdateOrganizationMembershipRequest,\n UpdateOrganizationMembershipRequestSchema,\n type UpdateOrganizationProfileRequest,\n UpdateOrganizationProfileRequestSchema,\n type UpdateOrganizationRosterEntryRequest,\n UpdateOrganizationRosterEntryRequestSchema,\n} from \"./organization\";\nexport {\n type CreateOrganizationRequest,\n CreateOrganizationRequestSchema,\n isCreateOrganizationRequest,\n isOrganizationProvisioningRequest,\n isProvisionedDocumentRequest,\n isProvisionedSystemContainerRequest,\n type OrganizationProvisioningRequest,\n OrganizationProvisioningRequestSchema,\n type ProvisionedDocumentRequest,\n ProvisionedDocumentRequestSchema,\n type ProvisionedSystemContainerRequest,\n ProvisionedSystemContainerRequestSchema,\n} from \"./organizationProvisioning\";\nexport {\n type CommitOrganizationGroupPolicyRequest,\n CommitOrganizationGroupPolicyRequestSchema,\n isCommitOrganizationGroupPolicyRequest,\n isOrganizationPrincipalPolicyRequest,\n isPutPrincipalPolicyRequest,\n type OrganizationPrincipalPolicyRequest,\n OrganizationPrincipalPolicyRequestSchema,\n type PrincipalContainerGrantRequest,\n PrincipalContainerGrantRequestSchema,\n type PrincipalMemberEnvelopeRequest,\n type PrincipalProjectionMemberRequest,\n type PrincipalStateEncryptedPayloadRequest,\n type PrincipalStateRequest,\n type PutPrincipalPolicyRequest,\n PutPrincipalPolicyRequestSchema,\n} from \"./principal\";\nexport {\n type PrincipalPolicyRef,\n PrincipalPolicyRefListSchema,\n PrincipalPolicyRefSchema,\n} from \"./principalPolicyRef\";\nexport {\n isRegistrationRequest,\n type RegistrationRequest,\n RegistrationRequestSchema,\n} from \"./registration\";\nexport {\n isRevenueCatTransferWebhookEvent,\n isRevenueCatWebhookRequest,\n type RevenueCatIncomingWebhookEvent,\n RevenueCatIncomingWebhookEventSchema,\n type RevenueCatSubscriberAttribute,\n RevenueCatSubscriberAttributeSchema,\n type RevenueCatTransferWebhookEvent,\n RevenueCatTransferWebhookEventSchema,\n type RevenueCatWebhookEvent,\n RevenueCatWebhookEventSchema,\n type RevenueCatWebhookRequest,\n RevenueCatWebhookRequestSchema,\n} from \"./revenuecatWebhook\";\nexport {\n isStripeCheckoutRequest,\n isStripeCheckoutSessionRequest,\n isStripePlanChangeRequest,\n isStripeReturnUrlRequest,\n type StripeCheckoutRequest,\n StripeCheckoutRequestSchema,\n type StripeCheckoutSessionRequest,\n StripeCheckoutSessionRequestSchema,\n type StripePlanChangeRequest,\n StripePlanChangeRequestSchema,\n type StripeReturnUrlRequest,\n StripeReturnUrlRequestSchema,\n} from \"./stripeCheckout\";\nexport {\n isStripeWebhookRequest,\n type StripeWebhookRequest,\n StripeWebhookRequestSchema,\n} from \"./stripeWebhook\";\n"]}
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":"AACA,OAAO,EAEL,sBAAsB,EACt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EAErC,gCAAgC,EAEhC,uCAAuC,GACxC,MAAM,4BAA4B,CAAC;AACpC,OAAO,EAEL,0CAA0C,EAC1C,sCAAsC,EACtC,oCAAoC,EACpC,2BAA2B,EAE3B,wCAAwC,EAExC,oCAAoC,EAMpC,+BAA+B,GAChC,MAAM,aAAa,CAAC;AACrB,OAAO,EAEL,4BAA4B,EAC5B,wBAAwB,GACzB,MAAM,sBAAsB,CAAC;AAC9B,OAAO,EACL,qBAAqB,EAErB,yBAAyB,GAC1B,MAAM,gBAAgB,CAAC;AACxB,OAAO,EACL,gCAAgC,EAChC,0BAA0B,EAE1B,oCAAoC,EAEpC,mCAAmC,EAEnC,oCAAoC,EAEpC,4BAA4B,EAE5B,8BAA8B,GAC/B,MAAM,qBAAqB,CAAC;AAC7B,OAAO,EACL,uBAAuB,EACvB,8BAA8B,EAC9B,yBAAyB,EACzB,wBAAwB,EAExB,2BAA2B,EAE3B,kCAAkC,EAElC,6BAA6B,EAE7B,4BAA4B,GAC7B,MAAM,kBAAkB,CAAC;AAC1B,OAAO,EACL,sBAAsB,EAEtB,0BAA0B,GAC3B,MAAM,iBAAiB,CAAC","sourcesContent":["export type { AccessManifestBundleWire } from \"../util/accessManifestBundle\";\nexport {\n type ChallengeRequest,\n ChallengeRequestSchema,\n isChallengeRequest,\n isVerifyRequest,\n type VerifyRequest,\n VerifyRequestSchema,\n} from \"./auth\";\nexport {\n type BlobAttachmentBindRequest,\n BlobAttachmentBindRequestSchema,\n type BlobAttachmentDetachRequest,\n BlobAttachmentDetachRequestSchema,\n type BlobContentKeyBundleRequest,\n BlobContentKeyBundleRequestSchema,\n type BlobContentKeyTargetEnvelopeRequest,\n BlobContentKeyTargetEnvelopeRequestSchema,\n type BlobStagedBlobRequest,\n BlobStagedBlobRequestSchema,\n type InitiateMultipartBlobStageRequest,\n InitiateMultipartBlobStageRequestSchema,\n isBlobAttachmentBindRequest,\n isBlobAttachmentDetachRequest,\n isInitiateMultipartBlobStageRequest,\n} from \"./blob\";\nexport {\n type ContainerMutationRequest,\n ContainerMutationRequestSchema,\n type ContainerReciteRequest,\n ContainerReciteRequestSchema,\n type ContainerRotationRequest,\n ContainerRotationRequestSchema,\n isContainerMutationRequest,\n isContainerReciteRequest,\n isContainerRotationRequest,\n} from \"./container\";\nexport {\n DEFAULT_CONTAINER_DOCUMENT_LANE_PAGE_LIMIT,\n isListContainerDocumentLanesRequest,\n type ListContainerDocumentLanesRequest,\n ListContainerDocumentLanesRequestSchema,\n MAX_CONTAINER_DOCUMENT_LANE_PAGE_TOTAL,\n MAX_CONTAINER_DOCUMENT_LANES,\n} from \"./containerDocumentLanes\";\nexport type { ContainerKekParentRef } from \"./containerManifestRef\";\nexport {\n type ContainerCreateWithMetadataDocumentRequest,\n ContainerCreateWithMetadataDocumentRequestSchema,\n isContainerCreateWithMetadataDocumentRequest,\n} from \"./containerMetadata\";\nexport {\n isListContainerParentLanesRequest,\n type ListContainerParentLanesRequest,\n ListContainerParentLanesRequestSchema,\n} from \"./containerParentLanes\";\nexport {\n type ContainerManifestRef,\n ContainerManifestRefArrayArraySchema,\n ContainerManifestRefSchema,\n type DocumentContentKeyBundleRequest,\n DocumentContentKeyBundleRequestSchema,\n type DocumentContentKeyTargetEnvelope,\n DocumentContentKeyTargetEnvelopeSchema,\n type DocumentCreateRequest,\n DocumentCreateRequestSchema,\n type DocumentLinkSetMutationRequest,\n DocumentLinkSetMutationRequestSchema,\n type DocumentOutgoingUpdate,\n DocumentOutgoingUpdateSchema,\n type DocumentPurgeRequest,\n DocumentPurgeRequestSchema,\n type DocumentSyncRequest,\n DocumentSyncRequestSchema,\n isContainerManifestRefArrayArray,\n isDocumentContentKeyBundleRequest,\n isDocumentCreateRequest,\n isDocumentLinkSetMutationRequest,\n isDocumentPurgeRequest,\n isDocumentSyncRequest,\n} from \"./document\";\nexport {\n type CreateOrganizationGroupRequest,\n CreateOrganizationGroupRequestSchema,\n type CreateOrganizationGroupWithPolicyRequest,\n CreateOrganizationGroupWithPolicyRequestSchema,\n type DeleteOrganizationGroupRequest,\n DeleteOrganizationGroupRequestSchema,\n isCreateOrganizationGroupRequest,\n isCreateOrganizationGroupWithPolicyRequest,\n isDeleteOrganizationGroupRequest,\n isUpdateOrganizationMembershipRequest,\n isUpdateOrganizationProfileRequest,\n isUpdateOrganizationRosterEntryRequest,\n type OrganizationReadModelHeldCursorQuery,\n OrganizationReadModelHeldCursorQuerySchema,\n type OrganizationReadModelQuery,\n OrganizationReadModelQuerySchema,\n type UpdateOrganizationMembershipRequest,\n UpdateOrganizationMembershipRequestSchema,\n type UpdateOrganizationProfileRequest,\n UpdateOrganizationProfileRequestSchema,\n type UpdateOrganizationRosterEntryRequest,\n UpdateOrganizationRosterEntryRequestSchema,\n} from \"./organization\";\nexport {\n type CreateOrganizationRequest,\n CreateOrganizationRequestSchema,\n isCreateOrganizationRequest,\n isOrganizationProvisioningRequest,\n isProvisionedDocumentRequest,\n isProvisionedSystemContainerRequest,\n type OrganizationProvisioningRequest,\n OrganizationProvisioningRequestSchema,\n type ProvisionedDocumentRequest,\n ProvisionedDocumentRequestSchema,\n type ProvisionedSystemContainerRequest,\n ProvisionedSystemContainerRequestSchema,\n} from \"./organizationProvisioning\";\nexport {\n type CommitOrganizationGroupPolicyRequest,\n CommitOrganizationGroupPolicyRequestSchema,\n isCommitOrganizationGroupPolicyRequest,\n isOrganizationPrincipalPolicyRequest,\n isPutPrincipalPolicyRequest,\n type OrganizationPrincipalPolicyRequest,\n OrganizationPrincipalPolicyRequestSchema,\n type PrincipalContainerGrantRequest,\n PrincipalContainerGrantRequestSchema,\n type PrincipalMemberEnvelopeRequest,\n type PrincipalProjectionMemberRequest,\n type PrincipalStateEncryptedPayloadRequest,\n type PrincipalStateRequest,\n type PutPrincipalPolicyRequest,\n PutPrincipalPolicyRequestSchema,\n} from \"./principal\";\nexport {\n type PrincipalPolicyRef,\n PrincipalPolicyRefListSchema,\n PrincipalPolicyRefSchema,\n} from \"./principalPolicyRef\";\nexport {\n isRegistrationRequest,\n type RegistrationRequest,\n RegistrationRequestSchema,\n} from \"./registration\";\nexport {\n isRevenueCatTransferWebhookEvent,\n isRevenueCatWebhookRequest,\n type RevenueCatIncomingWebhookEvent,\n RevenueCatIncomingWebhookEventSchema,\n type RevenueCatSubscriberAttribute,\n RevenueCatSubscriberAttributeSchema,\n type RevenueCatTransferWebhookEvent,\n RevenueCatTransferWebhookEventSchema,\n type RevenueCatWebhookEvent,\n RevenueCatWebhookEventSchema,\n type RevenueCatWebhookRequest,\n RevenueCatWebhookRequestSchema,\n} from \"./revenuecatWebhook\";\nexport {\n isStripeCheckoutRequest,\n isStripeCheckoutSessionRequest,\n isStripePlanChangeRequest,\n isStripeReturnUrlRequest,\n type StripeCheckoutRequest,\n StripeCheckoutRequestSchema,\n type StripeCheckoutSessionRequest,\n StripeCheckoutSessionRequestSchema,\n type StripePlanChangeRequest,\n StripePlanChangeRequestSchema,\n type StripeReturnUrlRequest,\n StripeReturnUrlRequestSchema,\n} from \"./stripeCheckout\";\nexport {\n isStripeWebhookRequest,\n type StripeWebhookRequest,\n StripeWebhookRequestSchema,\n} from \"./stripeWebhook\";\n"]}
|