@odla-ai/chapter 0.42.2 → 0.42.4
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/dist/{chunk-JXFYOUDL.js → chunk-4HS2JPE2.js} +11 -1
- package/dist/chunk-4HS2JPE2.js.map +1 -0
- package/dist/{chunk-HWUTCXBV.js → chunk-7MEVZEL2.js} +6 -3
- package/dist/chunk-7MEVZEL2.js.map +1 -0
- package/dist/{chunk-S7CND3R5.js → chunk-VWDEHUNI.js} +2 -2
- package/dist/{copy-context-BBPsYe24.d.ts → copy-context-Bh1EZvCg.d.ts} +1 -1
- package/dist/index.cjs +475 -6
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +219 -2
- package/dist/index.d.ts +219 -2
- package/dist/index.js +475 -6
- package/dist/index.js.map +1 -1
- package/dist/ui/admin/index.d.ts +2 -2
- package/dist/ui/admin/index.js +2 -2
- package/dist/ui/index.d.ts +1 -1
- package/dist/ui/index.js +3 -3
- package/dist/ui/member/index.d.ts +2 -2
- package/dist/ui/member/index.js +2 -2
- package/dist/worker/index.cjs +80 -18
- package/dist/worker/index.cjs.map +1 -1
- package/dist/worker/index.d.cts +1 -1
- package/dist/worker/index.d.ts +1 -1
- package/dist/worker/index.js +80 -18
- package/dist/worker/index.js.map +1 -1
- package/package.json +1 -1
- package/dist/chunk-HWUTCXBV.js.map +0 -1
- package/dist/chunk-JXFYOUDL.js.map +0 -1
- /package/dist/{chunk-S7CND3R5.js.map → chunk-VWDEHUNI.js.map} +0 -0
package/dist/index.d.cts
CHANGED
|
@@ -106,7 +106,7 @@ type TextFields$1<Key extends string> = {
|
|
|
106
106
|
[Field in Key]: string;
|
|
107
107
|
};
|
|
108
108
|
/** User-visible language for sharing, delivery state, and leader rollups. */
|
|
109
|
-
type AdminNetworkCopy = TextFields$1<"title" | "allowlistDescription" | "sharing" | "shareWith" | "shared" | "shareFailed" | "deliveryFailed" | "loadingRollup" | "loadRollupFailed" | "overview" | "configuredFollowers" | "reachableFollowers" | "recordsAcrossFollowers" | "noFollowers" | "followers" | "available" | "unavailable" | "recordTotals" | "noRecordTotals">;
|
|
109
|
+
type AdminNetworkCopy = TextFields$1<"title" | "allowlistDescription" | "sharing" | "shareWith" | "shared" | "shareFailed" | "deliveryFailed" | "loadingRollup" | "loadRollupFailed" | "overview" | "configuredFollowers" | "reachableFollowers" | "recordsAcrossFollowers" | "noFollowers" | "followers" | "available" | "unavailable" | "transportReachable" | "transportUnavailable" | "transportNotChecked" | "bindingTransport" | "urlTransport" | "activeConfiguration" | "noActiveConfiguration" | "publicSiteAvailable" | "publicSiteUnavailable" | "publicSiteNotChecked" | "recordTotals" | "noRecordTotals">;
|
|
110
110
|
|
|
111
111
|
/** Complete default language resolved beneath partial Chapter copy overrides. */
|
|
112
112
|
declare const DEFAULT_CHAPTER_COPY: ChapterCopy;
|
|
@@ -1924,14 +1924,43 @@ interface NetworkSnapshot {
|
|
|
1924
1924
|
mode: string;
|
|
1925
1925
|
};
|
|
1926
1926
|
generatedAt: number;
|
|
1927
|
+
/** Active follower-owned receipt for the managed signup configuration.
|
|
1928
|
+
* Optional on the wire so a newer leader can still inspect an older follower. */
|
|
1929
|
+
configuration?: {
|
|
1930
|
+
activeRevision: number | null;
|
|
1931
|
+
digest?: string;
|
|
1932
|
+
};
|
|
1927
1933
|
types: TypeSummary[];
|
|
1928
1934
|
}
|
|
1935
|
+
/** Server-side route used for the signed follower snapshot. `reachable: null`
|
|
1936
|
+
* means the request could not be attempted (for example, a missing edge secret). */
|
|
1937
|
+
interface NetworkTargetTransportStatus {
|
|
1938
|
+
kind: "binding" | "url";
|
|
1939
|
+
binding?: string;
|
|
1940
|
+
reachable: boolean | null;
|
|
1941
|
+
error?: {
|
|
1942
|
+
code: "binding_unavailable" | "binding_request_failed" | "url_request_failed" | "edge_secret_missing";
|
|
1943
|
+
message: string;
|
|
1944
|
+
};
|
|
1945
|
+
}
|
|
1929
1946
|
/** One configured target's latest live result in a leader rollup. */
|
|
1930
1947
|
interface NetworkRollupTarget {
|
|
1931
1948
|
id: string;
|
|
1932
1949
|
name: string;
|
|
1933
1950
|
url: string;
|
|
1934
1951
|
available: boolean;
|
|
1952
|
+
/** Signed snapshot transport; independent of public-origin availability. */
|
|
1953
|
+
transport: NetworkTargetTransportStatus;
|
|
1954
|
+
/** Last active managed configuration reported by the authenticated follower. */
|
|
1955
|
+
configuration: {
|
|
1956
|
+
activeRevision: number | null;
|
|
1957
|
+
digest?: string;
|
|
1958
|
+
};
|
|
1959
|
+
/** `null` when a service binding was authoritative and the public origin was
|
|
1960
|
+
* deliberately not probed. */
|
|
1961
|
+
publicSite: {
|
|
1962
|
+
available: boolean | null;
|
|
1963
|
+
};
|
|
1935
1964
|
generatedAt?: number;
|
|
1936
1965
|
types?: TypeSummary[];
|
|
1937
1966
|
error?: string;
|
|
@@ -2897,4 +2926,192 @@ interface ChapterPromotionInput {
|
|
|
2897
2926
|
/** Export the provider-independent pieces of one exact active signup revision. */
|
|
2898
2927
|
declare function exportChapterPromotion(input: ChapterPromotionInput): Promise<PromotionAdapterResult>;
|
|
2899
2928
|
|
|
2900
|
-
|
|
2929
|
+
/** Storage boundary for a member-system field. */
|
|
2930
|
+
type MemberSystemScope = "network" | "chapter" | "provider";
|
|
2931
|
+
/** Durable authority allowed to write a member-system field. */
|
|
2932
|
+
type MemberSystemWriter = "network_person" | "chapter_journey" | "network_membership" | "network_entitlement" | "network_seat" | "network_discount_policy" | "network_referral_ledger" | "network_investment_ledger" | "network_commercial_projection" | "clerk" | "stripe";
|
|
2933
|
+
/** Read model that may receive an allowlisted field. */
|
|
2934
|
+
type MemberSystemProjection = "bnf_admin" | "chapter_admin" | "chapter_crm" | "member_self_service" | "stripe_billing" | "clerk_identity";
|
|
2935
|
+
/** Privacy classification used by projection policy. */
|
|
2936
|
+
type MemberFieldSensitivity = "ordinary" | "pii" | "sensitive" | "restricted";
|
|
2937
|
+
/** Access a member has to her own projected field. */
|
|
2938
|
+
type MemberFieldSelfAccess = "edit" | "read" | "none";
|
|
2939
|
+
/** One field's scope, writer, projections, sensitivity, and self-service access. */
|
|
2940
|
+
interface MemberFieldAuthority {
|
|
2941
|
+
id: string;
|
|
2942
|
+
scope: MemberSystemScope;
|
|
2943
|
+
writer: MemberSystemWriter;
|
|
2944
|
+
projections: readonly MemberSystemProjection[];
|
|
2945
|
+
sensitivity: MemberFieldSensitivity;
|
|
2946
|
+
memberAccess: MemberFieldSelfAccess;
|
|
2947
|
+
}
|
|
2948
|
+
/** Each field has one durable writer. BNF is an operator projection, never a writer. */
|
|
2949
|
+
declare const MEMBER_SYSTEM_AUTHORITY_MATRIX: readonly MemberFieldAuthority[];
|
|
2950
|
+
/** Fields a member may change through self-service. */
|
|
2951
|
+
declare const MEMBER_SELF_EDITABLE_FIELDS: Set<string>;
|
|
2952
|
+
/** Fields that may appear in a member self-service response. */
|
|
2953
|
+
declare const MEMBER_SELF_READABLE_FIELDS: Set<string>;
|
|
2954
|
+
/** Serialize only the explicit member self-service allowlist. */
|
|
2955
|
+
declare function projectMemberSelf(record: Readonly<Record<string, unknown>>): Record<string, unknown>;
|
|
2956
|
+
/** Proposed field mutation with optimistic-revision evidence. */
|
|
2957
|
+
interface MemberSystemWriteIntent {
|
|
2958
|
+
field: string;
|
|
2959
|
+
actor: MemberSystemWriter | "bnf";
|
|
2960
|
+
expectedRevision: number;
|
|
2961
|
+
actualRevision: number;
|
|
2962
|
+
}
|
|
2963
|
+
/** Result of checking a proposed mutation against surface, writer, and revision rules. */
|
|
2964
|
+
type MemberSystemWriteDisposition = "apply" | "reject_bnf_surface" | "reject_unknown_field" | "reject_wrong_writer" | "reject_stale_revision";
|
|
2965
|
+
/** Reject BNF, wrong-writer, unknown-field, and stale-revision mutations. */
|
|
2966
|
+
declare function classifyMemberSystemWrite(intent: MemberSystemWriteIntent): MemberSystemWriteDisposition;
|
|
2967
|
+
/** Result of validating an authority matrix. */
|
|
2968
|
+
interface MemberAuthorityValidation {
|
|
2969
|
+
ok: boolean;
|
|
2970
|
+
errors: string[];
|
|
2971
|
+
}
|
|
2972
|
+
/** Validate uniqueness, self-service projection, and aggregate scope invariants. */
|
|
2973
|
+
declare function validateMemberSystemAuthority(matrix?: readonly MemberFieldAuthority[]): MemberAuthorityValidation;
|
|
2974
|
+
|
|
2975
|
+
/** Provider-free lifecycle contract for the network member system. */
|
|
2976
|
+
declare const MEMBER_SYSTEM_CONTRACT_VERSION: 1;
|
|
2977
|
+
|
|
2978
|
+
/** Ordered chapter Journey stages from first identification through first deal. */
|
|
2979
|
+
declare const JOURNEY_STAGES: readonly ["identified", "researched", "outreach", "in_conversation", "invited_or_requested", "application_started", "applied", "paid_awaiting_conversation", "ready_to_book", "booked", "met", "approved", "onboarded", "active", "first_deal"];
|
|
2980
|
+
/** A chapter Journey stage. */
|
|
2981
|
+
type JourneyStage = typeof JOURNEY_STAGES[number];
|
|
2982
|
+
/** Terminal Journey outcomes; refunds remain commercial events. */
|
|
2983
|
+
declare const JOURNEY_ENDINGS: readonly ["passed", "declined", "withdrew", "lapsed"];
|
|
2984
|
+
/** A terminal chapter Journey outcome. */
|
|
2985
|
+
type JourneyEnding = typeof JOURNEY_ENDINGS[number];
|
|
2986
|
+
/** Required notice categories that may bypass discretionary contact suppression. */
|
|
2987
|
+
declare const REQUIRED_NOTICE_KINDS: readonly ["payment_receipt", "refund_confirmation", "security_alert", "legal_notice", "membership_status", "renewal_notice", "cancellation_confirmation"];
|
|
2988
|
+
/** A typed required notice allowed despite discretionary contact suppression. */
|
|
2989
|
+
type RequiredNoticeKind = typeof REQUIRED_NOTICE_KINDS[number];
|
|
2990
|
+
/** Availability inputs that distinguish the BNF UI from the odla data plane. */
|
|
2991
|
+
interface MemberSystemAvailabilityInput {
|
|
2992
|
+
odlaReachable: boolean;
|
|
2993
|
+
bnfFrontendReachable: boolean;
|
|
2994
|
+
}
|
|
2995
|
+
/** Capabilities allowed at the current BNF and odla availability state. */
|
|
2996
|
+
interface MemberSystemAvailability {
|
|
2997
|
+
bnfAdministration: boolean;
|
|
2998
|
+
chapterWorkflow: boolean;
|
|
2999
|
+
memberSelfService: boolean;
|
|
3000
|
+
newApplication: boolean;
|
|
3001
|
+
newCheckout: boolean;
|
|
3002
|
+
providerRenewalsMayContinue: true;
|
|
3003
|
+
reason?: "odla_unavailable" | "bnf_frontend_unavailable";
|
|
3004
|
+
}
|
|
3005
|
+
/** BNF is optional for chapter execution; odla is not. */
|
|
3006
|
+
declare function memberSystemAvailability(input: MemberSystemAvailabilityInput): MemberSystemAvailability;
|
|
3007
|
+
/** Partition metadata supplied by a verified Stripe event. */
|
|
3008
|
+
interface MemberStripeIdentity {
|
|
3009
|
+
appId?: string;
|
|
3010
|
+
environment?: string;
|
|
3011
|
+
dataEnvironment?: string;
|
|
3012
|
+
runtime?: string;
|
|
3013
|
+
chapterId?: string;
|
|
3014
|
+
}
|
|
3015
|
+
/** Exact app, environment, runtime, and chapter partition expected by a consumer. */
|
|
3016
|
+
interface MemberStripeTarget {
|
|
3017
|
+
appId: string;
|
|
3018
|
+
environment: string;
|
|
3019
|
+
dataEnvironment: string;
|
|
3020
|
+
runtime: string;
|
|
3021
|
+
chapterId: string;
|
|
3022
|
+
}
|
|
3023
|
+
/** Safe handling of a verified Stripe event after partition checks. */
|
|
3024
|
+
type MemberStripeDisposition = "apply" | "apply_legacy" | "ignore_sibling" | "quarantine_unmatched";
|
|
3025
|
+
/** Partition verified Stripe events before any lookup or write. */
|
|
3026
|
+
declare function classifyMemberStripeEvent(identity: MemberStripeIdentity, target: MemberStripeTarget, hasProvenLegacyLocalLink: boolean): MemberStripeDisposition;
|
|
3027
|
+
/** Stable provider-event identity and content digest used for replay. */
|
|
3028
|
+
interface MemberSystemEventReceiptInput {
|
|
3029
|
+
id: string;
|
|
3030
|
+
digest: string;
|
|
3031
|
+
}
|
|
3032
|
+
/** Accepted, duplicate, and colliding provider-event identifiers. */
|
|
3033
|
+
interface MemberSystemEventReplayPlan {
|
|
3034
|
+
accepted: string[];
|
|
3035
|
+
replayed: string[];
|
|
3036
|
+
collisions: string[];
|
|
3037
|
+
}
|
|
3038
|
+
/** Plan provider-event replay by stable identifier and digest. */
|
|
3039
|
+
declare function planMemberSystemEventReplay(events: readonly MemberSystemEventReceiptInput[]): MemberSystemEventReplayPlan;
|
|
3040
|
+
/** Fail-closed and replay targets for restoring the member-system projection. */
|
|
3041
|
+
interface MemberSystemRecoveryObjectives {
|
|
3042
|
+
failClosedWithinMs: 0;
|
|
3043
|
+
replayProjectionWithinMinutes: number;
|
|
3044
|
+
providerEventsRemainReplayable: true;
|
|
3045
|
+
requireHumanReviewForCollision: true;
|
|
3046
|
+
}
|
|
3047
|
+
/** Accepted recovery objectives for the first rollout. */
|
|
3048
|
+
declare const MEMBER_SYSTEM_RECOVERY_OBJECTIVES: MemberSystemRecoveryObjectives;
|
|
3049
|
+
/** Candidate legacy or external row considered for migration. */
|
|
3050
|
+
interface MemberSystemMigrationRow {
|
|
3051
|
+
id: string;
|
|
3052
|
+
source: "silver_salt_current" | "external_reimport" | "synthetic_fixture";
|
|
3053
|
+
isRealPerson: boolean;
|
|
3054
|
+
provenance?: string;
|
|
3055
|
+
}
|
|
3056
|
+
/** Import, fixture-only, and rejected row identifiers. */
|
|
3057
|
+
interface MemberSystemMigrationPlan {
|
|
3058
|
+
importIds: string[];
|
|
3059
|
+
fixtureIds: string[];
|
|
3060
|
+
rejectedIds: string[];
|
|
3061
|
+
}
|
|
3062
|
+
/** Existing Silver & Salt rows never migrate; external real contacts need provenance. */
|
|
3063
|
+
declare function planMemberSystemMigration(rows: readonly MemberSystemMigrationRow[]): MemberSystemMigrationPlan;
|
|
3064
|
+
/** Non-destructive actions used to stop and reconcile the rollout. */
|
|
3065
|
+
interface MemberSystemRollbackPlan {
|
|
3066
|
+
stopNetworkWrites: true;
|
|
3067
|
+
disableBnfMemberMutations: true;
|
|
3068
|
+
keepChapterProductionReads: true;
|
|
3069
|
+
keepStripeBillingAuthority: true;
|
|
3070
|
+
deleteProviderObjects: false;
|
|
3071
|
+
reverseProviderPayments: false;
|
|
3072
|
+
reconciliationRequired: true;
|
|
3073
|
+
}
|
|
3074
|
+
/** Produce the non-destructive rollback contract. */
|
|
3075
|
+
declare function memberSystemRollbackPlan(): MemberSystemRollbackPlan;
|
|
3076
|
+
/** Synthetic-only inventory. Counts describe current development rows, not members. */
|
|
3077
|
+
declare const SILVER_SALT_P0_FIXTURE: {
|
|
3078
|
+
readonly sourceInventory: {
|
|
3079
|
+
readonly applications: 36;
|
|
3080
|
+
readonly meetings: 7;
|
|
3081
|
+
readonly emails: 49;
|
|
3082
|
+
readonly realPeople: 0;
|
|
3083
|
+
};
|
|
3084
|
+
readonly application: {
|
|
3085
|
+
readonly id: "fixture_application_001";
|
|
3086
|
+
readonly personId: "fixture_person_001";
|
|
3087
|
+
readonly migrates: false;
|
|
3088
|
+
};
|
|
3089
|
+
readonly crm: {
|
|
3090
|
+
readonly recordId: "fixture_crm_001";
|
|
3091
|
+
readonly email: "fixture.member@example.invalid";
|
|
3092
|
+
readonly migrates: false;
|
|
3093
|
+
};
|
|
3094
|
+
readonly clerk: {
|
|
3095
|
+
readonly userId: "user_fixture_001";
|
|
3096
|
+
readonly verifiedEmail: "fixture.member@example.invalid";
|
|
3097
|
+
readonly migrates: false;
|
|
3098
|
+
};
|
|
3099
|
+
readonly stripe: {
|
|
3100
|
+
readonly customerId: "cus_fixture_001";
|
|
3101
|
+
readonly subscriptionId: "sub_fixture_001";
|
|
3102
|
+
readonly productId: "prod_fixture_001";
|
|
3103
|
+
readonly priceId: "price_fixture_001";
|
|
3104
|
+
readonly eventId: "evt_fixture_001";
|
|
3105
|
+
readonly migrates: false;
|
|
3106
|
+
};
|
|
3107
|
+
readonly unmatchedStripeEvent: {
|
|
3108
|
+
readonly id: "evt_fixture_unmatched";
|
|
3109
|
+
readonly disposition: "quarantine_unmatched";
|
|
3110
|
+
};
|
|
3111
|
+
readonly legacyStripeEvent: {
|
|
3112
|
+
readonly id: "evt_fixture_legacy";
|
|
3113
|
+
readonly requiresProvenLocalLink: true;
|
|
3114
|
+
};
|
|
3115
|
+
};
|
|
3116
|
+
|
|
3117
|
+
export { ADMISSION_GRANTS_PATH, ADMISSION_GRANTS_SCHEMA_VERSION, type AccountModel, type AdminNotificationTrigger, type AdmissionDecision, type AdmissionGrantDocument, type AdmissionGrantEnvelope, type AdmissionGrantInput, type AdmissionGrantReceipt, type AdmissionGrantRejection, type AdmissionGrantRevisionRow, type AdmissionGrantRow, type AdmissionGrantValidation, type Applicant, type ApplicationBookingPatch, type ApplicationRecord, type ApplicationSummary, type Attr, type AttrType, BUILDER_LIBRARY_ADMIN_PATH, BUILDER_LIBRARY_CONTROL_PATH, BUILDER_LIBRARY_MANIFEST_PATH, BUILDER_LIBRARY_PROMOTE_PATH, BUILDER_LIBRARY_SCHEMA_VERSION, type BuilderLibraryBrandAssetRef, type BuilderLibraryDocument, type BuilderLibraryEnvelope, type BuilderLibraryManifest, type BuilderLibraryPromotionProvenance, type BuilderLibraryReceipt, type BuilderLibraryResource, type BuilderLibraryResourceKind, type BuilderLibraryResourceProvenance, type BuilderLibraryResourceStatus, type BuilderLibraryScope, type BuilderLibrarySource, type BuilderLibrarySourceType, type BuilderLibraryTarget, type BuilderLibraryValidationOptions, type BuilderLibraryValidationResult, type BuilderLibraryViewer, type BuyerGiftClaim, CHAPTER_FLOW_FIELDS_SCHEMA_VERSION, CHAPTER_PROMOTION_ADAPTER, type Chapter, type ChapterApplication, type ChapterAuth, type ChapterBrand, type ChapterBuilderLibrary, type ChapterConfig, type ChapterCopy, type ChapterCopyInput, type ChapterDb, type ChapterEmailIdentity, type ChapterEmails, type ChapterFieldFlow, type ChapterFlowField, type ChapterFlowFieldContract, type ChapterIntegrationDescriptor, type ChapterIntegrationOptions, type ChapterMemberContent, type ChapterMode, type ChapterNetwork, type ChapterNetworkReader, type ChapterNetworkTarget, type ChapterOperations, type ChapterPipeline, type ChapterPolicy, type ChapterPrices, type ChapterPromotionInput, type ChapterRunbookHints, type ChapterScheduling, type ChapterSends, type ChapterSignupControl, type ChapterTier, type ChapterTierConfig, type ClerkInviteInput, type ClerkMetadataInput, type ClerkResult, type ClerkUserInput, type ClerkUserRecord, type CompiledChapterBrandTokens, DEFAULT_CHAPTER_COPY, DEFAULT_SHARE_FIELDS, type DashboardMetricData, type DashboardMetricSeries, type DbOp, type DbRules, type DbSchema, type DeliveryDecision, type EffectiveMemberContent, type EffectiveMemberContentPage, type EmailGroup, type EmailTemplate, type EmailTemplateRow, type Entity, type ExistingMeeting, GIFT_OFFER_CATALOG_VERSION, type GiftOffer, type GiftOfferCatalog, type GiftOfferTarget, type GiftOfferValidation, type GuardResult, type IntegrationDescriptor, type IntegrationProvision, type IntegrationSecret, type IntegrationSetting, type IntegrationSync, JOURNEY_ENDINGS, JOURNEY_STAGES, type JoinConfigGroup, type JoinConfigTier, type JoinContinuation, type JourneyEnding, type JourneyStage, type LeaderCrmOptions, type LeaderFormationConfig, type LiveEvent, MAX_GIFT_OFFERS, MEMBERSHIP_PAGE_RENDERER, MEMBER_CONTENT_CONTROL_PATH, MEMBER_CONTENT_PATH, MEMBER_CONTENT_SCHEMA_VERSION, MEMBER_SELF_EDITABLE_FIELDS, MEMBER_SELF_READABLE_FIELDS, MEMBER_SYSTEM_AUTHORITY_MATRIX, MEMBER_SYSTEM_CONTRACT_VERSION, MEMBER_SYSTEM_RECOVERY_OBJECTIVES, type MailSender, type MeetingForReconcile, type MeetingRecord, type MeetingReschedulePatch, type MemberApplication, type MemberAuthorityValidation, type MemberContentDocument, type MemberContentEnvelope, type MemberContentPage, type MemberContentPageProjection, type MemberContentProjection, type MemberContentReceipt, type MemberContentRejection, type MemberContentSource, type MemberContentSourceType, type MemberContentTarget, type MemberContentTierAuthority, type MemberContentValidationOptions, type MemberContentValidationResult, type MemberContentViewer, type MemberFieldAuthority, type MemberFieldSelfAccess, type MemberFieldSensitivity, type MemberPageAudience, type MemberPageNavigation, type MemberPageUpsell, type MemberPageUpsellOffer, type MemberPageUpsellOverride, type MemberSession, type MemberStripeDisposition, type MemberStripeIdentity, type MemberStripeTarget, type MemberSystemAvailability, type MemberSystemAvailabilityInput, type MemberSystemEventReceiptInput, type MemberSystemEventReplayPlan, type MemberSystemMigrationPlan, type MemberSystemMigrationRow, type MemberSystemProjection, type MemberSystemRecoveryObjectives, type MemberSystemRollbackPlan, type MemberSystemScope, type MemberSystemWriteDisposition, type MemberSystemWriteIntent, type MemberSystemWriter, type MembershipPageDocument, type MembershipPageValidationOptions, type MembershipPageValidationResult, type MembershipTierAuthority, type MembershipTierCallout, type MembershipTierCapacity, type MembershipTierMarkdownResult, type MembershipTierPresentation, type MembershipTierVariant, type NetworkEditableField, type NetworkRecord, type NetworkRecordEdit, type NetworkRecordMutation, type NetworkRecordMutationResult, type NetworkRecordNote, type NetworkRecordPage, type NetworkRollup, type NetworkRollupTarget, type NetworkSharedNote, type NetworkSnapshot, type NetworkStageTransition, type NetworkTargetTransportStatus, type NewMeetingRow, type NotifyDeps, type NotifyInput, type NotifyResult, type PaymentsGroup, type ProjectionDeps, type PublicGiftOffer, REQUIRED_NOTICE_KINDS, type ReconcileDecision, type RequiredNoticeKind, type ResolvedApplication, type ResolvedAuth, type ResolvedBuilderLibrary, type ResolvedLeaderFormation, type ResolvedMemberContent, type ResolvedMemberPageUpsell, type ResolvedNetwork, type ResolvedNetworkReader, type ResolvedNetworkTarget, type ResolvedOperations, type ResolvedPipeline, type ResolvedScheduling, type ResolvedSends, type ResolvedSignupControl, type RoleChangeContext, type Rule, SCHEDULING_DEFAULTS, SIGNUP_CONTROL_PATH, SIGNUP_CONTROL_SCHEMA_VERSION, SIGNUP_CONTROL_THEME_MARKER, SIGNUP_CONTROL_THEME_STYLE_ID, SILVER_SALT_P0_FIXTURE, type SchedulingErrors, type SecretMode, type SecretStore, type SessionUser, type SharedBusiness, type SharedPerson, type SharedRecord, type SharedRecordV1, type SharedRecordV2, type SignupControlApplication, type SignupControlDocument, type SignupControlEnvelope, type SignupControlPolicy, type SignupControlReceipt, type SignupControlRejection, type SignupControlTheme, type SignupControlThemeHead, type SignupControlThemeMetadata, type SignupControlThemeOptions, type SignupControlThemeRevision, type SignupControlThemeStyleTarget, type SignupControlTier, type SignupControlValidation, type StripeEvent, type StripeResult, type SubmitResult, type TierGroup, type TierGroupRow, type WebhookEvent, applicantProfile, applicationBookingUpdate, applicationFlowFields, applicationSummary, applyMembershipTierMarkdown, backfillCrm, bookingDecision, brandTokens, bucketSeries, buildBuilderLibraryManifest, buildGroupSeed, buildTierSeeds, builderLibraryDigest, canApprove, canBook, canChangeRole, canTransition, canViewBuilderLibraryResource, canceledPatch, canonicalBuilderLibrary, canonicalMemberContent, canonicalSignupControl, chapterBrandFromTokens, chapterDb, chapterFlowFieldContract, clampArray, classifyMemberStripeEvent, classifyMemberSystemWrite, clerkGetUser, clerkGetUserByEmail, clerkIntegration, clerkInviteRequest, clerkListUsers, clerkSetRole, clerkUserRequest, composeMemberContent, createAdmissionGrantEnvelope, createBuilderLibraryEnvelope, createChapterIntegration, createClerkInvitation, createClerkUser, createMemberContentEnvelope, createSignupControlEnvelope, dashboardMetricData, defaultCrm, defineChapter, emailGroupFrom, endForSlot, exportChapterPromotion, findAdmissionGrant, findApplicationRef, findGiftOffer, findTier, firstPaymentPatch, formatChapterCopy, formationFields, formationFlowFields, getVaultSecret, giftOfferActive, hasDisclaimerAck, hydrateSignupControlTheme, injectSignupControlThemeHead, introIdempotencyKey, isAdminRole, isAlreadySent, isReconcilable, isSlotAvailable, isValidEmail, joinConfig, joinConfigTiers, leaderCrmConfig, loadLatestAdmissionRevision, loadOfferableTiers, loadTiers, materializeAdmissionGrants, meetingCreateRow, meetingRescheduleUpdate, memberApplication, memberContentDigest, memberContentDocument, memberSession, memberSystemAvailability, memberSystemRollbackPlan, membershipPageDocument, membershipTierPresentationFromMarkdown, networkSourceTag, normalizeAdmissionEmail, normalizeChapterEmail, normalizeSharedRecord, normalizeWebhookEvent, offerableTiers, paymentsReady, personInputFromApp, planDelivery, planMemberSystemEventReplay, planMemberSystemMigration, projectApplicant, projectBuilderLibraryDelivery, projectMemberContent, projectMemberSelf, projectSharedRecord, promoteBuilderLibraryResource, publicGiftOffers, reconcileMeetings, refundedPatch, render, renderSignupControlThemeHead, renderSummary, renderTemplateBody, renewalPatch, resolveApplication, resolveAuth, resolveBuilderLibrary, resolveChapterCopy, resolveJoinContinuation, resolveLeaderFormation, resolveMemberContent, resolvePipeline, resolveScheduling, resolveSignupControl, resolveTiers, roleFromClaim, sendTemplated, sharedPersonInput, sharedRecordFromCrm, signupControlDigest, slotWindow, stageIndex, stripeCall, subAnnualCents, submitApplication, subscriptionIdempotencyKey, syncApplicationToCrm, tierIsFree, tierPayable, updateClerkUserMetadata, updateClerkUserMetadataByEmail, validateAdmissionGrantDocument, validateBuilderLibraryDocument, validateGiftOfferCatalog, validateMemberContentDocument, validateMemberSystemAuthority, validateMembershipPageDocument, validateScheduling, validateSignupControlDocument, webhookMutationId };
|
package/dist/index.d.ts
CHANGED
|
@@ -106,7 +106,7 @@ type TextFields$1<Key extends string> = {
|
|
|
106
106
|
[Field in Key]: string;
|
|
107
107
|
};
|
|
108
108
|
/** User-visible language for sharing, delivery state, and leader rollups. */
|
|
109
|
-
type AdminNetworkCopy = TextFields$1<"title" | "allowlistDescription" | "sharing" | "shareWith" | "shared" | "shareFailed" | "deliveryFailed" | "loadingRollup" | "loadRollupFailed" | "overview" | "configuredFollowers" | "reachableFollowers" | "recordsAcrossFollowers" | "noFollowers" | "followers" | "available" | "unavailable" | "recordTotals" | "noRecordTotals">;
|
|
109
|
+
type AdminNetworkCopy = TextFields$1<"title" | "allowlistDescription" | "sharing" | "shareWith" | "shared" | "shareFailed" | "deliveryFailed" | "loadingRollup" | "loadRollupFailed" | "overview" | "configuredFollowers" | "reachableFollowers" | "recordsAcrossFollowers" | "noFollowers" | "followers" | "available" | "unavailable" | "transportReachable" | "transportUnavailable" | "transportNotChecked" | "bindingTransport" | "urlTransport" | "activeConfiguration" | "noActiveConfiguration" | "publicSiteAvailable" | "publicSiteUnavailable" | "publicSiteNotChecked" | "recordTotals" | "noRecordTotals">;
|
|
110
110
|
|
|
111
111
|
/** Complete default language resolved beneath partial Chapter copy overrides. */
|
|
112
112
|
declare const DEFAULT_CHAPTER_COPY: ChapterCopy;
|
|
@@ -1924,14 +1924,43 @@ interface NetworkSnapshot {
|
|
|
1924
1924
|
mode: string;
|
|
1925
1925
|
};
|
|
1926
1926
|
generatedAt: number;
|
|
1927
|
+
/** Active follower-owned receipt for the managed signup configuration.
|
|
1928
|
+
* Optional on the wire so a newer leader can still inspect an older follower. */
|
|
1929
|
+
configuration?: {
|
|
1930
|
+
activeRevision: number | null;
|
|
1931
|
+
digest?: string;
|
|
1932
|
+
};
|
|
1927
1933
|
types: TypeSummary[];
|
|
1928
1934
|
}
|
|
1935
|
+
/** Server-side route used for the signed follower snapshot. `reachable: null`
|
|
1936
|
+
* means the request could not be attempted (for example, a missing edge secret). */
|
|
1937
|
+
interface NetworkTargetTransportStatus {
|
|
1938
|
+
kind: "binding" | "url";
|
|
1939
|
+
binding?: string;
|
|
1940
|
+
reachable: boolean | null;
|
|
1941
|
+
error?: {
|
|
1942
|
+
code: "binding_unavailable" | "binding_request_failed" | "url_request_failed" | "edge_secret_missing";
|
|
1943
|
+
message: string;
|
|
1944
|
+
};
|
|
1945
|
+
}
|
|
1929
1946
|
/** One configured target's latest live result in a leader rollup. */
|
|
1930
1947
|
interface NetworkRollupTarget {
|
|
1931
1948
|
id: string;
|
|
1932
1949
|
name: string;
|
|
1933
1950
|
url: string;
|
|
1934
1951
|
available: boolean;
|
|
1952
|
+
/** Signed snapshot transport; independent of public-origin availability. */
|
|
1953
|
+
transport: NetworkTargetTransportStatus;
|
|
1954
|
+
/** Last active managed configuration reported by the authenticated follower. */
|
|
1955
|
+
configuration: {
|
|
1956
|
+
activeRevision: number | null;
|
|
1957
|
+
digest?: string;
|
|
1958
|
+
};
|
|
1959
|
+
/** `null` when a service binding was authoritative and the public origin was
|
|
1960
|
+
* deliberately not probed. */
|
|
1961
|
+
publicSite: {
|
|
1962
|
+
available: boolean | null;
|
|
1963
|
+
};
|
|
1935
1964
|
generatedAt?: number;
|
|
1936
1965
|
types?: TypeSummary[];
|
|
1937
1966
|
error?: string;
|
|
@@ -2897,4 +2926,192 @@ interface ChapterPromotionInput {
|
|
|
2897
2926
|
/** Export the provider-independent pieces of one exact active signup revision. */
|
|
2898
2927
|
declare function exportChapterPromotion(input: ChapterPromotionInput): Promise<PromotionAdapterResult>;
|
|
2899
2928
|
|
|
2900
|
-
|
|
2929
|
+
/** Storage boundary for a member-system field. */
|
|
2930
|
+
type MemberSystemScope = "network" | "chapter" | "provider";
|
|
2931
|
+
/** Durable authority allowed to write a member-system field. */
|
|
2932
|
+
type MemberSystemWriter = "network_person" | "chapter_journey" | "network_membership" | "network_entitlement" | "network_seat" | "network_discount_policy" | "network_referral_ledger" | "network_investment_ledger" | "network_commercial_projection" | "clerk" | "stripe";
|
|
2933
|
+
/** Read model that may receive an allowlisted field. */
|
|
2934
|
+
type MemberSystemProjection = "bnf_admin" | "chapter_admin" | "chapter_crm" | "member_self_service" | "stripe_billing" | "clerk_identity";
|
|
2935
|
+
/** Privacy classification used by projection policy. */
|
|
2936
|
+
type MemberFieldSensitivity = "ordinary" | "pii" | "sensitive" | "restricted";
|
|
2937
|
+
/** Access a member has to her own projected field. */
|
|
2938
|
+
type MemberFieldSelfAccess = "edit" | "read" | "none";
|
|
2939
|
+
/** One field's scope, writer, projections, sensitivity, and self-service access. */
|
|
2940
|
+
interface MemberFieldAuthority {
|
|
2941
|
+
id: string;
|
|
2942
|
+
scope: MemberSystemScope;
|
|
2943
|
+
writer: MemberSystemWriter;
|
|
2944
|
+
projections: readonly MemberSystemProjection[];
|
|
2945
|
+
sensitivity: MemberFieldSensitivity;
|
|
2946
|
+
memberAccess: MemberFieldSelfAccess;
|
|
2947
|
+
}
|
|
2948
|
+
/** Each field has one durable writer. BNF is an operator projection, never a writer. */
|
|
2949
|
+
declare const MEMBER_SYSTEM_AUTHORITY_MATRIX: readonly MemberFieldAuthority[];
|
|
2950
|
+
/** Fields a member may change through self-service. */
|
|
2951
|
+
declare const MEMBER_SELF_EDITABLE_FIELDS: Set<string>;
|
|
2952
|
+
/** Fields that may appear in a member self-service response. */
|
|
2953
|
+
declare const MEMBER_SELF_READABLE_FIELDS: Set<string>;
|
|
2954
|
+
/** Serialize only the explicit member self-service allowlist. */
|
|
2955
|
+
declare function projectMemberSelf(record: Readonly<Record<string, unknown>>): Record<string, unknown>;
|
|
2956
|
+
/** Proposed field mutation with optimistic-revision evidence. */
|
|
2957
|
+
interface MemberSystemWriteIntent {
|
|
2958
|
+
field: string;
|
|
2959
|
+
actor: MemberSystemWriter | "bnf";
|
|
2960
|
+
expectedRevision: number;
|
|
2961
|
+
actualRevision: number;
|
|
2962
|
+
}
|
|
2963
|
+
/** Result of checking a proposed mutation against surface, writer, and revision rules. */
|
|
2964
|
+
type MemberSystemWriteDisposition = "apply" | "reject_bnf_surface" | "reject_unknown_field" | "reject_wrong_writer" | "reject_stale_revision";
|
|
2965
|
+
/** Reject BNF, wrong-writer, unknown-field, and stale-revision mutations. */
|
|
2966
|
+
declare function classifyMemberSystemWrite(intent: MemberSystemWriteIntent): MemberSystemWriteDisposition;
|
|
2967
|
+
/** Result of validating an authority matrix. */
|
|
2968
|
+
interface MemberAuthorityValidation {
|
|
2969
|
+
ok: boolean;
|
|
2970
|
+
errors: string[];
|
|
2971
|
+
}
|
|
2972
|
+
/** Validate uniqueness, self-service projection, and aggregate scope invariants. */
|
|
2973
|
+
declare function validateMemberSystemAuthority(matrix?: readonly MemberFieldAuthority[]): MemberAuthorityValidation;
|
|
2974
|
+
|
|
2975
|
+
/** Provider-free lifecycle contract for the network member system. */
|
|
2976
|
+
declare const MEMBER_SYSTEM_CONTRACT_VERSION: 1;
|
|
2977
|
+
|
|
2978
|
+
/** Ordered chapter Journey stages from first identification through first deal. */
|
|
2979
|
+
declare const JOURNEY_STAGES: readonly ["identified", "researched", "outreach", "in_conversation", "invited_or_requested", "application_started", "applied", "paid_awaiting_conversation", "ready_to_book", "booked", "met", "approved", "onboarded", "active", "first_deal"];
|
|
2980
|
+
/** A chapter Journey stage. */
|
|
2981
|
+
type JourneyStage = typeof JOURNEY_STAGES[number];
|
|
2982
|
+
/** Terminal Journey outcomes; refunds remain commercial events. */
|
|
2983
|
+
declare const JOURNEY_ENDINGS: readonly ["passed", "declined", "withdrew", "lapsed"];
|
|
2984
|
+
/** A terminal chapter Journey outcome. */
|
|
2985
|
+
type JourneyEnding = typeof JOURNEY_ENDINGS[number];
|
|
2986
|
+
/** Required notice categories that may bypass discretionary contact suppression. */
|
|
2987
|
+
declare const REQUIRED_NOTICE_KINDS: readonly ["payment_receipt", "refund_confirmation", "security_alert", "legal_notice", "membership_status", "renewal_notice", "cancellation_confirmation"];
|
|
2988
|
+
/** A typed required notice allowed despite discretionary contact suppression. */
|
|
2989
|
+
type RequiredNoticeKind = typeof REQUIRED_NOTICE_KINDS[number];
|
|
2990
|
+
/** Availability inputs that distinguish the BNF UI from the odla data plane. */
|
|
2991
|
+
interface MemberSystemAvailabilityInput {
|
|
2992
|
+
odlaReachable: boolean;
|
|
2993
|
+
bnfFrontendReachable: boolean;
|
|
2994
|
+
}
|
|
2995
|
+
/** Capabilities allowed at the current BNF and odla availability state. */
|
|
2996
|
+
interface MemberSystemAvailability {
|
|
2997
|
+
bnfAdministration: boolean;
|
|
2998
|
+
chapterWorkflow: boolean;
|
|
2999
|
+
memberSelfService: boolean;
|
|
3000
|
+
newApplication: boolean;
|
|
3001
|
+
newCheckout: boolean;
|
|
3002
|
+
providerRenewalsMayContinue: true;
|
|
3003
|
+
reason?: "odla_unavailable" | "bnf_frontend_unavailable";
|
|
3004
|
+
}
|
|
3005
|
+
/** BNF is optional for chapter execution; odla is not. */
|
|
3006
|
+
declare function memberSystemAvailability(input: MemberSystemAvailabilityInput): MemberSystemAvailability;
|
|
3007
|
+
/** Partition metadata supplied by a verified Stripe event. */
|
|
3008
|
+
interface MemberStripeIdentity {
|
|
3009
|
+
appId?: string;
|
|
3010
|
+
environment?: string;
|
|
3011
|
+
dataEnvironment?: string;
|
|
3012
|
+
runtime?: string;
|
|
3013
|
+
chapterId?: string;
|
|
3014
|
+
}
|
|
3015
|
+
/** Exact app, environment, runtime, and chapter partition expected by a consumer. */
|
|
3016
|
+
interface MemberStripeTarget {
|
|
3017
|
+
appId: string;
|
|
3018
|
+
environment: string;
|
|
3019
|
+
dataEnvironment: string;
|
|
3020
|
+
runtime: string;
|
|
3021
|
+
chapterId: string;
|
|
3022
|
+
}
|
|
3023
|
+
/** Safe handling of a verified Stripe event after partition checks. */
|
|
3024
|
+
type MemberStripeDisposition = "apply" | "apply_legacy" | "ignore_sibling" | "quarantine_unmatched";
|
|
3025
|
+
/** Partition verified Stripe events before any lookup or write. */
|
|
3026
|
+
declare function classifyMemberStripeEvent(identity: MemberStripeIdentity, target: MemberStripeTarget, hasProvenLegacyLocalLink: boolean): MemberStripeDisposition;
|
|
3027
|
+
/** Stable provider-event identity and content digest used for replay. */
|
|
3028
|
+
interface MemberSystemEventReceiptInput {
|
|
3029
|
+
id: string;
|
|
3030
|
+
digest: string;
|
|
3031
|
+
}
|
|
3032
|
+
/** Accepted, duplicate, and colliding provider-event identifiers. */
|
|
3033
|
+
interface MemberSystemEventReplayPlan {
|
|
3034
|
+
accepted: string[];
|
|
3035
|
+
replayed: string[];
|
|
3036
|
+
collisions: string[];
|
|
3037
|
+
}
|
|
3038
|
+
/** Plan provider-event replay by stable identifier and digest. */
|
|
3039
|
+
declare function planMemberSystemEventReplay(events: readonly MemberSystemEventReceiptInput[]): MemberSystemEventReplayPlan;
|
|
3040
|
+
/** Fail-closed and replay targets for restoring the member-system projection. */
|
|
3041
|
+
interface MemberSystemRecoveryObjectives {
|
|
3042
|
+
failClosedWithinMs: 0;
|
|
3043
|
+
replayProjectionWithinMinutes: number;
|
|
3044
|
+
providerEventsRemainReplayable: true;
|
|
3045
|
+
requireHumanReviewForCollision: true;
|
|
3046
|
+
}
|
|
3047
|
+
/** Accepted recovery objectives for the first rollout. */
|
|
3048
|
+
declare const MEMBER_SYSTEM_RECOVERY_OBJECTIVES: MemberSystemRecoveryObjectives;
|
|
3049
|
+
/** Candidate legacy or external row considered for migration. */
|
|
3050
|
+
interface MemberSystemMigrationRow {
|
|
3051
|
+
id: string;
|
|
3052
|
+
source: "silver_salt_current" | "external_reimport" | "synthetic_fixture";
|
|
3053
|
+
isRealPerson: boolean;
|
|
3054
|
+
provenance?: string;
|
|
3055
|
+
}
|
|
3056
|
+
/** Import, fixture-only, and rejected row identifiers. */
|
|
3057
|
+
interface MemberSystemMigrationPlan {
|
|
3058
|
+
importIds: string[];
|
|
3059
|
+
fixtureIds: string[];
|
|
3060
|
+
rejectedIds: string[];
|
|
3061
|
+
}
|
|
3062
|
+
/** Existing Silver & Salt rows never migrate; external real contacts need provenance. */
|
|
3063
|
+
declare function planMemberSystemMigration(rows: readonly MemberSystemMigrationRow[]): MemberSystemMigrationPlan;
|
|
3064
|
+
/** Non-destructive actions used to stop and reconcile the rollout. */
|
|
3065
|
+
interface MemberSystemRollbackPlan {
|
|
3066
|
+
stopNetworkWrites: true;
|
|
3067
|
+
disableBnfMemberMutations: true;
|
|
3068
|
+
keepChapterProductionReads: true;
|
|
3069
|
+
keepStripeBillingAuthority: true;
|
|
3070
|
+
deleteProviderObjects: false;
|
|
3071
|
+
reverseProviderPayments: false;
|
|
3072
|
+
reconciliationRequired: true;
|
|
3073
|
+
}
|
|
3074
|
+
/** Produce the non-destructive rollback contract. */
|
|
3075
|
+
declare function memberSystemRollbackPlan(): MemberSystemRollbackPlan;
|
|
3076
|
+
/** Synthetic-only inventory. Counts describe current development rows, not members. */
|
|
3077
|
+
declare const SILVER_SALT_P0_FIXTURE: {
|
|
3078
|
+
readonly sourceInventory: {
|
|
3079
|
+
readonly applications: 36;
|
|
3080
|
+
readonly meetings: 7;
|
|
3081
|
+
readonly emails: 49;
|
|
3082
|
+
readonly realPeople: 0;
|
|
3083
|
+
};
|
|
3084
|
+
readonly application: {
|
|
3085
|
+
readonly id: "fixture_application_001";
|
|
3086
|
+
readonly personId: "fixture_person_001";
|
|
3087
|
+
readonly migrates: false;
|
|
3088
|
+
};
|
|
3089
|
+
readonly crm: {
|
|
3090
|
+
readonly recordId: "fixture_crm_001";
|
|
3091
|
+
readonly email: "fixture.member@example.invalid";
|
|
3092
|
+
readonly migrates: false;
|
|
3093
|
+
};
|
|
3094
|
+
readonly clerk: {
|
|
3095
|
+
readonly userId: "user_fixture_001";
|
|
3096
|
+
readonly verifiedEmail: "fixture.member@example.invalid";
|
|
3097
|
+
readonly migrates: false;
|
|
3098
|
+
};
|
|
3099
|
+
readonly stripe: {
|
|
3100
|
+
readonly customerId: "cus_fixture_001";
|
|
3101
|
+
readonly subscriptionId: "sub_fixture_001";
|
|
3102
|
+
readonly productId: "prod_fixture_001";
|
|
3103
|
+
readonly priceId: "price_fixture_001";
|
|
3104
|
+
readonly eventId: "evt_fixture_001";
|
|
3105
|
+
readonly migrates: false;
|
|
3106
|
+
};
|
|
3107
|
+
readonly unmatchedStripeEvent: {
|
|
3108
|
+
readonly id: "evt_fixture_unmatched";
|
|
3109
|
+
readonly disposition: "quarantine_unmatched";
|
|
3110
|
+
};
|
|
3111
|
+
readonly legacyStripeEvent: {
|
|
3112
|
+
readonly id: "evt_fixture_legacy";
|
|
3113
|
+
readonly requiresProvenLocalLink: true;
|
|
3114
|
+
};
|
|
3115
|
+
};
|
|
3116
|
+
|
|
3117
|
+
export { ADMISSION_GRANTS_PATH, ADMISSION_GRANTS_SCHEMA_VERSION, type AccountModel, type AdminNotificationTrigger, type AdmissionDecision, type AdmissionGrantDocument, type AdmissionGrantEnvelope, type AdmissionGrantInput, type AdmissionGrantReceipt, type AdmissionGrantRejection, type AdmissionGrantRevisionRow, type AdmissionGrantRow, type AdmissionGrantValidation, type Applicant, type ApplicationBookingPatch, type ApplicationRecord, type ApplicationSummary, type Attr, type AttrType, BUILDER_LIBRARY_ADMIN_PATH, BUILDER_LIBRARY_CONTROL_PATH, BUILDER_LIBRARY_MANIFEST_PATH, BUILDER_LIBRARY_PROMOTE_PATH, BUILDER_LIBRARY_SCHEMA_VERSION, type BuilderLibraryBrandAssetRef, type BuilderLibraryDocument, type BuilderLibraryEnvelope, type BuilderLibraryManifest, type BuilderLibraryPromotionProvenance, type BuilderLibraryReceipt, type BuilderLibraryResource, type BuilderLibraryResourceKind, type BuilderLibraryResourceProvenance, type BuilderLibraryResourceStatus, type BuilderLibraryScope, type BuilderLibrarySource, type BuilderLibrarySourceType, type BuilderLibraryTarget, type BuilderLibraryValidationOptions, type BuilderLibraryValidationResult, type BuilderLibraryViewer, type BuyerGiftClaim, CHAPTER_FLOW_FIELDS_SCHEMA_VERSION, CHAPTER_PROMOTION_ADAPTER, type Chapter, type ChapterApplication, type ChapterAuth, type ChapterBrand, type ChapterBuilderLibrary, type ChapterConfig, type ChapterCopy, type ChapterCopyInput, type ChapterDb, type ChapterEmailIdentity, type ChapterEmails, type ChapterFieldFlow, type ChapterFlowField, type ChapterFlowFieldContract, type ChapterIntegrationDescriptor, type ChapterIntegrationOptions, type ChapterMemberContent, type ChapterMode, type ChapterNetwork, type ChapterNetworkReader, type ChapterNetworkTarget, type ChapterOperations, type ChapterPipeline, type ChapterPolicy, type ChapterPrices, type ChapterPromotionInput, type ChapterRunbookHints, type ChapterScheduling, type ChapterSends, type ChapterSignupControl, type ChapterTier, type ChapterTierConfig, type ClerkInviteInput, type ClerkMetadataInput, type ClerkResult, type ClerkUserInput, type ClerkUserRecord, type CompiledChapterBrandTokens, DEFAULT_CHAPTER_COPY, DEFAULT_SHARE_FIELDS, type DashboardMetricData, type DashboardMetricSeries, type DbOp, type DbRules, type DbSchema, type DeliveryDecision, type EffectiveMemberContent, type EffectiveMemberContentPage, type EmailGroup, type EmailTemplate, type EmailTemplateRow, type Entity, type ExistingMeeting, GIFT_OFFER_CATALOG_VERSION, type GiftOffer, type GiftOfferCatalog, type GiftOfferTarget, type GiftOfferValidation, type GuardResult, type IntegrationDescriptor, type IntegrationProvision, type IntegrationSecret, type IntegrationSetting, type IntegrationSync, JOURNEY_ENDINGS, JOURNEY_STAGES, type JoinConfigGroup, type JoinConfigTier, type JoinContinuation, type JourneyEnding, type JourneyStage, type LeaderCrmOptions, type LeaderFormationConfig, type LiveEvent, MAX_GIFT_OFFERS, MEMBERSHIP_PAGE_RENDERER, MEMBER_CONTENT_CONTROL_PATH, MEMBER_CONTENT_PATH, MEMBER_CONTENT_SCHEMA_VERSION, MEMBER_SELF_EDITABLE_FIELDS, MEMBER_SELF_READABLE_FIELDS, MEMBER_SYSTEM_AUTHORITY_MATRIX, MEMBER_SYSTEM_CONTRACT_VERSION, MEMBER_SYSTEM_RECOVERY_OBJECTIVES, type MailSender, type MeetingForReconcile, type MeetingRecord, type MeetingReschedulePatch, type MemberApplication, type MemberAuthorityValidation, type MemberContentDocument, type MemberContentEnvelope, type MemberContentPage, type MemberContentPageProjection, type MemberContentProjection, type MemberContentReceipt, type MemberContentRejection, type MemberContentSource, type MemberContentSourceType, type MemberContentTarget, type MemberContentTierAuthority, type MemberContentValidationOptions, type MemberContentValidationResult, type MemberContentViewer, type MemberFieldAuthority, type MemberFieldSelfAccess, type MemberFieldSensitivity, type MemberPageAudience, type MemberPageNavigation, type MemberPageUpsell, type MemberPageUpsellOffer, type MemberPageUpsellOverride, type MemberSession, type MemberStripeDisposition, type MemberStripeIdentity, type MemberStripeTarget, type MemberSystemAvailability, type MemberSystemAvailabilityInput, type MemberSystemEventReceiptInput, type MemberSystemEventReplayPlan, type MemberSystemMigrationPlan, type MemberSystemMigrationRow, type MemberSystemProjection, type MemberSystemRecoveryObjectives, type MemberSystemRollbackPlan, type MemberSystemScope, type MemberSystemWriteDisposition, type MemberSystemWriteIntent, type MemberSystemWriter, type MembershipPageDocument, type MembershipPageValidationOptions, type MembershipPageValidationResult, type MembershipTierAuthority, type MembershipTierCallout, type MembershipTierCapacity, type MembershipTierMarkdownResult, type MembershipTierPresentation, type MembershipTierVariant, type NetworkEditableField, type NetworkRecord, type NetworkRecordEdit, type NetworkRecordMutation, type NetworkRecordMutationResult, type NetworkRecordNote, type NetworkRecordPage, type NetworkRollup, type NetworkRollupTarget, type NetworkSharedNote, type NetworkSnapshot, type NetworkStageTransition, type NetworkTargetTransportStatus, type NewMeetingRow, type NotifyDeps, type NotifyInput, type NotifyResult, type PaymentsGroup, type ProjectionDeps, type PublicGiftOffer, REQUIRED_NOTICE_KINDS, type ReconcileDecision, type RequiredNoticeKind, type ResolvedApplication, type ResolvedAuth, type ResolvedBuilderLibrary, type ResolvedLeaderFormation, type ResolvedMemberContent, type ResolvedMemberPageUpsell, type ResolvedNetwork, type ResolvedNetworkReader, type ResolvedNetworkTarget, type ResolvedOperations, type ResolvedPipeline, type ResolvedScheduling, type ResolvedSends, type ResolvedSignupControl, type RoleChangeContext, type Rule, SCHEDULING_DEFAULTS, SIGNUP_CONTROL_PATH, SIGNUP_CONTROL_SCHEMA_VERSION, SIGNUP_CONTROL_THEME_MARKER, SIGNUP_CONTROL_THEME_STYLE_ID, SILVER_SALT_P0_FIXTURE, type SchedulingErrors, type SecretMode, type SecretStore, type SessionUser, type SharedBusiness, type SharedPerson, type SharedRecord, type SharedRecordV1, type SharedRecordV2, type SignupControlApplication, type SignupControlDocument, type SignupControlEnvelope, type SignupControlPolicy, type SignupControlReceipt, type SignupControlRejection, type SignupControlTheme, type SignupControlThemeHead, type SignupControlThemeMetadata, type SignupControlThemeOptions, type SignupControlThemeRevision, type SignupControlThemeStyleTarget, type SignupControlTier, type SignupControlValidation, type StripeEvent, type StripeResult, type SubmitResult, type TierGroup, type TierGroupRow, type WebhookEvent, applicantProfile, applicationBookingUpdate, applicationFlowFields, applicationSummary, applyMembershipTierMarkdown, backfillCrm, bookingDecision, brandTokens, bucketSeries, buildBuilderLibraryManifest, buildGroupSeed, buildTierSeeds, builderLibraryDigest, canApprove, canBook, canChangeRole, canTransition, canViewBuilderLibraryResource, canceledPatch, canonicalBuilderLibrary, canonicalMemberContent, canonicalSignupControl, chapterBrandFromTokens, chapterDb, chapterFlowFieldContract, clampArray, classifyMemberStripeEvent, classifyMemberSystemWrite, clerkGetUser, clerkGetUserByEmail, clerkIntegration, clerkInviteRequest, clerkListUsers, clerkSetRole, clerkUserRequest, composeMemberContent, createAdmissionGrantEnvelope, createBuilderLibraryEnvelope, createChapterIntegration, createClerkInvitation, createClerkUser, createMemberContentEnvelope, createSignupControlEnvelope, dashboardMetricData, defaultCrm, defineChapter, emailGroupFrom, endForSlot, exportChapterPromotion, findAdmissionGrant, findApplicationRef, findGiftOffer, findTier, firstPaymentPatch, formatChapterCopy, formationFields, formationFlowFields, getVaultSecret, giftOfferActive, hasDisclaimerAck, hydrateSignupControlTheme, injectSignupControlThemeHead, introIdempotencyKey, isAdminRole, isAlreadySent, isReconcilable, isSlotAvailable, isValidEmail, joinConfig, joinConfigTiers, leaderCrmConfig, loadLatestAdmissionRevision, loadOfferableTiers, loadTiers, materializeAdmissionGrants, meetingCreateRow, meetingRescheduleUpdate, memberApplication, memberContentDigest, memberContentDocument, memberSession, memberSystemAvailability, memberSystemRollbackPlan, membershipPageDocument, membershipTierPresentationFromMarkdown, networkSourceTag, normalizeAdmissionEmail, normalizeChapterEmail, normalizeSharedRecord, normalizeWebhookEvent, offerableTiers, paymentsReady, personInputFromApp, planDelivery, planMemberSystemEventReplay, planMemberSystemMigration, projectApplicant, projectBuilderLibraryDelivery, projectMemberContent, projectMemberSelf, projectSharedRecord, promoteBuilderLibraryResource, publicGiftOffers, reconcileMeetings, refundedPatch, render, renderSignupControlThemeHead, renderSummary, renderTemplateBody, renewalPatch, resolveApplication, resolveAuth, resolveBuilderLibrary, resolveChapterCopy, resolveJoinContinuation, resolveLeaderFormation, resolveMemberContent, resolvePipeline, resolveScheduling, resolveSignupControl, resolveTiers, roleFromClaim, sendTemplated, sharedPersonInput, sharedRecordFromCrm, signupControlDigest, slotWindow, stageIndex, stripeCall, subAnnualCents, submitApplication, subscriptionIdempotencyKey, syncApplicationToCrm, tierIsFree, tierPayable, updateClerkUserMetadata, updateClerkUserMetadataByEmail, validateAdmissionGrantDocument, validateBuilderLibraryDocument, validateGiftOfferCatalog, validateMemberContentDocument, validateMemberSystemAuthority, validateMembershipPageDocument, validateScheduling, validateSignupControlDocument, webhookMutationId };
|