@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.
Files changed (178) hide show
  1. package/client/organizations/index.js +5 -3
  2. package/client/organizations/index.js.map +1 -1
  3. package/client/organizations/organizationGroupPresentation.d.ts +1 -1
  4. package/client/organizations/organizationGroupPresentation.js.map +1 -1
  5. package/client/organizations/organizationLeaveRequestVerifier.js +21 -0
  6. package/client/organizations/organizationLeaveRequestVerifier.js.map +1 -0
  7. package/client/organizations/{organizationReadModels.d.ts → organizationReadModelCoordinator.d.ts} +18 -16
  8. package/client/organizations/organizationReadModelCoordinator.js +2 -0
  9. package/client/organizations/organizationReadModelCoordinator.js.map +1 -0
  10. package/client/organizations/organizationReadModelPresentation.js +51 -0
  11. package/client/organizations/organizationReadModelPresentation.js.map +1 -0
  12. package/client/organizations/organizationReadModelScopes.js +37 -0
  13. package/client/organizations/organizationReadModelScopes.js.map +1 -0
  14. package/client/organizations/organizationReadModels.js +131 -88
  15. package/client/organizations/organizationReadModels.js.map +1 -1
  16. package/client/organizations/organizationsTypes.d.ts +13 -5
  17. package/client/organizations/organizationsTypes.js.map +1 -1
  18. package/client/organizations/principalMutations.d.ts +18 -2
  19. package/client/organizations/principalMutations.js +29 -15
  20. package/client/organizations/principalMutations.js.map +1 -1
  21. package/client/runtime/principalMutationApi.d.ts +2 -0
  22. package/client/runtime/principalMutationApi.js +2 -0
  23. package/client/runtime/principalMutationApi.js.map +1 -1
  24. package/client/runtime/principalMutationDispatch.js +47 -10
  25. package/client/runtime/principalMutationDispatch.js.map +1 -1
  26. package/client/runtime/workflowRuntime.js +5 -4
  27. package/client/runtime/workflowRuntime.js.map +1 -1
  28. package/data/containers/shared/mutationRequestOptions.d.ts +2 -0
  29. package/data/containers/shared/mutationRequestOptions.js.map +1 -1
  30. package/data/containers/shared/types.d.ts +12 -2
  31. package/data/containers/shared/types.js.map +1 -1
  32. package/data/keyingProjectionVerification/principalPolicy/mergeProjectionPolicyEvidence.js +1 -4
  33. package/data/keyingProjectionVerification/principalPolicy/mergeProjectionPolicyEvidence.js.map +1 -1
  34. package/data/persistence/organizations/organizationReadModelRepository.js +20 -2
  35. package/data/persistence/organizations/organizationReadModelRepository.js.map +1 -1
  36. package/data/persistence/principalPolicy/heldOrganizationDirectories.js +6 -1
  37. package/data/persistence/principalPolicy/heldOrganizationDirectories.js.map +1 -1
  38. package/data/persistence/principalPolicy/principalPolicyBundleIntegrity.js +1 -1
  39. package/data/persistence/principalPolicy/principalPolicyBundleIntegrity.js.map +1 -1
  40. package/data/persistence/principalPolicy/verifiedPrincipalPolicyCurrent.js +1 -5
  41. package/data/persistence/principalPolicy/verifiedPrincipalPolicyCurrent.js.map +1 -1
  42. package/data/principals/organizationGroupDirectoryRequest.js +0 -2
  43. package/data/principals/organizationGroupDirectoryRequest.js.map +1 -1
  44. package/data/principals/organizationPolicyRequest.js +0 -2
  45. package/data/principals/organizationPolicyRequest.js.map +1 -1
  46. package/data/principals/principalPolicyRequest.js +0 -2
  47. package/data/principals/principalPolicyRequest.js.map +1 -1
  48. package/internal/api-client/ApiClient.d.ts +4 -59
  49. package/internal/api-client/client/apiClientContext.d.ts +0 -30
  50. package/internal/api-client/client/containerMutations.d.ts +2 -2
  51. package/internal/api-client/client/containerMutations.js +2 -1
  52. package/internal/api-client/client/containerMutations.js.map +1 -1
  53. package/internal/api-client/client/documents.d.ts +0 -12
  54. package/internal/api-client/client/principalPolicies.d.ts +3 -18
  55. package/internal/api-client/client/writerProjections.d.ts +0 -12
  56. package/internal/api-client/heldDirectoryCitations.d.ts +8 -4
  57. package/internal/api-client/heldDirectoryCitations.js +6 -10
  58. package/internal/api-client/heldDirectoryCitations.js.map +1 -1
  59. package/internal/api-client/organizationPolicyHistory.d.ts +0 -6
  60. package/internal/api-client/principalPolicyRequests.d.ts +2 -18
  61. package/internal/api-client/principalPolicyRequests.js +6 -4
  62. package/internal/api-client/principalPolicyRequests.js.map +1 -1
  63. package/internal/api-client/routes/containers/mutations.js +3 -3
  64. package/internal/api-client/routes/containers/mutations.js.map +1 -1
  65. package/internal/api-client/routes/organizations/createGroup.js +3 -5
  66. package/internal/api-client/routes/organizations/createGroup.js.map +1 -1
  67. package/internal/api-client/routes/principals/policy.js +2 -5
  68. package/internal/api-client/routes/principals/policy.js.map +1 -1
  69. package/internal/api-client/types.d.ts +6 -0
  70. package/internal/api-client/types.js.map +1 -1
  71. package/internal/api-client/verifiedManifestCitations.js +3 -3
  72. package/internal/api-client/verifiedManifestCitations.js.map +1 -1
  73. package/internal/crypto/index.d.ts +1 -1
  74. package/internal/crypto/index.js.map +1 -1
  75. package/internal/crypto/keying/principalPolicyPayload.js +2 -12
  76. package/internal/crypto/keying/principalPolicyPayload.js.map +1 -1
  77. package/internal/crypto/keying/principalPolicyTypes.d.ts +5 -6
  78. package/internal/crypto/keying/principalPolicyTypes.js.map +1 -1
  79. package/internal/crypto/principalState.d.ts +1 -1
  80. package/internal/crypto/principalState.js.map +1 -1
  81. package/internal/crypto/principalStateTypes.d.ts +0 -1
  82. package/internal/crypto/principalStateTypes.js.map +1 -1
  83. package/internal/validators/operation/auth.d.ts +0 -24
  84. package/internal/validators/operation/containerMutations.d.ts +20 -3
  85. package/internal/validators/operation/containerMutations.js +18 -20
  86. package/internal/validators/operation/containerMutations.js.map +1 -1
  87. package/internal/validators/operation/documentMutations.d.ts +0 -48
  88. package/internal/validators/operation/index.d.ts +1 -1
  89. package/internal/validators/operation/index.js +1 -1
  90. package/internal/validators/operation/index.js.map +1 -1
  91. package/internal/validators/operation/organizationPolicyHistory.d.ts +0 -24
  92. package/internal/validators/operation/organizations.d.ts +17 -49
  93. package/internal/validators/operation/organizations.js +4 -2
  94. package/internal/validators/operation/organizations.js.map +1 -1
  95. package/internal/validators/operation/principals.d.ts +17 -57
  96. package/internal/validators/operation/principals.js +5 -2
  97. package/internal/validators/operation/principals.js.map +1 -1
  98. package/internal/validators/operation/writerProjections.d.ts +0 -48
  99. package/internal/validators/request/index.d.ts +1 -1
  100. package/internal/validators/request/index.js +1 -1
  101. package/internal/validators/request/index.js.map +1 -1
  102. package/internal/validators/request/organization.d.ts +15 -32
  103. package/internal/validators/request/organization.js +8 -0
  104. package/internal/validators/request/organization.js.map +1 -1
  105. package/internal/validators/request/organizationProvisioning.d.ts +0 -72
  106. package/internal/validators/request/principal.d.ts +4 -48
  107. package/internal/validators/request/principal.js +4 -2
  108. package/internal/validators/request/principal.js.map +1 -1
  109. package/internal/validators/request/registration.d.ts +0 -24
  110. package/internal/validators/response/areas/organizations.d.ts +3 -2
  111. package/internal/validators/response/areas/organizations.js +3 -2
  112. package/internal/validators/response/areas/organizations.js.map +1 -1
  113. package/internal/validators/response/areas/principals.d.ts +1 -1
  114. package/internal/validators/response/areas/principals.js +1 -1
  115. package/internal/validators/response/areas/principals.js.map +1 -1
  116. package/internal/validators/response/committedReadModel.d.ts +697 -0
  117. package/internal/validators/response/committedReadModel.js +52 -0
  118. package/internal/validators/response/committedReadModel.js.map +1 -0
  119. package/internal/validators/response/container.d.ts +52 -48
  120. package/internal/validators/response/container.js +3 -3
  121. package/internal/validators/response/container.js.map +1 -1
  122. package/internal/validators/response/documentMutation.d.ts +0 -96
  123. package/internal/validators/response/organization.d.ts +0 -191
  124. package/internal/validators/response/organization.js +0 -7
  125. package/internal/validators/response/organization.js.map +1 -1
  126. package/internal/validators/response/organizationPolicyHistory.d.ts +0 -24
  127. package/internal/validators/response/organizationReadModel.d.ts +167 -0
  128. package/internal/validators/response/organizationReadModel.js +5 -0
  129. package/internal/validators/response/organizationReadModel.js.map +1 -1
  130. package/internal/validators/response/policyEvidenceWire.d.ts +5 -3
  131. package/internal/validators/response/policyEvidenceWire.js +6 -4
  132. package/internal/validators/response/policyEvidenceWire.js.map +1 -1
  133. package/internal/validators/response/principal.d.ts +0 -451
  134. package/internal/validators/response/principal.js +0 -8
  135. package/internal/validators/response/principal.js.map +1 -1
  136. package/internal/validators/response/principalPolicyPage.d.ts +0 -48
  137. package/internal/validators/response/principalSnapshot.d.ts +4 -24
  138. package/internal/validators/response/principalSnapshot.js +4 -6
  139. package/internal/validators/response/principalSnapshot.js.map +1 -1
  140. package/internal/validators/response/projectionPolicyEvidence.d.ts +0 -48
  141. package/package.json +1 -1
  142. package/workflows/container-contents/container-state/organizationHost.d.ts +9 -0
  143. package/workflows/container-contents/container-state/organizationHost.js.map +1 -1
  144. package/workflows/container-contents/container-state/remote.js +6 -0
  145. package/workflows/container-contents/container-state/remote.js.map +1 -1
  146. package/workflows/containers/child/share/index.d.ts +4 -2
  147. package/workflows/containers/child/share/index.js +37 -20
  148. package/workflows/containers/child/share/index.js.map +1 -1
  149. package/workflows/organizations/containerContentsHost.js +20 -1
  150. package/workflows/organizations/containerContentsHost.js.map +1 -1
  151. package/workflows/organizations/groupPolicy/commitCurrentGroupPolicyMutation.js +5 -1
  152. package/workflows/organizations/groupPolicy/commitCurrentGroupPolicyMutation.js.map +1 -1
  153. package/workflows/organizations/groupPolicy/currentPolicyMutationAcknowledgement.js +1 -6
  154. package/workflows/organizations/groupPolicy/currentPolicyMutationAcknowledgement.js.map +1 -1
  155. package/workflows/organizations/groupPolicy/groupPolicyMutationAcknowledgement.js +1 -6
  156. package/workflows/organizations/groupPolicy/groupPolicyMutationAcknowledgement.js.map +1 -1
  157. package/workflows/organizations/groups/createCurrentOrganizationGroup.js +8 -1
  158. package/workflows/organizations/groups/createCurrentOrganizationGroup.js.map +1 -1
  159. package/workflows/organizations/index.d.ts +1 -0
  160. package/workflows/organizations/index.js +1 -0
  161. package/workflows/organizations/index.js.map +1 -1
  162. package/workflows/organizations/policyHistory/organizationPolicyHistoryVerification.js +4 -6
  163. package/workflows/organizations/policyHistory/organizationPolicyHistoryVerification.js.map +1 -1
  164. package/workflows/organizations/principalPolicy/principalPolicyReceiptArtifacts.js +1 -7
  165. package/workflows/organizations/principalPolicy/principalPolicyReceiptArtifacts.js.map +1 -1
  166. package/workflows/organizations/readModel/committedReadModel.d.ts +66 -0
  167. package/workflows/organizations/readModel/committedReadModel.js +150 -0
  168. package/workflows/organizations/readModel/committedReadModel.js.map +1 -0
  169. package/workflows/organizations/readModel/readModelProjection.d.ts +15 -2
  170. package/workflows/organizations/readModel/readModelProjection.js +26 -4
  171. package/workflows/organizations/readModel/readModelProjection.js.map +1 -1
  172. package/workflows/principals/policyCache/principalPolicyCacheValidation.js +0 -13
  173. package/workflows/principals/policyCache/principalPolicyCacheValidation.js.map +1 -1
  174. package/workflows/principals/publicHistory/publicProjectionDirectory.js +4 -5
  175. package/workflows/principals/publicHistory/publicProjectionDirectory.js.map +1 -1
  176. package/workflows/registration/provisioningBootstrapBuilders.d.ts +0 -6
  177. package/workflows/registration/registrationPrincipalPolicyPersistence.js +1 -7
  178. package/workflows/registration/registrationPrincipalPolicyPersistence.js.map +1 -1
@@ -4,7 +4,7 @@ export { challengeOperation, destroySessionOperation, isChallengeOperationReques
4
4
  export { billingWebhookWireHeaderKeys, billingWebhookWireHeaderNames, isReceiveRevenueCatWebhookOperationRequest, isReceiveRevenueCatWebhookOperationResponse, isReceiveStripeWebhookOperationRequest, isReceiveStripeWebhookOperationResponse, type RevenueCatWebhookHeaders, RevenueCatWebhookHeadersSchema, receiveRevenueCatWebhookOperation, receiveStripeWebhookOperation, type StripeWebhookHeaders, StripeWebhookHeadersSchema, } from "./billingWebhooks.js";
5
5
  export { BinaryBodySchema, type BlobBytesPathParams, BlobBytesPathParamsSchema, type BlobBytesResponseHeaders, BlobBytesResponseHeadersSchema, blobWireHeaderKeys, blobWireHeaderNames, getBlobBytesOperation, isUploadMultipartBlobPartBytesOperationResponse, type MultipartBlobPartHeaders, MultipartBlobPartHeadersSchema, type MultipartBlobPartPathParams, MultipartBlobPartPathParamsSchema, uploadMultipartBlobPartBytesOperation, } from "./blobBytes.js";
6
6
  export { type BlobDownloadResponse, BlobDownloadResponseSchema, getBlobDownloadOperation, } from "./blobDownloads.js";
7
- export { type ContainerMutationPathParams, ContainerMutationPathParamsSchema, createContainerOperation, createContainerWithMetadataDocumentOperation, deleteContainerOperation, isContainerMutationOperationRequest, isContainerMutationOperationResponse, isContainerRotationOperationRequest, isContainerRotationOperationResponse, isCreateContainerWithMetadataDocumentOperationRequest, isCreateContainerWithMetadataDocumentOperationResponse, isDeleteContainerOperationResponse, moveContainerOperation, reciteContainerOperation, rekeyContainerOperation, revokeContainerOperation, shareContainerOperation, } from "./containerMutations.js";
7
+ export { type ContainerMutationPathParams, ContainerMutationPathParamsSchema, createContainerOperation, createContainerWithMetadataDocumentOperation, deleteContainerOperation, isContainerMutationOperationRequest, isContainerMutationOperationResponse, isContainerRotationOperationRequest, isContainerRotationOperationResponse, isCreateContainerWithMetadataDocumentOperationRequest, isCreateContainerWithMetadataDocumentOperationResponse, isDeleteContainerOperationResponse, isShareContainerOperationResponse, moveContainerOperation, reciteContainerOperation, rekeyContainerOperation, revokeContainerOperation, shareContainerOperation, } from "./containerMutations.js";
8
8
  export { type ContainerKekLogQuery, ContainerKekLogQuerySchema, type ContainerReadPathParams, ContainerReadPathParamsSchema, getContainerKekLogOperation, isGetContainerKekLogOperationResponse, isListContainerDocumentLanesOperationRequest, isListContainerDocumentLanesOperationResponse, isListContainerParentLanesOperationRequest, isListContainerParentLanesOperationResponse, listContainerDocumentLanesOperation, listContainerParentLanesOperation, } from "./containerReads.js";
9
9
  export { type ContainerReplacementAuthorizationsResponse, ContainerReplacementAuthorizationsResponseSchema, getContainerReplacementAuthorizationsOperation, } from "./containerReplacement.js";
10
10
  export { defineHttpOperation, defineJsonOperation, type HttpOperation, type HttpOperationMediaType, type HttpOperationMethod, type JsonOperation, type JsonOperationMethod, type OperationSchemaInput, type OperationSchemaOutput, operationRequestPath, operationRequestPathForInput, operationRequestPathWithQuery, operationRoutePath, type RuntimeRefinement, } from "./definition.js";
@@ -4,7 +4,7 @@ export { challengeOperation, destroySessionOperation, isChallengeOperationReques
4
4
  export { billingWebhookWireHeaderKeys, billingWebhookWireHeaderNames, isReceiveRevenueCatWebhookOperationRequest, isReceiveRevenueCatWebhookOperationResponse, isReceiveStripeWebhookOperationRequest, isReceiveStripeWebhookOperationResponse, RevenueCatWebhookHeadersSchema, receiveRevenueCatWebhookOperation, receiveStripeWebhookOperation, StripeWebhookHeadersSchema, } from "./billingWebhooks.js";
5
5
  export { BinaryBodySchema, BlobBytesPathParamsSchema, BlobBytesResponseHeadersSchema, blobWireHeaderKeys, blobWireHeaderNames, getBlobBytesOperation, isUploadMultipartBlobPartBytesOperationResponse, MultipartBlobPartHeadersSchema, MultipartBlobPartPathParamsSchema, uploadMultipartBlobPartBytesOperation, } from "./blobBytes.js";
6
6
  export { BlobDownloadResponseSchema, getBlobDownloadOperation, } from "./blobDownloads.js";
7
- export { ContainerMutationPathParamsSchema, createContainerOperation, createContainerWithMetadataDocumentOperation, deleteContainerOperation, isContainerMutationOperationRequest, isContainerMutationOperationResponse, isContainerRotationOperationRequest, isContainerRotationOperationResponse, isCreateContainerWithMetadataDocumentOperationRequest, isCreateContainerWithMetadataDocumentOperationResponse, isDeleteContainerOperationResponse, moveContainerOperation, reciteContainerOperation, rekeyContainerOperation, revokeContainerOperation, shareContainerOperation, } from "./containerMutations.js";
7
+ export { ContainerMutationPathParamsSchema, createContainerOperation, createContainerWithMetadataDocumentOperation, deleteContainerOperation, isContainerMutationOperationRequest, isContainerMutationOperationResponse, isContainerRotationOperationRequest, isContainerRotationOperationResponse, isCreateContainerWithMetadataDocumentOperationRequest, isCreateContainerWithMetadataDocumentOperationResponse, isDeleteContainerOperationResponse, isShareContainerOperationResponse, moveContainerOperation, reciteContainerOperation, rekeyContainerOperation, revokeContainerOperation, shareContainerOperation, } from "./containerMutations.js";
8
8
  export { ContainerKekLogQuerySchema, ContainerReadPathParamsSchema, getContainerKekLogOperation, isGetContainerKekLogOperationResponse, isListContainerDocumentLanesOperationRequest, isListContainerDocumentLanesOperationResponse, isListContainerParentLanesOperationRequest, isListContainerParentLanesOperationResponse, listContainerDocumentLanesOperation, listContainerParentLanesOperation, } from "./containerReads.js";
9
9
  export { ContainerReplacementAuthorizationsResponseSchema, getContainerReplacementAuthorizationsOperation, } from "./containerReplacement.js";
10
10
  export { defineHttpOperation, defineJsonOperation, operationRequestPath, operationRequestPathForInput, operationRequestPathWithQuery, operationRoutePath, } from "./definition.js";
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,oBAAoB,EAAE,eAAe,EAAE,MAAM,cAAc,CAAC;AACrE,OAAO,EAEL,qCAAqC,EAErC,8BAA8B,EAC9B,2BAA2B,EAE3B,mCAAmC,EACnC,6BAA6B,EAC7B,oCAAoC,EACpC,qCAAqC,EACrC,sCAAsC,EACtC,uCAAuC,EACvC,0CAA0C,EAC1C,gCAAgC,GACjC,MAAM,eAAe,CAAC;AACvB,OAAO,EACL,kBAAkB,EAClB,uBAAuB,EACvB,2BAA2B,EAC3B,4BAA4B,EAC5B,iCAAiC,EACjC,+BAA+B,EAC/B,yBAAyB,EACzB,8BAA8B,EAC9B,+BAA+B,EAC/B,+BAA+B,EAC/B,wBAAwB,EACxB,yBAAyB,EACzB,kCAAkC,EAClC,qBAAqB,EACrB,eAAe,EACf,iBAAiB,EACjB,qBAAqB,EACrB,eAAe,EACf,wBAAwB,GACzB,MAAM,QAAQ,CAAC;AAChB,OAAO,EACL,4BAA4B,EAC5B,6BAA6B,EAC7B,0CAA0C,EAC1C,2CAA2C,EAC3C,sCAAsC,EACtC,uCAAuC,EAEvC,8BAA8B,EAC9B,iCAAiC,EACjC,6BAA6B,EAE7B,0BAA0B,GAC3B,MAAM,mBAAmB,CAAC;AAC3B,OAAO,EACL,gBAAgB,EAEhB,yBAAyB,EAEzB,8BAA8B,EAC9B,kBAAkB,EAClB,mBAAmB,EACnB,qBAAqB,EACrB,+CAA+C,EAE/C,8BAA8B,EAE9B,iCAAiC,EACjC,qCAAqC,GACtC,MAAM,aAAa,CAAC;AACrB,OAAO,EAEL,0BAA0B,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,EACpC,qCAAqC,EACrC,2CAA2C,EAE3C,8BAA8B,GAC/B,MAAM,kBAAkB,CAAC;AAC1B,OAAO,EAEL,yCAAyC,EAEzC,wCAAwC,EACxC,qCAAqC,EACrC,oCAAoC,EACpC,+CAA+C,EAC/C,8CAA8C,GAC/C,MAAM,qBAAqB,CAAC","sourcesContent":["export { apiVersionHeaderName, parseApiVersion } from \"./apiVersion\";\nexport {\n type BlobAttachmentBindingPathParams,\n BlobAttachmentBindingPathParamsSchema,\n type BlobAttachmentPathParams,\n BlobAttachmentPathParamsSchema,\n bindBlobAttachmentOperation,\n type DocumentAttachmentsPathParams,\n DocumentAttachmentsPathParamsSchema,\n detachBlobAttachmentOperation,\n isBindBlobAttachmentOperationRequest,\n isBindBlobAttachmentOperationResponse,\n isDetachBlobAttachmentOperationRequest,\n isDetachBlobAttachmentOperationResponse,\n isListDocumentAttachmentsOperationResponse,\n listDocumentAttachmentsOperation,\n} from \"./attachments\";\nexport {\n challengeOperation,\n destroySessionOperation,\n isChallengeOperationRequest,\n isChallengeOperationResponse,\n isDestroySessionOperationResponse,\n isListSessionsOperationResponse,\n isLogoutOperationResponse,\n isRegistrationOperationRequest,\n isRegistrationOperationResponse,\n isUserIdentityOperationResponse,\n isVerifyOperationRequest,\n isVerifyOperationResponse,\n isWebSocketTicketOperationResponse,\n listSessionsOperation,\n logoutOperation,\n registerOperation,\n userIdentityOperation,\n verifyOperation,\n webSocketTicketOperation,\n} from \"./auth\";\nexport {\n billingWebhookWireHeaderKeys,\n billingWebhookWireHeaderNames,\n isReceiveRevenueCatWebhookOperationRequest,\n isReceiveRevenueCatWebhookOperationResponse,\n isReceiveStripeWebhookOperationRequest,\n isReceiveStripeWebhookOperationResponse,\n type RevenueCatWebhookHeaders,\n RevenueCatWebhookHeadersSchema,\n receiveRevenueCatWebhookOperation,\n receiveStripeWebhookOperation,\n type StripeWebhookHeaders,\n StripeWebhookHeadersSchema,\n} from \"./billingWebhooks\";\nexport {\n BinaryBodySchema,\n type BlobBytesPathParams,\n BlobBytesPathParamsSchema,\n type BlobBytesResponseHeaders,\n BlobBytesResponseHeadersSchema,\n blobWireHeaderKeys,\n blobWireHeaderNames,\n getBlobBytesOperation,\n isUploadMultipartBlobPartBytesOperationResponse,\n type MultipartBlobPartHeaders,\n MultipartBlobPartHeadersSchema,\n type MultipartBlobPartPathParams,\n MultipartBlobPartPathParamsSchema,\n uploadMultipartBlobPartBytesOperation,\n} from \"./blobBytes\";\nexport {\n type BlobDownloadResponse,\n BlobDownloadResponseSchema,\n getBlobDownloadOperation,\n} from \"./blobDownloads\";\nexport {\n type ContainerMutationPathParams,\n ContainerMutationPathParamsSchema,\n createContainerOperation,\n createContainerWithMetadataDocumentOperation,\n deleteContainerOperation,\n isContainerMutationOperationRequest,\n isContainerMutationOperationResponse,\n isContainerRotationOperationRequest,\n isContainerRotationOperationResponse,\n isCreateContainerWithMetadataDocumentOperationRequest,\n isCreateContainerWithMetadataDocumentOperationResponse,\n isDeleteContainerOperationResponse,\n moveContainerOperation,\n reciteContainerOperation,\n rekeyContainerOperation,\n revokeContainerOperation,\n shareContainerOperation,\n} from \"./containerMutations\";\nexport {\n type ContainerKekLogQuery,\n ContainerKekLogQuerySchema,\n type ContainerReadPathParams,\n ContainerReadPathParamsSchema,\n getContainerKekLogOperation,\n isGetContainerKekLogOperationResponse,\n isListContainerDocumentLanesOperationRequest,\n isListContainerDocumentLanesOperationResponse,\n isListContainerParentLanesOperationRequest,\n isListContainerParentLanesOperationResponse,\n listContainerDocumentLanesOperation,\n listContainerParentLanesOperation,\n} from \"./containerReads\";\nexport {\n type ContainerReplacementAuthorizationsResponse,\n ContainerReplacementAuthorizationsResponseSchema,\n getContainerReplacementAuthorizationsOperation,\n} from \"./containerReplacement\";\nexport {\n defineHttpOperation,\n defineJsonOperation,\n type HttpOperation,\n type HttpOperationMediaType,\n type HttpOperationMethod,\n type JsonOperation,\n type JsonOperationMethod,\n type OperationSchemaInput,\n type OperationSchemaOutput,\n operationRequestPath,\n operationRequestPathForInput,\n operationRequestPathWithQuery,\n operationRoutePath,\n type RuntimeRefinement,\n} from \"./definition\";\nexport {\n type DocumentAttributionPathParams,\n DocumentAttributionPathParamsSchema,\n type DocumentAttributionRangesQuery,\n DocumentAttributionRangesQuerySchema,\n type DocumentAttributionRequestHeaders,\n DocumentAttributionRequestHeadersSchema,\n documentAttributionWireHeaderKeys,\n documentAttributionWireHeaderNames,\n getDocumentAttributionOperation,\n isGetDocumentAttributionOperationResponse,\n isListDocumentAttributionRangesOperationResponse,\n listDocumentAttributionRangesOperation,\n} from \"./documentAttribution\";\nexport {\n createDocumentOperation,\n type DocumentMutationPathParams,\n DocumentMutationPathParamsSchema,\n type DocumentPurgeProofQuery,\n DocumentPurgeProofQuerySchema,\n getDocumentPurgeProofOperation,\n isCreateDocumentOperationRequest,\n isCreateDocumentOperationResponse,\n isDocumentLinkSetMutationOperationRequest,\n isDocumentLinkSetMutationOperationResponse,\n isGetDocumentPurgeProofOperationResponse,\n isPurgeDocumentOperationRequest,\n isPurgeDocumentOperationResponse,\n linkDocumentOperation,\n purgeDocumentOperation,\n unlinkDocumentOperation,\n} from \"./documentMutations\";\nexport {\n type DocumentSyncPathParams,\n DocumentSyncPathParamsSchema,\n documentSyncOperation,\n isDocumentSyncOperationRequest,\n isDocumentSyncOperationResponse,\n} from \"./documentSync\";\nexport {\n operationRequestHeaderNames,\n operationResponseHeaderNames,\n} from \"./headerNames\";\nexport {\n getHealthOperation,\n isGetHealthOperationResponse,\n} from \"./health\";\nexport {\n getMultipartBlobStageOperation,\n initiateMultipartBlobStageOperation,\n isGetMultipartBlobStageOperationResponse,\n isInitiateMultipartBlobStageOperationRequest,\n isInitiateMultipartBlobStageOperationResponse,\n type MultipartBlobStagePathParams,\n MultipartBlobStagePathParamsSchema,\n} from \"./multipartBlobs\";\nexport {\n authorizeMultipartBlobPartUploadOperation,\n type MultipartBlobPartUploadRequest,\n MultipartBlobPartUploadRequestSchema,\n type MultipartBlobPartUploadResponse,\n MultipartBlobPartUploadResponseSchema,\n} from \"./multipartPartUploads\";\nexport {\n claimNativeOrganizationSubscriptionOperation,\n getOrganizationBillingHistoryOperation,\n getOrganizationBillingManagementUrlOperation,\n getOrganizationBillingOperation,\n getOrganizationNativePurchaseEligibilityOperation,\n isClaimNativeOrganizationSubscriptionOperationResponse,\n isGetOrganizationBillingHistoryOperationResponse,\n isGetOrganizationBillingManagementUrlOperationResponse,\n isGetOrganizationBillingOperationResponse,\n isGetOrganizationNativePurchaseEligibilityOperationResponse,\n isStartOrganizationTrialOperationResponse,\n type OrganizationBillingNativeClaimPathParams,\n OrganizationBillingNativeClaimPathParamsSchema,\n type OrganizationBillingNativeEligibilityQuery,\n OrganizationBillingNativeEligibilityQuerySchema,\n type OrganizationBillingPathParams,\n OrganizationBillingPathParamsSchema,\n startOrganizationTrialOperation,\n} from \"./organizationBilling\";\nexport {\n isListOrganizationMembershipsOperationResponse,\n isRequestOrganizationLeaveOperationRequest,\n isUpdateOrganizationMembershipOperationRequest,\n isUpdateOrganizationMembershipOperationResponse,\n listOrganizationMembershipsOperation,\n type OrganizationMembershipPathParams,\n OrganizationMembershipPathParamsSchema,\n requestOrganizationLeaveOperation,\n updateOrganizationMembershipOperation,\n withdrawOrganizationLeaveRequestOperation,\n} from \"./organizationMemberships\";\nexport { getOrganizationPolicyHistoryOperation } from \"./organizationPolicyHistory\";\nexport {\n createOrganizationGroupOperation,\n createOrganizationOperation,\n deleteOrganizationGroupOperation,\n getOrganizationDataUsageOperation,\n getOrganizationReadModelOperation,\n isCreateOrganizationGroupOperationRequest,\n isCreateOrganizationGroupOperationResponse,\n isCreateOrganizationOperationRequest,\n isCreateOrganizationOperationResponse,\n isDeleteOrganizationGroupOperationResponse,\n isGetOrganizationDataUsageOperationResponse,\n isGetOrganizationReadModelOperationResponse,\n isListOrganizationGroupMembersOperationResponse,\n isUpdateOrganizationProfileOperationRequest,\n isUpdateOrganizationProfileOperationResponse,\n isUpdateOrganizationRosterEntryOperationRequest,\n isUpdateOrganizationRosterEntryOperationResponse,\n listOrganizationGroupMembersOperation,\n type OrganizationGroupPathParams,\n OrganizationGroupPathParamsSchema,\n type OrganizationPathParams,\n OrganizationPathParamsSchema,\n type OrganizationRosterPathParams,\n OrganizationRosterPathParamsSchema,\n updateOrganizationProfileOperation,\n updateOrganizationRosterEntryOperation,\n} from \"./organizations\";\nexport {\n listOrganizationPendingBlobDeletionsOperation,\n listRootPendingBlobDeletionsOperation,\n type PendingBlobDeletionsQuery,\n PendingBlobDeletionsQuerySchema,\n type RootPendingBlobDeletionsQuery,\n RootPendingBlobDeletionsQuerySchema,\n} from \"./pendingBlobDeletions\";\nexport {\n type PrincipalPolicyPageQuery,\n PrincipalPolicyPageQuerySchema,\n} from \"./principalPolicyPageQuery\";\nexport {\n commitOrganizationGroupPolicyOperation,\n getPrincipalMemberEnvelopesOperation,\n getPrincipalPolicyOperation,\n isCommitOrganizationGroupPolicyOperationRequest,\n isCommitOrganizationGroupPolicyOperationResponse,\n isGetPrincipalMemberEnvelopesOperationResponse,\n isGetPrincipalPolicyOperationResponse,\n isPutPrincipalPolicyOperationRequest,\n isPutPrincipalPolicyOperationResponse,\n type OrganizationGroupPolicyPathParams,\n OrganizationGroupPolicyPathParamsSchema,\n type PrincipalMemberEnvelopesQuery,\n PrincipalMemberEnvelopesQuerySchema,\n type PrincipalPolicyPathParams,\n PrincipalPolicyPathParamsSchema,\n putPrincipalPolicyOperation,\n} from \"./principals\";\nexport {\n getProjectionPolicyHistoryOperation,\n type ProjectionPolicyHistoryQuery,\n ProjectionPolicyHistoryQuerySchema,\n} from \"./projectionPolicyHistory\";\nexport { protocolOperations } from \"./registry\";\nexport {\n getRootIdentityOperation,\n isGetRootIdentityOperationResponse,\n isListRootIdentitiesOperationResponse,\n isListRootIdentityOrganizationsOperationResponse,\n listRootIdentitiesOperation,\n listRootIdentityOrganizationsOperation,\n MAX_ROOT_IDENTITY_PAGE_SIZE,\n MIN_ROOT_FINGERPRINT_PREFIX_LENGTH,\n type RootIdentitiesQuery,\n RootIdentitiesQuerySchema,\n type RootIdentityPathParams,\n RootIdentityPathParamsSchema,\n} from \"./root\";\nexport {\n listRootAuditEventsOperation,\n type RootAuditEventsQuery,\n} from \"./rootAudit\";\nexport { getRootOpsHealthReportOperation } from \"./rootOpsHealth\";\nexport {\n getRootOrganizationDataUsageOperation,\n getRootOrganizationOperation,\n listRootDataUsageReportOperation,\n listRootOrganizationIdentitiesOperation,\n listRootOrganizationsOperation,\n type RootOrganizationPageQuery,\n type RootOrganizationsQuery,\n} from \"./rootOrganizations\";\nexport {\n listRootOrganizationRevenuecatEventsOperation,\n listRootRevenuecatEventsReportOperation,\n type RootRevenuecatEventsQuery,\n type RootRevenuecatEventsReportQuery,\n} from \"./rootRevenuecat\";\nexport {\n liftRootIdentitySuspensionOperation,\n suspendRootIdentityOperation,\n} from \"./rootSuspension\";\nexport {\n cancelStripeSubscriptionOperation,\n changeStripePlanOperation,\n createStripeCheckoutOperation,\n createStripeCheckoutSessionOperation,\n createStripePortalOperation,\n getStripeCheckoutOptionsOperation,\n isCancelStripeSubscriptionOperationResponse,\n isChangeStripePlanOperationRequest,\n isChangeStripePlanOperationResponse,\n isCreateStripeCheckoutOperationRequest,\n isCreateStripeCheckoutOperationResponse,\n isCreateStripeCheckoutSessionOperationRequest,\n isCreateStripeCheckoutSessionOperationResponse,\n isCreateStripePortalOperationRequest,\n isCreateStripePortalOperationResponse,\n isGetStripeCheckoutOptionsOperationResponse,\n type StripeCheckoutPathParams,\n StripeCheckoutPathParamsSchema,\n} from \"./stripeCheckout\";\nexport {\n type ContainerWriterProjectionPathParams,\n ContainerWriterProjectionPathParamsSchema,\n type DocumentWriterProjectionPathParams,\n DocumentWriterProjectionPathParamsSchema,\n getContainerWriterProjectionOperation,\n getDocumentWriterProjectionOperation,\n isGetContainerWriterProjectionOperationResponse,\n isGetDocumentWriterProjectionOperationResponse,\n} from \"./writerProjections\";\n"]}
1
+ {"version":3,"file":"index.js","sourceRo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":["export { apiVersionHeaderName, parseApiVersion } from \"./apiVersion\";\nexport {\n type BlobAttachmentBindingPathParams,\n BlobAttachmentBindingPathParamsSchema,\n type BlobAttachmentPathParams,\n BlobAttachmentPathParamsSchema,\n bindBlobAttachmentOperation,\n type DocumentAttachmentsPathParams,\n DocumentAttachmentsPathParamsSchema,\n detachBlobAttachmentOperation,\n isBindBlobAttachmentOperationRequest,\n isBindBlobAttachmentOperationResponse,\n isDetachBlobAttachmentOperationRequest,\n isDetachBlobAttachmentOperationResponse,\n isListDocumentAttachmentsOperationResponse,\n listDocumentAttachmentsOperation,\n} from \"./attachments\";\nexport {\n challengeOperation,\n destroySessionOperation,\n isChallengeOperationRequest,\n isChallengeOperationResponse,\n isDestroySessionOperationResponse,\n isListSessionsOperationResponse,\n isLogoutOperationResponse,\n isRegistrationOperationRequest,\n isRegistrationOperationResponse,\n isUserIdentityOperationResponse,\n isVerifyOperationRequest,\n isVerifyOperationResponse,\n isWebSocketTicketOperationResponse,\n listSessionsOperation,\n logoutOperation,\n registerOperation,\n userIdentityOperation,\n verifyOperation,\n webSocketTicketOperation,\n} from \"./auth\";\nexport {\n billingWebhookWireHeaderKeys,\n billingWebhookWireHeaderNames,\n isReceiveRevenueCatWebhookOperationRequest,\n isReceiveRevenueCatWebhookOperationResponse,\n isReceiveStripeWebhookOperationRequest,\n isReceiveStripeWebhookOperationResponse,\n type RevenueCatWebhookHeaders,\n RevenueCatWebhookHeadersSchema,\n receiveRevenueCatWebhookOperation,\n receiveStripeWebhookOperation,\n type StripeWebhookHeaders,\n StripeWebhookHeadersSchema,\n} from \"./billingWebhooks\";\nexport {\n BinaryBodySchema,\n type BlobBytesPathParams,\n BlobBytesPathParamsSchema,\n type BlobBytesResponseHeaders,\n BlobBytesResponseHeadersSchema,\n blobWireHeaderKeys,\n blobWireHeaderNames,\n getBlobBytesOperation,\n isUploadMultipartBlobPartBytesOperationResponse,\n type MultipartBlobPartHeaders,\n MultipartBlobPartHeadersSchema,\n type MultipartBlobPartPathParams,\n MultipartBlobPartPathParamsSchema,\n uploadMultipartBlobPartBytesOperation,\n} from \"./blobBytes\";\nexport {\n type BlobDownloadResponse,\n BlobDownloadResponseSchema,\n getBlobDownloadOperation,\n} from \"./blobDownloads\";\nexport {\n type ContainerMutationPathParams,\n ContainerMutationPathParamsSchema,\n createContainerOperation,\n createContainerWithMetadataDocumentOperation,\n deleteContainerOperation,\n isContainerMutationOperationRequest,\n isContainerMutationOperationResponse,\n isContainerRotationOperationRequest,\n isContainerRotationOperationResponse,\n isCreateContainerWithMetadataDocumentOperationRequest,\n isCreateContainerWithMetadataDocumentOperationResponse,\n isDeleteContainerOperationResponse,\n isShareContainerOperationResponse,\n moveContainerOperation,\n reciteContainerOperation,\n rekeyContainerOperation,\n revokeContainerOperation,\n shareContainerOperation,\n} from \"./containerMutations\";\nexport {\n type ContainerKekLogQuery,\n ContainerKekLogQuerySchema,\n type ContainerReadPathParams,\n ContainerReadPathParamsSchema,\n getContainerKekLogOperation,\n isGetContainerKekLogOperationResponse,\n isListContainerDocumentLanesOperationRequest,\n isListContainerDocumentLanesOperationResponse,\n isListContainerParentLanesOperationRequest,\n isListContainerParentLanesOperationResponse,\n listContainerDocumentLanesOperation,\n listContainerParentLanesOperation,\n} from \"./containerReads\";\nexport {\n type ContainerReplacementAuthorizationsResponse,\n ContainerReplacementAuthorizationsResponseSchema,\n getContainerReplacementAuthorizationsOperation,\n} from \"./containerReplacement\";\nexport {\n defineHttpOperation,\n defineJsonOperation,\n type HttpOperation,\n type HttpOperationMediaType,\n type HttpOperationMethod,\n type JsonOperation,\n type JsonOperationMethod,\n type OperationSchemaInput,\n type OperationSchemaOutput,\n operationRequestPath,\n operationRequestPathForInput,\n operationRequestPathWithQuery,\n operationRoutePath,\n type RuntimeRefinement,\n} from \"./definition\";\nexport {\n type DocumentAttributionPathParams,\n DocumentAttributionPathParamsSchema,\n type DocumentAttributionRangesQuery,\n DocumentAttributionRangesQuerySchema,\n type DocumentAttributionRequestHeaders,\n DocumentAttributionRequestHeadersSchema,\n documentAttributionWireHeaderKeys,\n documentAttributionWireHeaderNames,\n getDocumentAttributionOperation,\n isGetDocumentAttributionOperationResponse,\n isListDocumentAttributionRangesOperationResponse,\n listDocumentAttributionRangesOperation,\n} from \"./documentAttribution\";\nexport {\n createDocumentOperation,\n type DocumentMutationPathParams,\n DocumentMutationPathParamsSchema,\n type DocumentPurgeProofQuery,\n DocumentPurgeProofQuerySchema,\n getDocumentPurgeProofOperation,\n isCreateDocumentOperationRequest,\n isCreateDocumentOperationResponse,\n isDocumentLinkSetMutationOperationRequest,\n isDocumentLinkSetMutationOperationResponse,\n isGetDocumentPurgeProofOperationResponse,\n isPurgeDocumentOperationRequest,\n isPurgeDocumentOperationResponse,\n linkDocumentOperation,\n purgeDocumentOperation,\n unlinkDocumentOperation,\n} from \"./documentMutations\";\nexport {\n type DocumentSyncPathParams,\n DocumentSyncPathParamsSchema,\n documentSyncOperation,\n isDocumentSyncOperationRequest,\n isDocumentSyncOperationResponse,\n} from \"./documentSync\";\nexport {\n operationRequestHeaderNames,\n operationResponseHeaderNames,\n} from \"./headerNames\";\nexport {\n getHealthOperation,\n isGetHealthOperationResponse,\n} from \"./health\";\nexport {\n getMultipartBlobStageOperation,\n initiateMultipartBlobStageOperation,\n isGetMultipartBlobStageOperationResponse,\n isInitiateMultipartBlobStageOperationRequest,\n isInitiateMultipartBlobStageOperationResponse,\n type MultipartBlobStagePathParams,\n MultipartBlobStagePathParamsSchema,\n} from \"./multipartBlobs\";\nexport {\n authorizeMultipartBlobPartUploadOperation,\n type MultipartBlobPartUploadRequest,\n MultipartBlobPartUploadRequestSchema,\n type MultipartBlobPartUploadResponse,\n MultipartBlobPartUploadResponseSchema,\n} from \"./multipartPartUploads\";\nexport {\n claimNativeOrganizationSubscriptionOperation,\n getOrganizationBillingHistoryOperation,\n getOrganizationBillingManagementUrlOperation,\n getOrganizationBillingOperation,\n getOrganizationNativePurchaseEligibilityOperation,\n isClaimNativeOrganizationSubscriptionOperationResponse,\n isGetOrganizationBillingHistoryOperationResponse,\n isGetOrganizationBillingManagementUrlOperationResponse,\n isGetOrganizationBillingOperationResponse,\n isGetOrganizationNativePurchaseEligibilityOperationResponse,\n isStartOrganizationTrialOperationResponse,\n type OrganizationBillingNativeClaimPathParams,\n OrganizationBillingNativeClaimPathParamsSchema,\n type OrganizationBillingNativeEligibilityQuery,\n OrganizationBillingNativeEligibilityQuerySchema,\n type OrganizationBillingPathParams,\n OrganizationBillingPathParamsSchema,\n startOrganizationTrialOperation,\n} from \"./organizationBilling\";\nexport {\n isListOrganizationMembershipsOperationResponse,\n isRequestOrganizationLeaveOperationRequest,\n isUpdateOrganizationMembershipOperationRequest,\n isUpdateOrganizationMembershipOperationResponse,\n listOrganizationMembershipsOperation,\n type OrganizationMembershipPathParams,\n OrganizationMembershipPathParamsSchema,\n requestOrganizationLeaveOperation,\n updateOrganizationMembershipOperation,\n withdrawOrganizationLeaveRequestOperation,\n} from \"./organizationMemberships\";\nexport { getOrganizationPolicyHistoryOperation } from \"./organizationPolicyHistory\";\nexport {\n createOrganizationGroupOperation,\n createOrganizationOperation,\n deleteOrganizationGroupOperation,\n getOrganizationDataUsageOperation,\n getOrganizationReadModelOperation,\n isCreateOrganizationGroupOperationRequest,\n isCreateOrganizationGroupOperationResponse,\n isCreateOrganizationOperationRequest,\n isCreateOrganizationOperationResponse,\n isDeleteOrganizationGroupOperationResponse,\n isGetOrganizationDataUsageOperationResponse,\n isGetOrganizationReadModelOperationResponse,\n isListOrganizationGroupMembersOperationResponse,\n isUpdateOrganizationProfileOperationRequest,\n isUpdateOrganizationProfileOperationResponse,\n isUpdateOrganizationRosterEntryOperationRequest,\n isUpdateOrganizationRosterEntryOperationResponse,\n listOrganizationGroupMembersOperation,\n type OrganizationGroupPathParams,\n OrganizationGroupPathParamsSchema,\n type OrganizationPathParams,\n OrganizationPathParamsSchema,\n type OrganizationRosterPathParams,\n OrganizationRosterPathParamsSchema,\n updateOrganizationProfileOperation,\n updateOrganizationRosterEntryOperation,\n} from \"./organizations\";\nexport {\n listOrganizationPendingBlobDeletionsOperation,\n listRootPendingBlobDeletionsOperation,\n type PendingBlobDeletionsQuery,\n PendingBlobDeletionsQuerySchema,\n type RootPendingBlobDeletionsQuery,\n RootPendingBlobDeletionsQuerySchema,\n} from \"./pendingBlobDeletions\";\nexport {\n type PrincipalPolicyPageQuery,\n PrincipalPolicyPageQuerySchema,\n} from \"./principalPolicyPageQuery\";\nexport {\n commitOrganizationGroupPolicyOperation,\n getPrincipalMemberEnvelopesOperation,\n getPrincipalPolicyOperation,\n isCommitOrganizationGroupPolicyOperationRequest,\n isCommitOrganizationGroupPolicyOperationResponse,\n isGetPrincipalMemberEnvelopesOperationResponse,\n isGetPrincipalPolicyOperationResponse,\n isPutPrincipalPolicyOperationRequest,\n isPutPrincipalPolicyOperationResponse,\n type OrganizationGroupPolicyPathParams,\n OrganizationGroupPolicyPathParamsSchema,\n type PrincipalMemberEnvelopesQuery,\n PrincipalMemberEnvelopesQuerySchema,\n type PrincipalPolicyPathParams,\n PrincipalPolicyPathParamsSchema,\n putPrincipalPolicyOperation,\n} from \"./principals\";\nexport {\n getProjectionPolicyHistoryOperation,\n type ProjectionPolicyHistoryQuery,\n ProjectionPolicyHistoryQuerySchema,\n} from \"./projectionPolicyHistory\";\nexport { protocolOperations } from \"./registry\";\nexport {\n getRootIdentityOperation,\n isGetRootIdentityOperationResponse,\n isListRootIdentitiesOperationResponse,\n isListRootIdentityOrganizationsOperationResponse,\n listRootIdentitiesOperation,\n listRootIdentityOrganizationsOperation,\n MAX_ROOT_IDENTITY_PAGE_SIZE,\n MIN_ROOT_FINGERPRINT_PREFIX_LENGTH,\n type RootIdentitiesQuery,\n RootIdentitiesQuerySchema,\n type RootIdentityPathParams,\n RootIdentityPathParamsSchema,\n} from \"./root\";\nexport {\n listRootAuditEventsOperation,\n type RootAuditEventsQuery,\n} from \"./rootAudit\";\nexport { getRootOpsHealthReportOperation } from \"./rootOpsHealth\";\nexport {\n getRootOrganizationDataUsageOperation,\n getRootOrganizationOperation,\n listRootDataUsageReportOperation,\n listRootOrganizationIdentitiesOperation,\n listRootOrganizationsOperation,\n type RootOrganizationPageQuery,\n type RootOrganizationsQuery,\n} from \"./rootOrganizations\";\nexport {\n listRootOrganizationRevenuecatEventsOperation,\n listRootRevenuecatEventsReportOperation,\n type RootRevenuecatEventsQuery,\n type RootRevenuecatEventsReportQuery,\n} from \"./rootRevenuecat\";\nexport {\n liftRootIdentitySuspensionOperation,\n suspendRootIdentityOperation,\n} from \"./rootSuspension\";\nexport {\n cancelStripeSubscriptionOperation,\n changeStripePlanOperation,\n createStripeCheckoutOperation,\n createStripeCheckoutSessionOperation,\n createStripePortalOperation,\n getStripeCheckoutOptionsOperation,\n isCancelStripeSubscriptionOperationResponse,\n isChangeStripePlanOperationRequest,\n isChangeStripePlanOperationResponse,\n isCreateStripeCheckoutOperationRequest,\n isCreateStripeCheckoutOperationResponse,\n isCreateStripeCheckoutSessionOperationRequest,\n isCreateStripeCheckoutSessionOperationResponse,\n isCreateStripePortalOperationRequest,\n isCreateStripePortalOperationResponse,\n isGetStripeCheckoutOptionsOperationResponse,\n type StripeCheckoutPathParams,\n StripeCheckoutPathParamsSchema,\n} from \"./stripeCheckout\";\nexport {\n type ContainerWriterProjectionPathParams,\n ContainerWriterProjectionPathParamsSchema,\n type DocumentWriterProjectionPathParams,\n DocumentWriterProjectionPathParamsSchema,\n getContainerWriterProjectionOperation,\n getDocumentWriterProjectionOperation,\n isGetContainerWriterProjectionOperationResponse,\n isGetDocumentWriterProjectionOperationResponse,\n} from \"./writerProjections\";\n"]}
@@ -110,13 +110,7 @@ export declare const getOrganizationPolicyHistoryOperation: Omit<{
110
110
  version: number;
111
111
  };
112
112
  payload: {
113
- cipherSuite: "aes-256-gcm";
114
113
  ciphertext: string;
115
- ciphertextHash: string;
116
- createdAt: string;
117
- principalId: string;
118
- principalType: "group" | "organization";
119
- stateHash: string;
120
114
  };
121
115
  }[];
122
116
  groups: {
@@ -158,13 +152,7 @@ export declare const getOrganizationPolicyHistoryOperation: Omit<{
158
152
  version: number;
159
153
  };
160
154
  payload: {
161
- cipherSuite: "aes-256-gcm";
162
155
  ciphertext: string;
163
- ciphertextHash: string;
164
- createdAt: string;
165
- principalId: string;
166
- principalType: "group" | "organization";
167
- stateHash: string;
168
156
  };
169
157
  }[];
170
158
  groups: {
@@ -206,13 +194,7 @@ export declare const getOrganizationPolicyHistoryOperation: Omit<{
206
194
  version: number;
207
195
  };
208
196
  payload: {
209
- cipherSuite: "aes-256-gcm";
210
197
  ciphertext: string;
211
- ciphertextHash: string;
212
- createdAt: string;
213
- principalId: string;
214
- principalType: "group" | "organization";
215
- stateHash: string;
216
198
  };
217
199
  }[];
218
200
  groups: {
@@ -254,13 +236,7 @@ export declare const getOrganizationPolicyHistoryOperation: Omit<{
254
236
  version: number;
255
237
  };
256
238
  payload: {
257
- cipherSuite: "aes-256-gcm";
258
239
  ciphertext: string;
259
- ciphertextHash: string;
260
- createdAt: string;
261
- principalId: string;
262
- principalType: "group" | "organization";
263
- stateHash: string;
264
240
  };
265
241
  }[];
266
242
  groups: {
@@ -22,9 +22,7 @@ export declare const createOrganizationOperation: Omit<{
22
22
  groupId: string;
23
23
  initialGroupPolicy: {
24
24
  encryptedPayload: {
25
- cipherSuite: "aes-256-gcm";
26
25
  ciphertext: string;
27
- ciphertextHash: string;
28
26
  };
29
27
  grants: {
30
28
  accessLevel: "write" | "admin" | "read";
@@ -117,9 +115,7 @@ export declare const createOrganizationOperation: Omit<{
117
115
  groupId: string;
118
116
  initialGroupPolicy: {
119
117
  encryptedPayload: {
120
- cipherSuite: "aes-256-gcm";
121
118
  ciphertext: string;
122
- ciphertextHash: string;
123
119
  };
124
120
  grants: {
125
121
  accessLevel: "write" | "admin" | "read";
@@ -402,9 +398,7 @@ export declare const createOrganizationOperation: Omit<{
402
398
  };
403
399
  initialOrganizationPolicy: {
404
400
  encryptedPayload: {
405
- cipherSuite: "aes-256-gcm";
406
401
  ciphertext: string;
407
- ciphertextHash: string;
408
402
  };
409
403
  grants: {
410
404
  accessLevel: "write" | "admin" | "read";
@@ -1386,9 +1380,7 @@ export declare const createOrganizationOperation: Omit<{
1386
1380
  groupId: string;
1387
1381
  initialGroupPolicy: {
1388
1382
  encryptedPayload: {
1389
- cipherSuite: "aes-256-gcm";
1390
1383
  ciphertext: string;
1391
- ciphertextHash: string;
1392
1384
  };
1393
1385
  grants: {
1394
1386
  accessLevel: "write" | "admin" | "read";
@@ -1481,9 +1473,7 @@ export declare const createOrganizationOperation: Omit<{
1481
1473
  groupId: string;
1482
1474
  initialGroupPolicy: {
1483
1475
  encryptedPayload: {
1484
- cipherSuite: "aes-256-gcm";
1485
1476
  ciphertext: string;
1486
- ciphertextHash: string;
1487
1477
  };
1488
1478
  grants: {
1489
1479
  accessLevel: "write" | "admin" | "read";
@@ -1766,9 +1756,7 @@ export declare const createOrganizationOperation: Omit<{
1766
1756
  };
1767
1757
  initialOrganizationPolicy: {
1768
1758
  encryptedPayload: {
1769
- cipherSuite: "aes-256-gcm";
1770
1759
  ciphertext: string;
1771
- ciphertextHash: string;
1772
1760
  };
1773
1761
  grants: {
1774
1762
  accessLevel: "write" | "admin" | "read";
@@ -2750,9 +2738,7 @@ export declare const createOrganizationOperation: Omit<{
2750
2738
  groupId: string;
2751
2739
  initialGroupPolicy: {
2752
2740
  encryptedPayload: {
2753
- cipherSuite: "aes-256-gcm";
2754
2741
  ciphertext: string;
2755
- ciphertextHash: string;
2756
2742
  };
2757
2743
  grants: {
2758
2744
  accessLevel: "write" | "admin" | "read";
@@ -2845,9 +2831,7 @@ export declare const createOrganizationOperation: Omit<{
2845
2831
  groupId: string;
2846
2832
  initialGroupPolicy: {
2847
2833
  encryptedPayload: {
2848
- cipherSuite: "aes-256-gcm";
2849
2834
  ciphertext: string;
2850
- ciphertextHash: string;
2851
2835
  };
2852
2836
  grants: {
2853
2837
  accessLevel: "write" | "admin" | "read";
@@ -3130,9 +3114,7 @@ export declare const createOrganizationOperation: Omit<{
3130
3114
  };
3131
3115
  initialOrganizationPolicy: {
3132
3116
  encryptedPayload: {
3133
- cipherSuite: "aes-256-gcm";
3134
3117
  ciphertext: string;
3135
- ciphertextHash: string;
3136
3118
  };
3137
3119
  grants: {
3138
3120
  accessLevel: "write" | "admin" | "read";
@@ -4114,9 +4096,7 @@ export declare const createOrganizationOperation: Omit<{
4114
4096
  groupId: string;
4115
4097
  initialGroupPolicy: {
4116
4098
  encryptedPayload: {
4117
- cipherSuite: "aes-256-gcm";
4118
4099
  ciphertext: string;
4119
- ciphertextHash: string;
4120
4100
  };
4121
4101
  grants: {
4122
4102
  accessLevel: "write" | "admin" | "read";
@@ -4209,9 +4189,7 @@ export declare const createOrganizationOperation: Omit<{
4209
4189
  groupId: string;
4210
4190
  initialGroupPolicy: {
4211
4191
  encryptedPayload: {
4212
- cipherSuite: "aes-256-gcm";
4213
4192
  ciphertext: string;
4214
- ciphertextHash: string;
4215
4193
  };
4216
4194
  grants: {
4217
4195
  accessLevel: "write" | "admin" | "read";
@@ -4494,9 +4472,7 @@ export declare const createOrganizationOperation: Omit<{
4494
4472
  };
4495
4473
  initialOrganizationPolicy: {
4496
4474
  encryptedPayload: {
4497
- cipherSuite: "aes-256-gcm";
4498
4475
  ciphertext: string;
4499
- ciphertextHash: string;
4500
4476
  };
4501
4477
  grants: {
4502
4478
  accessLevel: "write" | "admin" | "read";
@@ -6970,9 +6946,7 @@ export declare const createOrganizationGroupOperation: Omit<{
6970
6946
  readonly body: z.ZodObject<{
6971
6947
  organizationPolicy: z.ZodType<{
6972
6948
  encryptedPayload: {
6973
- cipherSuite: "aes-256-gcm";
6974
6949
  ciphertext: string;
6975
- ciphertextHash: string;
6976
6950
  };
6977
6951
  grants: {
6978
6952
  accessLevel: "write" | "admin" | "read";
@@ -7061,9 +7035,7 @@ export declare const createOrganizationGroupOperation: Omit<{
7061
7035
  }[] | undefined;
7062
7036
  }, {
7063
7037
  encryptedPayload: {
7064
- cipherSuite: "aes-256-gcm";
7065
7038
  ciphertext: string;
7066
- ciphertextHash: string;
7067
7039
  };
7068
7040
  grants: {
7069
7041
  accessLevel: "write" | "admin" | "read";
@@ -7152,9 +7124,7 @@ export declare const createOrganizationGroupOperation: Omit<{
7152
7124
  }[] | undefined;
7153
7125
  }, z.core.$ZodTypeInternals<{
7154
7126
  encryptedPayload: {
7155
- cipherSuite: "aes-256-gcm";
7156
7127
  ciphertext: string;
7157
- ciphertextHash: string;
7158
7128
  };
7159
7129
  grants: {
7160
7130
  accessLevel: "write" | "admin" | "read";
@@ -7243,9 +7213,7 @@ export declare const createOrganizationGroupOperation: Omit<{
7243
7213
  }[] | undefined;
7244
7214
  }, {
7245
7215
  encryptedPayload: {
7246
- cipherSuite: "aes-256-gcm";
7247
7216
  ciphertext: string;
7248
- ciphertextHash: string;
7249
7217
  };
7250
7218
  grants: {
7251
7219
  accessLevel: "write" | "admin" | "read";
@@ -7336,9 +7304,7 @@ export declare const createOrganizationGroupOperation: Omit<{
7336
7304
  groupId: z.ZodCustom<string, string>;
7337
7305
  initialGroupPolicy: z.ZodType<{
7338
7306
  encryptedPayload: {
7339
- cipherSuite: "aes-256-gcm";
7340
7307
  ciphertext: string;
7341
- ciphertextHash: string;
7342
7308
  };
7343
7309
  grants: {
7344
7310
  accessLevel: "write" | "admin" | "read";
@@ -7427,9 +7393,7 @@ export declare const createOrganizationGroupOperation: Omit<{
7427
7393
  }[] | undefined;
7428
7394
  }, {
7429
7395
  encryptedPayload: {
7430
- cipherSuite: "aes-256-gcm";
7431
7396
  ciphertext: string;
7432
- ciphertextHash: string;
7433
7397
  };
7434
7398
  grants: {
7435
7399
  accessLevel: "write" | "admin" | "read";
@@ -7518,9 +7482,7 @@ export declare const createOrganizationGroupOperation: Omit<{
7518
7482
  }[] | undefined;
7519
7483
  }, z.core.$ZodTypeInternals<{
7520
7484
  encryptedPayload: {
7521
- cipherSuite: "aes-256-gcm";
7522
7485
  ciphertext: string;
7523
- ciphertextHash: string;
7524
7486
  };
7525
7487
  grants: {
7526
7488
  accessLevel: "write" | "admin" | "read";
@@ -7609,9 +7571,7 @@ export declare const createOrganizationGroupOperation: Omit<{
7609
7571
  }[] | undefined;
7610
7572
  }, {
7611
7573
  encryptedPayload: {
7612
- cipherSuite: "aes-256-gcm";
7613
7574
  ciphertext: string;
7614
- ciphertextHash: string;
7615
7575
  };
7616
7576
  grants: {
7617
7577
  accessLevel: "write" | "admin" | "read";
@@ -7797,12 +7757,21 @@ export declare const createOrganizationGroupOperation: Omit<{
7797
7757
  readonly failureStatuses: readonly [400, 401, 402, 403, 404, 409, 500, 503];
7798
7758
  readonly id: "organizations.groups.create";
7799
7759
  readonly summary: "Create an organization group and advance its signed directory";
7800
- readonly description: "Creates a group with its initial signed principal policy and, in the same transaction, the organization policy successor that adds it to the signed group directory. Only organization administrators may call it. A 202 asks for the identical request to be retried after preparation; a 503 with `committed: false` and code `principal_history_preparation_unavailable` proves nothing was written.";
7760
+ readonly description: "Creates a group with its initial signed principal policy and, in the same transaction, the organization policy successor that adds it to the signed group directory. Only organization administrators may call it. 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; a 503 with `committed: false` and code `principal_history_preparation_unavailable` proves nothing was written.";
7801
7761
  readonly method: "POST";
7802
7762
  readonly params: z.ZodObject<{
7803
7763
  organizationId: z.ZodCustom<string, string>;
7804
7764
  }, z.core.$strict>;
7805
7765
  readonly path: "/organizations/{organizationId}/groups";
7766
+ readonly query: z.ZodType<{
7767
+ readModelCursor?: string | undefined;
7768
+ }, {
7769
+ readModelCursor?: string | undefined;
7770
+ }, z.core.$ZodTypeInternals<{
7771
+ readModelCursor?: string | undefined;
7772
+ }, {
7773
+ readModelCursor?: string | undefined;
7774
+ }>>;
7806
7775
  readonly responseDescriptions: {
7807
7776
  readonly 202: "The attempted operation rolled back. Retry the identical request to continue verification preparation.";
7808
7777
  };
@@ -7859,6 +7828,7 @@ export declare const createOrganizationGroupOperation: Omit<{
7859
7828
  version: number;
7860
7829
  };
7861
7830
  };
7831
+ readModel?: unknown;
7862
7832
  }, {
7863
7833
  group: {
7864
7834
  createdAt: string;
@@ -7906,6 +7876,7 @@ export declare const createOrganizationGroupOperation: Omit<{
7906
7876
  version: number;
7907
7877
  };
7908
7878
  };
7879
+ readModel?: unknown;
7909
7880
  }, z.core.$ZodTypeInternals<{
7910
7881
  group: {
7911
7882
  createdAt: string;
@@ -7953,6 +7924,7 @@ export declare const createOrganizationGroupOperation: Omit<{
7953
7924
  version: number;
7954
7925
  };
7955
7926
  };
7927
+ readModel?: unknown;
7956
7928
  }, {
7957
7929
  group: {
7958
7930
  createdAt: string;
@@ -8000,6 +7972,7 @@ export declare const createOrganizationGroupOperation: Omit<{
8000
7972
  version: number;
8001
7973
  };
8002
7974
  };
7975
+ readModel?: unknown;
8003
7976
  }>>;
8004
7977
  };
8005
7978
  readonly runtimeRefinements: readonly [{
@@ -8008,6 +7981,9 @@ export declare const createOrganizationGroupOperation: Omit<{
8008
7981
  }, {
8009
7982
  readonly id: "response.principal-history-preparation-rollback";
8010
7983
  readonly description: "A 503 with code principal_history_preparation_unavailable requires committed:false; other 503 responses do not guarantee rollback.";
7984
+ }, {
7985
+ readonly description: "read-model lanes match the response organization; grants and memberships are unambiguous; snapshot lanes are complete and contain no deletions";
7986
+ readonly id: "response.organization-read-model-consistency";
8011
7987
  }];
8012
7988
  }, "failureResponses" | "failureStatuses"> & {
8013
7989
  readonly failureResponses: {
@@ -8113,9 +8089,7 @@ export declare const deleteOrganizationGroupOperation: Omit<{
8113
8089
  readonly body: z.ZodType<{
8114
8090
  organizationPolicy: {
8115
8091
  encryptedPayload: {
8116
- cipherSuite: "aes-256-gcm";
8117
8092
  ciphertext: string;
8118
- ciphertextHash: string;
8119
8093
  };
8120
8094
  grants: {
8121
8095
  accessLevel: "write" | "admin" | "read";
@@ -8206,9 +8180,7 @@ export declare const deleteOrganizationGroupOperation: Omit<{
8206
8180
  }, {
8207
8181
  organizationPolicy: {
8208
8182
  encryptedPayload: {
8209
- cipherSuite: "aes-256-gcm";
8210
8183
  ciphertext: string;
8211
- ciphertextHash: string;
8212
8184
  };
8213
8185
  grants: {
8214
8186
  accessLevel: "write" | "admin" | "read";
@@ -8299,9 +8271,7 @@ export declare const deleteOrganizationGroupOperation: Omit<{
8299
8271
  }, z.core.$ZodTypeInternals<{
8300
8272
  organizationPolicy: {
8301
8273
  encryptedPayload: {
8302
- cipherSuite: "aes-256-gcm";
8303
8274
  ciphertext: string;
8304
- ciphertextHash: string;
8305
8275
  };
8306
8276
  grants: {
8307
8277
  accessLevel: "write" | "admin" | "read";
@@ -8392,9 +8362,7 @@ export declare const deleteOrganizationGroupOperation: Omit<{
8392
8362
  }, {
8393
8363
  organizationPolicy: {
8394
8364
  encryptedPayload: {
8395
- cipherSuite: "aes-256-gcm";
8396
8365
  ciphertext: string;
8397
- ciphertextHash: string;
8398
8366
  };
8399
8367
  grants: {
8400
8368
  accessLevel: "write" | "admin" | "read";
@@ -3,7 +3,7 @@ import { documentSyncRequestRuntimeRefinements } from "../documentSyncRefinement
3
3
  import { organizationDataUsageResponseRuntimeRefinements } from "../organizationDataUsageRefinements.js";
4
4
  import { organizationProvisioningContainerKeyringRefinement, organizationProvisioningRequestRuntimeRefinements, organizationProvisioningResponseRuntimeRefinements, } from "../organizationProvisioningRefinements.js";
5
5
  import { organizationReadModelResponseRuntimeRefinements } from "../organizationReadModelRefinements.js";
6
- import { CreateOrganizationGroupWithPolicyRequestSchema, CreateOrganizationRequestSchema, DeleteOrganizationGroupRequestSchema, isCreateOrganizationGroupWithPolicyRequest, isCreateOrganizationRequest, isUpdateOrganizationProfileRequest, isUpdateOrganizationRosterEntryRequest, OrganizationReadModelQuerySchema, UpdateOrganizationProfileRequestSchema, UpdateOrganizationRosterEntryRequestSchema, } from "../request/index.js";
6
+ import { CreateOrganizationGroupWithPolicyRequestSchema, CreateOrganizationRequestSchema, DeleteOrganizationGroupRequestSchema, isCreateOrganizationGroupWithPolicyRequest, isCreateOrganizationRequest, isUpdateOrganizationProfileRequest, isUpdateOrganizationRosterEntryRequest, OrganizationReadModelHeldCursorQuerySchema, OrganizationReadModelQuerySchema, UpdateOrganizationProfileRequestSchema, UpdateOrganizationRosterEntryRequestSchema, } from "../request/index.js";
7
7
  import { CreateOrganizationGroupResponseSchema, CreateOrganizationResponseSchema, DeleteOrganizationGroupResponseSchema, ErrorResponseSchema, isCreateOrganizationGroupResponse, isCreateOrganizationResponse, isDeleteOrganizationGroupResponse, isOrganizationDataUsageResponse, isOrganizationDirectoryUserResponse, isOrganizationGroupMembersResponse, isOrganizationProfileResponse, isOrganizationReadModelResponse, OrganizationDataUsageResponseSchema, OrganizationDirectoryUserResponseSchema, OrganizationGroupMembersResponseSchema, OrganizationPresentationFailureResponseSchema, OrganizationProfileResponseSchema, OrganizationReadModelFailureResponseSchema, OrganizationReadModelResponseSchema, PaymentRequiredErrorResponseSchema, SessionFailureResponseSchema, } from "../response/index.js";
8
8
  import { PrincipalHistoryPreparationFailureResponseSchema, PrincipalHistoryPreparationResponseSchema, principalHistoryRollbackRefinement, } from "../response/principalHistoryPreparation.js";
9
9
  import { uuidV4StringSchema } from "../schema.js";
@@ -111,10 +111,11 @@ export const createOrganizationGroupOperation = defineJsonOperation({
111
111
  failureStatuses: [400, 401, 402, 403, 404, 409, 500, 503],
112
112
  id: "organizations.groups.create",
113
113
  summary: "Create an organization group and advance its signed directory",
114
- description: "Creates a group with its initial signed principal policy and, in the same transaction, the organization policy successor that adds it to the signed group directory. Only organization administrators may call it. A 202 asks for the identical request to be retried after preparation; a 503 with `committed: false` and code `principal_history_preparation_unavailable` proves nothing was written.",
114
+ description: "Creates a group with its initial signed principal policy and, in the same transaction, the organization policy successor that adds it to the signed group directory. Only organization administrators may call it. 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; a 503 with `committed: false` and code `principal_history_preparation_unavailable` proves nothing was written.",
115
115
  method: "POST",
116
116
  params: OrganizationPathParamsSchema,
117
117
  path: "/organizations/{organizationId}/groups",
118
+ query: OrganizationReadModelHeldCursorQuerySchema,
118
119
  responseDescriptions: {
119
120
  202: "The attempted operation rolled back. Retry the identical request to continue verification preparation.",
120
121
  },
@@ -125,6 +126,7 @@ export const createOrganizationGroupOperation = defineJsonOperation({
125
126
  runtimeRefinements: [
126
127
  organizationProvisioningContainerKeyringRefinement,
127
128
  principalHistoryRollbackRefinement,
129
+ ...organizationReadModelResponseRuntimeRefinements,
128
130
  ],
129
131
  });
130
132
  export const deleteOrganizationGroupOperation = defineJsonOperation({
@@ -1 +1 @@
1
- {"version":3,"file":"organizations.js","sourceRoot":"","sources":["organizations.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AACxB,OAAO,EAAE,qCAAqC,EAAE,MAAM,4BAA4B,CAAC;AACnF,OAAO,EAAE,+CAA+C,EAAE,MAAM,qCAAqC,CAAC;AACtG,OAAO,EACL,kDAAkD,EAClD,iDAAiD,EACjD,kDAAkD,GACnD,MAAM,wCAAwC,CAAC;AAChD,OAAO,EAAE,+CAA+C,EAAE,MAAM,qCAAqC,CAAC;AACtG,OAAO,EACL,8CAA8C,EAC9C,+BAA+B,EAC/B,oCAAoC,EACpC,0CAA0C,EAC1C,2BAA2B,EAC3B,kCAAkC,EAClC,sCAAsC,EACtC,gCAAgC,EAChC,sCAAsC,EACtC,0CAA0C,GAC3C,MAAM,YAAY,CAAC;AACpB,OAAO,EACL,qCAAqC,EACrC,gCAAgC,EAChC,qCAAqC,EACrC,mBAAmB,EACnB,iCAAiC,EACjC,4BAA4B,EAC5B,iCAAiC,EACjC,+BAA+B,EAC/B,mCAAmC,EACnC,kCAAkC,EAClC,6BAA6B,EAC7B,+BAA+B,EAC/B,mCAAmC,EACnC,uCAAuC,EACvC,sCAAsC,EACtC,6CAA6C,EAC7C,iCAAiC,EACjC,0CA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,CAAC;AAEH,MAAM,CAAC,MAAM,yCAAyC,GACpD,0CAA0C,CAAC;AAC7C,MAAM,CAAC,MAAM,0CAA0C,GACrD,iCAAiC,CAAC;AACpC,MAAM,CAAC,MAAM,oCAAoC,GAAG,2BAA2B,CAAC;AAChF,MAAM,CAAC,MAAM,qCAAqC,GAChD,4BAA4B,CAAC;AAC/B,MAAM,CAAC,MAAM,0CAA0C,GACrD,iCAAiC,CAAC;AACpC,MAAM,CAAC,MAAM,2CAA2C,GACtD,+BAA+B,CAAC;AAClC,MAAM,CAAC,MAAM,2CAA2C,GACtD,+BAA+B,CAAC;AAClC,MAAM,CAAC,MAAM,+CAA+C,GAC1D,kCAAkC,CAAC;AACrC,MAAM,CAAC,MAAM,2CAA2C,GACtD,kCAAkC,CAAC;AACrC,MAAM,CAAC,MAAM,4CAA4C,GACvD,6BAA6B,CAAC;AAChC,MAAM,CAAC,MAAM,+CAA+C,GAC1D,sCAAsC,CAAC;AACzC,MAAM,CAAC,MAAM,gDAAgD,GAC3D,mCAAmC,CAAC","sourcesContent":["import { z } from \"zod\";\nimport { documentSyncRequestRuntimeRefinements } from \"../documentSyncRefinements\";\nimport { organizationDataUsageResponseRuntimeRefinements } from \"../organizationDataUsageRefinements\";\nimport {\n organizationProvisioningContainerKeyringRefinement,\n organizationProvisioningRequestRuntimeRefinements,\n organizationProvisioningResponseRuntimeRefinements,\n} from \"../organizationProvisioningRefinements\";\nimport { organizationReadModelResponseRuntimeRefinements } from \"../organizationReadModelRefinements\";\nimport {\n CreateOrganizationGroupWithPolicyRequestSchema,\n CreateOrganizationRequestSchema,\n DeleteOrganizationGroupRequestSchema,\n isCreateOrganizationGroupWithPolicyRequest,\n isCreateOrganizationRequest,\n isUpdateOrganizationProfileRequest,\n isUpdateOrganizationRosterEntryRequest,\n OrganizationReadModelQuerySchema,\n UpdateOrganizationProfileRequestSchema,\n UpdateOrganizationRosterEntryRequestSchema,\n} from \"../request\";\nimport {\n CreateOrganizationGroupResponseSchema,\n CreateOrganizationResponseSchema,\n DeleteOrganizationGroupResponseSchema,\n ErrorResponseSchema,\n isCreateOrganizationGroupResponse,\n isCreateOrganizationResponse,\n isDeleteOrganizationGroupResponse,\n isOrganizationDataUsageResponse,\n isOrganizationDirectoryUserResponse,\n isOrganizationGroupMembersResponse,\n isOrganizationProfileResponse,\n isOrganizationReadModelResponse,\n OrganizationDataUsageResponseSchema,\n OrganizationDirectoryUserResponseSchema,\n OrganizationGroupMembersResponseSchema,\n OrganizationPresentationFailureResponseSchema,\n OrganizationProfileResponseSchema,\n OrganizationReadModelFailureResponseSchema,\n OrganizationReadModelResponseSchema,\n PaymentRequiredErrorResponseSchema,\n SessionFailureResponseSchema,\n} from \"../response\";\nimport {\n PrincipalHistoryPreparationFailureResponseSchema,\n PrincipalHistoryPreparationResponseSchema,\n principalHistoryRollbackRefinement,\n} from \"../response/principalHistoryPreparation\";\nimport { uuidV4StringSchema } from \"../schema\";\nimport { defineJsonOperation } from \"./definition\";\n\nconst CreateOrganizationPathParamsSchema = z.strictObject({});\nexport const OrganizationPathParamsSchema = z.strictObject({\n organizationId: uuidV4StringSchema,\n});\nexport const OrganizationGroupPathParamsSchema = z.strictObject({\n organizationId: uuidV4StringSchema,\n groupId: uuidV4StringSchema,\n});\nexport const OrganizationRosterPathParamsSchema = z.strictObject({\n organizationId: uuidV4StringSchema,\n userId: uuidV4StringSchema,\n});\n\nexport type OrganizationPathParams = z.infer<\n typeof OrganizationPathParamsSchema\n>;\nexport type OrganizationGroupPathParams = z.infer<\n typeof OrganizationGroupPathParamsSchema\n>;\nexport type OrganizationRosterPathParams = z.infer<\n typeof OrganizationRosterPathParamsSchema\n>;\n\nexport const createOrganizationOperation = defineJsonOperation({\n auth: \"session\",\n body: CreateOrganizationRequestSchema,\n failureResponses: {\n 400: ErrorResponseSchema,\n 401: SessionFailureResponseSchema,\n 403: ErrorResponseSchema,\n 404: ErrorResponseSchema,\n 409: ErrorResponseSchema,\n 410: z.strictObject({\n code: z.literal(\"organization_creation_purged\"),\n error: z.string(),\n }),\n 500: ErrorResponseSchema,\n 503: ErrorResponseSchema,\n },\n failureStatuses: [400, 401, 403, 404, 409, 410, 500, 503],\n id: \"organizations.create\",\n summary: \"Create an organization\",\n description:\n \"Provisions an additional organization for the signed-in user, who becomes its founding administrator: reserved `Admins` and `Members` groups, root container, signed policies, and metadata documents in one transaction. It also creates the replacement for the caller's purged personal organization, which must use a fresh organization id. An exact ordinary-create replay returns HTTP 410 with organization_creation_purged only after current signer and user/request binding validation proves that its previously committed organization was purged. Reversible unavailability and other failures do not certify abandonment.\",\n method: \"POST\",\n params: CreateOrganizationPathParamsSchema,\n path: \"/organizations\",\n responses: {\n 200: CreateOrganizationResponseSchema,\n },\n runtimeRefinements: [\n ...documentSyncRequestRuntimeRefinements,\n ...organizationProvisioningRequestRuntimeRefinements,\n ...organizationProvisioningResponseRuntimeRefinements,\n ],\n});\n\nexport const getOrganizationDataUsageOperation = defineJsonOperation({\n auth: \"session\",\n failureResponses: {\n 400: ErrorResponseSchema,\n 401: SessionFailureResponseSchema,\n 403: OrganizationPresentationFailureResponseSchema,\n 404: OrganizationPresentationFailureResponseSchema,\n 500: ErrorResponseSchema,\n },\n failureStatuses: [400, 401, 403, 404, 500],\n id: \"organizations.dataUsage.get\",\n summary: \"Get organization data usage\",\n description:\n \"Returns how many bytes of documents and blobs an organization stores, broken down by document category. Any organization member may call it.\",\n method: \"GET\",\n params: OrganizationPathParamsSchema,\n path: \"/organizations/{organizationId}/data-usage\",\n responses: {\n 200: OrganizationDataUsageResponseSchema,\n },\n runtimeRefinements: organizationDataUsageResponseRuntimeRefinements,\n});\n\nexport const getOrganizationReadModelOperation = defineJsonOperation({\n auth: \"session\",\n failureResponses: {\n 400: OrganizationReadModelFailureResponseSchema,\n 401: SessionFailureResponseSchema,\n 403: OrganizationPresentationFailureResponseSchema,\n 404: OrganizationPresentationFailureResponseSchema,\n 500: ErrorResponseSchema,\n },\n failureStatuses: [400, 401, 403, 404, 500],\n id: \"organizations.readModel.get\",\n summary: \"Reconcile the organization read model\",\n description:\n \"Returns the organization read model: display and navigation data for the directory, groups, group memberships, grants, and organization policy. Without a cursor it returns an atomic snapshot; with one, only lanes changed since. Any organization member may call it; the read model is not authority, so clients still verify signed policies and manifests.\",\n method: \"GET\",\n params: OrganizationPathParamsSchema,\n path: \"/organizations/{organizationId}/read-model\",\n query: OrganizationReadModelQuerySchema,\n responses: {\n 200: OrganizationReadModelResponseSchema,\n },\n runtimeRefinements: organizationReadModelResponseRuntimeRefinements,\n});\n\nexport const createOrganizationGroupOperation = defineJsonOperation({\n auth: \"session\",\n body: CreateOrganizationGroupWithPolicyRequestSchema,\n failureResponses: {\n 400: ErrorResponseSchema,\n 401: SessionFailureResponseSchema,\n 402: PaymentRequiredErrorResponseSchema,\n 403: ErrorResponseSchema,\n 404: ErrorResponseSchema,\n 409: ErrorResponseSchema,\n 500: ErrorResponseSchema,\n 503: PrincipalHistoryPreparationFailureResponseSchema,\n },\n failureStatuses: [400, 401, 402, 403, 404, 409, 500, 503],\n id: \"organizations.groups.create\",\n summary: \"Create an organization group and advance its signed directory\",\n description:\n \"Creates a group with its initial signed principal policy and, in the same transaction, the organization policy successor that adds it to the signed group directory. Only organization administrators may call it. A 202 asks for the identical request to be retried after preparation; a 503 with `committed: false` and code `principal_history_preparation_unavailable` proves nothing was written.\",\n method: \"POST\",\n params: OrganizationPathParamsSchema,\n path: \"/organizations/{organizationId}/groups\",\n responseDescriptions: {\n 202: \"The attempted operation rolled back. Retry the identical request to continue verification preparation.\",\n },\n responses: {\n 202: PrincipalHistoryPreparationResponseSchema,\n 200: CreateOrganizationGroupResponseSchema,\n },\n runtimeRefinements: [\n organizationProvisioningContainerKeyringRefinement,\n principalHistoryRollbackRefinement,\n ],\n});\n\nexport const deleteOrganizationGroupOperation = defineJsonOperation({\n auth: \"session\",\n body: DeleteOrganizationGroupRequestSchema,\n failureResponses: {\n 400: ErrorResponseSchema,\n 401: SessionFailureResponseSchema,\n 402: PaymentRequiredErrorResponseSchema,\n 403: ErrorResponseSchema,\n 404: ErrorResponseSchema,\n 409: ErrorResponseSchema,\n 500: ErrorResponseSchema,\n 503: PrincipalHistoryPreparationFailureResponseSchema,\n },\n failureStatuses: [400, 401, 402, 403, 404, 409, 500, 503],\n id: \"organizations.groups.delete\",\n summary: \"Delete an organization group\",\n description:\n \"Deletes a group through a signed organization policy successor that drops it from the directory, leaving a tombstone so its id can never be reused. Only organization administrators may call it. A 202 asks for the identical request to be retried after preparation; a 503 with `committed: false` and code `principal_history_preparation_unavailable` proves nothing was written.\",\n method: \"DELETE\",\n params: OrganizationGroupPathParamsSchema,\n path: \"/organizations/{organizationId}/groups/{groupId}\",\n responseDescriptions: {\n 202: \"The attempted operation rolled back. Retry the identical request to continue verification preparation.\",\n },\n responses: {\n 202: PrincipalHistoryPreparationResponseSchema,\n 200: DeleteOrganizationGroupResponseSchema,\n },\n runtimeRefinements: [\n organizationProvisioningContainerKeyringRefinement,\n principalHistoryRollbackRefinement,\n ],\n});\n\nexport const listOrganizationGroupMembersOperation = defineJsonOperation({\n auth: \"session\",\n failureResponses: {\n 400: ErrorResponseSchema,\n 401: SessionFailureResponseSchema,\n 403: ErrorResponseSchema,\n 404: ErrorResponseSchema,\n 500: ErrorResponseSchema,\n },\n failureStatuses: [400, 401, 403, 404, 500],\n id: \"organizations.groups.members.list\",\n summary: \"List organization group members\",\n description:\n \"Lists the members of an organization group from its current signed policy. Any organization member may call it.\",\n method: \"GET\",\n params: OrganizationGroupPathParamsSchema,\n path: \"/organizations/{organizationId}/groups/{groupId}/members\",\n responses: {\n 200: OrganizationGroupMembersResponseSchema,\n },\n});\n\nexport const updateOrganizationProfileOperation = defineJsonOperation({\n auth: \"session\",\n body: UpdateOrganizationProfileRequestSchema,\n failureResponses: {\n 400: ErrorResponseSchema,\n 401: SessionFailureResponseSchema,\n 402: PaymentRequiredErrorResponseSchema,\n 403: ErrorResponseSchema,\n 404: ErrorResponseSchema,\n 500: ErrorResponseSchema,\n },\n failureStatuses: [400, 401, 402, 403, 404, 500],\n id: \"organizations.profile.update\",\n summary: \"Update the organization profile\",\n description:\n \"Binds, or clears, the organization's encrypted profile document, which holds profile fields such as its name that the server cannot read. Only organization administrators may call it.\",\n method: \"PUT\",\n params: OrganizationPathParamsSchema,\n path: \"/organizations/{organizationId}/profile\",\n responses: {\n 200: OrganizationProfileResponseSchema,\n },\n});\n\nexport const updateOrganizationRosterEntryOperation = defineJsonOperation({\n auth: \"session\",\n body: UpdateOrganizationRosterEntryRequestSchema,\n failureResponses: {\n 400: ErrorResponseSchema,\n 401: SessionFailureResponseSchema,\n 402: PaymentRequiredErrorResponseSchema,\n 403: ErrorResponseSchema,\n 404: ErrorResponseSchema,\n 500: ErrorResponseSchema,\n },\n failureStatuses: [400, 401, 402, 403, 404, 500],\n id: \"organizations.roster.update\",\n summary: \"Bind an encrypted roster profile document\",\n description:\n \"Binds a member's encrypted roster profile document to their organization roster entry. Members may bind their own profile; binding another member's requires organization administrator access.\",\n method: \"PUT\",\n params: OrganizationRosterPathParamsSchema,\n path: \"/organizations/{organizationId}/roster/{userId}\",\n responses: {\n 200: OrganizationDirectoryUserResponseSchema,\n },\n});\n\nexport const isCreateOrganizationGroupOperationRequest =\n isCreateOrganizationGroupWithPolicyRequest;\nexport const isCreateOrganizationGroupOperationResponse =\n isCreateOrganizationGroupResponse;\nexport const isCreateOrganizationOperationRequest = isCreateOrganizationRequest;\nexport const isCreateOrganizationOperationResponse =\n isCreateOrganizationResponse;\nexport const isDeleteOrganizationGroupOperationResponse =\n isDeleteOrganizationGroupResponse;\nexport const isGetOrganizationDataUsageOperationResponse =\n isOrganizationDataUsageResponse;\nexport const isGetOrganizationReadModelOperationResponse =\n isOrganizationReadModelResponse;\nexport const isListOrganizationGroupMembersOperationResponse =\n isOrganizationGroupMembersResponse;\nexport const isUpdateOrganizationProfileOperationRequest =\n isUpdateOrganizationProfileRequest;\nexport const isUpdateOrganizationProfileOperationResponse =\n isOrganizationProfileResponse;\nexport const isUpdateOrganizationRosterEntryOperationRequest =\n isUpdateOrganizationRosterEntryRequest;\nexport const isUpdateOrganizationRosterEntryOperationResponse =\n isOrganizationDirectoryUserResponse;\n"]}
1
+ {"version":3,"file":"organizations.js","sourceRoot":"","sources":["organizations.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AACxB,OAAO,EAAE,qCAAqC,EAAE,MAAM,4BAA4B,CAAC;AACnF,OAAO,EAAE,+CAA+C,EAAE,MAAM,qCAAqC,CAAC;AACtG,OAAO,EACL,kDAAkD,EAClD,iDAAiD,EACjD,kDAAkD,GACnD,MAAM,wCAAwC,CAAC;AAChD,OAAO,EAAE,+CAA+C,EAAE,MAAM,qCAAqC,CAAC;AACtG,OAAO,EACL,8CAA8C,EAC9C,+BAA+B,EAC/B,oCAAoC,EACpC,0CAA0C,EAC1C,2BAA2B,EAC3B,kCAAkC,EAClC,sCAAsC,EACtC,0CAA0C,EAC1C,gCAAgC,EAChC,sCAAsC,EACtC,0CAA0C,GAC3C,MAAM,YAAY,CAAC;AACpB,OAAO,EACL,qCAAqC,EACrC,gCAAgC,EAChC,qCAAqC,EACrC,mBAAmB,EACnB,iCAAiC,EACjC,4BAA4B,EAC5B,iCAAiC,EACjC,+BAA+B,EAC/B,mCAAmC,EACnC,kCAAkC,EAClC,6BAA6B,EAC7B,+BAA+B,EAC/B,mCAAmC,EACnC,uCAAuC,EACvC,sCAAsC,EACtC,6CAA6C,EAC7C,iCAAiC,EACjC,0CAA0C,EAC1C,mCAAmC,EACnC,kCAAkC,EAClC,4BAA4B,GAC7B,MAAM,aAAa,CAAC;AACrB,OAAO,EACL,gDAAgD,EAChD,yCAAyC,EACzC,kCAAkC,GACnC,MAAM,yCAAyC,CAAC;AACjD,OAAO,EAAE,kBAAkB,EAAE,MAAM,WAAW,CAAC;AAC/C,OAAO,EAAE,mBAAmB,EAAE,MAAM,cAAc,CAAC;AAEnD,MAAM,kCAAkC,GA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CAAC,MAAM,0CAA0C,GACrD,iCAAiC,CAAC;AACpC,MAAM,CAAC,MAAM,2CAA2C,GACtD,+BAA+B,CAAC;AAClC,MAAM,CAAC,MAAM,2CAA2C,GACtD,+BAA+B,CAAC;AAClC,MAAM,CAAC,MAAM,+CAA+C,GAC1D,kCAAkC,CAAC;AACrC,MAAM,CAAC,MAAM,2CAA2C,GACtD,kCAAkC,CAAC;AACrC,MAAM,CAAC,MAAM,4CAA4C,GACvD,6BAA6B,CAAC;AAChC,MAAM,CAAC,MAAM,+CAA+C,GAC1D,sCAAsC,CAAC;AACzC,MAAM,CAAC,MAAM,gDAAgD,GAC3D,mCAAmC,CAAC","sourcesContent":["import { z } from \"zod\";\nimport { documentSyncRequestRuntimeRefinements } from \"../documentSyncRefinements\";\nimport { organizationDataUsageResponseRuntimeRefinements } from \"../organizationDataUsageRefinements\";\nimport {\n organizationProvisioningContainerKeyringRefinement,\n organizationProvisioningRequestRuntimeRefinements,\n organizationProvisioningResponseRuntimeRefinements,\n} from \"../organizationProvisioningRefinements\";\nimport { organizationReadModelResponseRuntimeRefinements } from \"../organizationReadModelRefinements\";\nimport {\n CreateOrganizationGroupWithPolicyRequestSchema,\n CreateOrganizationRequestSchema,\n DeleteOrganizationGroupRequestSchema,\n isCreateOrganizationGroupWithPolicyRequest,\n isCreateOrganizationRequest,\n isUpdateOrganizationProfileRequest,\n isUpdateOrganizationRosterEntryRequest,\n OrganizationReadModelHeldCursorQuerySchema,\n OrganizationReadModelQuerySchema,\n UpdateOrganizationProfileRequestSchema,\n UpdateOrganizationRosterEntryRequestSchema,\n} from \"../request\";\nimport {\n CreateOrganizationGroupResponseSchema,\n CreateOrganizationResponseSchema,\n DeleteOrganizationGroupResponseSchema,\n ErrorResponseSchema,\n isCreateOrganizationGroupResponse,\n isCreateOrganizationResponse,\n isDeleteOrganizationGroupResponse,\n isOrganizationDataUsageResponse,\n isOrganizationDirectoryUserResponse,\n isOrganizationGroupMembersResponse,\n isOrganizationProfileResponse,\n isOrganizationReadModelResponse,\n OrganizationDataUsageResponseSchema,\n OrganizationDirectoryUserResponseSchema,\n OrganizationGroupMembersResponseSchema,\n OrganizationPresentationFailureResponseSchema,\n OrganizationProfileResponseSchema,\n OrganizationReadModelFailureResponseSchema,\n OrganizationReadModelResponseSchema,\n PaymentRequiredErrorResponseSchema,\n SessionFailureResponseSchema,\n} from \"../response\";\nimport {\n PrincipalHistoryPreparationFailureResponseSchema,\n PrincipalHistoryPreparationResponseSchema,\n principalHistoryRollbackRefinement,\n} from \"../response/principalHistoryPreparation\";\nimport { uuidV4StringSchema } from \"../schema\";\nimport { defineJsonOperation } from \"./definition\";\n\nconst CreateOrganizationPathParamsSchema = z.strictObject({});\nexport const OrganizationPathParamsSchema = z.strictObject({\n organizationId: uuidV4StringSchema,\n});\nexport const OrganizationGroupPathParamsSchema = z.strictObject({\n organizationId: uuidV4StringSchema,\n groupId: uuidV4StringSchema,\n});\nexport const OrganizationRosterPathParamsSchema = z.strictObject({\n organizationId: uuidV4StringSchema,\n userId: uuidV4StringSchema,\n});\n\nexport type OrganizationPathParams = z.infer<\n typeof OrganizationPathParamsSchema\n>;\nexport type OrganizationGroupPathParams = z.infer<\n typeof OrganizationGroupPathParamsSchema\n>;\nexport type OrganizationRosterPathParams = z.infer<\n typeof OrganizationRosterPathParamsSchema\n>;\n\nexport const createOrganizationOperation = defineJsonOperation({\n auth: \"session\",\n body: CreateOrganizationRequestSchema,\n failureResponses: {\n 400: ErrorResponseSchema,\n 401: SessionFailureResponseSchema,\n 403: ErrorResponseSchema,\n 404: ErrorResponseSchema,\n 409: ErrorResponseSchema,\n 410: z.strictObject({\n code: z.literal(\"organization_creation_purged\"),\n error: z.string(),\n }),\n 500: ErrorResponseSchema,\n 503: ErrorResponseSchema,\n },\n failureStatuses: [400, 401, 403, 404, 409, 410, 500, 503],\n id: \"organizations.create\",\n summary: \"Create an organization\",\n description:\n \"Provisions an additional organization for the signed-in user, who becomes its founding administrator: reserved `Admins` and `Members` groups, root container, signed policies, and metadata documents in one transaction. It also creates the replacement for the caller's purged personal organization, which must use a fresh organization id. An exact ordinary-create replay returns HTTP 410 with organization_creation_purged only after current signer and user/request binding validation proves that its previously committed organization was purged. Reversible unavailability and other failures do not certify abandonment.\",\n method: \"POST\",\n params: CreateOrganizationPathParamsSchema,\n path: \"/organizations\",\n responses: {\n 200: CreateOrganizationResponseSchema,\n },\n runtimeRefinements: [\n ...documentSyncRequestRuntimeRefinements,\n ...organizationProvisioningRequestRuntimeRefinements,\n ...organizationProvisioningResponseRuntimeRefinements,\n ],\n});\n\nexport const getOrganizationDataUsageOperation = defineJsonOperation({\n auth: \"session\",\n failureResponses: {\n 400: ErrorResponseSchema,\n 401: SessionFailureResponseSchema,\n 403: OrganizationPresentationFailureResponseSchema,\n 404: OrganizationPresentationFailureResponseSchema,\n 500: ErrorResponseSchema,\n },\n failureStatuses: [400, 401, 403, 404, 500],\n id: \"organizations.dataUsage.get\",\n summary: \"Get organization data usage\",\n description:\n \"Returns how many bytes of documents and blobs an organization stores, broken down by document category. Any organization member may call it.\",\n method: \"GET\",\n params: OrganizationPathParamsSchema,\n path: \"/organizations/{organizationId}/data-usage\",\n responses: {\n 200: OrganizationDataUsageResponseSchema,\n },\n runtimeRefinements: organizationDataUsageResponseRuntimeRefinements,\n});\n\nexport const getOrganizationReadModelOperation = defineJsonOperation({\n auth: \"session\",\n failureResponses: {\n 400: OrganizationReadModelFailureResponseSchema,\n 401: SessionFailureResponseSchema,\n 403: OrganizationPresentationFailureResponseSchema,\n 404: OrganizationPresentationFailureResponseSchema,\n 500: ErrorResponseSchema,\n },\n failureStatuses: [400, 401, 403, 404, 500],\n id: \"organizations.readModel.get\",\n summary: \"Reconcile the organization read model\",\n description:\n \"Returns the organization read model: display and navigation data for the directory, groups, group memberships, grants, and organization policy. Without a cursor it returns an atomic snapshot; with one, only lanes changed since. Any organization member may call it; the read model is not authority, so clients still verify signed policies and manifests.\",\n method: \"GET\",\n params: OrganizationPathParamsSchema,\n path: \"/organizations/{organizationId}/read-model\",\n query: OrganizationReadModelQuerySchema,\n responses: {\n 200: OrganizationReadModelResponseSchema,\n },\n runtimeRefinements: organizationReadModelResponseRuntimeRefinements,\n});\n\nexport const createOrganizationGroupOperation = defineJsonOperation({\n auth: \"session\",\n body: CreateOrganizationGroupWithPolicyRequestSchema,\n failureResponses: {\n 400: ErrorResponseSchema,\n 401: SessionFailureResponseSchema,\n 402: PaymentRequiredErrorResponseSchema,\n 403: ErrorResponseSchema,\n 404: ErrorResponseSchema,\n 409: ErrorResponseSchema,\n 500: ErrorResponseSchema,\n 503: PrincipalHistoryPreparationFailureResponseSchema,\n },\n failureStatuses: [400, 401, 402, 403, 404, 409, 500, 503],\n id: \"organizations.groups.create\",\n summary: \"Create an organization group and advance its signed directory\",\n description:\n \"Creates a group with its initial signed principal policy and, in the same transaction, the organization policy successor that adds it to the signed group directory. Only organization administrators may call it. 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; a 503 with `committed: false` and code `principal_history_preparation_unavailable` proves nothing was written.\",\n method: \"POST\",\n params: OrganizationPathParamsSchema,\n path: \"/organizations/{organizationId}/groups\",\n query: OrganizationReadModelHeldCursorQuerySchema,\n responseDescriptions: {\n 202: \"The attempted operation rolled back. Retry the identical request to continue verification preparation.\",\n },\n responses: {\n 202: PrincipalHistoryPreparationResponseSchema,\n 200: CreateOrganizationGroupResponseSchema,\n },\n runtimeRefinements: [\n organizationProvisioningContainerKeyringRefinement,\n principalHistoryRollbackRefinement,\n ...organizationReadModelResponseRuntimeRefinements,\n ],\n});\n\nexport const deleteOrganizationGroupOperation = defineJsonOperation({\n auth: \"session\",\n body: DeleteOrganizationGroupRequestSchema,\n failureResponses: {\n 400: ErrorResponseSchema,\n 401: SessionFailureResponseSchema,\n 402: PaymentRequiredErrorResponseSchema,\n 403: ErrorResponseSchema,\n 404: ErrorResponseSchema,\n 409: ErrorResponseSchema,\n 500: ErrorResponseSchema,\n 503: PrincipalHistoryPreparationFailureResponseSchema,\n },\n failureStatuses: [400, 401, 402, 403, 404, 409, 500, 503],\n id: \"organizations.groups.delete\",\n summary: \"Delete an organization group\",\n description:\n \"Deletes a group through a signed organization policy successor that drops it from the directory, leaving a tombstone so its id can never be reused. Only organization administrators may call it. A 202 asks for the identical request to be retried after preparation; a 503 with `committed: false` and code `principal_history_preparation_unavailable` proves nothing was written.\",\n method: \"DELETE\",\n params: OrganizationGroupPathParamsSchema,\n path: \"/organizations/{organizationId}/groups/{groupId}\",\n responseDescriptions: {\n 202: \"The attempted operation rolled back. Retry the identical request to continue verification preparation.\",\n },\n responses: {\n 202: PrincipalHistoryPreparationResponseSchema,\n 200: DeleteOrganizationGroupResponseSchema,\n },\n runtimeRefinements: [\n organizationProvisioningContainerKeyringRefinement,\n principalHistoryRollbackRefinement,\n ],\n});\n\nexport const listOrganizationGroupMembersOperation = defineJsonOperation({\n auth: \"session\",\n failureResponses: {\n 400: ErrorResponseSchema,\n 401: SessionFailureResponseSchema,\n 403: ErrorResponseSchema,\n 404: ErrorResponseSchema,\n 500: ErrorResponseSchema,\n },\n failureStatuses: [400, 401, 403, 404, 500],\n id: \"organizations.groups.members.list\",\n summary: \"List organization group members\",\n description:\n \"Lists the members of an organization group from its current signed policy. Any organization member may call it.\",\n method: \"GET\",\n params: OrganizationGroupPathParamsSchema,\n path: \"/organizations/{organizationId}/groups/{groupId}/members\",\n responses: {\n 200: OrganizationGroupMembersResponseSchema,\n },\n});\n\nexport const updateOrganizationProfileOperation = defineJsonOperation({\n auth: \"session\",\n body: UpdateOrganizationProfileRequestSchema,\n failureResponses: {\n 400: ErrorResponseSchema,\n 401: SessionFailureResponseSchema,\n 402: PaymentRequiredErrorResponseSchema,\n 403: ErrorResponseSchema,\n 404: ErrorResponseSchema,\n 500: ErrorResponseSchema,\n },\n failureStatuses: [400, 401, 402, 403, 404, 500],\n id: \"organizations.profile.update\",\n summary: \"Update the organization profile\",\n description:\n \"Binds, or clears, the organization's encrypted profile document, which holds profile fields such as its name that the server cannot read. Only organization administrators may call it.\",\n method: \"PUT\",\n params: OrganizationPathParamsSchema,\n path: \"/organizations/{organizationId}/profile\",\n responses: {\n 200: OrganizationProfileResponseSchema,\n },\n});\n\nexport const updateOrganizationRosterEntryOperation = defineJsonOperation({\n auth: \"session\",\n body: UpdateOrganizationRosterEntryRequestSchema,\n failureResponses: {\n 400: ErrorResponseSchema,\n 401: SessionFailureResponseSchema,\n 402: PaymentRequiredErrorResponseSchema,\n 403: ErrorResponseSchema,\n 404: ErrorResponseSchema,\n 500: ErrorResponseSchema,\n },\n failureStatuses: [400, 401, 402, 403, 404, 500],\n id: \"organizations.roster.update\",\n summary: \"Bind an encrypted roster profile document\",\n description:\n \"Binds a member's encrypted roster profile document to their organization roster entry. Members may bind their own profile; binding another member's requires organization administrator access.\",\n method: \"PUT\",\n params: OrganizationRosterPathParamsSchema,\n path: \"/organizations/{organizationId}/roster/{userId}\",\n responses: {\n 200: OrganizationDirectoryUserResponseSchema,\n },\n});\n\nexport const isCreateOrganizationGroupOperationRequest =\n isCreateOrganizationGroupWithPolicyRequest;\nexport const isCreateOrganizationGroupOperationResponse =\n isCreateOrganizationGroupResponse;\nexport const isCreateOrganizationOperationRequest = isCreateOrganizationRequest;\nexport const isCreateOrganizationOperationResponse =\n isCreateOrganizationResponse;\nexport const isDeleteOrganizationGroupOperationResponse =\n isDeleteOrganizationGroupResponse;\nexport const isGetOrganizationDataUsageOperationResponse =\n isOrganizationDataUsageResponse;\nexport const isGetOrganizationReadModelOperationResponse =\n isOrganizationReadModelResponse;\nexport const isListOrganizationGroupMembersOperationResponse =\n isOrganizationGroupMembersResponse;\nexport const isUpdateOrganizationProfileOperationRequest =\n isUpdateOrganizationProfileRequest;\nexport const isUpdateOrganizationProfileOperationResponse =\n isOrganizationProfileResponse;\nexport const isUpdateOrganizationRosterEntryOperationRequest =\n isUpdateOrganizationRosterEntryRequest;\nexport const isUpdateOrganizationRosterEntryOperationResponse =\n isOrganizationDirectoryUserResponse;\n"]}