@tearleads/client-sdk 0.1.95 → 0.1.96

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 (34) hide show
  1. package/client/root/index.d.ts +6 -2
  2. package/client/root/index.js +3 -1
  3. package/client/root/index.js.map +1 -1
  4. package/index.d.ts +1 -1
  5. package/index.js +1 -1
  6. package/index.js.map +1 -1
  7. package/internal/api-client/ApiClient.d.ts +4 -2
  8. package/internal/api-client/ApiClient.js +7 -1
  9. package/internal/api-client/ApiClient.js.map +1 -1
  10. package/internal/validators/operation/index.d.ts +1 -0
  11. package/internal/validators/operation/index.js +1 -0
  12. package/internal/validators/operation/index.js.map +1 -1
  13. package/internal/validators/operation/registry.d.ts +3 -0
  14. package/internal/validators/operation/registry.js +3 -0
  15. package/internal/validators/operation/registry.js.map +1 -1
  16. package/internal/validators/operation/rootRevenuecat.d.ts +462 -0
  17. package/internal/validators/operation/rootRevenuecat.js +53 -0
  18. package/internal/validators/operation/rootRevenuecat.js.map +1 -0
  19. package/internal/validators/response/index.d.ts +1 -0
  20. package/internal/validators/response/index.js +1 -0
  21. package/internal/validators/response/index.js.map +1 -1
  22. package/internal/validators/response/rootAudit.d.ts +2 -2
  23. package/internal/validators/response/rootAudit.js +2 -0
  24. package/internal/validators/response/rootAudit.js.map +1 -1
  25. package/internal/validators/response/rootRevenuecat.d.ts +375 -0
  26. package/internal/validators/response/rootRevenuecat.js +65 -0
  27. package/internal/validators/response/rootRevenuecat.js.map +1 -0
  28. package/package.json +1 -1
  29. package/workflows/root/index.d.ts +1 -0
  30. package/workflows/root/index.js +1 -0
  31. package/workflows/root/index.js.map +1 -1
  32. package/workflows/root/revenuecat.d.ts +21 -0
  33. package/workflows/root/revenuecat.js +8 -0
  34. package/workflows/root/revenuecat.js.map +1 -0
@@ -0,0 +1,53 @@
1
+ import { z } from "zod";
2
+ import { ErrorResponseSchema, RootOrganizationRevenuecatEventsResponseSchema, RootRevenuecatDispositionSchema, RootRevenuecatEventsReportResponseSchema, SessionFailureResponseSchema, } from "../response/index.js";
3
+ import { loosePlainObject, uuidV4StringSchema } from "../schema.js";
4
+ import { defineJsonOperation } from "./definition.js";
5
+ import { rootIdentityPageLimitSchema } from "./root.js";
6
+ const pageShape = {
7
+ cursor: z.string().min(1).optional(),
8
+ limit: rootIdentityPageLimitSchema().optional(),
9
+ };
10
+ const RootRevenuecatEventsQuerySchema = loosePlainObject(pageShape);
11
+ const RootRevenuecatEventsReportQuerySchema = loosePlainObject({
12
+ ...pageShape,
13
+ /** Which deliveries to list; both when omitted. */
14
+ disposition: RootRevenuecatDispositionSchema.optional(),
15
+ });
16
+ const failureResponses = {
17
+ 400: ErrorResponseSchema,
18
+ 401: SessionFailureResponseSchema,
19
+ 403: ErrorResponseSchema,
20
+ 500: ErrorResponseSchema,
21
+ };
22
+ /**
23
+ * An organization's stored RevenueCat webhook deliveries, newest first: the
24
+ * ones resolved to it (applied or ignored) and the transfers that moved a
25
+ * purchase away from it.
26
+ */
27
+ export const listRootOrganizationRevenuecatEventsOperation = defineJsonOperation({
28
+ auth: "session",
29
+ failureResponses,
30
+ failureStatuses: [400, 401, 403, 500],
31
+ id: "root.organizations.revenuecatEvents.list",
32
+ method: "GET",
33
+ params: z.strictObject({ organizationId: uuidV4StringSchema }),
34
+ path: "/root/organizations/{organizationId}/revenuecat-events",
35
+ query: RootRevenuecatEventsQuerySchema,
36
+ responses: { 200: RootOrganizationRevenuecatEventsResponseSchema },
37
+ });
38
+ /**
39
+ * Deliveries across every organization that resolved to none, or that the
40
+ * handler ignored, newest first.
41
+ */
42
+ export const listRootRevenuecatEventsReportOperation = defineJsonOperation({
43
+ auth: "session",
44
+ failureResponses,
45
+ failureStatuses: [400, 401, 403, 500],
46
+ id: "root.reports.revenuecatEvents.list",
47
+ method: "GET",
48
+ params: z.strictObject({}),
49
+ path: "/root/reports/revenuecat-events",
50
+ query: RootRevenuecatEventsReportQuerySchema,
51
+ responses: { 200: RootRevenuecatEventsReportResponseSchema },
52
+ });
53
+ //# sourceMappingURL=rootRevenuecat.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"rootRevenuecat.js","sourceRoot":"","sources":["rootRevenuecat.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AACxB,OAAO,EACL,mBAAmB,EACnB,8CAA8C,EAC9C,+BAA+B,EAC/B,wCAAwC,EACxC,4BAA4B,GAC7B,MAAM,aAAa,CAAC;AACrB,OAAO,EAAE,gBAAgB,EAAE,kBAAkB,EAAE,MAAM,WAAW,CAAC;AACjE,OAAO,EAAE,mBAAmB,EAAE,MAAM,cAAc,CAAC;AACnD,OAAO,EAAE,2BAA2B,EAAE,MAAM,QAAQ,CAAC;AAErD,MAAM,SAAS,GAAG;IAChB,MAAM,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC,QAAQ,EAAE;IACpC,KAAK,EAAE,2BAA2B,EAAE,CAAC,QAAQ,EAAE;CAChD,CAAC;AACF,MAAM,+BAA+B,GAAG,gBAAgB,CAAC,SAAS,CAAC,CAAC;AAIpE,MAAM,qCAAqC,GAAG,gBAAgB,CAAC;IAC7D,GAAG,SAAS;IACZ,mDAAmD;IACnD,WAAW,EAAE,+BAA+B,CAAC,QAAQ,EAAE;CACxD,CAAC,CAAC;AAIH,MAAM,gBAAgB,GAAG;IACvB,GAAG,EAAE,mBAAmB;IACxB,GAAG,EAAE,4BAA4B;IACjC,GAAG,EAAE,mBAAmB;IACxB,GAAG,EAAE,mBAAmB;CAChB,CAAC;AAEX;;;;GAIG;AACH,MAAM,CAAC,MAAM,6CAA6C,GACxD,mBAAmB,CAAC;IAClB,IAAI,EAAE,SAAS;IACf,gBAAgB;IAChB,eAAe,EAAE,CAAC,GAAG,EAAE,GAAG,EAAE,GAAG,EAAE,GAAG,CAAC;IACrC,EAAE,EAAE,0CAA0C;IAC9C,MAAM,EAAE,KAAK;IACb,MAAM,EAAE,CAAC,CAAC,YAAY,CAAC,EAAE,cAAc,EAAE,kBAAkB,EAAE,CAAC;IAC9D,IAAI,EAAE,wDAAwD;IAC9D,KAAK,EAAE,+BAA+B;IACtC,SAAS,EAAE,EAAE,GAAG,EAAE,8CAA8C,EAAE;CACnE,CAAC,CAAC;AAEL;;;GAGG;AACH,MAAM,CAAC,MAAM,uCAAuC,GAAG,mBAAmB,CAAC;IACzE,IAAI,EAAE,SAAS;IACf,gBAAgB;IAChB,eAAe,EAAE,CAAC,GAAG,EAAE,GAAG,EAAE,GAAG,EAAE,GAAG,CAAC;IACrC,EAAE,EAAE,oCAAoC;IACxC,MAAM,EAAE,KAAK;IACb,MAAM,EAAE,CAAC,CAAC,YAAY,CAAC,EAAE,CAAC;IAC1B,IAAI,EAAE,iCAAiC;IACvC,KAAK,EAAE,qCAAqC;IAC5C,SAAS,EAAE,EAAE,GAAG,EAAE,wCAAwC,EAAE;CAC7D,CAAC,CAAC","sourcesContent":["import { z } from \"zod\";\nimport {\n ErrorResponseSchema,\n RootOrganizationRevenuecatEventsResponseSchema,\n RootRevenuecatDispositionSchema,\n RootRevenuecatEventsReportResponseSchema,\n SessionFailureResponseSchema,\n} from \"../response\";\nimport { loosePlainObject, uuidV4StringSchema } from \"../schema\";\nimport { defineJsonOperation } from \"./definition\";\nimport { rootIdentityPageLimitSchema } from \"./root\";\n\nconst pageShape = {\n cursor: z.string().min(1).optional(),\n limit: rootIdentityPageLimitSchema().optional(),\n};\nconst RootRevenuecatEventsQuerySchema = loosePlainObject(pageShape);\nexport type RootRevenuecatEventsQuery = z.infer<\n typeof RootRevenuecatEventsQuerySchema\n>;\nconst RootRevenuecatEventsReportQuerySchema = loosePlainObject({\n ...pageShape,\n /** Which deliveries to list; both when omitted. */\n disposition: RootRevenuecatDispositionSchema.optional(),\n});\nexport type RootRevenuecatEventsReportQuery = z.infer<\n typeof RootRevenuecatEventsReportQuerySchema\n>;\nconst failureResponses = {\n 400: ErrorResponseSchema,\n 401: SessionFailureResponseSchema,\n 403: ErrorResponseSchema,\n 500: ErrorResponseSchema,\n} as const;\n\n/**\n * An organization's stored RevenueCat webhook deliveries, newest first: the\n * ones resolved to it (applied or ignored) and the transfers that moved a\n * purchase away from it.\n */\nexport const listRootOrganizationRevenuecatEventsOperation =\n defineJsonOperation({\n auth: \"session\",\n failureResponses,\n failureStatuses: [400, 401, 403, 500],\n id: \"root.organizations.revenuecatEvents.list\",\n method: \"GET\",\n params: z.strictObject({ organizationId: uuidV4StringSchema }),\n path: \"/root/organizations/{organizationId}/revenuecat-events\",\n query: RootRevenuecatEventsQuerySchema,\n responses: { 200: RootOrganizationRevenuecatEventsResponseSchema },\n });\n\n/**\n * Deliveries across every organization that resolved to none, or that the\n * handler ignored, newest first.\n */\nexport const listRootRevenuecatEventsReportOperation = defineJsonOperation({\n auth: \"session\",\n failureResponses,\n failureStatuses: [400, 401, 403, 500],\n id: \"root.reports.revenuecatEvents.list\",\n method: \"GET\",\n params: z.strictObject({}),\n path: \"/root/reports/revenuecat-events\",\n query: RootRevenuecatEventsReportQuerySchema,\n responses: { 200: RootRevenuecatEventsReportResponseSchema },\n});\n"]}
@@ -40,6 +40,7 @@ export { isRootIdentitiesResponse, isRootIdentityDetailResponse, isRootIdentityO
40
40
  export { ROOT_AUDIT_ACTIONS, type RootAuditAction, RootAuditActionSchema, type RootAuditEventResponse, RootAuditEventResponseSchema, type RootAuditEventsResponse, RootAuditEventsResponseSchema, } from "./rootAudit.js";
41
41
  export { ROOT_OPS_HEALTH_OVERDUE_MINUTES, ROOT_OPS_HEALTH_SECTION_LIMIT, ROOT_OPS_HEALTH_UPCOMING_DAYS, ROOT_SEAT_SYNC_CONDITIONS, type RootOpsHealthReportResponse, RootOpsHealthReportResponseSchema, RootSeatSyncConditionSchema, } from "./rootOpsHealth.js";
42
42
  export { type RootDataUsageReportResponse, RootDataUsageReportResponseSchema, type RootOrganizationDetailResponse, RootOrganizationDetailResponseSchema, type RootOrganizationIdentitiesResponse, RootOrganizationIdentitiesResponseSchema, type RootOrganizationIdentityResponse, RootOrganizationIdentityResponseSchema, type RootOrganizationSummaryResponse, RootOrganizationSummaryResponseSchema, type RootOrganizationsResponse, RootOrganizationsResponseSchema, } from "./rootOrganizations.js";
43
+ export { ROOT_REVENUECAT_DISPOSITIONS, ROOT_REVENUECAT_EVENT_ROLES, type RootOrganizationRevenuecatEventResponse, RootOrganizationRevenuecatEventResponseSchema, type RootOrganizationRevenuecatEventsResponse, RootOrganizationRevenuecatEventsResponseSchema, type RootRevenuecatDisposition, RootRevenuecatDispositionSchema, type RootRevenuecatEventResponse, RootRevenuecatEventResponseSchema, type RootRevenuecatEventsReportResponse, RootRevenuecatEventsReportResponseSchema, } from "./rootRevenuecat.js";
43
44
  export { isStripeCancelResponse, isStripeCheckoutIntentResponse, isStripeCheckoutOptionsResponse, isStripeCheckoutSessionResponse, isStripePortalResponse, type StripeCancelResponse, StripeCancelResponseSchema, type StripeCheckoutIntentResponse, StripeCheckoutIntentResponseSchema, type StripeCheckoutOptionsResponse, StripeCheckoutOptionsResponseSchema, type StripeCheckoutSessionResponse, StripeCheckoutSessionResponseSchema, type StripePortalResponse, StripePortalResponseSchema, type StripeSyncOptionResponse, StripeSyncOptionResponseSchema, } from "./stripeCheckout.js";
44
45
  export { isSyncWatermark, type SyncWatermark, SyncWatermarkSchema, } from "./syncWatermark.js";
45
46
  export { decodeContainerWriterProjection, decodeDocumentWriterProjection, encodeContainerWriterProjection, encodeDocumentWriterProjection, } from "./writerProjectionWire.js";
@@ -39,6 +39,7 @@ export { isRootIdentitiesResponse, isRootIdentityDetailResponse, isRootIdentityO
39
39
  export { ROOT_AUDIT_ACTIONS, RootAuditActionSchema, RootAuditEventResponseSchema, RootAuditEventsResponseSchema, } from "./rootAudit.js";
40
40
  export { ROOT_OPS_HEALTH_OVERDUE_MINUTES, ROOT_OPS_HEALTH_SECTION_LIMIT, ROOT_OPS_HEALTH_UPCOMING_DAYS, ROOT_SEAT_SYNC_CONDITIONS, RootOpsHealthReportResponseSchema, RootSeatSyncConditionSchema, } from "./rootOpsHealth.js";
41
41
  export { RootDataUsageReportResponseSchema, RootOrganizationDetailResponseSchema, RootOrganizationIdentitiesResponseSchema, RootOrganizationIdentityResponseSchema, RootOrganizationSummaryResponseSchema, RootOrganizationsResponseSchema, } from "./rootOrganizations.js";
42
+ export { ROOT_REVENUECAT_DISPOSITIONS, ROOT_REVENUECAT_EVENT_ROLES, RootOrganizationRevenuecatEventResponseSchema, RootOrganizationRevenuecatEventsResponseSchema, RootRevenuecatDispositionSchema, RootRevenuecatEventResponseSchema, RootRevenuecatEventsReportResponseSchema, } from "./rootRevenuecat.js";
42
43
  export { isStripeCancelResponse, isStripeCheckoutIntentResponse, isStripeCheckoutOptionsResponse, isStripeCheckoutSessionResponse, isStripePortalResponse, StripeCancelResponseSchema, StripeCheckoutIntentResponseSchema, StripeCheckoutOptionsResponseSchema, StripeCheckoutSessionResponseSchema, StripePortalResponseSchema, StripeSyncOptionResponseSchema, } from "./stripeCheckout.js";
43
44
  export { isSyncWatermark, SyncWatermarkSchema, } from "./syncWatermark.js";
44
45
  export { decodeContainerWriterProjection, decodeDocumentWriterProjection, encodeContainerWriterProjection, encodeDocumentWriterProjection, } from "./writerProjectionWire.js";
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":"AAAA,OAAO,EAEL,kCAAkC,GACnC,MAAM,SAAS,CAAC;AACjB,OAAO,EAEL,0BAA0B,EAC1B,sBAAsB,GACvB,MAAM,eAAe,CAAC;AACvB,OAAO,EAEL,4BAA4B,EAE5B,uBAAuB,EAEvB,4BAA4B,EAC5B,wBAAwB,EACxB,mBAAmB,EACnB,wBAAwB,EACxB,sBAAsB,EACtB,+BAA+B,EAC/B,sBAAsB,EACtB,qBAAqB,EACrB,gBAAgB,EAChB,yBAAyB,EAEzB,0BAA0B,EAC1B,mBAAmB,EAEnB,sBAAsB,EAEtB,4BAA4B,EAE5B,0B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C,MAAM,QAAQ,CAAC;AAChB,OAAO,EACL,kBAAkB,EAElB,qBAAqB,EAErB,4BAA4B,EAE5B,6BAA6B,GAC9B,MAAM,aAAa,CAAC;AACrB,OAAO,EACL,+BAA+B,EAC/B,6BAA6B,EAC7B,6BAA6B,EAC7B,yBAAyB,EAEzB,iCAAiC,EACjC,2BAA2B,GAC5B,MAAM,iBAAiB,CAAC;AACzB,OAAO,EAEL,iCAAiC,EAEjC,oCAAoC,EAEpC,wCAAwC,EAExC,sCAAsC,EAEtC,qCAAqC,EAErC,+BAA+B,GAChC,MAAM,qBAAqB,CAAC;AAC7B,OAAO,EACL,sBAAsB,EACtB,8BAA8B,EAC9B,+BAA+B,EAC/B,+BAA+B,EAC/B,sBAAsB,EAEtB,0BAA0B,EAE1B,kCAAkC,EAElC,mCAAmC,EAEnC,mCAAmC,EAEnC,0BAA0B,EAE1B,8BAA8B,GAC/B,MAAM,kBAAkB,CAAC;AAC1B,OAAO,EACL,eAAe,EAEf,mBAAmB,GACpB,MAAM,iBAAiB,CAAC;AACzB,OAAO,EACL,+BAA+B,EAC/B,8BAA8B,EAC9B,+BAA+B,EAC/B,8BAA8B,GAC/B,MAAM,wBAAwB,CAAC","sourcesContent":["export {\n type AccessManifestBundleWireResponse,\n isAccessManifestBundleWireResponse,\n} from \"../util\";\nexport {\n type EffectiveAccessLevel,\n EffectiveAccessLevelSchema,\n isEffectiveAccessLevel,\n} from \"./accessLevel\";\nexport {\n type ChallengeErrorResponse,\n ChallengeErrorResponseSchema,\n type ChallengeResponse,\n ChallengeResponseSchema,\n type DestroySessionResponse,\n DestroySessionResponseSchema,\n isChallengeErrorResponse,\n isChallengeResponse,\n isDestroySessionResponse,\n isListSessionsResponse,\n isSessionRefreshRequiredFailure,\n isUserIdentityResponse,\n isUserSessionResponse,\n isVerifyResponse,\n isWebSocketTicketResponse,\n type ListSessionsResponse,\n ListSessionsResponseSchema,\n SESSION_ERROR_CODES,\n type SessionErrorCode,\n SessionErrorCodeSchema,\n type SessionFailureResponse,\n SessionFailureResponseSchema,\n type UserIdentityResponse,\n UserIdentityResponseSchema,\n type UserSessionResponse,\n UserSessionResponseSchema,\n VERIFY_ERROR_CODES,\n type VerifyFailureResponse,\n VerifyFailureResponseSchema,\n type VerifyResponse,\n type VerifySuccessResponse,\n VerifySuccessResponseSchema,\n type WebSocketTicketResponse,\n WebSocketTicketResponseSchema,\n} from \"./auth\";\nexport {\n isRevenueCatWebhookResponse,\n isStripeWebhookResponse,\n type RevenueCatWebhookResponse,\n RevenueCatWebhookResponseSchema,\n type StripeWebhookResponse,\n StripeWebhookResponseSchema,\n} from \"./billingWebhooks\";\nexport {\n type BlobAttachmentBindResponse,\n BlobAttachmentBindResponseSchema,\n type BlobAttachmentDetachResponse,\n BlobAttachmentDetachResponseSchema,\n type BlobAttachmentSummary,\n BlobAttachmentSummarySchema,\n type BlobContentKeyBundleResponse,\n BlobContentKeyBundleResponseSchema,\n type BlobContentKeyTargetEnvelopeResponse,\n BlobContentKeyTargetEnvelopeResponseSchema,\n type BlobKekTargetsResponse,\n BlobKekTargetsResponseSchema,\n type InitiateMultipartBlobStageResponse,\n InitiateMultipartBlobStageResponseSchema,\n isBlobAttachmentBindResponse,\n isBlobAttachmentDetachResponse,\n isInitiateMultipartBlobStageResponse,\n isListDocumentAttachmentsResponse,\n isMultipartBlobStageStatusResponse,\n isUploadMultipartBlobPartResponse,\n type ListDocumentAttachmentsResponse,\n ListDocumentAttachmentsResponseSchema,\n type MultipartBlobStagePart,\n MultipartBlobStagePartSchema,\n type MultipartBlobStageStatusResponse,\n MultipartBlobStageStatusResponseSchema,\n type UploadMultipartBlobPartResponse,\n UploadMultipartBlobPartResponseSchema,\n} from \"./blob\";\nexport {\n BLOB_MUTATION_ERROR_CODES,\n type BlobMutationErrorCode,\n type BlobMutationFailureResponse,\n BlobMutationFailureResponseSchema,\n} from \"./blobMutationError\";\nexport {\n CONTAINER_PROJECTION_STATE_INVALID_ERROR_CODE,\n type ContainerDeleteResponse,\n ContainerDeleteResponseSchema,\n type ContainerKekKeyringWireResponse,\n type ContainerKekLogEpochResponse,\n ContainerKekLogEpochResponseSchema,\n type ContainerKekLogResponse,\n ContainerKekLogResponseSchema,\n type ContainerKekResponse,\n type ContainerKeyingPathResponse,\n ContainerKeyingPathResponseSchema,\n type ContainerMutationResponse,\n ContainerMutationResponseSchema,\n type ContainerReciteResponse,\n ContainerReciteResponseSchema,\n type ContainerRotationResponse,\n ContainerRotationResponseSchema,\n type ContainerSummary,\n ContainerSummaryResponseSchema,\n type ContainerSyncTombstone,\n ContainerSyncTombstoneResponseSchema,\n ContainerWriterProjectionErrorResponseSchema,\n type ContainerWriterProjectionResponse,\n ContainerWriterProjectionResponseSchema,\n type ContainerWriterProjectionWireResponse,\n ContainerWriterProjectionWireResponseSchema,\n isContainerDeleteResponse,\n isContainerKekLogResponse,\n isContainerMutationResponse,\n isContainerReciteResponse,\n isContainerRotationResponse,\n isContainerWriterProjectionResponse,\n isContainerWriterProjectionWireResponse,\n isListContainersResponse,\n type ListContainersResponse,\n ListContainersResponseSchema,\n} from \"./container\";\nexport type { ListContainerDocumentLanesResponse } from \"./containerDocumentLanes\";\nexport {\n type ContainerCreateWithMetadataDocumentResponse,\n ContainerCreateWithMetadataDocumentResponseSchema,\n isContainerCreateWithMetadataDocumentResponse,\n} from \"./containerMetadata\";\nexport {\n CONTAINER_MUTATION_ERROR_CODES,\n ContainerMutationBehaviorErrorCodeSchema,\n type ContainerMutationErrorCode,\n ContainerMutationErrorCodeSchema,\n type ContainerMutationFailureResponse,\n ContainerMutationFailureResponseSchema,\n} from \"./containerMutationError\";\nexport {\n CONTAINER_NOT_FOUND_ERROR_CODE,\n type ContainerNotFoundErrorResponse,\n ContainerNotFoundErrorResponseSchema,\n} from \"./containerNotFoundError\";\nexport {\n isListContainerParentLanesResponse,\n type ListContainerParentLanesResponse,\n ListContainerParentLanesResponseSchema,\n} from \"./containerParentLanes\";\nexport {\n CONTAINER_UNAVAILABLE_ERROR_CODE,\n type ContainerUnavailableErrorCode,\n} from \"./containerUnavailableError\";\nexport {\n type ContainerDocumentSummary,\n ContainerDocumentSummaryResponseSchema,\n type ContainerDocumentSyncTombstone,\n ContainerDocumentSyncTombstoneResponseSchema,\n type DocumentEditAttributionRangeResponse,\n DocumentEditAttributionRangeResponseSchema,\n type DocumentEditAttributionResponse,\n DocumentEditAttributionResponseSchema,\n type DocumentEditAttributionSegmentResponse,\n DocumentEditAttributionSegmentResponseSchema,\n isDocumentEditAttributionResponse,\n isListDocumentEditAttributionRangesResponse,\n type ListContainerDocumentsResponse,\n ListContainerDocumentsResponseSchema,\n type ListDocumentEditAttributionRangesResponse,\n ListDocumentEditAttributionRangesResponseSchema,\n} from \"./document\";\nexport {\n type DocumentContentKeyBundleResponse,\n DocumentContentKeyBundleResponseSchema,\n type DocumentContentKeyTargetEnvelopeResponse,\n DocumentContentKeyTargetEnvelopeResponseSchema,\n type DocumentCreateResponse,\n DocumentCreateResponseSchema,\n type DocumentCreateSeedResponse,\n type DocumentKekTargetsResponse,\n DocumentKekTargetsResponseSchema,\n type DocumentLinkSetMutationResponse,\n DocumentLinkSetMutationResponseSchema,\n type DocumentPurgeProofResponse,\n DocumentPurgeProofResponseSchema,\n type DocumentPurgeResponse,\n DocumentPurgeResponseSchema,\n type DocumentSyncPullPageResponse,\n DocumentSyncPullPageResponseSchema,\n type DocumentSyncResponse,\n DocumentSyncResponseSchema,\n type DocumentSyncUpdateResponse,\n DocumentSyncUpdateResponseSchema,\n type DocumentWriterProjectionResponse,\n DocumentWriterProjectionResponseSchema,\n type DocumentWriterProjectionWireResponse,\n DocumentWriterProjectionWireResponseSchema,\n documentKekTargetsFromContentKeyBundle,\n isDocumentContentKeyBundleResponse,\n isDocumentCreateResponse,\n isDocumentKekTargetsResponse,\n isDocumentLinkSetMutationResponse,\n isDocumentPurgeProofResponse,\n isDocumentPurgeResponse,\n isDocumentSyncResponse,\n isDocumentWriterProjectionResponse,\n isDocumentWriterProjectionWireResponse,\n} from \"./documentMutation\";\nexport {\n DOCUMENT_MUTATION_ERROR_CODES,\n DocumentMutationBehaviorErrorCodeSchema,\n type DocumentMutationErrorCode,\n DocumentMutationErrorCodeSchema,\n type DocumentMutationFailureResponse,\n DocumentMutationFailureResponseSchema,\n} from \"./documentMutationError\";\nexport {\n DOCUMENT_NOT_FOUND_ERROR_CODE,\n DOCUMENT_PROJECTION_ERROR_CODES,\n DOCUMENT_SYNC_ERROR_CODES,\n type DocumentNotFoundErrorCode,\n type DocumentNotFoundErrorResponse,\n DocumentNotFoundErrorResponseSchema,\n type DocumentProjectionErrorCode,\n DocumentProjectionErrorCodeSchema,\n type DocumentSyncErrorCode,\n DocumentSyncErrorCodeSchema,\n type DocumentSyncErrorResponse,\n DocumentSyncErrorResponseSchema,\n type DocumentSyncStateStaleErrorResponse,\n DocumentSyncStateStaleErrorResponseSchema,\n type DocumentWriterProjectionErrorResponse,\n DocumentWriterProjectionErrorResponseSchema,\n isDocumentSyncErrorCode,\n isDocumentSyncErrorResponse,\n isDocumentSyncStateStaleErrorResponse,\n} from \"./documentSyncError\";\nexport {\n type ErrorResponse,\n ErrorResponseSchema,\n isErrorResponse,\n} from \"./error\";\nexport {\n type HealthResponse,\n HealthResponseSchema,\n isHealthResponse,\n} from \"./health\";\nexport {\n MULTIPART_BLOB_STAGE_ERROR_CODES,\n type MultipartBlobStageConflictErrorResponse,\n MultipartBlobStageConflictErrorResponseSchema,\n type MultipartBlobStageErrorCode,\n type MultipartBlobStageExpiredErrorResponse,\n MultipartBlobStageExpiredErrorResponseSchema,\n type MultipartBlobStageNotFoundErrorResponse,\n MultipartBlobStageNotFoundErrorResponseSchema,\n} from \"./multipartBlobStageError\";\nexport {\n type CreateOrganizationGroupResponse,\n CreateOrganizationGroupResponseSchema,\n type DeleteOrganizationGroupResponse,\n DeleteOrganizationGroupResponseSchema,\n isCreateOrganizationGroupResponse,\n isDeleteOrganizationGroupResponse,\n isListOrganizationGroupsResponse,\n isOrganizationContainerGrantResponse,\n isOrganizationContainerGrantSubjectType,\n isOrganizationContainerGrantsResponse,\n isOrganizationDirectoryResponse,\n isOrganizationDirectoryUserResponse,\n isOrganizationGroupContainerAccessLevel,\n isOrganizationGroupContainerResponse,\n isOrganizationGroupContainersResponse,\n isOrganizationGroupCurrentStateResponse,\n isOrganizationGroupMemberResponse,\n isOrganizationGroupMembersResponse,\n isOrganizationGroupSummaryResponse,\n isOrganizationProfileResponse,\n isOrganizationUserDetailGrantsResponse,\n isOrganizationUserDetailResponse,\n type ListOrganizationGroupsResponse,\n ListOrganizationGroupsResponseSchema,\n type OrganizationContainerGrantResponse,\n OrganizationContainerGrantResponseSchema,\n type OrganizationContainerGrantSubjectType,\n type OrganizationContainerGrantsResponse,\n OrganizationContainerGrantsResponseSchema,\n type OrganizationDirectoryResponse,\n OrganizationDirectoryResponseSchema,\n type OrganizationDirectoryUserResponse,\n OrganizationDirectoryUserResponseSchema,\n type OrganizationGroupContainerAccessLevel,\n type OrganizationGroupContainerResponse,\n OrganizationGroupContainerResponseSchema,\n type OrganizationGroupContainersResponse,\n OrganizationGroupContainersResponseSchema,\n type OrganizationGroupCurrentStateResponse,\n OrganizationGroupCurrentStateResponseSchema,\n type OrganizationGroupMemberResponse,\n OrganizationGroupMemberResponseSchema,\n type OrganizationGroupMembersResponse,\n OrganizationGroupMembersResponseSchema,\n type OrganizationGroupSummaryResponse,\n OrganizationGroupSummaryResponseSchema,\n type OrganizationProfileResponse,\n OrganizationProfileResponseSchema,\n type OrganizationRole,\n type OrganizationRosterStatus,\n type OrganizationUserDetailGrantsResponse,\n OrganizationUserDetailGrantsResponseSchema,\n type OrganizationUserDetailResponse,\n OrganizationUserDetailResponseSchema,\n} from \"./organization\";\nexport {\n type BillingErrorResponse,\n BillingErrorResponseSchema,\n isOrganizationBillingProvider,\n isOrganizationBillingResponse,\n isOrganizationBillingStatus,\n isPaymentRequiredErrorResponse,\n type OrganizationBillingProvider,\n OrganizationBillingProviderSchema,\n type OrganizationBillingResponse,\n OrganizationBillingResponseSchema,\n type OrganizationBillingStatus,\n OrganizationBillingStatusSchema,\n type OrganizationBillingSubscriptionSource,\n OrganizationBillingSubscriptionSourceSchema,\n type PaymentRequiredErrorResponse,\n PaymentRequiredErrorResponseSchema,\n} from \"./organizationBilling\";\nexport {\n isOrganizationBillingHistoryResponse,\n type OrganizationBillingHistoryCategory,\n OrganizationBillingHistoryCategorySchema,\n type OrganizationBillingHistoryEntry,\n OrganizationBillingHistoryEntrySchema,\n type OrganizationBillingHistoryEnvironment,\n OrganizationBillingHistoryEnvironmentSchema,\n type OrganizationBillingHistoryOutcome,\n OrganizationBillingHistoryOutcomeSchema,\n type OrganizationBillingHistoryProvider,\n OrganizationBillingHistoryProviderSchema,\n type OrganizationBillingHistoryResponse,\n OrganizationBillingHistoryResponseSchema,\n} from \"./organizationBillingHistory\";\nexport {\n isOrganizationBillingManagementUrlResponse,\n type OrganizationBillingManagementUrlResponse,\n OrganizationBillingManagementUrlResponseSchema,\n} from \"./organizationBillingManagementUrl\";\nexport {\n isOrganizationDataUsageResponse,\n ORGANIZATION_DOCUMENT_USAGE_CATEGORIES,\n type OrganizationBlobDataUsageResponse,\n type OrganizationDataUsageResponse,\n OrganizationDataUsageResponseSchema,\n type OrganizationDocumentDataUsageResponse,\n type OrganizationDocumentUsageCategory,\n type OrganizationDocumentUsageCategoryBreakdown,\n} from \"./organizationDataUsage\";\nexport {\n isOrganizationMembershipResponse,\n isOrganizationMembershipsResponse,\n type OrganizationMembershipResponse,\n OrganizationMembershipResponseSchema,\n type OrganizationMembershipsResponse,\n OrganizationMembershipsResponseSchema,\n} from \"./organizationMembership\";\nexport {\n isOrganizationNativePurchaseEligibilityResponse,\n type OrganizationNativePurchaseEligibilityResponse,\n OrganizationNativePurchaseEligibilityResponseSchema,\n type OrganizationNativePurchaseIneligibilityReason,\n OrganizationNativePurchaseIneligibilityReasonSchema,\n} from \"./organizationNativePurchaseEligibility\";\nexport {\n type OrganizationPolicyHistoryResponse,\n OrganizationPolicyHistoryResponseSchema,\n PRINCIPAL_DISPLAY_HISTORY_PAGE_SIZE,\n} from \"./organizationPolicyHistory\";\nexport {\n ORGANIZATION_PRESENTATION_ERROR_CODES,\n type OrganizationPresentationErrorCode,\n OrganizationPresentationErrorCodeSchema,\n type OrganizationPresentationFailureResponse,\n OrganizationPresentationFailureResponseSchema,\n} from \"./organizationPresentationError\";\nexport {\n type CreateOrganizationResponse,\n CreateOrganizationResponseSchema,\n isCreateOrganizationResponse,\n isOrganizationProvisioningResponse,\n type OrganizationProvisioningResponse,\n OrganizationProvisioningResponseSchema,\n} from \"./organizationProvisioning\";\nexport {\n isOrganizationReadModelResponse,\n type OrganizationReadModelDeltaResponse,\n type OrganizationReadModelDirectoryResponse,\n type OrganizationReadModelGrantsResponse,\n type OrganizationReadModelGroupMemberResponse,\n type OrganizationReadModelGroupMembershipResponse,\n type OrganizationReadModelGroupMembershipsResponse,\n type OrganizationReadModelOrganizationPolicyResponse,\n type OrganizationReadModelResponse,\n OrganizationReadModelResponseSchema,\n type OrganizationReadModelSnapshotResponse,\n} from \"./organizationReadModel\";\nexport {\n ORGANIZATION_READ_MODEL_ERROR_CODES,\n type OrganizationReadModelErrorCode,\n OrganizationReadModelErrorCodeSchema,\n type OrganizationReadModelFailureResponse,\n OrganizationReadModelFailureResponseSchema,\n} from \"./organizationReadModelError\";\nexport {\n CommitOrganizationGroupPolicyConflictResponseSchema,\n type CommitOrganizationGroupPolicyResponse,\n CommitOrganizationGroupPolicyResponseSchema,\n type CurrentPrincipalMemberEnvelopesResponse,\n CurrentPrincipalMemberEnvelopesResponseSchema,\n isCommitOrganizationGroupPolicyResponse,\n isCurrentPrincipalMemberEnvelopesResponse,\n isPrincipalPolicyBundleResponse,\n isPrincipalPolicyMutationResponse,\n isPrincipalPolicyStaleErrorResponse,\n isPrincipalPolicyStateChainEntryResponse,\n isPrincipalStatePayloadResponse,\n isPrincipalStateResponse,\n type PrincipalContainerGrantResponse,\n PrincipalContainerGrantResponseSchema,\n type PrincipalMemberEnvelopeResponse,\n PrincipalMemberEnvelopeResponseSchema,\n type PrincipalPolicyBundleResponse,\n PrincipalPolicyBundleResponseSchema,\n type PrincipalPolicyErrorResponse,\n PrincipalPolicyErrorResponseSchema,\n type PrincipalPolicyMutationResponse,\n PrincipalPolicyMutationResponseSchema,\n type PrincipalPolicySnapshotResponse,\n PrincipalPolicySnapshotResponseSchema,\n type PrincipalPolicyStaleErrorResponse,\n PrincipalPolicyStaleErrorResponseSchema,\n type PrincipalPolicyStateChainEntryResponse,\n PrincipalPolicyStateChainEntryResponseSchema,\n type PrincipalProjectionMemberResponse,\n PrincipalProjectionMemberResponseSchema,\n type PrincipalStateExternalAuthorityResponse,\n PrincipalStateExternalAuthorityResponseSchema,\n type PrincipalStatePayloadResponse,\n PrincipalStatePayloadResponseSchema,\n type PrincipalStateResponse,\n PrincipalStateResponseSchema,\n} from \"./principal\";\nexport {\n isPrincipalPolicyPageResponse,\n type PrincipalPolicyPageResponse,\n PrincipalPolicyPageResponseSchema,\n} from \"./principalPolicyPage\";\nexport {\n isPrincipalPolicySnapshotPageResponse,\n type PrincipalPolicyHistorySourceResponse,\n PrincipalPolicyHistorySourceResponseSchema,\n type PrincipalPolicySnapshotPageResponse,\n PrincipalPolicySnapshotPageResponseSchema,\n} from \"./principalPolicySnapshotPage\";\nexport {\n isReferencedPrincipalStateResponse,\n type ReferencedPrincipalStateResponse,\n ReferencedPrincipalStateResponseSchema,\n} from \"./principalReference\";\nexport {\n type ProjectionPolicyEvidenceResponse,\n ProjectionPolicyEvidenceResponseSchema,\n} from \"./projectionPolicyEvidence\";\nexport {\n isRegistrationResponse,\n type RegistrationResponse,\n RegistrationResponseSchema,\n} from \"./registration\";\nexport {\n isRootIdentitiesResponse,\n isRootIdentityDetailResponse,\n isRootIdentityOrganizationsResponse,\n isRootIdentitySuspensionResponse,\n type RootIdentitiesResponse,\n RootIdentitiesResponseSchema,\n type RootIdentityDetailResponse,\n RootIdentityDetailResponseSchema,\n type RootIdentityOrganizationBillingResponse,\n RootIdentityOrganizationBillingResponseSchema,\n type RootIdentityOrganizationResponse,\n RootIdentityOrganizationResponseSchema,\n type RootIdentityOrganizationsResponse,\n RootIdentityOrganizationsResponseSchema,\n type RootIdentitySessionResponse,\n RootIdentitySessionResponseSchema,\n type RootIdentitySummaryResponse,\n RootIdentitySummaryResponseSchema,\n type RootIdentitySuspensionResponse,\n RootIdentitySuspensionResponseSchema,\n} from \"./root\";\nexport {\n ROOT_AUDIT_ACTIONS,\n type RootAuditAction,\n RootAuditActionSchema,\n type RootAuditEventResponse,\n RootAuditEventResponseSchema,\n type RootAuditEventsResponse,\n RootAuditEventsResponseSchema,\n} from \"./rootAudit\";\nexport {\n ROOT_OPS_HEALTH_OVERDUE_MINUTES,\n ROOT_OPS_HEALTH_SECTION_LIMIT,\n ROOT_OPS_HEALTH_UPCOMING_DAYS,\n ROOT_SEAT_SYNC_CONDITIONS,\n type RootOpsHealthReportResponse,\n RootOpsHealthReportResponseSchema,\n RootSeatSyncConditionSchema,\n} from \"./rootOpsHealth\";\nexport {\n type RootDataUsageReportResponse,\n RootDataUsageReportResponseSchema,\n type RootOrganizationDetailResponse,\n RootOrganizationDetailResponseSchema,\n type RootOrganizationIdentitiesResponse,\n RootOrganizationIdentitiesResponseSchema,\n type RootOrganizationIdentityResponse,\n RootOrganizationIdentityResponseSchema,\n type RootOrganizationSummaryResponse,\n RootOrganizationSummaryResponseSchema,\n type RootOrganizationsResponse,\n RootOrganizationsResponseSchema,\n} from \"./rootOrganizations\";\nexport {\n isStripeCancelResponse,\n isStripeCheckoutIntentResponse,\n isStripeCheckoutOptionsResponse,\n isStripeCheckoutSessionResponse,\n isStripePortalResponse,\n type StripeCancelResponse,\n StripeCancelResponseSchema,\n type StripeCheckoutIntentResponse,\n StripeCheckoutIntentResponseSchema,\n type StripeCheckoutOptionsResponse,\n StripeCheckoutOptionsResponseSchema,\n type StripeCheckoutSessionResponse,\n StripeCheckoutSessionResponseSchema,\n type StripePortalResponse,\n StripePortalResponseSchema,\n type StripeSyncOptionResponse,\n StripeSyncOptionResponseSchema,\n} from \"./stripeCheckout\";\nexport {\n isSyncWatermark,\n type SyncWatermark,\n SyncWatermarkSchema,\n} from \"./syncWatermark\";\nexport {\n decodeContainerWriterProjection,\n decodeDocumentWriterProjection,\n encodeContainerWriterProjection,\n encodeDocumentWriterProjection,\n} from \"./writerProjectionWire\";\n"]}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":"AAAA,OAAO,EAEL,kCAAkC,GACnC,MAAM,SAAS,CAAC;AACjB,OAAO,EAEL,0BAA0B,EAC1B,sBAAsB,GACvB,MAAM,eAAe,CAAC;AACvB,OAAO,EAEL,4BAA4B,EAE5B,uBAAuB,EAEvB,4BAA4B,EAC5B,wBAAwB,EACxB,mBAAmB,EACnB,wBAAwB,EACxB,sBAAsB,EACtB,+BAA+B,EAC/B,sBAAsB,EACtB,qBAAqB,EACrB,gBAAgB,EAChB,yBAAyB,EAEzB,0BAA0B,EAC1B,mBAAmB,EAEnB,sBAAsB,EAEtB,4BAA4B,EAE5B,0BAA0B,EAE1B,yBAAyB,EACzB,kBAAkB,EAElB,2BAA2B,EAG3B,2BAA2B,EAE3B,6BAA6B,GAC9B,MAAM,QAAQ,CAAC;AAChB,OAAO,EACL,2BAA2B,EAC3B,uBAAuB,EAEvB,+BAA+B,EAE/B,2BAA2B,GAC5B,MAAM,mBAAmB,CAAC;AAC3B,OAAO,EAEL,gCAAgC,EAEhC,kCAAkC,EAElC,2BAA2B,EAE3B,kCAAkC,EAElC,0CAA0C,EAE1C,4BAA4B,EAE5B,wCAAwC,EACxC,4BAA4B,EAC5B,8BAA8B,EAC9B,oCAAoC,EACpC,iCAAiC,EACjC,kCAAkC,EAClC,iCAAiC,EAEjC,qCAAqC,EAErC,4BAA4B,EAE5B,sCAAsC,EAEtC,qCAAqC,GACtC,MAAM,QAAQ,CAAC;AAChB,OAAO,EACL,yBAAyB,E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OAAO,EACL,sBAAsB,EACtB,8BAA8B,EAC9B,+BAA+B,EAC/B,+BAA+B,EAC/B,sBAAsB,EAEtB,0BAA0B,EAE1B,kCAAkC,EAElC,mCAAmC,EAEnC,mCAAmC,EAEnC,0BAA0B,EAE1B,8BAA8B,GAC/B,MAAM,kBAAkB,CAAC;AAC1B,OAAO,EACL,eAAe,EAEf,mBAAmB,GACpB,MAAM,iBAAiB,CAAC;AACzB,OAAO,EACL,+BAA+B,EAC/B,8BAA8B,EAC9B,+BAA+B,EAC/B,8BAA8B,GAC/B,MAAM,wBAAwB,CAAC","sourcesContent":["export {\n type AccessManifestBundleWireResponse,\n isAccessManifestBundleWireResponse,\n} from \"../util\";\nexport {\n type EffectiveAccessLevel,\n EffectiveAccessLevelSchema,\n isEffectiveAccessLevel,\n} from \"./accessLevel\";\nexport {\n type ChallengeErrorResponse,\n ChallengeErrorResponseSchema,\n type ChallengeResponse,\n ChallengeResponseSchema,\n type DestroySessionResponse,\n DestroySessionResponseSchema,\n isChallengeErrorResponse,\n isChallengeResponse,\n isDestroySessionResponse,\n isListSessionsResponse,\n isSessionRefreshRequiredFailure,\n isUserIdentityResponse,\n isUserSessionResponse,\n isVerifyResponse,\n isWebSocketTicketResponse,\n type ListSessionsResponse,\n ListSessionsResponseSchema,\n SESSION_ERROR_CODES,\n type SessionErrorCode,\n SessionErrorCodeSchema,\n type SessionFailureResponse,\n SessionFailureResponseSchema,\n type UserIdentityResponse,\n UserIdentityResponseSchema,\n type UserSessionResponse,\n UserSessionResponseSchema,\n VERIFY_ERROR_CODES,\n type VerifyFailureResponse,\n VerifyFailureResponseSchema,\n type VerifyResponse,\n type VerifySuccessResponse,\n VerifySuccessResponseSchema,\n type WebSocketTicketResponse,\n WebSocketTicketResponseSchema,\n} from \"./auth\";\nexport {\n isRevenueCatWebhookResponse,\n isStripeWebhookResponse,\n type RevenueCatWebhookResponse,\n RevenueCatWebhookResponseSchema,\n type StripeWebhookResponse,\n StripeWebhookResponseSchema,\n} from \"./billingWebhooks\";\nexport {\n type BlobAttachmentBindResponse,\n BlobAttachmentBindResponseSchema,\n type BlobAttachmentDetachResponse,\n BlobAttachmentDetachResponseSchema,\n type BlobAttachmentSummary,\n BlobAttachmentSummarySchema,\n type BlobContentKeyBundleResponse,\n BlobContentKeyBundleResponseSchema,\n type BlobContentKeyTargetEnvelopeResponse,\n BlobContentKeyTargetEnvelopeResponseSchema,\n type BlobKekTargetsResponse,\n BlobKekTargetsResponseSchema,\n type InitiateMultipartBlobStageResponse,\n InitiateMultipartBlobStageResponseSchema,\n isBlobAttachmentBindResponse,\n isBlobAttachmentDetachResponse,\n isInitiateMultipartBlobStageResponse,\n isListDocumentAttachmentsResponse,\n isMultipartBlobStageStatusResponse,\n isUploadMultipartBlobPartResponse,\n type ListDocumentAttachmentsResponse,\n ListDocumentAttachmentsResponseSchema,\n type MultipartBlobStagePart,\n MultipartBlobStagePartSchema,\n type MultipartBlobStageStatusResponse,\n MultipartBlobStageStatusResponseSchema,\n type UploadMultipartBlobPartResponse,\n UploadMultipartBlobPartResponseSchema,\n} from \"./blob\";\nexport {\n BLOB_MUTATION_ERROR_CODES,\n type BlobMutationErrorCode,\n type BlobMutationFailureResponse,\n BlobMutationFailureResponseSchema,\n} from \"./blobMutationError\";\nexport {\n CONTAINER_PROJECTION_STATE_INVALID_ERROR_CODE,\n type ContainerDeleteResponse,\n ContainerDeleteResponseSchema,\n type ContainerKekKeyringWireResponse,\n type ContainerKekLogEpochResponse,\n ContainerKekLogEpochResponseSchema,\n type ContainerKekLogResponse,\n ContainerKekLogResponseSchema,\n type ContainerKekResponse,\n type ContainerKeyingPathResponse,\n ContainerKeyingPathResponseSchema,\n type ContainerMutationResponse,\n ContainerMutationResponseSchema,\n type ContainerReciteResponse,\n ContainerReciteResponseSchema,\n type ContainerRotationResponse,\n ContainerRotationResponseSchema,\n type ContainerSummary,\n ContainerSummaryResponseSchema,\n type ContainerSyncTombstone,\n ContainerSyncTombstoneResponseSchema,\n ContainerWriterProjectionErrorResponseSchema,\n type ContainerWriterProjectionResponse,\n ContainerWriterProjectionResponseSchema,\n type ContainerWriterProjectionWireResponse,\n ContainerWriterProjectionWireResponseSchema,\n isContainerDeleteResponse,\n isContainerKekLogResponse,\n isContainerMutationResponse,\n isContainerReciteResponse,\n isContainerRotationResponse,\n isContainerWriterProjectionResponse,\n isContainerWriterProjectionWireResponse,\n isListContainersResponse,\n type ListContainersResponse,\n ListContainersResponseSchema,\n} from \"./container\";\nexport type { ListContainerDocumentLanesResponse } from \"./containerDocumentLanes\";\nexport {\n type ContainerCreateWithMetadataDocumentResponse,\n ContainerCreateWithMetadataDocumentResponseSchema,\n isContainerCreateWithMetadataDocumentResponse,\n} from \"./containerMetadata\";\nexport {\n CONTAINER_MUTATION_ERROR_CODES,\n ContainerMutationBehaviorErrorCodeSchema,\n type ContainerMutationErrorCode,\n ContainerMutationErrorCodeSchema,\n type ContainerMutationFailureResponse,\n ContainerMutationFailureResponseSchema,\n} from \"./containerMutationError\";\nexport {\n CONTAINER_NOT_FOUND_ERROR_CODE,\n type ContainerNotFoundErrorResponse,\n ContainerNotFoundErrorResponseSchema,\n} from \"./containerNotFoundError\";\nexport {\n isListContainerParentLanesResponse,\n type ListContainerParentLanesResponse,\n ListContainerParentLanesResponseSchema,\n} from \"./containerParentLanes\";\nexport {\n CONTAINER_UNAVAILABLE_ERROR_CODE,\n type ContainerUnavailableErrorCode,\n} from \"./containerUnavailableError\";\nexport {\n type ContainerDocumentSummary,\n ContainerDocumentSummaryResponseSchema,\n type ContainerDocumentSyncTombstone,\n ContainerDocumentSyncTombstoneResponseSchema,\n type DocumentEditAttributionRangeResponse,\n DocumentEditAttributionRangeResponseSchema,\n type DocumentEditAttributionResponse,\n DocumentEditAttributionResponseSchema,\n type DocumentEditAttributionSegmentResponse,\n DocumentEditAttributionSegmentResponseSchema,\n isDocumentEditAttributionResponse,\n isListDocumentEditAttributionRangesResponse,\n type ListContainerDocumentsResponse,\n ListContainerDocumentsResponseSchema,\n type ListDocumentEditAttributionRangesResponse,\n ListDocumentEditAttributionRangesResponseSchema,\n} from \"./document\";\nexport {\n type DocumentContentKeyBundleResponse,\n DocumentContentKeyBundleResponseSchema,\n type DocumentContentKeyTargetEnvelopeResponse,\n DocumentContentKeyTargetEnvelopeResponseSchema,\n type DocumentCreateResponse,\n DocumentCreateResponseSchema,\n type DocumentCreateSeedResponse,\n type DocumentKekTargetsResponse,\n DocumentKekTargetsResponseSchema,\n type DocumentLinkSetMutationResponse,\n DocumentLinkSetMutationResponseSchema,\n type DocumentPurgeProofResponse,\n DocumentPurgeProofResponseSchema,\n type DocumentPurgeResponse,\n DocumentPurgeResponseSchema,\n type DocumentSyncPullPageResponse,\n DocumentSyncPullPageResponseSchema,\n type DocumentSyncResponse,\n DocumentSyncResponseSchema,\n type DocumentSyncUpdateResponse,\n DocumentSyncUpdateResponseSchema,\n type DocumentWriterProjectionResponse,\n DocumentWriterProjectionResponseSchema,\n type DocumentWriterProjectionWireResponse,\n DocumentWriterProjectionWireResponseSchema,\n documentKekTargetsFromContentKeyBundle,\n isDocumentContentKeyBundleResponse,\n isDocumentCreateResponse,\n isDocumentKekTargetsResponse,\n isDocumentLinkSetMutationResponse,\n isDocumentPurgeProofResponse,\n isDocumentPurgeResponse,\n isDocumentSyncResponse,\n isDocumentWriterProjectionResponse,\n isDocumentWriterProjectionWireResponse,\n} from \"./documentMutation\";\nexport {\n DOCUMENT_MUTATION_ERROR_CODES,\n DocumentMutationBehaviorErrorCodeSchema,\n type DocumentMutationErrorCode,\n DocumentMutationErrorCodeSchema,\n type DocumentMutationFailureResponse,\n DocumentMutationFailureResponseSchema,\n} from \"./documentMutationError\";\nexport {\n DOCUMENT_NOT_FOUND_ERROR_CODE,\n DOCUMENT_PROJECTION_ERROR_CODES,\n DOCUMENT_SYNC_ERROR_CODES,\n type DocumentNotFoundErrorCode,\n type DocumentNotFoundErrorResponse,\n DocumentNotFoundErrorResponseSchema,\n type DocumentProjectionErrorCode,\n DocumentProjectionErrorCodeSchema,\n type DocumentSyncErrorCode,\n DocumentSyncErrorCodeSchema,\n type DocumentSyncErrorResponse,\n DocumentSyncErrorResponseSchema,\n type DocumentSyncStateStaleErrorResponse,\n DocumentSyncStateStaleErrorResponseSchema,\n type DocumentWriterProjectionErrorResponse,\n DocumentWriterProjectionErrorResponseSchema,\n isDocumentSyncErrorCode,\n isDocumentSyncErrorResponse,\n isDocumentSyncStateStaleErrorResponse,\n} from \"./documentSyncError\";\nexport {\n type ErrorResponse,\n ErrorResponseSchema,\n isErrorResponse,\n} from \"./error\";\nexport {\n type HealthResponse,\n HealthResponseSchema,\n isHealthResponse,\n} from \"./health\";\nexport {\n MULTIPART_BLOB_STAGE_ERROR_CODES,\n type MultipartBlobStageConflictErrorResponse,\n MultipartBlobStageConflictErrorResponseSchema,\n type MultipartBlobStageErrorCode,\n type MultipartBlobStageExpiredErrorResponse,\n MultipartBlobStageExpiredErrorResponseSchema,\n type MultipartBlobStageNotFoundErrorResponse,\n MultipartBlobStageNotFoundErrorResponseSchema,\n} from \"./multipartBlobStageError\";\nexport {\n type CreateOrganizationGroupResponse,\n CreateOrganizationGroupResponseSchema,\n type DeleteOrganizationGroupResponse,\n DeleteOrganizationGroupResponseSchema,\n isCreateOrganizationGroupResponse,\n isDeleteOrganizationGroupResponse,\n isListOrganizationGroupsResponse,\n isOrganizationContainerGrantResponse,\n isOrganizationContainerGrantSubjectType,\n isOrganizationContainerGrantsResponse,\n isOrganizationDirectoryResponse,\n isOrganizationDirectoryUserResponse,\n isOrganizationGroupContainerAccessLevel,\n isOrganizationGroupContainerResponse,\n isOrganizationGroupContainersResponse,\n isOrganizationGroupCurrentStateResponse,\n isOrganizationGroupMemberResponse,\n isOrganizationGroupMembersResponse,\n isOrganizationGroupSummaryResponse,\n isOrganizationProfileResponse,\n isOrganizationUserDetailGrantsResponse,\n isOrganizationUserDetailResponse,\n type ListOrganizationGroupsResponse,\n ListOrganizationGroupsResponseSchema,\n type OrganizationContainerGrantResponse,\n OrganizationContainerGrantResponseSchema,\n type OrganizationContainerGrantSubjectType,\n type OrganizationContainerGrantsResponse,\n OrganizationContainerGrantsResponseSchema,\n type OrganizationDirectoryResponse,\n OrganizationDirectoryResponseSchema,\n type OrganizationDirectoryUserResponse,\n OrganizationDirectoryUserResponseSchema,\n type OrganizationGroupContainerAccessLevel,\n type OrganizationGroupContainerResponse,\n OrganizationGroupContainerResponseSchema,\n type OrganizationGroupContainersResponse,\n OrganizationGroupContainersResponseSchema,\n type OrganizationGroupCurrentStateResponse,\n OrganizationGroupCurrentStateResponseSchema,\n type OrganizationGroupMemberResponse,\n OrganizationGroupMemberResponseSchema,\n type OrganizationGroupMembersResponse,\n OrganizationGroupMembersResponseSchema,\n type OrganizationGroupSummaryResponse,\n OrganizationGroupSummaryResponseSchema,\n type OrganizationProfileResponse,\n OrganizationProfileResponseSchema,\n type OrganizationRole,\n type OrganizationRosterStatus,\n type OrganizationUserDetailGrantsResponse,\n OrganizationUserDetailGrantsResponseSchema,\n type OrganizationUserDetailResponse,\n OrganizationUserDetailResponseSchema,\n} from \"./organization\";\nexport {\n type BillingErrorResponse,\n BillingErrorResponseSchema,\n isOrganizationBillingProvider,\n isOrganizationBillingResponse,\n isOrganizationBillingStatus,\n isPaymentRequiredErrorResponse,\n type OrganizationBillingProvider,\n OrganizationBillingProviderSchema,\n type OrganizationBillingResponse,\n OrganizationBillingResponseSchema,\n type OrganizationBillingStatus,\n OrganizationBillingStatusSchema,\n type OrganizationBillingSubscriptionSource,\n OrganizationBillingSubscriptionSourceSchema,\n type PaymentRequiredErrorResponse,\n PaymentRequiredErrorResponseSchema,\n} from \"./organizationBilling\";\nexport {\n isOrganizationBillingHistoryResponse,\n type OrganizationBillingHistoryCategory,\n OrganizationBillingHistoryCategorySchema,\n type OrganizationBillingHistoryEntry,\n OrganizationBillingHistoryEntrySchema,\n type OrganizationBillingHistoryEnvironment,\n OrganizationBillingHistoryEnvironmentSchema,\n type OrganizationBillingHistoryOutcome,\n OrganizationBillingHistoryOutcomeSchema,\n type OrganizationBillingHistoryProvider,\n OrganizationBillingHistoryProviderSchema,\n type OrganizationBillingHistoryResponse,\n OrganizationBillingHistoryResponseSchema,\n} from \"./organizationBillingHistory\";\nexport {\n isOrganizationBillingManagementUrlResponse,\n type OrganizationBillingManagementUrlResponse,\n OrganizationBillingManagementUrlResponseSchema,\n} from \"./organizationBillingManagementUrl\";\nexport {\n isOrganizationDataUsageResponse,\n ORGANIZATION_DOCUMENT_USAGE_CATEGORIES,\n type OrganizationBlobDataUsageResponse,\n type OrganizationDataUsageResponse,\n OrganizationDataUsageResponseSchema,\n type OrganizationDocumentDataUsageResponse,\n type OrganizationDocumentUsageCategory,\n type OrganizationDocumentUsageCategoryBreakdown,\n} from \"./organizationDataUsage\";\nexport {\n isOrganizationMembershipResponse,\n isOrganizationMembershipsResponse,\n type OrganizationMembershipResponse,\n OrganizationMembershipResponseSchema,\n type OrganizationMembershipsResponse,\n OrganizationMembershipsResponseSchema,\n} from \"./organizationMembership\";\nexport {\n isOrganizationNativePurchaseEligibilityResponse,\n type OrganizationNativePurchaseEligibilityResponse,\n OrganizationNativePurchaseEligibilityResponseSchema,\n type OrganizationNativePurchaseIneligibilityReason,\n OrganizationNativePurchaseIneligibilityReasonSchema,\n} from \"./organizationNativePurchaseEligibility\";\nexport {\n type OrganizationPolicyHistoryResponse,\n OrganizationPolicyHistoryResponseSchema,\n PRINCIPAL_DISPLAY_HISTORY_PAGE_SIZE,\n} from \"./organizationPolicyHistory\";\nexport {\n ORGANIZATION_PRESENTATION_ERROR_CODES,\n type OrganizationPresentationErrorCode,\n OrganizationPresentationErrorCodeSchema,\n type OrganizationPresentationFailureResponse,\n OrganizationPresentationFailureResponseSchema,\n} from \"./organizationPresentationError\";\nexport {\n type CreateOrganizationResponse,\n CreateOrganizationResponseSchema,\n isCreateOrganizationResponse,\n isOrganizationProvisioningResponse,\n type OrganizationProvisioningResponse,\n OrganizationProvisioningResponseSchema,\n} from \"./organizationProvisioning\";\nexport {\n isOrganizationReadModelResponse,\n type OrganizationReadModelDeltaResponse,\n type OrganizationReadModelDirectoryResponse,\n type OrganizationReadModelGrantsResponse,\n type OrganizationReadModelGroupMemberResponse,\n type OrganizationReadModelGroupMembershipResponse,\n type OrganizationReadModelGroupMembershipsResponse,\n type OrganizationReadModelOrganizationPolicyResponse,\n type OrganizationReadModelResponse,\n OrganizationReadModelResponseSchema,\n type OrganizationReadModelSnapshotResponse,\n} from \"./organizationReadModel\";\nexport {\n ORGANIZATION_READ_MODEL_ERROR_CODES,\n type OrganizationReadModelErrorCode,\n OrganizationReadModelErrorCodeSchema,\n type OrganizationReadModelFailureResponse,\n OrganizationReadModelFailureResponseSchema,\n} from \"./organizationReadModelError\";\nexport {\n CommitOrganizationGroupPolicyConflictResponseSchema,\n type CommitOrganizationGroupPolicyResponse,\n CommitOrganizationGroupPolicyResponseSchema,\n type CurrentPrincipalMemberEnvelopesResponse,\n CurrentPrincipalMemberEnvelopesResponseSchema,\n isCommitOrganizationGroupPolicyResponse,\n isCurrentPrincipalMemberEnvelopesResponse,\n isPrincipalPolicyBundleResponse,\n isPrincipalPolicyMutationResponse,\n isPrincipalPolicyStaleErrorResponse,\n isPrincipalPolicyStateChainEntryResponse,\n isPrincipalStatePayloadResponse,\n isPrincipalStateResponse,\n type PrincipalContainerGrantResponse,\n PrincipalContainerGrantResponseSchema,\n type PrincipalMemberEnvelopeResponse,\n PrincipalMemberEnvelopeResponseSchema,\n type PrincipalPolicyBundleResponse,\n PrincipalPolicyBundleResponseSchema,\n type PrincipalPolicyErrorResponse,\n PrincipalPolicyErrorResponseSchema,\n type PrincipalPolicyMutationResponse,\n PrincipalPolicyMutationResponseSchema,\n type PrincipalPolicySnapshotResponse,\n PrincipalPolicySnapshotResponseSchema,\n type PrincipalPolicyStaleErrorResponse,\n PrincipalPolicyStaleErrorResponseSchema,\n type PrincipalPolicyStateChainEntryResponse,\n PrincipalPolicyStateChainEntryResponseSchema,\n type PrincipalProjectionMemberResponse,\n PrincipalProjectionMemberResponseSchema,\n type PrincipalStateExternalAuthorityResponse,\n PrincipalStateExternalAuthorityResponseSchema,\n type PrincipalStatePayloadResponse,\n PrincipalStatePayloadResponseSchema,\n type PrincipalStateResponse,\n PrincipalStateResponseSchema,\n} from \"./principal\";\nexport {\n isPrincipalPolicyPageResponse,\n type PrincipalPolicyPageResponse,\n PrincipalPolicyPageResponseSchema,\n} from \"./principalPolicyPage\";\nexport {\n isPrincipalPolicySnapshotPageResponse,\n type PrincipalPolicyHistorySourceResponse,\n PrincipalPolicyHistorySourceResponseSchema,\n type PrincipalPolicySnapshotPageResponse,\n PrincipalPolicySnapshotPageResponseSchema,\n} from \"./principalPolicySnapshotPage\";\nexport {\n isReferencedPrincipalStateResponse,\n type ReferencedPrincipalStateResponse,\n ReferencedPrincipalStateResponseSchema,\n} from \"./principalReference\";\nexport {\n type ProjectionPolicyEvidenceResponse,\n ProjectionPolicyEvidenceResponseSchema,\n} from \"./projectionPolicyEvidence\";\nexport {\n isRegistrationResponse,\n type RegistrationResponse,\n RegistrationResponseSchema,\n} from \"./registration\";\nexport {\n isRootIdentitiesResponse,\n isRootIdentityDetailResponse,\n isRootIdentityOrganizationsResponse,\n isRootIdentitySuspensionResponse,\n type RootIdentitiesResponse,\n RootIdentitiesResponseSchema,\n type RootIdentityDetailResponse,\n RootIdentityDetailResponseSchema,\n type RootIdentityOrganizationBillingResponse,\n RootIdentityOrganizationBillingResponseSchema,\n type RootIdentityOrganizationResponse,\n RootIdentityOrganizationResponseSchema,\n type RootIdentityOrganizationsResponse,\n RootIdentityOrganizationsResponseSchema,\n type RootIdentitySessionResponse,\n RootIdentitySessionResponseSchema,\n type RootIdentitySummaryResponse,\n RootIdentitySummaryResponseSchema,\n type RootIdentitySuspensionResponse,\n RootIdentitySuspensionResponseSchema,\n} from \"./root\";\nexport {\n ROOT_AUDIT_ACTIONS,\n type RootAuditAction,\n RootAuditActionSchema,\n type RootAuditEventResponse,\n RootAuditEventResponseSchema,\n type RootAuditEventsResponse,\n RootAuditEventsResponseSchema,\n} from \"./rootAudit\";\nexport {\n ROOT_OPS_HEALTH_OVERDUE_MINUTES,\n ROOT_OPS_HEALTH_SECTION_LIMIT,\n ROOT_OPS_HEALTH_UPCOMING_DAYS,\n ROOT_SEAT_SYNC_CONDITIONS,\n type RootOpsHealthReportResponse,\n RootOpsHealthReportResponseSchema,\n RootSeatSyncConditionSchema,\n} from \"./rootOpsHealth\";\nexport {\n type RootDataUsageReportResponse,\n RootDataUsageReportResponseSchema,\n type RootOrganizationDetailResponse,\n RootOrganizationDetailResponseSchema,\n type RootOrganizationIdentitiesResponse,\n RootOrganizationIdentitiesResponseSchema,\n type RootOrganizationIdentityResponse,\n RootOrganizationIdentityResponseSchema,\n type RootOrganizationSummaryResponse,\n RootOrganizationSummaryResponseSchema,\n type RootOrganizationsResponse,\n RootOrganizationsResponseSchema,\n} from \"./rootOrganizations\";\nexport {\n ROOT_REVENUECAT_DISPOSITIONS,\n ROOT_REVENUECAT_EVENT_ROLES,\n type RootOrganizationRevenuecatEventResponse,\n RootOrganizationRevenuecatEventResponseSchema,\n type RootOrganizationRevenuecatEventsResponse,\n RootOrganizationRevenuecatEventsResponseSchema,\n type RootRevenuecatDisposition,\n RootRevenuecatDispositionSchema,\n type RootRevenuecatEventResponse,\n RootRevenuecatEventResponseSchema,\n type RootRevenuecatEventsReportResponse,\n RootRevenuecatEventsReportResponseSchema,\n} from \"./rootRevenuecat\";\nexport {\n isStripeCancelResponse,\n isStripeCheckoutIntentResponse,\n isStripeCheckoutOptionsResponse,\n isStripeCheckoutSessionResponse,\n isStripePortalResponse,\n type StripeCancelResponse,\n StripeCancelResponseSchema,\n type StripeCheckoutIntentResponse,\n StripeCheckoutIntentResponseSchema,\n type StripeCheckoutOptionsResponse,\n StripeCheckoutOptionsResponseSchema,\n type StripeCheckoutSessionResponse,\n StripeCheckoutSessionResponseSchema,\n type StripePortalResponse,\n StripePortalResponseSchema,\n type StripeSyncOptionResponse,\n StripeSyncOptionResponseSchema,\n} from \"./stripeCheckout\";\nexport {\n isSyncWatermark,\n type SyncWatermark,\n SyncWatermarkSchema,\n} from \"./syncWatermark\";\nexport {\n decodeContainerWriterProjection,\n decodeDocumentWriterProjection,\n encodeContainerWriterProjection,\n encodeDocumentWriterProjection,\n} from \"./writerProjectionWire\";\n"]}
@@ -3,9 +3,9 @@ import { z } from "zod";
3
3
  * Every action the root audit trail records: one per `/root` operation, plus
4
4
  * the API CLI's root grant and revoke.
5
5
  */
6
- export declare const ROOT_AUDIT_ACTIONS: readonly ["root.access.grant", "root.access.revoke", "root.auditEvents.list", "root.identities.get", "root.identities.list", "root.identities.organizations.list", "root.identities.suspension.delete", "root.identities.suspension.put", "root.organizations.dataUsage.get", "root.organizations.get", "root.organizations.identities.list", "root.organizations.list", "root.reports.dataUsage.list", "root.reports.opsHealth.get"];
6
+ export declare const ROOT_AUDIT_ACTIONS: readonly ["root.access.grant", "root.access.revoke", "root.auditEvents.list", "root.identities.get", "root.identities.list", "root.identities.organizations.list", "root.identities.suspension.delete", "root.identities.suspension.put", "root.organizations.dataUsage.get", "root.organizations.get", "root.organizations.identities.list", "root.organizations.list", "root.organizations.revenuecatEvents.list", "root.reports.dataUsage.list", "root.reports.opsHealth.get", "root.reports.revenuecatEvents.list"];
7
7
  /** The server's own vocabulary: exactly the actions it records. */
8
- export declare const RootAuditActionSchema: z.ZodLiteral<"root.access.grant" | "root.access.revoke" | "root.auditEvents.list" | "root.identities.get" | "root.identities.list" | "root.identities.organizations.list" | "root.identities.suspension.delete" | "root.identities.suspension.put" | "root.organizations.dataUsage.get" | "root.organizations.get" | "root.organizations.identities.list" | "root.organizations.list" | "root.reports.dataUsage.list" | "root.reports.opsHealth.get">;
8
+ export declare const RootAuditActionSchema: z.ZodLiteral<"root.access.grant" | "root.access.revoke" | "root.auditEvents.list" | "root.identities.get" | "root.identities.list" | "root.identities.organizations.list" | "root.identities.suspension.delete" | "root.identities.suspension.put" | "root.organizations.dataUsage.get" | "root.organizations.get" | "root.organizations.identities.list" | "root.organizations.list" | "root.organizations.revenuecatEvents.list" | "root.reports.dataUsage.list" | "root.reports.opsHealth.get" | "root.reports.revenuecatEvents.list">;
9
9
  export type RootAuditAction = z.infer<typeof RootAuditActionSchema>;
10
10
  /** One recorded operator action, from `GET /root/audit-events`. */
11
11
  export declare const RootAuditEventResponseSchema: z.ZodType<{
@@ -18,8 +18,10 @@ export const ROOT_AUDIT_ACTIONS = [
18
18
  "root.organizations.get",
19
19
  "root.organizations.identities.list",
20
20
  "root.organizations.list",
21
+ "root.organizations.revenuecatEvents.list",
21
22
  "root.reports.dataUsage.list",
22
23
  "root.reports.opsHealth.get",
24
+ "root.reports.revenuecatEvents.list",
23
25
  ];
24
26
  /** The server's own vocabulary: exactly the actions it records. */
25
27
  export const RootAuditActionSchema = z.literal(ROOT_AUDIT_ACTIONS);
@@ -1 +1 @@
1
- {"version":3,"file":"rootAudit.js","sourceRoot":"","sources":["rootAudit.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AACxB,OAAO,EAAE,0BAA0B,EAAE,MAAM,eAAe,CAAC;AAC3D,OAAO,EACL,WAAW,EACX,gBAAgB,EAChB,oBAAoB,EACpB,qBAAqB,GACtB,MAAM,WAAW,CAAC;AAEnB;;;GAGG;AACH,MAAM,CAAC,MAAM,kBAAkB,GAAG;IAChC,mBAAmB;IACnB,oBAAoB;IACpB,uBAAuB;IACvB,qBAAqB;IACrB,sBAAsB;IACtB,oCAAoC;IACpC,mCAAmC;IACnC,gCAAgC;IAChC,kCAAkC;IAClC,wBAAwB;IACxB,oCAAoC;IACpC,yBAAyB;IACzB,6BAA6B;IAC7B,4BAA4B;CACpB,CAAC;AAEX,mEAAmE;AACnE,MAAM,CAAC,MAAM,qBAAqB,GAAG,CAAC,CAAC,OAAO,CAAC,kBAAkB,CAAC,CAAC;AAInE;;;;GAIG;AACH,MAAM,0BAA0B,GAAG,0BAA0B,CAC3D,CAAC,CAAC,MAAM,EAAE,CAAC,GAAG,CAAC,CAAC,CAAC,EACjB;IACE,IAAI,EAAE,QAAQ;IACd,SAAS,EAAE,CAAC;IACZ,mBAAmB,EAAE,CAAC,GAAG,kBAAkB,CAAC;CAC7C,CACF,CAAC;AAEF,mEAAmE;AACnE,MAAM,CAAC,MAAM,4BAA4B,GAAG,gBAAgB,CAAC;IAC3D,MAAM,EAAE,0BAA0B;IAClC,2EAA2E;IAC3E,0BAA0B,EAAE,qBAAqB,CAAC,QAAQ,EAAE;IAC5D,WAAW,EAAE,oBAAoB,CAAC,QAAQ,EAAE;IAC5C,wEAAwE;IACxE,MAAM,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;IAC7B,EAAE,EAAE,oBAAoB;IACxB,UAAU,EAAE,CAAC,CAAC,MAAM,EAAE;IACtB,eAAe,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;IACtC,oBAAoB,EAAE,oBAAoB,CAAC,QAAQ,EAAE;IACrD,YAAY,EAAE,oBAAoB,CAAC,QAAQ,EAAE;CAC9C,CAAC,CAAC;AAMH,MAAM,CAAC,MAAM,6BAA6B,GAAG,gBAAgB,CAAC;IAC5D,MAAM,EAAE,WAAW,CAAC,4BAA4B,CAAC;IACjD,2EAA2E;IAC3E,UAAU,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;CAClC,CAAC,CAAC","sourcesContent":["import { z } from \"zod\";\nimport { registerJsonSchemaFragment } from \"../jsonSchema\";\nimport {\n arraySchema,\n loosePlainObject,\n nonEmptyStringSchema,\n sha256HexStringSchema,\n} from \"../schema\";\n\n/**\n * Every action the root audit trail records: one per `/root` operation, plus\n * the API CLI's root grant and revoke.\n */\nexport const ROOT_AUDIT_ACTIONS = [\n \"root.access.grant\",\n \"root.access.revoke\",\n \"root.auditEvents.list\",\n \"root.identities.get\",\n \"root.identities.list\",\n \"root.identities.organizations.list\",\n \"root.identities.suspension.delete\",\n \"root.identities.suspension.put\",\n \"root.organizations.dataUsage.get\",\n \"root.organizations.get\",\n \"root.organizations.identities.list\",\n \"root.organizations.list\",\n \"root.reports.dataUsage.list\",\n \"root.reports.opsHealth.get\",\n] as const;\n\n/** The server's own vocabulary: exactly the actions it records. */\nexport const RootAuditActionSchema = z.literal(ROOT_AUDIT_ACTIONS);\n\nexport type RootAuditAction = z.infer<typeof RootAuditActionSchema>;\n\n/**\n * An action as the audit listing reports it. Every new root operation adds an\n * action, so clients accept any operation id rather than a closed list that a\n * newer server would outgrow; the known ones are listed as extensible.\n */\nconst RootAuditEventActionSchema = registerJsonSchemaFragment(\n z.string().min(1),\n {\n type: \"string\",\n minLength: 1,\n \"x-extensible-enum\": [...ROOT_AUDIT_ACTIONS],\n },\n);\n\n/** One recorded operator action, from `GET /root/audit-events`. */\nexport const RootAuditEventResponseSchema = loosePlainObject({\n action: RootAuditEventActionSchema,\n /** The acting root identity's signing key; null when the API CLI acted. */\n actorSigningKeyFingerprint: sha256HexStringSchema.nullable(),\n actorUserId: nonEmptyStringSchema.nullable(),\n /** Listing filters as a sorted query string; null when none applied. */\n filter: z.string().nullable(),\n id: nonEmptyStringSchema,\n occurredAt: z.string(),\n sourceIpAddress: z.string().nullable(),\n targetOrganizationId: nonEmptyStringSchema.nullable(),\n targetUserId: nonEmptyStringSchema.nullable(),\n});\n\nexport type RootAuditEventResponse = z.infer<\n typeof RootAuditEventResponseSchema\n>;\n\nexport const RootAuditEventsResponseSchema = loosePlainObject({\n events: arraySchema(RootAuditEventResponseSchema),\n /** Opaque cursor for the next page; null when the listing is exhausted. */\n nextCursor: z.string().nullable(),\n});\n\nexport type RootAuditEventsResponse = z.infer<\n typeof RootAuditEventsResponseSchema\n>;\n"]}
1
+ {"version":3,"file":"rootAudit.js","sourceRoot":"","sources":["rootAudit.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AACxB,OAAO,EAAE,0BAA0B,EAAE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AAQ,EAAE;CAC9C,CAAC,CAAC;AAMH,MAAM,CAAC,MAAM,6BAA6B,GAAG,gBAAgB,CAAC;IAC5D,MAAM,EAAE,WAAW,CAAC,4BAA4B,CAAC;IACjD,2EAA2E;IAC3E,UAAU,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;CAClC,CAAC,CAAC","sourcesContent":["import { z } from \"zod\";\nimport { registerJsonSchemaFragment } from \"../jsonSchema\";\nimport {\n arraySchema,\n loosePlainObject,\n nonEmptyStringSchema,\n sha256HexStringSchema,\n} from \"../schema\";\n\n/**\n * Every action the root audit trail records: one per `/root` operation, plus\n * the API CLI's root grant and revoke.\n */\nexport const ROOT_AUDIT_ACTIONS = [\n \"root.access.grant\",\n \"root.access.revoke\",\n \"root.auditEvents.list\",\n \"root.identities.get\",\n \"root.identities.list\",\n \"root.identities.organizations.list\",\n \"root.identities.suspension.delete\",\n \"root.identities.suspension.put\",\n \"root.organizations.dataUsage.get\",\n \"root.organizations.get\",\n \"root.organizations.identities.list\",\n \"root.organizations.list\",\n \"root.organizations.revenuecatEvents.list\",\n \"root.reports.dataUsage.list\",\n \"root.reports.opsHealth.get\",\n \"root.reports.revenuecatEvents.list\",\n] as const;\n\n/** The server's own vocabulary: exactly the actions it records. */\nexport const RootAuditActionSchema = z.literal(ROOT_AUDIT_ACTIONS);\n\nexport type RootAuditAction = z.infer<typeof RootAuditActionSchema>;\n\n/**\n * An action as the audit listing reports it. Every new root operation adds an\n * action, so clients accept any operation id rather than a closed list that a\n * newer server would outgrow; the known ones are listed as extensible.\n */\nconst RootAuditEventActionSchema = registerJsonSchemaFragment(\n z.string().min(1),\n {\n type: \"string\",\n minLength: 1,\n \"x-extensible-enum\": [...ROOT_AUDIT_ACTIONS],\n },\n);\n\n/** One recorded operator action, from `GET /root/audit-events`. */\nexport const RootAuditEventResponseSchema = loosePlainObject({\n action: RootAuditEventActionSchema,\n /** The acting root identity's signing key; null when the API CLI acted. */\n actorSigningKeyFingerprint: sha256HexStringSchema.nullable(),\n actorUserId: nonEmptyStringSchema.nullable(),\n /** Listing filters as a sorted query string; null when none applied. */\n filter: z.string().nullable(),\n id: nonEmptyStringSchema,\n occurredAt: z.string(),\n sourceIpAddress: z.string().nullable(),\n targetOrganizationId: nonEmptyStringSchema.nullable(),\n targetUserId: nonEmptyStringSchema.nullable(),\n});\n\nexport type RootAuditEventResponse = z.infer<\n typeof RootAuditEventResponseSchema\n>;\n\nexport const RootAuditEventsResponseSchema = loosePlainObject({\n events: arraySchema(RootAuditEventResponseSchema),\n /** Opaque cursor for the next page; null when the listing is exhausted. */\n nextCursor: z.string().nullable(),\n});\n\nexport type RootAuditEventsResponse = z.infer<\n typeof RootAuditEventsResponseSchema\n>;\n"]}
@@ -0,0 +1,375 @@
1
+ import { z } from "zod";
2
+ /**
3
+ * Which deliveries the RevenueCat report lists: ones that resolved to no
4
+ * organization, ones the handler deliberately ignored, or either.
5
+ */
6
+ export declare const ROOT_REVENUECAT_DISPOSITIONS: readonly ["unmatched", "ignored", "both"];
7
+ export declare const RootRevenuecatDispositionSchema: z.ZodLiteral<"ignored" | "unmatched" | "both">;
8
+ export type RootRevenuecatDisposition = z.infer<typeof RootRevenuecatDispositionSchema>;
9
+ /** One stored RevenueCat webhook delivery. */
10
+ export declare const RootRevenuecatEventResponseSchema: z.ZodType<{
11
+ id: string;
12
+ eventId: string;
13
+ eventType: string;
14
+ outcome: string;
15
+ appUserId: string;
16
+ organizationId: string | null;
17
+ sourceOrganizationId: string | null;
18
+ store: string | null;
19
+ environment: string | null;
20
+ productId: string | null;
21
+ periodType: string | null;
22
+ transactionId: string | null;
23
+ originalTransactionId: string | null;
24
+ currency: string | null;
25
+ priceInPurchasedCurrencyMinor: number | null;
26
+ purchasedAt: string | null;
27
+ expirationAt: string | null;
28
+ eventTimestamp: string;
29
+ createdAt: string;
30
+ }, {
31
+ id: string;
32
+ eventId: string;
33
+ eventType: string;
34
+ outcome: string;
35
+ appUserId: string;
36
+ organizationId: string | null;
37
+ sourceOrganizationId: string | null;
38
+ store: string | null;
39
+ environment: string | null;
40
+ productId: string | null;
41
+ periodType: string | null;
42
+ transactionId: string | null;
43
+ originalTransactionId: string | null;
44
+ currency: string | null;
45
+ priceInPurchasedCurrencyMinor: number | null;
46
+ purchasedAt: string | null;
47
+ expirationAt: string | null;
48
+ eventTimestamp: string;
49
+ createdAt: string;
50
+ }, z.core.$ZodTypeInternals<{
51
+ id: string;
52
+ eventId: string;
53
+ eventType: string;
54
+ outcome: string;
55
+ appUserId: string;
56
+ organizationId: string | null;
57
+ sourceOrganizationId: string | null;
58
+ store: string | null;
59
+ environment: string | null;
60
+ productId: string | null;
61
+ periodType: string | null;
62
+ transactionId: string | null;
63
+ originalTransactionId: string | null;
64
+ currency: string | null;
65
+ priceInPurchasedCurrencyMinor: number | null;
66
+ purchasedAt: string | null;
67
+ expirationAt: string | null;
68
+ eventTimestamp: string;
69
+ createdAt: string;
70
+ }, {
71
+ id: string;
72
+ eventId: string;
73
+ eventType: string;
74
+ outcome: string;
75
+ appUserId: string;
76
+ organizationId: string | null;
77
+ sourceOrganizationId: string | null;
78
+ store: string | null;
79
+ environment: string | null;
80
+ productId: string | null;
81
+ periodType: string | null;
82
+ transactionId: string | null;
83
+ originalTransactionId: string | null;
84
+ currency: string | null;
85
+ priceInPurchasedCurrencyMinor: number | null;
86
+ purchasedAt: string | null;
87
+ expirationAt: string | null;
88
+ eventTimestamp: string;
89
+ createdAt: string;
90
+ }>>;
91
+ export type RootRevenuecatEventResponse = z.infer<typeof RootRevenuecatEventResponseSchema>;
92
+ export declare const ROOT_REVENUECAT_EVENT_ROLES: readonly ["target", "source"];
93
+ /**
94
+ * One delivery as an organization saw it: the organization it resolved to
95
+ * (`target`, whether the handler applied or ignored it), or the previous owner
96
+ * a `TRANSFER` moved the purchase from (`source`).
97
+ */
98
+ export declare const RootOrganizationRevenuecatEventResponseSchema: z.ZodType<{
99
+ role: "target" | "source";
100
+ id: string;
101
+ eventId: string;
102
+ eventType: string;
103
+ outcome: string;
104
+ appUserId: string;
105
+ organizationId: string | null;
106
+ sourceOrganizationId: string | null;
107
+ store: string | null;
108
+ environment: string | null;
109
+ productId: string | null;
110
+ periodType: string | null;
111
+ transactionId: string | null;
112
+ originalTransactionId: string | null;
113
+ currency: string | null;
114
+ priceInPurchasedCurrencyMinor: number | null;
115
+ purchasedAt: string | null;
116
+ expirationAt: string | null;
117
+ eventTimestamp: string;
118
+ createdAt: string;
119
+ }, {
120
+ role: "target" | "source";
121
+ id: string;
122
+ eventId: string;
123
+ eventType: string;
124
+ outcome: string;
125
+ appUserId: string;
126
+ organizationId: string | null;
127
+ sourceOrganizationId: string | null;
128
+ store: string | null;
129
+ environment: string | null;
130
+ productId: string | null;
131
+ periodType: string | null;
132
+ transactionId: string | null;
133
+ originalTransactionId: string | null;
134
+ currency: string | null;
135
+ priceInPurchasedCurrencyMinor: number | null;
136
+ purchasedAt: string | null;
137
+ expirationAt: string | null;
138
+ eventTimestamp: string;
139
+ createdAt: string;
140
+ }, z.core.$ZodTypeInternals<{
141
+ role: "target" | "source";
142
+ id: string;
143
+ eventId: string;
144
+ eventType: string;
145
+ outcome: string;
146
+ appUserId: string;
147
+ organizationId: string | null;
148
+ sourceOrganizationId: string | null;
149
+ store: string | null;
150
+ environment: string | null;
151
+ productId: string | null;
152
+ periodType: string | null;
153
+ transactionId: string | null;
154
+ originalTransactionId: string | null;
155
+ currency: string | null;
156
+ priceInPurchasedCurrencyMinor: number | null;
157
+ purchasedAt: string | null;
158
+ expirationAt: string | null;
159
+ eventTimestamp: string;
160
+ createdAt: string;
161
+ }, {
162
+ role: "target" | "source";
163
+ id: string;
164
+ eventId: string;
165
+ eventType: string;
166
+ outcome: string;
167
+ appUserId: string;
168
+ organizationId: string | null;
169
+ sourceOrganizationId: string | null;
170
+ store: string | null;
171
+ environment: string | null;
172
+ productId: string | null;
173
+ periodType: string | null;
174
+ transactionId: string | null;
175
+ originalTransactionId: string | null;
176
+ currency: string | null;
177
+ priceInPurchasedCurrencyMinor: number | null;
178
+ purchasedAt: string | null;
179
+ expirationAt: string | null;
180
+ eventTimestamp: string;
181
+ createdAt: string;
182
+ }>>;
183
+ export type RootOrganizationRevenuecatEventResponse = z.infer<typeof RootOrganizationRevenuecatEventResponseSchema>;
184
+ export declare const RootOrganizationRevenuecatEventsResponseSchema: z.ZodType<{
185
+ events: {
186
+ role: "target" | "source";
187
+ id: string;
188
+ eventId: string;
189
+ eventType: string;
190
+ outcome: string;
191
+ appUserId: string;
192
+ organizationId: string | null;
193
+ sourceOrganizationId: string | null;
194
+ store: string | null;
195
+ environment: string | null;
196
+ productId: string | null;
197
+ periodType: string | null;
198
+ transactionId: string | null;
199
+ originalTransactionId: string | null;
200
+ currency: string | null;
201
+ priceInPurchasedCurrencyMinor: number | null;
202
+ purchasedAt: string | null;
203
+ expirationAt: string | null;
204
+ eventTimestamp: string;
205
+ createdAt: string;
206
+ }[];
207
+ nextCursor: string | null;
208
+ }, {
209
+ events: {
210
+ role: "target" | "source";
211
+ id: string;
212
+ eventId: string;
213
+ eventType: string;
214
+ outcome: string;
215
+ appUserId: string;
216
+ organizationId: string | null;
217
+ sourceOrganizationId: string | null;
218
+ store: string | null;
219
+ environment: string | null;
220
+ productId: string | null;
221
+ periodType: string | null;
222
+ transactionId: string | null;
223
+ originalTransactionId: string | null;
224
+ currency: string | null;
225
+ priceInPurchasedCurrencyMinor: number | null;
226
+ purchasedAt: string | null;
227
+ expirationAt: string | null;
228
+ eventTimestamp: string;
229
+ createdAt: string;
230
+ }[];
231
+ nextCursor: string | null;
232
+ }, z.core.$ZodTypeInternals<{
233
+ events: {
234
+ role: "target" | "source";
235
+ id: string;
236
+ eventId: string;
237
+ eventType: string;
238
+ outcome: string;
239
+ appUserId: string;
240
+ organizationId: string | null;
241
+ sourceOrganizationId: string | null;
242
+ store: string | null;
243
+ environment: string | null;
244
+ productId: string | null;
245
+ periodType: string | null;
246
+ transactionId: string | null;
247
+ originalTransactionId: string | null;
248
+ currency: string | null;
249
+ priceInPurchasedCurrencyMinor: number | null;
250
+ purchasedAt: string | null;
251
+ expirationAt: string | null;
252
+ eventTimestamp: string;
253
+ createdAt: string;
254
+ }[];
255
+ nextCursor: string | null;
256
+ }, {
257
+ events: {
258
+ role: "target" | "source";
259
+ id: string;
260
+ eventId: string;
261
+ eventType: string;
262
+ outcome: string;
263
+ appUserId: string;
264
+ organizationId: string | null;
265
+ sourceOrganizationId: string | null;
266
+ store: string | null;
267
+ environment: string | null;
268
+ productId: string | null;
269
+ periodType: string | null;
270
+ transactionId: string | null;
271
+ originalTransactionId: string | null;
272
+ currency: string | null;
273
+ priceInPurchasedCurrencyMinor: number | null;
274
+ purchasedAt: string | null;
275
+ expirationAt: string | null;
276
+ eventTimestamp: string;
277
+ createdAt: string;
278
+ }[];
279
+ nextCursor: string | null;
280
+ }>>;
281
+ export type RootOrganizationRevenuecatEventsResponse = z.infer<typeof RootOrganizationRevenuecatEventsResponseSchema>;
282
+ export declare const RootRevenuecatEventsReportResponseSchema: z.ZodType<{
283
+ events: {
284
+ id: string;
285
+ eventId: string;
286
+ eventType: string;
287
+ outcome: string;
288
+ appUserId: string;
289
+ organizationId: string | null;
290
+ sourceOrganizationId: string | null;
291
+ store: string | null;
292
+ environment: string | null;
293
+ productId: string | null;
294
+ periodType: string | null;
295
+ transactionId: string | null;
296
+ originalTransactionId: string | null;
297
+ currency: string | null;
298
+ priceInPurchasedCurrencyMinor: number | null;
299
+ purchasedAt: string | null;
300
+ expirationAt: string | null;
301
+ eventTimestamp: string;
302
+ createdAt: string;
303
+ }[];
304
+ nextCursor: string | null;
305
+ }, {
306
+ events: {
307
+ id: string;
308
+ eventId: string;
309
+ eventType: string;
310
+ outcome: string;
311
+ appUserId: string;
312
+ organizationId: string | null;
313
+ sourceOrganizationId: string | null;
314
+ store: string | null;
315
+ environment: string | null;
316
+ productId: string | null;
317
+ periodType: string | null;
318
+ transactionId: string | null;
319
+ originalTransactionId: string | null;
320
+ currency: string | null;
321
+ priceInPurchasedCurrencyMinor: number | null;
322
+ purchasedAt: string | null;
323
+ expirationAt: string | null;
324
+ eventTimestamp: string;
325
+ createdAt: string;
326
+ }[];
327
+ nextCursor: string | null;
328
+ }, z.core.$ZodTypeInternals<{
329
+ events: {
330
+ id: string;
331
+ eventId: string;
332
+ eventType: string;
333
+ outcome: string;
334
+ appUserId: string;
335
+ organizationId: string | null;
336
+ sourceOrganizationId: string | null;
337
+ store: string | null;
338
+ environment: string | null;
339
+ productId: string | null;
340
+ periodType: string | null;
341
+ transactionId: string | null;
342
+ originalTransactionId: string | null;
343
+ currency: string | null;
344
+ priceInPurchasedCurrencyMinor: number | null;
345
+ purchasedAt: string | null;
346
+ expirationAt: string | null;
347
+ eventTimestamp: string;
348
+ createdAt: string;
349
+ }[];
350
+ nextCursor: string | null;
351
+ }, {
352
+ events: {
353
+ id: string;
354
+ eventId: string;
355
+ eventType: string;
356
+ outcome: string;
357
+ appUserId: string;
358
+ organizationId: string | null;
359
+ sourceOrganizationId: string | null;
360
+ store: string | null;
361
+ environment: string | null;
362
+ productId: string | null;
363
+ periodType: string | null;
364
+ transactionId: string | null;
365
+ originalTransactionId: string | null;
366
+ currency: string | null;
367
+ priceInPurchasedCurrencyMinor: number | null;
368
+ purchasedAt: string | null;
369
+ expirationAt: string | null;
370
+ eventTimestamp: string;
371
+ createdAt: string;
372
+ }[];
373
+ nextCursor: string | null;
374
+ }>>;
375
+ export type RootRevenuecatEventsReportResponse = z.infer<typeof RootRevenuecatEventsReportResponseSchema>;