@spoketech/hub-client 0.1.17 → 0.1.18

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/index.d.ts CHANGED
@@ -1956,7 +1956,7 @@ declare const AdminSessionSchema: Schema.Struct<{
1956
1956
  authRole: Schema.Union<[typeof Schema.String, typeof Schema.Null]>;
1957
1957
  impersonatedBy: Schema.Union<[typeof Schema.String, typeof Schema.Null]>;
1958
1958
  roles: Schema.Array$<Schema.Struct<{
1959
- role: Schema.Literal<["platform_admin", "org_admin", "auditor"]>;
1959
+ role: Schema.Literal<["platform_admin", "org_admin", "auditor", "workflow_resolver"]>;
1960
1960
  organizationId: Schema.Union<[typeof Schema.String, typeof Schema.Null]>;
1961
1961
  }>>;
1962
1962
  }>;
@@ -2354,6 +2354,18 @@ declare const EnsureActiveMembershipCommandPayloadSchema: Schema.Struct<{
2354
2354
  gamingOptOut: Schema.optional<typeof Schema.Boolean>;
2355
2355
  }>>;
2356
2356
  }>;
2357
+ continuation: Schema.optional<Schema.Union<[Schema.Struct<{
2358
+ action: Schema.Literal<["reconcile"]>;
2359
+ reviewCommandId: Schema.filter<Schema.filter<typeof Schema.String>>;
2360
+ requestedByActorId: Schema.filter<Schema.filter<typeof Schema.String>>;
2361
+ reason: Schema.optional<Schema.filter<typeof Schema.String>>;
2362
+ }>, Schema.Struct<{
2363
+ action: Schema.Literal<["authorize_renewal"]>;
2364
+ reviewCommandId: Schema.filter<Schema.filter<typeof Schema.String>>;
2365
+ requestedByActorId: Schema.filter<Schema.filter<typeof Schema.String>>;
2366
+ reason: Schema.filter<typeof Schema.String>;
2367
+ confirmedNotRenewed: Schema.Literal<[true]>;
2368
+ }>]>>;
2357
2369
  }>;
2358
2370
  declare const EnsureActiveMembershipWorkflowStepSchema: Schema.Literal<["identity_observed", "rate_confirmed", "profile_confirmed", "preferences_confirmed", "renewal_submitted", "membership_verified", "hub_refreshed"]>;
2359
2371
  declare const EnsureActiveMembershipWorkflowStepStateSchema: Schema.Literal<["pending", "in_progress", "confirmed", "ambiguous", "failed"]>;
@@ -2369,6 +2381,22 @@ declare const EnsureActiveMembershipWorkflowProgressSchema: Schema.Struct<{
2369
2381
  hub_refreshed: Schema.optional<Schema.Literal<["pending", "in_progress", "confirmed", "ambiguous", "failed"]>>;
2370
2382
  }>;
2371
2383
  }>;
2384
+ declare const OnsiteAgentEnsureActiveMembershipAuditEventSchema: Schema.Struct<{
2385
+ step: Schema.Literal<["identity_observed", "rate_confirmed", "profile_confirmed", "preferences_confirmed", "renewal_submitted", "membership_verified", "hub_refreshed"]>;
2386
+ outcome: Schema.Literal<["pending", "in_progress", "confirmed", "ambiguous", "failed"]>;
2387
+ reasonCode: Schema.optional<Schema.filter<typeof Schema.String>>;
2388
+ sourceStatus: Schema.optional<Schema.filter<typeof Schema.String>>;
2389
+ membershipTypeId: Schema.optional<Schema.filter<typeof Schema.String>>;
2390
+ membershipExpiry: Schema.optional<Schema.filter<typeof Schema.String>>;
2391
+ providerFee: Schema.optional<typeof Schema.Finite>;
2392
+ providerRestricted: Schema.optional<typeof Schema.Boolean>;
2393
+ appliedChanges: Schema.optional<Schema.Array$<Schema.Literal<["rate", "profile", "preferences", "renewal"]>>>;
2394
+ resolutionAction: Schema.optional<Schema.Literal<["reconcile", "authorize_renewal"]>>;
2395
+ reviewCommandId: Schema.optional<Schema.filter<Schema.filter<typeof Schema.String>>>;
2396
+ operatorActorId: Schema.optional<Schema.filter<Schema.filter<typeof Schema.String>>>;
2397
+ operatorReason: Schema.optional<Schema.filter<typeof Schema.String>>;
2398
+ operatorConfirmedNotRenewed: Schema.optional<Schema.Literal<[true]>>;
2399
+ }>;
2372
2400
  declare const OnsiteAgentEnsureActiveMembershipProgressUpdateSchema: Schema.Struct<{
2373
2401
  expectedRevision: typeof Schema.Number;
2374
2402
  steps: Schema.Struct<{
@@ -2381,6 +2409,22 @@ declare const OnsiteAgentEnsureActiveMembershipProgressUpdateSchema: Schema.Stru
2381
2409
  hub_refreshed: Schema.optional<Schema.Literal<["pending", "in_progress", "confirmed", "ambiguous", "failed"]>>;
2382
2410
  }>;
2383
2411
  lastSafeStep: Schema.optional<Schema.Literal<["identity_observed", "rate_confirmed", "profile_confirmed", "preferences_confirmed", "renewal_submitted", "membership_verified", "hub_refreshed"]>>;
2412
+ auditEvents: Schema.optional<Schema.Array$<Schema.Struct<{
2413
+ step: Schema.Literal<["identity_observed", "rate_confirmed", "profile_confirmed", "preferences_confirmed", "renewal_submitted", "membership_verified", "hub_refreshed"]>;
2414
+ outcome: Schema.Literal<["pending", "in_progress", "confirmed", "ambiguous", "failed"]>;
2415
+ reasonCode: Schema.optional<Schema.filter<typeof Schema.String>>;
2416
+ sourceStatus: Schema.optional<Schema.filter<typeof Schema.String>>;
2417
+ membershipTypeId: Schema.optional<Schema.filter<typeof Schema.String>>;
2418
+ membershipExpiry: Schema.optional<Schema.filter<typeof Schema.String>>;
2419
+ providerFee: Schema.optional<typeof Schema.Finite>;
2420
+ providerRestricted: Schema.optional<typeof Schema.Boolean>;
2421
+ appliedChanges: Schema.optional<Schema.Array$<Schema.Literal<["rate", "profile", "preferences", "renewal"]>>>;
2422
+ resolutionAction: Schema.optional<Schema.Literal<["reconcile", "authorize_renewal"]>>;
2423
+ reviewCommandId: Schema.optional<Schema.filter<Schema.filter<typeof Schema.String>>>;
2424
+ operatorActorId: Schema.optional<Schema.filter<Schema.filter<typeof Schema.String>>>;
2425
+ operatorReason: Schema.optional<Schema.filter<typeof Schema.String>>;
2426
+ operatorConfirmedNotRenewed: Schema.optional<Schema.Literal<[true]>>;
2427
+ }>>>;
2384
2428
  }>;
2385
2429
  declare const RequestEnsureActiveMembershipSchema: Schema.Struct<{
2386
2430
  idempotencyKey: Schema.refine<string, Schema.filter<typeof Schema.String>>;
@@ -2424,6 +2468,60 @@ declare const RequestEnsureActiveMembershipSchema: Schema.Struct<{
2424
2468
  }>>;
2425
2469
  }>;
2426
2470
  }>;
2471
+ declare const EnsureActiveMembershipManualReviewItemSchema: Schema.Struct<{
2472
+ workflowId: typeof Schema.String;
2473
+ commandId: typeof Schema.String;
2474
+ organizationId: typeof Schema.String;
2475
+ source: Schema.Struct<{
2476
+ id: typeof Schema.String;
2477
+ vendor: Schema.Literal<["odyssey_gaming"]>;
2478
+ }>;
2479
+ outcome: Schema.Literal<["ambiguous_identity_match", "unsupported_source_status", "indeterminate_membership_expiry", "manual_review_required", "failed"]>;
2480
+ resolutionPath: Schema.Literal<["reconcile", "correct_in_odyssey"]>;
2481
+ renewalAuthorizationAvailable: typeof Schema.Boolean;
2482
+ lastSafeStep: Schema.Union<[Schema.Literal<["identity_observed", "rate_confirmed", "profile_confirmed", "preferences_confirmed", "renewal_submitted", "membership_verified", "hub_refreshed"]>, typeof Schema.Null]>;
2483
+ reasonCode: typeof Schema.String;
2484
+ ageMs: typeof Schema.Number;
2485
+ startedAt: Schema.SchemaClass<string, string, never>;
2486
+ updatedAt: Schema.SchemaClass<string, string, never>;
2487
+ member: Schema.Struct<{
2488
+ firstName: typeof Schema.String;
2489
+ lastName: typeof Schema.String;
2490
+ dob: Schema.SchemaClass<string, string, never>;
2491
+ membershipTypeId: typeof Schema.String;
2492
+ }>;
2493
+ }>;
2494
+ declare const EnsureActiveMembershipManualReviewQueueSchema: Schema.Struct<{
2495
+ items: Schema.Array$<Schema.Struct<{
2496
+ workflowId: typeof Schema.String;
2497
+ commandId: typeof Schema.String;
2498
+ organizationId: typeof Schema.String;
2499
+ source: Schema.Struct<{
2500
+ id: typeof Schema.String;
2501
+ vendor: Schema.Literal<["odyssey_gaming"]>;
2502
+ }>;
2503
+ outcome: Schema.Literal<["ambiguous_identity_match", "unsupported_source_status", "indeterminate_membership_expiry", "manual_review_required", "failed"]>;
2504
+ resolutionPath: Schema.Literal<["reconcile", "correct_in_odyssey"]>;
2505
+ renewalAuthorizationAvailable: typeof Schema.Boolean;
2506
+ lastSafeStep: Schema.Union<[Schema.Literal<["identity_observed", "rate_confirmed", "profile_confirmed", "preferences_confirmed", "renewal_submitted", "membership_verified", "hub_refreshed"]>, typeof Schema.Null]>;
2507
+ reasonCode: typeof Schema.String;
2508
+ ageMs: typeof Schema.Number;
2509
+ startedAt: Schema.SchemaClass<string, string, never>;
2510
+ updatedAt: Schema.SchemaClass<string, string, never>;
2511
+ member: Schema.Struct<{
2512
+ firstName: typeof Schema.String;
2513
+ lastName: typeof Schema.String;
2514
+ dob: Schema.SchemaClass<string, string, never>;
2515
+ membershipTypeId: typeof Schema.String;
2516
+ }>;
2517
+ }>>;
2518
+ total: typeof Schema.Number;
2519
+ }>;
2520
+ declare const ReconcileEnsureActiveMembershipManualReviewSchema: Schema.Struct<{}>;
2521
+ declare const AuthorizeEnsureActiveMembershipRenewalSchema: Schema.Struct<{
2522
+ reason: Schema.filter<typeof Schema.String>;
2523
+ confirmedNotRenewed: Schema.Literal<[true]>;
2524
+ }>;
2427
2525
  declare const EnsureActiveMembershipCommandSchema: Schema.Struct<{
2428
2526
  kind: Schema.Literal<["ensure_active_membership"]>;
2429
2527
  payload: Schema.Struct<{
@@ -2466,6 +2564,18 @@ declare const EnsureActiveMembershipCommandSchema: Schema.Struct<{
2466
2564
  gamingOptOut: Schema.optional<typeof Schema.Boolean>;
2467
2565
  }>>;
2468
2566
  }>;
2567
+ continuation: Schema.optional<Schema.Union<[Schema.Struct<{
2568
+ action: Schema.Literal<["reconcile"]>;
2569
+ reviewCommandId: Schema.filter<Schema.filter<typeof Schema.String>>;
2570
+ requestedByActorId: Schema.filter<Schema.filter<typeof Schema.String>>;
2571
+ reason: Schema.optional<Schema.filter<typeof Schema.String>>;
2572
+ }>, Schema.Struct<{
2573
+ action: Schema.Literal<["authorize_renewal"]>;
2574
+ reviewCommandId: Schema.filter<Schema.filter<typeof Schema.String>>;
2575
+ requestedByActorId: Schema.filter<Schema.filter<typeof Schema.String>>;
2576
+ reason: Schema.filter<typeof Schema.String>;
2577
+ confirmedNotRenewed: Schema.Literal<[true]>;
2578
+ }>]>>;
2469
2579
  }>;
2470
2580
  result: Schema.Union<[Schema.Union<[Schema.Struct<{
2471
2581
  outcome: Schema.Literal<["created", "matched_active", "renewed_existing"]>;
@@ -2534,6 +2644,18 @@ declare const EnsureActiveMembershipResponseSchema: Schema.Struct<{
2534
2644
  gamingOptOut: Schema.optional<typeof Schema.Boolean>;
2535
2645
  }>>;
2536
2646
  }>;
2647
+ continuation: Schema.optional<Schema.Union<[Schema.Struct<{
2648
+ action: Schema.Literal<["reconcile"]>;
2649
+ reviewCommandId: Schema.filter<Schema.filter<typeof Schema.String>>;
2650
+ requestedByActorId: Schema.filter<Schema.filter<typeof Schema.String>>;
2651
+ reason: Schema.optional<Schema.filter<typeof Schema.String>>;
2652
+ }>, Schema.Struct<{
2653
+ action: Schema.Literal<["authorize_renewal"]>;
2654
+ reviewCommandId: Schema.filter<Schema.filter<typeof Schema.String>>;
2655
+ requestedByActorId: Schema.filter<Schema.filter<typeof Schema.String>>;
2656
+ reason: Schema.filter<typeof Schema.String>;
2657
+ confirmedNotRenewed: Schema.Literal<[true]>;
2658
+ }>]>>;
2537
2659
  }>;
2538
2660
  result: Schema.Union<[Schema.Union<[Schema.Struct<{
2539
2661
  outcome: Schema.Literal<["created", "matched_active", "renewed_existing"]>;
@@ -2949,6 +3071,18 @@ declare const OnsiteResourceEnsureActiveMembershipCallResponseSchema: Schema.Str
2949
3071
  gamingOptOut: Schema.optional<typeof Schema.Boolean>;
2950
3072
  }>>;
2951
3073
  }>;
3074
+ continuation: Schema.optional<Schema.Union<[Schema.Struct<{
3075
+ action: Schema.Literal<["reconcile"]>;
3076
+ reviewCommandId: Schema.filter<Schema.filter<typeof Schema.String>>;
3077
+ requestedByActorId: Schema.filter<Schema.filter<typeof Schema.String>>;
3078
+ reason: Schema.optional<Schema.filter<typeof Schema.String>>;
3079
+ }>, Schema.Struct<{
3080
+ action: Schema.Literal<["authorize_renewal"]>;
3081
+ reviewCommandId: Schema.filter<Schema.filter<typeof Schema.String>>;
3082
+ requestedByActorId: Schema.filter<Schema.filter<typeof Schema.String>>;
3083
+ reason: Schema.filter<typeof Schema.String>;
3084
+ confirmedNotRenewed: Schema.Literal<[true]>;
3085
+ }>]>>;
2952
3086
  }>;
2953
3087
  result: Schema.Union<[Schema.Union<[Schema.Struct<{
2954
3088
  outcome: Schema.Literal<["created", "matched_active", "renewed_existing"]>;
@@ -3085,6 +3219,18 @@ declare const OnsiteResourceCallResponseSchema: Schema.Union<[Schema.Struct<{
3085
3219
  gamingOptOut: Schema.optional<typeof Schema.Boolean>;
3086
3220
  }>>;
3087
3221
  }>;
3222
+ continuation: Schema.optional<Schema.Union<[Schema.Struct<{
3223
+ action: Schema.Literal<["reconcile"]>;
3224
+ reviewCommandId: Schema.filter<Schema.filter<typeof Schema.String>>;
3225
+ requestedByActorId: Schema.filter<Schema.filter<typeof Schema.String>>;
3226
+ reason: Schema.optional<Schema.filter<typeof Schema.String>>;
3227
+ }>, Schema.Struct<{
3228
+ action: Schema.Literal<["authorize_renewal"]>;
3229
+ reviewCommandId: Schema.filter<Schema.filter<typeof Schema.String>>;
3230
+ requestedByActorId: Schema.filter<Schema.filter<typeof Schema.String>>;
3231
+ reason: Schema.filter<typeof Schema.String>;
3232
+ confirmedNotRenewed: Schema.Literal<[true]>;
3233
+ }>]>>;
3088
3234
  }>;
3089
3235
  result: Schema.Union<[Schema.Union<[Schema.Struct<{
3090
3236
  outcome: Schema.Literal<["created", "matched_active", "renewed_existing"]>;
@@ -3595,6 +3741,18 @@ declare const OnsiteAgentEnsureActiveMembershipCommandSchema: Schema.Struct<{
3595
3741
  gamingOptOut: Schema.optional<typeof Schema.Boolean>;
3596
3742
  }>>;
3597
3743
  }>;
3744
+ continuation: Schema.optional<Schema.Union<[Schema.Struct<{
3745
+ action: Schema.Literal<["reconcile"]>;
3746
+ reviewCommandId: Schema.filter<Schema.filter<typeof Schema.String>>;
3747
+ requestedByActorId: Schema.filter<Schema.filter<typeof Schema.String>>;
3748
+ reason: Schema.optional<Schema.filter<typeof Schema.String>>;
3749
+ }>, Schema.Struct<{
3750
+ action: Schema.Literal<["authorize_renewal"]>;
3751
+ reviewCommandId: Schema.filter<Schema.filter<typeof Schema.String>>;
3752
+ requestedByActorId: Schema.filter<Schema.filter<typeof Schema.String>>;
3753
+ reason: Schema.filter<typeof Schema.String>;
3754
+ confirmedNotRenewed: Schema.Literal<[true]>;
3755
+ }>]>>;
3598
3756
  }>;
3599
3757
  workflow: Schema.Struct<{
3600
3758
  revision: typeof Schema.Number;
@@ -4429,7 +4587,7 @@ declare const HubApi: HttpApi.HttpApi<"hub", HttpApiGroup.HttpApiGroup<"auth", H
4429
4587
  readonly impersonatedBy: string | null;
4430
4588
  readonly roles: readonly {
4431
4589
  readonly organizationId: string | null;
4432
- readonly role: "platform_admin" | "org_admin" | "auditor";
4590
+ readonly role: "platform_admin" | "org_admin" | "auditor" | "workflow_resolver";
4433
4591
  }[];
4434
4592
  }, never, never, never>, never, never, false> | HttpApiGroup.HttpApiGroup<"organizations", HttpApiEndpoint.HttpApiEndpoint<"listOrganizationProductOptions", "GET", never, {
4435
4593
  readonly page?: string | undefined;
@@ -5502,6 +5660,18 @@ declare const HubApi: HttpApi.HttpApi<"hub", HttpApiGroup.HttpApiGroup<"auth", H
5502
5660
  readonly gamingOptOut?: boolean | undefined;
5503
5661
  } | undefined;
5504
5662
  };
5663
+ readonly continuation?: {
5664
+ readonly reason?: string | undefined;
5665
+ readonly action: "reconcile";
5666
+ readonly reviewCommandId: string;
5667
+ readonly requestedByActorId: string;
5668
+ } | {
5669
+ readonly reason: string;
5670
+ readonly action: "authorize_renewal";
5671
+ readonly reviewCommandId: string;
5672
+ readonly requestedByActorId: string;
5673
+ readonly confirmedNotRenewed: true;
5674
+ } | undefined;
5505
5675
  };
5506
5676
  readonly result: {
5507
5677
  readonly memberId: string;
@@ -6834,6 +7004,18 @@ declare const HubApi: HttpApi.HttpApi<"hub", HttpApiGroup.HttpApiGroup<"auth", H
6834
7004
  readonly gamingOptOut?: boolean | undefined;
6835
7005
  } | undefined;
6836
7006
  };
7007
+ readonly continuation?: {
7008
+ readonly reason?: string | undefined;
7009
+ readonly action: "reconcile";
7010
+ readonly reviewCommandId: string;
7011
+ readonly requestedByActorId: string;
7012
+ } | {
7013
+ readonly reason: string;
7014
+ readonly action: "authorize_renewal";
7015
+ readonly reviewCommandId: string;
7016
+ readonly requestedByActorId: string;
7017
+ readonly confirmedNotRenewed: true;
7018
+ } | undefined;
6837
7019
  };
6838
7020
  readonly result: {
6839
7021
  readonly memberId: string;
@@ -7676,190 +7858,378 @@ declare const HubApi: HttpApi.HttpApi<"hub", HttpApiGroup.HttpApiGroup<"auth", H
7676
7858
  readonly completedAt: string | null;
7677
7859
  readonly organizationMemberSourceId: string;
7678
7860
  readonly organizationMemberSourceAgentId: string | null;
7679
- }, never, never, never> | HttpApiEndpoint.HttpApiEndpoint<"triggerOrganizationMemberSync", "POST", {
7861
+ }, never, never, never> | HttpApiEndpoint.HttpApiEndpoint<"listEnsureActiveMembershipManualReviews", "GET", {
7680
7862
  readonly organizationId: string;
7681
- }, never, {
7682
- readonly mode?: "full_snapshot" | "delta" | undefined;
7683
- readonly inputReference?: string | null | undefined;
7684
- }, never, {
7685
- readonly status: "success" | "failure" | "pending" | "running" | "partial_failure";
7863
+ }, never, never, never, {
7864
+ readonly items: readonly {
7865
+ readonly updatedAt: string;
7866
+ readonly organizationId: string;
7867
+ readonly commandId: string;
7868
+ readonly startedAt: string;
7869
+ readonly outcome: "failed" | "ambiguous_identity_match" | "unsupported_source_status" | "indeterminate_membership_expiry" | "manual_review_required";
7870
+ readonly member: {
7871
+ readonly firstName: string;
7872
+ readonly lastName: string;
7873
+ readonly dob: string;
7874
+ readonly membershipTypeId: string;
7875
+ };
7876
+ readonly reasonCode: string;
7877
+ readonly lastSafeStep: "identity_observed" | "rate_confirmed" | "profile_confirmed" | "preferences_confirmed" | "renewal_submitted" | "membership_verified" | "hub_refreshed" | null;
7878
+ readonly workflowId: string;
7879
+ readonly source: {
7880
+ readonly id: string;
7881
+ readonly vendor: "odyssey_gaming";
7882
+ };
7883
+ readonly resolutionPath: "reconcile" | "correct_in_odyssey";
7884
+ readonly renewalAuthorizationAvailable: boolean;
7885
+ readonly ageMs: number;
7886
+ }[];
7887
+ readonly total: number;
7888
+ }, never, never, never> | HttpApiEndpoint.HttpApiEndpoint<"reconcileEnsureActiveMembershipManualReview", "POST", {
7889
+ readonly organizationId: string;
7890
+ readonly commandId: string;
7891
+ }, never, {}, never, {
7892
+ readonly status: "requested" | "accepted" | "completed" | "failed";
7686
7893
  readonly id: string;
7687
7894
  readonly createdAt: string;
7688
7895
  readonly updatedAt: string;
7689
7896
  readonly deletedAt: string | null;
7690
7897
  readonly organizationId: string;
7691
- readonly transport: "onsite_agent" | "csv_bucket" | "live_feed";
7898
+ readonly kind: "ensure_active_membership";
7899
+ readonly payload: {
7900
+ readonly idempotencyKey: string;
7901
+ readonly member: {
7902
+ readonly email?: string | null | undefined;
7903
+ readonly title?: string | null | undefined;
7904
+ readonly firstName: string;
7905
+ readonly middleName?: string | null | undefined;
7906
+ readonly lastName: string;
7907
+ readonly dob: string;
7908
+ readonly gender?: string | null | undefined;
7909
+ readonly mobilePhone?: string | null | undefined;
7910
+ readonly homePhone?: string | null | undefined;
7911
+ readonly preferredContactMethod?: "sms" | "email" | null | undefined;
7912
+ readonly occupation?: string | null | undefined;
7913
+ readonly address?: {
7914
+ readonly line1?: string | null | undefined;
7915
+ readonly line2?: string | null | undefined;
7916
+ readonly suburb?: string | null | undefined;
7917
+ readonly state?: string | null | undefined;
7918
+ readonly postalCode?: string | null | undefined;
7919
+ readonly country?: string | null | undefined;
7920
+ } | null | undefined;
7921
+ readonly postalAddress?: {
7922
+ readonly line1?: string | null | undefined;
7923
+ readonly line2?: string | null | undefined;
7924
+ readonly suburb?: string | null | undefined;
7925
+ readonly state?: string | null | undefined;
7926
+ readonly postalCode?: string | null | undefined;
7927
+ readonly country?: string | null | undefined;
7928
+ } | null | undefined;
7929
+ readonly membershipTypeId: string;
7930
+ readonly marketingPreferences?: {
7931
+ readonly sms?: boolean | undefined;
7932
+ readonly email?: boolean | undefined;
7933
+ readonly post?: boolean | undefined;
7934
+ readonly gamingEmail?: boolean | undefined;
7935
+ readonly gamingSms?: boolean | undefined;
7936
+ readonly gamingOptOut?: boolean | undefined;
7937
+ } | undefined;
7938
+ };
7939
+ readonly continuation?: {
7940
+ readonly reason?: string | undefined;
7941
+ readonly action: "reconcile";
7942
+ readonly reviewCommandId: string;
7943
+ readonly requestedByActorId: string;
7944
+ } | {
7945
+ readonly reason: string;
7946
+ readonly action: "authorize_renewal";
7947
+ readonly reviewCommandId: string;
7948
+ readonly requestedByActorId: string;
7949
+ readonly confirmedNotRenewed: true;
7950
+ } | undefined;
7951
+ };
7952
+ readonly result: {
7953
+ readonly memberId: string;
7954
+ readonly membershipTypeId: string;
7955
+ readonly sourceStatus: "ACTIVE";
7956
+ readonly outcome: "created" | "matched_active" | "renewed_existing";
7957
+ readonly membershipExpiry: string;
7958
+ } | {
7959
+ readonly outcome: "failed" | "ambiguous_identity_match" | "unsupported_source_status" | "indeterminate_membership_expiry" | "manual_review_required";
7960
+ } | null;
7692
7961
  readonly errorMessage: string | null;
7962
+ readonly requestedAt: string;
7963
+ readonly acceptedAt: string | null;
7693
7964
  readonly completedAt: string | null;
7694
7965
  readonly organizationMemberSourceId: string;
7695
- readonly triggerKind: "manual" | "scheduled" | "bucket" | "live_feed";
7696
- readonly mode: "full_snapshot" | "delta";
7697
- readonly inputReference: string | null;
7698
- readonly fileName: string | null;
7699
- readonly startedAt: string;
7700
- readonly pickedUpAt: string | null;
7701
7966
  readonly organizationMemberSourceAgentId: string | null;
7702
- readonly cursorBefore: {
7703
- readonly [x: string]: unknown;
7704
- } | null;
7705
- readonly cursorAfter: {
7706
- readonly [x: string]: unknown;
7707
- } | null;
7708
- readonly summary: {
7709
- readonly archived: number;
7710
- readonly totalRecords: number;
7711
- readonly inserted: number;
7712
- readonly updated: number;
7713
- readonly skipped: number;
7714
- readonly errorCount: number;
7715
- };
7716
- readonly errors: readonly {
7717
- readonly code: string;
7718
- readonly message: string;
7719
- readonly id: string;
7720
- readonly organizationId: string;
7721
- readonly payload: {
7722
- readonly [x: string]: unknown;
7723
- };
7724
- readonly externalSystemMemberId: string | null;
7725
- readonly memberNumber: string | null;
7726
- readonly organizationMemberSyncRunId: string;
7727
- readonly lineNumber: number | null;
7728
- readonly occurredAt: string;
7729
- }[];
7730
- }, never, never, never>, never, never, false> | HttpApiGroup.HttpApiGroup<"onsiteAgents", HttpApiEndpoint.HttpApiEndpoint<"heartbeatOnsiteAgent", "POST", never, never, {
7731
- readonly lastError?: string | null | undefined;
7732
- readonly metadata?: {
7733
- readonly [x: string]: unknown;
7734
- } | undefined;
7735
- readonly pollingIntervalSeconds?: number | undefined;
7736
- readonly capabilities?: readonly "ensure_active_membership"[] | undefined;
7737
- readonly version: string;
7967
+ }, never, never, never> | HttpApiEndpoint.HttpApiEndpoint<"authorizeEnsureActiveMembershipRenewal", "POST", {
7968
+ readonly organizationId: string;
7969
+ readonly commandId: string;
7738
7970
  }, never, {
7739
- readonly status: "active" | "paused" | "disabled";
7971
+ readonly reason: string;
7972
+ readonly confirmedNotRenewed: true;
7973
+ }, never, {
7974
+ readonly status: "requested" | "accepted" | "completed" | "failed";
7740
7975
  readonly id: string;
7741
7976
  readonly createdAt: string;
7742
7977
  readonly updatedAt: string;
7743
7978
  readonly deletedAt: string | null;
7744
7979
  readonly organizationId: string;
7745
- readonly lastError: string | null;
7746
- readonly metadata: {
7747
- readonly [x: string]: unknown;
7748
- };
7749
- readonly organizationMemberSourceId: string;
7750
- readonly clientId: string;
7751
- readonly publicKeyFingerprint: string | null;
7752
- readonly lastUsedAt: string | null;
7753
- readonly connectorType: "max_gaming" | "odyssey_gaming" | "ebet_arc" | "custom";
7754
- readonly siteId: string | null;
7755
- readonly pollingIntervalSeconds: number;
7756
- readonly lastHeartbeatAt: string | null;
7757
- readonly lastVersion: string | null;
7758
- readonly syncSchedule: string | null;
7759
- readonly nextSyncAt: string | null;
7760
- readonly syncDue: boolean;
7761
- readonly syncStateReason: "not_due" | "enqueued" | "existing_run" | "none" | "error";
7762
- readonly activeSyncRunId: string | null;
7763
- readonly activeSyncRunStatus: "success" | "failure" | "pending" | "running" | "partial_failure" | null;
7764
- readonly pendingSyncRunId: string | null;
7765
- readonly syncCommand?: {
7766
- readonly organizationId: string;
7767
- readonly config: {
7768
- readonly [x: string]: unknown;
7980
+ readonly kind: "ensure_active_membership";
7981
+ readonly payload: {
7982
+ readonly idempotencyKey: string;
7983
+ readonly member: {
7984
+ readonly email?: string | null | undefined;
7985
+ readonly title?: string | null | undefined;
7986
+ readonly firstName: string;
7987
+ readonly middleName?: string | null | undefined;
7988
+ readonly lastName: string;
7989
+ readonly dob: string;
7990
+ readonly gender?: string | null | undefined;
7991
+ readonly mobilePhone?: string | null | undefined;
7992
+ readonly homePhone?: string | null | undefined;
7993
+ readonly preferredContactMethod?: "sms" | "email" | null | undefined;
7994
+ readonly occupation?: string | null | undefined;
7995
+ readonly address?: {
7996
+ readonly line1?: string | null | undefined;
7997
+ readonly line2?: string | null | undefined;
7998
+ readonly suburb?: string | null | undefined;
7999
+ readonly state?: string | null | undefined;
8000
+ readonly postalCode?: string | null | undefined;
8001
+ readonly country?: string | null | undefined;
8002
+ } | null | undefined;
8003
+ readonly postalAddress?: {
8004
+ readonly line1?: string | null | undefined;
8005
+ readonly line2?: string | null | undefined;
8006
+ readonly suburb?: string | null | undefined;
8007
+ readonly state?: string | null | undefined;
8008
+ readonly postalCode?: string | null | undefined;
8009
+ readonly country?: string | null | undefined;
8010
+ } | null | undefined;
8011
+ readonly membershipTypeId: string;
8012
+ readonly marketingPreferences?: {
8013
+ readonly sms?: boolean | undefined;
8014
+ readonly email?: boolean | undefined;
8015
+ readonly post?: boolean | undefined;
8016
+ readonly gamingEmail?: boolean | undefined;
8017
+ readonly gamingSms?: boolean | undefined;
8018
+ readonly gamingOptOut?: boolean | undefined;
8019
+ } | undefined;
7769
8020
  };
7770
- readonly requestedAt: string;
7771
- readonly secrets: readonly {
7772
- readonly name: string;
7773
- readonly value: string;
7774
- }[];
7775
- readonly organizationMemberSourceId: string;
7776
- readonly connectorType: "max_gaming" | "odyssey_gaming" | "ebet_arc" | "custom";
7777
- readonly vendor: "max_gaming" | "odyssey_gaming" | "ebet_arc" | "custom";
7778
- readonly mode: "full_snapshot" | "delta";
7779
- readonly inputReference: string | null;
7780
- readonly cursorBefore: {
7781
- readonly [x: string]: unknown;
7782
- } | null;
7783
- readonly runId: string;
7784
- readonly csvUpload?: {
7785
- readonly fileName: string;
7786
- readonly bucketName: string;
7787
- readonly objectKey: string;
7788
- readonly contentType: string;
7789
- readonly presignedPost: {
7790
- readonly url: string;
7791
- readonly fields: {
7792
- readonly [x: string]: string;
7793
- };
7794
- };
7795
- readonly importId: string;
7796
- } | undefined;
7797
- } | null | undefined;
7798
- }, never, never, never> | HttpApiEndpoint.HttpApiEndpoint<"ingestOnsiteAgentLiveFbiBatch", "POST", never, never, {
7799
- readonly metadata?: {
7800
- readonly [x: string]: unknown;
7801
- } | undefined;
7802
- readonly records: readonly {
7803
- readonly email: string | null;
7804
- readonly externalSystemMemberId: string | null;
7805
- readonly memberNumber: string | null;
7806
- readonly joinedAt: string | null;
7807
- readonly sourceUpdatedAt: string | null;
7808
- readonly title: string | null;
7809
- readonly firstName: string | null;
7810
- readonly middleName: string | null;
7811
- readonly lastName: string | null;
7812
- readonly dob: string | null;
7813
- readonly gender: string | null;
7814
- readonly mobilePhone: string | null;
7815
- readonly homePhone: string | null;
7816
- readonly preferredContactMethod: "sms" | "email" | null;
7817
- readonly occupation: string | null;
7818
- readonly address: {
7819
- readonly line1: string | null;
7820
- readonly line2: string | null;
7821
- readonly suburb: string | null;
7822
- readonly state: string | null;
7823
- readonly postalCode: string | null;
7824
- readonly country: string | null;
7825
- } | null;
7826
- readonly postalAddress: {
7827
- readonly line1: string | null;
7828
- readonly line2: string | null;
7829
- readonly suburb: string | null;
7830
- readonly state: string | null;
7831
- readonly postalCode: string | null;
7832
- readonly country: string | null;
7833
- } | null;
7834
- readonly membershipType: string | null;
7835
- readonly membershipTypeId: string | null;
7836
- readonly ratingGrade: string | null;
7837
- readonly ratingGradeId: string | null;
7838
- readonly marketingPreferences?: {
7839
- readonly sms: boolean;
7840
- readonly email: boolean;
7841
- readonly post: boolean;
7842
- readonly gamingEmail: boolean;
7843
- readonly gamingSms: boolean;
7844
- readonly gamingOptOut: boolean;
7845
- } | undefined;
7846
- readonly expiresAt: string | null;
7847
- readonly cardId: string | null;
7848
- readonly sourceStatus: string | null;
7849
- readonly lineNumber: number | null;
7850
- readonly previousMemberNumber: string | null;
7851
- }[];
7852
- readonly rowErrors?: readonly {
7853
- readonly code: string;
7854
- readonly message: string;
7855
- readonly payload?: {
7856
- readonly [x: string]: unknown;
8021
+ readonly continuation?: {
8022
+ readonly reason?: string | undefined;
8023
+ readonly action: "reconcile";
8024
+ readonly reviewCommandId: string;
8025
+ readonly requestedByActorId: string;
8026
+ } | {
8027
+ readonly reason: string;
8028
+ readonly action: "authorize_renewal";
8029
+ readonly reviewCommandId: string;
8030
+ readonly requestedByActorId: string;
8031
+ readonly confirmedNotRenewed: true;
7857
8032
  } | undefined;
7858
- readonly externalSystemMemberId?: string | null | undefined;
7859
- readonly memberNumber?: string | null | undefined;
7860
- readonly lineNumber: number | null;
7861
- }[] | undefined;
7862
- readonly sourceFileName?: string | null | undefined;
8033
+ };
8034
+ readonly result: {
8035
+ readonly memberId: string;
8036
+ readonly membershipTypeId: string;
8037
+ readonly sourceStatus: "ACTIVE";
8038
+ readonly outcome: "created" | "matched_active" | "renewed_existing";
8039
+ readonly membershipExpiry: string;
8040
+ } | {
8041
+ readonly outcome: "failed" | "ambiguous_identity_match" | "unsupported_source_status" | "indeterminate_membership_expiry" | "manual_review_required";
8042
+ } | null;
8043
+ readonly errorMessage: string | null;
8044
+ readonly requestedAt: string;
8045
+ readonly acceptedAt: string | null;
8046
+ readonly completedAt: string | null;
8047
+ readonly organizationMemberSourceId: string;
8048
+ readonly organizationMemberSourceAgentId: string | null;
8049
+ }, never, never, never> | HttpApiEndpoint.HttpApiEndpoint<"triggerOrganizationMemberSync", "POST", {
8050
+ readonly organizationId: string;
8051
+ }, never, {
8052
+ readonly mode?: "full_snapshot" | "delta" | undefined;
8053
+ readonly inputReference?: string | null | undefined;
8054
+ }, never, {
8055
+ readonly status: "success" | "failure" | "pending" | "running" | "partial_failure";
8056
+ readonly id: string;
8057
+ readonly createdAt: string;
8058
+ readonly updatedAt: string;
8059
+ readonly deletedAt: string | null;
8060
+ readonly organizationId: string;
8061
+ readonly transport: "onsite_agent" | "csv_bucket" | "live_feed";
8062
+ readonly errorMessage: string | null;
8063
+ readonly completedAt: string | null;
8064
+ readonly organizationMemberSourceId: string;
8065
+ readonly triggerKind: "manual" | "scheduled" | "bucket" | "live_feed";
8066
+ readonly mode: "full_snapshot" | "delta";
8067
+ readonly inputReference: string | null;
8068
+ readonly fileName: string | null;
8069
+ readonly startedAt: string;
8070
+ readonly pickedUpAt: string | null;
8071
+ readonly organizationMemberSourceAgentId: string | null;
8072
+ readonly cursorBefore: {
8073
+ readonly [x: string]: unknown;
8074
+ } | null;
8075
+ readonly cursorAfter: {
8076
+ readonly [x: string]: unknown;
8077
+ } | null;
8078
+ readonly summary: {
8079
+ readonly archived: number;
8080
+ readonly totalRecords: number;
8081
+ readonly inserted: number;
8082
+ readonly updated: number;
8083
+ readonly skipped: number;
8084
+ readonly errorCount: number;
8085
+ };
8086
+ readonly errors: readonly {
8087
+ readonly code: string;
8088
+ readonly message: string;
8089
+ readonly id: string;
8090
+ readonly organizationId: string;
8091
+ readonly payload: {
8092
+ readonly [x: string]: unknown;
8093
+ };
8094
+ readonly externalSystemMemberId: string | null;
8095
+ readonly memberNumber: string | null;
8096
+ readonly organizationMemberSyncRunId: string;
8097
+ readonly lineNumber: number | null;
8098
+ readonly occurredAt: string;
8099
+ }[];
8100
+ }, never, never, never>, never, never, false> | HttpApiGroup.HttpApiGroup<"onsiteAgents", HttpApiEndpoint.HttpApiEndpoint<"heartbeatOnsiteAgent", "POST", never, never, {
8101
+ readonly lastError?: string | null | undefined;
8102
+ readonly metadata?: {
8103
+ readonly [x: string]: unknown;
8104
+ } | undefined;
8105
+ readonly pollingIntervalSeconds?: number | undefined;
8106
+ readonly capabilities?: readonly "ensure_active_membership"[] | undefined;
8107
+ readonly version: string;
8108
+ }, never, {
8109
+ readonly status: "active" | "paused" | "disabled";
8110
+ readonly id: string;
8111
+ readonly createdAt: string;
8112
+ readonly updatedAt: string;
8113
+ readonly deletedAt: string | null;
8114
+ readonly organizationId: string;
8115
+ readonly lastError: string | null;
8116
+ readonly metadata: {
8117
+ readonly [x: string]: unknown;
8118
+ };
8119
+ readonly organizationMemberSourceId: string;
8120
+ readonly clientId: string;
8121
+ readonly publicKeyFingerprint: string | null;
8122
+ readonly lastUsedAt: string | null;
8123
+ readonly connectorType: "max_gaming" | "odyssey_gaming" | "ebet_arc" | "custom";
8124
+ readonly siteId: string | null;
8125
+ readonly pollingIntervalSeconds: number;
8126
+ readonly lastHeartbeatAt: string | null;
8127
+ readonly lastVersion: string | null;
8128
+ readonly syncSchedule: string | null;
8129
+ readonly nextSyncAt: string | null;
8130
+ readonly syncDue: boolean;
8131
+ readonly syncStateReason: "not_due" | "enqueued" | "existing_run" | "none" | "error";
8132
+ readonly activeSyncRunId: string | null;
8133
+ readonly activeSyncRunStatus: "success" | "failure" | "pending" | "running" | "partial_failure" | null;
8134
+ readonly pendingSyncRunId: string | null;
8135
+ readonly syncCommand?: {
8136
+ readonly organizationId: string;
8137
+ readonly config: {
8138
+ readonly [x: string]: unknown;
8139
+ };
8140
+ readonly requestedAt: string;
8141
+ readonly secrets: readonly {
8142
+ readonly name: string;
8143
+ readonly value: string;
8144
+ }[];
8145
+ readonly organizationMemberSourceId: string;
8146
+ readonly connectorType: "max_gaming" | "odyssey_gaming" | "ebet_arc" | "custom";
8147
+ readonly vendor: "max_gaming" | "odyssey_gaming" | "ebet_arc" | "custom";
8148
+ readonly mode: "full_snapshot" | "delta";
8149
+ readonly inputReference: string | null;
8150
+ readonly cursorBefore: {
8151
+ readonly [x: string]: unknown;
8152
+ } | null;
8153
+ readonly runId: string;
8154
+ readonly csvUpload?: {
8155
+ readonly fileName: string;
8156
+ readonly bucketName: string;
8157
+ readonly objectKey: string;
8158
+ readonly contentType: string;
8159
+ readonly presignedPost: {
8160
+ readonly url: string;
8161
+ readonly fields: {
8162
+ readonly [x: string]: string;
8163
+ };
8164
+ };
8165
+ readonly importId: string;
8166
+ } | undefined;
8167
+ } | null | undefined;
8168
+ }, never, never, never> | HttpApiEndpoint.HttpApiEndpoint<"ingestOnsiteAgentLiveFbiBatch", "POST", never, never, {
8169
+ readonly metadata?: {
8170
+ readonly [x: string]: unknown;
8171
+ } | undefined;
8172
+ readonly records: readonly {
8173
+ readonly email: string | null;
8174
+ readonly externalSystemMemberId: string | null;
8175
+ readonly memberNumber: string | null;
8176
+ readonly joinedAt: string | null;
8177
+ readonly sourceUpdatedAt: string | null;
8178
+ readonly title: string | null;
8179
+ readonly firstName: string | null;
8180
+ readonly middleName: string | null;
8181
+ readonly lastName: string | null;
8182
+ readonly dob: string | null;
8183
+ readonly gender: string | null;
8184
+ readonly mobilePhone: string | null;
8185
+ readonly homePhone: string | null;
8186
+ readonly preferredContactMethod: "sms" | "email" | null;
8187
+ readonly occupation: string | null;
8188
+ readonly address: {
8189
+ readonly line1: string | null;
8190
+ readonly line2: string | null;
8191
+ readonly suburb: string | null;
8192
+ readonly state: string | null;
8193
+ readonly postalCode: string | null;
8194
+ readonly country: string | null;
8195
+ } | null;
8196
+ readonly postalAddress: {
8197
+ readonly line1: string | null;
8198
+ readonly line2: string | null;
8199
+ readonly suburb: string | null;
8200
+ readonly state: string | null;
8201
+ readonly postalCode: string | null;
8202
+ readonly country: string | null;
8203
+ } | null;
8204
+ readonly membershipType: string | null;
8205
+ readonly membershipTypeId: string | null;
8206
+ readonly ratingGrade: string | null;
8207
+ readonly ratingGradeId: string | null;
8208
+ readonly marketingPreferences?: {
8209
+ readonly sms: boolean;
8210
+ readonly email: boolean;
8211
+ readonly post: boolean;
8212
+ readonly gamingEmail: boolean;
8213
+ readonly gamingSms: boolean;
8214
+ readonly gamingOptOut: boolean;
8215
+ } | undefined;
8216
+ readonly expiresAt: string | null;
8217
+ readonly cardId: string | null;
8218
+ readonly sourceStatus: string | null;
8219
+ readonly lineNumber: number | null;
8220
+ readonly previousMemberNumber: string | null;
8221
+ }[];
8222
+ readonly rowErrors?: readonly {
8223
+ readonly code: string;
8224
+ readonly message: string;
8225
+ readonly payload?: {
8226
+ readonly [x: string]: unknown;
8227
+ } | undefined;
8228
+ readonly externalSystemMemberId?: string | null | undefined;
8229
+ readonly memberNumber?: string | null | undefined;
8230
+ readonly lineNumber: number | null;
8231
+ }[] | undefined;
8232
+ readonly sourceFileName?: string | null | undefined;
7863
8233
  }, never, {
7864
8234
  readonly status: "success" | "failure" | "pending" | "running" | "partial_failure";
7865
8235
  readonly id: string;
@@ -8046,6 +8416,18 @@ declare const HubApi: HttpApi.HttpApi<"hub", HttpApiGroup.HttpApiGroup<"auth", H
8046
8416
  readonly gamingOptOut?: boolean | undefined;
8047
8417
  } | undefined;
8048
8418
  };
8419
+ readonly continuation?: {
8420
+ readonly reason?: string | undefined;
8421
+ readonly action: "reconcile";
8422
+ readonly reviewCommandId: string;
8423
+ readonly requestedByActorId: string;
8424
+ } | {
8425
+ readonly reason: string;
8426
+ readonly action: "authorize_renewal";
8427
+ readonly reviewCommandId: string;
8428
+ readonly requestedByActorId: string;
8429
+ readonly confirmedNotRenewed: true;
8430
+ } | undefined;
8049
8431
  };
8050
8432
  readonly requestedAt: string;
8051
8433
  readonly secrets: readonly {
@@ -8607,6 +8989,18 @@ declare const HubApi: HttpApi.HttpApi<"hub", HttpApiGroup.HttpApiGroup<"auth", H
8607
8989
  readonly gamingOptOut?: boolean | undefined;
8608
8990
  } | undefined;
8609
8991
  };
8992
+ readonly continuation?: {
8993
+ readonly reason?: string | undefined;
8994
+ readonly action: "reconcile";
8995
+ readonly reviewCommandId: string;
8996
+ readonly requestedByActorId: string;
8997
+ } | {
8998
+ readonly reason: string;
8999
+ readonly action: "authorize_renewal";
9000
+ readonly reviewCommandId: string;
9001
+ readonly requestedByActorId: string;
9002
+ readonly confirmedNotRenewed: true;
9003
+ } | undefined;
8610
9004
  };
8611
9005
  readonly result: {
8612
9006
  readonly memberId: string;
@@ -8673,6 +9067,18 @@ declare const HubApi: HttpApi.HttpApi<"hub", HttpApiGroup.HttpApiGroup<"auth", H
8673
9067
  readonly gamingOptOut?: boolean | undefined;
8674
9068
  } | undefined;
8675
9069
  };
9070
+ readonly continuation?: {
9071
+ readonly reason?: string | undefined;
9072
+ readonly action: "reconcile";
9073
+ readonly reviewCommandId: string;
9074
+ readonly requestedByActorId: string;
9075
+ } | {
9076
+ readonly reason: string;
9077
+ readonly action: "authorize_renewal";
9078
+ readonly reviewCommandId: string;
9079
+ readonly requestedByActorId: string;
9080
+ readonly confirmedNotRenewed: true;
9081
+ } | undefined;
8676
9082
  };
8677
9083
  readonly result: {
8678
9084
  readonly memberId: string;
@@ -8703,6 +9109,22 @@ declare const HubApi: HttpApi.HttpApi<"hub", HttpApiGroup.HttpApiGroup<"auth", H
8703
9109
  };
8704
9110
  readonly expectedRevision: number;
8705
9111
  readonly lastSafeStep?: "identity_observed" | "rate_confirmed" | "profile_confirmed" | "preferences_confirmed" | "renewal_submitted" | "membership_verified" | "hub_refreshed" | undefined;
9112
+ readonly auditEvents?: readonly {
9113
+ readonly membershipTypeId?: string | undefined;
9114
+ readonly sourceStatus?: string | undefined;
9115
+ readonly outcome: "failed" | "pending" | "in_progress" | "confirmed" | "ambiguous";
9116
+ readonly membershipExpiry?: string | undefined;
9117
+ readonly reviewCommandId?: string | undefined;
9118
+ readonly step: "identity_observed" | "rate_confirmed" | "profile_confirmed" | "preferences_confirmed" | "renewal_submitted" | "membership_verified" | "hub_refreshed";
9119
+ readonly reasonCode?: string | undefined;
9120
+ readonly providerFee?: number | undefined;
9121
+ readonly providerRestricted?: boolean | undefined;
9122
+ readonly appliedChanges?: readonly ("rate" | "profile" | "preferences" | "renewal")[] | undefined;
9123
+ readonly resolutionAction?: "reconcile" | "authorize_renewal" | undefined;
9124
+ readonly operatorActorId?: string | undefined;
9125
+ readonly operatorReason?: string | undefined;
9126
+ readonly operatorConfirmedNotRenewed?: true | undefined;
9127
+ }[] | undefined;
8706
9128
  }, never, {
8707
9129
  readonly revision: number;
8708
9130
  readonly steps: {
@@ -9403,6 +9825,10 @@ type EnsureActiveMembershipCommandPayload = Schema.Schema.Type<typeof EnsureActi
9403
9825
  type RequestEnsureActiveMembershipInput = Schema.Schema.Type<typeof RequestEnsureActiveMembershipSchema>;
9404
9826
  type EnsureActiveMembershipCommand = Schema.Schema.Type<typeof EnsureActiveMembershipCommandSchema>;
9405
9827
  type EnsureActiveMembershipResponse = Schema.Schema.Type<typeof EnsureActiveMembershipResponseSchema>;
9828
+ type EnsureActiveMembershipManualReviewItem = Schema.Schema.Type<typeof EnsureActiveMembershipManualReviewItemSchema>;
9829
+ type EnsureActiveMembershipManualReviewQueue = Schema.Schema.Type<typeof EnsureActiveMembershipManualReviewQueueSchema>;
9830
+ type ReconcileEnsureActiveMembershipManualReviewInput = Schema.Schema.Type<typeof ReconcileEnsureActiveMembershipManualReviewSchema>;
9831
+ type AuthorizeEnsureActiveMembershipRenewalInput = Schema.Schema.Type<typeof AuthorizeEnsureActiveMembershipRenewalSchema>;
9406
9832
  type PaginatedOrganizationMemberSourceCommands = Schema.Schema.Type<typeof PaginatedOrganizationMemberSourceCommandsSchema>;
9407
9833
  type BootstrapOrganizationMemberSourceAgentInput = Schema.Schema.Type<typeof BootstrapOrganizationMemberSourceAgentSchema>;
9408
9834
  type BootstrapOrganizationMemberSourceAgentResponse = Schema.Schema.Type<typeof BootstrapOrganizationMemberSourceAgentResponseSchema>;
@@ -9468,7 +9894,9 @@ type OnsiteAgentCommand = Schema.Schema.Type<typeof OnsiteAgentCommandSchema>;
9468
9894
  type OnsiteAgentMemberCreateCommand = Schema.Schema.Type<typeof OnsiteAgentMemberCreateCommandSchema>;
9469
9895
  type OnsiteAgentEnsureActiveMembershipCommand = Schema.Schema.Type<typeof OnsiteAgentEnsureActiveMembershipCommandSchema>;
9470
9896
  type EnsureActiveMembershipWorkflowProgress = Schema.Schema.Type<typeof EnsureActiveMembershipWorkflowProgressSchema>;
9897
+ type EnsureActiveMembershipWorkflowStepState = Schema.Schema.Type<typeof EnsureActiveMembershipWorkflowStepStateSchema>;
9471
9898
  type OnsiteAgentEnsureActiveMembershipProgressUpdate = Schema.Schema.Type<typeof OnsiteAgentEnsureActiveMembershipProgressUpdateSchema>;
9899
+ type OnsiteAgentEnsureActiveMembershipAuditEvent = Schema.Schema.Type<typeof OnsiteAgentEnsureActiveMembershipAuditEventSchema>;
9472
9900
  type OnsiteAgentMemberUpdateCommand = Schema.Schema.Type<typeof OnsiteAgentMemberUpdateCommandSchema>;
9473
9901
  type OnsiteAgentMemberPreferenceUpdateCommand = Schema.Schema.Type<typeof OnsiteAgentMemberPreferenceUpdateCommandSchema>;
9474
9902
  type OnsiteAgentMemberRenewalCommand = Schema.Schema.Type<typeof OnsiteAgentMemberRenewalCommandSchema>;
@@ -9558,7 +9986,7 @@ declare const makeHubApiClient: (options: HubApiClientOptions) => Effect.Effect<
9558
9986
  readonly impersonatedBy: string | null;
9559
9987
  readonly roles: readonly {
9560
9988
  readonly organizationId: string | null;
9561
- readonly role: "platform_admin" | "org_admin" | "auditor";
9989
+ readonly role: "platform_admin" | "org_admin" | "auditor" | "workflow_resolver";
9562
9990
  }[];
9563
9991
  }, _effect_platform_HttpClientResponse.HttpClientResponse] : {
9564
9992
  readonly email: string;
@@ -9568,7 +9996,7 @@ declare const makeHubApiClient: (options: HubApiClientOptions) => Effect.Effect<
9568
9996
  readonly impersonatedBy: string | null;
9569
9997
  readonly roles: readonly {
9570
9998
  readonly organizationId: string | null;
9571
- readonly role: "platform_admin" | "org_admin" | "auditor";
9999
+ readonly role: "platform_admin" | "org_admin" | "auditor" | "workflow_resolver";
9572
10000
  }[];
9573
10001
  }, {
9574
10002
  readonly code: "unauthorized";
@@ -11998,6 +12426,18 @@ declare const makeHubApiClient: (options: HubApiClientOptions) => Effect.Effect<
11998
12426
  readonly gamingOptOut?: boolean | undefined;
11999
12427
  } | undefined;
12000
12428
  };
12429
+ readonly continuation?: {
12430
+ readonly reason?: string | undefined;
12431
+ readonly action: "reconcile";
12432
+ readonly reviewCommandId: string;
12433
+ readonly requestedByActorId: string;
12434
+ } | {
12435
+ readonly reason: string;
12436
+ readonly action: "authorize_renewal";
12437
+ readonly reviewCommandId: string;
12438
+ readonly requestedByActorId: string;
12439
+ readonly confirmedNotRenewed: true;
12440
+ } | undefined;
12001
12441
  };
12002
12442
  readonly result: {
12003
12443
  readonly memberId: string;
@@ -12066,6 +12506,18 @@ declare const makeHubApiClient: (options: HubApiClientOptions) => Effect.Effect<
12066
12506
  readonly gamingOptOut?: boolean | undefined;
12067
12507
  } | undefined;
12068
12508
  };
12509
+ readonly continuation?: {
12510
+ readonly reason?: string | undefined;
12511
+ readonly action: "reconcile";
12512
+ readonly reviewCommandId: string;
12513
+ readonly requestedByActorId: string;
12514
+ } | {
12515
+ readonly reason: string;
12516
+ readonly action: "authorize_renewal";
12517
+ readonly reviewCommandId: string;
12518
+ readonly requestedByActorId: string;
12519
+ readonly confirmedNotRenewed: true;
12520
+ } | undefined;
12069
12521
  };
12070
12522
  readonly result: {
12071
12523
  readonly memberId: string;
@@ -14932,6 +15384,18 @@ declare const makeHubApiClient: (options: HubApiClientOptions) => Effect.Effect<
14932
15384
  readonly gamingOptOut?: boolean | undefined;
14933
15385
  } | undefined;
14934
15386
  };
15387
+ readonly continuation?: {
15388
+ readonly reason?: string | undefined;
15389
+ readonly action: "reconcile";
15390
+ readonly reviewCommandId: string;
15391
+ readonly requestedByActorId: string;
15392
+ } | {
15393
+ readonly reason: string;
15394
+ readonly action: "authorize_renewal";
15395
+ readonly reviewCommandId: string;
15396
+ readonly requestedByActorId: string;
15397
+ readonly confirmedNotRenewed: true;
15398
+ } | undefined;
14935
15399
  };
14936
15400
  readonly result: {
14937
15401
  readonly memberId: string;
@@ -15097,6 +15561,18 @@ declare const makeHubApiClient: (options: HubApiClientOptions) => Effect.Effect<
15097
15561
  readonly gamingOptOut?: boolean | undefined;
15098
15562
  } | undefined;
15099
15563
  };
15564
+ readonly continuation?: {
15565
+ readonly reason?: string | undefined;
15566
+ readonly action: "reconcile";
15567
+ readonly reviewCommandId: string;
15568
+ readonly requestedByActorId: string;
15569
+ } | {
15570
+ readonly reason: string;
15571
+ readonly action: "authorize_renewal";
15572
+ readonly reviewCommandId: string;
15573
+ readonly requestedByActorId: string;
15574
+ readonly confirmedNotRenewed: true;
15575
+ } | undefined;
15100
15576
  };
15101
15577
  readonly result: {
15102
15578
  readonly memberId: string;
@@ -16884,6 +17360,439 @@ declare const makeHubApiClient: (options: HubApiClientOptions) => Effect.Effect<
16884
17360
  readonly code: "internal_error";
16885
17361
  readonly message: string;
16886
17362
  } | _effect_platform_HttpApiError.HttpApiDecodeError | _effect_platform_HttpClientError.HttpClientError | effect_ParseResult.ParseError, never>;
17363
+ readonly listEnsureActiveMembershipManualReviews: <WithResponse extends boolean = false>(request: {
17364
+ readonly path: {
17365
+ readonly organizationId: string;
17366
+ };
17367
+ readonly withResponse?: WithResponse | undefined;
17368
+ }) => Effect.Effect<WithResponse extends true ? [{
17369
+ readonly items: readonly {
17370
+ readonly updatedAt: string;
17371
+ readonly organizationId: string;
17372
+ readonly commandId: string;
17373
+ readonly startedAt: string;
17374
+ readonly outcome: "failed" | "ambiguous_identity_match" | "unsupported_source_status" | "indeterminate_membership_expiry" | "manual_review_required";
17375
+ readonly member: {
17376
+ readonly firstName: string;
17377
+ readonly lastName: string;
17378
+ readonly dob: string;
17379
+ readonly membershipTypeId: string;
17380
+ };
17381
+ readonly reasonCode: string;
17382
+ readonly lastSafeStep: "identity_observed" | "rate_confirmed" | "profile_confirmed" | "preferences_confirmed" | "renewal_submitted" | "membership_verified" | "hub_refreshed" | null;
17383
+ readonly workflowId: string;
17384
+ readonly source: {
17385
+ readonly id: string;
17386
+ readonly vendor: "odyssey_gaming";
17387
+ };
17388
+ readonly resolutionPath: "reconcile" | "correct_in_odyssey";
17389
+ readonly renewalAuthorizationAvailable: boolean;
17390
+ readonly ageMs: number;
17391
+ }[];
17392
+ readonly total: number;
17393
+ }, _effect_platform_HttpClientResponse.HttpClientResponse] : {
17394
+ readonly items: readonly {
17395
+ readonly updatedAt: string;
17396
+ readonly organizationId: string;
17397
+ readonly commandId: string;
17398
+ readonly startedAt: string;
17399
+ readonly outcome: "failed" | "ambiguous_identity_match" | "unsupported_source_status" | "indeterminate_membership_expiry" | "manual_review_required";
17400
+ readonly member: {
17401
+ readonly firstName: string;
17402
+ readonly lastName: string;
17403
+ readonly dob: string;
17404
+ readonly membershipTypeId: string;
17405
+ };
17406
+ readonly reasonCode: string;
17407
+ readonly lastSafeStep: "identity_observed" | "rate_confirmed" | "profile_confirmed" | "preferences_confirmed" | "renewal_submitted" | "membership_verified" | "hub_refreshed" | null;
17408
+ readonly workflowId: string;
17409
+ readonly source: {
17410
+ readonly id: string;
17411
+ readonly vendor: "odyssey_gaming";
17412
+ };
17413
+ readonly resolutionPath: "reconcile" | "correct_in_odyssey";
17414
+ readonly renewalAuthorizationAvailable: boolean;
17415
+ readonly ageMs: number;
17416
+ }[];
17417
+ readonly total: number;
17418
+ }, {
17419
+ readonly code: "unauthorized";
17420
+ readonly message: string;
17421
+ } | {
17422
+ readonly code: "forbidden";
17423
+ readonly message: string;
17424
+ } | {
17425
+ readonly code: "not_found";
17426
+ readonly message: string;
17427
+ } | {
17428
+ readonly code: "conflict";
17429
+ readonly message: string;
17430
+ } | {
17431
+ readonly code: "bad_request";
17432
+ readonly message: string;
17433
+ } | {
17434
+ readonly code: "internal_error";
17435
+ readonly message: string;
17436
+ } | _effect_platform_HttpApiError.HttpApiDecodeError | _effect_platform_HttpClientError.HttpClientError | effect_ParseResult.ParseError, never>;
17437
+ readonly reconcileEnsureActiveMembershipManualReview: <WithResponse extends boolean = false>(request: {
17438
+ readonly path: {
17439
+ readonly organizationId: string;
17440
+ readonly commandId: string;
17441
+ };
17442
+ readonly payload: {};
17443
+ readonly withResponse?: WithResponse | undefined;
17444
+ }) => Effect.Effect<WithResponse extends true ? [{
17445
+ readonly status: "requested" | "accepted" | "completed" | "failed";
17446
+ readonly id: string;
17447
+ readonly createdAt: string;
17448
+ readonly updatedAt: string;
17449
+ readonly deletedAt: string | null;
17450
+ readonly organizationId: string;
17451
+ readonly kind: "ensure_active_membership";
17452
+ readonly payload: {
17453
+ readonly idempotencyKey: string;
17454
+ readonly member: {
17455
+ readonly email?: string | null | undefined;
17456
+ readonly title?: string | null | undefined;
17457
+ readonly firstName: string;
17458
+ readonly middleName?: string | null | undefined;
17459
+ readonly lastName: string;
17460
+ readonly dob: string;
17461
+ readonly gender?: string | null | undefined;
17462
+ readonly mobilePhone?: string | null | undefined;
17463
+ readonly homePhone?: string | null | undefined;
17464
+ readonly preferredContactMethod?: "sms" | "email" | null | undefined;
17465
+ readonly occupation?: string | null | undefined;
17466
+ readonly address?: {
17467
+ readonly line1?: string | null | undefined;
17468
+ readonly line2?: string | null | undefined;
17469
+ readonly suburb?: string | null | undefined;
17470
+ readonly state?: string | null | undefined;
17471
+ readonly postalCode?: string | null | undefined;
17472
+ readonly country?: string | null | undefined;
17473
+ } | null | undefined;
17474
+ readonly postalAddress?: {
17475
+ readonly line1?: string | null | undefined;
17476
+ readonly line2?: string | null | undefined;
17477
+ readonly suburb?: string | null | undefined;
17478
+ readonly state?: string | null | undefined;
17479
+ readonly postalCode?: string | null | undefined;
17480
+ readonly country?: string | null | undefined;
17481
+ } | null | undefined;
17482
+ readonly membershipTypeId: string;
17483
+ readonly marketingPreferences?: {
17484
+ readonly sms?: boolean | undefined;
17485
+ readonly email?: boolean | undefined;
17486
+ readonly post?: boolean | undefined;
17487
+ readonly gamingEmail?: boolean | undefined;
17488
+ readonly gamingSms?: boolean | undefined;
17489
+ readonly gamingOptOut?: boolean | undefined;
17490
+ } | undefined;
17491
+ };
17492
+ readonly continuation?: {
17493
+ readonly reason?: string | undefined;
17494
+ readonly action: "reconcile";
17495
+ readonly reviewCommandId: string;
17496
+ readonly requestedByActorId: string;
17497
+ } | {
17498
+ readonly reason: string;
17499
+ readonly action: "authorize_renewal";
17500
+ readonly reviewCommandId: string;
17501
+ readonly requestedByActorId: string;
17502
+ readonly confirmedNotRenewed: true;
17503
+ } | undefined;
17504
+ };
17505
+ readonly result: {
17506
+ readonly memberId: string;
17507
+ readonly membershipTypeId: string;
17508
+ readonly sourceStatus: "ACTIVE";
17509
+ readonly outcome: "created" | "matched_active" | "renewed_existing";
17510
+ readonly membershipExpiry: string;
17511
+ } | {
17512
+ readonly outcome: "failed" | "ambiguous_identity_match" | "unsupported_source_status" | "indeterminate_membership_expiry" | "manual_review_required";
17513
+ } | null;
17514
+ readonly errorMessage: string | null;
17515
+ readonly requestedAt: string;
17516
+ readonly acceptedAt: string | null;
17517
+ readonly completedAt: string | null;
17518
+ readonly organizationMemberSourceId: string;
17519
+ readonly organizationMemberSourceAgentId: string | null;
17520
+ }, _effect_platform_HttpClientResponse.HttpClientResponse] : {
17521
+ readonly status: "requested" | "accepted" | "completed" | "failed";
17522
+ readonly id: string;
17523
+ readonly createdAt: string;
17524
+ readonly updatedAt: string;
17525
+ readonly deletedAt: string | null;
17526
+ readonly organizationId: string;
17527
+ readonly kind: "ensure_active_membership";
17528
+ readonly payload: {
17529
+ readonly idempotencyKey: string;
17530
+ readonly member: {
17531
+ readonly email?: string | null | undefined;
17532
+ readonly title?: string | null | undefined;
17533
+ readonly firstName: string;
17534
+ readonly middleName?: string | null | undefined;
17535
+ readonly lastName: string;
17536
+ readonly dob: string;
17537
+ readonly gender?: string | null | undefined;
17538
+ readonly mobilePhone?: string | null | undefined;
17539
+ readonly homePhone?: string | null | undefined;
17540
+ readonly preferredContactMethod?: "sms" | "email" | null | undefined;
17541
+ readonly occupation?: string | null | undefined;
17542
+ readonly address?: {
17543
+ readonly line1?: string | null | undefined;
17544
+ readonly line2?: string | null | undefined;
17545
+ readonly suburb?: string | null | undefined;
17546
+ readonly state?: string | null | undefined;
17547
+ readonly postalCode?: string | null | undefined;
17548
+ readonly country?: string | null | undefined;
17549
+ } | null | undefined;
17550
+ readonly postalAddress?: {
17551
+ readonly line1?: string | null | undefined;
17552
+ readonly line2?: string | null | undefined;
17553
+ readonly suburb?: string | null | undefined;
17554
+ readonly state?: string | null | undefined;
17555
+ readonly postalCode?: string | null | undefined;
17556
+ readonly country?: string | null | undefined;
17557
+ } | null | undefined;
17558
+ readonly membershipTypeId: string;
17559
+ readonly marketingPreferences?: {
17560
+ readonly sms?: boolean | undefined;
17561
+ readonly email?: boolean | undefined;
17562
+ readonly post?: boolean | undefined;
17563
+ readonly gamingEmail?: boolean | undefined;
17564
+ readonly gamingSms?: boolean | undefined;
17565
+ readonly gamingOptOut?: boolean | undefined;
17566
+ } | undefined;
17567
+ };
17568
+ readonly continuation?: {
17569
+ readonly reason?: string | undefined;
17570
+ readonly action: "reconcile";
17571
+ readonly reviewCommandId: string;
17572
+ readonly requestedByActorId: string;
17573
+ } | {
17574
+ readonly reason: string;
17575
+ readonly action: "authorize_renewal";
17576
+ readonly reviewCommandId: string;
17577
+ readonly requestedByActorId: string;
17578
+ readonly confirmedNotRenewed: true;
17579
+ } | undefined;
17580
+ };
17581
+ readonly result: {
17582
+ readonly memberId: string;
17583
+ readonly membershipTypeId: string;
17584
+ readonly sourceStatus: "ACTIVE";
17585
+ readonly outcome: "created" | "matched_active" | "renewed_existing";
17586
+ readonly membershipExpiry: string;
17587
+ } | {
17588
+ readonly outcome: "failed" | "ambiguous_identity_match" | "unsupported_source_status" | "indeterminate_membership_expiry" | "manual_review_required";
17589
+ } | null;
17590
+ readonly errorMessage: string | null;
17591
+ readonly requestedAt: string;
17592
+ readonly acceptedAt: string | null;
17593
+ readonly completedAt: string | null;
17594
+ readonly organizationMemberSourceId: string;
17595
+ readonly organizationMemberSourceAgentId: string | null;
17596
+ }, {
17597
+ readonly code: "unauthorized";
17598
+ readonly message: string;
17599
+ } | {
17600
+ readonly code: "forbidden";
17601
+ readonly message: string;
17602
+ } | {
17603
+ readonly code: "not_found";
17604
+ readonly message: string;
17605
+ } | {
17606
+ readonly code: "conflict";
17607
+ readonly message: string;
17608
+ } | {
17609
+ readonly code: "bad_request";
17610
+ readonly message: string;
17611
+ } | {
17612
+ readonly code: "internal_error";
17613
+ readonly message: string;
17614
+ } | _effect_platform_HttpApiError.HttpApiDecodeError | _effect_platform_HttpClientError.HttpClientError | effect_ParseResult.ParseError, never>;
17615
+ readonly authorizeEnsureActiveMembershipRenewal: <WithResponse extends boolean = false>(request: {
17616
+ readonly path: {
17617
+ readonly organizationId: string;
17618
+ readonly commandId: string;
17619
+ };
17620
+ readonly payload: {
17621
+ readonly reason: string;
17622
+ readonly confirmedNotRenewed: true;
17623
+ };
17624
+ readonly withResponse?: WithResponse | undefined;
17625
+ }) => Effect.Effect<WithResponse extends true ? [{
17626
+ readonly status: "requested" | "accepted" | "completed" | "failed";
17627
+ readonly id: string;
17628
+ readonly createdAt: string;
17629
+ readonly updatedAt: string;
17630
+ readonly deletedAt: string | null;
17631
+ readonly organizationId: string;
17632
+ readonly kind: "ensure_active_membership";
17633
+ readonly payload: {
17634
+ readonly idempotencyKey: string;
17635
+ readonly member: {
17636
+ readonly email?: string | null | undefined;
17637
+ readonly title?: string | null | undefined;
17638
+ readonly firstName: string;
17639
+ readonly middleName?: string | null | undefined;
17640
+ readonly lastName: string;
17641
+ readonly dob: string;
17642
+ readonly gender?: string | null | undefined;
17643
+ readonly mobilePhone?: string | null | undefined;
17644
+ readonly homePhone?: string | null | undefined;
17645
+ readonly preferredContactMethod?: "sms" | "email" | null | undefined;
17646
+ readonly occupation?: string | null | undefined;
17647
+ readonly address?: {
17648
+ readonly line1?: string | null | undefined;
17649
+ readonly line2?: string | null | undefined;
17650
+ readonly suburb?: string | null | undefined;
17651
+ readonly state?: string | null | undefined;
17652
+ readonly postalCode?: string | null | undefined;
17653
+ readonly country?: string | null | undefined;
17654
+ } | null | undefined;
17655
+ readonly postalAddress?: {
17656
+ readonly line1?: string | null | undefined;
17657
+ readonly line2?: string | null | undefined;
17658
+ readonly suburb?: string | null | undefined;
17659
+ readonly state?: string | null | undefined;
17660
+ readonly postalCode?: string | null | undefined;
17661
+ readonly country?: string | null | undefined;
17662
+ } | null | undefined;
17663
+ readonly membershipTypeId: string;
17664
+ readonly marketingPreferences?: {
17665
+ readonly sms?: boolean | undefined;
17666
+ readonly email?: boolean | undefined;
17667
+ readonly post?: boolean | undefined;
17668
+ readonly gamingEmail?: boolean | undefined;
17669
+ readonly gamingSms?: boolean | undefined;
17670
+ readonly gamingOptOut?: boolean | undefined;
17671
+ } | undefined;
17672
+ };
17673
+ readonly continuation?: {
17674
+ readonly reason?: string | undefined;
17675
+ readonly action: "reconcile";
17676
+ readonly reviewCommandId: string;
17677
+ readonly requestedByActorId: string;
17678
+ } | {
17679
+ readonly reason: string;
17680
+ readonly action: "authorize_renewal";
17681
+ readonly reviewCommandId: string;
17682
+ readonly requestedByActorId: string;
17683
+ readonly confirmedNotRenewed: true;
17684
+ } | undefined;
17685
+ };
17686
+ readonly result: {
17687
+ readonly memberId: string;
17688
+ readonly membershipTypeId: string;
17689
+ readonly sourceStatus: "ACTIVE";
17690
+ readonly outcome: "created" | "matched_active" | "renewed_existing";
17691
+ readonly membershipExpiry: string;
17692
+ } | {
17693
+ readonly outcome: "failed" | "ambiguous_identity_match" | "unsupported_source_status" | "indeterminate_membership_expiry" | "manual_review_required";
17694
+ } | null;
17695
+ readonly errorMessage: string | null;
17696
+ readonly requestedAt: string;
17697
+ readonly acceptedAt: string | null;
17698
+ readonly completedAt: string | null;
17699
+ readonly organizationMemberSourceId: string;
17700
+ readonly organizationMemberSourceAgentId: string | null;
17701
+ }, _effect_platform_HttpClientResponse.HttpClientResponse] : {
17702
+ readonly status: "requested" | "accepted" | "completed" | "failed";
17703
+ readonly id: string;
17704
+ readonly createdAt: string;
17705
+ readonly updatedAt: string;
17706
+ readonly deletedAt: string | null;
17707
+ readonly organizationId: string;
17708
+ readonly kind: "ensure_active_membership";
17709
+ readonly payload: {
17710
+ readonly idempotencyKey: string;
17711
+ readonly member: {
17712
+ readonly email?: string | null | undefined;
17713
+ readonly title?: string | null | undefined;
17714
+ readonly firstName: string;
17715
+ readonly middleName?: string | null | undefined;
17716
+ readonly lastName: string;
17717
+ readonly dob: string;
17718
+ readonly gender?: string | null | undefined;
17719
+ readonly mobilePhone?: string | null | undefined;
17720
+ readonly homePhone?: string | null | undefined;
17721
+ readonly preferredContactMethod?: "sms" | "email" | null | undefined;
17722
+ readonly occupation?: string | null | undefined;
17723
+ readonly address?: {
17724
+ readonly line1?: string | null | undefined;
17725
+ readonly line2?: string | null | undefined;
17726
+ readonly suburb?: string | null | undefined;
17727
+ readonly state?: string | null | undefined;
17728
+ readonly postalCode?: string | null | undefined;
17729
+ readonly country?: string | null | undefined;
17730
+ } | null | undefined;
17731
+ readonly postalAddress?: {
17732
+ readonly line1?: string | null | undefined;
17733
+ readonly line2?: string | null | undefined;
17734
+ readonly suburb?: string | null | undefined;
17735
+ readonly state?: string | null | undefined;
17736
+ readonly postalCode?: string | null | undefined;
17737
+ readonly country?: string | null | undefined;
17738
+ } | null | undefined;
17739
+ readonly membershipTypeId: string;
17740
+ readonly marketingPreferences?: {
17741
+ readonly sms?: boolean | undefined;
17742
+ readonly email?: boolean | undefined;
17743
+ readonly post?: boolean | undefined;
17744
+ readonly gamingEmail?: boolean | undefined;
17745
+ readonly gamingSms?: boolean | undefined;
17746
+ readonly gamingOptOut?: boolean | undefined;
17747
+ } | undefined;
17748
+ };
17749
+ readonly continuation?: {
17750
+ readonly reason?: string | undefined;
17751
+ readonly action: "reconcile";
17752
+ readonly reviewCommandId: string;
17753
+ readonly requestedByActorId: string;
17754
+ } | {
17755
+ readonly reason: string;
17756
+ readonly action: "authorize_renewal";
17757
+ readonly reviewCommandId: string;
17758
+ readonly requestedByActorId: string;
17759
+ readonly confirmedNotRenewed: true;
17760
+ } | undefined;
17761
+ };
17762
+ readonly result: {
17763
+ readonly memberId: string;
17764
+ readonly membershipTypeId: string;
17765
+ readonly sourceStatus: "ACTIVE";
17766
+ readonly outcome: "created" | "matched_active" | "renewed_existing";
17767
+ readonly membershipExpiry: string;
17768
+ } | {
17769
+ readonly outcome: "failed" | "ambiguous_identity_match" | "unsupported_source_status" | "indeterminate_membership_expiry" | "manual_review_required";
17770
+ } | null;
17771
+ readonly errorMessage: string | null;
17772
+ readonly requestedAt: string;
17773
+ readonly acceptedAt: string | null;
17774
+ readonly completedAt: string | null;
17775
+ readonly organizationMemberSourceId: string;
17776
+ readonly organizationMemberSourceAgentId: string | null;
17777
+ }, {
17778
+ readonly code: "unauthorized";
17779
+ readonly message: string;
17780
+ } | {
17781
+ readonly code: "forbidden";
17782
+ readonly message: string;
17783
+ } | {
17784
+ readonly code: "not_found";
17785
+ readonly message: string;
17786
+ } | {
17787
+ readonly code: "conflict";
17788
+ readonly message: string;
17789
+ } | {
17790
+ readonly code: "bad_request";
17791
+ readonly message: string;
17792
+ } | {
17793
+ readonly code: "internal_error";
17794
+ readonly message: string;
17795
+ } | _effect_platform_HttpApiError.HttpApiDecodeError | _effect_platform_HttpClientError.HttpClientError | effect_ParseResult.ParseError, never>;
16887
17796
  readonly triggerOrganizationMemberSync: <WithResponse extends boolean = false>(request: {
16888
17797
  readonly path: {
16889
17798
  readonly organizationId: string;
@@ -17614,6 +18523,18 @@ declare const makeHubApiClient: (options: HubApiClientOptions) => Effect.Effect<
17614
18523
  readonly gamingOptOut?: boolean | undefined;
17615
18524
  } | undefined;
17616
18525
  };
18526
+ readonly continuation?: {
18527
+ readonly reason?: string | undefined;
18528
+ readonly action: "reconcile";
18529
+ readonly reviewCommandId: string;
18530
+ readonly requestedByActorId: string;
18531
+ } | {
18532
+ readonly reason: string;
18533
+ readonly action: "authorize_renewal";
18534
+ readonly reviewCommandId: string;
18535
+ readonly requestedByActorId: string;
18536
+ readonly confirmedNotRenewed: true;
18537
+ } | undefined;
17617
18538
  };
17618
18539
  readonly requestedAt: string;
17619
18540
  readonly secrets: readonly {
@@ -17681,6 +18602,18 @@ declare const makeHubApiClient: (options: HubApiClientOptions) => Effect.Effect<
17681
18602
  readonly gamingOptOut?: boolean | undefined;
17682
18603
  } | undefined;
17683
18604
  };
18605
+ readonly continuation?: {
18606
+ readonly reason?: string | undefined;
18607
+ readonly action: "reconcile";
18608
+ readonly reviewCommandId: string;
18609
+ readonly requestedByActorId: string;
18610
+ } | {
18611
+ readonly reason: string;
18612
+ readonly action: "authorize_renewal";
18613
+ readonly reviewCommandId: string;
18614
+ readonly requestedByActorId: string;
18615
+ readonly confirmedNotRenewed: true;
18616
+ } | undefined;
17684
18617
  };
17685
18618
  readonly requestedAt: string;
17686
18619
  readonly secrets: readonly {
@@ -18665,6 +19598,18 @@ declare const makeHubApiClient: (options: HubApiClientOptions) => Effect.Effect<
18665
19598
  readonly gamingOptOut?: boolean | undefined;
18666
19599
  } | undefined;
18667
19600
  };
19601
+ readonly continuation?: {
19602
+ readonly reason?: string | undefined;
19603
+ readonly action: "reconcile";
19604
+ readonly reviewCommandId: string;
19605
+ readonly requestedByActorId: string;
19606
+ } | {
19607
+ readonly reason: string;
19608
+ readonly action: "authorize_renewal";
19609
+ readonly reviewCommandId: string;
19610
+ readonly requestedByActorId: string;
19611
+ readonly confirmedNotRenewed: true;
19612
+ } | undefined;
18668
19613
  };
18669
19614
  readonly result: {
18670
19615
  readonly memberId: string;
@@ -18729,6 +19674,18 @@ declare const makeHubApiClient: (options: HubApiClientOptions) => Effect.Effect<
18729
19674
  readonly gamingOptOut?: boolean | undefined;
18730
19675
  } | undefined;
18731
19676
  };
19677
+ readonly continuation?: {
19678
+ readonly reason?: string | undefined;
19679
+ readonly action: "reconcile";
19680
+ readonly reviewCommandId: string;
19681
+ readonly requestedByActorId: string;
19682
+ } | {
19683
+ readonly reason: string;
19684
+ readonly action: "authorize_renewal";
19685
+ readonly reviewCommandId: string;
19686
+ readonly requestedByActorId: string;
19687
+ readonly confirmedNotRenewed: true;
19688
+ } | undefined;
18732
19689
  };
18733
19690
  readonly result: {
18734
19691
  readonly memberId: string;
@@ -18817,6 +19774,18 @@ declare const makeHubApiClient: (options: HubApiClientOptions) => Effect.Effect<
18817
19774
  readonly gamingOptOut?: boolean | undefined;
18818
19775
  } | undefined;
18819
19776
  };
19777
+ readonly continuation?: {
19778
+ readonly reason?: string | undefined;
19779
+ readonly action: "reconcile";
19780
+ readonly reviewCommandId: string;
19781
+ readonly requestedByActorId: string;
19782
+ } | {
19783
+ readonly reason: string;
19784
+ readonly action: "authorize_renewal";
19785
+ readonly reviewCommandId: string;
19786
+ readonly requestedByActorId: string;
19787
+ readonly confirmedNotRenewed: true;
19788
+ } | undefined;
18820
19789
  };
18821
19790
  readonly result: {
18822
19791
  readonly memberId: string;
@@ -18881,6 +19850,18 @@ declare const makeHubApiClient: (options: HubApiClientOptions) => Effect.Effect<
18881
19850
  readonly gamingOptOut?: boolean | undefined;
18882
19851
  } | undefined;
18883
19852
  };
19853
+ readonly continuation?: {
19854
+ readonly reason?: string | undefined;
19855
+ readonly action: "reconcile";
19856
+ readonly reviewCommandId: string;
19857
+ readonly requestedByActorId: string;
19858
+ } | {
19859
+ readonly reason: string;
19860
+ readonly action: "authorize_renewal";
19861
+ readonly reviewCommandId: string;
19862
+ readonly requestedByActorId: string;
19863
+ readonly confirmedNotRenewed: true;
19864
+ } | undefined;
18884
19865
  };
18885
19866
  readonly result: {
18886
19867
  readonly memberId: string;
@@ -18932,6 +19913,22 @@ declare const makeHubApiClient: (options: HubApiClientOptions) => Effect.Effect<
18932
19913
  };
18933
19914
  readonly expectedRevision: number;
18934
19915
  readonly lastSafeStep?: "identity_observed" | "rate_confirmed" | "profile_confirmed" | "preferences_confirmed" | "renewal_submitted" | "membership_verified" | "hub_refreshed" | undefined;
19916
+ readonly auditEvents?: readonly {
19917
+ readonly membershipTypeId?: string | undefined;
19918
+ readonly sourceStatus?: string | undefined;
19919
+ readonly outcome: "failed" | "pending" | "in_progress" | "confirmed" | "ambiguous";
19920
+ readonly membershipExpiry?: string | undefined;
19921
+ readonly reviewCommandId?: string | undefined;
19922
+ readonly step: "identity_observed" | "rate_confirmed" | "profile_confirmed" | "preferences_confirmed" | "renewal_submitted" | "membership_verified" | "hub_refreshed";
19923
+ readonly reasonCode?: string | undefined;
19924
+ readonly providerFee?: number | undefined;
19925
+ readonly providerRestricted?: boolean | undefined;
19926
+ readonly appliedChanges?: readonly ("rate" | "profile" | "preferences" | "renewal")[] | undefined;
19927
+ readonly resolutionAction?: "reconcile" | "authorize_renewal" | undefined;
19928
+ readonly operatorActorId?: string | undefined;
19929
+ readonly operatorReason?: string | undefined;
19930
+ readonly operatorConfirmedNotRenewed?: true | undefined;
19931
+ }[] | undefined;
18935
19932
  };
18936
19933
  readonly withResponse?: WithResponse | undefined;
18937
19934
  }) => Effect.Effect<WithResponse extends true ? [{
@@ -20179,7 +21176,7 @@ declare const makeServiceHubApiClient: (options: HubApiCredentialOptions) => Eff
20179
21176
  readonly impersonatedBy: string | null;
20180
21177
  readonly roles: readonly {
20181
21178
  readonly organizationId: string | null;
20182
- readonly role: "platform_admin" | "org_admin" | "auditor";
21179
+ readonly role: "platform_admin" | "org_admin" | "auditor" | "workflow_resolver";
20183
21180
  }[];
20184
21181
  }, _effect_platform_HttpClientResponse.HttpClientResponse] : {
20185
21182
  readonly email: string;
@@ -20189,7 +21186,7 @@ declare const makeServiceHubApiClient: (options: HubApiCredentialOptions) => Eff
20189
21186
  readonly impersonatedBy: string | null;
20190
21187
  readonly roles: readonly {
20191
21188
  readonly organizationId: string | null;
20192
- readonly role: "platform_admin" | "org_admin" | "auditor";
21189
+ readonly role: "platform_admin" | "org_admin" | "auditor" | "workflow_resolver";
20193
21190
  }[];
20194
21191
  }, {
20195
21192
  readonly code: "unauthorized";
@@ -22619,6 +23616,18 @@ declare const makeServiceHubApiClient: (options: HubApiCredentialOptions) => Eff
22619
23616
  readonly gamingOptOut?: boolean | undefined;
22620
23617
  } | undefined;
22621
23618
  };
23619
+ readonly continuation?: {
23620
+ readonly reason?: string | undefined;
23621
+ readonly action: "reconcile";
23622
+ readonly reviewCommandId: string;
23623
+ readonly requestedByActorId: string;
23624
+ } | {
23625
+ readonly reason: string;
23626
+ readonly action: "authorize_renewal";
23627
+ readonly reviewCommandId: string;
23628
+ readonly requestedByActorId: string;
23629
+ readonly confirmedNotRenewed: true;
23630
+ } | undefined;
22622
23631
  };
22623
23632
  readonly result: {
22624
23633
  readonly memberId: string;
@@ -22687,6 +23696,18 @@ declare const makeServiceHubApiClient: (options: HubApiCredentialOptions) => Eff
22687
23696
  readonly gamingOptOut?: boolean | undefined;
22688
23697
  } | undefined;
22689
23698
  };
23699
+ readonly continuation?: {
23700
+ readonly reason?: string | undefined;
23701
+ readonly action: "reconcile";
23702
+ readonly reviewCommandId: string;
23703
+ readonly requestedByActorId: string;
23704
+ } | {
23705
+ readonly reason: string;
23706
+ readonly action: "authorize_renewal";
23707
+ readonly reviewCommandId: string;
23708
+ readonly requestedByActorId: string;
23709
+ readonly confirmedNotRenewed: true;
23710
+ } | undefined;
22690
23711
  };
22691
23712
  readonly result: {
22692
23713
  readonly memberId: string;
@@ -25553,6 +26574,18 @@ declare const makeServiceHubApiClient: (options: HubApiCredentialOptions) => Eff
25553
26574
  readonly gamingOptOut?: boolean | undefined;
25554
26575
  } | undefined;
25555
26576
  };
26577
+ readonly continuation?: {
26578
+ readonly reason?: string | undefined;
26579
+ readonly action: "reconcile";
26580
+ readonly reviewCommandId: string;
26581
+ readonly requestedByActorId: string;
26582
+ } | {
26583
+ readonly reason: string;
26584
+ readonly action: "authorize_renewal";
26585
+ readonly reviewCommandId: string;
26586
+ readonly requestedByActorId: string;
26587
+ readonly confirmedNotRenewed: true;
26588
+ } | undefined;
25556
26589
  };
25557
26590
  readonly result: {
25558
26591
  readonly memberId: string;
@@ -25718,6 +26751,18 @@ declare const makeServiceHubApiClient: (options: HubApiCredentialOptions) => Eff
25718
26751
  readonly gamingOptOut?: boolean | undefined;
25719
26752
  } | undefined;
25720
26753
  };
26754
+ readonly continuation?: {
26755
+ readonly reason?: string | undefined;
26756
+ readonly action: "reconcile";
26757
+ readonly reviewCommandId: string;
26758
+ readonly requestedByActorId: string;
26759
+ } | {
26760
+ readonly reason: string;
26761
+ readonly action: "authorize_renewal";
26762
+ readonly reviewCommandId: string;
26763
+ readonly requestedByActorId: string;
26764
+ readonly confirmedNotRenewed: true;
26765
+ } | undefined;
25721
26766
  };
25722
26767
  readonly result: {
25723
26768
  readonly memberId: string;
@@ -27505,6 +28550,439 @@ declare const makeServiceHubApiClient: (options: HubApiCredentialOptions) => Eff
27505
28550
  readonly code: "internal_error";
27506
28551
  readonly message: string;
27507
28552
  } | _effect_platform_HttpApiError.HttpApiDecodeError | _effect_platform_HttpClientError.HttpClientError | effect_ParseResult.ParseError, never>;
28553
+ readonly listEnsureActiveMembershipManualReviews: <WithResponse extends boolean = false>(request: {
28554
+ readonly path: {
28555
+ readonly organizationId: string;
28556
+ };
28557
+ readonly withResponse?: WithResponse | undefined;
28558
+ }) => Effect.Effect<WithResponse extends true ? [{
28559
+ readonly items: readonly {
28560
+ readonly updatedAt: string;
28561
+ readonly organizationId: string;
28562
+ readonly commandId: string;
28563
+ readonly startedAt: string;
28564
+ readonly outcome: "failed" | "ambiguous_identity_match" | "unsupported_source_status" | "indeterminate_membership_expiry" | "manual_review_required";
28565
+ readonly member: {
28566
+ readonly firstName: string;
28567
+ readonly lastName: string;
28568
+ readonly dob: string;
28569
+ readonly membershipTypeId: string;
28570
+ };
28571
+ readonly reasonCode: string;
28572
+ readonly lastSafeStep: "identity_observed" | "rate_confirmed" | "profile_confirmed" | "preferences_confirmed" | "renewal_submitted" | "membership_verified" | "hub_refreshed" | null;
28573
+ readonly workflowId: string;
28574
+ readonly source: {
28575
+ readonly id: string;
28576
+ readonly vendor: "odyssey_gaming";
28577
+ };
28578
+ readonly resolutionPath: "reconcile" | "correct_in_odyssey";
28579
+ readonly renewalAuthorizationAvailable: boolean;
28580
+ readonly ageMs: number;
28581
+ }[];
28582
+ readonly total: number;
28583
+ }, _effect_platform_HttpClientResponse.HttpClientResponse] : {
28584
+ readonly items: readonly {
28585
+ readonly updatedAt: string;
28586
+ readonly organizationId: string;
28587
+ readonly commandId: string;
28588
+ readonly startedAt: string;
28589
+ readonly outcome: "failed" | "ambiguous_identity_match" | "unsupported_source_status" | "indeterminate_membership_expiry" | "manual_review_required";
28590
+ readonly member: {
28591
+ readonly firstName: string;
28592
+ readonly lastName: string;
28593
+ readonly dob: string;
28594
+ readonly membershipTypeId: string;
28595
+ };
28596
+ readonly reasonCode: string;
28597
+ readonly lastSafeStep: "identity_observed" | "rate_confirmed" | "profile_confirmed" | "preferences_confirmed" | "renewal_submitted" | "membership_verified" | "hub_refreshed" | null;
28598
+ readonly workflowId: string;
28599
+ readonly source: {
28600
+ readonly id: string;
28601
+ readonly vendor: "odyssey_gaming";
28602
+ };
28603
+ readonly resolutionPath: "reconcile" | "correct_in_odyssey";
28604
+ readonly renewalAuthorizationAvailable: boolean;
28605
+ readonly ageMs: number;
28606
+ }[];
28607
+ readonly total: number;
28608
+ }, {
28609
+ readonly code: "unauthorized";
28610
+ readonly message: string;
28611
+ } | {
28612
+ readonly code: "forbidden";
28613
+ readonly message: string;
28614
+ } | {
28615
+ readonly code: "not_found";
28616
+ readonly message: string;
28617
+ } | {
28618
+ readonly code: "conflict";
28619
+ readonly message: string;
28620
+ } | {
28621
+ readonly code: "bad_request";
28622
+ readonly message: string;
28623
+ } | {
28624
+ readonly code: "internal_error";
28625
+ readonly message: string;
28626
+ } | _effect_platform_HttpApiError.HttpApiDecodeError | _effect_platform_HttpClientError.HttpClientError | effect_ParseResult.ParseError, never>;
28627
+ readonly reconcileEnsureActiveMembershipManualReview: <WithResponse extends boolean = false>(request: {
28628
+ readonly path: {
28629
+ readonly organizationId: string;
28630
+ readonly commandId: string;
28631
+ };
28632
+ readonly payload: {};
28633
+ readonly withResponse?: WithResponse | undefined;
28634
+ }) => Effect.Effect<WithResponse extends true ? [{
28635
+ readonly status: "requested" | "accepted" | "completed" | "failed";
28636
+ readonly id: string;
28637
+ readonly createdAt: string;
28638
+ readonly updatedAt: string;
28639
+ readonly deletedAt: string | null;
28640
+ readonly organizationId: string;
28641
+ readonly kind: "ensure_active_membership";
28642
+ readonly payload: {
28643
+ readonly idempotencyKey: string;
28644
+ readonly member: {
28645
+ readonly email?: string | null | undefined;
28646
+ readonly title?: string | null | undefined;
28647
+ readonly firstName: string;
28648
+ readonly middleName?: string | null | undefined;
28649
+ readonly lastName: string;
28650
+ readonly dob: string;
28651
+ readonly gender?: string | null | undefined;
28652
+ readonly mobilePhone?: string | null | undefined;
28653
+ readonly homePhone?: string | null | undefined;
28654
+ readonly preferredContactMethod?: "sms" | "email" | null | undefined;
28655
+ readonly occupation?: string | null | undefined;
28656
+ readonly address?: {
28657
+ readonly line1?: string | null | undefined;
28658
+ readonly line2?: string | null | undefined;
28659
+ readonly suburb?: string | null | undefined;
28660
+ readonly state?: string | null | undefined;
28661
+ readonly postalCode?: string | null | undefined;
28662
+ readonly country?: string | null | undefined;
28663
+ } | null | undefined;
28664
+ readonly postalAddress?: {
28665
+ readonly line1?: string | null | undefined;
28666
+ readonly line2?: string | null | undefined;
28667
+ readonly suburb?: string | null | undefined;
28668
+ readonly state?: string | null | undefined;
28669
+ readonly postalCode?: string | null | undefined;
28670
+ readonly country?: string | null | undefined;
28671
+ } | null | undefined;
28672
+ readonly membershipTypeId: string;
28673
+ readonly marketingPreferences?: {
28674
+ readonly sms?: boolean | undefined;
28675
+ readonly email?: boolean | undefined;
28676
+ readonly post?: boolean | undefined;
28677
+ readonly gamingEmail?: boolean | undefined;
28678
+ readonly gamingSms?: boolean | undefined;
28679
+ readonly gamingOptOut?: boolean | undefined;
28680
+ } | undefined;
28681
+ };
28682
+ readonly continuation?: {
28683
+ readonly reason?: string | undefined;
28684
+ readonly action: "reconcile";
28685
+ readonly reviewCommandId: string;
28686
+ readonly requestedByActorId: string;
28687
+ } | {
28688
+ readonly reason: string;
28689
+ readonly action: "authorize_renewal";
28690
+ readonly reviewCommandId: string;
28691
+ readonly requestedByActorId: string;
28692
+ readonly confirmedNotRenewed: true;
28693
+ } | undefined;
28694
+ };
28695
+ readonly result: {
28696
+ readonly memberId: string;
28697
+ readonly membershipTypeId: string;
28698
+ readonly sourceStatus: "ACTIVE";
28699
+ readonly outcome: "created" | "matched_active" | "renewed_existing";
28700
+ readonly membershipExpiry: string;
28701
+ } | {
28702
+ readonly outcome: "failed" | "ambiguous_identity_match" | "unsupported_source_status" | "indeterminate_membership_expiry" | "manual_review_required";
28703
+ } | null;
28704
+ readonly errorMessage: string | null;
28705
+ readonly requestedAt: string;
28706
+ readonly acceptedAt: string | null;
28707
+ readonly completedAt: string | null;
28708
+ readonly organizationMemberSourceId: string;
28709
+ readonly organizationMemberSourceAgentId: string | null;
28710
+ }, _effect_platform_HttpClientResponse.HttpClientResponse] : {
28711
+ readonly status: "requested" | "accepted" | "completed" | "failed";
28712
+ readonly id: string;
28713
+ readonly createdAt: string;
28714
+ readonly updatedAt: string;
28715
+ readonly deletedAt: string | null;
28716
+ readonly organizationId: string;
28717
+ readonly kind: "ensure_active_membership";
28718
+ readonly payload: {
28719
+ readonly idempotencyKey: string;
28720
+ readonly member: {
28721
+ readonly email?: string | null | undefined;
28722
+ readonly title?: string | null | undefined;
28723
+ readonly firstName: string;
28724
+ readonly middleName?: string | null | undefined;
28725
+ readonly lastName: string;
28726
+ readonly dob: string;
28727
+ readonly gender?: string | null | undefined;
28728
+ readonly mobilePhone?: string | null | undefined;
28729
+ readonly homePhone?: string | null | undefined;
28730
+ readonly preferredContactMethod?: "sms" | "email" | null | undefined;
28731
+ readonly occupation?: string | null | undefined;
28732
+ readonly address?: {
28733
+ readonly line1?: string | null | undefined;
28734
+ readonly line2?: string | null | undefined;
28735
+ readonly suburb?: string | null | undefined;
28736
+ readonly state?: string | null | undefined;
28737
+ readonly postalCode?: string | null | undefined;
28738
+ readonly country?: string | null | undefined;
28739
+ } | null | undefined;
28740
+ readonly postalAddress?: {
28741
+ readonly line1?: string | null | undefined;
28742
+ readonly line2?: string | null | undefined;
28743
+ readonly suburb?: string | null | undefined;
28744
+ readonly state?: string | null | undefined;
28745
+ readonly postalCode?: string | null | undefined;
28746
+ readonly country?: string | null | undefined;
28747
+ } | null | undefined;
28748
+ readonly membershipTypeId: string;
28749
+ readonly marketingPreferences?: {
28750
+ readonly sms?: boolean | undefined;
28751
+ readonly email?: boolean | undefined;
28752
+ readonly post?: boolean | undefined;
28753
+ readonly gamingEmail?: boolean | undefined;
28754
+ readonly gamingSms?: boolean | undefined;
28755
+ readonly gamingOptOut?: boolean | undefined;
28756
+ } | undefined;
28757
+ };
28758
+ readonly continuation?: {
28759
+ readonly reason?: string | undefined;
28760
+ readonly action: "reconcile";
28761
+ readonly reviewCommandId: string;
28762
+ readonly requestedByActorId: string;
28763
+ } | {
28764
+ readonly reason: string;
28765
+ readonly action: "authorize_renewal";
28766
+ readonly reviewCommandId: string;
28767
+ readonly requestedByActorId: string;
28768
+ readonly confirmedNotRenewed: true;
28769
+ } | undefined;
28770
+ };
28771
+ readonly result: {
28772
+ readonly memberId: string;
28773
+ readonly membershipTypeId: string;
28774
+ readonly sourceStatus: "ACTIVE";
28775
+ readonly outcome: "created" | "matched_active" | "renewed_existing";
28776
+ readonly membershipExpiry: string;
28777
+ } | {
28778
+ readonly outcome: "failed" | "ambiguous_identity_match" | "unsupported_source_status" | "indeterminate_membership_expiry" | "manual_review_required";
28779
+ } | null;
28780
+ readonly errorMessage: string | null;
28781
+ readonly requestedAt: string;
28782
+ readonly acceptedAt: string | null;
28783
+ readonly completedAt: string | null;
28784
+ readonly organizationMemberSourceId: string;
28785
+ readonly organizationMemberSourceAgentId: string | null;
28786
+ }, {
28787
+ readonly code: "unauthorized";
28788
+ readonly message: string;
28789
+ } | {
28790
+ readonly code: "forbidden";
28791
+ readonly message: string;
28792
+ } | {
28793
+ readonly code: "not_found";
28794
+ readonly message: string;
28795
+ } | {
28796
+ readonly code: "conflict";
28797
+ readonly message: string;
28798
+ } | {
28799
+ readonly code: "bad_request";
28800
+ readonly message: string;
28801
+ } | {
28802
+ readonly code: "internal_error";
28803
+ readonly message: string;
28804
+ } | _effect_platform_HttpApiError.HttpApiDecodeError | _effect_platform_HttpClientError.HttpClientError | effect_ParseResult.ParseError, never>;
28805
+ readonly authorizeEnsureActiveMembershipRenewal: <WithResponse extends boolean = false>(request: {
28806
+ readonly path: {
28807
+ readonly organizationId: string;
28808
+ readonly commandId: string;
28809
+ };
28810
+ readonly payload: {
28811
+ readonly reason: string;
28812
+ readonly confirmedNotRenewed: true;
28813
+ };
28814
+ readonly withResponse?: WithResponse | undefined;
28815
+ }) => Effect.Effect<WithResponse extends true ? [{
28816
+ readonly status: "requested" | "accepted" | "completed" | "failed";
28817
+ readonly id: string;
28818
+ readonly createdAt: string;
28819
+ readonly updatedAt: string;
28820
+ readonly deletedAt: string | null;
28821
+ readonly organizationId: string;
28822
+ readonly kind: "ensure_active_membership";
28823
+ readonly payload: {
28824
+ readonly idempotencyKey: string;
28825
+ readonly member: {
28826
+ readonly email?: string | null | undefined;
28827
+ readonly title?: string | null | undefined;
28828
+ readonly firstName: string;
28829
+ readonly middleName?: string | null | undefined;
28830
+ readonly lastName: string;
28831
+ readonly dob: string;
28832
+ readonly gender?: string | null | undefined;
28833
+ readonly mobilePhone?: string | null | undefined;
28834
+ readonly homePhone?: string | null | undefined;
28835
+ readonly preferredContactMethod?: "sms" | "email" | null | undefined;
28836
+ readonly occupation?: string | null | undefined;
28837
+ readonly address?: {
28838
+ readonly line1?: string | null | undefined;
28839
+ readonly line2?: string | null | undefined;
28840
+ readonly suburb?: string | null | undefined;
28841
+ readonly state?: string | null | undefined;
28842
+ readonly postalCode?: string | null | undefined;
28843
+ readonly country?: string | null | undefined;
28844
+ } | null | undefined;
28845
+ readonly postalAddress?: {
28846
+ readonly line1?: string | null | undefined;
28847
+ readonly line2?: string | null | undefined;
28848
+ readonly suburb?: string | null | undefined;
28849
+ readonly state?: string | null | undefined;
28850
+ readonly postalCode?: string | null | undefined;
28851
+ readonly country?: string | null | undefined;
28852
+ } | null | undefined;
28853
+ readonly membershipTypeId: string;
28854
+ readonly marketingPreferences?: {
28855
+ readonly sms?: boolean | undefined;
28856
+ readonly email?: boolean | undefined;
28857
+ readonly post?: boolean | undefined;
28858
+ readonly gamingEmail?: boolean | undefined;
28859
+ readonly gamingSms?: boolean | undefined;
28860
+ readonly gamingOptOut?: boolean | undefined;
28861
+ } | undefined;
28862
+ };
28863
+ readonly continuation?: {
28864
+ readonly reason?: string | undefined;
28865
+ readonly action: "reconcile";
28866
+ readonly reviewCommandId: string;
28867
+ readonly requestedByActorId: string;
28868
+ } | {
28869
+ readonly reason: string;
28870
+ readonly action: "authorize_renewal";
28871
+ readonly reviewCommandId: string;
28872
+ readonly requestedByActorId: string;
28873
+ readonly confirmedNotRenewed: true;
28874
+ } | undefined;
28875
+ };
28876
+ readonly result: {
28877
+ readonly memberId: string;
28878
+ readonly membershipTypeId: string;
28879
+ readonly sourceStatus: "ACTIVE";
28880
+ readonly outcome: "created" | "matched_active" | "renewed_existing";
28881
+ readonly membershipExpiry: string;
28882
+ } | {
28883
+ readonly outcome: "failed" | "ambiguous_identity_match" | "unsupported_source_status" | "indeterminate_membership_expiry" | "manual_review_required";
28884
+ } | null;
28885
+ readonly errorMessage: string | null;
28886
+ readonly requestedAt: string;
28887
+ readonly acceptedAt: string | null;
28888
+ readonly completedAt: string | null;
28889
+ readonly organizationMemberSourceId: string;
28890
+ readonly organizationMemberSourceAgentId: string | null;
28891
+ }, _effect_platform_HttpClientResponse.HttpClientResponse] : {
28892
+ readonly status: "requested" | "accepted" | "completed" | "failed";
28893
+ readonly id: string;
28894
+ readonly createdAt: string;
28895
+ readonly updatedAt: string;
28896
+ readonly deletedAt: string | null;
28897
+ readonly organizationId: string;
28898
+ readonly kind: "ensure_active_membership";
28899
+ readonly payload: {
28900
+ readonly idempotencyKey: string;
28901
+ readonly member: {
28902
+ readonly email?: string | null | undefined;
28903
+ readonly title?: string | null | undefined;
28904
+ readonly firstName: string;
28905
+ readonly middleName?: string | null | undefined;
28906
+ readonly lastName: string;
28907
+ readonly dob: string;
28908
+ readonly gender?: string | null | undefined;
28909
+ readonly mobilePhone?: string | null | undefined;
28910
+ readonly homePhone?: string | null | undefined;
28911
+ readonly preferredContactMethod?: "sms" | "email" | null | undefined;
28912
+ readonly occupation?: string | null | undefined;
28913
+ readonly address?: {
28914
+ readonly line1?: string | null | undefined;
28915
+ readonly line2?: string | null | undefined;
28916
+ readonly suburb?: string | null | undefined;
28917
+ readonly state?: string | null | undefined;
28918
+ readonly postalCode?: string | null | undefined;
28919
+ readonly country?: string | null | undefined;
28920
+ } | null | undefined;
28921
+ readonly postalAddress?: {
28922
+ readonly line1?: string | null | undefined;
28923
+ readonly line2?: string | null | undefined;
28924
+ readonly suburb?: string | null | undefined;
28925
+ readonly state?: string | null | undefined;
28926
+ readonly postalCode?: string | null | undefined;
28927
+ readonly country?: string | null | undefined;
28928
+ } | null | undefined;
28929
+ readonly membershipTypeId: string;
28930
+ readonly marketingPreferences?: {
28931
+ readonly sms?: boolean | undefined;
28932
+ readonly email?: boolean | undefined;
28933
+ readonly post?: boolean | undefined;
28934
+ readonly gamingEmail?: boolean | undefined;
28935
+ readonly gamingSms?: boolean | undefined;
28936
+ readonly gamingOptOut?: boolean | undefined;
28937
+ } | undefined;
28938
+ };
28939
+ readonly continuation?: {
28940
+ readonly reason?: string | undefined;
28941
+ readonly action: "reconcile";
28942
+ readonly reviewCommandId: string;
28943
+ readonly requestedByActorId: string;
28944
+ } | {
28945
+ readonly reason: string;
28946
+ readonly action: "authorize_renewal";
28947
+ readonly reviewCommandId: string;
28948
+ readonly requestedByActorId: string;
28949
+ readonly confirmedNotRenewed: true;
28950
+ } | undefined;
28951
+ };
28952
+ readonly result: {
28953
+ readonly memberId: string;
28954
+ readonly membershipTypeId: string;
28955
+ readonly sourceStatus: "ACTIVE";
28956
+ readonly outcome: "created" | "matched_active" | "renewed_existing";
28957
+ readonly membershipExpiry: string;
28958
+ } | {
28959
+ readonly outcome: "failed" | "ambiguous_identity_match" | "unsupported_source_status" | "indeterminate_membership_expiry" | "manual_review_required";
28960
+ } | null;
28961
+ readonly errorMessage: string | null;
28962
+ readonly requestedAt: string;
28963
+ readonly acceptedAt: string | null;
28964
+ readonly completedAt: string | null;
28965
+ readonly organizationMemberSourceId: string;
28966
+ readonly organizationMemberSourceAgentId: string | null;
28967
+ }, {
28968
+ readonly code: "unauthorized";
28969
+ readonly message: string;
28970
+ } | {
28971
+ readonly code: "forbidden";
28972
+ readonly message: string;
28973
+ } | {
28974
+ readonly code: "not_found";
28975
+ readonly message: string;
28976
+ } | {
28977
+ readonly code: "conflict";
28978
+ readonly message: string;
28979
+ } | {
28980
+ readonly code: "bad_request";
28981
+ readonly message: string;
28982
+ } | {
28983
+ readonly code: "internal_error";
28984
+ readonly message: string;
28985
+ } | _effect_platform_HttpApiError.HttpApiDecodeError | _effect_platform_HttpClientError.HttpClientError | effect_ParseResult.ParseError, never>;
27508
28986
  readonly triggerOrganizationMemberSync: <WithResponse extends boolean = false>(request: {
27509
28987
  readonly path: {
27510
28988
  readonly organizationId: string;
@@ -28235,6 +29713,18 @@ declare const makeServiceHubApiClient: (options: HubApiCredentialOptions) => Eff
28235
29713
  readonly gamingOptOut?: boolean | undefined;
28236
29714
  } | undefined;
28237
29715
  };
29716
+ readonly continuation?: {
29717
+ readonly reason?: string | undefined;
29718
+ readonly action: "reconcile";
29719
+ readonly reviewCommandId: string;
29720
+ readonly requestedByActorId: string;
29721
+ } | {
29722
+ readonly reason: string;
29723
+ readonly action: "authorize_renewal";
29724
+ readonly reviewCommandId: string;
29725
+ readonly requestedByActorId: string;
29726
+ readonly confirmedNotRenewed: true;
29727
+ } | undefined;
28238
29728
  };
28239
29729
  readonly requestedAt: string;
28240
29730
  readonly secrets: readonly {
@@ -28302,6 +29792,18 @@ declare const makeServiceHubApiClient: (options: HubApiCredentialOptions) => Eff
28302
29792
  readonly gamingOptOut?: boolean | undefined;
28303
29793
  } | undefined;
28304
29794
  };
29795
+ readonly continuation?: {
29796
+ readonly reason?: string | undefined;
29797
+ readonly action: "reconcile";
29798
+ readonly reviewCommandId: string;
29799
+ readonly requestedByActorId: string;
29800
+ } | {
29801
+ readonly reason: string;
29802
+ readonly action: "authorize_renewal";
29803
+ readonly reviewCommandId: string;
29804
+ readonly requestedByActorId: string;
29805
+ readonly confirmedNotRenewed: true;
29806
+ } | undefined;
28305
29807
  };
28306
29808
  readonly requestedAt: string;
28307
29809
  readonly secrets: readonly {
@@ -29286,6 +30788,18 @@ declare const makeServiceHubApiClient: (options: HubApiCredentialOptions) => Eff
29286
30788
  readonly gamingOptOut?: boolean | undefined;
29287
30789
  } | undefined;
29288
30790
  };
30791
+ readonly continuation?: {
30792
+ readonly reason?: string | undefined;
30793
+ readonly action: "reconcile";
30794
+ readonly reviewCommandId: string;
30795
+ readonly requestedByActorId: string;
30796
+ } | {
30797
+ readonly reason: string;
30798
+ readonly action: "authorize_renewal";
30799
+ readonly reviewCommandId: string;
30800
+ readonly requestedByActorId: string;
30801
+ readonly confirmedNotRenewed: true;
30802
+ } | undefined;
29289
30803
  };
29290
30804
  readonly result: {
29291
30805
  readonly memberId: string;
@@ -29350,6 +30864,18 @@ declare const makeServiceHubApiClient: (options: HubApiCredentialOptions) => Eff
29350
30864
  readonly gamingOptOut?: boolean | undefined;
29351
30865
  } | undefined;
29352
30866
  };
30867
+ readonly continuation?: {
30868
+ readonly reason?: string | undefined;
30869
+ readonly action: "reconcile";
30870
+ readonly reviewCommandId: string;
30871
+ readonly requestedByActorId: string;
30872
+ } | {
30873
+ readonly reason: string;
30874
+ readonly action: "authorize_renewal";
30875
+ readonly reviewCommandId: string;
30876
+ readonly requestedByActorId: string;
30877
+ readonly confirmedNotRenewed: true;
30878
+ } | undefined;
29353
30879
  };
29354
30880
  readonly result: {
29355
30881
  readonly memberId: string;
@@ -29438,6 +30964,18 @@ declare const makeServiceHubApiClient: (options: HubApiCredentialOptions) => Eff
29438
30964
  readonly gamingOptOut?: boolean | undefined;
29439
30965
  } | undefined;
29440
30966
  };
30967
+ readonly continuation?: {
30968
+ readonly reason?: string | undefined;
30969
+ readonly action: "reconcile";
30970
+ readonly reviewCommandId: string;
30971
+ readonly requestedByActorId: string;
30972
+ } | {
30973
+ readonly reason: string;
30974
+ readonly action: "authorize_renewal";
30975
+ readonly reviewCommandId: string;
30976
+ readonly requestedByActorId: string;
30977
+ readonly confirmedNotRenewed: true;
30978
+ } | undefined;
29441
30979
  };
29442
30980
  readonly result: {
29443
30981
  readonly memberId: string;
@@ -29502,6 +31040,18 @@ declare const makeServiceHubApiClient: (options: HubApiCredentialOptions) => Eff
29502
31040
  readonly gamingOptOut?: boolean | undefined;
29503
31041
  } | undefined;
29504
31042
  };
31043
+ readonly continuation?: {
31044
+ readonly reason?: string | undefined;
31045
+ readonly action: "reconcile";
31046
+ readonly reviewCommandId: string;
31047
+ readonly requestedByActorId: string;
31048
+ } | {
31049
+ readonly reason: string;
31050
+ readonly action: "authorize_renewal";
31051
+ readonly reviewCommandId: string;
31052
+ readonly requestedByActorId: string;
31053
+ readonly confirmedNotRenewed: true;
31054
+ } | undefined;
29505
31055
  };
29506
31056
  readonly result: {
29507
31057
  readonly memberId: string;
@@ -29553,6 +31103,22 @@ declare const makeServiceHubApiClient: (options: HubApiCredentialOptions) => Eff
29553
31103
  };
29554
31104
  readonly expectedRevision: number;
29555
31105
  readonly lastSafeStep?: "identity_observed" | "rate_confirmed" | "profile_confirmed" | "preferences_confirmed" | "renewal_submitted" | "membership_verified" | "hub_refreshed" | undefined;
31106
+ readonly auditEvents?: readonly {
31107
+ readonly membershipTypeId?: string | undefined;
31108
+ readonly sourceStatus?: string | undefined;
31109
+ readonly outcome: "failed" | "pending" | "in_progress" | "confirmed" | "ambiguous";
31110
+ readonly membershipExpiry?: string | undefined;
31111
+ readonly reviewCommandId?: string | undefined;
31112
+ readonly step: "identity_observed" | "rate_confirmed" | "profile_confirmed" | "preferences_confirmed" | "renewal_submitted" | "membership_verified" | "hub_refreshed";
31113
+ readonly reasonCode?: string | undefined;
31114
+ readonly providerFee?: number | undefined;
31115
+ readonly providerRestricted?: boolean | undefined;
31116
+ readonly appliedChanges?: readonly ("rate" | "profile" | "preferences" | "renewal")[] | undefined;
31117
+ readonly resolutionAction?: "reconcile" | "authorize_renewal" | undefined;
31118
+ readonly operatorActorId?: string | undefined;
31119
+ readonly operatorReason?: string | undefined;
31120
+ readonly operatorConfirmedNotRenewed?: true | undefined;
31121
+ }[] | undefined;
29556
31122
  };
29557
31123
  readonly withResponse?: WithResponse | undefined;
29558
31124
  }) => Effect.Effect<WithResponse extends true ? [{
@@ -30802,7 +32368,7 @@ declare const makePromiseServiceHubApiClient: (options: HubApiCredentialOptions)
30802
32368
  readonly impersonatedBy: string | null;
30803
32369
  readonly roles: readonly {
30804
32370
  readonly organizationId: string | null;
30805
- readonly role: "platform_admin" | "org_admin" | "auditor";
32371
+ readonly role: "platform_admin" | "org_admin" | "auditor" | "workflow_resolver";
30806
32372
  }[];
30807
32373
  }, _effect_platform_HttpClientResponse.HttpClientResponse] : {
30808
32374
  readonly email: string;
@@ -30812,7 +32378,7 @@ declare const makePromiseServiceHubApiClient: (options: HubApiCredentialOptions)
30812
32378
  readonly impersonatedBy: string | null;
30813
32379
  readonly roles: readonly {
30814
32380
  readonly organizationId: string | null;
30815
- readonly role: "platform_admin" | "org_admin" | "auditor";
32381
+ readonly role: "platform_admin" | "org_admin" | "auditor" | "workflow_resolver";
30816
32382
  }[];
30817
32383
  }, {
30818
32384
  readonly code: "unauthorized";
@@ -33242,6 +34808,18 @@ declare const makePromiseServiceHubApiClient: (options: HubApiCredentialOptions)
33242
34808
  readonly gamingOptOut?: boolean | undefined;
33243
34809
  } | undefined;
33244
34810
  };
34811
+ readonly continuation?: {
34812
+ readonly reason?: string | undefined;
34813
+ readonly action: "reconcile";
34814
+ readonly reviewCommandId: string;
34815
+ readonly requestedByActorId: string;
34816
+ } | {
34817
+ readonly reason: string;
34818
+ readonly action: "authorize_renewal";
34819
+ readonly reviewCommandId: string;
34820
+ readonly requestedByActorId: string;
34821
+ readonly confirmedNotRenewed: true;
34822
+ } | undefined;
33245
34823
  };
33246
34824
  readonly result: {
33247
34825
  readonly memberId: string;
@@ -33310,6 +34888,18 @@ declare const makePromiseServiceHubApiClient: (options: HubApiCredentialOptions)
33310
34888
  readonly gamingOptOut?: boolean | undefined;
33311
34889
  } | undefined;
33312
34890
  };
34891
+ readonly continuation?: {
34892
+ readonly reason?: string | undefined;
34893
+ readonly action: "reconcile";
34894
+ readonly reviewCommandId: string;
34895
+ readonly requestedByActorId: string;
34896
+ } | {
34897
+ readonly reason: string;
34898
+ readonly action: "authorize_renewal";
34899
+ readonly reviewCommandId: string;
34900
+ readonly requestedByActorId: string;
34901
+ readonly confirmedNotRenewed: true;
34902
+ } | undefined;
33313
34903
  };
33314
34904
  readonly result: {
33315
34905
  readonly memberId: string;
@@ -36176,6 +37766,18 @@ declare const makePromiseServiceHubApiClient: (options: HubApiCredentialOptions)
36176
37766
  readonly gamingOptOut?: boolean | undefined;
36177
37767
  } | undefined;
36178
37768
  };
37769
+ readonly continuation?: {
37770
+ readonly reason?: string | undefined;
37771
+ readonly action: "reconcile";
37772
+ readonly reviewCommandId: string;
37773
+ readonly requestedByActorId: string;
37774
+ } | {
37775
+ readonly reason: string;
37776
+ readonly action: "authorize_renewal";
37777
+ readonly reviewCommandId: string;
37778
+ readonly requestedByActorId: string;
37779
+ readonly confirmedNotRenewed: true;
37780
+ } | undefined;
36179
37781
  };
36180
37782
  readonly result: {
36181
37783
  readonly memberId: string;
@@ -36341,6 +37943,18 @@ declare const makePromiseServiceHubApiClient: (options: HubApiCredentialOptions)
36341
37943
  readonly gamingOptOut?: boolean | undefined;
36342
37944
  } | undefined;
36343
37945
  };
37946
+ readonly continuation?: {
37947
+ readonly reason?: string | undefined;
37948
+ readonly action: "reconcile";
37949
+ readonly reviewCommandId: string;
37950
+ readonly requestedByActorId: string;
37951
+ } | {
37952
+ readonly reason: string;
37953
+ readonly action: "authorize_renewal";
37954
+ readonly reviewCommandId: string;
37955
+ readonly requestedByActorId: string;
37956
+ readonly confirmedNotRenewed: true;
37957
+ } | undefined;
36344
37958
  };
36345
37959
  readonly result: {
36346
37960
  readonly memberId: string;
@@ -38128,6 +39742,439 @@ declare const makePromiseServiceHubApiClient: (options: HubApiCredentialOptions)
38128
39742
  readonly code: "internal_error";
38129
39743
  readonly message: string;
38130
39744
  } | _effect_platform_HttpApiError.HttpApiDecodeError | _effect_platform_HttpClientError.HttpClientError | effect_ParseResult.ParseError, never>;
39745
+ readonly listEnsureActiveMembershipManualReviews: <WithResponse extends boolean = false>(request: {
39746
+ readonly path: {
39747
+ readonly organizationId: string;
39748
+ };
39749
+ readonly withResponse?: WithResponse | undefined;
39750
+ }) => Effect.Effect<WithResponse extends true ? [{
39751
+ readonly items: readonly {
39752
+ readonly updatedAt: string;
39753
+ readonly organizationId: string;
39754
+ readonly commandId: string;
39755
+ readonly startedAt: string;
39756
+ readonly outcome: "failed" | "ambiguous_identity_match" | "unsupported_source_status" | "indeterminate_membership_expiry" | "manual_review_required";
39757
+ readonly member: {
39758
+ readonly firstName: string;
39759
+ readonly lastName: string;
39760
+ readonly dob: string;
39761
+ readonly membershipTypeId: string;
39762
+ };
39763
+ readonly reasonCode: string;
39764
+ readonly lastSafeStep: "identity_observed" | "rate_confirmed" | "profile_confirmed" | "preferences_confirmed" | "renewal_submitted" | "membership_verified" | "hub_refreshed" | null;
39765
+ readonly workflowId: string;
39766
+ readonly source: {
39767
+ readonly id: string;
39768
+ readonly vendor: "odyssey_gaming";
39769
+ };
39770
+ readonly resolutionPath: "reconcile" | "correct_in_odyssey";
39771
+ readonly renewalAuthorizationAvailable: boolean;
39772
+ readonly ageMs: number;
39773
+ }[];
39774
+ readonly total: number;
39775
+ }, _effect_platform_HttpClientResponse.HttpClientResponse] : {
39776
+ readonly items: readonly {
39777
+ readonly updatedAt: string;
39778
+ readonly organizationId: string;
39779
+ readonly commandId: string;
39780
+ readonly startedAt: string;
39781
+ readonly outcome: "failed" | "ambiguous_identity_match" | "unsupported_source_status" | "indeterminate_membership_expiry" | "manual_review_required";
39782
+ readonly member: {
39783
+ readonly firstName: string;
39784
+ readonly lastName: string;
39785
+ readonly dob: string;
39786
+ readonly membershipTypeId: string;
39787
+ };
39788
+ readonly reasonCode: string;
39789
+ readonly lastSafeStep: "identity_observed" | "rate_confirmed" | "profile_confirmed" | "preferences_confirmed" | "renewal_submitted" | "membership_verified" | "hub_refreshed" | null;
39790
+ readonly workflowId: string;
39791
+ readonly source: {
39792
+ readonly id: string;
39793
+ readonly vendor: "odyssey_gaming";
39794
+ };
39795
+ readonly resolutionPath: "reconcile" | "correct_in_odyssey";
39796
+ readonly renewalAuthorizationAvailable: boolean;
39797
+ readonly ageMs: number;
39798
+ }[];
39799
+ readonly total: number;
39800
+ }, {
39801
+ readonly code: "unauthorized";
39802
+ readonly message: string;
39803
+ } | {
39804
+ readonly code: "forbidden";
39805
+ readonly message: string;
39806
+ } | {
39807
+ readonly code: "not_found";
39808
+ readonly message: string;
39809
+ } | {
39810
+ readonly code: "conflict";
39811
+ readonly message: string;
39812
+ } | {
39813
+ readonly code: "bad_request";
39814
+ readonly message: string;
39815
+ } | {
39816
+ readonly code: "internal_error";
39817
+ readonly message: string;
39818
+ } | _effect_platform_HttpApiError.HttpApiDecodeError | _effect_platform_HttpClientError.HttpClientError | effect_ParseResult.ParseError, never>;
39819
+ readonly reconcileEnsureActiveMembershipManualReview: <WithResponse extends boolean = false>(request: {
39820
+ readonly path: {
39821
+ readonly organizationId: string;
39822
+ readonly commandId: string;
39823
+ };
39824
+ readonly payload: {};
39825
+ readonly withResponse?: WithResponse | undefined;
39826
+ }) => Effect.Effect<WithResponse extends true ? [{
39827
+ readonly status: "requested" | "accepted" | "completed" | "failed";
39828
+ readonly id: string;
39829
+ readonly createdAt: string;
39830
+ readonly updatedAt: string;
39831
+ readonly deletedAt: string | null;
39832
+ readonly organizationId: string;
39833
+ readonly kind: "ensure_active_membership";
39834
+ readonly payload: {
39835
+ readonly idempotencyKey: string;
39836
+ readonly member: {
39837
+ readonly email?: string | null | undefined;
39838
+ readonly title?: string | null | undefined;
39839
+ readonly firstName: string;
39840
+ readonly middleName?: string | null | undefined;
39841
+ readonly lastName: string;
39842
+ readonly dob: string;
39843
+ readonly gender?: string | null | undefined;
39844
+ readonly mobilePhone?: string | null | undefined;
39845
+ readonly homePhone?: string | null | undefined;
39846
+ readonly preferredContactMethod?: "sms" | "email" | null | undefined;
39847
+ readonly occupation?: string | null | undefined;
39848
+ readonly address?: {
39849
+ readonly line1?: string | null | undefined;
39850
+ readonly line2?: string | null | undefined;
39851
+ readonly suburb?: string | null | undefined;
39852
+ readonly state?: string | null | undefined;
39853
+ readonly postalCode?: string | null | undefined;
39854
+ readonly country?: string | null | undefined;
39855
+ } | null | undefined;
39856
+ readonly postalAddress?: {
39857
+ readonly line1?: string | null | undefined;
39858
+ readonly line2?: string | null | undefined;
39859
+ readonly suburb?: string | null | undefined;
39860
+ readonly state?: string | null | undefined;
39861
+ readonly postalCode?: string | null | undefined;
39862
+ readonly country?: string | null | undefined;
39863
+ } | null | undefined;
39864
+ readonly membershipTypeId: string;
39865
+ readonly marketingPreferences?: {
39866
+ readonly sms?: boolean | undefined;
39867
+ readonly email?: boolean | undefined;
39868
+ readonly post?: boolean | undefined;
39869
+ readonly gamingEmail?: boolean | undefined;
39870
+ readonly gamingSms?: boolean | undefined;
39871
+ readonly gamingOptOut?: boolean | undefined;
39872
+ } | undefined;
39873
+ };
39874
+ readonly continuation?: {
39875
+ readonly reason?: string | undefined;
39876
+ readonly action: "reconcile";
39877
+ readonly reviewCommandId: string;
39878
+ readonly requestedByActorId: string;
39879
+ } | {
39880
+ readonly reason: string;
39881
+ readonly action: "authorize_renewal";
39882
+ readonly reviewCommandId: string;
39883
+ readonly requestedByActorId: string;
39884
+ readonly confirmedNotRenewed: true;
39885
+ } | undefined;
39886
+ };
39887
+ readonly result: {
39888
+ readonly memberId: string;
39889
+ readonly membershipTypeId: string;
39890
+ readonly sourceStatus: "ACTIVE";
39891
+ readonly outcome: "created" | "matched_active" | "renewed_existing";
39892
+ readonly membershipExpiry: string;
39893
+ } | {
39894
+ readonly outcome: "failed" | "ambiguous_identity_match" | "unsupported_source_status" | "indeterminate_membership_expiry" | "manual_review_required";
39895
+ } | null;
39896
+ readonly errorMessage: string | null;
39897
+ readonly requestedAt: string;
39898
+ readonly acceptedAt: string | null;
39899
+ readonly completedAt: string | null;
39900
+ readonly organizationMemberSourceId: string;
39901
+ readonly organizationMemberSourceAgentId: string | null;
39902
+ }, _effect_platform_HttpClientResponse.HttpClientResponse] : {
39903
+ readonly status: "requested" | "accepted" | "completed" | "failed";
39904
+ readonly id: string;
39905
+ readonly createdAt: string;
39906
+ readonly updatedAt: string;
39907
+ readonly deletedAt: string | null;
39908
+ readonly organizationId: string;
39909
+ readonly kind: "ensure_active_membership";
39910
+ readonly payload: {
39911
+ readonly idempotencyKey: string;
39912
+ readonly member: {
39913
+ readonly email?: string | null | undefined;
39914
+ readonly title?: string | null | undefined;
39915
+ readonly firstName: string;
39916
+ readonly middleName?: string | null | undefined;
39917
+ readonly lastName: string;
39918
+ readonly dob: string;
39919
+ readonly gender?: string | null | undefined;
39920
+ readonly mobilePhone?: string | null | undefined;
39921
+ readonly homePhone?: string | null | undefined;
39922
+ readonly preferredContactMethod?: "sms" | "email" | null | undefined;
39923
+ readonly occupation?: string | null | undefined;
39924
+ readonly address?: {
39925
+ readonly line1?: string | null | undefined;
39926
+ readonly line2?: string | null | undefined;
39927
+ readonly suburb?: string | null | undefined;
39928
+ readonly state?: string | null | undefined;
39929
+ readonly postalCode?: string | null | undefined;
39930
+ readonly country?: string | null | undefined;
39931
+ } | null | undefined;
39932
+ readonly postalAddress?: {
39933
+ readonly line1?: string | null | undefined;
39934
+ readonly line2?: string | null | undefined;
39935
+ readonly suburb?: string | null | undefined;
39936
+ readonly state?: string | null | undefined;
39937
+ readonly postalCode?: string | null | undefined;
39938
+ readonly country?: string | null | undefined;
39939
+ } | null | undefined;
39940
+ readonly membershipTypeId: string;
39941
+ readonly marketingPreferences?: {
39942
+ readonly sms?: boolean | undefined;
39943
+ readonly email?: boolean | undefined;
39944
+ readonly post?: boolean | undefined;
39945
+ readonly gamingEmail?: boolean | undefined;
39946
+ readonly gamingSms?: boolean | undefined;
39947
+ readonly gamingOptOut?: boolean | undefined;
39948
+ } | undefined;
39949
+ };
39950
+ readonly continuation?: {
39951
+ readonly reason?: string | undefined;
39952
+ readonly action: "reconcile";
39953
+ readonly reviewCommandId: string;
39954
+ readonly requestedByActorId: string;
39955
+ } | {
39956
+ readonly reason: string;
39957
+ readonly action: "authorize_renewal";
39958
+ readonly reviewCommandId: string;
39959
+ readonly requestedByActorId: string;
39960
+ readonly confirmedNotRenewed: true;
39961
+ } | undefined;
39962
+ };
39963
+ readonly result: {
39964
+ readonly memberId: string;
39965
+ readonly membershipTypeId: string;
39966
+ readonly sourceStatus: "ACTIVE";
39967
+ readonly outcome: "created" | "matched_active" | "renewed_existing";
39968
+ readonly membershipExpiry: string;
39969
+ } | {
39970
+ readonly outcome: "failed" | "ambiguous_identity_match" | "unsupported_source_status" | "indeterminate_membership_expiry" | "manual_review_required";
39971
+ } | null;
39972
+ readonly errorMessage: string | null;
39973
+ readonly requestedAt: string;
39974
+ readonly acceptedAt: string | null;
39975
+ readonly completedAt: string | null;
39976
+ readonly organizationMemberSourceId: string;
39977
+ readonly organizationMemberSourceAgentId: string | null;
39978
+ }, {
39979
+ readonly code: "unauthorized";
39980
+ readonly message: string;
39981
+ } | {
39982
+ readonly code: "forbidden";
39983
+ readonly message: string;
39984
+ } | {
39985
+ readonly code: "not_found";
39986
+ readonly message: string;
39987
+ } | {
39988
+ readonly code: "conflict";
39989
+ readonly message: string;
39990
+ } | {
39991
+ readonly code: "bad_request";
39992
+ readonly message: string;
39993
+ } | {
39994
+ readonly code: "internal_error";
39995
+ readonly message: string;
39996
+ } | _effect_platform_HttpApiError.HttpApiDecodeError | _effect_platform_HttpClientError.HttpClientError | effect_ParseResult.ParseError, never>;
39997
+ readonly authorizeEnsureActiveMembershipRenewal: <WithResponse extends boolean = false>(request: {
39998
+ readonly path: {
39999
+ readonly organizationId: string;
40000
+ readonly commandId: string;
40001
+ };
40002
+ readonly payload: {
40003
+ readonly reason: string;
40004
+ readonly confirmedNotRenewed: true;
40005
+ };
40006
+ readonly withResponse?: WithResponse | undefined;
40007
+ }) => Effect.Effect<WithResponse extends true ? [{
40008
+ readonly status: "requested" | "accepted" | "completed" | "failed";
40009
+ readonly id: string;
40010
+ readonly createdAt: string;
40011
+ readonly updatedAt: string;
40012
+ readonly deletedAt: string | null;
40013
+ readonly organizationId: string;
40014
+ readonly kind: "ensure_active_membership";
40015
+ readonly payload: {
40016
+ readonly idempotencyKey: string;
40017
+ readonly member: {
40018
+ readonly email?: string | null | undefined;
40019
+ readonly title?: string | null | undefined;
40020
+ readonly firstName: string;
40021
+ readonly middleName?: string | null | undefined;
40022
+ readonly lastName: string;
40023
+ readonly dob: string;
40024
+ readonly gender?: string | null | undefined;
40025
+ readonly mobilePhone?: string | null | undefined;
40026
+ readonly homePhone?: string | null | undefined;
40027
+ readonly preferredContactMethod?: "sms" | "email" | null | undefined;
40028
+ readonly occupation?: string | null | undefined;
40029
+ readonly address?: {
40030
+ readonly line1?: string | null | undefined;
40031
+ readonly line2?: string | null | undefined;
40032
+ readonly suburb?: string | null | undefined;
40033
+ readonly state?: string | null | undefined;
40034
+ readonly postalCode?: string | null | undefined;
40035
+ readonly country?: string | null | undefined;
40036
+ } | null | undefined;
40037
+ readonly postalAddress?: {
40038
+ readonly line1?: string | null | undefined;
40039
+ readonly line2?: string | null | undefined;
40040
+ readonly suburb?: string | null | undefined;
40041
+ readonly state?: string | null | undefined;
40042
+ readonly postalCode?: string | null | undefined;
40043
+ readonly country?: string | null | undefined;
40044
+ } | null | undefined;
40045
+ readonly membershipTypeId: string;
40046
+ readonly marketingPreferences?: {
40047
+ readonly sms?: boolean | undefined;
40048
+ readonly email?: boolean | undefined;
40049
+ readonly post?: boolean | undefined;
40050
+ readonly gamingEmail?: boolean | undefined;
40051
+ readonly gamingSms?: boolean | undefined;
40052
+ readonly gamingOptOut?: boolean | undefined;
40053
+ } | undefined;
40054
+ };
40055
+ readonly continuation?: {
40056
+ readonly reason?: string | undefined;
40057
+ readonly action: "reconcile";
40058
+ readonly reviewCommandId: string;
40059
+ readonly requestedByActorId: string;
40060
+ } | {
40061
+ readonly reason: string;
40062
+ readonly action: "authorize_renewal";
40063
+ readonly reviewCommandId: string;
40064
+ readonly requestedByActorId: string;
40065
+ readonly confirmedNotRenewed: true;
40066
+ } | undefined;
40067
+ };
40068
+ readonly result: {
40069
+ readonly memberId: string;
40070
+ readonly membershipTypeId: string;
40071
+ readonly sourceStatus: "ACTIVE";
40072
+ readonly outcome: "created" | "matched_active" | "renewed_existing";
40073
+ readonly membershipExpiry: string;
40074
+ } | {
40075
+ readonly outcome: "failed" | "ambiguous_identity_match" | "unsupported_source_status" | "indeterminate_membership_expiry" | "manual_review_required";
40076
+ } | null;
40077
+ readonly errorMessage: string | null;
40078
+ readonly requestedAt: string;
40079
+ readonly acceptedAt: string | null;
40080
+ readonly completedAt: string | null;
40081
+ readonly organizationMemberSourceId: string;
40082
+ readonly organizationMemberSourceAgentId: string | null;
40083
+ }, _effect_platform_HttpClientResponse.HttpClientResponse] : {
40084
+ readonly status: "requested" | "accepted" | "completed" | "failed";
40085
+ readonly id: string;
40086
+ readonly createdAt: string;
40087
+ readonly updatedAt: string;
40088
+ readonly deletedAt: string | null;
40089
+ readonly organizationId: string;
40090
+ readonly kind: "ensure_active_membership";
40091
+ readonly payload: {
40092
+ readonly idempotencyKey: string;
40093
+ readonly member: {
40094
+ readonly email?: string | null | undefined;
40095
+ readonly title?: string | null | undefined;
40096
+ readonly firstName: string;
40097
+ readonly middleName?: string | null | undefined;
40098
+ readonly lastName: string;
40099
+ readonly dob: string;
40100
+ readonly gender?: string | null | undefined;
40101
+ readonly mobilePhone?: string | null | undefined;
40102
+ readonly homePhone?: string | null | undefined;
40103
+ readonly preferredContactMethod?: "sms" | "email" | null | undefined;
40104
+ readonly occupation?: string | null | undefined;
40105
+ readonly address?: {
40106
+ readonly line1?: string | null | undefined;
40107
+ readonly line2?: string | null | undefined;
40108
+ readonly suburb?: string | null | undefined;
40109
+ readonly state?: string | null | undefined;
40110
+ readonly postalCode?: string | null | undefined;
40111
+ readonly country?: string | null | undefined;
40112
+ } | null | undefined;
40113
+ readonly postalAddress?: {
40114
+ readonly line1?: string | null | undefined;
40115
+ readonly line2?: string | null | undefined;
40116
+ readonly suburb?: string | null | undefined;
40117
+ readonly state?: string | null | undefined;
40118
+ readonly postalCode?: string | null | undefined;
40119
+ readonly country?: string | null | undefined;
40120
+ } | null | undefined;
40121
+ readonly membershipTypeId: string;
40122
+ readonly marketingPreferences?: {
40123
+ readonly sms?: boolean | undefined;
40124
+ readonly email?: boolean | undefined;
40125
+ readonly post?: boolean | undefined;
40126
+ readonly gamingEmail?: boolean | undefined;
40127
+ readonly gamingSms?: boolean | undefined;
40128
+ readonly gamingOptOut?: boolean | undefined;
40129
+ } | undefined;
40130
+ };
40131
+ readonly continuation?: {
40132
+ readonly reason?: string | undefined;
40133
+ readonly action: "reconcile";
40134
+ readonly reviewCommandId: string;
40135
+ readonly requestedByActorId: string;
40136
+ } | {
40137
+ readonly reason: string;
40138
+ readonly action: "authorize_renewal";
40139
+ readonly reviewCommandId: string;
40140
+ readonly requestedByActorId: string;
40141
+ readonly confirmedNotRenewed: true;
40142
+ } | undefined;
40143
+ };
40144
+ readonly result: {
40145
+ readonly memberId: string;
40146
+ readonly membershipTypeId: string;
40147
+ readonly sourceStatus: "ACTIVE";
40148
+ readonly outcome: "created" | "matched_active" | "renewed_existing";
40149
+ readonly membershipExpiry: string;
40150
+ } | {
40151
+ readonly outcome: "failed" | "ambiguous_identity_match" | "unsupported_source_status" | "indeterminate_membership_expiry" | "manual_review_required";
40152
+ } | null;
40153
+ readonly errorMessage: string | null;
40154
+ readonly requestedAt: string;
40155
+ readonly acceptedAt: string | null;
40156
+ readonly completedAt: string | null;
40157
+ readonly organizationMemberSourceId: string;
40158
+ readonly organizationMemberSourceAgentId: string | null;
40159
+ }, {
40160
+ readonly code: "unauthorized";
40161
+ readonly message: string;
40162
+ } | {
40163
+ readonly code: "forbidden";
40164
+ readonly message: string;
40165
+ } | {
40166
+ readonly code: "not_found";
40167
+ readonly message: string;
40168
+ } | {
40169
+ readonly code: "conflict";
40170
+ readonly message: string;
40171
+ } | {
40172
+ readonly code: "bad_request";
40173
+ readonly message: string;
40174
+ } | {
40175
+ readonly code: "internal_error";
40176
+ readonly message: string;
40177
+ } | _effect_platform_HttpApiError.HttpApiDecodeError | _effect_platform_HttpClientError.HttpClientError | effect_ParseResult.ParseError, never>;
38131
40178
  readonly triggerOrganizationMemberSync: <WithResponse extends boolean = false>(request: {
38132
40179
  readonly path: {
38133
40180
  readonly organizationId: string;
@@ -38858,6 +40905,18 @@ declare const makePromiseServiceHubApiClient: (options: HubApiCredentialOptions)
38858
40905
  readonly gamingOptOut?: boolean | undefined;
38859
40906
  } | undefined;
38860
40907
  };
40908
+ readonly continuation?: {
40909
+ readonly reason?: string | undefined;
40910
+ readonly action: "reconcile";
40911
+ readonly reviewCommandId: string;
40912
+ readonly requestedByActorId: string;
40913
+ } | {
40914
+ readonly reason: string;
40915
+ readonly action: "authorize_renewal";
40916
+ readonly reviewCommandId: string;
40917
+ readonly requestedByActorId: string;
40918
+ readonly confirmedNotRenewed: true;
40919
+ } | undefined;
38861
40920
  };
38862
40921
  readonly requestedAt: string;
38863
40922
  readonly secrets: readonly {
@@ -38925,6 +40984,18 @@ declare const makePromiseServiceHubApiClient: (options: HubApiCredentialOptions)
38925
40984
  readonly gamingOptOut?: boolean | undefined;
38926
40985
  } | undefined;
38927
40986
  };
40987
+ readonly continuation?: {
40988
+ readonly reason?: string | undefined;
40989
+ readonly action: "reconcile";
40990
+ readonly reviewCommandId: string;
40991
+ readonly requestedByActorId: string;
40992
+ } | {
40993
+ readonly reason: string;
40994
+ readonly action: "authorize_renewal";
40995
+ readonly reviewCommandId: string;
40996
+ readonly requestedByActorId: string;
40997
+ readonly confirmedNotRenewed: true;
40998
+ } | undefined;
38928
40999
  };
38929
41000
  readonly requestedAt: string;
38930
41001
  readonly secrets: readonly {
@@ -39909,6 +41980,18 @@ declare const makePromiseServiceHubApiClient: (options: HubApiCredentialOptions)
39909
41980
  readonly gamingOptOut?: boolean | undefined;
39910
41981
  } | undefined;
39911
41982
  };
41983
+ readonly continuation?: {
41984
+ readonly reason?: string | undefined;
41985
+ readonly action: "reconcile";
41986
+ readonly reviewCommandId: string;
41987
+ readonly requestedByActorId: string;
41988
+ } | {
41989
+ readonly reason: string;
41990
+ readonly action: "authorize_renewal";
41991
+ readonly reviewCommandId: string;
41992
+ readonly requestedByActorId: string;
41993
+ readonly confirmedNotRenewed: true;
41994
+ } | undefined;
39912
41995
  };
39913
41996
  readonly result: {
39914
41997
  readonly memberId: string;
@@ -39973,6 +42056,18 @@ declare const makePromiseServiceHubApiClient: (options: HubApiCredentialOptions)
39973
42056
  readonly gamingOptOut?: boolean | undefined;
39974
42057
  } | undefined;
39975
42058
  };
42059
+ readonly continuation?: {
42060
+ readonly reason?: string | undefined;
42061
+ readonly action: "reconcile";
42062
+ readonly reviewCommandId: string;
42063
+ readonly requestedByActorId: string;
42064
+ } | {
42065
+ readonly reason: string;
42066
+ readonly action: "authorize_renewal";
42067
+ readonly reviewCommandId: string;
42068
+ readonly requestedByActorId: string;
42069
+ readonly confirmedNotRenewed: true;
42070
+ } | undefined;
39976
42071
  };
39977
42072
  readonly result: {
39978
42073
  readonly memberId: string;
@@ -40061,6 +42156,18 @@ declare const makePromiseServiceHubApiClient: (options: HubApiCredentialOptions)
40061
42156
  readonly gamingOptOut?: boolean | undefined;
40062
42157
  } | undefined;
40063
42158
  };
42159
+ readonly continuation?: {
42160
+ readonly reason?: string | undefined;
42161
+ readonly action: "reconcile";
42162
+ readonly reviewCommandId: string;
42163
+ readonly requestedByActorId: string;
42164
+ } | {
42165
+ readonly reason: string;
42166
+ readonly action: "authorize_renewal";
42167
+ readonly reviewCommandId: string;
42168
+ readonly requestedByActorId: string;
42169
+ readonly confirmedNotRenewed: true;
42170
+ } | undefined;
40064
42171
  };
40065
42172
  readonly result: {
40066
42173
  readonly memberId: string;
@@ -40125,6 +42232,18 @@ declare const makePromiseServiceHubApiClient: (options: HubApiCredentialOptions)
40125
42232
  readonly gamingOptOut?: boolean | undefined;
40126
42233
  } | undefined;
40127
42234
  };
42235
+ readonly continuation?: {
42236
+ readonly reason?: string | undefined;
42237
+ readonly action: "reconcile";
42238
+ readonly reviewCommandId: string;
42239
+ readonly requestedByActorId: string;
42240
+ } | {
42241
+ readonly reason: string;
42242
+ readonly action: "authorize_renewal";
42243
+ readonly reviewCommandId: string;
42244
+ readonly requestedByActorId: string;
42245
+ readonly confirmedNotRenewed: true;
42246
+ } | undefined;
40128
42247
  };
40129
42248
  readonly result: {
40130
42249
  readonly memberId: string;
@@ -40176,6 +42295,22 @@ declare const makePromiseServiceHubApiClient: (options: HubApiCredentialOptions)
40176
42295
  };
40177
42296
  readonly expectedRevision: number;
40178
42297
  readonly lastSafeStep?: "identity_observed" | "rate_confirmed" | "profile_confirmed" | "preferences_confirmed" | "renewal_submitted" | "membership_verified" | "hub_refreshed" | undefined;
42298
+ readonly auditEvents?: readonly {
42299
+ readonly membershipTypeId?: string | undefined;
42300
+ readonly sourceStatus?: string | undefined;
42301
+ readonly outcome: "failed" | "pending" | "in_progress" | "confirmed" | "ambiguous";
42302
+ readonly membershipExpiry?: string | undefined;
42303
+ readonly reviewCommandId?: string | undefined;
42304
+ readonly step: "identity_observed" | "rate_confirmed" | "profile_confirmed" | "preferences_confirmed" | "renewal_submitted" | "membership_verified" | "hub_refreshed";
42305
+ readonly reasonCode?: string | undefined;
42306
+ readonly providerFee?: number | undefined;
42307
+ readonly providerRestricted?: boolean | undefined;
42308
+ readonly appliedChanges?: readonly ("rate" | "profile" | "preferences" | "renewal")[] | undefined;
42309
+ readonly resolutionAction?: "reconcile" | "authorize_renewal" | undefined;
42310
+ readonly operatorActorId?: string | undefined;
42311
+ readonly operatorReason?: string | undefined;
42312
+ readonly operatorConfirmedNotRenewed?: true | undefined;
42313
+ }[] | undefined;
40179
42314
  };
40180
42315
  readonly withResponse?: WithResponse | undefined;
40181
42316
  }) => Effect.Effect<WithResponse extends true ? [{
@@ -41419,7 +43554,7 @@ declare const memberRecordModes: readonly ["local", "source_managed"];
41419
43554
  declare const memberPreferredContactMethods: readonly ["sms", "email"];
41420
43555
  declare const memberCreatedOrigins: readonly ["hub_admin", "service_api", "seed", "source_sync", "source_create"];
41421
43556
  declare const guestStatuses: readonly ["active", "checked_out", "archived"];
41422
- declare const adminRoles: readonly ["platform_admin", "org_admin", "auditor"];
43557
+ declare const adminRoles: readonly ["platform_admin", "org_admin", "auditor", "workflow_resolver"];
41423
43558
  declare const organizationMemberSourceVendors: readonly ["max_gaming", "odyssey_gaming", "ebet_arc", "custom"];
41424
43559
  declare const organizationMemberSourceBatchTransports: readonly ["onsite_agent"];
41425
43560
  declare const organizationMemberSourceManualTransports: readonly ["csv_bucket"];
@@ -41611,7 +43746,7 @@ declare const makePromiseOnsiteResourceClient: (options: HubApiCredentialOptions
41611
43746
  readonly impersonatedBy: string | null;
41612
43747
  readonly roles: readonly {
41613
43748
  readonly organizationId: string | null;
41614
- readonly role: "platform_admin" | "org_admin" | "auditor";
43749
+ readonly role: "platform_admin" | "org_admin" | "auditor" | "workflow_resolver";
41615
43750
  }[];
41616
43751
  }, _effect_platform_HttpClientResponse.HttpClientResponse] : {
41617
43752
  readonly email: string;
@@ -41621,7 +43756,7 @@ declare const makePromiseOnsiteResourceClient: (options: HubApiCredentialOptions
41621
43756
  readonly impersonatedBy: string | null;
41622
43757
  readonly roles: readonly {
41623
43758
  readonly organizationId: string | null;
41624
- readonly role: "platform_admin" | "org_admin" | "auditor";
43759
+ readonly role: "platform_admin" | "org_admin" | "auditor" | "workflow_resolver";
41625
43760
  }[];
41626
43761
  }, {
41627
43762
  readonly code: "unauthorized";
@@ -44051,6 +46186,18 @@ declare const makePromiseOnsiteResourceClient: (options: HubApiCredentialOptions
44051
46186
  readonly gamingOptOut?: boolean | undefined;
44052
46187
  } | undefined;
44053
46188
  };
46189
+ readonly continuation?: {
46190
+ readonly reason?: string | undefined;
46191
+ readonly action: "reconcile";
46192
+ readonly reviewCommandId: string;
46193
+ readonly requestedByActorId: string;
46194
+ } | {
46195
+ readonly reason: string;
46196
+ readonly action: "authorize_renewal";
46197
+ readonly reviewCommandId: string;
46198
+ readonly requestedByActorId: string;
46199
+ readonly confirmedNotRenewed: true;
46200
+ } | undefined;
44054
46201
  };
44055
46202
  readonly result: {
44056
46203
  readonly memberId: string;
@@ -44119,6 +46266,18 @@ declare const makePromiseOnsiteResourceClient: (options: HubApiCredentialOptions
44119
46266
  readonly gamingOptOut?: boolean | undefined;
44120
46267
  } | undefined;
44121
46268
  };
46269
+ readonly continuation?: {
46270
+ readonly reason?: string | undefined;
46271
+ readonly action: "reconcile";
46272
+ readonly reviewCommandId: string;
46273
+ readonly requestedByActorId: string;
46274
+ } | {
46275
+ readonly reason: string;
46276
+ readonly action: "authorize_renewal";
46277
+ readonly reviewCommandId: string;
46278
+ readonly requestedByActorId: string;
46279
+ readonly confirmedNotRenewed: true;
46280
+ } | undefined;
44122
46281
  };
44123
46282
  readonly result: {
44124
46283
  readonly memberId: string;
@@ -46985,6 +49144,18 @@ declare const makePromiseOnsiteResourceClient: (options: HubApiCredentialOptions
46985
49144
  readonly gamingOptOut?: boolean | undefined;
46986
49145
  } | undefined;
46987
49146
  };
49147
+ readonly continuation?: {
49148
+ readonly reason?: string | undefined;
49149
+ readonly action: "reconcile";
49150
+ readonly reviewCommandId: string;
49151
+ readonly requestedByActorId: string;
49152
+ } | {
49153
+ readonly reason: string;
49154
+ readonly action: "authorize_renewal";
49155
+ readonly reviewCommandId: string;
49156
+ readonly requestedByActorId: string;
49157
+ readonly confirmedNotRenewed: true;
49158
+ } | undefined;
46988
49159
  };
46989
49160
  readonly result: {
46990
49161
  readonly memberId: string;
@@ -47150,6 +49321,18 @@ declare const makePromiseOnsiteResourceClient: (options: HubApiCredentialOptions
47150
49321
  readonly gamingOptOut?: boolean | undefined;
47151
49322
  } | undefined;
47152
49323
  };
49324
+ readonly continuation?: {
49325
+ readonly reason?: string | undefined;
49326
+ readonly action: "reconcile";
49327
+ readonly reviewCommandId: string;
49328
+ readonly requestedByActorId: string;
49329
+ } | {
49330
+ readonly reason: string;
49331
+ readonly action: "authorize_renewal";
49332
+ readonly reviewCommandId: string;
49333
+ readonly requestedByActorId: string;
49334
+ readonly confirmedNotRenewed: true;
49335
+ } | undefined;
47153
49336
  };
47154
49337
  readonly result: {
47155
49338
  readonly memberId: string;
@@ -48937,6 +51120,439 @@ declare const makePromiseOnsiteResourceClient: (options: HubApiCredentialOptions
48937
51120
  readonly code: "internal_error";
48938
51121
  readonly message: string;
48939
51122
  } | _effect_platform_HttpApiError.HttpApiDecodeError | _effect_platform_HttpClientError.HttpClientError | effect_ParseResult.ParseError, never>;
51123
+ readonly listEnsureActiveMembershipManualReviews: <WithResponse extends boolean = false>(request: {
51124
+ readonly path: {
51125
+ readonly organizationId: string;
51126
+ };
51127
+ readonly withResponse?: WithResponse | undefined;
51128
+ }) => Effect.Effect<WithResponse extends true ? [{
51129
+ readonly items: readonly {
51130
+ readonly updatedAt: string;
51131
+ readonly organizationId: string;
51132
+ readonly commandId: string;
51133
+ readonly startedAt: string;
51134
+ readonly outcome: "failed" | "ambiguous_identity_match" | "unsupported_source_status" | "indeterminate_membership_expiry" | "manual_review_required";
51135
+ readonly member: {
51136
+ readonly firstName: string;
51137
+ readonly lastName: string;
51138
+ readonly dob: string;
51139
+ readonly membershipTypeId: string;
51140
+ };
51141
+ readonly reasonCode: string;
51142
+ readonly lastSafeStep: "identity_observed" | "rate_confirmed" | "profile_confirmed" | "preferences_confirmed" | "renewal_submitted" | "membership_verified" | "hub_refreshed" | null;
51143
+ readonly workflowId: string;
51144
+ readonly source: {
51145
+ readonly id: string;
51146
+ readonly vendor: "odyssey_gaming";
51147
+ };
51148
+ readonly resolutionPath: "reconcile" | "correct_in_odyssey";
51149
+ readonly renewalAuthorizationAvailable: boolean;
51150
+ readonly ageMs: number;
51151
+ }[];
51152
+ readonly total: number;
51153
+ }, _effect_platform_HttpClientResponse.HttpClientResponse] : {
51154
+ readonly items: readonly {
51155
+ readonly updatedAt: string;
51156
+ readonly organizationId: string;
51157
+ readonly commandId: string;
51158
+ readonly startedAt: string;
51159
+ readonly outcome: "failed" | "ambiguous_identity_match" | "unsupported_source_status" | "indeterminate_membership_expiry" | "manual_review_required";
51160
+ readonly member: {
51161
+ readonly firstName: string;
51162
+ readonly lastName: string;
51163
+ readonly dob: string;
51164
+ readonly membershipTypeId: string;
51165
+ };
51166
+ readonly reasonCode: string;
51167
+ readonly lastSafeStep: "identity_observed" | "rate_confirmed" | "profile_confirmed" | "preferences_confirmed" | "renewal_submitted" | "membership_verified" | "hub_refreshed" | null;
51168
+ readonly workflowId: string;
51169
+ readonly source: {
51170
+ readonly id: string;
51171
+ readonly vendor: "odyssey_gaming";
51172
+ };
51173
+ readonly resolutionPath: "reconcile" | "correct_in_odyssey";
51174
+ readonly renewalAuthorizationAvailable: boolean;
51175
+ readonly ageMs: number;
51176
+ }[];
51177
+ readonly total: number;
51178
+ }, {
51179
+ readonly code: "unauthorized";
51180
+ readonly message: string;
51181
+ } | {
51182
+ readonly code: "forbidden";
51183
+ readonly message: string;
51184
+ } | {
51185
+ readonly code: "not_found";
51186
+ readonly message: string;
51187
+ } | {
51188
+ readonly code: "conflict";
51189
+ readonly message: string;
51190
+ } | {
51191
+ readonly code: "bad_request";
51192
+ readonly message: string;
51193
+ } | {
51194
+ readonly code: "internal_error";
51195
+ readonly message: string;
51196
+ } | _effect_platform_HttpApiError.HttpApiDecodeError | _effect_platform_HttpClientError.HttpClientError | effect_ParseResult.ParseError, never>;
51197
+ readonly reconcileEnsureActiveMembershipManualReview: <WithResponse extends boolean = false>(request: {
51198
+ readonly path: {
51199
+ readonly organizationId: string;
51200
+ readonly commandId: string;
51201
+ };
51202
+ readonly payload: {};
51203
+ readonly withResponse?: WithResponse | undefined;
51204
+ }) => Effect.Effect<WithResponse extends true ? [{
51205
+ readonly status: "requested" | "accepted" | "completed" | "failed";
51206
+ readonly id: string;
51207
+ readonly createdAt: string;
51208
+ readonly updatedAt: string;
51209
+ readonly deletedAt: string | null;
51210
+ readonly organizationId: string;
51211
+ readonly kind: "ensure_active_membership";
51212
+ readonly payload: {
51213
+ readonly idempotencyKey: string;
51214
+ readonly member: {
51215
+ readonly email?: string | null | undefined;
51216
+ readonly title?: string | null | undefined;
51217
+ readonly firstName: string;
51218
+ readonly middleName?: string | null | undefined;
51219
+ readonly lastName: string;
51220
+ readonly dob: string;
51221
+ readonly gender?: string | null | undefined;
51222
+ readonly mobilePhone?: string | null | undefined;
51223
+ readonly homePhone?: string | null | undefined;
51224
+ readonly preferredContactMethod?: "sms" | "email" | null | undefined;
51225
+ readonly occupation?: string | null | undefined;
51226
+ readonly address?: {
51227
+ readonly line1?: string | null | undefined;
51228
+ readonly line2?: string | null | undefined;
51229
+ readonly suburb?: string | null | undefined;
51230
+ readonly state?: string | null | undefined;
51231
+ readonly postalCode?: string | null | undefined;
51232
+ readonly country?: string | null | undefined;
51233
+ } | null | undefined;
51234
+ readonly postalAddress?: {
51235
+ readonly line1?: string | null | undefined;
51236
+ readonly line2?: string | null | undefined;
51237
+ readonly suburb?: string | null | undefined;
51238
+ readonly state?: string | null | undefined;
51239
+ readonly postalCode?: string | null | undefined;
51240
+ readonly country?: string | null | undefined;
51241
+ } | null | undefined;
51242
+ readonly membershipTypeId: string;
51243
+ readonly marketingPreferences?: {
51244
+ readonly sms?: boolean | undefined;
51245
+ readonly email?: boolean | undefined;
51246
+ readonly post?: boolean | undefined;
51247
+ readonly gamingEmail?: boolean | undefined;
51248
+ readonly gamingSms?: boolean | undefined;
51249
+ readonly gamingOptOut?: boolean | undefined;
51250
+ } | undefined;
51251
+ };
51252
+ readonly continuation?: {
51253
+ readonly reason?: string | undefined;
51254
+ readonly action: "reconcile";
51255
+ readonly reviewCommandId: string;
51256
+ readonly requestedByActorId: string;
51257
+ } | {
51258
+ readonly reason: string;
51259
+ readonly action: "authorize_renewal";
51260
+ readonly reviewCommandId: string;
51261
+ readonly requestedByActorId: string;
51262
+ readonly confirmedNotRenewed: true;
51263
+ } | undefined;
51264
+ };
51265
+ readonly result: {
51266
+ readonly memberId: string;
51267
+ readonly membershipTypeId: string;
51268
+ readonly sourceStatus: "ACTIVE";
51269
+ readonly outcome: "created" | "matched_active" | "renewed_existing";
51270
+ readonly membershipExpiry: string;
51271
+ } | {
51272
+ readonly outcome: "failed" | "ambiguous_identity_match" | "unsupported_source_status" | "indeterminate_membership_expiry" | "manual_review_required";
51273
+ } | null;
51274
+ readonly errorMessage: string | null;
51275
+ readonly requestedAt: string;
51276
+ readonly acceptedAt: string | null;
51277
+ readonly completedAt: string | null;
51278
+ readonly organizationMemberSourceId: string;
51279
+ readonly organizationMemberSourceAgentId: string | null;
51280
+ }, _effect_platform_HttpClientResponse.HttpClientResponse] : {
51281
+ readonly status: "requested" | "accepted" | "completed" | "failed";
51282
+ readonly id: string;
51283
+ readonly createdAt: string;
51284
+ readonly updatedAt: string;
51285
+ readonly deletedAt: string | null;
51286
+ readonly organizationId: string;
51287
+ readonly kind: "ensure_active_membership";
51288
+ readonly payload: {
51289
+ readonly idempotencyKey: string;
51290
+ readonly member: {
51291
+ readonly email?: string | null | undefined;
51292
+ readonly title?: string | null | undefined;
51293
+ readonly firstName: string;
51294
+ readonly middleName?: string | null | undefined;
51295
+ readonly lastName: string;
51296
+ readonly dob: string;
51297
+ readonly gender?: string | null | undefined;
51298
+ readonly mobilePhone?: string | null | undefined;
51299
+ readonly homePhone?: string | null | undefined;
51300
+ readonly preferredContactMethod?: "sms" | "email" | null | undefined;
51301
+ readonly occupation?: string | null | undefined;
51302
+ readonly address?: {
51303
+ readonly line1?: string | null | undefined;
51304
+ readonly line2?: string | null | undefined;
51305
+ readonly suburb?: string | null | undefined;
51306
+ readonly state?: string | null | undefined;
51307
+ readonly postalCode?: string | null | undefined;
51308
+ readonly country?: string | null | undefined;
51309
+ } | null | undefined;
51310
+ readonly postalAddress?: {
51311
+ readonly line1?: string | null | undefined;
51312
+ readonly line2?: string | null | undefined;
51313
+ readonly suburb?: string | null | undefined;
51314
+ readonly state?: string | null | undefined;
51315
+ readonly postalCode?: string | null | undefined;
51316
+ readonly country?: string | null | undefined;
51317
+ } | null | undefined;
51318
+ readonly membershipTypeId: string;
51319
+ readonly marketingPreferences?: {
51320
+ readonly sms?: boolean | undefined;
51321
+ readonly email?: boolean | undefined;
51322
+ readonly post?: boolean | undefined;
51323
+ readonly gamingEmail?: boolean | undefined;
51324
+ readonly gamingSms?: boolean | undefined;
51325
+ readonly gamingOptOut?: boolean | undefined;
51326
+ } | undefined;
51327
+ };
51328
+ readonly continuation?: {
51329
+ readonly reason?: string | undefined;
51330
+ readonly action: "reconcile";
51331
+ readonly reviewCommandId: string;
51332
+ readonly requestedByActorId: string;
51333
+ } | {
51334
+ readonly reason: string;
51335
+ readonly action: "authorize_renewal";
51336
+ readonly reviewCommandId: string;
51337
+ readonly requestedByActorId: string;
51338
+ readonly confirmedNotRenewed: true;
51339
+ } | undefined;
51340
+ };
51341
+ readonly result: {
51342
+ readonly memberId: string;
51343
+ readonly membershipTypeId: string;
51344
+ readonly sourceStatus: "ACTIVE";
51345
+ readonly outcome: "created" | "matched_active" | "renewed_existing";
51346
+ readonly membershipExpiry: string;
51347
+ } | {
51348
+ readonly outcome: "failed" | "ambiguous_identity_match" | "unsupported_source_status" | "indeterminate_membership_expiry" | "manual_review_required";
51349
+ } | null;
51350
+ readonly errorMessage: string | null;
51351
+ readonly requestedAt: string;
51352
+ readonly acceptedAt: string | null;
51353
+ readonly completedAt: string | null;
51354
+ readonly organizationMemberSourceId: string;
51355
+ readonly organizationMemberSourceAgentId: string | null;
51356
+ }, {
51357
+ readonly code: "unauthorized";
51358
+ readonly message: string;
51359
+ } | {
51360
+ readonly code: "forbidden";
51361
+ readonly message: string;
51362
+ } | {
51363
+ readonly code: "not_found";
51364
+ readonly message: string;
51365
+ } | {
51366
+ readonly code: "conflict";
51367
+ readonly message: string;
51368
+ } | {
51369
+ readonly code: "bad_request";
51370
+ readonly message: string;
51371
+ } | {
51372
+ readonly code: "internal_error";
51373
+ readonly message: string;
51374
+ } | _effect_platform_HttpApiError.HttpApiDecodeError | _effect_platform_HttpClientError.HttpClientError | effect_ParseResult.ParseError, never>;
51375
+ readonly authorizeEnsureActiveMembershipRenewal: <WithResponse extends boolean = false>(request: {
51376
+ readonly path: {
51377
+ readonly organizationId: string;
51378
+ readonly commandId: string;
51379
+ };
51380
+ readonly payload: {
51381
+ readonly reason: string;
51382
+ readonly confirmedNotRenewed: true;
51383
+ };
51384
+ readonly withResponse?: WithResponse | undefined;
51385
+ }) => Effect.Effect<WithResponse extends true ? [{
51386
+ readonly status: "requested" | "accepted" | "completed" | "failed";
51387
+ readonly id: string;
51388
+ readonly createdAt: string;
51389
+ readonly updatedAt: string;
51390
+ readonly deletedAt: string | null;
51391
+ readonly organizationId: string;
51392
+ readonly kind: "ensure_active_membership";
51393
+ readonly payload: {
51394
+ readonly idempotencyKey: string;
51395
+ readonly member: {
51396
+ readonly email?: string | null | undefined;
51397
+ readonly title?: string | null | undefined;
51398
+ readonly firstName: string;
51399
+ readonly middleName?: string | null | undefined;
51400
+ readonly lastName: string;
51401
+ readonly dob: string;
51402
+ readonly gender?: string | null | undefined;
51403
+ readonly mobilePhone?: string | null | undefined;
51404
+ readonly homePhone?: string | null | undefined;
51405
+ readonly preferredContactMethod?: "sms" | "email" | null | undefined;
51406
+ readonly occupation?: string | null | undefined;
51407
+ readonly address?: {
51408
+ readonly line1?: string | null | undefined;
51409
+ readonly line2?: string | null | undefined;
51410
+ readonly suburb?: string | null | undefined;
51411
+ readonly state?: string | null | undefined;
51412
+ readonly postalCode?: string | null | undefined;
51413
+ readonly country?: string | null | undefined;
51414
+ } | null | undefined;
51415
+ readonly postalAddress?: {
51416
+ readonly line1?: string | null | undefined;
51417
+ readonly line2?: string | null | undefined;
51418
+ readonly suburb?: string | null | undefined;
51419
+ readonly state?: string | null | undefined;
51420
+ readonly postalCode?: string | null | undefined;
51421
+ readonly country?: string | null | undefined;
51422
+ } | null | undefined;
51423
+ readonly membershipTypeId: string;
51424
+ readonly marketingPreferences?: {
51425
+ readonly sms?: boolean | undefined;
51426
+ readonly email?: boolean | undefined;
51427
+ readonly post?: boolean | undefined;
51428
+ readonly gamingEmail?: boolean | undefined;
51429
+ readonly gamingSms?: boolean | undefined;
51430
+ readonly gamingOptOut?: boolean | undefined;
51431
+ } | undefined;
51432
+ };
51433
+ readonly continuation?: {
51434
+ readonly reason?: string | undefined;
51435
+ readonly action: "reconcile";
51436
+ readonly reviewCommandId: string;
51437
+ readonly requestedByActorId: string;
51438
+ } | {
51439
+ readonly reason: string;
51440
+ readonly action: "authorize_renewal";
51441
+ readonly reviewCommandId: string;
51442
+ readonly requestedByActorId: string;
51443
+ readonly confirmedNotRenewed: true;
51444
+ } | undefined;
51445
+ };
51446
+ readonly result: {
51447
+ readonly memberId: string;
51448
+ readonly membershipTypeId: string;
51449
+ readonly sourceStatus: "ACTIVE";
51450
+ readonly outcome: "created" | "matched_active" | "renewed_existing";
51451
+ readonly membershipExpiry: string;
51452
+ } | {
51453
+ readonly outcome: "failed" | "ambiguous_identity_match" | "unsupported_source_status" | "indeterminate_membership_expiry" | "manual_review_required";
51454
+ } | null;
51455
+ readonly errorMessage: string | null;
51456
+ readonly requestedAt: string;
51457
+ readonly acceptedAt: string | null;
51458
+ readonly completedAt: string | null;
51459
+ readonly organizationMemberSourceId: string;
51460
+ readonly organizationMemberSourceAgentId: string | null;
51461
+ }, _effect_platform_HttpClientResponse.HttpClientResponse] : {
51462
+ readonly status: "requested" | "accepted" | "completed" | "failed";
51463
+ readonly id: string;
51464
+ readonly createdAt: string;
51465
+ readonly updatedAt: string;
51466
+ readonly deletedAt: string | null;
51467
+ readonly organizationId: string;
51468
+ readonly kind: "ensure_active_membership";
51469
+ readonly payload: {
51470
+ readonly idempotencyKey: string;
51471
+ readonly member: {
51472
+ readonly email?: string | null | undefined;
51473
+ readonly title?: string | null | undefined;
51474
+ readonly firstName: string;
51475
+ readonly middleName?: string | null | undefined;
51476
+ readonly lastName: string;
51477
+ readonly dob: string;
51478
+ readonly gender?: string | null | undefined;
51479
+ readonly mobilePhone?: string | null | undefined;
51480
+ readonly homePhone?: string | null | undefined;
51481
+ readonly preferredContactMethod?: "sms" | "email" | null | undefined;
51482
+ readonly occupation?: string | null | undefined;
51483
+ readonly address?: {
51484
+ readonly line1?: string | null | undefined;
51485
+ readonly line2?: string | null | undefined;
51486
+ readonly suburb?: string | null | undefined;
51487
+ readonly state?: string | null | undefined;
51488
+ readonly postalCode?: string | null | undefined;
51489
+ readonly country?: string | null | undefined;
51490
+ } | null | undefined;
51491
+ readonly postalAddress?: {
51492
+ readonly line1?: string | null | undefined;
51493
+ readonly line2?: string | null | undefined;
51494
+ readonly suburb?: string | null | undefined;
51495
+ readonly state?: string | null | undefined;
51496
+ readonly postalCode?: string | null | undefined;
51497
+ readonly country?: string | null | undefined;
51498
+ } | null | undefined;
51499
+ readonly membershipTypeId: string;
51500
+ readonly marketingPreferences?: {
51501
+ readonly sms?: boolean | undefined;
51502
+ readonly email?: boolean | undefined;
51503
+ readonly post?: boolean | undefined;
51504
+ readonly gamingEmail?: boolean | undefined;
51505
+ readonly gamingSms?: boolean | undefined;
51506
+ readonly gamingOptOut?: boolean | undefined;
51507
+ } | undefined;
51508
+ };
51509
+ readonly continuation?: {
51510
+ readonly reason?: string | undefined;
51511
+ readonly action: "reconcile";
51512
+ readonly reviewCommandId: string;
51513
+ readonly requestedByActorId: string;
51514
+ } | {
51515
+ readonly reason: string;
51516
+ readonly action: "authorize_renewal";
51517
+ readonly reviewCommandId: string;
51518
+ readonly requestedByActorId: string;
51519
+ readonly confirmedNotRenewed: true;
51520
+ } | undefined;
51521
+ };
51522
+ readonly result: {
51523
+ readonly memberId: string;
51524
+ readonly membershipTypeId: string;
51525
+ readonly sourceStatus: "ACTIVE";
51526
+ readonly outcome: "created" | "matched_active" | "renewed_existing";
51527
+ readonly membershipExpiry: string;
51528
+ } | {
51529
+ readonly outcome: "failed" | "ambiguous_identity_match" | "unsupported_source_status" | "indeterminate_membership_expiry" | "manual_review_required";
51530
+ } | null;
51531
+ readonly errorMessage: string | null;
51532
+ readonly requestedAt: string;
51533
+ readonly acceptedAt: string | null;
51534
+ readonly completedAt: string | null;
51535
+ readonly organizationMemberSourceId: string;
51536
+ readonly organizationMemberSourceAgentId: string | null;
51537
+ }, {
51538
+ readonly code: "unauthorized";
51539
+ readonly message: string;
51540
+ } | {
51541
+ readonly code: "forbidden";
51542
+ readonly message: string;
51543
+ } | {
51544
+ readonly code: "not_found";
51545
+ readonly message: string;
51546
+ } | {
51547
+ readonly code: "conflict";
51548
+ readonly message: string;
51549
+ } | {
51550
+ readonly code: "bad_request";
51551
+ readonly message: string;
51552
+ } | {
51553
+ readonly code: "internal_error";
51554
+ readonly message: string;
51555
+ } | _effect_platform_HttpApiError.HttpApiDecodeError | _effect_platform_HttpClientError.HttpClientError | effect_ParseResult.ParseError, never>;
48940
51556
  readonly triggerOrganizationMemberSync: <WithResponse extends boolean = false>(request: {
48941
51557
  readonly path: {
48942
51558
  readonly organizationId: string;
@@ -49667,6 +52283,18 @@ declare const makePromiseOnsiteResourceClient: (options: HubApiCredentialOptions
49667
52283
  readonly gamingOptOut?: boolean | undefined;
49668
52284
  } | undefined;
49669
52285
  };
52286
+ readonly continuation?: {
52287
+ readonly reason?: string | undefined;
52288
+ readonly action: "reconcile";
52289
+ readonly reviewCommandId: string;
52290
+ readonly requestedByActorId: string;
52291
+ } | {
52292
+ readonly reason: string;
52293
+ readonly action: "authorize_renewal";
52294
+ readonly reviewCommandId: string;
52295
+ readonly requestedByActorId: string;
52296
+ readonly confirmedNotRenewed: true;
52297
+ } | undefined;
49670
52298
  };
49671
52299
  readonly requestedAt: string;
49672
52300
  readonly secrets: readonly {
@@ -49734,6 +52362,18 @@ declare const makePromiseOnsiteResourceClient: (options: HubApiCredentialOptions
49734
52362
  readonly gamingOptOut?: boolean | undefined;
49735
52363
  } | undefined;
49736
52364
  };
52365
+ readonly continuation?: {
52366
+ readonly reason?: string | undefined;
52367
+ readonly action: "reconcile";
52368
+ readonly reviewCommandId: string;
52369
+ readonly requestedByActorId: string;
52370
+ } | {
52371
+ readonly reason: string;
52372
+ readonly action: "authorize_renewal";
52373
+ readonly reviewCommandId: string;
52374
+ readonly requestedByActorId: string;
52375
+ readonly confirmedNotRenewed: true;
52376
+ } | undefined;
49737
52377
  };
49738
52378
  readonly requestedAt: string;
49739
52379
  readonly secrets: readonly {
@@ -50718,6 +53358,18 @@ declare const makePromiseOnsiteResourceClient: (options: HubApiCredentialOptions
50718
53358
  readonly gamingOptOut?: boolean | undefined;
50719
53359
  } | undefined;
50720
53360
  };
53361
+ readonly continuation?: {
53362
+ readonly reason?: string | undefined;
53363
+ readonly action: "reconcile";
53364
+ readonly reviewCommandId: string;
53365
+ readonly requestedByActorId: string;
53366
+ } | {
53367
+ readonly reason: string;
53368
+ readonly action: "authorize_renewal";
53369
+ readonly reviewCommandId: string;
53370
+ readonly requestedByActorId: string;
53371
+ readonly confirmedNotRenewed: true;
53372
+ } | undefined;
50721
53373
  };
50722
53374
  readonly result: {
50723
53375
  readonly memberId: string;
@@ -50782,6 +53434,18 @@ declare const makePromiseOnsiteResourceClient: (options: HubApiCredentialOptions
50782
53434
  readonly gamingOptOut?: boolean | undefined;
50783
53435
  } | undefined;
50784
53436
  };
53437
+ readonly continuation?: {
53438
+ readonly reason?: string | undefined;
53439
+ readonly action: "reconcile";
53440
+ readonly reviewCommandId: string;
53441
+ readonly requestedByActorId: string;
53442
+ } | {
53443
+ readonly reason: string;
53444
+ readonly action: "authorize_renewal";
53445
+ readonly reviewCommandId: string;
53446
+ readonly requestedByActorId: string;
53447
+ readonly confirmedNotRenewed: true;
53448
+ } | undefined;
50785
53449
  };
50786
53450
  readonly result: {
50787
53451
  readonly memberId: string;
@@ -50870,6 +53534,18 @@ declare const makePromiseOnsiteResourceClient: (options: HubApiCredentialOptions
50870
53534
  readonly gamingOptOut?: boolean | undefined;
50871
53535
  } | undefined;
50872
53536
  };
53537
+ readonly continuation?: {
53538
+ readonly reason?: string | undefined;
53539
+ readonly action: "reconcile";
53540
+ readonly reviewCommandId: string;
53541
+ readonly requestedByActorId: string;
53542
+ } | {
53543
+ readonly reason: string;
53544
+ readonly action: "authorize_renewal";
53545
+ readonly reviewCommandId: string;
53546
+ readonly requestedByActorId: string;
53547
+ readonly confirmedNotRenewed: true;
53548
+ } | undefined;
50873
53549
  };
50874
53550
  readonly result: {
50875
53551
  readonly memberId: string;
@@ -50934,6 +53610,18 @@ declare const makePromiseOnsiteResourceClient: (options: HubApiCredentialOptions
50934
53610
  readonly gamingOptOut?: boolean | undefined;
50935
53611
  } | undefined;
50936
53612
  };
53613
+ readonly continuation?: {
53614
+ readonly reason?: string | undefined;
53615
+ readonly action: "reconcile";
53616
+ readonly reviewCommandId: string;
53617
+ readonly requestedByActorId: string;
53618
+ } | {
53619
+ readonly reason: string;
53620
+ readonly action: "authorize_renewal";
53621
+ readonly reviewCommandId: string;
53622
+ readonly requestedByActorId: string;
53623
+ readonly confirmedNotRenewed: true;
53624
+ } | undefined;
50937
53625
  };
50938
53626
  readonly result: {
50939
53627
  readonly memberId: string;
@@ -50985,6 +53673,22 @@ declare const makePromiseOnsiteResourceClient: (options: HubApiCredentialOptions
50985
53673
  };
50986
53674
  readonly expectedRevision: number;
50987
53675
  readonly lastSafeStep?: "identity_observed" | "rate_confirmed" | "profile_confirmed" | "preferences_confirmed" | "renewal_submitted" | "membership_verified" | "hub_refreshed" | undefined;
53676
+ readonly auditEvents?: readonly {
53677
+ readonly membershipTypeId?: string | undefined;
53678
+ readonly sourceStatus?: string | undefined;
53679
+ readonly outcome: "failed" | "pending" | "in_progress" | "confirmed" | "ambiguous";
53680
+ readonly membershipExpiry?: string | undefined;
53681
+ readonly reviewCommandId?: string | undefined;
53682
+ readonly step: "identity_observed" | "rate_confirmed" | "profile_confirmed" | "preferences_confirmed" | "renewal_submitted" | "membership_verified" | "hub_refreshed";
53683
+ readonly reasonCode?: string | undefined;
53684
+ readonly providerFee?: number | undefined;
53685
+ readonly providerRestricted?: boolean | undefined;
53686
+ readonly appliedChanges?: readonly ("rate" | "profile" | "preferences" | "renewal")[] | undefined;
53687
+ readonly resolutionAction?: "reconcile" | "authorize_renewal" | undefined;
53688
+ readonly operatorActorId?: string | undefined;
53689
+ readonly operatorReason?: string | undefined;
53690
+ readonly operatorConfirmedNotRenewed?: true | undefined;
53691
+ }[] | undefined;
50988
53692
  };
50989
53693
  readonly withResponse?: WithResponse | undefined;
50990
53694
  }) => Effect.Effect<WithResponse extends true ? [{
@@ -52928,6 +55632,18 @@ declare function makeSpokeClient(hubClient: PromiseHubApiClient): {
52928
55632
  readonly gamingOptOut?: boolean | undefined;
52929
55633
  } | undefined;
52930
55634
  };
55635
+ readonly continuation?: {
55636
+ readonly reason?: string | undefined;
55637
+ readonly action: "reconcile";
55638
+ readonly reviewCommandId: string;
55639
+ readonly requestedByActorId: string;
55640
+ } | {
55641
+ readonly reason: string;
55642
+ readonly action: "authorize_renewal";
55643
+ readonly reviewCommandId: string;
55644
+ readonly requestedByActorId: string;
55645
+ readonly confirmedNotRenewed: true;
55646
+ } | undefined;
52931
55647
  };
52932
55648
  readonly result: {
52933
55649
  readonly memberId: string;
@@ -54481,6 +57197,18 @@ declare function makeSpokeClient(hubClient: PromiseHubApiClient): {
54481
57197
  readonly gamingOptOut?: boolean | undefined;
54482
57198
  } | undefined;
54483
57199
  };
57200
+ readonly continuation?: {
57201
+ readonly reason?: string | undefined;
57202
+ readonly action: "reconcile";
57203
+ readonly reviewCommandId: string;
57204
+ readonly requestedByActorId: string;
57205
+ } | {
57206
+ readonly reason: string;
57207
+ readonly action: "authorize_renewal";
57208
+ readonly reviewCommandId: string;
57209
+ readonly requestedByActorId: string;
57210
+ readonly confirmedNotRenewed: true;
57211
+ } | undefined;
54484
57212
  };
54485
57213
  readonly result: {
54486
57214
  readonly memberId: string;
@@ -54557,6 +57285,18 @@ declare function makeSpokeClient(hubClient: PromiseHubApiClient): {
54557
57285
  readonly gamingOptOut?: boolean | undefined;
54558
57286
  } | undefined;
54559
57287
  };
57288
+ readonly continuation?: {
57289
+ readonly reason?: string | undefined;
57290
+ readonly action: "reconcile";
57291
+ readonly reviewCommandId: string;
57292
+ readonly requestedByActorId: string;
57293
+ } | {
57294
+ readonly reason: string;
57295
+ readonly action: "authorize_renewal";
57296
+ readonly reviewCommandId: string;
57297
+ readonly requestedByActorId: string;
57298
+ readonly confirmedNotRenewed: true;
57299
+ } | undefined;
54560
57300
  };
54561
57301
  readonly result: {
54562
57302
  readonly memberId: string;
@@ -54660,6 +57400,18 @@ declare function makeSpokeClient(hubClient: PromiseHubApiClient): {
54660
57400
  readonly gamingOptOut?: boolean | undefined;
54661
57401
  } | undefined;
54662
57402
  };
57403
+ readonly continuation?: {
57404
+ readonly reason?: string | undefined;
57405
+ readonly action: "reconcile";
57406
+ readonly reviewCommandId: string;
57407
+ readonly requestedByActorId: string;
57408
+ } | {
57409
+ readonly reason: string;
57410
+ readonly action: "authorize_renewal";
57411
+ readonly reviewCommandId: string;
57412
+ readonly requestedByActorId: string;
57413
+ readonly confirmedNotRenewed: true;
57414
+ } | undefined;
54663
57415
  };
54664
57416
  readonly result: {
54665
57417
  readonly memberId: string;
@@ -54763,6 +57515,18 @@ declare function makeSpokeClient(hubClient: PromiseHubApiClient): {
54763
57515
  readonly gamingOptOut?: boolean | undefined;
54764
57516
  } | undefined;
54765
57517
  };
57518
+ readonly continuation?: {
57519
+ readonly reason?: string | undefined;
57520
+ readonly action: "reconcile";
57521
+ readonly reviewCommandId: string;
57522
+ readonly requestedByActorId: string;
57523
+ } | {
57524
+ readonly reason: string;
57525
+ readonly action: "authorize_renewal";
57526
+ readonly reviewCommandId: string;
57527
+ readonly requestedByActorId: string;
57528
+ readonly confirmedNotRenewed: true;
57529
+ } | undefined;
54766
57530
  };
54767
57531
  readonly result: {
54768
57532
  readonly memberId: string;
@@ -54867,6 +57631,18 @@ declare function makeSpokeClient(hubClient: PromiseHubApiClient): {
54867
57631
  readonly gamingOptOut?: boolean | undefined;
54868
57632
  } | undefined;
54869
57633
  };
57634
+ readonly continuation?: {
57635
+ readonly reason?: string | undefined;
57636
+ readonly action: "reconcile";
57637
+ readonly reviewCommandId: string;
57638
+ readonly requestedByActorId: string;
57639
+ } | {
57640
+ readonly reason: string;
57641
+ readonly action: "authorize_renewal";
57642
+ readonly reviewCommandId: string;
57643
+ readonly requestedByActorId: string;
57644
+ readonly confirmedNotRenewed: true;
57645
+ } | undefined;
54870
57646
  };
54871
57647
  readonly result: {
54872
57648
  readonly memberId: string;
@@ -55216,6 +57992,18 @@ declare function makeSpokeClient(hubClient: PromiseHubApiClient): {
55216
57992
  readonly gamingOptOut?: boolean | undefined;
55217
57993
  } | undefined;
55218
57994
  };
57995
+ readonly continuation?: {
57996
+ readonly reason?: string | undefined;
57997
+ readonly action: "reconcile";
57998
+ readonly reviewCommandId: string;
57999
+ readonly requestedByActorId: string;
58000
+ } | {
58001
+ readonly reason: string;
58002
+ readonly action: "authorize_renewal";
58003
+ readonly reviewCommandId: string;
58004
+ readonly requestedByActorId: string;
58005
+ readonly confirmedNotRenewed: true;
58006
+ } | undefined;
55219
58007
  };
55220
58008
  readonly result: {
55221
58009
  readonly memberId: string;
@@ -55337,4 +58125,4 @@ declare const makePromiseSpokeClient: (options: HubApiCredentialOptions) => Prom
55337
58125
  readonly hubClient: PromiseHubApiClient;
55338
58126
  }>;
55339
58127
 
55340
- export { AddressSchema, type AdminSession, AdminSessionSchema, type BadRequestError, BadRequestErrorSchema, type BootstrapOrganizationMemberSourceAgentInput, type BootstrapOrganizationMemberSourceAgentResponse, BootstrapOrganizationMemberSourceAgentResponseSchema, BootstrapOrganizationMemberSourceAgentSchema, type BulkGetOrganizationMembersInput, BulkGetOrganizationMembersSchema, type BulkOrganizationMembersBasicResponse, BulkOrganizationMembersBasicResponseSchema, type BulkOrganizationMembersMedResponse, BulkOrganizationMembersMedResponseSchema, type BulkOrganizationMembersResponse, BulkOrganizationMembersResponseSchema, type BulkOrganizationMembersResponseUnion, BulkOrganizationMembersResponseUnionSchema, type CompleteOnsitePointCommandInput, CompleteOnsitePointCommandSchema, type CompleteOnsiteVoucherCommandInput, CompleteOnsiteVoucherCommandSchema, type ConflictError, ConflictErrorSchema, type ConvertOrganizationToDemoInput, ConvertOrganizationToDemoSchema, type CreateGuestInput, CreateGuestSchema, type CreateMemberInput, CreateMemberSchema, type CreateOrganizationInput, type CreateOrganizationMemberSourceCsvUploadInput, type CreateOrganizationMemberSourceCsvUploadResponse, CreateOrganizationMemberSourceCsvUploadResponseSchema, CreateOrganizationMemberSourceCsvUploadSchema, type CreateOrganizationPointTypeInput, CreateOrganizationPointTypeSchema, type CreateOrganizationProductOptionInput, CreateOrganizationProductOptionSchema, type CreateOrganizationProductWebhookInput, CreateOrganizationProductWebhookSchema, CreateOrganizationSchema, type CreateServiceClientInput, CreateServiceClientSchema, type CsvUploadReadiness, CsvUploadReadinessSchema, DateOnlySchema, type DeletePayload, DeletePayloadSchema, type DeleteServiceClientInput, DeleteServiceClientSchema, type EnsureActiveMembershipCommand, type EnsureActiveMembershipCommandPayload, EnsureActiveMembershipCommandPayloadSchema, EnsureActiveMembershipCommandSchema, type EnsureActiveMembershipMemberInput, EnsureActiveMembershipMemberSchema, EnsureActiveMembershipNonSuccessOutcomeSchema, type EnsureActiveMembershipNonSuccessResult, EnsureActiveMembershipNonSuccessResultSchema, type EnsureActiveMembershipOutcome, EnsureActiveMembershipOutcomeSchema, type EnsureActiveMembershipResponse, EnsureActiveMembershipResponseSchema, type EnsureActiveMembershipResult, EnsureActiveMembershipResultSchema, EnsureActiveMembershipSuccessOutcomeSchema, type EnsureActiveMembershipSuccessResult, EnsureActiveMembershipSuccessResultSchema, type EnsureActiveMembershipWorkflowProgress, EnsureActiveMembershipWorkflowProgressSchema, EnsureActiveMembershipWorkflowStepSchema, EnsureActiveMembershipWorkflowStepStateSchema, type ForbiddenError, ForbiddenErrorSchema, type Guest, type GuestContactMatch, GuestContactMatchSchema, GuestSchema, HubApi, type HubApiClient, type HubApiClientOptions, type HubApiCredentialOptions, type ImportedMemberRecord, ImportedMemberRecordSchema, type InternalServerError, InternalServerErrorSchema, IssuedPrivateKeySchema, MarketingPreferencesSchema, type Member, type MemberBasic, type MemberBasicResponse, MemberBasicResponseSchema, MemberBasicSchema, type MemberContactMatch, MemberContactMatchSchema, type MemberFullResponse, MemberFullResponseSchema, type MemberMed, type MemberMedResponse, MemberMedResponseSchema, MemberMedSchema, type MemberPointBalance, MemberPointBalanceSchema, type MemberPointBalancesResponse, MemberPointBalancesResponseSchema, type MemberResponse, type MemberResponseMode, MemberResponseModeSchema, MemberResponseSchema, MemberSchema, type MemberSeedBatch, MemberSeedBatchSchema, MemberSourceSecretNameSchema, type MemberStatusCredits, MemberStatusCreditsSchema, type NotFoundError, NotFoundErrorSchema, type OnsiteAgentCommand, OnsiteAgentCommandSchema, type OnsiteAgentCompleteCustomFieldsInput, OnsiteAgentCompleteCustomFieldsSchema, type OnsiteAgentCompleteEnsureActiveMembershipInput, OnsiteAgentCompleteEnsureActiveMembershipSchema, type OnsiteAgentCompleteMemberCreateInput, OnsiteAgentCompleteMemberCreateSchema, type OnsiteAgentCompleteMemberLookupInput, OnsiteAgentCompleteMemberLookupSchema, type OnsiteAgentCompleteMemberRenewalInput, OnsiteAgentCompleteMemberRenewalSchema, type OnsiteAgentCompleteMemberUpdateInput, OnsiteAgentCompleteMemberUpdateSchema, OnsiteAgentCompleteRunErrorSchema, type OnsiteAgentCompleteRunInput, OnsiteAgentCompleteRunSchema, type OnsiteAgentCsvUploadTarget, OnsiteAgentCsvUploadTargetSchema, type OnsiteAgentCustomFieldsCommand, OnsiteAgentCustomFieldsCommandSchema, type OnsiteAgentEnsureActiveMembershipCommand, OnsiteAgentEnsureActiveMembershipCommandSchema, OnsiteAgentEnsureActiveMembershipCompletionResultSchema, type OnsiteAgentEnsureActiveMembershipProgressUpdate, OnsiteAgentEnsureActiveMembershipProgressUpdateSchema, type OnsiteAgentHeartbeatInput, type OnsiteAgentHeartbeatResponse, OnsiteAgentHeartbeatResponseSchema, OnsiteAgentHeartbeatSchema, type OnsiteAgentIngestLiveFbiBatchInput, OnsiteAgentIngestLiveFbiBatchSchema, type OnsiteAgentMemberCreateCommand, OnsiteAgentMemberCreateCommandSchema, type OnsiteAgentMemberCreationResult, OnsiteAgentMemberCreationResultSchema, type OnsiteAgentMemberLookupCommand, OnsiteAgentMemberLookupCommandSchema, type OnsiteAgentMemberPreferenceUpdateCommand, OnsiteAgentMemberPreferenceUpdateCommandSchema, type OnsiteAgentMemberRenewalCommand, OnsiteAgentMemberRenewalCommandSchema, type OnsiteAgentMemberUpdateCommand, OnsiteAgentMemberUpdateCommandSchema, type OnsitePointCommand, OnsitePointCommandSchema, type OnsiteResourceCallRequest, OnsiteResourceCallRequestSchema, type OnsiteResourceCallResponse, OnsiteResourceCallResponseSchema, type OnsiteResourceClient, type OnsiteResourceEnsureActiveMembershipCallResponse, OnsiteResourceEnsureActiveMembershipCallResponseSchema, type OnsiteResourceMemberCallResponse, OnsiteResourceMemberCallResponseSchema, type OnsiteResourcePointCallResponse, OnsiteResourcePointCallResponseSchema, type OnsiteResourceVoucherCallResponse, OnsiteResourceVoucherCallResponseSchema, type OnsiteVoucherCommand, OnsiteVoucherCommandSchema, type Organization, type OrganizationMemberGender, OrganizationMemberGenderSchema, type OrganizationMemberMembershipType, OrganizationMemberMembershipTypeSchema, type OrganizationMemberRatingGrade, OrganizationMemberRatingGradeSchema, type OrganizationMemberSource, type OrganizationMemberSourceAgent, OrganizationMemberSourceAgentSchema, type OrganizationMemberSourceCommand, OrganizationMemberSourceCommandSchema, type OrganizationMemberSourceCsvImport, OrganizationMemberSourceCsvImportSchema, type OrganizationMemberSourceCsvMapping, OrganizationMemberSourceCsvMappingSchema, OrganizationMemberSourceSchema, OrganizationMemberSourceSecretInputSchema, type OrganizationMemberSourceWebhook, OrganizationMemberSourceWebhookSchema, type OrganizationMemberSourceWebhookUpsertResponse, OrganizationMemberSourceWebhookUpsertResponseSchema, type OrganizationMemberSyncRun, type OrganizationMemberSyncRunError, OrganizationMemberSyncRunErrorSchema, OrganizationMemberSyncRunSchema, OrganizationMemberSyncRunSummarySchema, type OrganizationMemberTitle, OrganizationMemberTitleSchema, type OrganizationMembersListResponse, type OrganizationMembersSearchField, OrganizationMembersSearchFieldSchema, type OrganizationMembersSortField, OrganizationMembersSortFieldSchema, type OrganizationMembersStatusFilter, OrganizationMembersStatusFilterSchema, type OrganizationPeopleContactLookupResponse, OrganizationPeopleContactLookupResponseSchema, type OrganizationPointCommand, OrganizationPointCommandResultSchema, OrganizationPointCommandSchema, type OrganizationPointProvider, OrganizationPointProviderSchema, type OrganizationPointType, OrganizationPointTypeSchema, type OrganizationPointTypesResponse, OrganizationPointTypesResponseSchema, type OrganizationProductOption, OrganizationProductOptionSchema, type OrganizationProductWebhook, OrganizationProductWebhookSchema, type OrganizationProductWebhookUpsertResponse, OrganizationProductWebhookUpsertResponseSchema, OrganizationSchema, type OrganizationVoucherCommand, type OrganizationVoucherCommandResult, OrganizationVoucherCommandResultSchema, OrganizationVoucherCommandSchema, type OrganizationVoucherIssueCommandResult, OrganizationVoucherIssueCommandResultSchema, type OrganizationVoucherLookupCommandResult, OrganizationVoucherLookupCommandResultSchema, type OrganizationVoucherProvider, OrganizationVoucherProviderSchema, OrganizationVoucherProviderSecretInputSchema, OrganizationVoucherProviderSecretNameSchema, type PaginatedGuests, PaginatedGuestsSchema, type PaginatedOrganizationMemberGenders, PaginatedOrganizationMemberGendersSchema, type PaginatedOrganizationMemberMembershipTypes, PaginatedOrganizationMemberMembershipTypesSchema, type PaginatedOrganizationMemberRatingGrades, PaginatedOrganizationMemberRatingGradesSchema, type PaginatedOrganizationMemberSourceCommands, PaginatedOrganizationMemberSourceCommandsSchema, type PaginatedOrganizationMemberSyncRuns, PaginatedOrganizationMemberSyncRunsSchema, type PaginatedOrganizationMemberTitles, PaginatedOrganizationMemberTitlesSchema, type PaginatedOrganizationMembers, type PaginatedOrganizationMembersBasic, PaginatedOrganizationMembersBasicSchema, type PaginatedOrganizationMembersMed, PaginatedOrganizationMembersMedSchema, PaginatedOrganizationMembersResponseSchema, PaginatedOrganizationMembersSchema, type PaginatedOrganizationProductOptions, PaginatedOrganizationProductOptionsSchema, type PaginatedOrganizationProductWebhooks, PaginatedOrganizationProductWebhooksSchema, type PaginatedOrganizations, PaginatedOrganizationsSchema, type PaginatedServiceClients, PaginatedServiceClientsSchema, PresignedPostSchema, type PromiseClient, type PromiseHubApiClient, type PromiseSpokeClient, type RequestEnsureActiveMembershipInput, RequestEnsureActiveMembershipSchema, type RequestPointDebitInput, RequestPointDebitSchema, type RequestPointLookupInput, RequestPointLookupSchema, type RequestSourceManagedMemberCreateInput, RequestSourceManagedMemberCreateSchema, type RequestSourceManagedMemberPreferenceUpdateInput, RequestSourceManagedMemberPreferenceUpdateSchema, type RequestSourceManagedMemberRenewalInput, RequestSourceManagedMemberRenewalSchema, type RequestSourceManagedMemberUpdateInput, RequestSourceManagedMemberUpdateSchema, type RequestVoucherIssueInput, RequestVoucherIssueSchema, type RequestVoucherLookupInput, RequestVoucherLookupSchema, type SeedOrganizationMembersInput, SeedOrganizationMembersSchema, type ServiceClient, ServiceClientSchema, type SortDirection, SortDirectionSchema, type SourceContactPreference, SourceContactPreferenceSchema, type SourceManagedMemberLookupBy, SourceManagedMemberLookupBySchema, type SourceManagedMemberLookupCommandPayload, SourceManagedMemberLookupCommandPayloadSchema, SourceManagedMemberPreferenceUpdateCommandPayloadSchema, type SourceManagedMemberRenewalCommandPayload, SourceManagedMemberRenewalCommandPayloadSchema, SourceManagedMemberUpdateCommandPayloadSchema, SpokeHubApiError, type SpokeHubApiErrorBody, SpokeHubClientError, type SpokeHubErrorKind, type SpokeHubHttpErrorContext, type SpokeHubResult, TimestampSchema, type TriggerOrganizationMemberSyncInput, TriggerOrganizationMemberSyncSchema, type UnauthorizedError, UnauthorizedErrorSchema, type UpdateGuestInput, UpdateGuestSchema, type UpdateMemberInput, UpdateMemberSchema, type UpdateMemberStatusCreditsInput, UpdateMemberStatusCreditsSchema, type UpdateOrganizationInput, type UpdateOrganizationPointTypeInput, UpdateOrganizationPointTypeSchema, type UpdateOrganizationProductWebhookInput, UpdateOrganizationProductWebhookSchema, UpdateOrganizationSchema, type UpdateServiceClientInput, UpdateServiceClientSchema, type UpsertMemberPointBalanceInput, UpsertMemberPointBalanceSchema, type UpsertOrganizationMemberSourceCsvMappingInput, UpsertOrganizationMemberSourceCsvMappingSchema, type UpsertOrganizationMemberSourceInput, UpsertOrganizationMemberSourceSchema, type UpsertOrganizationMemberSourceWebhookInput, UpsertOrganizationMemberSourceWebhookSchema, type UpsertOrganizationPointProviderInput, UpsertOrganizationPointProviderSchema, type UpsertOrganizationProductWebhookInput, UpsertOrganizationProductWebhookSchema, type UpsertOrganizationVoucherProviderInput, UpsertOrganizationVoucherProviderSchema, adminRoles, ensureActiveMembershipOutcomes, guestStatuses, makeBadRequest, makeConflict, makeForbidden, makeHubApiClient, makeInternalServerError, makeNotFound, makeOnsiteResourceClient, makePromiseHubApiClient, makePromiseOnsiteResourceClient, makePromiseServiceHubApiClient, makePromiseSpokeClient, makeServiceHubApiClient, makeSpokeClient, makeUnauthorized, memberComputedStatuses, memberCreatedOrigins, memberPreferredContactMethods, memberRecordModes, memberStatuses, organizationMemberSourceAgentCapabilities, organizationMemberSourceAgentStatuses, organizationMemberSourceBatchTransports, organizationMemberSourceCommandKinds, organizationMemberSourceCommandStatuses, organizationMemberSourceCsvImportStatuses, organizationMemberSourceLiveTransports, organizationMemberSourceManualTransports, organizationMemberSourceStatuses, organizationMemberSourceVendors, organizationMemberSourceWebhookDeliveryStatuses, organizationMemberSourceWebhookStatuses, organizationMemberSyncModes, organizationMemberSyncRunStatuses, organizationMemberSyncTransports, organizationMemberSyncTriggerKinds, organizationPointCommandKinds, organizationPointCommandStatuses, organizationPointProviderProviders, organizationPointProviderStatuses, organizationPointProviderTransports, organizationPointTypeStatuses, organizationProductWebhookDeliveryStatuses, organizationProductWebhookStatuses, organizationStatuses, organizationVoucherCommandKinds, organizationVoucherCommandStatuses, organizationVoucherProviderProviders, organizationVoucherProviderStatuses, organizationVoucherProviderTransports, resolveHubApiBaseUrl };
58128
+ export { AddressSchema, type AdminSession, AdminSessionSchema, type AuthorizeEnsureActiveMembershipRenewalInput, AuthorizeEnsureActiveMembershipRenewalSchema, type BadRequestError, BadRequestErrorSchema, type BootstrapOrganizationMemberSourceAgentInput, type BootstrapOrganizationMemberSourceAgentResponse, BootstrapOrganizationMemberSourceAgentResponseSchema, BootstrapOrganizationMemberSourceAgentSchema, type BulkGetOrganizationMembersInput, BulkGetOrganizationMembersSchema, type BulkOrganizationMembersBasicResponse, BulkOrganizationMembersBasicResponseSchema, type BulkOrganizationMembersMedResponse, BulkOrganizationMembersMedResponseSchema, type BulkOrganizationMembersResponse, BulkOrganizationMembersResponseSchema, type BulkOrganizationMembersResponseUnion, BulkOrganizationMembersResponseUnionSchema, type CompleteOnsitePointCommandInput, CompleteOnsitePointCommandSchema, type CompleteOnsiteVoucherCommandInput, CompleteOnsiteVoucherCommandSchema, type ConflictError, ConflictErrorSchema, type ConvertOrganizationToDemoInput, ConvertOrganizationToDemoSchema, type CreateGuestInput, CreateGuestSchema, type CreateMemberInput, CreateMemberSchema, type CreateOrganizationInput, type CreateOrganizationMemberSourceCsvUploadInput, type CreateOrganizationMemberSourceCsvUploadResponse, CreateOrganizationMemberSourceCsvUploadResponseSchema, CreateOrganizationMemberSourceCsvUploadSchema, type CreateOrganizationPointTypeInput, CreateOrganizationPointTypeSchema, type CreateOrganizationProductOptionInput, CreateOrganizationProductOptionSchema, type CreateOrganizationProductWebhookInput, CreateOrganizationProductWebhookSchema, CreateOrganizationSchema, type CreateServiceClientInput, CreateServiceClientSchema, type CsvUploadReadiness, CsvUploadReadinessSchema, DateOnlySchema, type DeletePayload, DeletePayloadSchema, type DeleteServiceClientInput, DeleteServiceClientSchema, type EnsureActiveMembershipCommand, type EnsureActiveMembershipCommandPayload, EnsureActiveMembershipCommandPayloadSchema, EnsureActiveMembershipCommandSchema, type EnsureActiveMembershipManualReviewItem, EnsureActiveMembershipManualReviewItemSchema, type EnsureActiveMembershipManualReviewQueue, EnsureActiveMembershipManualReviewQueueSchema, type EnsureActiveMembershipMemberInput, EnsureActiveMembershipMemberSchema, EnsureActiveMembershipNonSuccessOutcomeSchema, type EnsureActiveMembershipNonSuccessResult, EnsureActiveMembershipNonSuccessResultSchema, type EnsureActiveMembershipOutcome, EnsureActiveMembershipOutcomeSchema, type EnsureActiveMembershipResponse, EnsureActiveMembershipResponseSchema, type EnsureActiveMembershipResult, EnsureActiveMembershipResultSchema, EnsureActiveMembershipSuccessOutcomeSchema, type EnsureActiveMembershipSuccessResult, EnsureActiveMembershipSuccessResultSchema, type EnsureActiveMembershipWorkflowProgress, EnsureActiveMembershipWorkflowProgressSchema, EnsureActiveMembershipWorkflowStepSchema, type EnsureActiveMembershipWorkflowStepState, EnsureActiveMembershipWorkflowStepStateSchema, type ForbiddenError, ForbiddenErrorSchema, type Guest, type GuestContactMatch, GuestContactMatchSchema, GuestSchema, HubApi, type HubApiClient, type HubApiClientOptions, type HubApiCredentialOptions, type ImportedMemberRecord, ImportedMemberRecordSchema, type InternalServerError, InternalServerErrorSchema, IssuedPrivateKeySchema, MarketingPreferencesSchema, type Member, type MemberBasic, type MemberBasicResponse, MemberBasicResponseSchema, MemberBasicSchema, type MemberContactMatch, MemberContactMatchSchema, type MemberFullResponse, MemberFullResponseSchema, type MemberMed, type MemberMedResponse, MemberMedResponseSchema, MemberMedSchema, type MemberPointBalance, MemberPointBalanceSchema, type MemberPointBalancesResponse, MemberPointBalancesResponseSchema, type MemberResponse, type MemberResponseMode, MemberResponseModeSchema, MemberResponseSchema, MemberSchema, type MemberSeedBatch, MemberSeedBatchSchema, MemberSourceSecretNameSchema, type MemberStatusCredits, MemberStatusCreditsSchema, type NotFoundError, NotFoundErrorSchema, type OnsiteAgentCommand, OnsiteAgentCommandSchema, type OnsiteAgentCompleteCustomFieldsInput, OnsiteAgentCompleteCustomFieldsSchema, type OnsiteAgentCompleteEnsureActiveMembershipInput, OnsiteAgentCompleteEnsureActiveMembershipSchema, type OnsiteAgentCompleteMemberCreateInput, OnsiteAgentCompleteMemberCreateSchema, type OnsiteAgentCompleteMemberLookupInput, OnsiteAgentCompleteMemberLookupSchema, type OnsiteAgentCompleteMemberRenewalInput, OnsiteAgentCompleteMemberRenewalSchema, type OnsiteAgentCompleteMemberUpdateInput, OnsiteAgentCompleteMemberUpdateSchema, OnsiteAgentCompleteRunErrorSchema, type OnsiteAgentCompleteRunInput, OnsiteAgentCompleteRunSchema, type OnsiteAgentCsvUploadTarget, OnsiteAgentCsvUploadTargetSchema, type OnsiteAgentCustomFieldsCommand, OnsiteAgentCustomFieldsCommandSchema, type OnsiteAgentEnsureActiveMembershipAuditEvent, OnsiteAgentEnsureActiveMembershipAuditEventSchema, type OnsiteAgentEnsureActiveMembershipCommand, OnsiteAgentEnsureActiveMembershipCommandSchema, OnsiteAgentEnsureActiveMembershipCompletionResultSchema, type OnsiteAgentEnsureActiveMembershipProgressUpdate, OnsiteAgentEnsureActiveMembershipProgressUpdateSchema, type OnsiteAgentHeartbeatInput, type OnsiteAgentHeartbeatResponse, OnsiteAgentHeartbeatResponseSchema, OnsiteAgentHeartbeatSchema, type OnsiteAgentIngestLiveFbiBatchInput, OnsiteAgentIngestLiveFbiBatchSchema, type OnsiteAgentMemberCreateCommand, OnsiteAgentMemberCreateCommandSchema, type OnsiteAgentMemberCreationResult, OnsiteAgentMemberCreationResultSchema, type OnsiteAgentMemberLookupCommand, OnsiteAgentMemberLookupCommandSchema, type OnsiteAgentMemberPreferenceUpdateCommand, OnsiteAgentMemberPreferenceUpdateCommandSchema, type OnsiteAgentMemberRenewalCommand, OnsiteAgentMemberRenewalCommandSchema, type OnsiteAgentMemberUpdateCommand, OnsiteAgentMemberUpdateCommandSchema, type OnsitePointCommand, OnsitePointCommandSchema, type OnsiteResourceCallRequest, OnsiteResourceCallRequestSchema, type OnsiteResourceCallResponse, OnsiteResourceCallResponseSchema, type OnsiteResourceClient, type OnsiteResourceEnsureActiveMembershipCallResponse, OnsiteResourceEnsureActiveMembershipCallResponseSchema, type OnsiteResourceMemberCallResponse, OnsiteResourceMemberCallResponseSchema, type OnsiteResourcePointCallResponse, OnsiteResourcePointCallResponseSchema, type OnsiteResourceVoucherCallResponse, OnsiteResourceVoucherCallResponseSchema, type OnsiteVoucherCommand, OnsiteVoucherCommandSchema, type Organization, type OrganizationMemberGender, OrganizationMemberGenderSchema, type OrganizationMemberMembershipType, OrganizationMemberMembershipTypeSchema, type OrganizationMemberRatingGrade, OrganizationMemberRatingGradeSchema, type OrganizationMemberSource, type OrganizationMemberSourceAgent, OrganizationMemberSourceAgentSchema, type OrganizationMemberSourceCommand, OrganizationMemberSourceCommandSchema, type OrganizationMemberSourceCsvImport, OrganizationMemberSourceCsvImportSchema, type OrganizationMemberSourceCsvMapping, OrganizationMemberSourceCsvMappingSchema, OrganizationMemberSourceSchema, OrganizationMemberSourceSecretInputSchema, type OrganizationMemberSourceWebhook, OrganizationMemberSourceWebhookSchema, type OrganizationMemberSourceWebhookUpsertResponse, OrganizationMemberSourceWebhookUpsertResponseSchema, type OrganizationMemberSyncRun, type OrganizationMemberSyncRunError, OrganizationMemberSyncRunErrorSchema, OrganizationMemberSyncRunSchema, OrganizationMemberSyncRunSummarySchema, type OrganizationMemberTitle, OrganizationMemberTitleSchema, type OrganizationMembersListResponse, type OrganizationMembersSearchField, OrganizationMembersSearchFieldSchema, type OrganizationMembersSortField, OrganizationMembersSortFieldSchema, type OrganizationMembersStatusFilter, OrganizationMembersStatusFilterSchema, type OrganizationPeopleContactLookupResponse, OrganizationPeopleContactLookupResponseSchema, type OrganizationPointCommand, OrganizationPointCommandResultSchema, OrganizationPointCommandSchema, type OrganizationPointProvider, OrganizationPointProviderSchema, type OrganizationPointType, OrganizationPointTypeSchema, type OrganizationPointTypesResponse, OrganizationPointTypesResponseSchema, type OrganizationProductOption, OrganizationProductOptionSchema, type OrganizationProductWebhook, OrganizationProductWebhookSchema, type OrganizationProductWebhookUpsertResponse, OrganizationProductWebhookUpsertResponseSchema, OrganizationSchema, type OrganizationVoucherCommand, type OrganizationVoucherCommandResult, OrganizationVoucherCommandResultSchema, OrganizationVoucherCommandSchema, type OrganizationVoucherIssueCommandResult, OrganizationVoucherIssueCommandResultSchema, type OrganizationVoucherLookupCommandResult, OrganizationVoucherLookupCommandResultSchema, type OrganizationVoucherProvider, OrganizationVoucherProviderSchema, OrganizationVoucherProviderSecretInputSchema, OrganizationVoucherProviderSecretNameSchema, type PaginatedGuests, PaginatedGuestsSchema, type PaginatedOrganizationMemberGenders, PaginatedOrganizationMemberGendersSchema, type PaginatedOrganizationMemberMembershipTypes, PaginatedOrganizationMemberMembershipTypesSchema, type PaginatedOrganizationMemberRatingGrades, PaginatedOrganizationMemberRatingGradesSchema, type PaginatedOrganizationMemberSourceCommands, PaginatedOrganizationMemberSourceCommandsSchema, type PaginatedOrganizationMemberSyncRuns, PaginatedOrganizationMemberSyncRunsSchema, type PaginatedOrganizationMemberTitles, PaginatedOrganizationMemberTitlesSchema, type PaginatedOrganizationMembers, type PaginatedOrganizationMembersBasic, PaginatedOrganizationMembersBasicSchema, type PaginatedOrganizationMembersMed, PaginatedOrganizationMembersMedSchema, PaginatedOrganizationMembersResponseSchema, PaginatedOrganizationMembersSchema, type PaginatedOrganizationProductOptions, PaginatedOrganizationProductOptionsSchema, type PaginatedOrganizationProductWebhooks, PaginatedOrganizationProductWebhooksSchema, type PaginatedOrganizations, PaginatedOrganizationsSchema, type PaginatedServiceClients, PaginatedServiceClientsSchema, PresignedPostSchema, type PromiseClient, type PromiseHubApiClient, type PromiseSpokeClient, type ReconcileEnsureActiveMembershipManualReviewInput, ReconcileEnsureActiveMembershipManualReviewSchema, type RequestEnsureActiveMembershipInput, RequestEnsureActiveMembershipSchema, type RequestPointDebitInput, RequestPointDebitSchema, type RequestPointLookupInput, RequestPointLookupSchema, type RequestSourceManagedMemberCreateInput, RequestSourceManagedMemberCreateSchema, type RequestSourceManagedMemberPreferenceUpdateInput, RequestSourceManagedMemberPreferenceUpdateSchema, type RequestSourceManagedMemberRenewalInput, RequestSourceManagedMemberRenewalSchema, type RequestSourceManagedMemberUpdateInput, RequestSourceManagedMemberUpdateSchema, type RequestVoucherIssueInput, RequestVoucherIssueSchema, type RequestVoucherLookupInput, RequestVoucherLookupSchema, type SeedOrganizationMembersInput, SeedOrganizationMembersSchema, type ServiceClient, ServiceClientSchema, type SortDirection, SortDirectionSchema, type SourceContactPreference, SourceContactPreferenceSchema, type SourceManagedMemberLookupBy, SourceManagedMemberLookupBySchema, type SourceManagedMemberLookupCommandPayload, SourceManagedMemberLookupCommandPayloadSchema, SourceManagedMemberPreferenceUpdateCommandPayloadSchema, type SourceManagedMemberRenewalCommandPayload, SourceManagedMemberRenewalCommandPayloadSchema, SourceManagedMemberUpdateCommandPayloadSchema, SpokeHubApiError, type SpokeHubApiErrorBody, SpokeHubClientError, type SpokeHubErrorKind, type SpokeHubHttpErrorContext, type SpokeHubResult, TimestampSchema, type TriggerOrganizationMemberSyncInput, TriggerOrganizationMemberSyncSchema, type UnauthorizedError, UnauthorizedErrorSchema, type UpdateGuestInput, UpdateGuestSchema, type UpdateMemberInput, UpdateMemberSchema, type UpdateMemberStatusCreditsInput, UpdateMemberStatusCreditsSchema, type UpdateOrganizationInput, type UpdateOrganizationPointTypeInput, UpdateOrganizationPointTypeSchema, type UpdateOrganizationProductWebhookInput, UpdateOrganizationProductWebhookSchema, UpdateOrganizationSchema, type UpdateServiceClientInput, UpdateServiceClientSchema, type UpsertMemberPointBalanceInput, UpsertMemberPointBalanceSchema, type UpsertOrganizationMemberSourceCsvMappingInput, UpsertOrganizationMemberSourceCsvMappingSchema, type UpsertOrganizationMemberSourceInput, UpsertOrganizationMemberSourceSchema, type UpsertOrganizationMemberSourceWebhookInput, UpsertOrganizationMemberSourceWebhookSchema, type UpsertOrganizationPointProviderInput, UpsertOrganizationPointProviderSchema, type UpsertOrganizationProductWebhookInput, UpsertOrganizationProductWebhookSchema, type UpsertOrganizationVoucherProviderInput, UpsertOrganizationVoucherProviderSchema, adminRoles, ensureActiveMembershipOutcomes, guestStatuses, makeBadRequest, makeConflict, makeForbidden, makeHubApiClient, makeInternalServerError, makeNotFound, makeOnsiteResourceClient, makePromiseHubApiClient, makePromiseOnsiteResourceClient, makePromiseServiceHubApiClient, makePromiseSpokeClient, makeServiceHubApiClient, makeSpokeClient, makeUnauthorized, memberComputedStatuses, memberCreatedOrigins, memberPreferredContactMethods, memberRecordModes, memberStatuses, organizationMemberSourceAgentCapabilities, organizationMemberSourceAgentStatuses, organizationMemberSourceBatchTransports, organizationMemberSourceCommandKinds, organizationMemberSourceCommandStatuses, organizationMemberSourceCsvImportStatuses, organizationMemberSourceLiveTransports, organizationMemberSourceManualTransports, organizationMemberSourceStatuses, organizationMemberSourceVendors, organizationMemberSourceWebhookDeliveryStatuses, organizationMemberSourceWebhookStatuses, organizationMemberSyncModes, organizationMemberSyncRunStatuses, organizationMemberSyncTransports, organizationMemberSyncTriggerKinds, organizationPointCommandKinds, organizationPointCommandStatuses, organizationPointProviderProviders, organizationPointProviderStatuses, organizationPointProviderTransports, organizationPointTypeStatuses, organizationProductWebhookDeliveryStatuses, organizationProductWebhookStatuses, organizationStatuses, organizationVoucherCommandKinds, organizationVoucherCommandStatuses, organizationVoucherProviderProviders, organizationVoucherProviderStatuses, organizationVoucherProviderTransports, resolveHubApiBaseUrl };