@spoketech/hub-client 0.1.22 → 0.1.24

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
@@ -1547,6 +1547,36 @@ declare const OrganizationMemberSourceEnsureActiveMembershipConfigSchema: effect
1547
1547
  readonly ensureActiveMembershipEnabled: effect_Schema.optional<effect_Schema.Boolean>;
1548
1548
  }>, readonly [effect_Schema.$Record<effect_Schema.String, effect_Schema.Unknown>]>;
1549
1549
  declare function memberSourceEnsureActiveMembershipEnabled(config: unknown): boolean;
1550
+ /** Configuration availability only; enabled does not imply live connectivity or write permission. */
1551
+ declare const OrganizationCapabilitySchema: effect_Schema.Struct<{
1552
+ readonly supported: effect_Schema.Boolean;
1553
+ readonly enabled: effect_Schema.Boolean;
1554
+ readonly reason: effect_Schema.Union<readonly [effect_Schema.Literals<readonly ["not_configured", "unsupported_provider", "unsupported_transport", "source_inactive", "provider_inactive", "agent_missing", "agent_inactive", "feature_disabled", "agent_upgrade_required"]>, effect_Schema.Null]>;
1555
+ }>;
1556
+ declare const OrganizationCapabilitiesSchema: effect_Schema.Struct<{
1557
+ readonly organizationId: effect_Schema.String;
1558
+ readonly points: effect_Schema.Struct<{
1559
+ readonly supported: effect_Schema.Boolean;
1560
+ readonly enabled: effect_Schema.Boolean;
1561
+ readonly reason: effect_Schema.Union<readonly [effect_Schema.Literals<readonly ["not_configured", "unsupported_provider", "unsupported_transport", "source_inactive", "provider_inactive", "agent_missing", "agent_inactive", "feature_disabled", "agent_upgrade_required"]>, effect_Schema.Null]>;
1562
+ }>;
1563
+ readonly vouchers: effect_Schema.Struct<{
1564
+ readonly supported: effect_Schema.Boolean;
1565
+ readonly enabled: effect_Schema.Boolean;
1566
+ readonly reason: effect_Schema.Union<readonly [effect_Schema.Literals<readonly ["not_configured", "unsupported_provider", "unsupported_transport", "source_inactive", "provider_inactive", "agent_missing", "agent_inactive", "feature_disabled", "agent_upgrade_required"]>, effect_Schema.Null]>;
1567
+ }>;
1568
+ readonly onsiteMemberLookup: effect_Schema.Struct<{
1569
+ readonly supported: effect_Schema.Boolean;
1570
+ readonly enabled: effect_Schema.Boolean;
1571
+ readonly reason: effect_Schema.Union<readonly [effect_Schema.Literals<readonly ["not_configured", "unsupported_provider", "unsupported_transport", "source_inactive", "provider_inactive", "agent_missing", "agent_inactive", "feature_disabled", "agent_upgrade_required"]>, effect_Schema.Null]>;
1572
+ }>;
1573
+ readonly memberCreation: effect_Schema.Struct<{
1574
+ readonly mode: effect_Schema.Union<readonly [effect_Schema.Literals<readonly ["local", "source_managed"]>, effect_Schema.Null]>;
1575
+ readonly supported: effect_Schema.Boolean;
1576
+ readonly enabled: effect_Schema.Boolean;
1577
+ readonly reason: effect_Schema.Union<readonly [effect_Schema.Literals<readonly ["not_configured", "unsupported_provider", "unsupported_transport", "source_inactive", "provider_inactive", "agent_missing", "agent_inactive", "feature_disabled", "agent_upgrade_required"]>, effect_Schema.Null]>;
1578
+ }>;
1579
+ }>;
1550
1580
  declare const OrganizationMemberSourceSchema: effect_Schema.Struct<{
1551
1581
  readonly id: effect_Schema.String;
1552
1582
  readonly organizationId: effect_Schema.String;
@@ -3623,6 +3653,7 @@ declare const ImportedMemberRecordSchema: effect_Schema.Struct<{
3623
3653
  readonly ratingGrade: effect_Schema.Union<readonly [effect_Schema.String, effect_Schema.Null]>;
3624
3654
  readonly ratingGradeId: effect_Schema.Union<readonly [effect_Schema.String, effect_Schema.Null]>;
3625
3655
  readonly sourceStatus: effect_Schema.Union<readonly [effect_Schema.String, effect_Schema.Null]>;
3656
+ readonly sourceStatusObserved: effect_Schema.optional<effect_Schema.Boolean>;
3626
3657
  readonly isSuspended: effect_Schema.optional<effect_Schema.Boolean>;
3627
3658
  readonly marketingPreferences: effect_Schema.optional<effect_Schema.Struct<{
3628
3659
  readonly email: effect_Schema.Boolean;
@@ -4060,6 +4091,7 @@ declare const OnsiteAgentCompleteRunSchema: effect_Schema.Struct<{
4060
4091
  readonly ratingGrade: effect_Schema.Union<readonly [effect_Schema.String, effect_Schema.Null]>;
4061
4092
  readonly ratingGradeId: effect_Schema.Union<readonly [effect_Schema.String, effect_Schema.Null]>;
4062
4093
  readonly sourceStatus: effect_Schema.Union<readonly [effect_Schema.String, effect_Schema.Null]>;
4094
+ readonly sourceStatusObserved: effect_Schema.optional<effect_Schema.Boolean>;
4063
4095
  readonly isSuspended: effect_Schema.optional<effect_Schema.Boolean>;
4064
4096
  readonly marketingPreferences: effect_Schema.optional<effect_Schema.Struct<{
4065
4097
  readonly email: effect_Schema.Boolean;
@@ -4136,6 +4168,7 @@ declare const OnsiteAgentCompleteMemberCreateSchema: effect_Schema.Struct<{
4136
4168
  readonly ratingGrade: effect_Schema.Union<readonly [effect_Schema.String, effect_Schema.Null]>;
4137
4169
  readonly ratingGradeId: effect_Schema.Union<readonly [effect_Schema.String, effect_Schema.Null]>;
4138
4170
  readonly sourceStatus: effect_Schema.Union<readonly [effect_Schema.String, effect_Schema.Null]>;
4171
+ readonly sourceStatusObserved: effect_Schema.optional<effect_Schema.Boolean>;
4139
4172
  readonly isSuspended: effect_Schema.optional<effect_Schema.Boolean>;
4140
4173
  readonly marketingPreferences: effect_Schema.optional<effect_Schema.Struct<{
4141
4174
  readonly email: effect_Schema.Boolean;
@@ -4205,6 +4238,7 @@ declare const OnsiteAgentEnsureActiveMembershipCompletionResultSchema: effect_Sc
4205
4238
  readonly membershipType: effect_Schema.Union<readonly [effect_Schema.String, effect_Schema.Null]>;
4206
4239
  readonly ratingGrade: effect_Schema.Union<readonly [effect_Schema.String, effect_Schema.Null]>;
4207
4240
  readonly ratingGradeId: effect_Schema.Union<readonly [effect_Schema.String, effect_Schema.Null]>;
4241
+ readonly sourceStatusObserved: effect_Schema.optional<effect_Schema.Boolean>;
4208
4242
  readonly isSuspended: effect_Schema.optional<effect_Schema.Boolean>;
4209
4243
  readonly marketingPreferences: effect_Schema.optional<effect_Schema.Struct<{
4210
4244
  readonly email: effect_Schema.Boolean;
@@ -4259,6 +4293,7 @@ declare const OnsiteAgentEnsureActiveMembershipCompletionResultSchema: effect_Sc
4259
4293
  readonly membershipType: effect_Schema.Union<readonly [effect_Schema.String, effect_Schema.Null]>;
4260
4294
  readonly ratingGrade: effect_Schema.Union<readonly [effect_Schema.String, effect_Schema.Null]>;
4261
4295
  readonly ratingGradeId: effect_Schema.Union<readonly [effect_Schema.String, effect_Schema.Null]>;
4296
+ readonly sourceStatusObserved: effect_Schema.optional<effect_Schema.Boolean>;
4262
4297
  readonly isSuspended: effect_Schema.optional<effect_Schema.Boolean>;
4263
4298
  readonly marketingPreferences: effect_Schema.optional<effect_Schema.Struct<{
4264
4299
  readonly email: effect_Schema.Boolean;
@@ -4316,6 +4351,7 @@ declare const OnsiteAgentCompleteEnsureActiveMembershipSchema: effect_Schema.Str
4316
4351
  readonly membershipType: effect_Schema.Union<readonly [effect_Schema.String, effect_Schema.Null]>;
4317
4352
  readonly ratingGrade: effect_Schema.Union<readonly [effect_Schema.String, effect_Schema.Null]>;
4318
4353
  readonly ratingGradeId: effect_Schema.Union<readonly [effect_Schema.String, effect_Schema.Null]>;
4354
+ readonly sourceStatusObserved: effect_Schema.optional<effect_Schema.Boolean>;
4319
4355
  readonly isSuspended: effect_Schema.optional<effect_Schema.Boolean>;
4320
4356
  readonly marketingPreferences: effect_Schema.optional<effect_Schema.Struct<{
4321
4357
  readonly email: effect_Schema.Boolean;
@@ -4370,6 +4406,7 @@ declare const OnsiteAgentCompleteEnsureActiveMembershipSchema: effect_Schema.Str
4370
4406
  readonly membershipType: effect_Schema.Union<readonly [effect_Schema.String, effect_Schema.Null]>;
4371
4407
  readonly ratingGrade: effect_Schema.Union<readonly [effect_Schema.String, effect_Schema.Null]>;
4372
4408
  readonly ratingGradeId: effect_Schema.Union<readonly [effect_Schema.String, effect_Schema.Null]>;
4409
+ readonly sourceStatusObserved: effect_Schema.optional<effect_Schema.Boolean>;
4373
4410
  readonly isSuspended: effect_Schema.optional<effect_Schema.Boolean>;
4374
4411
  readonly marketingPreferences: effect_Schema.optional<effect_Schema.Struct<{
4375
4412
  readonly email: effect_Schema.Boolean;
@@ -4426,6 +4463,7 @@ declare const OnsiteAgentCompleteMemberUpdateSchema: effect_Schema.Struct<{
4426
4463
  readonly ratingGrade: effect_Schema.Union<readonly [effect_Schema.String, effect_Schema.Null]>;
4427
4464
  readonly ratingGradeId: effect_Schema.Union<readonly [effect_Schema.String, effect_Schema.Null]>;
4428
4465
  readonly sourceStatus: effect_Schema.Union<readonly [effect_Schema.String, effect_Schema.Null]>;
4466
+ readonly sourceStatusObserved: effect_Schema.optional<effect_Schema.Boolean>;
4429
4467
  readonly isSuspended: effect_Schema.optional<effect_Schema.Boolean>;
4430
4468
  readonly marketingPreferences: effect_Schema.optional<effect_Schema.Struct<{
4431
4469
  readonly email: effect_Schema.Boolean;
@@ -4491,6 +4529,7 @@ declare const OnsiteAgentCompleteMemberRenewalSchema: effect_Schema.Struct<{
4491
4529
  readonly ratingGrade: effect_Schema.Union<readonly [effect_Schema.String, effect_Schema.Null]>;
4492
4530
  readonly ratingGradeId: effect_Schema.Union<readonly [effect_Schema.String, effect_Schema.Null]>;
4493
4531
  readonly sourceStatus: effect_Schema.Union<readonly [effect_Schema.String, effect_Schema.Null]>;
4532
+ readonly sourceStatusObserved: effect_Schema.optional<effect_Schema.Boolean>;
4494
4533
  readonly isSuspended: effect_Schema.optional<effect_Schema.Boolean>;
4495
4534
  readonly marketingPreferences: effect_Schema.optional<effect_Schema.Struct<{
4496
4535
  readonly email: effect_Schema.Boolean;
@@ -4546,6 +4585,7 @@ declare const OnsiteAgentCompleteMemberLookupSchema: effect_Schema.Struct<{
4546
4585
  readonly ratingGrade: effect_Schema.Union<readonly [effect_Schema.String, effect_Schema.Null]>;
4547
4586
  readonly ratingGradeId: effect_Schema.Union<readonly [effect_Schema.String, effect_Schema.Null]>;
4548
4587
  readonly sourceStatus: effect_Schema.Union<readonly [effect_Schema.String, effect_Schema.Null]>;
4588
+ readonly sourceStatusObserved: effect_Schema.optional<effect_Schema.Boolean>;
4549
4589
  readonly isSuspended: effect_Schema.optional<effect_Schema.Boolean>;
4550
4590
  readonly marketingPreferences: effect_Schema.optional<effect_Schema.Struct<{
4551
4591
  readonly email: effect_Schema.Boolean;
@@ -4608,6 +4648,7 @@ declare const OnsiteAgentIngestLiveFbiBatchSchema: effect_Schema.Struct<{
4608
4648
  readonly ratingGrade: effect_Schema.Union<readonly [effect_Schema.String, effect_Schema.Null]>;
4609
4649
  readonly ratingGradeId: effect_Schema.Union<readonly [effect_Schema.String, effect_Schema.Null]>;
4610
4650
  readonly sourceStatus: effect_Schema.Union<readonly [effect_Schema.String, effect_Schema.Null]>;
4651
+ readonly sourceStatusObserved: effect_Schema.optional<effect_Schema.Boolean>;
4611
4652
  readonly isSuspended: effect_Schema.optional<effect_Schema.Boolean>;
4612
4653
  readonly marketingPreferences: effect_Schema.optional<effect_Schema.Struct<{
4613
4654
  readonly email: effect_Schema.Boolean;
@@ -4657,7 +4698,50 @@ declare const HubApi: HttpApi.HttpApi<"hub", HttpApiGroup.HttpApiGroup<"auth", e
4657
4698
  }> | effect_Schema.Struct<{
4658
4699
  readonly code: effect_Schema.Literal<"internal_error">;
4659
4700
  readonly message: effect_Schema.String;
4660
- }>>, never, never>, false> | HttpApiGroup.HttpApiGroup<"organizations", effect_unstable_httpapi_HttpApiEndpoint.HttpApiEndpoint<"listOrganizationProductOptions", "GET", "/v1/organization-products", never, effect_Schema.toCodecStringTree<effect_Schema.Struct<{
4701
+ }>>, never, never>, false> | HttpApiGroup.HttpApiGroup<"organizations", effect_unstable_httpapi_HttpApiEndpoint.HttpApiEndpoint<"getOrganizationCapabilities", "GET", "/v1/organizations/:organizationId/capabilities", effect_Schema.toCodecStringTree<effect_Schema.Struct<{
4702
+ readonly organizationId: effect_Schema.String;
4703
+ }>>, never, never, never, effect_Schema.toCodecJson<effect_Schema.Struct<{
4704
+ readonly organizationId: effect_Schema.String;
4705
+ readonly points: effect_Schema.Struct<{
4706
+ readonly supported: effect_Schema.Boolean;
4707
+ readonly enabled: effect_Schema.Boolean;
4708
+ readonly reason: effect_Schema.Union<readonly [effect_Schema.Literals<readonly ["not_configured", "unsupported_provider", "unsupported_transport", "source_inactive", "provider_inactive", "agent_missing", "agent_inactive", "feature_disabled", "agent_upgrade_required"]>, effect_Schema.Null]>;
4709
+ }>;
4710
+ readonly vouchers: effect_Schema.Struct<{
4711
+ readonly supported: effect_Schema.Boolean;
4712
+ readonly enabled: effect_Schema.Boolean;
4713
+ readonly reason: effect_Schema.Union<readonly [effect_Schema.Literals<readonly ["not_configured", "unsupported_provider", "unsupported_transport", "source_inactive", "provider_inactive", "agent_missing", "agent_inactive", "feature_disabled", "agent_upgrade_required"]>, effect_Schema.Null]>;
4714
+ }>;
4715
+ readonly onsiteMemberLookup: effect_Schema.Struct<{
4716
+ readonly supported: effect_Schema.Boolean;
4717
+ readonly enabled: effect_Schema.Boolean;
4718
+ readonly reason: effect_Schema.Union<readonly [effect_Schema.Literals<readonly ["not_configured", "unsupported_provider", "unsupported_transport", "source_inactive", "provider_inactive", "agent_missing", "agent_inactive", "feature_disabled", "agent_upgrade_required"]>, effect_Schema.Null]>;
4719
+ }>;
4720
+ readonly memberCreation: effect_Schema.Struct<{
4721
+ readonly mode: effect_Schema.Union<readonly [effect_Schema.Literals<readonly ["local", "source_managed"]>, effect_Schema.Null]>;
4722
+ readonly supported: effect_Schema.Boolean;
4723
+ readonly enabled: effect_Schema.Boolean;
4724
+ readonly reason: effect_Schema.Union<readonly [effect_Schema.Literals<readonly ["not_configured", "unsupported_provider", "unsupported_transport", "source_inactive", "provider_inactive", "agent_missing", "agent_inactive", "feature_disabled", "agent_upgrade_required"]>, effect_Schema.Null]>;
4725
+ }>;
4726
+ }>>, effect_Schema.toCodecJson<effect_Schema.Struct<{
4727
+ readonly code: effect_Schema.Literal<"unauthorized">;
4728
+ readonly message: effect_Schema.String;
4729
+ }> | effect_Schema.Struct<{
4730
+ readonly code: effect_Schema.Literal<"forbidden">;
4731
+ readonly message: effect_Schema.String;
4732
+ }> | effect_Schema.Struct<{
4733
+ readonly code: effect_Schema.Literal<"not_found">;
4734
+ readonly message: effect_Schema.String;
4735
+ }> | effect_Schema.Struct<{
4736
+ readonly code: effect_Schema.Literal<"conflict">;
4737
+ readonly message: effect_Schema.String;
4738
+ }> | effect_Schema.Struct<{
4739
+ readonly code: effect_Schema.Literal<"bad_request">;
4740
+ readonly message: effect_Schema.String;
4741
+ }> | effect_Schema.Struct<{
4742
+ readonly code: effect_Schema.Literal<"internal_error">;
4743
+ readonly message: effect_Schema.String;
4744
+ }>>, never, never> | effect_unstable_httpapi_HttpApiEndpoint.HttpApiEndpoint<"listOrganizationProductOptions", "GET", "/v1/organization-products", never, effect_Schema.toCodecStringTree<effect_Schema.Struct<{
4661
4745
  readonly page: effect_Schema.optional<effect_Schema.String>;
4662
4746
  readonly pageSize: effect_Schema.optional<effect_Schema.String>;
4663
4747
  }>>, never, never, effect_Schema.toCodecJson<effect_Schema.Struct<{
@@ -5404,6 +5488,142 @@ declare const HubApi: HttpApi.HttpApi<"hub", HttpApiGroup.HttpApiGroup<"auth", e
5404
5488
  }> | effect_Schema.Struct<{
5405
5489
  readonly code: effect_Schema.Literal<"internal_error">;
5406
5490
  readonly message: effect_Schema.String;
5491
+ }>>, never, never> | effect_unstable_httpapi_HttpApiEndpoint.HttpApiEndpoint<"getOrganizationMemberByExternalSystemId", "GET", "/v1/organizations/:organizationId/members/by-external-system-id/:externalSystemMemberId", effect_Schema.toCodecStringTree<effect_Schema.Struct<{
5492
+ readonly organizationId: effect_Schema.String;
5493
+ readonly externalSystemMemberId: effect_Schema.String;
5494
+ }>>, effect_Schema.toCodecStringTree<effect_Schema.Struct<{
5495
+ readonly responseMode: effect_Schema.optional<effect_Schema.Literals<readonly ["full", "med", "basic"]>>;
5496
+ }>>, never, never, effect_Schema.toCodecJson<effect_Schema.Union<readonly [effect_Schema.Struct<{
5497
+ readonly email: effect_Schema.Union<readonly [effect_Schema.String, effect_Schema.Null]>;
5498
+ readonly title: effect_Schema.Union<readonly [effect_Schema.String, effect_Schema.Null]>;
5499
+ readonly firstName: effect_Schema.String;
5500
+ readonly middleName: effect_Schema.Union<readonly [effect_Schema.String, effect_Schema.Null]>;
5501
+ readonly lastName: effect_Schema.String;
5502
+ readonly displayName: effect_Schema.String;
5503
+ readonly dob: effect_Schema.Union<readonly [effect_Schema.String, effect_Schema.Null]>;
5504
+ readonly gender: effect_Schema.Union<readonly [effect_Schema.String, effect_Schema.Null]>;
5505
+ readonly mobilePhone: effect_Schema.Union<readonly [effect_Schema.String, effect_Schema.Null]>;
5506
+ readonly homePhone: effect_Schema.Union<readonly [effect_Schema.String, effect_Schema.Null]>;
5507
+ readonly preferredContactMethod: effect_Schema.Union<readonly [effect_Schema.Literals<readonly ["sms", "email"]>, effect_Schema.Null]>;
5508
+ readonly occupation: effect_Schema.Union<readonly [effect_Schema.String, effect_Schema.Null]>;
5509
+ readonly address: effect_Schema.Union<readonly [effect_Schema.String, effect_Schema.Null]>;
5510
+ readonly addressParts: effect_Schema.Union<readonly [effect_Schema.Struct<{
5511
+ readonly line1: effect_Schema.Union<readonly [effect_Schema.String, effect_Schema.Null]>;
5512
+ readonly line2: effect_Schema.Union<readonly [effect_Schema.String, effect_Schema.Null]>;
5513
+ readonly suburb: effect_Schema.Union<readonly [effect_Schema.String, effect_Schema.Null]>;
5514
+ readonly state: effect_Schema.Union<readonly [effect_Schema.String, effect_Schema.Null]>;
5515
+ readonly postalCode: effect_Schema.Union<readonly [effect_Schema.String, effect_Schema.Null]>;
5516
+ readonly country: effect_Schema.Union<readonly [effect_Schema.String, effect_Schema.Null]>;
5517
+ }>, effect_Schema.Null]>;
5518
+ readonly postalAddress: effect_Schema.Union<readonly [effect_Schema.String, effect_Schema.Null]>;
5519
+ readonly postalAddressParts: effect_Schema.Union<readonly [effect_Schema.Struct<{
5520
+ readonly line1: effect_Schema.Union<readonly [effect_Schema.String, effect_Schema.Null]>;
5521
+ readonly line2: effect_Schema.Union<readonly [effect_Schema.String, effect_Schema.Null]>;
5522
+ readonly suburb: effect_Schema.Union<readonly [effect_Schema.String, effect_Schema.Null]>;
5523
+ readonly state: effect_Schema.Union<readonly [effect_Schema.String, effect_Schema.Null]>;
5524
+ readonly postalCode: effect_Schema.Union<readonly [effect_Schema.String, effect_Schema.Null]>;
5525
+ readonly country: effect_Schema.Union<readonly [effect_Schema.String, effect_Schema.Null]>;
5526
+ }>, effect_Schema.Null]>;
5527
+ readonly membershipType: effect_Schema.Union<readonly [effect_Schema.String, effect_Schema.Null]>;
5528
+ readonly membershipTypeId: effect_Schema.Union<readonly [effect_Schema.String, effect_Schema.Null]>;
5529
+ readonly ratingGrade: effect_Schema.Union<readonly [effect_Schema.String, effect_Schema.Null]>;
5530
+ readonly ratingGradeId: effect_Schema.Union<readonly [effect_Schema.String, effect_Schema.Null]>;
5531
+ readonly marketingPreferences: effect_Schema.Struct<{
5532
+ readonly email: effect_Schema.Boolean;
5533
+ readonly sms: effect_Schema.Boolean;
5534
+ readonly post: effect_Schema.Boolean;
5535
+ readonly gamingEmail: effect_Schema.Boolean;
5536
+ readonly gamingSms: effect_Schema.Boolean;
5537
+ readonly gamingOptOut: effect_Schema.Boolean;
5538
+ }>;
5539
+ readonly expiresAt: effect_Schema.Union<readonly [effect_Schema.String, effect_Schema.Null]>;
5540
+ readonly statusCredits: effect_Schema.Number;
5541
+ readonly memberNumber: effect_Schema.Union<readonly [effect_Schema.String, effect_Schema.Null]>;
5542
+ readonly externalSystemMemberId: effect_Schema.Union<readonly [effect_Schema.String, effect_Schema.Null]>;
5543
+ readonly cardId: effect_Schema.Union<readonly [effect_Schema.String, effect_Schema.Null]>;
5544
+ readonly customFields: effect_Schema.$Record<effect_Schema.String, effect_Schema.Unknown>;
5545
+ readonly createdAt: effect_Schema.String;
5546
+ readonly updatedAt: effect_Schema.String;
5547
+ readonly deletedAt: effect_Schema.Union<readonly [effect_Schema.String, effect_Schema.Null]>;
5548
+ readonly responseMode: effect_Schema.Literal<"full">;
5549
+ readonly sourceStatus: effect_Schema.Union<readonly [effect_Schema.String, effect_Schema.Null]>;
5550
+ readonly sourceStatusObservedAt: effect_Schema.Union<readonly [effect_Schema.String, effect_Schema.Null]>;
5551
+ readonly renewalRequired: effect_Schema.Union<readonly [effect_Schema.Boolean, effect_Schema.Null]>;
5552
+ readonly id: effect_Schema.String;
5553
+ readonly organizationId: effect_Schema.String;
5554
+ readonly organizationMemberSourceId: effect_Schema.Union<readonly [effect_Schema.String, effect_Schema.Null]>;
5555
+ readonly status: effect_Schema.Literals<readonly ["active", "active-expired", "suspended", "expired", "archived"]>;
5556
+ readonly isSuspended: effect_Schema.Boolean;
5557
+ readonly recordMode: effect_Schema.Literals<readonly ["local", "source_managed"]>;
5558
+ readonly createdOrigin: effect_Schema.Literals<readonly ["hub_admin", "service_api", "seed", "source_sync", "source_create"]>;
5559
+ readonly createdOriginName: effect_Schema.Union<readonly [effect_Schema.String, effect_Schema.Null]>;
5560
+ readonly seedBatchId: effect_Schema.Union<readonly [effect_Schema.String, effect_Schema.Null]>;
5561
+ readonly archivedAt: effect_Schema.Union<readonly [effect_Schema.String, effect_Schema.Null]>;
5562
+ readonly joinedAt: effect_Schema.Union<readonly [effect_Schema.String, effect_Schema.Null]>;
5563
+ readonly sourceUpdatedAt: effect_Schema.Union<readonly [effect_Schema.String, effect_Schema.Null]>;
5564
+ }>, effect_Schema.Struct<{
5565
+ readonly displayName: effect_Schema.String;
5566
+ readonly dob: effect_Schema.Union<readonly [effect_Schema.String, effect_Schema.Null]>;
5567
+ readonly email: effect_Schema.Union<readonly [effect_Schema.String, effect_Schema.Null]>;
5568
+ readonly preferredContactMethod: effect_Schema.Union<readonly [effect_Schema.Literals<readonly ["sms", "email"]>, effect_Schema.Null]>;
5569
+ readonly occupation: effect_Schema.Union<readonly [effect_Schema.String, effect_Schema.Null]>;
5570
+ readonly joinedAt: effect_Schema.Union<readonly [effect_Schema.String, effect_Schema.Null]>;
5571
+ readonly address: effect_Schema.Union<readonly [effect_Schema.String, effect_Schema.Null]>;
5572
+ readonly addressParts: effect_Schema.Union<readonly [effect_Schema.Struct<{
5573
+ readonly line1: effect_Schema.Union<readonly [effect_Schema.String, effect_Schema.Null]>;
5574
+ readonly line2: effect_Schema.Union<readonly [effect_Schema.String, effect_Schema.Null]>;
5575
+ readonly suburb: effect_Schema.Union<readonly [effect_Schema.String, effect_Schema.Null]>;
5576
+ readonly state: effect_Schema.Union<readonly [effect_Schema.String, effect_Schema.Null]>;
5577
+ readonly postalCode: effect_Schema.Union<readonly [effect_Schema.String, effect_Schema.Null]>;
5578
+ readonly country: effect_Schema.Union<readonly [effect_Schema.String, effect_Schema.Null]>;
5579
+ }>, effect_Schema.Null]>;
5580
+ readonly membershipType: effect_Schema.Union<readonly [effect_Schema.String, effect_Schema.Null]>;
5581
+ readonly membershipTypeId: effect_Schema.Union<readonly [effect_Schema.String, effect_Schema.Null]>;
5582
+ readonly ratingGrade: effect_Schema.Union<readonly [effect_Schema.String, effect_Schema.Null]>;
5583
+ readonly ratingGradeId: effect_Schema.Union<readonly [effect_Schema.String, effect_Schema.Null]>;
5584
+ readonly statusCredits: effect_Schema.Number;
5585
+ readonly memberNumber: effect_Schema.Union<readonly [effect_Schema.String, effect_Schema.Null]>;
5586
+ readonly externalSystemMemberId: effect_Schema.Union<readonly [effect_Schema.String, effect_Schema.Null]>;
5587
+ readonly cardId: effect_Schema.Union<readonly [effect_Schema.String, effect_Schema.Null]>;
5588
+ readonly customFields: effect_Schema.$Record<effect_Schema.String, effect_Schema.Unknown>;
5589
+ readonly updatedAt: effect_Schema.String;
5590
+ readonly responseMode: effect_Schema.Literal<"med">;
5591
+ readonly sourceStatus: effect_Schema.Union<readonly [effect_Schema.String, effect_Schema.Null]>;
5592
+ readonly sourceStatusObservedAt: effect_Schema.Union<readonly [effect_Schema.String, effect_Schema.Null]>;
5593
+ readonly renewalRequired: effect_Schema.Union<readonly [effect_Schema.Boolean, effect_Schema.Null]>;
5594
+ readonly id: effect_Schema.String;
5595
+ readonly organizationId: effect_Schema.String;
5596
+ readonly status: effect_Schema.Literals<readonly ["active", "active-expired", "suspended", "expired", "archived"]>;
5597
+ readonly isSuspended: effect_Schema.Boolean;
5598
+ }>, effect_Schema.Struct<{
5599
+ readonly responseMode: effect_Schema.Literal<"basic">;
5600
+ readonly statusCredits: effect_Schema.Number;
5601
+ readonly memberNumber: effect_Schema.Union<readonly [effect_Schema.String, effect_Schema.Null]>;
5602
+ readonly sourceStatus: effect_Schema.Union<readonly [effect_Schema.String, effect_Schema.Null]>;
5603
+ readonly sourceStatusObservedAt: effect_Schema.Union<readonly [effect_Schema.String, effect_Schema.Null]>;
5604
+ readonly renewalRequired: effect_Schema.Union<readonly [effect_Schema.Boolean, effect_Schema.Null]>;
5605
+ readonly id: effect_Schema.String;
5606
+ readonly status: effect_Schema.Literals<readonly ["active", "active-expired", "suspended", "expired", "archived"]>;
5607
+ readonly displayName: effect_Schema.String;
5608
+ readonly dob: effect_Schema.Union<readonly [effect_Schema.String, effect_Schema.Null]>;
5609
+ }>]>>, effect_Schema.toCodecJson<effect_Schema.Struct<{
5610
+ readonly code: effect_Schema.Literal<"unauthorized">;
5611
+ readonly message: effect_Schema.String;
5612
+ }> | effect_Schema.Struct<{
5613
+ readonly code: effect_Schema.Literal<"forbidden">;
5614
+ readonly message: effect_Schema.String;
5615
+ }> | effect_Schema.Struct<{
5616
+ readonly code: effect_Schema.Literal<"not_found">;
5617
+ readonly message: effect_Schema.String;
5618
+ }> | effect_Schema.Struct<{
5619
+ readonly code: effect_Schema.Literal<"conflict">;
5620
+ readonly message: effect_Schema.String;
5621
+ }> | effect_Schema.Struct<{
5622
+ readonly code: effect_Schema.Literal<"bad_request">;
5623
+ readonly message: effect_Schema.String;
5624
+ }> | effect_Schema.Struct<{
5625
+ readonly code: effect_Schema.Literal<"internal_error">;
5626
+ readonly message: effect_Schema.String;
5407
5627
  }>>, never, never> | effect_unstable_httpapi_HttpApiEndpoint.HttpApiEndpoint<"getOrganizationMember", "GET", "/v1/organizations/:organizationId/members/:memberId", effect_Schema.toCodecStringTree<effect_Schema.Struct<{
5408
5628
  readonly organizationId: effect_Schema.String;
5409
5629
  readonly memberId: effect_Schema.String;
@@ -9550,6 +9770,7 @@ declare const HubApi: HttpApi.HttpApi<"hub", HttpApiGroup.HttpApiGroup<"auth", e
9550
9770
  readonly ratingGrade: effect_Schema.Union<readonly [effect_Schema.String, effect_Schema.Null]>;
9551
9771
  readonly ratingGradeId: effect_Schema.Union<readonly [effect_Schema.String, effect_Schema.Null]>;
9552
9772
  readonly sourceStatus: effect_Schema.Union<readonly [effect_Schema.String, effect_Schema.Null]>;
9773
+ readonly sourceStatusObserved: effect_Schema.optional<effect_Schema.Boolean>;
9553
9774
  readonly isSuspended: effect_Schema.optional<effect_Schema.Boolean>;
9554
9775
  readonly marketingPreferences: effect_Schema.optional<effect_Schema.Struct<{
9555
9776
  readonly email: effect_Schema.Boolean;
@@ -10143,6 +10364,7 @@ declare const HubApi: HttpApi.HttpApi<"hub", HttpApiGroup.HttpApiGroup<"auth", e
10143
10364
  readonly ratingGrade: effect_Schema.Union<readonly [effect_Schema.String, effect_Schema.Null]>;
10144
10365
  readonly ratingGradeId: effect_Schema.Union<readonly [effect_Schema.String, effect_Schema.Null]>;
10145
10366
  readonly sourceStatus: effect_Schema.Union<readonly [effect_Schema.String, effect_Schema.Null]>;
10367
+ readonly sourceStatusObserved: effect_Schema.optional<effect_Schema.Boolean>;
10146
10368
  readonly isSuspended: effect_Schema.optional<effect_Schema.Boolean>;
10147
10369
  readonly marketingPreferences: effect_Schema.optional<effect_Schema.Struct<{
10148
10370
  readonly email: effect_Schema.Boolean;
@@ -10278,6 +10500,7 @@ declare const HubApi: HttpApi.HttpApi<"hub", HttpApiGroup.HttpApiGroup<"auth", e
10278
10500
  readonly ratingGrade: effect_Schema.Union<readonly [effect_Schema.String, effect_Schema.Null]>;
10279
10501
  readonly ratingGradeId: effect_Schema.Union<readonly [effect_Schema.String, effect_Schema.Null]>;
10280
10502
  readonly sourceStatus: effect_Schema.Union<readonly [effect_Schema.String, effect_Schema.Null]>;
10503
+ readonly sourceStatusObserved: effect_Schema.optional<effect_Schema.Boolean>;
10281
10504
  readonly isSuspended: effect_Schema.optional<effect_Schema.Boolean>;
10282
10505
  readonly marketingPreferences: effect_Schema.optional<effect_Schema.Struct<{
10283
10506
  readonly email: effect_Schema.Boolean;
@@ -10383,6 +10606,7 @@ declare const HubApi: HttpApi.HttpApi<"hub", HttpApiGroup.HttpApiGroup<"auth", e
10383
10606
  readonly membershipType: effect_Schema.Union<readonly [effect_Schema.String, effect_Schema.Null]>;
10384
10607
  readonly ratingGrade: effect_Schema.Union<readonly [effect_Schema.String, effect_Schema.Null]>;
10385
10608
  readonly ratingGradeId: effect_Schema.Union<readonly [effect_Schema.String, effect_Schema.Null]>;
10609
+ readonly sourceStatusObserved: effect_Schema.optional<effect_Schema.Boolean>;
10386
10610
  readonly isSuspended: effect_Schema.optional<effect_Schema.Boolean>;
10387
10611
  readonly marketingPreferences: effect_Schema.optional<effect_Schema.Struct<{
10388
10612
  readonly email: effect_Schema.Boolean;
@@ -10437,6 +10661,7 @@ declare const HubApi: HttpApi.HttpApi<"hub", HttpApiGroup.HttpApiGroup<"auth", e
10437
10661
  readonly membershipType: effect_Schema.Union<readonly [effect_Schema.String, effect_Schema.Null]>;
10438
10662
  readonly ratingGrade: effect_Schema.Union<readonly [effect_Schema.String, effect_Schema.Null]>;
10439
10663
  readonly ratingGradeId: effect_Schema.Union<readonly [effect_Schema.String, effect_Schema.Null]>;
10664
+ readonly sourceStatusObserved: effect_Schema.optional<effect_Schema.Boolean>;
10440
10665
  readonly isSuspended: effect_Schema.optional<effect_Schema.Boolean>;
10441
10666
  readonly marketingPreferences: effect_Schema.optional<effect_Schema.Struct<{
10442
10667
  readonly email: effect_Schema.Boolean;
@@ -10774,6 +10999,7 @@ declare const HubApi: HttpApi.HttpApi<"hub", HttpApiGroup.HttpApiGroup<"auth", e
10774
10999
  readonly ratingGrade: effect_Schema.Union<readonly [effect_Schema.String, effect_Schema.Null]>;
10775
11000
  readonly ratingGradeId: effect_Schema.Union<readonly [effect_Schema.String, effect_Schema.Null]>;
10776
11001
  readonly sourceStatus: effect_Schema.Union<readonly [effect_Schema.String, effect_Schema.Null]>;
11002
+ readonly sourceStatusObserved: effect_Schema.optional<effect_Schema.Boolean>;
10777
11003
  readonly isSuspended: effect_Schema.optional<effect_Schema.Boolean>;
10778
11004
  readonly marketingPreferences: effect_Schema.optional<effect_Schema.Struct<{
10779
11005
  readonly email: effect_Schema.Boolean;
@@ -10874,6 +11100,7 @@ declare const HubApi: HttpApi.HttpApi<"hub", HttpApiGroup.HttpApiGroup<"auth", e
10874
11100
  readonly ratingGrade: effect_Schema.Union<readonly [effect_Schema.String, effect_Schema.Null]>;
10875
11101
  readonly ratingGradeId: effect_Schema.Union<readonly [effect_Schema.String, effect_Schema.Null]>;
10876
11102
  readonly sourceStatus: effect_Schema.Union<readonly [effect_Schema.String, effect_Schema.Null]>;
11103
+ readonly sourceStatusObserved: effect_Schema.optional<effect_Schema.Boolean>;
10877
11104
  readonly isSuspended: effect_Schema.optional<effect_Schema.Boolean>;
10878
11105
  readonly marketingPreferences: effect_Schema.optional<effect_Schema.Struct<{
10879
11106
  readonly email: effect_Schema.Boolean;
@@ -10974,6 +11201,7 @@ declare const HubApi: HttpApi.HttpApi<"hub", HttpApiGroup.HttpApiGroup<"auth", e
10974
11201
  readonly ratingGrade: effect_Schema.Union<readonly [effect_Schema.String, effect_Schema.Null]>;
10975
11202
  readonly ratingGradeId: effect_Schema.Union<readonly [effect_Schema.String, effect_Schema.Null]>;
10976
11203
  readonly sourceStatus: effect_Schema.Union<readonly [effect_Schema.String, effect_Schema.Null]>;
11204
+ readonly sourceStatusObserved: effect_Schema.optional<effect_Schema.Boolean>;
10977
11205
  readonly isSuspended: effect_Schema.optional<effect_Schema.Boolean>;
10978
11206
  readonly marketingPreferences: effect_Schema.optional<effect_Schema.Struct<{
10979
11207
  readonly email: effect_Schema.Boolean;
@@ -11064,6 +11292,7 @@ declare const HubApi: HttpApi.HttpApi<"hub", HttpApiGroup.HttpApiGroup<"auth", e
11064
11292
  readonly ratingGrade: effect_Schema.Union<readonly [effect_Schema.String, effect_Schema.Null]>;
11065
11293
  readonly ratingGradeId: effect_Schema.Union<readonly [effect_Schema.String, effect_Schema.Null]>;
11066
11294
  readonly sourceStatus: effect_Schema.Union<readonly [effect_Schema.String, effect_Schema.Null]>;
11295
+ readonly sourceStatusObserved: effect_Schema.optional<effect_Schema.Boolean>;
11067
11296
  readonly isSuspended: effect_Schema.optional<effect_Schema.Boolean>;
11068
11297
  readonly marketingPreferences: effect_Schema.optional<effect_Schema.Struct<{
11069
11298
  readonly email: effect_Schema.Boolean;
@@ -11708,6 +11937,8 @@ type OnsiteAgentCompleteMemberRenewalInput = effect_Schema.Schema.Type<typeof On
11708
11937
  type OnsiteAgentCompleteMemberLookupInput = effect_Schema.Schema.Type<typeof OnsiteAgentCompleteMemberLookupSchema>;
11709
11938
  type OnsiteAgentCompleteCustomFieldsInput = effect_Schema.Schema.Type<typeof OnsiteAgentCompleteCustomFieldsSchema>;
11710
11939
  type DeletePayload = effect_Schema.Schema.Type<typeof DeletePayloadSchema>;
11940
+ type OrganizationCapabilities = effect_Schema.Schema.Type<typeof OrganizationCapabilitiesSchema>;
11941
+ type OrganizationCapability = effect_Schema.Schema.Type<typeof OrganizationCapabilitySchema>;
11711
11942
 
11712
11943
  type HubApiGroups = typeof HubApi extends HttpApi.HttpApi<any, infer Groups> ? Groups : never;
11713
11944
  type HubApiClient = HttpApiClient.Client<HubApiGroups>;
@@ -11800,6 +12031,50 @@ declare const makeHubApiClient: (options: HubApiClientOptions) => Effect.Effect<
11800
12031
  }>>, never, never>, never, never>;
11801
12032
  };
11802
12033
  readonly organizations: {
12034
+ readonly getOrganizationCapabilities: HttpApiClient.Client.Method<effect_unstable_httpapi_HttpApiEndpoint.HttpApiEndpoint<"getOrganizationCapabilities", "GET", "/v1/organizations/:organizationId/capabilities", effect_Schema.toCodecStringTree<effect_Schema.Struct<{
12035
+ readonly organizationId: effect_Schema.String;
12036
+ }>>, never, never, never, effect_Schema.toCodecJson<effect_Schema.Struct<{
12037
+ readonly organizationId: effect_Schema.String;
12038
+ readonly points: effect_Schema.Struct<{
12039
+ readonly supported: effect_Schema.Boolean;
12040
+ readonly enabled: effect_Schema.Boolean;
12041
+ readonly reason: effect_Schema.Union<readonly [effect_Schema.Literals<readonly ["not_configured", "unsupported_provider", "unsupported_transport", "source_inactive", "provider_inactive", "agent_missing", "agent_inactive", "feature_disabled", "agent_upgrade_required"]>, effect_Schema.Null]>;
12042
+ }>;
12043
+ readonly vouchers: effect_Schema.Struct<{
12044
+ readonly supported: effect_Schema.Boolean;
12045
+ readonly enabled: effect_Schema.Boolean;
12046
+ readonly reason: effect_Schema.Union<readonly [effect_Schema.Literals<readonly ["not_configured", "unsupported_provider", "unsupported_transport", "source_inactive", "provider_inactive", "agent_missing", "agent_inactive", "feature_disabled", "agent_upgrade_required"]>, effect_Schema.Null]>;
12047
+ }>;
12048
+ readonly onsiteMemberLookup: effect_Schema.Struct<{
12049
+ readonly supported: effect_Schema.Boolean;
12050
+ readonly enabled: effect_Schema.Boolean;
12051
+ readonly reason: effect_Schema.Union<readonly [effect_Schema.Literals<readonly ["not_configured", "unsupported_provider", "unsupported_transport", "source_inactive", "provider_inactive", "agent_missing", "agent_inactive", "feature_disabled", "agent_upgrade_required"]>, effect_Schema.Null]>;
12052
+ }>;
12053
+ readonly memberCreation: effect_Schema.Struct<{
12054
+ readonly mode: effect_Schema.Union<readonly [effect_Schema.Literals<readonly ["local", "source_managed"]>, effect_Schema.Null]>;
12055
+ readonly supported: effect_Schema.Boolean;
12056
+ readonly enabled: effect_Schema.Boolean;
12057
+ readonly reason: effect_Schema.Union<readonly [effect_Schema.Literals<readonly ["not_configured", "unsupported_provider", "unsupported_transport", "source_inactive", "provider_inactive", "agent_missing", "agent_inactive", "feature_disabled", "agent_upgrade_required"]>, effect_Schema.Null]>;
12058
+ }>;
12059
+ }>>, effect_Schema.toCodecJson<effect_Schema.Struct<{
12060
+ readonly code: effect_Schema.Literal<"unauthorized">;
12061
+ readonly message: effect_Schema.String;
12062
+ }> | effect_Schema.Struct<{
12063
+ readonly code: effect_Schema.Literal<"forbidden">;
12064
+ readonly message: effect_Schema.String;
12065
+ }> | effect_Schema.Struct<{
12066
+ readonly code: effect_Schema.Literal<"not_found">;
12067
+ readonly message: effect_Schema.String;
12068
+ }> | effect_Schema.Struct<{
12069
+ readonly code: effect_Schema.Literal<"conflict">;
12070
+ readonly message: effect_Schema.String;
12071
+ }> | effect_Schema.Struct<{
12072
+ readonly code: effect_Schema.Literal<"bad_request">;
12073
+ readonly message: effect_Schema.String;
12074
+ }> | effect_Schema.Struct<{
12075
+ readonly code: effect_Schema.Literal<"internal_error">;
12076
+ readonly message: effect_Schema.String;
12077
+ }>>, never, never>, never, never>;
11803
12078
  readonly listOrganizationProductOptions: HttpApiClient.Client.Method<effect_unstable_httpapi_HttpApiEndpoint.HttpApiEndpoint<"listOrganizationProductOptions", "GET", "/v1/organization-products", never, effect_Schema.toCodecStringTree<effect_Schema.Struct<{
11804
12079
  readonly page: effect_Schema.optional<effect_Schema.String>;
11805
12080
  readonly pageSize: effect_Schema.optional<effect_Schema.String>;
@@ -12565,6 +12840,143 @@ declare const makeHubApiClient: (options: HubApiClientOptions) => Effect.Effect<
12565
12840
  readonly code: effect_Schema.Literal<"internal_error">;
12566
12841
  readonly message: effect_Schema.String;
12567
12842
  }>>, never, never>, never, never>;
12843
+ readonly getOrganizationMemberByExternalSystemId: HttpApiClient.Client.Method<effect_unstable_httpapi_HttpApiEndpoint.HttpApiEndpoint<"getOrganizationMemberByExternalSystemId", "GET", "/v1/organizations/:organizationId/members/by-external-system-id/:externalSystemMemberId", effect_Schema.toCodecStringTree<effect_Schema.Struct<{
12844
+ readonly organizationId: effect_Schema.String;
12845
+ readonly externalSystemMemberId: effect_Schema.String;
12846
+ }>>, effect_Schema.toCodecStringTree<effect_Schema.Struct<{
12847
+ readonly responseMode: effect_Schema.optional<effect_Schema.Literals<readonly ["full", "med", "basic"]>>;
12848
+ }>>, never, never, effect_Schema.toCodecJson<effect_Schema.Union<readonly [effect_Schema.Struct<{
12849
+ readonly email: effect_Schema.Union<readonly [effect_Schema.String, effect_Schema.Null]>;
12850
+ readonly title: effect_Schema.Union<readonly [effect_Schema.String, effect_Schema.Null]>;
12851
+ readonly firstName: effect_Schema.String;
12852
+ readonly middleName: effect_Schema.Union<readonly [effect_Schema.String, effect_Schema.Null]>;
12853
+ readonly lastName: effect_Schema.String;
12854
+ readonly displayName: effect_Schema.String;
12855
+ readonly dob: effect_Schema.Union<readonly [effect_Schema.String, effect_Schema.Null]>;
12856
+ readonly gender: effect_Schema.Union<readonly [effect_Schema.String, effect_Schema.Null]>;
12857
+ readonly mobilePhone: effect_Schema.Union<readonly [effect_Schema.String, effect_Schema.Null]>;
12858
+ readonly homePhone: effect_Schema.Union<readonly [effect_Schema.String, effect_Schema.Null]>;
12859
+ readonly preferredContactMethod: effect_Schema.Union<readonly [effect_Schema.Literals<readonly ["sms", "email"]>, effect_Schema.Null]>;
12860
+ readonly occupation: effect_Schema.Union<readonly [effect_Schema.String, effect_Schema.Null]>;
12861
+ readonly address: effect_Schema.Union<readonly [effect_Schema.String, effect_Schema.Null]>;
12862
+ readonly addressParts: effect_Schema.Union<readonly [effect_Schema.Struct<{
12863
+ readonly line1: effect_Schema.Union<readonly [effect_Schema.String, effect_Schema.Null]>;
12864
+ readonly line2: effect_Schema.Union<readonly [effect_Schema.String, effect_Schema.Null]>;
12865
+ readonly suburb: effect_Schema.Union<readonly [effect_Schema.String, effect_Schema.Null]>;
12866
+ readonly state: effect_Schema.Union<readonly [effect_Schema.String, effect_Schema.Null]>;
12867
+ readonly postalCode: effect_Schema.Union<readonly [effect_Schema.String, effect_Schema.Null]>;
12868
+ readonly country: effect_Schema.Union<readonly [effect_Schema.String, effect_Schema.Null]>;
12869
+ }>, effect_Schema.Null]>;
12870
+ readonly postalAddress: effect_Schema.Union<readonly [effect_Schema.String, effect_Schema.Null]>;
12871
+ readonly postalAddressParts: effect_Schema.Union<readonly [effect_Schema.Struct<{
12872
+ readonly line1: effect_Schema.Union<readonly [effect_Schema.String, effect_Schema.Null]>;
12873
+ readonly line2: effect_Schema.Union<readonly [effect_Schema.String, effect_Schema.Null]>;
12874
+ readonly suburb: effect_Schema.Union<readonly [effect_Schema.String, effect_Schema.Null]>;
12875
+ readonly state: effect_Schema.Union<readonly [effect_Schema.String, effect_Schema.Null]>;
12876
+ readonly postalCode: effect_Schema.Union<readonly [effect_Schema.String, effect_Schema.Null]>;
12877
+ readonly country: effect_Schema.Union<readonly [effect_Schema.String, effect_Schema.Null]>;
12878
+ }>, effect_Schema.Null]>;
12879
+ readonly membershipType: effect_Schema.Union<readonly [effect_Schema.String, effect_Schema.Null]>;
12880
+ readonly membershipTypeId: effect_Schema.Union<readonly [effect_Schema.String, effect_Schema.Null]>;
12881
+ readonly ratingGrade: effect_Schema.Union<readonly [effect_Schema.String, effect_Schema.Null]>;
12882
+ readonly ratingGradeId: effect_Schema.Union<readonly [effect_Schema.String, effect_Schema.Null]>;
12883
+ readonly marketingPreferences: effect_Schema.Struct<{
12884
+ readonly email: effect_Schema.Boolean;
12885
+ readonly sms: effect_Schema.Boolean;
12886
+ readonly post: effect_Schema.Boolean;
12887
+ readonly gamingEmail: effect_Schema.Boolean;
12888
+ readonly gamingSms: effect_Schema.Boolean;
12889
+ readonly gamingOptOut: effect_Schema.Boolean;
12890
+ }>;
12891
+ readonly expiresAt: effect_Schema.Union<readonly [effect_Schema.String, effect_Schema.Null]>;
12892
+ readonly statusCredits: effect_Schema.Number;
12893
+ readonly memberNumber: effect_Schema.Union<readonly [effect_Schema.String, effect_Schema.Null]>;
12894
+ readonly externalSystemMemberId: effect_Schema.Union<readonly [effect_Schema.String, effect_Schema.Null]>;
12895
+ readonly cardId: effect_Schema.Union<readonly [effect_Schema.String, effect_Schema.Null]>;
12896
+ readonly customFields: effect_Schema.$Record<effect_Schema.String, effect_Schema.Unknown>;
12897
+ readonly createdAt: effect_Schema.String;
12898
+ readonly updatedAt: effect_Schema.String;
12899
+ readonly deletedAt: effect_Schema.Union<readonly [effect_Schema.String, effect_Schema.Null]>;
12900
+ readonly responseMode: effect_Schema.Literal<"full">;
12901
+ readonly sourceStatus: effect_Schema.Union<readonly [effect_Schema.String, effect_Schema.Null]>;
12902
+ readonly sourceStatusObservedAt: effect_Schema.Union<readonly [effect_Schema.String, effect_Schema.Null]>;
12903
+ readonly renewalRequired: effect_Schema.Union<readonly [effect_Schema.Boolean, effect_Schema.Null]>;
12904
+ readonly id: effect_Schema.String;
12905
+ readonly organizationId: effect_Schema.String;
12906
+ readonly organizationMemberSourceId: effect_Schema.Union<readonly [effect_Schema.String, effect_Schema.Null]>;
12907
+ readonly status: effect_Schema.Literals<readonly ["active", "active-expired", "suspended", "expired", "archived"]>;
12908
+ readonly isSuspended: effect_Schema.Boolean;
12909
+ readonly recordMode: effect_Schema.Literals<readonly ["local", "source_managed"]>;
12910
+ readonly createdOrigin: effect_Schema.Literals<readonly ["hub_admin", "service_api", "seed", "source_sync", "source_create"]>;
12911
+ readonly createdOriginName: effect_Schema.Union<readonly [effect_Schema.String, effect_Schema.Null]>;
12912
+ readonly seedBatchId: effect_Schema.Union<readonly [effect_Schema.String, effect_Schema.Null]>;
12913
+ readonly archivedAt: effect_Schema.Union<readonly [effect_Schema.String, effect_Schema.Null]>;
12914
+ readonly joinedAt: effect_Schema.Union<readonly [effect_Schema.String, effect_Schema.Null]>;
12915
+ readonly sourceUpdatedAt: effect_Schema.Union<readonly [effect_Schema.String, effect_Schema.Null]>;
12916
+ }>, effect_Schema.Struct<{
12917
+ readonly displayName: effect_Schema.String;
12918
+ readonly dob: effect_Schema.Union<readonly [effect_Schema.String, effect_Schema.Null]>;
12919
+ readonly email: effect_Schema.Union<readonly [effect_Schema.String, effect_Schema.Null]>;
12920
+ readonly preferredContactMethod: effect_Schema.Union<readonly [effect_Schema.Literals<readonly ["sms", "email"]>, effect_Schema.Null]>;
12921
+ readonly occupation: effect_Schema.Union<readonly [effect_Schema.String, effect_Schema.Null]>;
12922
+ readonly joinedAt: effect_Schema.Union<readonly [effect_Schema.String, effect_Schema.Null]>;
12923
+ readonly address: effect_Schema.Union<readonly [effect_Schema.String, effect_Schema.Null]>;
12924
+ readonly addressParts: effect_Schema.Union<readonly [effect_Schema.Struct<{
12925
+ readonly line1: effect_Schema.Union<readonly [effect_Schema.String, effect_Schema.Null]>;
12926
+ readonly line2: effect_Schema.Union<readonly [effect_Schema.String, effect_Schema.Null]>;
12927
+ readonly suburb: effect_Schema.Union<readonly [effect_Schema.String, effect_Schema.Null]>;
12928
+ readonly state: effect_Schema.Union<readonly [effect_Schema.String, effect_Schema.Null]>;
12929
+ readonly postalCode: effect_Schema.Union<readonly [effect_Schema.String, effect_Schema.Null]>;
12930
+ readonly country: effect_Schema.Union<readonly [effect_Schema.String, effect_Schema.Null]>;
12931
+ }>, effect_Schema.Null]>;
12932
+ readonly membershipType: effect_Schema.Union<readonly [effect_Schema.String, effect_Schema.Null]>;
12933
+ readonly membershipTypeId: effect_Schema.Union<readonly [effect_Schema.String, effect_Schema.Null]>;
12934
+ readonly ratingGrade: effect_Schema.Union<readonly [effect_Schema.String, effect_Schema.Null]>;
12935
+ readonly ratingGradeId: effect_Schema.Union<readonly [effect_Schema.String, effect_Schema.Null]>;
12936
+ readonly statusCredits: effect_Schema.Number;
12937
+ readonly memberNumber: effect_Schema.Union<readonly [effect_Schema.String, effect_Schema.Null]>;
12938
+ readonly externalSystemMemberId: effect_Schema.Union<readonly [effect_Schema.String, effect_Schema.Null]>;
12939
+ readonly cardId: effect_Schema.Union<readonly [effect_Schema.String, effect_Schema.Null]>;
12940
+ readonly customFields: effect_Schema.$Record<effect_Schema.String, effect_Schema.Unknown>;
12941
+ readonly updatedAt: effect_Schema.String;
12942
+ readonly responseMode: effect_Schema.Literal<"med">;
12943
+ readonly sourceStatus: effect_Schema.Union<readonly [effect_Schema.String, effect_Schema.Null]>;
12944
+ readonly sourceStatusObservedAt: effect_Schema.Union<readonly [effect_Schema.String, effect_Schema.Null]>;
12945
+ readonly renewalRequired: effect_Schema.Union<readonly [effect_Schema.Boolean, effect_Schema.Null]>;
12946
+ readonly id: effect_Schema.String;
12947
+ readonly organizationId: effect_Schema.String;
12948
+ readonly status: effect_Schema.Literals<readonly ["active", "active-expired", "suspended", "expired", "archived"]>;
12949
+ readonly isSuspended: effect_Schema.Boolean;
12950
+ }>, effect_Schema.Struct<{
12951
+ readonly responseMode: effect_Schema.Literal<"basic">;
12952
+ readonly statusCredits: effect_Schema.Number;
12953
+ readonly memberNumber: effect_Schema.Union<readonly [effect_Schema.String, effect_Schema.Null]>;
12954
+ readonly sourceStatus: effect_Schema.Union<readonly [effect_Schema.String, effect_Schema.Null]>;
12955
+ readonly sourceStatusObservedAt: effect_Schema.Union<readonly [effect_Schema.String, effect_Schema.Null]>;
12956
+ readonly renewalRequired: effect_Schema.Union<readonly [effect_Schema.Boolean, effect_Schema.Null]>;
12957
+ readonly id: effect_Schema.String;
12958
+ readonly status: effect_Schema.Literals<readonly ["active", "active-expired", "suspended", "expired", "archived"]>;
12959
+ readonly displayName: effect_Schema.String;
12960
+ readonly dob: effect_Schema.Union<readonly [effect_Schema.String, effect_Schema.Null]>;
12961
+ }>]>>, effect_Schema.toCodecJson<effect_Schema.Struct<{
12962
+ readonly code: effect_Schema.Literal<"unauthorized">;
12963
+ readonly message: effect_Schema.String;
12964
+ }> | effect_Schema.Struct<{
12965
+ readonly code: effect_Schema.Literal<"forbidden">;
12966
+ readonly message: effect_Schema.String;
12967
+ }> | effect_Schema.Struct<{
12968
+ readonly code: effect_Schema.Literal<"not_found">;
12969
+ readonly message: effect_Schema.String;
12970
+ }> | effect_Schema.Struct<{
12971
+ readonly code: effect_Schema.Literal<"conflict">;
12972
+ readonly message: effect_Schema.String;
12973
+ }> | effect_Schema.Struct<{
12974
+ readonly code: effect_Schema.Literal<"bad_request">;
12975
+ readonly message: effect_Schema.String;
12976
+ }> | effect_Schema.Struct<{
12977
+ readonly code: effect_Schema.Literal<"internal_error">;
12978
+ readonly message: effect_Schema.String;
12979
+ }>>, never, never>, never, never>;
12568
12980
  readonly getOrganizationMember: HttpApiClient.Client.Method<effect_unstable_httpapi_HttpApiEndpoint.HttpApiEndpoint<"getOrganizationMember", "GET", "/v1/organizations/:organizationId/members/:memberId", effect_Schema.toCodecStringTree<effect_Schema.Struct<{
12569
12981
  readonly organizationId: effect_Schema.String;
12570
12982
  readonly memberId: effect_Schema.String;
@@ -16787,6 +17199,7 @@ declare const makeHubApiClient: (options: HubApiClientOptions) => Effect.Effect<
16787
17199
  readonly ratingGrade: effect_Schema.Union<readonly [effect_Schema.String, effect_Schema.Null]>;
16788
17200
  readonly ratingGradeId: effect_Schema.Union<readonly [effect_Schema.String, effect_Schema.Null]>;
16789
17201
  readonly sourceStatus: effect_Schema.Union<readonly [effect_Schema.String, effect_Schema.Null]>;
17202
+ readonly sourceStatusObserved: effect_Schema.optional<effect_Schema.Boolean>;
16790
17203
  readonly isSuspended: effect_Schema.optional<effect_Schema.Boolean>;
16791
17204
  readonly marketingPreferences: effect_Schema.optional<effect_Schema.Struct<{
16792
17205
  readonly email: effect_Schema.Boolean;
@@ -17390,6 +17803,7 @@ declare const makeHubApiClient: (options: HubApiClientOptions) => Effect.Effect<
17390
17803
  readonly ratingGrade: effect_Schema.Union<readonly [effect_Schema.String, effect_Schema.Null]>;
17391
17804
  readonly ratingGradeId: effect_Schema.Union<readonly [effect_Schema.String, effect_Schema.Null]>;
17392
17805
  readonly sourceStatus: effect_Schema.Union<readonly [effect_Schema.String, effect_Schema.Null]>;
17806
+ readonly sourceStatusObserved: effect_Schema.optional<effect_Schema.Boolean>;
17393
17807
  readonly isSuspended: effect_Schema.optional<effect_Schema.Boolean>;
17394
17808
  readonly marketingPreferences: effect_Schema.optional<effect_Schema.Struct<{
17395
17809
  readonly email: effect_Schema.Boolean;
@@ -17526,6 +17940,7 @@ declare const makeHubApiClient: (options: HubApiClientOptions) => Effect.Effect<
17526
17940
  readonly ratingGrade: effect_Schema.Union<readonly [effect_Schema.String, effect_Schema.Null]>;
17527
17941
  readonly ratingGradeId: effect_Schema.Union<readonly [effect_Schema.String, effect_Schema.Null]>;
17528
17942
  readonly sourceStatus: effect_Schema.Union<readonly [effect_Schema.String, effect_Schema.Null]>;
17943
+ readonly sourceStatusObserved: effect_Schema.optional<effect_Schema.Boolean>;
17529
17944
  readonly isSuspended: effect_Schema.optional<effect_Schema.Boolean>;
17530
17945
  readonly marketingPreferences: effect_Schema.optional<effect_Schema.Struct<{
17531
17946
  readonly email: effect_Schema.Boolean;
@@ -17632,6 +18047,7 @@ declare const makeHubApiClient: (options: HubApiClientOptions) => Effect.Effect<
17632
18047
  readonly membershipType: effect_Schema.Union<readonly [effect_Schema.String, effect_Schema.Null]>;
17633
18048
  readonly ratingGrade: effect_Schema.Union<readonly [effect_Schema.String, effect_Schema.Null]>;
17634
18049
  readonly ratingGradeId: effect_Schema.Union<readonly [effect_Schema.String, effect_Schema.Null]>;
18050
+ readonly sourceStatusObserved: effect_Schema.optional<effect_Schema.Boolean>;
17635
18051
  readonly isSuspended: effect_Schema.optional<effect_Schema.Boolean>;
17636
18052
  readonly marketingPreferences: effect_Schema.optional<effect_Schema.Struct<{
17637
18053
  readonly email: effect_Schema.Boolean;
@@ -17686,6 +18102,7 @@ declare const makeHubApiClient: (options: HubApiClientOptions) => Effect.Effect<
17686
18102
  readonly membershipType: effect_Schema.Union<readonly [effect_Schema.String, effect_Schema.Null]>;
17687
18103
  readonly ratingGrade: effect_Schema.Union<readonly [effect_Schema.String, effect_Schema.Null]>;
17688
18104
  readonly ratingGradeId: effect_Schema.Union<readonly [effect_Schema.String, effect_Schema.Null]>;
18105
+ readonly sourceStatusObserved: effect_Schema.optional<effect_Schema.Boolean>;
17689
18106
  readonly isSuspended: effect_Schema.optional<effect_Schema.Boolean>;
17690
18107
  readonly marketingPreferences: effect_Schema.optional<effect_Schema.Struct<{
17691
18108
  readonly email: effect_Schema.Boolean;
@@ -18027,6 +18444,7 @@ declare const makeHubApiClient: (options: HubApiClientOptions) => Effect.Effect<
18027
18444
  readonly ratingGrade: effect_Schema.Union<readonly [effect_Schema.String, effect_Schema.Null]>;
18028
18445
  readonly ratingGradeId: effect_Schema.Union<readonly [effect_Schema.String, effect_Schema.Null]>;
18029
18446
  readonly sourceStatus: effect_Schema.Union<readonly [effect_Schema.String, effect_Schema.Null]>;
18447
+ readonly sourceStatusObserved: effect_Schema.optional<effect_Schema.Boolean>;
18030
18448
  readonly isSuspended: effect_Schema.optional<effect_Schema.Boolean>;
18031
18449
  readonly marketingPreferences: effect_Schema.optional<effect_Schema.Struct<{
18032
18450
  readonly email: effect_Schema.Boolean;
@@ -18128,6 +18546,7 @@ declare const makeHubApiClient: (options: HubApiClientOptions) => Effect.Effect<
18128
18546
  readonly ratingGrade: effect_Schema.Union<readonly [effect_Schema.String, effect_Schema.Null]>;
18129
18547
  readonly ratingGradeId: effect_Schema.Union<readonly [effect_Schema.String, effect_Schema.Null]>;
18130
18548
  readonly sourceStatus: effect_Schema.Union<readonly [effect_Schema.String, effect_Schema.Null]>;
18549
+ readonly sourceStatusObserved: effect_Schema.optional<effect_Schema.Boolean>;
18131
18550
  readonly isSuspended: effect_Schema.optional<effect_Schema.Boolean>;
18132
18551
  readonly marketingPreferences: effect_Schema.optional<effect_Schema.Struct<{
18133
18552
  readonly email: effect_Schema.Boolean;
@@ -18229,6 +18648,7 @@ declare const makeHubApiClient: (options: HubApiClientOptions) => Effect.Effect<
18229
18648
  readonly ratingGrade: effect_Schema.Union<readonly [effect_Schema.String, effect_Schema.Null]>;
18230
18649
  readonly ratingGradeId: effect_Schema.Union<readonly [effect_Schema.String, effect_Schema.Null]>;
18231
18650
  readonly sourceStatus: effect_Schema.Union<readonly [effect_Schema.String, effect_Schema.Null]>;
18651
+ readonly sourceStatusObserved: effect_Schema.optional<effect_Schema.Boolean>;
18232
18652
  readonly isSuspended: effect_Schema.optional<effect_Schema.Boolean>;
18233
18653
  readonly marketingPreferences: effect_Schema.optional<effect_Schema.Struct<{
18234
18654
  readonly email: effect_Schema.Boolean;
@@ -18320,6 +18740,7 @@ declare const makeHubApiClient: (options: HubApiClientOptions) => Effect.Effect<
18320
18740
  readonly ratingGrade: effect_Schema.Union<readonly [effect_Schema.String, effect_Schema.Null]>;
18321
18741
  readonly ratingGradeId: effect_Schema.Union<readonly [effect_Schema.String, effect_Schema.Null]>;
18322
18742
  readonly sourceStatus: effect_Schema.Union<readonly [effect_Schema.String, effect_Schema.Null]>;
18743
+ readonly sourceStatusObserved: effect_Schema.optional<effect_Schema.Boolean>;
18323
18744
  readonly isSuspended: effect_Schema.optional<effect_Schema.Boolean>;
18324
18745
  readonly marketingPreferences: effect_Schema.optional<effect_Schema.Struct<{
18325
18746
  readonly email: effect_Schema.Boolean;
@@ -18853,6 +19274,50 @@ declare const makeServiceHubApiClient: (options: HubApiCredentialOptions) => Eff
18853
19274
  }>>, never, never>, never, never>;
18854
19275
  };
18855
19276
  readonly organizations: {
19277
+ readonly getOrganizationCapabilities: HttpApiClient.Client.Method<effect_unstable_httpapi_HttpApiEndpoint.HttpApiEndpoint<"getOrganizationCapabilities", "GET", "/v1/organizations/:organizationId/capabilities", effect_Schema.toCodecStringTree<effect_Schema.Struct<{
19278
+ readonly organizationId: effect_Schema.String;
19279
+ }>>, never, never, never, effect_Schema.toCodecJson<effect_Schema.Struct<{
19280
+ readonly organizationId: effect_Schema.String;
19281
+ readonly points: effect_Schema.Struct<{
19282
+ readonly supported: effect_Schema.Boolean;
19283
+ readonly enabled: effect_Schema.Boolean;
19284
+ readonly reason: effect_Schema.Union<readonly [effect_Schema.Literals<readonly ["not_configured", "unsupported_provider", "unsupported_transport", "source_inactive", "provider_inactive", "agent_missing", "agent_inactive", "feature_disabled", "agent_upgrade_required"]>, effect_Schema.Null]>;
19285
+ }>;
19286
+ readonly vouchers: effect_Schema.Struct<{
19287
+ readonly supported: effect_Schema.Boolean;
19288
+ readonly enabled: effect_Schema.Boolean;
19289
+ readonly reason: effect_Schema.Union<readonly [effect_Schema.Literals<readonly ["not_configured", "unsupported_provider", "unsupported_transport", "source_inactive", "provider_inactive", "agent_missing", "agent_inactive", "feature_disabled", "agent_upgrade_required"]>, effect_Schema.Null]>;
19290
+ }>;
19291
+ readonly onsiteMemberLookup: effect_Schema.Struct<{
19292
+ readonly supported: effect_Schema.Boolean;
19293
+ readonly enabled: effect_Schema.Boolean;
19294
+ readonly reason: effect_Schema.Union<readonly [effect_Schema.Literals<readonly ["not_configured", "unsupported_provider", "unsupported_transport", "source_inactive", "provider_inactive", "agent_missing", "agent_inactive", "feature_disabled", "agent_upgrade_required"]>, effect_Schema.Null]>;
19295
+ }>;
19296
+ readonly memberCreation: effect_Schema.Struct<{
19297
+ readonly mode: effect_Schema.Union<readonly [effect_Schema.Literals<readonly ["local", "source_managed"]>, effect_Schema.Null]>;
19298
+ readonly supported: effect_Schema.Boolean;
19299
+ readonly enabled: effect_Schema.Boolean;
19300
+ readonly reason: effect_Schema.Union<readonly [effect_Schema.Literals<readonly ["not_configured", "unsupported_provider", "unsupported_transport", "source_inactive", "provider_inactive", "agent_missing", "agent_inactive", "feature_disabled", "agent_upgrade_required"]>, effect_Schema.Null]>;
19301
+ }>;
19302
+ }>>, effect_Schema.toCodecJson<effect_Schema.Struct<{
19303
+ readonly code: effect_Schema.Literal<"unauthorized">;
19304
+ readonly message: effect_Schema.String;
19305
+ }> | effect_Schema.Struct<{
19306
+ readonly code: effect_Schema.Literal<"forbidden">;
19307
+ readonly message: effect_Schema.String;
19308
+ }> | effect_Schema.Struct<{
19309
+ readonly code: effect_Schema.Literal<"not_found">;
19310
+ readonly message: effect_Schema.String;
19311
+ }> | effect_Schema.Struct<{
19312
+ readonly code: effect_Schema.Literal<"conflict">;
19313
+ readonly message: effect_Schema.String;
19314
+ }> | effect_Schema.Struct<{
19315
+ readonly code: effect_Schema.Literal<"bad_request">;
19316
+ readonly message: effect_Schema.String;
19317
+ }> | effect_Schema.Struct<{
19318
+ readonly code: effect_Schema.Literal<"internal_error">;
19319
+ readonly message: effect_Schema.String;
19320
+ }>>, never, never>, never, never>;
18856
19321
  readonly listOrganizationProductOptions: HttpApiClient.Client.Method<effect_unstable_httpapi_HttpApiEndpoint.HttpApiEndpoint<"listOrganizationProductOptions", "GET", "/v1/organization-products", never, effect_Schema.toCodecStringTree<effect_Schema.Struct<{
18857
19322
  readonly page: effect_Schema.optional<effect_Schema.String>;
18858
19323
  readonly pageSize: effect_Schema.optional<effect_Schema.String>;
@@ -19618,6 +20083,143 @@ declare const makeServiceHubApiClient: (options: HubApiCredentialOptions) => Eff
19618
20083
  readonly code: effect_Schema.Literal<"internal_error">;
19619
20084
  readonly message: effect_Schema.String;
19620
20085
  }>>, never, never>, never, never>;
20086
+ readonly getOrganizationMemberByExternalSystemId: HttpApiClient.Client.Method<effect_unstable_httpapi_HttpApiEndpoint.HttpApiEndpoint<"getOrganizationMemberByExternalSystemId", "GET", "/v1/organizations/:organizationId/members/by-external-system-id/:externalSystemMemberId", effect_Schema.toCodecStringTree<effect_Schema.Struct<{
20087
+ readonly organizationId: effect_Schema.String;
20088
+ readonly externalSystemMemberId: effect_Schema.String;
20089
+ }>>, effect_Schema.toCodecStringTree<effect_Schema.Struct<{
20090
+ readonly responseMode: effect_Schema.optional<effect_Schema.Literals<readonly ["full", "med", "basic"]>>;
20091
+ }>>, never, never, effect_Schema.toCodecJson<effect_Schema.Union<readonly [effect_Schema.Struct<{
20092
+ readonly email: effect_Schema.Union<readonly [effect_Schema.String, effect_Schema.Null]>;
20093
+ readonly title: effect_Schema.Union<readonly [effect_Schema.String, effect_Schema.Null]>;
20094
+ readonly firstName: effect_Schema.String;
20095
+ readonly middleName: effect_Schema.Union<readonly [effect_Schema.String, effect_Schema.Null]>;
20096
+ readonly lastName: effect_Schema.String;
20097
+ readonly displayName: effect_Schema.String;
20098
+ readonly dob: effect_Schema.Union<readonly [effect_Schema.String, effect_Schema.Null]>;
20099
+ readonly gender: effect_Schema.Union<readonly [effect_Schema.String, effect_Schema.Null]>;
20100
+ readonly mobilePhone: effect_Schema.Union<readonly [effect_Schema.String, effect_Schema.Null]>;
20101
+ readonly homePhone: effect_Schema.Union<readonly [effect_Schema.String, effect_Schema.Null]>;
20102
+ readonly preferredContactMethod: effect_Schema.Union<readonly [effect_Schema.Literals<readonly ["sms", "email"]>, effect_Schema.Null]>;
20103
+ readonly occupation: effect_Schema.Union<readonly [effect_Schema.String, effect_Schema.Null]>;
20104
+ readonly address: effect_Schema.Union<readonly [effect_Schema.String, effect_Schema.Null]>;
20105
+ readonly addressParts: effect_Schema.Union<readonly [effect_Schema.Struct<{
20106
+ readonly line1: effect_Schema.Union<readonly [effect_Schema.String, effect_Schema.Null]>;
20107
+ readonly line2: effect_Schema.Union<readonly [effect_Schema.String, effect_Schema.Null]>;
20108
+ readonly suburb: effect_Schema.Union<readonly [effect_Schema.String, effect_Schema.Null]>;
20109
+ readonly state: effect_Schema.Union<readonly [effect_Schema.String, effect_Schema.Null]>;
20110
+ readonly postalCode: effect_Schema.Union<readonly [effect_Schema.String, effect_Schema.Null]>;
20111
+ readonly country: effect_Schema.Union<readonly [effect_Schema.String, effect_Schema.Null]>;
20112
+ }>, effect_Schema.Null]>;
20113
+ readonly postalAddress: effect_Schema.Union<readonly [effect_Schema.String, effect_Schema.Null]>;
20114
+ readonly postalAddressParts: effect_Schema.Union<readonly [effect_Schema.Struct<{
20115
+ readonly line1: effect_Schema.Union<readonly [effect_Schema.String, effect_Schema.Null]>;
20116
+ readonly line2: effect_Schema.Union<readonly [effect_Schema.String, effect_Schema.Null]>;
20117
+ readonly suburb: effect_Schema.Union<readonly [effect_Schema.String, effect_Schema.Null]>;
20118
+ readonly state: effect_Schema.Union<readonly [effect_Schema.String, effect_Schema.Null]>;
20119
+ readonly postalCode: effect_Schema.Union<readonly [effect_Schema.String, effect_Schema.Null]>;
20120
+ readonly country: effect_Schema.Union<readonly [effect_Schema.String, effect_Schema.Null]>;
20121
+ }>, effect_Schema.Null]>;
20122
+ readonly membershipType: effect_Schema.Union<readonly [effect_Schema.String, effect_Schema.Null]>;
20123
+ readonly membershipTypeId: effect_Schema.Union<readonly [effect_Schema.String, effect_Schema.Null]>;
20124
+ readonly ratingGrade: effect_Schema.Union<readonly [effect_Schema.String, effect_Schema.Null]>;
20125
+ readonly ratingGradeId: effect_Schema.Union<readonly [effect_Schema.String, effect_Schema.Null]>;
20126
+ readonly marketingPreferences: effect_Schema.Struct<{
20127
+ readonly email: effect_Schema.Boolean;
20128
+ readonly sms: effect_Schema.Boolean;
20129
+ readonly post: effect_Schema.Boolean;
20130
+ readonly gamingEmail: effect_Schema.Boolean;
20131
+ readonly gamingSms: effect_Schema.Boolean;
20132
+ readonly gamingOptOut: effect_Schema.Boolean;
20133
+ }>;
20134
+ readonly expiresAt: effect_Schema.Union<readonly [effect_Schema.String, effect_Schema.Null]>;
20135
+ readonly statusCredits: effect_Schema.Number;
20136
+ readonly memberNumber: effect_Schema.Union<readonly [effect_Schema.String, effect_Schema.Null]>;
20137
+ readonly externalSystemMemberId: effect_Schema.Union<readonly [effect_Schema.String, effect_Schema.Null]>;
20138
+ readonly cardId: effect_Schema.Union<readonly [effect_Schema.String, effect_Schema.Null]>;
20139
+ readonly customFields: effect_Schema.$Record<effect_Schema.String, effect_Schema.Unknown>;
20140
+ readonly createdAt: effect_Schema.String;
20141
+ readonly updatedAt: effect_Schema.String;
20142
+ readonly deletedAt: effect_Schema.Union<readonly [effect_Schema.String, effect_Schema.Null]>;
20143
+ readonly responseMode: effect_Schema.Literal<"full">;
20144
+ readonly sourceStatus: effect_Schema.Union<readonly [effect_Schema.String, effect_Schema.Null]>;
20145
+ readonly sourceStatusObservedAt: effect_Schema.Union<readonly [effect_Schema.String, effect_Schema.Null]>;
20146
+ readonly renewalRequired: effect_Schema.Union<readonly [effect_Schema.Boolean, effect_Schema.Null]>;
20147
+ readonly id: effect_Schema.String;
20148
+ readonly organizationId: effect_Schema.String;
20149
+ readonly organizationMemberSourceId: effect_Schema.Union<readonly [effect_Schema.String, effect_Schema.Null]>;
20150
+ readonly status: effect_Schema.Literals<readonly ["active", "active-expired", "suspended", "expired", "archived"]>;
20151
+ readonly isSuspended: effect_Schema.Boolean;
20152
+ readonly recordMode: effect_Schema.Literals<readonly ["local", "source_managed"]>;
20153
+ readonly createdOrigin: effect_Schema.Literals<readonly ["hub_admin", "service_api", "seed", "source_sync", "source_create"]>;
20154
+ readonly createdOriginName: effect_Schema.Union<readonly [effect_Schema.String, effect_Schema.Null]>;
20155
+ readonly seedBatchId: effect_Schema.Union<readonly [effect_Schema.String, effect_Schema.Null]>;
20156
+ readonly archivedAt: effect_Schema.Union<readonly [effect_Schema.String, effect_Schema.Null]>;
20157
+ readonly joinedAt: effect_Schema.Union<readonly [effect_Schema.String, effect_Schema.Null]>;
20158
+ readonly sourceUpdatedAt: effect_Schema.Union<readonly [effect_Schema.String, effect_Schema.Null]>;
20159
+ }>, effect_Schema.Struct<{
20160
+ readonly displayName: effect_Schema.String;
20161
+ readonly dob: effect_Schema.Union<readonly [effect_Schema.String, effect_Schema.Null]>;
20162
+ readonly email: effect_Schema.Union<readonly [effect_Schema.String, effect_Schema.Null]>;
20163
+ readonly preferredContactMethod: effect_Schema.Union<readonly [effect_Schema.Literals<readonly ["sms", "email"]>, effect_Schema.Null]>;
20164
+ readonly occupation: effect_Schema.Union<readonly [effect_Schema.String, effect_Schema.Null]>;
20165
+ readonly joinedAt: effect_Schema.Union<readonly [effect_Schema.String, effect_Schema.Null]>;
20166
+ readonly address: effect_Schema.Union<readonly [effect_Schema.String, effect_Schema.Null]>;
20167
+ readonly addressParts: effect_Schema.Union<readonly [effect_Schema.Struct<{
20168
+ readonly line1: effect_Schema.Union<readonly [effect_Schema.String, effect_Schema.Null]>;
20169
+ readonly line2: effect_Schema.Union<readonly [effect_Schema.String, effect_Schema.Null]>;
20170
+ readonly suburb: effect_Schema.Union<readonly [effect_Schema.String, effect_Schema.Null]>;
20171
+ readonly state: effect_Schema.Union<readonly [effect_Schema.String, effect_Schema.Null]>;
20172
+ readonly postalCode: effect_Schema.Union<readonly [effect_Schema.String, effect_Schema.Null]>;
20173
+ readonly country: effect_Schema.Union<readonly [effect_Schema.String, effect_Schema.Null]>;
20174
+ }>, effect_Schema.Null]>;
20175
+ readonly membershipType: effect_Schema.Union<readonly [effect_Schema.String, effect_Schema.Null]>;
20176
+ readonly membershipTypeId: effect_Schema.Union<readonly [effect_Schema.String, effect_Schema.Null]>;
20177
+ readonly ratingGrade: effect_Schema.Union<readonly [effect_Schema.String, effect_Schema.Null]>;
20178
+ readonly ratingGradeId: effect_Schema.Union<readonly [effect_Schema.String, effect_Schema.Null]>;
20179
+ readonly statusCredits: effect_Schema.Number;
20180
+ readonly memberNumber: effect_Schema.Union<readonly [effect_Schema.String, effect_Schema.Null]>;
20181
+ readonly externalSystemMemberId: effect_Schema.Union<readonly [effect_Schema.String, effect_Schema.Null]>;
20182
+ readonly cardId: effect_Schema.Union<readonly [effect_Schema.String, effect_Schema.Null]>;
20183
+ readonly customFields: effect_Schema.$Record<effect_Schema.String, effect_Schema.Unknown>;
20184
+ readonly updatedAt: effect_Schema.String;
20185
+ readonly responseMode: effect_Schema.Literal<"med">;
20186
+ readonly sourceStatus: effect_Schema.Union<readonly [effect_Schema.String, effect_Schema.Null]>;
20187
+ readonly sourceStatusObservedAt: effect_Schema.Union<readonly [effect_Schema.String, effect_Schema.Null]>;
20188
+ readonly renewalRequired: effect_Schema.Union<readonly [effect_Schema.Boolean, effect_Schema.Null]>;
20189
+ readonly id: effect_Schema.String;
20190
+ readonly organizationId: effect_Schema.String;
20191
+ readonly status: effect_Schema.Literals<readonly ["active", "active-expired", "suspended", "expired", "archived"]>;
20192
+ readonly isSuspended: effect_Schema.Boolean;
20193
+ }>, effect_Schema.Struct<{
20194
+ readonly responseMode: effect_Schema.Literal<"basic">;
20195
+ readonly statusCredits: effect_Schema.Number;
20196
+ readonly memberNumber: effect_Schema.Union<readonly [effect_Schema.String, effect_Schema.Null]>;
20197
+ readonly sourceStatus: effect_Schema.Union<readonly [effect_Schema.String, effect_Schema.Null]>;
20198
+ readonly sourceStatusObservedAt: effect_Schema.Union<readonly [effect_Schema.String, effect_Schema.Null]>;
20199
+ readonly renewalRequired: effect_Schema.Union<readonly [effect_Schema.Boolean, effect_Schema.Null]>;
20200
+ readonly id: effect_Schema.String;
20201
+ readonly status: effect_Schema.Literals<readonly ["active", "active-expired", "suspended", "expired", "archived"]>;
20202
+ readonly displayName: effect_Schema.String;
20203
+ readonly dob: effect_Schema.Union<readonly [effect_Schema.String, effect_Schema.Null]>;
20204
+ }>]>>, effect_Schema.toCodecJson<effect_Schema.Struct<{
20205
+ readonly code: effect_Schema.Literal<"unauthorized">;
20206
+ readonly message: effect_Schema.String;
20207
+ }> | effect_Schema.Struct<{
20208
+ readonly code: effect_Schema.Literal<"forbidden">;
20209
+ readonly message: effect_Schema.String;
20210
+ }> | effect_Schema.Struct<{
20211
+ readonly code: effect_Schema.Literal<"not_found">;
20212
+ readonly message: effect_Schema.String;
20213
+ }> | effect_Schema.Struct<{
20214
+ readonly code: effect_Schema.Literal<"conflict">;
20215
+ readonly message: effect_Schema.String;
20216
+ }> | effect_Schema.Struct<{
20217
+ readonly code: effect_Schema.Literal<"bad_request">;
20218
+ readonly message: effect_Schema.String;
20219
+ }> | effect_Schema.Struct<{
20220
+ readonly code: effect_Schema.Literal<"internal_error">;
20221
+ readonly message: effect_Schema.String;
20222
+ }>>, never, never>, never, never>;
19621
20223
  readonly getOrganizationMember: HttpApiClient.Client.Method<effect_unstable_httpapi_HttpApiEndpoint.HttpApiEndpoint<"getOrganizationMember", "GET", "/v1/organizations/:organizationId/members/:memberId", effect_Schema.toCodecStringTree<effect_Schema.Struct<{
19622
20224
  readonly organizationId: effect_Schema.String;
19623
20225
  readonly memberId: effect_Schema.String;
@@ -23840,6 +24442,7 @@ declare const makeServiceHubApiClient: (options: HubApiCredentialOptions) => Eff
23840
24442
  readonly ratingGrade: effect_Schema.Union<readonly [effect_Schema.String, effect_Schema.Null]>;
23841
24443
  readonly ratingGradeId: effect_Schema.Union<readonly [effect_Schema.String, effect_Schema.Null]>;
23842
24444
  readonly sourceStatus: effect_Schema.Union<readonly [effect_Schema.String, effect_Schema.Null]>;
24445
+ readonly sourceStatusObserved: effect_Schema.optional<effect_Schema.Boolean>;
23843
24446
  readonly isSuspended: effect_Schema.optional<effect_Schema.Boolean>;
23844
24447
  readonly marketingPreferences: effect_Schema.optional<effect_Schema.Struct<{
23845
24448
  readonly email: effect_Schema.Boolean;
@@ -24443,6 +25046,7 @@ declare const makeServiceHubApiClient: (options: HubApiCredentialOptions) => Eff
24443
25046
  readonly ratingGrade: effect_Schema.Union<readonly [effect_Schema.String, effect_Schema.Null]>;
24444
25047
  readonly ratingGradeId: effect_Schema.Union<readonly [effect_Schema.String, effect_Schema.Null]>;
24445
25048
  readonly sourceStatus: effect_Schema.Union<readonly [effect_Schema.String, effect_Schema.Null]>;
25049
+ readonly sourceStatusObserved: effect_Schema.optional<effect_Schema.Boolean>;
24446
25050
  readonly isSuspended: effect_Schema.optional<effect_Schema.Boolean>;
24447
25051
  readonly marketingPreferences: effect_Schema.optional<effect_Schema.Struct<{
24448
25052
  readonly email: effect_Schema.Boolean;
@@ -24579,6 +25183,7 @@ declare const makeServiceHubApiClient: (options: HubApiCredentialOptions) => Eff
24579
25183
  readonly ratingGrade: effect_Schema.Union<readonly [effect_Schema.String, effect_Schema.Null]>;
24580
25184
  readonly ratingGradeId: effect_Schema.Union<readonly [effect_Schema.String, effect_Schema.Null]>;
24581
25185
  readonly sourceStatus: effect_Schema.Union<readonly [effect_Schema.String, effect_Schema.Null]>;
25186
+ readonly sourceStatusObserved: effect_Schema.optional<effect_Schema.Boolean>;
24582
25187
  readonly isSuspended: effect_Schema.optional<effect_Schema.Boolean>;
24583
25188
  readonly marketingPreferences: effect_Schema.optional<effect_Schema.Struct<{
24584
25189
  readonly email: effect_Schema.Boolean;
@@ -24685,6 +25290,7 @@ declare const makeServiceHubApiClient: (options: HubApiCredentialOptions) => Eff
24685
25290
  readonly membershipType: effect_Schema.Union<readonly [effect_Schema.String, effect_Schema.Null]>;
24686
25291
  readonly ratingGrade: effect_Schema.Union<readonly [effect_Schema.String, effect_Schema.Null]>;
24687
25292
  readonly ratingGradeId: effect_Schema.Union<readonly [effect_Schema.String, effect_Schema.Null]>;
25293
+ readonly sourceStatusObserved: effect_Schema.optional<effect_Schema.Boolean>;
24688
25294
  readonly isSuspended: effect_Schema.optional<effect_Schema.Boolean>;
24689
25295
  readonly marketingPreferences: effect_Schema.optional<effect_Schema.Struct<{
24690
25296
  readonly email: effect_Schema.Boolean;
@@ -24739,6 +25345,7 @@ declare const makeServiceHubApiClient: (options: HubApiCredentialOptions) => Eff
24739
25345
  readonly membershipType: effect_Schema.Union<readonly [effect_Schema.String, effect_Schema.Null]>;
24740
25346
  readonly ratingGrade: effect_Schema.Union<readonly [effect_Schema.String, effect_Schema.Null]>;
24741
25347
  readonly ratingGradeId: effect_Schema.Union<readonly [effect_Schema.String, effect_Schema.Null]>;
25348
+ readonly sourceStatusObserved: effect_Schema.optional<effect_Schema.Boolean>;
24742
25349
  readonly isSuspended: effect_Schema.optional<effect_Schema.Boolean>;
24743
25350
  readonly marketingPreferences: effect_Schema.optional<effect_Schema.Struct<{
24744
25351
  readonly email: effect_Schema.Boolean;
@@ -25080,6 +25687,7 @@ declare const makeServiceHubApiClient: (options: HubApiCredentialOptions) => Eff
25080
25687
  readonly ratingGrade: effect_Schema.Union<readonly [effect_Schema.String, effect_Schema.Null]>;
25081
25688
  readonly ratingGradeId: effect_Schema.Union<readonly [effect_Schema.String, effect_Schema.Null]>;
25082
25689
  readonly sourceStatus: effect_Schema.Union<readonly [effect_Schema.String, effect_Schema.Null]>;
25690
+ readonly sourceStatusObserved: effect_Schema.optional<effect_Schema.Boolean>;
25083
25691
  readonly isSuspended: effect_Schema.optional<effect_Schema.Boolean>;
25084
25692
  readonly marketingPreferences: effect_Schema.optional<effect_Schema.Struct<{
25085
25693
  readonly email: effect_Schema.Boolean;
@@ -25181,6 +25789,7 @@ declare const makeServiceHubApiClient: (options: HubApiCredentialOptions) => Eff
25181
25789
  readonly ratingGrade: effect_Schema.Union<readonly [effect_Schema.String, effect_Schema.Null]>;
25182
25790
  readonly ratingGradeId: effect_Schema.Union<readonly [effect_Schema.String, effect_Schema.Null]>;
25183
25791
  readonly sourceStatus: effect_Schema.Union<readonly [effect_Schema.String, effect_Schema.Null]>;
25792
+ readonly sourceStatusObserved: effect_Schema.optional<effect_Schema.Boolean>;
25184
25793
  readonly isSuspended: effect_Schema.optional<effect_Schema.Boolean>;
25185
25794
  readonly marketingPreferences: effect_Schema.optional<effect_Schema.Struct<{
25186
25795
  readonly email: effect_Schema.Boolean;
@@ -25282,6 +25891,7 @@ declare const makeServiceHubApiClient: (options: HubApiCredentialOptions) => Eff
25282
25891
  readonly ratingGrade: effect_Schema.Union<readonly [effect_Schema.String, effect_Schema.Null]>;
25283
25892
  readonly ratingGradeId: effect_Schema.Union<readonly [effect_Schema.String, effect_Schema.Null]>;
25284
25893
  readonly sourceStatus: effect_Schema.Union<readonly [effect_Schema.String, effect_Schema.Null]>;
25894
+ readonly sourceStatusObserved: effect_Schema.optional<effect_Schema.Boolean>;
25285
25895
  readonly isSuspended: effect_Schema.optional<effect_Schema.Boolean>;
25286
25896
  readonly marketingPreferences: effect_Schema.optional<effect_Schema.Struct<{
25287
25897
  readonly email: effect_Schema.Boolean;
@@ -25373,6 +25983,7 @@ declare const makeServiceHubApiClient: (options: HubApiCredentialOptions) => Eff
25373
25983
  readonly ratingGrade: effect_Schema.Union<readonly [effect_Schema.String, effect_Schema.Null]>;
25374
25984
  readonly ratingGradeId: effect_Schema.Union<readonly [effect_Schema.String, effect_Schema.Null]>;
25375
25985
  readonly sourceStatus: effect_Schema.Union<readonly [effect_Schema.String, effect_Schema.Null]>;
25986
+ readonly sourceStatusObserved: effect_Schema.optional<effect_Schema.Boolean>;
25376
25987
  readonly isSuspended: effect_Schema.optional<effect_Schema.Boolean>;
25377
25988
  readonly marketingPreferences: effect_Schema.optional<effect_Schema.Struct<{
25378
25989
  readonly email: effect_Schema.Boolean;
@@ -25908,6 +26519,50 @@ declare const makePromiseServiceHubApiClient: (options: HubApiCredentialOptions)
25908
26519
  }>>, never, never>, never, never>;
25909
26520
  };
25910
26521
  readonly organizations: {
26522
+ readonly getOrganizationCapabilities: HttpApiClient.Client.Method<effect_unstable_httpapi_HttpApiEndpoint.HttpApiEndpoint<"getOrganizationCapabilities", "GET", "/v1/organizations/:organizationId/capabilities", effect_Schema.toCodecStringTree<effect_Schema.Struct<{
26523
+ readonly organizationId: effect_Schema.String;
26524
+ }>>, never, never, never, effect_Schema.toCodecJson<effect_Schema.Struct<{
26525
+ readonly organizationId: effect_Schema.String;
26526
+ readonly points: effect_Schema.Struct<{
26527
+ readonly supported: effect_Schema.Boolean;
26528
+ readonly enabled: effect_Schema.Boolean;
26529
+ readonly reason: effect_Schema.Union<readonly [effect_Schema.Literals<readonly ["not_configured", "unsupported_provider", "unsupported_transport", "source_inactive", "provider_inactive", "agent_missing", "agent_inactive", "feature_disabled", "agent_upgrade_required"]>, effect_Schema.Null]>;
26530
+ }>;
26531
+ readonly vouchers: effect_Schema.Struct<{
26532
+ readonly supported: effect_Schema.Boolean;
26533
+ readonly enabled: effect_Schema.Boolean;
26534
+ readonly reason: effect_Schema.Union<readonly [effect_Schema.Literals<readonly ["not_configured", "unsupported_provider", "unsupported_transport", "source_inactive", "provider_inactive", "agent_missing", "agent_inactive", "feature_disabled", "agent_upgrade_required"]>, effect_Schema.Null]>;
26535
+ }>;
26536
+ readonly onsiteMemberLookup: effect_Schema.Struct<{
26537
+ readonly supported: effect_Schema.Boolean;
26538
+ readonly enabled: effect_Schema.Boolean;
26539
+ readonly reason: effect_Schema.Union<readonly [effect_Schema.Literals<readonly ["not_configured", "unsupported_provider", "unsupported_transport", "source_inactive", "provider_inactive", "agent_missing", "agent_inactive", "feature_disabled", "agent_upgrade_required"]>, effect_Schema.Null]>;
26540
+ }>;
26541
+ readonly memberCreation: effect_Schema.Struct<{
26542
+ readonly mode: effect_Schema.Union<readonly [effect_Schema.Literals<readonly ["local", "source_managed"]>, effect_Schema.Null]>;
26543
+ readonly supported: effect_Schema.Boolean;
26544
+ readonly enabled: effect_Schema.Boolean;
26545
+ readonly reason: effect_Schema.Union<readonly [effect_Schema.Literals<readonly ["not_configured", "unsupported_provider", "unsupported_transport", "source_inactive", "provider_inactive", "agent_missing", "agent_inactive", "feature_disabled", "agent_upgrade_required"]>, effect_Schema.Null]>;
26546
+ }>;
26547
+ }>>, effect_Schema.toCodecJson<effect_Schema.Struct<{
26548
+ readonly code: effect_Schema.Literal<"unauthorized">;
26549
+ readonly message: effect_Schema.String;
26550
+ }> | effect_Schema.Struct<{
26551
+ readonly code: effect_Schema.Literal<"forbidden">;
26552
+ readonly message: effect_Schema.String;
26553
+ }> | effect_Schema.Struct<{
26554
+ readonly code: effect_Schema.Literal<"not_found">;
26555
+ readonly message: effect_Schema.String;
26556
+ }> | effect_Schema.Struct<{
26557
+ readonly code: effect_Schema.Literal<"conflict">;
26558
+ readonly message: effect_Schema.String;
26559
+ }> | effect_Schema.Struct<{
26560
+ readonly code: effect_Schema.Literal<"bad_request">;
26561
+ readonly message: effect_Schema.String;
26562
+ }> | effect_Schema.Struct<{
26563
+ readonly code: effect_Schema.Literal<"internal_error">;
26564
+ readonly message: effect_Schema.String;
26565
+ }>>, never, never>, never, never>;
25911
26566
  readonly listOrganizationProductOptions: HttpApiClient.Client.Method<effect_unstable_httpapi_HttpApiEndpoint.HttpApiEndpoint<"listOrganizationProductOptions", "GET", "/v1/organization-products", never, effect_Schema.toCodecStringTree<effect_Schema.Struct<{
25912
26567
  readonly page: effect_Schema.optional<effect_Schema.String>;
25913
26568
  readonly pageSize: effect_Schema.optional<effect_Schema.String>;
@@ -26673,6 +27328,143 @@ declare const makePromiseServiceHubApiClient: (options: HubApiCredentialOptions)
26673
27328
  readonly code: effect_Schema.Literal<"internal_error">;
26674
27329
  readonly message: effect_Schema.String;
26675
27330
  }>>, never, never>, never, never>;
27331
+ readonly getOrganizationMemberByExternalSystemId: HttpApiClient.Client.Method<effect_unstable_httpapi_HttpApiEndpoint.HttpApiEndpoint<"getOrganizationMemberByExternalSystemId", "GET", "/v1/organizations/:organizationId/members/by-external-system-id/:externalSystemMemberId", effect_Schema.toCodecStringTree<effect_Schema.Struct<{
27332
+ readonly organizationId: effect_Schema.String;
27333
+ readonly externalSystemMemberId: effect_Schema.String;
27334
+ }>>, effect_Schema.toCodecStringTree<effect_Schema.Struct<{
27335
+ readonly responseMode: effect_Schema.optional<effect_Schema.Literals<readonly ["full", "med", "basic"]>>;
27336
+ }>>, never, never, effect_Schema.toCodecJson<effect_Schema.Union<readonly [effect_Schema.Struct<{
27337
+ readonly email: effect_Schema.Union<readonly [effect_Schema.String, effect_Schema.Null]>;
27338
+ readonly title: effect_Schema.Union<readonly [effect_Schema.String, effect_Schema.Null]>;
27339
+ readonly firstName: effect_Schema.String;
27340
+ readonly middleName: effect_Schema.Union<readonly [effect_Schema.String, effect_Schema.Null]>;
27341
+ readonly lastName: effect_Schema.String;
27342
+ readonly displayName: effect_Schema.String;
27343
+ readonly dob: effect_Schema.Union<readonly [effect_Schema.String, effect_Schema.Null]>;
27344
+ readonly gender: effect_Schema.Union<readonly [effect_Schema.String, effect_Schema.Null]>;
27345
+ readonly mobilePhone: effect_Schema.Union<readonly [effect_Schema.String, effect_Schema.Null]>;
27346
+ readonly homePhone: effect_Schema.Union<readonly [effect_Schema.String, effect_Schema.Null]>;
27347
+ readonly preferredContactMethod: effect_Schema.Union<readonly [effect_Schema.Literals<readonly ["sms", "email"]>, effect_Schema.Null]>;
27348
+ readonly occupation: effect_Schema.Union<readonly [effect_Schema.String, effect_Schema.Null]>;
27349
+ readonly address: effect_Schema.Union<readonly [effect_Schema.String, effect_Schema.Null]>;
27350
+ readonly addressParts: effect_Schema.Union<readonly [effect_Schema.Struct<{
27351
+ readonly line1: effect_Schema.Union<readonly [effect_Schema.String, effect_Schema.Null]>;
27352
+ readonly line2: effect_Schema.Union<readonly [effect_Schema.String, effect_Schema.Null]>;
27353
+ readonly suburb: effect_Schema.Union<readonly [effect_Schema.String, effect_Schema.Null]>;
27354
+ readonly state: effect_Schema.Union<readonly [effect_Schema.String, effect_Schema.Null]>;
27355
+ readonly postalCode: effect_Schema.Union<readonly [effect_Schema.String, effect_Schema.Null]>;
27356
+ readonly country: effect_Schema.Union<readonly [effect_Schema.String, effect_Schema.Null]>;
27357
+ }>, effect_Schema.Null]>;
27358
+ readonly postalAddress: effect_Schema.Union<readonly [effect_Schema.String, effect_Schema.Null]>;
27359
+ readonly postalAddressParts: effect_Schema.Union<readonly [effect_Schema.Struct<{
27360
+ readonly line1: effect_Schema.Union<readonly [effect_Schema.String, effect_Schema.Null]>;
27361
+ readonly line2: effect_Schema.Union<readonly [effect_Schema.String, effect_Schema.Null]>;
27362
+ readonly suburb: effect_Schema.Union<readonly [effect_Schema.String, effect_Schema.Null]>;
27363
+ readonly state: effect_Schema.Union<readonly [effect_Schema.String, effect_Schema.Null]>;
27364
+ readonly postalCode: effect_Schema.Union<readonly [effect_Schema.String, effect_Schema.Null]>;
27365
+ readonly country: effect_Schema.Union<readonly [effect_Schema.String, effect_Schema.Null]>;
27366
+ }>, effect_Schema.Null]>;
27367
+ readonly membershipType: effect_Schema.Union<readonly [effect_Schema.String, effect_Schema.Null]>;
27368
+ readonly membershipTypeId: effect_Schema.Union<readonly [effect_Schema.String, effect_Schema.Null]>;
27369
+ readonly ratingGrade: effect_Schema.Union<readonly [effect_Schema.String, effect_Schema.Null]>;
27370
+ readonly ratingGradeId: effect_Schema.Union<readonly [effect_Schema.String, effect_Schema.Null]>;
27371
+ readonly marketingPreferences: effect_Schema.Struct<{
27372
+ readonly email: effect_Schema.Boolean;
27373
+ readonly sms: effect_Schema.Boolean;
27374
+ readonly post: effect_Schema.Boolean;
27375
+ readonly gamingEmail: effect_Schema.Boolean;
27376
+ readonly gamingSms: effect_Schema.Boolean;
27377
+ readonly gamingOptOut: effect_Schema.Boolean;
27378
+ }>;
27379
+ readonly expiresAt: effect_Schema.Union<readonly [effect_Schema.String, effect_Schema.Null]>;
27380
+ readonly statusCredits: effect_Schema.Number;
27381
+ readonly memberNumber: effect_Schema.Union<readonly [effect_Schema.String, effect_Schema.Null]>;
27382
+ readonly externalSystemMemberId: effect_Schema.Union<readonly [effect_Schema.String, effect_Schema.Null]>;
27383
+ readonly cardId: effect_Schema.Union<readonly [effect_Schema.String, effect_Schema.Null]>;
27384
+ readonly customFields: effect_Schema.$Record<effect_Schema.String, effect_Schema.Unknown>;
27385
+ readonly createdAt: effect_Schema.String;
27386
+ readonly updatedAt: effect_Schema.String;
27387
+ readonly deletedAt: effect_Schema.Union<readonly [effect_Schema.String, effect_Schema.Null]>;
27388
+ readonly responseMode: effect_Schema.Literal<"full">;
27389
+ readonly sourceStatus: effect_Schema.Union<readonly [effect_Schema.String, effect_Schema.Null]>;
27390
+ readonly sourceStatusObservedAt: effect_Schema.Union<readonly [effect_Schema.String, effect_Schema.Null]>;
27391
+ readonly renewalRequired: effect_Schema.Union<readonly [effect_Schema.Boolean, effect_Schema.Null]>;
27392
+ readonly id: effect_Schema.String;
27393
+ readonly organizationId: effect_Schema.String;
27394
+ readonly organizationMemberSourceId: effect_Schema.Union<readonly [effect_Schema.String, effect_Schema.Null]>;
27395
+ readonly status: effect_Schema.Literals<readonly ["active", "active-expired", "suspended", "expired", "archived"]>;
27396
+ readonly isSuspended: effect_Schema.Boolean;
27397
+ readonly recordMode: effect_Schema.Literals<readonly ["local", "source_managed"]>;
27398
+ readonly createdOrigin: effect_Schema.Literals<readonly ["hub_admin", "service_api", "seed", "source_sync", "source_create"]>;
27399
+ readonly createdOriginName: effect_Schema.Union<readonly [effect_Schema.String, effect_Schema.Null]>;
27400
+ readonly seedBatchId: effect_Schema.Union<readonly [effect_Schema.String, effect_Schema.Null]>;
27401
+ readonly archivedAt: effect_Schema.Union<readonly [effect_Schema.String, effect_Schema.Null]>;
27402
+ readonly joinedAt: effect_Schema.Union<readonly [effect_Schema.String, effect_Schema.Null]>;
27403
+ readonly sourceUpdatedAt: effect_Schema.Union<readonly [effect_Schema.String, effect_Schema.Null]>;
27404
+ }>, effect_Schema.Struct<{
27405
+ readonly displayName: effect_Schema.String;
27406
+ readonly dob: effect_Schema.Union<readonly [effect_Schema.String, effect_Schema.Null]>;
27407
+ readonly email: effect_Schema.Union<readonly [effect_Schema.String, effect_Schema.Null]>;
27408
+ readonly preferredContactMethod: effect_Schema.Union<readonly [effect_Schema.Literals<readonly ["sms", "email"]>, effect_Schema.Null]>;
27409
+ readonly occupation: effect_Schema.Union<readonly [effect_Schema.String, effect_Schema.Null]>;
27410
+ readonly joinedAt: effect_Schema.Union<readonly [effect_Schema.String, effect_Schema.Null]>;
27411
+ readonly address: effect_Schema.Union<readonly [effect_Schema.String, effect_Schema.Null]>;
27412
+ readonly addressParts: effect_Schema.Union<readonly [effect_Schema.Struct<{
27413
+ readonly line1: effect_Schema.Union<readonly [effect_Schema.String, effect_Schema.Null]>;
27414
+ readonly line2: effect_Schema.Union<readonly [effect_Schema.String, effect_Schema.Null]>;
27415
+ readonly suburb: effect_Schema.Union<readonly [effect_Schema.String, effect_Schema.Null]>;
27416
+ readonly state: effect_Schema.Union<readonly [effect_Schema.String, effect_Schema.Null]>;
27417
+ readonly postalCode: effect_Schema.Union<readonly [effect_Schema.String, effect_Schema.Null]>;
27418
+ readonly country: effect_Schema.Union<readonly [effect_Schema.String, effect_Schema.Null]>;
27419
+ }>, effect_Schema.Null]>;
27420
+ readonly membershipType: effect_Schema.Union<readonly [effect_Schema.String, effect_Schema.Null]>;
27421
+ readonly membershipTypeId: effect_Schema.Union<readonly [effect_Schema.String, effect_Schema.Null]>;
27422
+ readonly ratingGrade: effect_Schema.Union<readonly [effect_Schema.String, effect_Schema.Null]>;
27423
+ readonly ratingGradeId: effect_Schema.Union<readonly [effect_Schema.String, effect_Schema.Null]>;
27424
+ readonly statusCredits: effect_Schema.Number;
27425
+ readonly memberNumber: effect_Schema.Union<readonly [effect_Schema.String, effect_Schema.Null]>;
27426
+ readonly externalSystemMemberId: effect_Schema.Union<readonly [effect_Schema.String, effect_Schema.Null]>;
27427
+ readonly cardId: effect_Schema.Union<readonly [effect_Schema.String, effect_Schema.Null]>;
27428
+ readonly customFields: effect_Schema.$Record<effect_Schema.String, effect_Schema.Unknown>;
27429
+ readonly updatedAt: effect_Schema.String;
27430
+ readonly responseMode: effect_Schema.Literal<"med">;
27431
+ readonly sourceStatus: effect_Schema.Union<readonly [effect_Schema.String, effect_Schema.Null]>;
27432
+ readonly sourceStatusObservedAt: effect_Schema.Union<readonly [effect_Schema.String, effect_Schema.Null]>;
27433
+ readonly renewalRequired: effect_Schema.Union<readonly [effect_Schema.Boolean, effect_Schema.Null]>;
27434
+ readonly id: effect_Schema.String;
27435
+ readonly organizationId: effect_Schema.String;
27436
+ readonly status: effect_Schema.Literals<readonly ["active", "active-expired", "suspended", "expired", "archived"]>;
27437
+ readonly isSuspended: effect_Schema.Boolean;
27438
+ }>, effect_Schema.Struct<{
27439
+ readonly responseMode: effect_Schema.Literal<"basic">;
27440
+ readonly statusCredits: effect_Schema.Number;
27441
+ readonly memberNumber: effect_Schema.Union<readonly [effect_Schema.String, effect_Schema.Null]>;
27442
+ readonly sourceStatus: effect_Schema.Union<readonly [effect_Schema.String, effect_Schema.Null]>;
27443
+ readonly sourceStatusObservedAt: effect_Schema.Union<readonly [effect_Schema.String, effect_Schema.Null]>;
27444
+ readonly renewalRequired: effect_Schema.Union<readonly [effect_Schema.Boolean, effect_Schema.Null]>;
27445
+ readonly id: effect_Schema.String;
27446
+ readonly status: effect_Schema.Literals<readonly ["active", "active-expired", "suspended", "expired", "archived"]>;
27447
+ readonly displayName: effect_Schema.String;
27448
+ readonly dob: effect_Schema.Union<readonly [effect_Schema.String, effect_Schema.Null]>;
27449
+ }>]>>, effect_Schema.toCodecJson<effect_Schema.Struct<{
27450
+ readonly code: effect_Schema.Literal<"unauthorized">;
27451
+ readonly message: effect_Schema.String;
27452
+ }> | effect_Schema.Struct<{
27453
+ readonly code: effect_Schema.Literal<"forbidden">;
27454
+ readonly message: effect_Schema.String;
27455
+ }> | effect_Schema.Struct<{
27456
+ readonly code: effect_Schema.Literal<"not_found">;
27457
+ readonly message: effect_Schema.String;
27458
+ }> | effect_Schema.Struct<{
27459
+ readonly code: effect_Schema.Literal<"conflict">;
27460
+ readonly message: effect_Schema.String;
27461
+ }> | effect_Schema.Struct<{
27462
+ readonly code: effect_Schema.Literal<"bad_request">;
27463
+ readonly message: effect_Schema.String;
27464
+ }> | effect_Schema.Struct<{
27465
+ readonly code: effect_Schema.Literal<"internal_error">;
27466
+ readonly message: effect_Schema.String;
27467
+ }>>, never, never>, never, never>;
26676
27468
  readonly getOrganizationMember: HttpApiClient.Client.Method<effect_unstable_httpapi_HttpApiEndpoint.HttpApiEndpoint<"getOrganizationMember", "GET", "/v1/organizations/:organizationId/members/:memberId", effect_Schema.toCodecStringTree<effect_Schema.Struct<{
26677
27469
  readonly organizationId: effect_Schema.String;
26678
27470
  readonly memberId: effect_Schema.String;
@@ -30895,6 +31687,7 @@ declare const makePromiseServiceHubApiClient: (options: HubApiCredentialOptions)
30895
31687
  readonly ratingGrade: effect_Schema.Union<readonly [effect_Schema.String, effect_Schema.Null]>;
30896
31688
  readonly ratingGradeId: effect_Schema.Union<readonly [effect_Schema.String, effect_Schema.Null]>;
30897
31689
  readonly sourceStatus: effect_Schema.Union<readonly [effect_Schema.String, effect_Schema.Null]>;
31690
+ readonly sourceStatusObserved: effect_Schema.optional<effect_Schema.Boolean>;
30898
31691
  readonly isSuspended: effect_Schema.optional<effect_Schema.Boolean>;
30899
31692
  readonly marketingPreferences: effect_Schema.optional<effect_Schema.Struct<{
30900
31693
  readonly email: effect_Schema.Boolean;
@@ -31498,6 +32291,7 @@ declare const makePromiseServiceHubApiClient: (options: HubApiCredentialOptions)
31498
32291
  readonly ratingGrade: effect_Schema.Union<readonly [effect_Schema.String, effect_Schema.Null]>;
31499
32292
  readonly ratingGradeId: effect_Schema.Union<readonly [effect_Schema.String, effect_Schema.Null]>;
31500
32293
  readonly sourceStatus: effect_Schema.Union<readonly [effect_Schema.String, effect_Schema.Null]>;
32294
+ readonly sourceStatusObserved: effect_Schema.optional<effect_Schema.Boolean>;
31501
32295
  readonly isSuspended: effect_Schema.optional<effect_Schema.Boolean>;
31502
32296
  readonly marketingPreferences: effect_Schema.optional<effect_Schema.Struct<{
31503
32297
  readonly email: effect_Schema.Boolean;
@@ -31634,6 +32428,7 @@ declare const makePromiseServiceHubApiClient: (options: HubApiCredentialOptions)
31634
32428
  readonly ratingGrade: effect_Schema.Union<readonly [effect_Schema.String, effect_Schema.Null]>;
31635
32429
  readonly ratingGradeId: effect_Schema.Union<readonly [effect_Schema.String, effect_Schema.Null]>;
31636
32430
  readonly sourceStatus: effect_Schema.Union<readonly [effect_Schema.String, effect_Schema.Null]>;
32431
+ readonly sourceStatusObserved: effect_Schema.optional<effect_Schema.Boolean>;
31637
32432
  readonly isSuspended: effect_Schema.optional<effect_Schema.Boolean>;
31638
32433
  readonly marketingPreferences: effect_Schema.optional<effect_Schema.Struct<{
31639
32434
  readonly email: effect_Schema.Boolean;
@@ -31740,6 +32535,7 @@ declare const makePromiseServiceHubApiClient: (options: HubApiCredentialOptions)
31740
32535
  readonly membershipType: effect_Schema.Union<readonly [effect_Schema.String, effect_Schema.Null]>;
31741
32536
  readonly ratingGrade: effect_Schema.Union<readonly [effect_Schema.String, effect_Schema.Null]>;
31742
32537
  readonly ratingGradeId: effect_Schema.Union<readonly [effect_Schema.String, effect_Schema.Null]>;
32538
+ readonly sourceStatusObserved: effect_Schema.optional<effect_Schema.Boolean>;
31743
32539
  readonly isSuspended: effect_Schema.optional<effect_Schema.Boolean>;
31744
32540
  readonly marketingPreferences: effect_Schema.optional<effect_Schema.Struct<{
31745
32541
  readonly email: effect_Schema.Boolean;
@@ -31794,6 +32590,7 @@ declare const makePromiseServiceHubApiClient: (options: HubApiCredentialOptions)
31794
32590
  readonly membershipType: effect_Schema.Union<readonly [effect_Schema.String, effect_Schema.Null]>;
31795
32591
  readonly ratingGrade: effect_Schema.Union<readonly [effect_Schema.String, effect_Schema.Null]>;
31796
32592
  readonly ratingGradeId: effect_Schema.Union<readonly [effect_Schema.String, effect_Schema.Null]>;
32593
+ readonly sourceStatusObserved: effect_Schema.optional<effect_Schema.Boolean>;
31797
32594
  readonly isSuspended: effect_Schema.optional<effect_Schema.Boolean>;
31798
32595
  readonly marketingPreferences: effect_Schema.optional<effect_Schema.Struct<{
31799
32596
  readonly email: effect_Schema.Boolean;
@@ -32135,6 +32932,7 @@ declare const makePromiseServiceHubApiClient: (options: HubApiCredentialOptions)
32135
32932
  readonly ratingGrade: effect_Schema.Union<readonly [effect_Schema.String, effect_Schema.Null]>;
32136
32933
  readonly ratingGradeId: effect_Schema.Union<readonly [effect_Schema.String, effect_Schema.Null]>;
32137
32934
  readonly sourceStatus: effect_Schema.Union<readonly [effect_Schema.String, effect_Schema.Null]>;
32935
+ readonly sourceStatusObserved: effect_Schema.optional<effect_Schema.Boolean>;
32138
32936
  readonly isSuspended: effect_Schema.optional<effect_Schema.Boolean>;
32139
32937
  readonly marketingPreferences: effect_Schema.optional<effect_Schema.Struct<{
32140
32938
  readonly email: effect_Schema.Boolean;
@@ -32236,6 +33034,7 @@ declare const makePromiseServiceHubApiClient: (options: HubApiCredentialOptions)
32236
33034
  readonly ratingGrade: effect_Schema.Union<readonly [effect_Schema.String, effect_Schema.Null]>;
32237
33035
  readonly ratingGradeId: effect_Schema.Union<readonly [effect_Schema.String, effect_Schema.Null]>;
32238
33036
  readonly sourceStatus: effect_Schema.Union<readonly [effect_Schema.String, effect_Schema.Null]>;
33037
+ readonly sourceStatusObserved: effect_Schema.optional<effect_Schema.Boolean>;
32239
33038
  readonly isSuspended: effect_Schema.optional<effect_Schema.Boolean>;
32240
33039
  readonly marketingPreferences: effect_Schema.optional<effect_Schema.Struct<{
32241
33040
  readonly email: effect_Schema.Boolean;
@@ -32337,6 +33136,7 @@ declare const makePromiseServiceHubApiClient: (options: HubApiCredentialOptions)
32337
33136
  readonly ratingGrade: effect_Schema.Union<readonly [effect_Schema.String, effect_Schema.Null]>;
32338
33137
  readonly ratingGradeId: effect_Schema.Union<readonly [effect_Schema.String, effect_Schema.Null]>;
32339
33138
  readonly sourceStatus: effect_Schema.Union<readonly [effect_Schema.String, effect_Schema.Null]>;
33139
+ readonly sourceStatusObserved: effect_Schema.optional<effect_Schema.Boolean>;
32340
33140
  readonly isSuspended: effect_Schema.optional<effect_Schema.Boolean>;
32341
33141
  readonly marketingPreferences: effect_Schema.optional<effect_Schema.Struct<{
32342
33142
  readonly email: effect_Schema.Boolean;
@@ -32428,6 +33228,7 @@ declare const makePromiseServiceHubApiClient: (options: HubApiCredentialOptions)
32428
33228
  readonly ratingGrade: effect_Schema.Union<readonly [effect_Schema.String, effect_Schema.Null]>;
32429
33229
  readonly ratingGradeId: effect_Schema.Union<readonly [effect_Schema.String, effect_Schema.Null]>;
32430
33230
  readonly sourceStatus: effect_Schema.Union<readonly [effect_Schema.String, effect_Schema.Null]>;
33231
+ readonly sourceStatusObserved: effect_Schema.optional<effect_Schema.Boolean>;
32431
33232
  readonly isSuspended: effect_Schema.optional<effect_Schema.Boolean>;
32432
33233
  readonly marketingPreferences: effect_Schema.optional<effect_Schema.Struct<{
32433
33234
  readonly email: effect_Schema.Boolean;
@@ -33149,6 +33950,50 @@ declare const makePromiseOnsiteResourceClient: (options: HubApiCredentialOptions
33149
33950
  }>>, never, never>, never, never>;
33150
33951
  };
33151
33952
  readonly organizations: {
33953
+ readonly getOrganizationCapabilities: HttpApiClient.Client.Method<effect_unstable_httpapi_HttpApiEndpoint.HttpApiEndpoint<"getOrganizationCapabilities", "GET", "/v1/organizations/:organizationId/capabilities", effect_Schema.toCodecStringTree<effect_Schema.Struct<{
33954
+ readonly organizationId: effect_Schema.String;
33955
+ }>>, never, never, never, effect_Schema.toCodecJson<effect_Schema.Struct<{
33956
+ readonly organizationId: effect_Schema.String;
33957
+ readonly points: effect_Schema.Struct<{
33958
+ readonly supported: effect_Schema.Boolean;
33959
+ readonly enabled: effect_Schema.Boolean;
33960
+ readonly reason: effect_Schema.Union<readonly [effect_Schema.Literals<readonly ["not_configured", "unsupported_provider", "unsupported_transport", "source_inactive", "provider_inactive", "agent_missing", "agent_inactive", "feature_disabled", "agent_upgrade_required"]>, effect_Schema.Null]>;
33961
+ }>;
33962
+ readonly vouchers: effect_Schema.Struct<{
33963
+ readonly supported: effect_Schema.Boolean;
33964
+ readonly enabled: effect_Schema.Boolean;
33965
+ readonly reason: effect_Schema.Union<readonly [effect_Schema.Literals<readonly ["not_configured", "unsupported_provider", "unsupported_transport", "source_inactive", "provider_inactive", "agent_missing", "agent_inactive", "feature_disabled", "agent_upgrade_required"]>, effect_Schema.Null]>;
33966
+ }>;
33967
+ readonly onsiteMemberLookup: effect_Schema.Struct<{
33968
+ readonly supported: effect_Schema.Boolean;
33969
+ readonly enabled: effect_Schema.Boolean;
33970
+ readonly reason: effect_Schema.Union<readonly [effect_Schema.Literals<readonly ["not_configured", "unsupported_provider", "unsupported_transport", "source_inactive", "provider_inactive", "agent_missing", "agent_inactive", "feature_disabled", "agent_upgrade_required"]>, effect_Schema.Null]>;
33971
+ }>;
33972
+ readonly memberCreation: effect_Schema.Struct<{
33973
+ readonly mode: effect_Schema.Union<readonly [effect_Schema.Literals<readonly ["local", "source_managed"]>, effect_Schema.Null]>;
33974
+ readonly supported: effect_Schema.Boolean;
33975
+ readonly enabled: effect_Schema.Boolean;
33976
+ readonly reason: effect_Schema.Union<readonly [effect_Schema.Literals<readonly ["not_configured", "unsupported_provider", "unsupported_transport", "source_inactive", "provider_inactive", "agent_missing", "agent_inactive", "feature_disabled", "agent_upgrade_required"]>, effect_Schema.Null]>;
33977
+ }>;
33978
+ }>>, effect_Schema.toCodecJson<effect_Schema.Struct<{
33979
+ readonly code: effect_Schema.Literal<"unauthorized">;
33980
+ readonly message: effect_Schema.String;
33981
+ }> | effect_Schema.Struct<{
33982
+ readonly code: effect_Schema.Literal<"forbidden">;
33983
+ readonly message: effect_Schema.String;
33984
+ }> | effect_Schema.Struct<{
33985
+ readonly code: effect_Schema.Literal<"not_found">;
33986
+ readonly message: effect_Schema.String;
33987
+ }> | effect_Schema.Struct<{
33988
+ readonly code: effect_Schema.Literal<"conflict">;
33989
+ readonly message: effect_Schema.String;
33990
+ }> | effect_Schema.Struct<{
33991
+ readonly code: effect_Schema.Literal<"bad_request">;
33992
+ readonly message: effect_Schema.String;
33993
+ }> | effect_Schema.Struct<{
33994
+ readonly code: effect_Schema.Literal<"internal_error">;
33995
+ readonly message: effect_Schema.String;
33996
+ }>>, never, never>, never, never>;
33152
33997
  readonly listOrganizationProductOptions: HttpApiClient.Client.Method<effect_unstable_httpapi_HttpApiEndpoint.HttpApiEndpoint<"listOrganizationProductOptions", "GET", "/v1/organization-products", never, effect_Schema.toCodecStringTree<effect_Schema.Struct<{
33153
33998
  readonly page: effect_Schema.optional<effect_Schema.String>;
33154
33999
  readonly pageSize: effect_Schema.optional<effect_Schema.String>;
@@ -33914,6 +34759,143 @@ declare const makePromiseOnsiteResourceClient: (options: HubApiCredentialOptions
33914
34759
  readonly code: effect_Schema.Literal<"internal_error">;
33915
34760
  readonly message: effect_Schema.String;
33916
34761
  }>>, never, never>, never, never>;
34762
+ readonly getOrganizationMemberByExternalSystemId: HttpApiClient.Client.Method<effect_unstable_httpapi_HttpApiEndpoint.HttpApiEndpoint<"getOrganizationMemberByExternalSystemId", "GET", "/v1/organizations/:organizationId/members/by-external-system-id/:externalSystemMemberId", effect_Schema.toCodecStringTree<effect_Schema.Struct<{
34763
+ readonly organizationId: effect_Schema.String;
34764
+ readonly externalSystemMemberId: effect_Schema.String;
34765
+ }>>, effect_Schema.toCodecStringTree<effect_Schema.Struct<{
34766
+ readonly responseMode: effect_Schema.optional<effect_Schema.Literals<readonly ["full", "med", "basic"]>>;
34767
+ }>>, never, never, effect_Schema.toCodecJson<effect_Schema.Union<readonly [effect_Schema.Struct<{
34768
+ readonly email: effect_Schema.Union<readonly [effect_Schema.String, effect_Schema.Null]>;
34769
+ readonly title: effect_Schema.Union<readonly [effect_Schema.String, effect_Schema.Null]>;
34770
+ readonly firstName: effect_Schema.String;
34771
+ readonly middleName: effect_Schema.Union<readonly [effect_Schema.String, effect_Schema.Null]>;
34772
+ readonly lastName: effect_Schema.String;
34773
+ readonly displayName: effect_Schema.String;
34774
+ readonly dob: effect_Schema.Union<readonly [effect_Schema.String, effect_Schema.Null]>;
34775
+ readonly gender: effect_Schema.Union<readonly [effect_Schema.String, effect_Schema.Null]>;
34776
+ readonly mobilePhone: effect_Schema.Union<readonly [effect_Schema.String, effect_Schema.Null]>;
34777
+ readonly homePhone: effect_Schema.Union<readonly [effect_Schema.String, effect_Schema.Null]>;
34778
+ readonly preferredContactMethod: effect_Schema.Union<readonly [effect_Schema.Literals<readonly ["sms", "email"]>, effect_Schema.Null]>;
34779
+ readonly occupation: effect_Schema.Union<readonly [effect_Schema.String, effect_Schema.Null]>;
34780
+ readonly address: effect_Schema.Union<readonly [effect_Schema.String, effect_Schema.Null]>;
34781
+ readonly addressParts: effect_Schema.Union<readonly [effect_Schema.Struct<{
34782
+ readonly line1: effect_Schema.Union<readonly [effect_Schema.String, effect_Schema.Null]>;
34783
+ readonly line2: effect_Schema.Union<readonly [effect_Schema.String, effect_Schema.Null]>;
34784
+ readonly suburb: effect_Schema.Union<readonly [effect_Schema.String, effect_Schema.Null]>;
34785
+ readonly state: effect_Schema.Union<readonly [effect_Schema.String, effect_Schema.Null]>;
34786
+ readonly postalCode: effect_Schema.Union<readonly [effect_Schema.String, effect_Schema.Null]>;
34787
+ readonly country: effect_Schema.Union<readonly [effect_Schema.String, effect_Schema.Null]>;
34788
+ }>, effect_Schema.Null]>;
34789
+ readonly postalAddress: effect_Schema.Union<readonly [effect_Schema.String, effect_Schema.Null]>;
34790
+ readonly postalAddressParts: effect_Schema.Union<readonly [effect_Schema.Struct<{
34791
+ readonly line1: effect_Schema.Union<readonly [effect_Schema.String, effect_Schema.Null]>;
34792
+ readonly line2: effect_Schema.Union<readonly [effect_Schema.String, effect_Schema.Null]>;
34793
+ readonly suburb: effect_Schema.Union<readonly [effect_Schema.String, effect_Schema.Null]>;
34794
+ readonly state: effect_Schema.Union<readonly [effect_Schema.String, effect_Schema.Null]>;
34795
+ readonly postalCode: effect_Schema.Union<readonly [effect_Schema.String, effect_Schema.Null]>;
34796
+ readonly country: effect_Schema.Union<readonly [effect_Schema.String, effect_Schema.Null]>;
34797
+ }>, effect_Schema.Null]>;
34798
+ readonly membershipType: effect_Schema.Union<readonly [effect_Schema.String, effect_Schema.Null]>;
34799
+ readonly membershipTypeId: effect_Schema.Union<readonly [effect_Schema.String, effect_Schema.Null]>;
34800
+ readonly ratingGrade: effect_Schema.Union<readonly [effect_Schema.String, effect_Schema.Null]>;
34801
+ readonly ratingGradeId: effect_Schema.Union<readonly [effect_Schema.String, effect_Schema.Null]>;
34802
+ readonly marketingPreferences: effect_Schema.Struct<{
34803
+ readonly email: effect_Schema.Boolean;
34804
+ readonly sms: effect_Schema.Boolean;
34805
+ readonly post: effect_Schema.Boolean;
34806
+ readonly gamingEmail: effect_Schema.Boolean;
34807
+ readonly gamingSms: effect_Schema.Boolean;
34808
+ readonly gamingOptOut: effect_Schema.Boolean;
34809
+ }>;
34810
+ readonly expiresAt: effect_Schema.Union<readonly [effect_Schema.String, effect_Schema.Null]>;
34811
+ readonly statusCredits: effect_Schema.Number;
34812
+ readonly memberNumber: effect_Schema.Union<readonly [effect_Schema.String, effect_Schema.Null]>;
34813
+ readonly externalSystemMemberId: effect_Schema.Union<readonly [effect_Schema.String, effect_Schema.Null]>;
34814
+ readonly cardId: effect_Schema.Union<readonly [effect_Schema.String, effect_Schema.Null]>;
34815
+ readonly customFields: effect_Schema.$Record<effect_Schema.String, effect_Schema.Unknown>;
34816
+ readonly createdAt: effect_Schema.String;
34817
+ readonly updatedAt: effect_Schema.String;
34818
+ readonly deletedAt: effect_Schema.Union<readonly [effect_Schema.String, effect_Schema.Null]>;
34819
+ readonly responseMode: effect_Schema.Literal<"full">;
34820
+ readonly sourceStatus: effect_Schema.Union<readonly [effect_Schema.String, effect_Schema.Null]>;
34821
+ readonly sourceStatusObservedAt: effect_Schema.Union<readonly [effect_Schema.String, effect_Schema.Null]>;
34822
+ readonly renewalRequired: effect_Schema.Union<readonly [effect_Schema.Boolean, effect_Schema.Null]>;
34823
+ readonly id: effect_Schema.String;
34824
+ readonly organizationId: effect_Schema.String;
34825
+ readonly organizationMemberSourceId: effect_Schema.Union<readonly [effect_Schema.String, effect_Schema.Null]>;
34826
+ readonly status: effect_Schema.Literals<readonly ["active", "active-expired", "suspended", "expired", "archived"]>;
34827
+ readonly isSuspended: effect_Schema.Boolean;
34828
+ readonly recordMode: effect_Schema.Literals<readonly ["local", "source_managed"]>;
34829
+ readonly createdOrigin: effect_Schema.Literals<readonly ["hub_admin", "service_api", "seed", "source_sync", "source_create"]>;
34830
+ readonly createdOriginName: effect_Schema.Union<readonly [effect_Schema.String, effect_Schema.Null]>;
34831
+ readonly seedBatchId: effect_Schema.Union<readonly [effect_Schema.String, effect_Schema.Null]>;
34832
+ readonly archivedAt: effect_Schema.Union<readonly [effect_Schema.String, effect_Schema.Null]>;
34833
+ readonly joinedAt: effect_Schema.Union<readonly [effect_Schema.String, effect_Schema.Null]>;
34834
+ readonly sourceUpdatedAt: effect_Schema.Union<readonly [effect_Schema.String, effect_Schema.Null]>;
34835
+ }>, effect_Schema.Struct<{
34836
+ readonly displayName: effect_Schema.String;
34837
+ readonly dob: effect_Schema.Union<readonly [effect_Schema.String, effect_Schema.Null]>;
34838
+ readonly email: effect_Schema.Union<readonly [effect_Schema.String, effect_Schema.Null]>;
34839
+ readonly preferredContactMethod: effect_Schema.Union<readonly [effect_Schema.Literals<readonly ["sms", "email"]>, effect_Schema.Null]>;
34840
+ readonly occupation: effect_Schema.Union<readonly [effect_Schema.String, effect_Schema.Null]>;
34841
+ readonly joinedAt: effect_Schema.Union<readonly [effect_Schema.String, effect_Schema.Null]>;
34842
+ readonly address: effect_Schema.Union<readonly [effect_Schema.String, effect_Schema.Null]>;
34843
+ readonly addressParts: effect_Schema.Union<readonly [effect_Schema.Struct<{
34844
+ readonly line1: effect_Schema.Union<readonly [effect_Schema.String, effect_Schema.Null]>;
34845
+ readonly line2: effect_Schema.Union<readonly [effect_Schema.String, effect_Schema.Null]>;
34846
+ readonly suburb: effect_Schema.Union<readonly [effect_Schema.String, effect_Schema.Null]>;
34847
+ readonly state: effect_Schema.Union<readonly [effect_Schema.String, effect_Schema.Null]>;
34848
+ readonly postalCode: effect_Schema.Union<readonly [effect_Schema.String, effect_Schema.Null]>;
34849
+ readonly country: effect_Schema.Union<readonly [effect_Schema.String, effect_Schema.Null]>;
34850
+ }>, effect_Schema.Null]>;
34851
+ readonly membershipType: effect_Schema.Union<readonly [effect_Schema.String, effect_Schema.Null]>;
34852
+ readonly membershipTypeId: effect_Schema.Union<readonly [effect_Schema.String, effect_Schema.Null]>;
34853
+ readonly ratingGrade: effect_Schema.Union<readonly [effect_Schema.String, effect_Schema.Null]>;
34854
+ readonly ratingGradeId: effect_Schema.Union<readonly [effect_Schema.String, effect_Schema.Null]>;
34855
+ readonly statusCredits: effect_Schema.Number;
34856
+ readonly memberNumber: effect_Schema.Union<readonly [effect_Schema.String, effect_Schema.Null]>;
34857
+ readonly externalSystemMemberId: effect_Schema.Union<readonly [effect_Schema.String, effect_Schema.Null]>;
34858
+ readonly cardId: effect_Schema.Union<readonly [effect_Schema.String, effect_Schema.Null]>;
34859
+ readonly customFields: effect_Schema.$Record<effect_Schema.String, effect_Schema.Unknown>;
34860
+ readonly updatedAt: effect_Schema.String;
34861
+ readonly responseMode: effect_Schema.Literal<"med">;
34862
+ readonly sourceStatus: effect_Schema.Union<readonly [effect_Schema.String, effect_Schema.Null]>;
34863
+ readonly sourceStatusObservedAt: effect_Schema.Union<readonly [effect_Schema.String, effect_Schema.Null]>;
34864
+ readonly renewalRequired: effect_Schema.Union<readonly [effect_Schema.Boolean, effect_Schema.Null]>;
34865
+ readonly id: effect_Schema.String;
34866
+ readonly organizationId: effect_Schema.String;
34867
+ readonly status: effect_Schema.Literals<readonly ["active", "active-expired", "suspended", "expired", "archived"]>;
34868
+ readonly isSuspended: effect_Schema.Boolean;
34869
+ }>, effect_Schema.Struct<{
34870
+ readonly responseMode: effect_Schema.Literal<"basic">;
34871
+ readonly statusCredits: effect_Schema.Number;
34872
+ readonly memberNumber: effect_Schema.Union<readonly [effect_Schema.String, effect_Schema.Null]>;
34873
+ readonly sourceStatus: effect_Schema.Union<readonly [effect_Schema.String, effect_Schema.Null]>;
34874
+ readonly sourceStatusObservedAt: effect_Schema.Union<readonly [effect_Schema.String, effect_Schema.Null]>;
34875
+ readonly renewalRequired: effect_Schema.Union<readonly [effect_Schema.Boolean, effect_Schema.Null]>;
34876
+ readonly id: effect_Schema.String;
34877
+ readonly status: effect_Schema.Literals<readonly ["active", "active-expired", "suspended", "expired", "archived"]>;
34878
+ readonly displayName: effect_Schema.String;
34879
+ readonly dob: effect_Schema.Union<readonly [effect_Schema.String, effect_Schema.Null]>;
34880
+ }>]>>, effect_Schema.toCodecJson<effect_Schema.Struct<{
34881
+ readonly code: effect_Schema.Literal<"unauthorized">;
34882
+ readonly message: effect_Schema.String;
34883
+ }> | effect_Schema.Struct<{
34884
+ readonly code: effect_Schema.Literal<"forbidden">;
34885
+ readonly message: effect_Schema.String;
34886
+ }> | effect_Schema.Struct<{
34887
+ readonly code: effect_Schema.Literal<"not_found">;
34888
+ readonly message: effect_Schema.String;
34889
+ }> | effect_Schema.Struct<{
34890
+ readonly code: effect_Schema.Literal<"conflict">;
34891
+ readonly message: effect_Schema.String;
34892
+ }> | effect_Schema.Struct<{
34893
+ readonly code: effect_Schema.Literal<"bad_request">;
34894
+ readonly message: effect_Schema.String;
34895
+ }> | effect_Schema.Struct<{
34896
+ readonly code: effect_Schema.Literal<"internal_error">;
34897
+ readonly message: effect_Schema.String;
34898
+ }>>, never, never>, never, never>;
33917
34899
  readonly getOrganizationMember: HttpApiClient.Client.Method<effect_unstable_httpapi_HttpApiEndpoint.HttpApiEndpoint<"getOrganizationMember", "GET", "/v1/organizations/:organizationId/members/:memberId", effect_Schema.toCodecStringTree<effect_Schema.Struct<{
33918
34900
  readonly organizationId: effect_Schema.String;
33919
34901
  readonly memberId: effect_Schema.String;
@@ -38136,6 +39118,7 @@ declare const makePromiseOnsiteResourceClient: (options: HubApiCredentialOptions
38136
39118
  readonly ratingGrade: effect_Schema.Union<readonly [effect_Schema.String, effect_Schema.Null]>;
38137
39119
  readonly ratingGradeId: effect_Schema.Union<readonly [effect_Schema.String, effect_Schema.Null]>;
38138
39120
  readonly sourceStatus: effect_Schema.Union<readonly [effect_Schema.String, effect_Schema.Null]>;
39121
+ readonly sourceStatusObserved: effect_Schema.optional<effect_Schema.Boolean>;
38139
39122
  readonly isSuspended: effect_Schema.optional<effect_Schema.Boolean>;
38140
39123
  readonly marketingPreferences: effect_Schema.optional<effect_Schema.Struct<{
38141
39124
  readonly email: effect_Schema.Boolean;
@@ -38739,6 +39722,7 @@ declare const makePromiseOnsiteResourceClient: (options: HubApiCredentialOptions
38739
39722
  readonly ratingGrade: effect_Schema.Union<readonly [effect_Schema.String, effect_Schema.Null]>;
38740
39723
  readonly ratingGradeId: effect_Schema.Union<readonly [effect_Schema.String, effect_Schema.Null]>;
38741
39724
  readonly sourceStatus: effect_Schema.Union<readonly [effect_Schema.String, effect_Schema.Null]>;
39725
+ readonly sourceStatusObserved: effect_Schema.optional<effect_Schema.Boolean>;
38742
39726
  readonly isSuspended: effect_Schema.optional<effect_Schema.Boolean>;
38743
39727
  readonly marketingPreferences: effect_Schema.optional<effect_Schema.Struct<{
38744
39728
  readonly email: effect_Schema.Boolean;
@@ -38875,6 +39859,7 @@ declare const makePromiseOnsiteResourceClient: (options: HubApiCredentialOptions
38875
39859
  readonly ratingGrade: effect_Schema.Union<readonly [effect_Schema.String, effect_Schema.Null]>;
38876
39860
  readonly ratingGradeId: effect_Schema.Union<readonly [effect_Schema.String, effect_Schema.Null]>;
38877
39861
  readonly sourceStatus: effect_Schema.Union<readonly [effect_Schema.String, effect_Schema.Null]>;
39862
+ readonly sourceStatusObserved: effect_Schema.optional<effect_Schema.Boolean>;
38878
39863
  readonly isSuspended: effect_Schema.optional<effect_Schema.Boolean>;
38879
39864
  readonly marketingPreferences: effect_Schema.optional<effect_Schema.Struct<{
38880
39865
  readonly email: effect_Schema.Boolean;
@@ -38981,6 +39966,7 @@ declare const makePromiseOnsiteResourceClient: (options: HubApiCredentialOptions
38981
39966
  readonly membershipType: effect_Schema.Union<readonly [effect_Schema.String, effect_Schema.Null]>;
38982
39967
  readonly ratingGrade: effect_Schema.Union<readonly [effect_Schema.String, effect_Schema.Null]>;
38983
39968
  readonly ratingGradeId: effect_Schema.Union<readonly [effect_Schema.String, effect_Schema.Null]>;
39969
+ readonly sourceStatusObserved: effect_Schema.optional<effect_Schema.Boolean>;
38984
39970
  readonly isSuspended: effect_Schema.optional<effect_Schema.Boolean>;
38985
39971
  readonly marketingPreferences: effect_Schema.optional<effect_Schema.Struct<{
38986
39972
  readonly email: effect_Schema.Boolean;
@@ -39035,6 +40021,7 @@ declare const makePromiseOnsiteResourceClient: (options: HubApiCredentialOptions
39035
40021
  readonly membershipType: effect_Schema.Union<readonly [effect_Schema.String, effect_Schema.Null]>;
39036
40022
  readonly ratingGrade: effect_Schema.Union<readonly [effect_Schema.String, effect_Schema.Null]>;
39037
40023
  readonly ratingGradeId: effect_Schema.Union<readonly [effect_Schema.String, effect_Schema.Null]>;
40024
+ readonly sourceStatusObserved: effect_Schema.optional<effect_Schema.Boolean>;
39038
40025
  readonly isSuspended: effect_Schema.optional<effect_Schema.Boolean>;
39039
40026
  readonly marketingPreferences: effect_Schema.optional<effect_Schema.Struct<{
39040
40027
  readonly email: effect_Schema.Boolean;
@@ -39376,6 +40363,7 @@ declare const makePromiseOnsiteResourceClient: (options: HubApiCredentialOptions
39376
40363
  readonly ratingGrade: effect_Schema.Union<readonly [effect_Schema.String, effect_Schema.Null]>;
39377
40364
  readonly ratingGradeId: effect_Schema.Union<readonly [effect_Schema.String, effect_Schema.Null]>;
39378
40365
  readonly sourceStatus: effect_Schema.Union<readonly [effect_Schema.String, effect_Schema.Null]>;
40366
+ readonly sourceStatusObserved: effect_Schema.optional<effect_Schema.Boolean>;
39379
40367
  readonly isSuspended: effect_Schema.optional<effect_Schema.Boolean>;
39380
40368
  readonly marketingPreferences: effect_Schema.optional<effect_Schema.Struct<{
39381
40369
  readonly email: effect_Schema.Boolean;
@@ -39477,6 +40465,7 @@ declare const makePromiseOnsiteResourceClient: (options: HubApiCredentialOptions
39477
40465
  readonly ratingGrade: effect_Schema.Union<readonly [effect_Schema.String, effect_Schema.Null]>;
39478
40466
  readonly ratingGradeId: effect_Schema.Union<readonly [effect_Schema.String, effect_Schema.Null]>;
39479
40467
  readonly sourceStatus: effect_Schema.Union<readonly [effect_Schema.String, effect_Schema.Null]>;
40468
+ readonly sourceStatusObserved: effect_Schema.optional<effect_Schema.Boolean>;
39480
40469
  readonly isSuspended: effect_Schema.optional<effect_Schema.Boolean>;
39481
40470
  readonly marketingPreferences: effect_Schema.optional<effect_Schema.Struct<{
39482
40471
  readonly email: effect_Schema.Boolean;
@@ -39578,6 +40567,7 @@ declare const makePromiseOnsiteResourceClient: (options: HubApiCredentialOptions
39578
40567
  readonly ratingGrade: effect_Schema.Union<readonly [effect_Schema.String, effect_Schema.Null]>;
39579
40568
  readonly ratingGradeId: effect_Schema.Union<readonly [effect_Schema.String, effect_Schema.Null]>;
39580
40569
  readonly sourceStatus: effect_Schema.Union<readonly [effect_Schema.String, effect_Schema.Null]>;
40570
+ readonly sourceStatusObserved: effect_Schema.optional<effect_Schema.Boolean>;
39581
40571
  readonly isSuspended: effect_Schema.optional<effect_Schema.Boolean>;
39582
40572
  readonly marketingPreferences: effect_Schema.optional<effect_Schema.Struct<{
39583
40573
  readonly email: effect_Schema.Boolean;
@@ -39669,6 +40659,7 @@ declare const makePromiseOnsiteResourceClient: (options: HubApiCredentialOptions
39669
40659
  readonly ratingGrade: effect_Schema.Union<readonly [effect_Schema.String, effect_Schema.Null]>;
39670
40660
  readonly ratingGradeId: effect_Schema.Union<readonly [effect_Schema.String, effect_Schema.Null]>;
39671
40661
  readonly sourceStatus: effect_Schema.Union<readonly [effect_Schema.String, effect_Schema.Null]>;
40662
+ readonly sourceStatusObserved: effect_Schema.optional<effect_Schema.Boolean>;
39672
40663
  readonly isSuspended: effect_Schema.optional<effect_Schema.Boolean>;
39673
40664
  readonly marketingPreferences: effect_Schema.optional<effect_Schema.Struct<{
39674
40665
  readonly email: effect_Schema.Boolean;
@@ -40209,6 +41200,32 @@ type ListProductWebhooksInput = PageInput & {
40209
41200
  type PromiseSpokeClient = ReturnType<typeof makeSpokeClient>;
40210
41201
  declare function makeSpokeClient(hubClient: PromiseHubApiClient): {
40211
41202
  readonly organizations: {
41203
+ readonly capabilities: (input: {
41204
+ readonly organizationId: string;
41205
+ }) => Promise<SpokeHubResult<{
41206
+ readonly organizationId: string;
41207
+ readonly points: {
41208
+ readonly supported: boolean;
41209
+ readonly enabled: boolean;
41210
+ readonly reason: "not_configured" | "unsupported_provider" | "unsupported_transport" | "source_inactive" | "provider_inactive" | "agent_missing" | "agent_inactive" | "feature_disabled" | "agent_upgrade_required" | null;
41211
+ };
41212
+ readonly vouchers: {
41213
+ readonly supported: boolean;
41214
+ readonly enabled: boolean;
41215
+ readonly reason: "not_configured" | "unsupported_provider" | "unsupported_transport" | "source_inactive" | "provider_inactive" | "agent_missing" | "agent_inactive" | "feature_disabled" | "agent_upgrade_required" | null;
41216
+ };
41217
+ readonly onsiteMemberLookup: {
41218
+ readonly supported: boolean;
41219
+ readonly enabled: boolean;
41220
+ readonly reason: "not_configured" | "unsupported_provider" | "unsupported_transport" | "source_inactive" | "provider_inactive" | "agent_missing" | "agent_inactive" | "feature_disabled" | "agent_upgrade_required" | null;
41221
+ };
41222
+ readonly memberCreation: {
41223
+ readonly mode: "local" | "source_managed" | null;
41224
+ readonly supported: boolean;
41225
+ readonly enabled: boolean;
41226
+ readonly reason: "not_configured" | "unsupported_provider" | "unsupported_transport" | "source_inactive" | "provider_inactive" | "agent_missing" | "agent_inactive" | "feature_disabled" | "agent_upgrade_required" | null;
41227
+ };
41228
+ }>>;
40212
41229
  readonly list: (input?: ListOrganizationsInput) => Promise<SpokeHubResult<{
40213
41230
  readonly items: readonly {
40214
41231
  readonly id: string;
@@ -40470,6 +41487,128 @@ declare function makeSpokeClient(hubClient: PromiseHubApiClient): {
40470
41487
  readonly displayName: string;
40471
41488
  readonly dob: string | null;
40472
41489
  }>>;
41490
+ readonly getByExternalSystemId: (input: {
41491
+ readonly organizationId: string;
41492
+ readonly externalSystemMemberId: string;
41493
+ readonly responseMode?: MemberResponseMode;
41494
+ }) => Promise<SpokeHubResult<{
41495
+ readonly email: string | null;
41496
+ readonly title: string | null;
41497
+ readonly firstName: string;
41498
+ readonly middleName: string | null;
41499
+ readonly lastName: string;
41500
+ readonly displayName: string;
41501
+ readonly dob: string | null;
41502
+ readonly gender: string | null;
41503
+ readonly mobilePhone: string | null;
41504
+ readonly homePhone: string | null;
41505
+ readonly preferredContactMethod: "sms" | "email" | null;
41506
+ readonly occupation: string | null;
41507
+ readonly address: string | null;
41508
+ readonly addressParts: {
41509
+ readonly line1: string | null;
41510
+ readonly line2: string | null;
41511
+ readonly suburb: string | null;
41512
+ readonly state: string | null;
41513
+ readonly postalCode: string | null;
41514
+ readonly country: string | null;
41515
+ } | null;
41516
+ readonly postalAddress: string | null;
41517
+ readonly postalAddressParts: {
41518
+ readonly line1: string | null;
41519
+ readonly line2: string | null;
41520
+ readonly suburb: string | null;
41521
+ readonly state: string | null;
41522
+ readonly postalCode: string | null;
41523
+ readonly country: string | null;
41524
+ } | null;
41525
+ readonly membershipType: string | null;
41526
+ readonly membershipTypeId: string | null;
41527
+ readonly ratingGrade: string | null;
41528
+ readonly ratingGradeId: string | null;
41529
+ readonly marketingPreferences: {
41530
+ readonly email: boolean;
41531
+ readonly sms: boolean;
41532
+ readonly post: boolean;
41533
+ readonly gamingEmail: boolean;
41534
+ readonly gamingSms: boolean;
41535
+ readonly gamingOptOut: boolean;
41536
+ };
41537
+ readonly expiresAt: string | null;
41538
+ readonly statusCredits: number;
41539
+ readonly memberNumber: string | null;
41540
+ readonly externalSystemMemberId: string | null;
41541
+ readonly cardId: string | null;
41542
+ readonly customFields: {
41543
+ readonly [x: string]: unknown;
41544
+ };
41545
+ readonly createdAt: string;
41546
+ readonly updatedAt: string;
41547
+ readonly deletedAt: string | null;
41548
+ readonly responseMode: "full";
41549
+ readonly sourceStatus: string | null;
41550
+ readonly sourceStatusObservedAt: string | null;
41551
+ readonly renewalRequired: boolean | null;
41552
+ readonly id: string;
41553
+ readonly organizationId: string;
41554
+ readonly organizationMemberSourceId: string | null;
41555
+ readonly status: "active" | "archived" | "active-expired" | "suspended" | "expired";
41556
+ readonly isSuspended: boolean;
41557
+ readonly recordMode: "local" | "source_managed";
41558
+ readonly createdOrigin: "hub_admin" | "service_api" | "seed" | "source_sync" | "source_create";
41559
+ readonly createdOriginName: string | null;
41560
+ readonly seedBatchId: string | null;
41561
+ readonly archivedAt: string | null;
41562
+ readonly joinedAt: string | null;
41563
+ readonly sourceUpdatedAt: string | null;
41564
+ } | {
41565
+ readonly displayName: string;
41566
+ readonly dob: string | null;
41567
+ readonly email: string | null;
41568
+ readonly preferredContactMethod: "sms" | "email" | null;
41569
+ readonly occupation: string | null;
41570
+ readonly joinedAt: string | null;
41571
+ readonly address: string | null;
41572
+ readonly addressParts: {
41573
+ readonly line1: string | null;
41574
+ readonly line2: string | null;
41575
+ readonly suburb: string | null;
41576
+ readonly state: string | null;
41577
+ readonly postalCode: string | null;
41578
+ readonly country: string | null;
41579
+ } | null;
41580
+ readonly membershipType: string | null;
41581
+ readonly membershipTypeId: string | null;
41582
+ readonly ratingGrade: string | null;
41583
+ readonly ratingGradeId: string | null;
41584
+ readonly statusCredits: number;
41585
+ readonly memberNumber: string | null;
41586
+ readonly externalSystemMemberId: string | null;
41587
+ readonly cardId: string | null;
41588
+ readonly customFields: {
41589
+ readonly [x: string]: unknown;
41590
+ };
41591
+ readonly updatedAt: string;
41592
+ readonly responseMode: "med";
41593
+ readonly sourceStatus: string | null;
41594
+ readonly sourceStatusObservedAt: string | null;
41595
+ readonly renewalRequired: boolean | null;
41596
+ readonly id: string;
41597
+ readonly organizationId: string;
41598
+ readonly status: "active" | "archived" | "active-expired" | "suspended" | "expired";
41599
+ readonly isSuspended: boolean;
41600
+ } | {
41601
+ readonly responseMode: "basic";
41602
+ readonly statusCredits: number;
41603
+ readonly memberNumber: string | null;
41604
+ readonly sourceStatus: string | null;
41605
+ readonly sourceStatusObservedAt: string | null;
41606
+ readonly renewalRequired: boolean | null;
41607
+ readonly id: string;
41608
+ readonly status: "active" | "archived" | "active-expired" | "suspended" | "expired";
41609
+ readonly displayName: string;
41610
+ readonly dob: string | null;
41611
+ }>>;
40473
41612
  readonly bulkGet: (input: {
40474
41613
  readonly organizationId: string;
40475
41614
  readonly payload: BulkGetOrganizationMembersInput;
@@ -43392,4 +44531,4 @@ declare const makePromiseSpokeClient: (options: HubApiCredentialOptions) => Prom
43392
44531
  readonly hubClient: PromiseHubApiClient;
43393
44532
  }>;
43394
44533
 
43395
- 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, type OrganizationMemberSourceEnsureActiveMembershipConfig, OrganizationMemberSourceEnsureActiveMembershipConfigSchema, 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, type PointRequestMetadataInput, PointRequestMetadataSchema, 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, memberSourceEnsureActiveMembershipEnabled, 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 };
44534
+ 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 OrganizationCapabilities, OrganizationCapabilitiesSchema, type OrganizationCapability, OrganizationCapabilitySchema, type OrganizationMemberGender, OrganizationMemberGenderSchema, type OrganizationMemberMembershipType, OrganizationMemberMembershipTypeSchema, type OrganizationMemberRatingGrade, OrganizationMemberRatingGradeSchema, type OrganizationMemberSource, type OrganizationMemberSourceAgent, OrganizationMemberSourceAgentSchema, type OrganizationMemberSourceCommand, OrganizationMemberSourceCommandSchema, type OrganizationMemberSourceCsvImport, OrganizationMemberSourceCsvImportSchema, type OrganizationMemberSourceCsvMapping, OrganizationMemberSourceCsvMappingSchema, type OrganizationMemberSourceEnsureActiveMembershipConfig, OrganizationMemberSourceEnsureActiveMembershipConfigSchema, 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, type PointRequestMetadataInput, PointRequestMetadataSchema, 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, memberSourceEnsureActiveMembershipEnabled, 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 };