@tearleads/client-sdk 0.1.90 → 0.1.92
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +2 -2
- package/internal/validators/operation/index.d.ts +1 -1
- package/internal/validators/operation/index.js +1 -1
- package/internal/validators/operation/index.js.map +1 -1
- package/internal/validators/operation/root.d.ts +18 -0
- package/internal/validators/operation/root.js +22 -2
- package/internal/validators/operation/root.js.map +1 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -107,7 +107,7 @@ Merging to `main` publishes. When `packages/client-sdk` changes there,
|
|
|
107
107
|
`package.json` if it is newer than npm's `latest`, after running the smoke
|
|
108
108
|
script; a merge that leaves the version alone, a re-run, or a run that finishes
|
|
109
109
|
after a newer release succeeds without publishing
|
|
110
|
-
(`scripts/
|
|
110
|
+
(`scripts/release/npmPublishDecision.ts` makes that call). Because the package
|
|
111
111
|
ships the workspace packages above, `agent-tool.json` lists it under
|
|
112
112
|
`versions.bundles`: a change to any of them also bumps the SDK's version, so it
|
|
113
113
|
publishes too. The workflow authenticates with
|
|
@@ -127,7 +127,7 @@ bun run publish:npm:dry-run client-sdk
|
|
|
127
127
|
bun run publish:npm client-sdk --otp 123456
|
|
128
128
|
```
|
|
129
129
|
|
|
130
|
-
`scripts/publishNpmPackage.sh` rebuilds into a fresh temporary directory,
|
|
130
|
+
`scripts/release/publishNpmPackage.sh` rebuilds into a fresh temporary directory,
|
|
131
131
|
publishes its generated manifest with public access to
|
|
132
132
|
`https://registry.npmjs.org`, and removes the directory on success or failure.
|
|
133
133
|
A temporary `.npmrc` overrides any scope-specific registry without changing
|
|
@@ -23,7 +23,7 @@ export { type PrincipalPolicyPageQuery, PrincipalPolicyPageQuerySchema, } from "
|
|
|
23
23
|
export { commitOrganizationGroupPolicyOperation, getPrincipalPolicyOperation, isCommitOrganizationGroupPolicyOperationRequest, isCommitOrganizationGroupPolicyOperationResponse, isGetPrincipalPolicyOperationResponse, isPutPrincipalPolicyOperationRequest, isPutPrincipalPolicyOperationResponse, type OrganizationGroupPolicyPathParams, OrganizationGroupPolicyPathParamsSchema, type PrincipalPolicyPathParams, PrincipalPolicyPathParamsSchema, putPrincipalPolicyOperation, } from "./principals.js";
|
|
24
24
|
export { getProjectionPolicyHistoryOperation, type ProjectionPolicyHistoryQuery, ProjectionPolicyHistoryQuerySchema, } from "./projectionPolicyHistory.js";
|
|
25
25
|
export { protocolOperations } from "./registry.js";
|
|
26
|
-
export { getRootIdentityOperation, isGetRootIdentityOperationResponse, isListRootIdentitiesOperationResponse, isListRootIdentityOrganizationsOperationResponse, listRootIdentitiesOperation, listRootIdentityOrganizationsOperation, MAX_ROOT_IDENTITY_PAGE_SIZE, type RootIdentitiesQuery, RootIdentitiesQuerySchema, type RootIdentityPathParams, RootIdentityPathParamsSchema, } from "./root.js";
|
|
26
|
+
export { getRootIdentityOperation, isGetRootIdentityOperationResponse, isListRootIdentitiesOperationResponse, isListRootIdentityOrganizationsOperationResponse, listRootIdentitiesOperation, listRootIdentityOrganizationsOperation, MAX_ROOT_IDENTITY_PAGE_SIZE, MIN_ROOT_FINGERPRINT_PREFIX_LENGTH, type RootIdentitiesQuery, RootIdentitiesQuerySchema, type RootIdentityPathParams, RootIdentityPathParamsSchema, } from "./root.js";
|
|
27
27
|
export { getRootOrganizationDataUsageOperation, getRootOrganizationOperation, listRootDataUsageReportOperation, listRootOrganizationIdentitiesOperation, listRootOrganizationsOperation, type RootOrganizationPageQuery, type RootOrganizationsQuery, } from "./rootOrganizations.js";
|
|
28
28
|
export { cancelStripeSubscriptionOperation, createStripeCheckoutOperation, createStripeCheckoutSessionOperation, createStripePortalOperation, getStripeCheckoutOptionsOperation, isCancelStripeSubscriptionOperationResponse, isCreateStripeCheckoutOperationResponse, isCreateStripeCheckoutSessionOperationRequest, isCreateStripeCheckoutSessionOperationResponse, isCreateStripePortalOperationRequest, isCreateStripePortalOperationResponse, isGetStripeCheckoutOptionsOperationResponse, type StripeCheckoutPathParams, StripeCheckoutPathParamsSchema, } from "./stripeCheckout.js";
|
|
29
29
|
export { type ContainerWriterProjectionPathParams, ContainerWriterProjectionPathParamsSchema, type DocumentWriterProjectionPathParams, DocumentWriterProjectionPathParamsSchema, getContainerWriterProjectionOperation, getDocumentWriterProjectionOperation, isGetContainerWriterProjectionOperationResponse, isGetDocumentWriterProjectionOperationResponse, } from "./writerProjections.js";
|
|
@@ -23,7 +23,7 @@ export { PrincipalPolicyPageQuerySchema, } from "./principalPolicyPageQuery.js";
|
|
|
23
23
|
export { commitOrganizationGroupPolicyOperation, getPrincipalPolicyOperation, isCommitOrganizationGroupPolicyOperationRequest, isCommitOrganizationGroupPolicyOperationResponse, isGetPrincipalPolicyOperationResponse, isPutPrincipalPolicyOperationRequest, isPutPrincipalPolicyOperationResponse, OrganizationGroupPolicyPathParamsSchema, PrincipalPolicyPathParamsSchema, putPrincipalPolicyOperation, } from "./principals.js";
|
|
24
24
|
export { getProjectionPolicyHistoryOperation, ProjectionPolicyHistoryQuerySchema, } from "./projectionPolicyHistory.js";
|
|
25
25
|
export { protocolOperations } from "./registry.js";
|
|
26
|
-
export { getRootIdentityOperation, isGetRootIdentityOperationResponse, isListRootIdentitiesOperationResponse, isListRootIdentityOrganizationsOperationResponse, listRootIdentitiesOperation, listRootIdentityOrganizationsOperation, MAX_ROOT_IDENTITY_PAGE_SIZE, RootIdentitiesQuerySchema, RootIdentityPathParamsSchema, } from "./root.js";
|
|
26
|
+
export { getRootIdentityOperation, isGetRootIdentityOperationResponse, isListRootIdentitiesOperationResponse, isListRootIdentityOrganizationsOperationResponse, listRootIdentitiesOperation, listRootIdentityOrganizationsOperation, MAX_ROOT_IDENTITY_PAGE_SIZE, MIN_ROOT_FINGERPRINT_PREFIX_LENGTH, RootIdentitiesQuerySchema, RootIdentityPathParamsSchema, } from "./root.js";
|
|
27
27
|
export { getRootOrganizationDataUsageOperation, getRootOrganizationOperation, listRootDataUsageReportOperation, listRootOrganizationIdentitiesOperation, listRootOrganizationsOperation, } from "./rootOrganizations.js";
|
|
28
28
|
export { cancelStripeSubscriptionOperation, createStripeCheckoutOperation, createStripeCheckoutSessionOperation, createStripePortalOperation, getStripeCheckoutOptionsOperation, isCancelStripeSubscriptionOperationResponse, isCreateStripeCheckoutOperationResponse, isCreateStripeCheckoutSessionOperationRequest, isCreateStripeCheckoutSessionOperationResponse, isCreateStripePortalOperationRequest, isCreateStripePortalOperationResponse, isGetStripeCheckoutOptionsOperationResponse, StripeCheckoutPathParamsSchema, } from "./stripeCheckout.js";
|
|
29
29
|
export { ContainerWriterProjectionPathParamsSchema, DocumentWriterProjectionPathParamsSchema, getContainerWriterProjectionOperation, getDocumentWriterProjectionOperation, isGetContainerWriterProjectionOperationResponse, isGetDocumentWriterProjectionOperationResponse, } from "./writerProjections.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,EAC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C,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 type PrincipalPolicyPageQuery,\n PrincipalPolicyPageQuerySchema,\n} from \"./principalPolicyPageQuery\";\nexport {\n commitOrganizationGroupPolicyOperation,\n getPrincipalPolicyOperation,\n isCommitOrganizationGroupPolicyOperationRequest,\n isCommitOrganizationGroupPolicyOperationResponse,\n isGetPrincipalPolicyOperationResponse,\n isPutPrincipalPolicyOperationRequest,\n isPutPrincipalPolicyOperationResponse,\n type OrganizationGroupPolicyPathParams,\n OrganizationGroupPolicyPathParamsSchema,\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 type RootIdentitiesQuery,\n RootIdentitiesQuerySchema,\n type RootIdentityPathParams,\n RootIdentityPathParamsSchema,\n} from \"./root\";\nexport {\n getRootOrganizationDataUsageOperation,\n getRootOrganizationOperation,\n listRootDataUsageReportOperation,\n listRootOrganizationIdentitiesOperation,\n listRootOrganizationsOperation,\n type RootOrganizationPageQuery,\n type RootOrganizationsQuery,\n} from \"./rootOrganizations\";\nexport {\n cancelStripeSubscriptionOperation,\n createStripeCheckoutOperation,\n createStripeCheckoutSessionOperation,\n createStripePortalOperation,\n getStripeCheckoutOptionsOperation,\n isCancelStripeSubscriptionOperationResponse,\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","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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port {\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 type PrincipalPolicyPageQuery,\n PrincipalPolicyPageQuerySchema,\n} from \"./principalPolicyPageQuery\";\nexport {\n commitOrganizationGroupPolicyOperation,\n getPrincipalPolicyOperation,\n isCommitOrganizationGroupPolicyOperationRequest,\n isCommitOrganizationGroupPolicyOperationResponse,\n isGetPrincipalPolicyOperationResponse,\n isPutPrincipalPolicyOperationRequest,\n isPutPrincipalPolicyOperationResponse,\n type OrganizationGroupPolicyPathParams,\n OrganizationGroupPolicyPathParamsSchema,\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 getRootOrganizationDataUsageOperation,\n getRootOrganizationOperation,\n listRootDataUsageReportOperation,\n listRootOrganizationIdentitiesOperation,\n listRootOrganizationsOperation,\n type RootOrganizationPageQuery,\n type RootOrganizationsQuery,\n} from \"./rootOrganizations\";\nexport {\n cancelStripeSubscriptionOperation,\n createStripeCheckoutOperation,\n createStripeCheckoutSessionOperation,\n createStripePortalOperation,\n getStripeCheckoutOptionsOperation,\n isCancelStripeSubscriptionOperationResponse,\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,6 +1,8 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
import { ErrorResponseSchema, isRootIdentitiesResponse, isRootIdentityDetailResponse, isRootIdentityOrganizationsResponse } from "../response/index.js";
|
|
3
3
|
export declare const MAX_ROOT_IDENTITY_PAGE_SIZE = 200;
|
|
4
|
+
/** Shortest signing key fingerprint prefix the identity listing accepts. */
|
|
5
|
+
export declare const MIN_ROOT_FINGERPRINT_PREFIX_LENGTH = 8;
|
|
4
6
|
export declare function rootIdentityPageLimitSchema(): z.ZodUnion<readonly [z.ZodNumber, z.ZodString]>;
|
|
5
7
|
export declare const RootIdentityPathParamsSchema: z.ZodObject<{
|
|
6
8
|
userId: z.ZodCustom<string, string>;
|
|
@@ -10,18 +12,26 @@ export declare const RootIdentitiesQuerySchema: z.ZodType<{
|
|
|
10
12
|
cursor?: string | undefined;
|
|
11
13
|
fingerprint?: string | undefined;
|
|
12
14
|
limit?: string | number | undefined;
|
|
15
|
+
rootOnly?: boolean | "true" | "false" | undefined;
|
|
16
|
+
userId?: string | undefined;
|
|
13
17
|
}, {
|
|
14
18
|
cursor?: string | undefined;
|
|
15
19
|
fingerprint?: string | undefined;
|
|
16
20
|
limit?: string | number | undefined;
|
|
21
|
+
rootOnly?: boolean | "true" | "false" | undefined;
|
|
22
|
+
userId?: string | undefined;
|
|
17
23
|
}, z.core.$ZodTypeInternals<{
|
|
18
24
|
cursor?: string | undefined;
|
|
19
25
|
fingerprint?: string | undefined;
|
|
20
26
|
limit?: string | number | undefined;
|
|
27
|
+
rootOnly?: boolean | "true" | "false" | undefined;
|
|
28
|
+
userId?: string | undefined;
|
|
21
29
|
}, {
|
|
22
30
|
cursor?: string | undefined;
|
|
23
31
|
fingerprint?: string | undefined;
|
|
24
32
|
limit?: string | number | undefined;
|
|
33
|
+
rootOnly?: boolean | "true" | "false" | undefined;
|
|
34
|
+
userId?: string | undefined;
|
|
25
35
|
}>>;
|
|
26
36
|
export type RootIdentitiesQuery = z.infer<typeof RootIdentitiesQuerySchema>;
|
|
27
37
|
export declare const listRootIdentitiesOperation: Omit<{
|
|
@@ -77,18 +87,26 @@ export declare const listRootIdentitiesOperation: Omit<{
|
|
|
77
87
|
cursor?: string | undefined;
|
|
78
88
|
fingerprint?: string | undefined;
|
|
79
89
|
limit?: string | number | undefined;
|
|
90
|
+
rootOnly?: boolean | "true" | "false" | undefined;
|
|
91
|
+
userId?: string | undefined;
|
|
80
92
|
}, {
|
|
81
93
|
cursor?: string | undefined;
|
|
82
94
|
fingerprint?: string | undefined;
|
|
83
95
|
limit?: string | number | undefined;
|
|
96
|
+
rootOnly?: boolean | "true" | "false" | undefined;
|
|
97
|
+
userId?: string | undefined;
|
|
84
98
|
}, z.core.$ZodTypeInternals<{
|
|
85
99
|
cursor?: string | undefined;
|
|
86
100
|
fingerprint?: string | undefined;
|
|
87
101
|
limit?: string | number | undefined;
|
|
102
|
+
rootOnly?: boolean | "true" | "false" | undefined;
|
|
103
|
+
userId?: string | undefined;
|
|
88
104
|
}, {
|
|
89
105
|
cursor?: string | undefined;
|
|
90
106
|
fingerprint?: string | undefined;
|
|
91
107
|
limit?: string | number | undefined;
|
|
108
|
+
rootOnly?: boolean | "true" | "false" | undefined;
|
|
109
|
+
userId?: string | undefined;
|
|
92
110
|
}>>;
|
|
93
111
|
readonly responses: {
|
|
94
112
|
readonly 200: z.ZodType<{
|
|
@@ -1,9 +1,12 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
import { registerJsonSchemaFragment } from "../jsonSchema.js";
|
|
3
3
|
import { ErrorResponseSchema, isRootIdentitiesResponse, isRootIdentityDetailResponse, isRootIdentityOrganizationsResponse, RootIdentitiesResponseSchema, RootIdentityDetailResponseSchema, RootIdentityOrganizationsResponseSchema, SessionFailureResponseSchema, } from "../response/index.js";
|
|
4
|
-
import { loosePlainObject,
|
|
4
|
+
import { loosePlainObject, uuidV4StringSchema } from "../schema.js";
|
|
5
|
+
import { SHA256_HEX_LENGTH } from "../util/protocol.js";
|
|
5
6
|
import { defineJsonOperation } from "./definition.js";
|
|
6
7
|
export const MAX_ROOT_IDENTITY_PAGE_SIZE = 200;
|
|
8
|
+
/** Shortest signing key fingerprint prefix the identity listing accepts. */
|
|
9
|
+
export const MIN_ROOT_FINGERPRINT_PREFIX_LENGTH = 8;
|
|
7
10
|
const DIGITS_PATTERN = /^\d+$/u;
|
|
8
11
|
// Query values arrive as strings over HTTP and as numbers from typed clients;
|
|
9
12
|
// both are accepted, and the OpenAPI view stays a bounded integer.
|
|
@@ -21,14 +24,31 @@ export function rootIdentityPageLimitSchema() {
|
|
|
21
24
|
}
|
|
22
25
|
}), { maximum: MAX_ROOT_IDENTITY_PAGE_SIZE, minimum: 1, type: "integer" });
|
|
23
26
|
}
|
|
27
|
+
// A prefix of a lowercase hex signing key fingerprint; the full 64 characters
|
|
28
|
+
// match exactly one identity.
|
|
29
|
+
const rootFingerprintPrefixSchema = registerJsonSchemaFragment(z
|
|
30
|
+
.string()
|
|
31
|
+
.regex(new RegExp(`^[0-9a-f]{${MIN_ROOT_FINGERPRINT_PREFIX_LENGTH},${SHA256_HEX_LENGTH}}$`, "u")), {
|
|
32
|
+
maxLength: SHA256_HEX_LENGTH,
|
|
33
|
+
minLength: MIN_ROOT_FINGERPRINT_PREFIX_LENGTH,
|
|
34
|
+
pattern: "^[0-9a-f]+$",
|
|
35
|
+
type: "string",
|
|
36
|
+
});
|
|
37
|
+
// Like `limit`, the flag arrives as a string over HTTP and as a boolean from
|
|
38
|
+
// typed clients; the OpenAPI view stays a boolean.
|
|
39
|
+
const rootOnlyFlagSchema = registerJsonSchemaFragment(z.union([z.boolean(), z.literal(["true", "false"])]), { type: "boolean" });
|
|
24
40
|
const RootPathParamsSchema = z.strictObject({});
|
|
25
41
|
export const RootIdentityPathParamsSchema = z.strictObject({
|
|
26
42
|
userId: uuidV4StringSchema,
|
|
27
43
|
});
|
|
28
44
|
export const RootIdentitiesQuerySchema = loosePlainObject({
|
|
29
45
|
cursor: z.string().min(1).optional(),
|
|
30
|
-
fingerprint
|
|
46
|
+
/** 8 to 64 leading characters of the signing key fingerprint. */
|
|
47
|
+
fingerprint: rootFingerprintPrefixSchema.optional(),
|
|
31
48
|
limit: rootIdentityPageLimitSchema().optional(),
|
|
49
|
+
/** Only identities that currently hold root. */
|
|
50
|
+
rootOnly: rootOnlyFlagSchema.optional(),
|
|
51
|
+
userId: uuidV4StringSchema.optional(),
|
|
32
52
|
});
|
|
33
53
|
const rootFailureResponses = {
|
|
34
54
|
400: ErrorResponseSchema,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"root.js","sourceRoot":"","sources":["root.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AACxB,OAAO,EAAE,0BAA0B,EAAE,MAAM,eAAe,CAAC;AAC3D,OAAO,EACL,mBAAmB,EACnB,wBAAwB,EACxB,4BAA4B,EAC5B,mCAAmC,EACnC,4BAA4B,EAC5B,gCAAgC,EAChC,uCAAuC,EACvC,4BAA4B,GAC7B,MAAM,aAAa,CAAC;AACrB,OAAO,
|
|
1
|
+
{"version":3,"file":"root.js","sourceRoot":"","sources":["root.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AACxB,OAAO,EAAE,0BAA0B,EAAE,MAAM,eAAe,CAAC;AAC3D,OAAO,EACL,mBAAmB,EACnB,wBAAwB,EACxB,4BAA4B,EAC5B,mCAAmC,EACnC,4BAA4B,EA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,CAAC,CAAC;AAEH,MAAM,CAAC,MAAM,qCAAqC,GAAG,wBAAwB,CAAC;AAC9E,MAAM,CAAC,MAAM,kCAAkC,GAAG,4BAA4B,CAAC;AAC/E,MAAM,CAAC,MAAM,gDAAgD,GAC3D,mCAAmC,CAAC","sourcesContent":["import { z } from \"zod\";\nimport { registerJsonSchemaFragment } from \"../jsonSchema\";\nimport {\n ErrorResponseSchema,\n isRootIdentitiesResponse,\n isRootIdentityDetailResponse,\n isRootIdentityOrganizationsResponse,\n RootIdentitiesResponseSchema,\n RootIdentityDetailResponseSchema,\n RootIdentityOrganizationsResponseSchema,\n SessionFailureResponseSchema,\n} from \"../response\";\nimport { loosePlainObject, uuidV4StringSchema } from \"../schema\";\nimport { SHA256_HEX_LENGTH } from \"../util/protocol\";\nimport { defineJsonOperation } from \"./definition\";\n\nexport const MAX_ROOT_IDENTITY_PAGE_SIZE = 200;\n/** Shortest signing key fingerprint prefix the identity listing accepts. */\nexport const MIN_ROOT_FINGERPRINT_PREFIX_LENGTH = 8;\n\nconst DIGITS_PATTERN = /^\\d+$/u;\n\n// Query values arrive as strings over HTTP and as numbers from typed clients;\n// both are accepted, and the OpenAPI view stays a bounded integer.\nexport function rootIdentityPageLimitSchema() {\n return registerJsonSchemaFragment(\n z.union([z.number(), z.string()]).superRefine((value, context) => {\n if (typeof value === \"string\" && !DIGITS_PATTERN.test(value)) {\n context.addIssue({ code: \"custom\", message: \"Invalid limit\" });\n return;\n }\n const parsed = Number(value);\n if (\n !Number.isSafeInteger(parsed) ||\n parsed < 1 ||\n parsed > MAX_ROOT_IDENTITY_PAGE_SIZE\n ) {\n context.addIssue({ code: \"custom\", message: \"Invalid limit\" });\n }\n }),\n { maximum: MAX_ROOT_IDENTITY_PAGE_SIZE, minimum: 1, type: \"integer\" },\n );\n}\n\n// A prefix of a lowercase hex signing key fingerprint; the full 64 characters\n// match exactly one identity.\nconst rootFingerprintPrefixSchema = registerJsonSchemaFragment(\n z\n .string()\n .regex(\n new RegExp(\n `^[0-9a-f]{${MIN_ROOT_FINGERPRINT_PREFIX_LENGTH},${SHA256_HEX_LENGTH}}$`,\n \"u\",\n ),\n ),\n {\n maxLength: SHA256_HEX_LENGTH,\n minLength: MIN_ROOT_FINGERPRINT_PREFIX_LENGTH,\n pattern: \"^[0-9a-f]+$\",\n type: \"string\",\n },\n);\n\n// Like `limit`, the flag arrives as a string over HTTP and as a boolean from\n// typed clients; the OpenAPI view stays a boolean.\nconst rootOnlyFlagSchema = registerJsonSchemaFragment(\n z.union([z.boolean(), z.literal([\"true\", \"false\"])]),\n { type: \"boolean\" },\n);\n\nconst RootPathParamsSchema = z.strictObject({});\nexport const RootIdentityPathParamsSchema = z.strictObject({\n userId: uuidV4StringSchema,\n});\nexport type RootIdentityPathParams = z.infer<\n typeof RootIdentityPathParamsSchema\n>;\n\nexport const RootIdentitiesQuerySchema = loosePlainObject({\n cursor: z.string().min(1).optional(),\n /** 8 to 64 leading characters of the signing key fingerprint. */\n fingerprint: rootFingerprintPrefixSchema.optional(),\n limit: rootIdentityPageLimitSchema().optional(),\n /** Only identities that currently hold root. */\n rootOnly: rootOnlyFlagSchema.optional(),\n userId: uuidV4StringSchema.optional(),\n});\nexport type RootIdentitiesQuery = z.infer<typeof RootIdentitiesQuerySchema>;\n\nconst rootFailureResponses = {\n 400: ErrorResponseSchema,\n 401: SessionFailureResponseSchema,\n 403: ErrorResponseSchema,\n 500: ErrorResponseSchema,\n} as const;\n\nexport const listRootIdentitiesOperation = defineJsonOperation({\n auth: \"session\",\n failureResponses: rootFailureResponses,\n failureStatuses: [400, 401, 403, 500],\n id: \"root.identities.list\",\n method: \"GET\",\n params: RootPathParamsSchema,\n path: \"/root/identities\",\n query: RootIdentitiesQuerySchema,\n responses: {\n 200: RootIdentitiesResponseSchema,\n },\n});\n\nexport const getRootIdentityOperation = defineJsonOperation({\n auth: \"session\",\n failureResponses: { ...rootFailureResponses, 404: ErrorResponseSchema },\n failureStatuses: [400, 401, 403, 404, 500],\n id: \"root.identities.get\",\n method: \"GET\",\n params: RootIdentityPathParamsSchema,\n path: \"/root/identities/{userId}\",\n responses: {\n 200: RootIdentityDetailResponseSchema,\n },\n});\n\nexport const listRootIdentityOrganizationsOperation = defineJsonOperation({\n auth: \"session\",\n failureResponses: { ...rootFailureResponses, 404: ErrorResponseSchema },\n failureStatuses: [400, 401, 403, 404, 500],\n id: \"root.identities.organizations.list\",\n method: \"GET\",\n params: RootIdentityPathParamsSchema,\n path: \"/root/identities/{userId}/organizations\",\n responses: {\n 200: RootIdentityOrganizationsResponseSchema,\n },\n});\n\nexport const isListRootIdentitiesOperationResponse = isRootIdentitiesResponse;\nexport const isGetRootIdentityOperationResponse = isRootIdentityDetailResponse;\nexport const isListRootIdentityOrganizationsOperationResponse =\n isRootIdentityOrganizationsResponse;\n"]}
|
package/package.json
CHANGED