@spoketech/hub-client 0.1.24 → 0.1.25

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
@@ -1651,7 +1651,28 @@ declare const OrganizationMemberSourceWebhookUpsertResponseSchema: effect_Schema
1651
1651
  }>;
1652
1652
  readonly signingSecret: effect_Schema.Union<readonly [effect_Schema.String, effect_Schema.Null]>;
1653
1653
  }>;
1654
+ declare const OnsiteAgentRunProgressSchema: effect_Schema.Struct<{
1655
+ readonly stage: effect_Schema.Literals<readonly ["members", "contact_preferences", "uploading", "queued_for_import"]>;
1656
+ readonly processingStage: effect_Schema.optional<effect_Schema.Literals<readonly ["indexing_preferences", "normalizing_members", "serializing"]>>;
1657
+ readonly recordsProcessed: effect_Schema.optional<effect_Schema.Int>;
1658
+ readonly pagesFetched: effect_Schema.Int;
1659
+ readonly recordsFetched: effect_Schema.Int;
1660
+ readonly totalPages: effect_Schema.Union<readonly [effect_Schema.Int, effect_Schema.Null]>;
1661
+ readonly totalRecords: effect_Schema.Union<readonly [effect_Schema.Int, effect_Schema.Null]>;
1662
+ readonly pageSize: effect_Schema.Union<readonly [effect_Schema.Int, effect_Schema.Null]>;
1663
+ }>;
1664
+ type OnsiteAgentRunProgressInput = effect_Schema.Schema.Type<typeof OnsiteAgentRunProgressSchema>;
1654
1665
  declare const OrganizationMemberSyncRunSummarySchema: effect_Schema.Struct<{
1666
+ readonly sourceProgress: effect_Schema.optional<effect_Schema.Struct<{
1667
+ readonly stage: effect_Schema.Literals<readonly ["members", "contact_preferences", "uploading", "queued_for_import"]>;
1668
+ readonly processingStage: effect_Schema.optional<effect_Schema.Literals<readonly ["indexing_preferences", "normalizing_members", "serializing"]>>;
1669
+ readonly recordsProcessed: effect_Schema.optional<effect_Schema.Int>;
1670
+ readonly pagesFetched: effect_Schema.Int;
1671
+ readonly recordsFetched: effect_Schema.Int;
1672
+ readonly totalPages: effect_Schema.Union<readonly [effect_Schema.Int, effect_Schema.Null]>;
1673
+ readonly totalRecords: effect_Schema.Union<readonly [effect_Schema.Int, effect_Schema.Null]>;
1674
+ readonly pageSize: effect_Schema.Union<readonly [effect_Schema.Int, effect_Schema.Null]>;
1675
+ }>>;
1655
1676
  readonly totalRecords: effect_Schema.Number;
1656
1677
  readonly inserted: effect_Schema.Number;
1657
1678
  readonly updated: effect_Schema.Number;
@@ -1689,6 +1710,16 @@ declare const OrganizationMemberSyncRunSchema: effect_Schema.Struct<{
1689
1710
  readonly cursorBefore: effect_Schema.Union<readonly [effect_Schema.$Record<effect_Schema.String, effect_Schema.Unknown>, effect_Schema.Null]>;
1690
1711
  readonly cursorAfter: effect_Schema.Union<readonly [effect_Schema.$Record<effect_Schema.String, effect_Schema.Unknown>, effect_Schema.Null]>;
1691
1712
  readonly summary: effect_Schema.Struct<{
1713
+ readonly sourceProgress: effect_Schema.optional<effect_Schema.Struct<{
1714
+ readonly stage: effect_Schema.Literals<readonly ["members", "contact_preferences", "uploading", "queued_for_import"]>;
1715
+ readonly processingStage: effect_Schema.optional<effect_Schema.Literals<readonly ["indexing_preferences", "normalizing_members", "serializing"]>>;
1716
+ readonly recordsProcessed: effect_Schema.optional<effect_Schema.Int>;
1717
+ readonly pagesFetched: effect_Schema.Int;
1718
+ readonly recordsFetched: effect_Schema.Int;
1719
+ readonly totalPages: effect_Schema.Union<readonly [effect_Schema.Int, effect_Schema.Null]>;
1720
+ readonly totalRecords: effect_Schema.Union<readonly [effect_Schema.Int, effect_Schema.Null]>;
1721
+ readonly pageSize: effect_Schema.Union<readonly [effect_Schema.Int, effect_Schema.Null]>;
1722
+ }>>;
1692
1723
  readonly totalRecords: effect_Schema.Number;
1693
1724
  readonly inserted: effect_Schema.Number;
1694
1725
  readonly updated: effect_Schema.Number;
@@ -1732,6 +1763,16 @@ declare const PaginatedOrganizationMemberSyncRunsSchema: effect_Schema.Struct<{
1732
1763
  readonly cursorBefore: effect_Schema.Union<readonly [effect_Schema.$Record<effect_Schema.String, effect_Schema.Unknown>, effect_Schema.Null]>;
1733
1764
  readonly cursorAfter: effect_Schema.Union<readonly [effect_Schema.$Record<effect_Schema.String, effect_Schema.Unknown>, effect_Schema.Null]>;
1734
1765
  readonly summary: effect_Schema.Struct<{
1766
+ readonly sourceProgress: effect_Schema.optional<effect_Schema.Struct<{
1767
+ readonly stage: effect_Schema.Literals<readonly ["members", "contact_preferences", "uploading", "queued_for_import"]>;
1768
+ readonly processingStage: effect_Schema.optional<effect_Schema.Literals<readonly ["indexing_preferences", "normalizing_members", "serializing"]>>;
1769
+ readonly recordsProcessed: effect_Schema.optional<effect_Schema.Int>;
1770
+ readonly pagesFetched: effect_Schema.Int;
1771
+ readonly recordsFetched: effect_Schema.Int;
1772
+ readonly totalPages: effect_Schema.Union<readonly [effect_Schema.Int, effect_Schema.Null]>;
1773
+ readonly totalRecords: effect_Schema.Union<readonly [effect_Schema.Int, effect_Schema.Null]>;
1774
+ readonly pageSize: effect_Schema.Union<readonly [effect_Schema.Int, effect_Schema.Null]>;
1775
+ }>>;
1735
1776
  readonly totalRecords: effect_Schema.Number;
1736
1777
  readonly inserted: effect_Schema.Number;
1737
1778
  readonly updated: effect_Schema.Number;
@@ -3517,6 +3558,39 @@ declare const PresignedPostSchema: effect_Schema.Struct<{
3517
3558
  readonly url: effect_Schema.String;
3518
3559
  readonly fields: effect_Schema.$Record<effect_Schema.String, effect_Schema.String>;
3519
3560
  }>;
3561
+ declare const CreateOrganizationInitialMembershipUploadSchema: effect_Schema.Struct<{
3562
+ readonly fileName: effect_Schema.String;
3563
+ }>;
3564
+ declare const OrganizationInitialMembershipUploadsSchema: effect_Schema.Struct<{
3565
+ readonly hasUpload: effect_Schema.Boolean;
3566
+ readonly uploads: effect_Schema.$Array<effect_Schema.Struct<{
3567
+ readonly uploadId: effect_Schema.String;
3568
+ readonly fileName: effect_Schema.String;
3569
+ readonly objectKey: effect_Schema.String;
3570
+ readonly sizeBytes: effect_Schema.Number;
3571
+ readonly uploadedAt: effect_Schema.NullOr<effect_Schema.String>;
3572
+ }>>;
3573
+ }>;
3574
+ declare const OrganizationInitialMembershipUploadDownloadSchema: effect_Schema.Struct<{
3575
+ readonly url: effect_Schema.String;
3576
+ readonly expiresIn: effect_Schema.Number;
3577
+ }>;
3578
+ declare const DeleteOrganizationInitialMembershipUploadResponseSchema: effect_Schema.Struct<{
3579
+ readonly uploadId: effect_Schema.String;
3580
+ readonly deleted: effect_Schema.Boolean;
3581
+ }>;
3582
+ declare const CreateOrganizationInitialMembershipUploadResponseSchema: effect_Schema.Struct<{
3583
+ readonly uploadId: effect_Schema.String;
3584
+ readonly bucketName: effect_Schema.String;
3585
+ readonly objectKey: effect_Schema.String;
3586
+ readonly fileName: effect_Schema.String;
3587
+ readonly contentType: effect_Schema.String;
3588
+ readonly expiresIn: effect_Schema.Number;
3589
+ readonly presignedPost: effect_Schema.Struct<{
3590
+ readonly url: effect_Schema.String;
3591
+ readonly fields: effect_Schema.$Record<effect_Schema.String, effect_Schema.String>;
3592
+ }>;
3593
+ }>;
3520
3594
  declare const CreateOrganizationMemberSourceCsvUploadResponseSchema: effect_Schema.Struct<{
3521
3595
  readonly importSession: effect_Schema.Struct<{
3522
3596
  readonly id: effect_Schema.String;
@@ -9023,6 +9097,116 @@ declare const HubApi: HttpApi.HttpApi<"hub", HttpApiGroup.HttpApiGroup<"auth", e
9023
9097
  }> | effect_Schema.Struct<{
9024
9098
  readonly code: effect_Schema.Literal<"internal_error">;
9025
9099
  readonly message: effect_Schema.String;
9100
+ }>>, never, never> | effect_unstable_httpapi_HttpApiEndpoint.HttpApiEndpoint<"getOrganizationInitialMembershipUploads", "GET", "/v1/organizations/:organizationId/initial-membership-uploads", effect_Schema.toCodecStringTree<effect_Schema.Struct<{
9101
+ readonly organizationId: effect_Schema.String;
9102
+ }>>, never, never, never, effect_Schema.toCodecJson<effect_Schema.Struct<{
9103
+ readonly hasUpload: effect_Schema.Boolean;
9104
+ readonly uploads: effect_Schema.$Array<effect_Schema.Struct<{
9105
+ readonly uploadId: effect_Schema.String;
9106
+ readonly fileName: effect_Schema.String;
9107
+ readonly objectKey: effect_Schema.String;
9108
+ readonly sizeBytes: effect_Schema.Number;
9109
+ readonly uploadedAt: effect_Schema.NullOr<effect_Schema.String>;
9110
+ }>>;
9111
+ }>>, effect_Schema.toCodecJson<effect_Schema.Struct<{
9112
+ readonly code: effect_Schema.Literal<"unauthorized">;
9113
+ readonly message: effect_Schema.String;
9114
+ }> | effect_Schema.Struct<{
9115
+ readonly code: effect_Schema.Literal<"forbidden">;
9116
+ readonly message: effect_Schema.String;
9117
+ }> | effect_Schema.Struct<{
9118
+ readonly code: effect_Schema.Literal<"not_found">;
9119
+ readonly message: effect_Schema.String;
9120
+ }> | effect_Schema.Struct<{
9121
+ readonly code: effect_Schema.Literal<"conflict">;
9122
+ readonly message: effect_Schema.String;
9123
+ }> | effect_Schema.Struct<{
9124
+ readonly code: effect_Schema.Literal<"bad_request">;
9125
+ readonly message: effect_Schema.String;
9126
+ }> | effect_Schema.Struct<{
9127
+ readonly code: effect_Schema.Literal<"internal_error">;
9128
+ readonly message: effect_Schema.String;
9129
+ }>>, never, never> | effect_unstable_httpapi_HttpApiEndpoint.HttpApiEndpoint<"getOrganizationInitialMembershipUploadDownload", "GET", "/v1/organizations/:organizationId/initial-membership-uploads/:uploadId/download", effect_Schema.toCodecStringTree<effect_Schema.Struct<{
9130
+ readonly organizationId: effect_Schema.String;
9131
+ readonly uploadId: effect_Schema.String;
9132
+ }>>, never, never, never, effect_Schema.toCodecJson<effect_Schema.Struct<{
9133
+ readonly url: effect_Schema.String;
9134
+ readonly expiresIn: effect_Schema.Number;
9135
+ }>>, effect_Schema.toCodecJson<effect_Schema.Struct<{
9136
+ readonly code: effect_Schema.Literal<"unauthorized">;
9137
+ readonly message: effect_Schema.String;
9138
+ }> | effect_Schema.Struct<{
9139
+ readonly code: effect_Schema.Literal<"forbidden">;
9140
+ readonly message: effect_Schema.String;
9141
+ }> | effect_Schema.Struct<{
9142
+ readonly code: effect_Schema.Literal<"not_found">;
9143
+ readonly message: effect_Schema.String;
9144
+ }> | effect_Schema.Struct<{
9145
+ readonly code: effect_Schema.Literal<"conflict">;
9146
+ readonly message: effect_Schema.String;
9147
+ }> | effect_Schema.Struct<{
9148
+ readonly code: effect_Schema.Literal<"bad_request">;
9149
+ readonly message: effect_Schema.String;
9150
+ }> | effect_Schema.Struct<{
9151
+ readonly code: effect_Schema.Literal<"internal_error">;
9152
+ readonly message: effect_Schema.String;
9153
+ }>>, never, never> | effect_unstable_httpapi_HttpApiEndpoint.HttpApiEndpoint<"deleteOrganizationInitialMembershipUpload", "DELETE", "/v1/organizations/:organizationId/initial-membership-uploads/:uploadId", effect_Schema.toCodecStringTree<effect_Schema.Struct<{
9154
+ readonly organizationId: effect_Schema.String;
9155
+ readonly uploadId: effect_Schema.String;
9156
+ }>>, never, never, never, effect_Schema.toCodecJson<effect_Schema.Struct<{
9157
+ readonly uploadId: effect_Schema.String;
9158
+ readonly deleted: effect_Schema.Boolean;
9159
+ }>>, effect_Schema.toCodecJson<effect_Schema.Struct<{
9160
+ readonly code: effect_Schema.Literal<"unauthorized">;
9161
+ readonly message: effect_Schema.String;
9162
+ }> | effect_Schema.Struct<{
9163
+ readonly code: effect_Schema.Literal<"forbidden">;
9164
+ readonly message: effect_Schema.String;
9165
+ }> | effect_Schema.Struct<{
9166
+ readonly code: effect_Schema.Literal<"not_found">;
9167
+ readonly message: effect_Schema.String;
9168
+ }> | effect_Schema.Struct<{
9169
+ readonly code: effect_Schema.Literal<"conflict">;
9170
+ readonly message: effect_Schema.String;
9171
+ }> | effect_Schema.Struct<{
9172
+ readonly code: effect_Schema.Literal<"bad_request">;
9173
+ readonly message: effect_Schema.String;
9174
+ }> | effect_Schema.Struct<{
9175
+ readonly code: effect_Schema.Literal<"internal_error">;
9176
+ readonly message: effect_Schema.String;
9177
+ }>>, never, never> | effect_unstable_httpapi_HttpApiEndpoint.HttpApiEndpoint<"createOrganizationInitialMembershipUpload", "POST", "/v1/organizations/:organizationId/initial-membership-uploads", effect_Schema.toCodecStringTree<effect_Schema.Struct<{
9178
+ readonly organizationId: effect_Schema.String;
9179
+ }>>, never, effect_Schema.toCodecJson<effect_Schema.Struct<{
9180
+ readonly fileName: effect_Schema.String;
9181
+ }>>, never, effect_Schema.toCodecJson<effect_Schema.Struct<{
9182
+ readonly uploadId: effect_Schema.String;
9183
+ readonly bucketName: effect_Schema.String;
9184
+ readonly objectKey: effect_Schema.String;
9185
+ readonly fileName: effect_Schema.String;
9186
+ readonly contentType: effect_Schema.String;
9187
+ readonly expiresIn: effect_Schema.Number;
9188
+ readonly presignedPost: effect_Schema.Struct<{
9189
+ readonly url: effect_Schema.String;
9190
+ readonly fields: effect_Schema.$Record<effect_Schema.String, effect_Schema.String>;
9191
+ }>;
9192
+ }>>, effect_Schema.toCodecJson<effect_Schema.Struct<{
9193
+ readonly code: effect_Schema.Literal<"unauthorized">;
9194
+ readonly message: effect_Schema.String;
9195
+ }> | effect_Schema.Struct<{
9196
+ readonly code: effect_Schema.Literal<"forbidden">;
9197
+ readonly message: effect_Schema.String;
9198
+ }> | effect_Schema.Struct<{
9199
+ readonly code: effect_Schema.Literal<"not_found">;
9200
+ readonly message: effect_Schema.String;
9201
+ }> | effect_Schema.Struct<{
9202
+ readonly code: effect_Schema.Literal<"conflict">;
9203
+ readonly message: effect_Schema.String;
9204
+ }> | effect_Schema.Struct<{
9205
+ readonly code: effect_Schema.Literal<"bad_request">;
9206
+ readonly message: effect_Schema.String;
9207
+ }> | effect_Schema.Struct<{
9208
+ readonly code: effect_Schema.Literal<"internal_error">;
9209
+ readonly message: effect_Schema.String;
9026
9210
  }>>, never, never> | effect_unstable_httpapi_HttpApiEndpoint.HttpApiEndpoint<"createOrganizationMemberSourceCsvUpload", "POST", "/v1/organizations/:organizationId/member-source/csv-uploads", effect_Schema.toCodecStringTree<effect_Schema.Struct<{
9027
9211
  readonly organizationId: effect_Schema.String;
9028
9212
  }>>, never, effect_Schema.toCodecJson<effect_Schema.Struct<{
@@ -9157,6 +9341,16 @@ declare const HubApi: HttpApi.HttpApi<"hub", HttpApiGroup.HttpApiGroup<"auth", e
9157
9341
  readonly cursorBefore: effect_Schema.Union<readonly [effect_Schema.$Record<effect_Schema.String, effect_Schema.Unknown>, effect_Schema.Null]>;
9158
9342
  readonly cursorAfter: effect_Schema.Union<readonly [effect_Schema.$Record<effect_Schema.String, effect_Schema.Unknown>, effect_Schema.Null]>;
9159
9343
  readonly summary: effect_Schema.Struct<{
9344
+ readonly sourceProgress: effect_Schema.optional<effect_Schema.Struct<{
9345
+ readonly stage: effect_Schema.Literals<readonly ["members", "contact_preferences", "uploading", "queued_for_import"]>;
9346
+ readonly processingStage: effect_Schema.optional<effect_Schema.Literals<readonly ["indexing_preferences", "normalizing_members", "serializing"]>>;
9347
+ readonly recordsProcessed: effect_Schema.optional<effect_Schema.Int>;
9348
+ readonly pagesFetched: effect_Schema.Int;
9349
+ readonly recordsFetched: effect_Schema.Int;
9350
+ readonly totalPages: effect_Schema.Union<readonly [effect_Schema.Int, effect_Schema.Null]>;
9351
+ readonly totalRecords: effect_Schema.Union<readonly [effect_Schema.Int, effect_Schema.Null]>;
9352
+ readonly pageSize: effect_Schema.Union<readonly [effect_Schema.Int, effect_Schema.Null]>;
9353
+ }>>;
9160
9354
  readonly totalRecords: effect_Schema.Number;
9161
9355
  readonly inserted: effect_Schema.Number;
9162
9356
  readonly updated: effect_Schema.Number;
@@ -9223,6 +9417,16 @@ declare const HubApi: HttpApi.HttpApi<"hub", HttpApiGroup.HttpApiGroup<"auth", e
9223
9417
  readonly cursorBefore: effect_Schema.Union<readonly [effect_Schema.$Record<effect_Schema.String, effect_Schema.Unknown>, effect_Schema.Null]>;
9224
9418
  readonly cursorAfter: effect_Schema.Union<readonly [effect_Schema.$Record<effect_Schema.String, effect_Schema.Unknown>, effect_Schema.Null]>;
9225
9419
  readonly summary: effect_Schema.Struct<{
9420
+ readonly sourceProgress: effect_Schema.optional<effect_Schema.Struct<{
9421
+ readonly stage: effect_Schema.Literals<readonly ["members", "contact_preferences", "uploading", "queued_for_import"]>;
9422
+ readonly processingStage: effect_Schema.optional<effect_Schema.Literals<readonly ["indexing_preferences", "normalizing_members", "serializing"]>>;
9423
+ readonly recordsProcessed: effect_Schema.optional<effect_Schema.Int>;
9424
+ readonly pagesFetched: effect_Schema.Int;
9425
+ readonly recordsFetched: effect_Schema.Int;
9426
+ readonly totalPages: effect_Schema.Union<readonly [effect_Schema.Int, effect_Schema.Null]>;
9427
+ readonly totalRecords: effect_Schema.Union<readonly [effect_Schema.Int, effect_Schema.Null]>;
9428
+ readonly pageSize: effect_Schema.Union<readonly [effect_Schema.Int, effect_Schema.Null]>;
9429
+ }>>;
9226
9430
  readonly totalRecords: effect_Schema.Number;
9227
9431
  readonly inserted: effect_Schema.Number;
9228
9432
  readonly updated: effect_Schema.Number;
@@ -9611,6 +9815,16 @@ declare const HubApi: HttpApi.HttpApi<"hub", HttpApiGroup.HttpApiGroup<"auth", e
9611
9815
  readonly cursorBefore: effect_Schema.Union<readonly [effect_Schema.$Record<effect_Schema.String, effect_Schema.Unknown>, effect_Schema.Null]>;
9612
9816
  readonly cursorAfter: effect_Schema.Union<readonly [effect_Schema.$Record<effect_Schema.String, effect_Schema.Unknown>, effect_Schema.Null]>;
9613
9817
  readonly summary: effect_Schema.Struct<{
9818
+ readonly sourceProgress: effect_Schema.optional<effect_Schema.Struct<{
9819
+ readonly stage: effect_Schema.Literals<readonly ["members", "contact_preferences", "uploading", "queued_for_import"]>;
9820
+ readonly processingStage: effect_Schema.optional<effect_Schema.Literals<readonly ["indexing_preferences", "normalizing_members", "serializing"]>>;
9821
+ readonly recordsProcessed: effect_Schema.optional<effect_Schema.Int>;
9822
+ readonly pagesFetched: effect_Schema.Int;
9823
+ readonly recordsFetched: effect_Schema.Int;
9824
+ readonly totalPages: effect_Schema.Union<readonly [effect_Schema.Int, effect_Schema.Null]>;
9825
+ readonly totalRecords: effect_Schema.Union<readonly [effect_Schema.Int, effect_Schema.Null]>;
9826
+ readonly pageSize: effect_Schema.Union<readonly [effect_Schema.Int, effect_Schema.Null]>;
9827
+ }>>;
9614
9828
  readonly totalRecords: effect_Schema.Number;
9615
9829
  readonly inserted: effect_Schema.Number;
9616
9830
  readonly updated: effect_Schema.Number;
@@ -9809,6 +10023,16 @@ declare const HubApi: HttpApi.HttpApi<"hub", HttpApiGroup.HttpApiGroup<"auth", e
9809
10023
  readonly cursorBefore: effect_Schema.Union<readonly [effect_Schema.$Record<effect_Schema.String, effect_Schema.Unknown>, effect_Schema.Null]>;
9810
10024
  readonly cursorAfter: effect_Schema.Union<readonly [effect_Schema.$Record<effect_Schema.String, effect_Schema.Unknown>, effect_Schema.Null]>;
9811
10025
  readonly summary: effect_Schema.Struct<{
10026
+ readonly sourceProgress: effect_Schema.optional<effect_Schema.Struct<{
10027
+ readonly stage: effect_Schema.Literals<readonly ["members", "contact_preferences", "uploading", "queued_for_import"]>;
10028
+ readonly processingStage: effect_Schema.optional<effect_Schema.Literals<readonly ["indexing_preferences", "normalizing_members", "serializing"]>>;
10029
+ readonly recordsProcessed: effect_Schema.optional<effect_Schema.Int>;
10030
+ readonly pagesFetched: effect_Schema.Int;
10031
+ readonly recordsFetched: effect_Schema.Int;
10032
+ readonly totalPages: effect_Schema.Union<readonly [effect_Schema.Int, effect_Schema.Null]>;
10033
+ readonly totalRecords: effect_Schema.Union<readonly [effect_Schema.Int, effect_Schema.Null]>;
10034
+ readonly pageSize: effect_Schema.Union<readonly [effect_Schema.Int, effect_Schema.Null]>;
10035
+ }>>;
9812
10036
  readonly totalRecords: effect_Schema.Number;
9813
10037
  readonly inserted: effect_Schema.Number;
9814
10038
  readonly updated: effect_Schema.Number;
@@ -10322,6 +10546,37 @@ declare const HubApi: HttpApi.HttpApi<"hub", HttpApiGroup.HttpApiGroup<"auth", e
10322
10546
  }> | effect_Schema.Struct<{
10323
10547
  readonly code: effect_Schema.Literal<"internal_error">;
10324
10548
  readonly message: effect_Schema.String;
10549
+ }>>, never, never> | effect_unstable_httpapi_HttpApiEndpoint.HttpApiEndpoint<"reportOnsiteAgentRunProgress", "POST", "/v1/onsite-agent/runs/:runId/progress", effect_Schema.toCodecStringTree<effect_Schema.Struct<{
10550
+ readonly runId: effect_Schema.String;
10551
+ }>>, never, effect_Schema.toCodecJson<effect_Schema.Struct<{
10552
+ readonly stage: effect_Schema.Literals<readonly ["members", "contact_preferences", "uploading", "queued_for_import"]>;
10553
+ readonly processingStage: effect_Schema.optional<effect_Schema.Literals<readonly ["indexing_preferences", "normalizing_members", "serializing"]>>;
10554
+ readonly recordsProcessed: effect_Schema.optional<effect_Schema.Int>;
10555
+ readonly pagesFetched: effect_Schema.Int;
10556
+ readonly recordsFetched: effect_Schema.Int;
10557
+ readonly totalPages: effect_Schema.Union<readonly [effect_Schema.Int, effect_Schema.Null]>;
10558
+ readonly totalRecords: effect_Schema.Union<readonly [effect_Schema.Int, effect_Schema.Null]>;
10559
+ readonly pageSize: effect_Schema.Union<readonly [effect_Schema.Int, effect_Schema.Null]>;
10560
+ }>>, never, effect_Schema.toCodecJson<effect_Schema.Struct<{
10561
+ readonly accepted: effect_Schema.Boolean;
10562
+ }>>, effect_Schema.toCodecJson<effect_Schema.Struct<{
10563
+ readonly code: effect_Schema.Literal<"unauthorized">;
10564
+ readonly message: effect_Schema.String;
10565
+ }> | effect_Schema.Struct<{
10566
+ readonly code: effect_Schema.Literal<"forbidden">;
10567
+ readonly message: effect_Schema.String;
10568
+ }> | effect_Schema.Struct<{
10569
+ readonly code: effect_Schema.Literal<"not_found">;
10570
+ readonly message: effect_Schema.String;
10571
+ }> | effect_Schema.Struct<{
10572
+ readonly code: effect_Schema.Literal<"conflict">;
10573
+ readonly message: effect_Schema.String;
10574
+ }> | effect_Schema.Struct<{
10575
+ readonly code: effect_Schema.Literal<"bad_request">;
10576
+ readonly message: effect_Schema.String;
10577
+ }> | effect_Schema.Struct<{
10578
+ readonly code: effect_Schema.Literal<"internal_error">;
10579
+ readonly message: effect_Schema.String;
10325
10580
  }>>, never, never> | effect_unstable_httpapi_HttpApiEndpoint.HttpApiEndpoint<"completeOnsiteAgentRun", "POST", "/v1/onsite-agent/runs/:runId/complete", effect_Schema.toCodecStringTree<effect_Schema.Struct<{
10326
10581
  readonly runId: effect_Schema.String;
10327
10582
  }>>, never, effect_Schema.toCodecJson<effect_Schema.Struct<{
@@ -10417,6 +10672,16 @@ declare const HubApi: HttpApi.HttpApi<"hub", HttpApiGroup.HttpApiGroup<"auth", e
10417
10672
  readonly cursorBefore: effect_Schema.Union<readonly [effect_Schema.$Record<effect_Schema.String, effect_Schema.Unknown>, effect_Schema.Null]>;
10418
10673
  readonly cursorAfter: effect_Schema.Union<readonly [effect_Schema.$Record<effect_Schema.String, effect_Schema.Unknown>, effect_Schema.Null]>;
10419
10674
  readonly summary: effect_Schema.Struct<{
10675
+ readonly sourceProgress: effect_Schema.optional<effect_Schema.Struct<{
10676
+ readonly stage: effect_Schema.Literals<readonly ["members", "contact_preferences", "uploading", "queued_for_import"]>;
10677
+ readonly processingStage: effect_Schema.optional<effect_Schema.Literals<readonly ["indexing_preferences", "normalizing_members", "serializing"]>>;
10678
+ readonly recordsProcessed: effect_Schema.optional<effect_Schema.Int>;
10679
+ readonly pagesFetched: effect_Schema.Int;
10680
+ readonly recordsFetched: effect_Schema.Int;
10681
+ readonly totalPages: effect_Schema.Union<readonly [effect_Schema.Int, effect_Schema.Null]>;
10682
+ readonly totalRecords: effect_Schema.Union<readonly [effect_Schema.Int, effect_Schema.Null]>;
10683
+ readonly pageSize: effect_Schema.Union<readonly [effect_Schema.Int, effect_Schema.Null]>;
10684
+ }>>;
10420
10685
  readonly totalRecords: effect_Schema.Number;
10421
10686
  readonly inserted: effect_Schema.Number;
10422
10687
  readonly updated: effect_Schema.Number;
@@ -11939,6 +12204,11 @@ type OnsiteAgentCompleteCustomFieldsInput = effect_Schema.Schema.Type<typeof Ons
11939
12204
  type DeletePayload = effect_Schema.Schema.Type<typeof DeletePayloadSchema>;
11940
12205
  type OrganizationCapabilities = effect_Schema.Schema.Type<typeof OrganizationCapabilitiesSchema>;
11941
12206
  type OrganizationCapability = effect_Schema.Schema.Type<typeof OrganizationCapabilitySchema>;
12207
+ type CreateOrganizationInitialMembershipUploadInput = effect_Schema.Schema.Type<typeof CreateOrganizationInitialMembershipUploadSchema>;
12208
+ type CreateOrganizationInitialMembershipUploadResponse = effect_Schema.Schema.Type<typeof CreateOrganizationInitialMembershipUploadResponseSchema>;
12209
+ type OrganizationInitialMembershipUploads = effect_Schema.Schema.Type<typeof OrganizationInitialMembershipUploadsSchema>;
12210
+ type DeleteOrganizationInitialMembershipUploadResponse = effect_Schema.Schema.Type<typeof DeleteOrganizationInitialMembershipUploadResponseSchema>;
12211
+ type OrganizationInitialMembershipUploadDownload = effect_Schema.Schema.Type<typeof OrganizationInitialMembershipUploadDownloadSchema>;
11942
12212
 
11943
12213
  type HubApiGroups = typeof HubApi extends HttpApi.HttpApi<any, infer Groups> ? Groups : never;
11944
12214
  type HubApiClient = HttpApiClient.Client<HubApiGroups>;
@@ -16440,6 +16710,120 @@ declare const makeHubApiClient: (options: HubApiClientOptions) => Effect.Effect<
16440
16710
  readonly code: effect_Schema.Literal<"internal_error">;
16441
16711
  readonly message: effect_Schema.String;
16442
16712
  }>>, never, never>, never, never>;
16713
+ readonly getOrganizationInitialMembershipUploads: HttpApiClient.Client.Method<effect_unstable_httpapi_HttpApiEndpoint.HttpApiEndpoint<"getOrganizationInitialMembershipUploads", "GET", "/v1/organizations/:organizationId/initial-membership-uploads", effect_Schema.toCodecStringTree<effect_Schema.Struct<{
16714
+ readonly organizationId: effect_Schema.String;
16715
+ }>>, never, never, never, effect_Schema.toCodecJson<effect_Schema.Struct<{
16716
+ readonly hasUpload: effect_Schema.Boolean;
16717
+ readonly uploads: effect_Schema.$Array<effect_Schema.Struct<{
16718
+ readonly uploadId: effect_Schema.String;
16719
+ readonly fileName: effect_Schema.String;
16720
+ readonly objectKey: effect_Schema.String;
16721
+ readonly sizeBytes: effect_Schema.Number;
16722
+ readonly uploadedAt: effect_Schema.NullOr<effect_Schema.String>;
16723
+ }>>;
16724
+ }>>, effect_Schema.toCodecJson<effect_Schema.Struct<{
16725
+ readonly code: effect_Schema.Literal<"unauthorized">;
16726
+ readonly message: effect_Schema.String;
16727
+ }> | effect_Schema.Struct<{
16728
+ readonly code: effect_Schema.Literal<"forbidden">;
16729
+ readonly message: effect_Schema.String;
16730
+ }> | effect_Schema.Struct<{
16731
+ readonly code: effect_Schema.Literal<"not_found">;
16732
+ readonly message: effect_Schema.String;
16733
+ }> | effect_Schema.Struct<{
16734
+ readonly code: effect_Schema.Literal<"conflict">;
16735
+ readonly message: effect_Schema.String;
16736
+ }> | effect_Schema.Struct<{
16737
+ readonly code: effect_Schema.Literal<"bad_request">;
16738
+ readonly message: effect_Schema.String;
16739
+ }> | effect_Schema.Struct<{
16740
+ readonly code: effect_Schema.Literal<"internal_error">;
16741
+ readonly message: effect_Schema.String;
16742
+ }>>, never, never>, never, never>;
16743
+ readonly getOrganizationInitialMembershipUploadDownload: HttpApiClient.Client.Method<effect_unstable_httpapi_HttpApiEndpoint.HttpApiEndpoint<"getOrganizationInitialMembershipUploadDownload", "GET", "/v1/organizations/:organizationId/initial-membership-uploads/:uploadId/download", effect_Schema.toCodecStringTree<effect_Schema.Struct<{
16744
+ readonly organizationId: effect_Schema.String;
16745
+ readonly uploadId: effect_Schema.String;
16746
+ }>>, never, never, never, effect_Schema.toCodecJson<effect_Schema.Struct<{
16747
+ readonly url: effect_Schema.String;
16748
+ readonly expiresIn: effect_Schema.Number;
16749
+ }>>, effect_Schema.toCodecJson<effect_Schema.Struct<{
16750
+ readonly code: effect_Schema.Literal<"unauthorized">;
16751
+ readonly message: effect_Schema.String;
16752
+ }> | effect_Schema.Struct<{
16753
+ readonly code: effect_Schema.Literal<"forbidden">;
16754
+ readonly message: effect_Schema.String;
16755
+ }> | effect_Schema.Struct<{
16756
+ readonly code: effect_Schema.Literal<"not_found">;
16757
+ readonly message: effect_Schema.String;
16758
+ }> | effect_Schema.Struct<{
16759
+ readonly code: effect_Schema.Literal<"conflict">;
16760
+ readonly message: effect_Schema.String;
16761
+ }> | effect_Schema.Struct<{
16762
+ readonly code: effect_Schema.Literal<"bad_request">;
16763
+ readonly message: effect_Schema.String;
16764
+ }> | effect_Schema.Struct<{
16765
+ readonly code: effect_Schema.Literal<"internal_error">;
16766
+ readonly message: effect_Schema.String;
16767
+ }>>, never, never>, never, never>;
16768
+ readonly deleteOrganizationInitialMembershipUpload: HttpApiClient.Client.Method<effect_unstable_httpapi_HttpApiEndpoint.HttpApiEndpoint<"deleteOrganizationInitialMembershipUpload", "DELETE", "/v1/organizations/:organizationId/initial-membership-uploads/:uploadId", effect_Schema.toCodecStringTree<effect_Schema.Struct<{
16769
+ readonly organizationId: effect_Schema.String;
16770
+ readonly uploadId: effect_Schema.String;
16771
+ }>>, never, never, never, effect_Schema.toCodecJson<effect_Schema.Struct<{
16772
+ readonly uploadId: effect_Schema.String;
16773
+ readonly deleted: effect_Schema.Boolean;
16774
+ }>>, effect_Schema.toCodecJson<effect_Schema.Struct<{
16775
+ readonly code: effect_Schema.Literal<"unauthorized">;
16776
+ readonly message: effect_Schema.String;
16777
+ }> | effect_Schema.Struct<{
16778
+ readonly code: effect_Schema.Literal<"forbidden">;
16779
+ readonly message: effect_Schema.String;
16780
+ }> | effect_Schema.Struct<{
16781
+ readonly code: effect_Schema.Literal<"not_found">;
16782
+ readonly message: effect_Schema.String;
16783
+ }> | effect_Schema.Struct<{
16784
+ readonly code: effect_Schema.Literal<"conflict">;
16785
+ readonly message: effect_Schema.String;
16786
+ }> | effect_Schema.Struct<{
16787
+ readonly code: effect_Schema.Literal<"bad_request">;
16788
+ readonly message: effect_Schema.String;
16789
+ }> | effect_Schema.Struct<{
16790
+ readonly code: effect_Schema.Literal<"internal_error">;
16791
+ readonly message: effect_Schema.String;
16792
+ }>>, never, never>, never, never>;
16793
+ readonly createOrganizationInitialMembershipUpload: HttpApiClient.Client.Method<effect_unstable_httpapi_HttpApiEndpoint.HttpApiEndpoint<"createOrganizationInitialMembershipUpload", "POST", "/v1/organizations/:organizationId/initial-membership-uploads", effect_Schema.toCodecStringTree<effect_Schema.Struct<{
16794
+ readonly organizationId: effect_Schema.String;
16795
+ }>>, never, effect_Schema.toCodecJson<effect_Schema.Struct<{
16796
+ readonly fileName: effect_Schema.String;
16797
+ }>>, never, effect_Schema.toCodecJson<effect_Schema.Struct<{
16798
+ readonly uploadId: effect_Schema.String;
16799
+ readonly bucketName: effect_Schema.String;
16800
+ readonly objectKey: effect_Schema.String;
16801
+ readonly fileName: effect_Schema.String;
16802
+ readonly contentType: effect_Schema.String;
16803
+ readonly expiresIn: effect_Schema.Number;
16804
+ readonly presignedPost: effect_Schema.Struct<{
16805
+ readonly url: effect_Schema.String;
16806
+ readonly fields: effect_Schema.$Record<effect_Schema.String, effect_Schema.String>;
16807
+ }>;
16808
+ }>>, effect_Schema.toCodecJson<effect_Schema.Struct<{
16809
+ readonly code: effect_Schema.Literal<"unauthorized">;
16810
+ readonly message: effect_Schema.String;
16811
+ }> | effect_Schema.Struct<{
16812
+ readonly code: effect_Schema.Literal<"forbidden">;
16813
+ readonly message: effect_Schema.String;
16814
+ }> | effect_Schema.Struct<{
16815
+ readonly code: effect_Schema.Literal<"not_found">;
16816
+ readonly message: effect_Schema.String;
16817
+ }> | effect_Schema.Struct<{
16818
+ readonly code: effect_Schema.Literal<"conflict">;
16819
+ readonly message: effect_Schema.String;
16820
+ }> | effect_Schema.Struct<{
16821
+ readonly code: effect_Schema.Literal<"bad_request">;
16822
+ readonly message: effect_Schema.String;
16823
+ }> | effect_Schema.Struct<{
16824
+ readonly code: effect_Schema.Literal<"internal_error">;
16825
+ readonly message: effect_Schema.String;
16826
+ }>>, never, never>, never, never>;
16443
16827
  readonly createOrganizationMemberSourceCsvUpload: HttpApiClient.Client.Method<effect_unstable_httpapi_HttpApiEndpoint.HttpApiEndpoint<"createOrganizationMemberSourceCsvUpload", "POST", "/v1/organizations/:organizationId/member-source/csv-uploads", effect_Schema.toCodecStringTree<effect_Schema.Struct<{
16444
16828
  readonly organizationId: effect_Schema.String;
16445
16829
  }>>, never, effect_Schema.toCodecJson<effect_Schema.Struct<{
@@ -16575,6 +16959,16 @@ declare const makeHubApiClient: (options: HubApiClientOptions) => Effect.Effect<
16575
16959
  readonly cursorBefore: effect_Schema.Union<readonly [effect_Schema.$Record<effect_Schema.String, effect_Schema.Unknown>, effect_Schema.Null]>;
16576
16960
  readonly cursorAfter: effect_Schema.Union<readonly [effect_Schema.$Record<effect_Schema.String, effect_Schema.Unknown>, effect_Schema.Null]>;
16577
16961
  readonly summary: effect_Schema.Struct<{
16962
+ readonly sourceProgress: effect_Schema.optional<effect_Schema.Struct<{
16963
+ readonly stage: effect_Schema.Literals<readonly ["members", "contact_preferences", "uploading", "queued_for_import"]>;
16964
+ readonly processingStage: effect_Schema.optional<effect_Schema.Literals<readonly ["indexing_preferences", "normalizing_members", "serializing"]>>;
16965
+ readonly recordsProcessed: effect_Schema.optional<effect_Schema.Int>;
16966
+ readonly pagesFetched: effect_Schema.Int;
16967
+ readonly recordsFetched: effect_Schema.Int;
16968
+ readonly totalPages: effect_Schema.Union<readonly [effect_Schema.Int, effect_Schema.Null]>;
16969
+ readonly totalRecords: effect_Schema.Union<readonly [effect_Schema.Int, effect_Schema.Null]>;
16970
+ readonly pageSize: effect_Schema.Union<readonly [effect_Schema.Int, effect_Schema.Null]>;
16971
+ }>>;
16578
16972
  readonly totalRecords: effect_Schema.Number;
16579
16973
  readonly inserted: effect_Schema.Number;
16580
16974
  readonly updated: effect_Schema.Number;
@@ -16642,6 +17036,16 @@ declare const makeHubApiClient: (options: HubApiClientOptions) => Effect.Effect<
16642
17036
  readonly cursorBefore: effect_Schema.Union<readonly [effect_Schema.$Record<effect_Schema.String, effect_Schema.Unknown>, effect_Schema.Null]>;
16643
17037
  readonly cursorAfter: effect_Schema.Union<readonly [effect_Schema.$Record<effect_Schema.String, effect_Schema.Unknown>, effect_Schema.Null]>;
16644
17038
  readonly summary: effect_Schema.Struct<{
17039
+ readonly sourceProgress: effect_Schema.optional<effect_Schema.Struct<{
17040
+ readonly stage: effect_Schema.Literals<readonly ["members", "contact_preferences", "uploading", "queued_for_import"]>;
17041
+ readonly processingStage: effect_Schema.optional<effect_Schema.Literals<readonly ["indexing_preferences", "normalizing_members", "serializing"]>>;
17042
+ readonly recordsProcessed: effect_Schema.optional<effect_Schema.Int>;
17043
+ readonly pagesFetched: effect_Schema.Int;
17044
+ readonly recordsFetched: effect_Schema.Int;
17045
+ readonly totalPages: effect_Schema.Union<readonly [effect_Schema.Int, effect_Schema.Null]>;
17046
+ readonly totalRecords: effect_Schema.Union<readonly [effect_Schema.Int, effect_Schema.Null]>;
17047
+ readonly pageSize: effect_Schema.Union<readonly [effect_Schema.Int, effect_Schema.Null]>;
17048
+ }>>;
16645
17049
  readonly totalRecords: effect_Schema.Number;
16646
17050
  readonly inserted: effect_Schema.Number;
16647
17051
  readonly updated: effect_Schema.Number;
@@ -17036,6 +17440,16 @@ declare const makeHubApiClient: (options: HubApiClientOptions) => Effect.Effect<
17036
17440
  readonly cursorBefore: effect_Schema.Union<readonly [effect_Schema.$Record<effect_Schema.String, effect_Schema.Unknown>, effect_Schema.Null]>;
17037
17441
  readonly cursorAfter: effect_Schema.Union<readonly [effect_Schema.$Record<effect_Schema.String, effect_Schema.Unknown>, effect_Schema.Null]>;
17038
17442
  readonly summary: effect_Schema.Struct<{
17443
+ readonly sourceProgress: effect_Schema.optional<effect_Schema.Struct<{
17444
+ readonly stage: effect_Schema.Literals<readonly ["members", "contact_preferences", "uploading", "queued_for_import"]>;
17445
+ readonly processingStage: effect_Schema.optional<effect_Schema.Literals<readonly ["indexing_preferences", "normalizing_members", "serializing"]>>;
17446
+ readonly recordsProcessed: effect_Schema.optional<effect_Schema.Int>;
17447
+ readonly pagesFetched: effect_Schema.Int;
17448
+ readonly recordsFetched: effect_Schema.Int;
17449
+ readonly totalPages: effect_Schema.Union<readonly [effect_Schema.Int, effect_Schema.Null]>;
17450
+ readonly totalRecords: effect_Schema.Union<readonly [effect_Schema.Int, effect_Schema.Null]>;
17451
+ readonly pageSize: effect_Schema.Union<readonly [effect_Schema.Int, effect_Schema.Null]>;
17452
+ }>>;
17039
17453
  readonly totalRecords: effect_Schema.Number;
17040
17454
  readonly inserted: effect_Schema.Number;
17041
17455
  readonly updated: effect_Schema.Number;
@@ -17238,6 +17652,16 @@ declare const makeHubApiClient: (options: HubApiClientOptions) => Effect.Effect<
17238
17652
  readonly cursorBefore: effect_Schema.Union<readonly [effect_Schema.$Record<effect_Schema.String, effect_Schema.Unknown>, effect_Schema.Null]>;
17239
17653
  readonly cursorAfter: effect_Schema.Union<readonly [effect_Schema.$Record<effect_Schema.String, effect_Schema.Unknown>, effect_Schema.Null]>;
17240
17654
  readonly summary: effect_Schema.Struct<{
17655
+ readonly sourceProgress: effect_Schema.optional<effect_Schema.Struct<{
17656
+ readonly stage: effect_Schema.Literals<readonly ["members", "contact_preferences", "uploading", "queued_for_import"]>;
17657
+ readonly processingStage: effect_Schema.optional<effect_Schema.Literals<readonly ["indexing_preferences", "normalizing_members", "serializing"]>>;
17658
+ readonly recordsProcessed: effect_Schema.optional<effect_Schema.Int>;
17659
+ readonly pagesFetched: effect_Schema.Int;
17660
+ readonly recordsFetched: effect_Schema.Int;
17661
+ readonly totalPages: effect_Schema.Union<readonly [effect_Schema.Int, effect_Schema.Null]>;
17662
+ readonly totalRecords: effect_Schema.Union<readonly [effect_Schema.Int, effect_Schema.Null]>;
17663
+ readonly pageSize: effect_Schema.Union<readonly [effect_Schema.Int, effect_Schema.Null]>;
17664
+ }>>;
17241
17665
  readonly totalRecords: effect_Schema.Number;
17242
17666
  readonly inserted: effect_Schema.Number;
17243
17667
  readonly updated: effect_Schema.Number;
@@ -17761,6 +18185,38 @@ declare const makeHubApiClient: (options: HubApiClientOptions) => Effect.Effect<
17761
18185
  readonly code: effect_Schema.Literal<"internal_error">;
17762
18186
  readonly message: effect_Schema.String;
17763
18187
  }>>, never, never>, never, never>;
18188
+ readonly reportOnsiteAgentRunProgress: HttpApiClient.Client.Method<effect_unstable_httpapi_HttpApiEndpoint.HttpApiEndpoint<"reportOnsiteAgentRunProgress", "POST", "/v1/onsite-agent/runs/:runId/progress", effect_Schema.toCodecStringTree<effect_Schema.Struct<{
18189
+ readonly runId: effect_Schema.String;
18190
+ }>>, never, effect_Schema.toCodecJson<effect_Schema.Struct<{
18191
+ readonly stage: effect_Schema.Literals<readonly ["members", "contact_preferences", "uploading", "queued_for_import"]>;
18192
+ readonly processingStage: effect_Schema.optional<effect_Schema.Literals<readonly ["indexing_preferences", "normalizing_members", "serializing"]>>;
18193
+ readonly recordsProcessed: effect_Schema.optional<effect_Schema.Int>;
18194
+ readonly pagesFetched: effect_Schema.Int;
18195
+ readonly recordsFetched: effect_Schema.Int;
18196
+ readonly totalPages: effect_Schema.Union<readonly [effect_Schema.Int, effect_Schema.Null]>;
18197
+ readonly totalRecords: effect_Schema.Union<readonly [effect_Schema.Int, effect_Schema.Null]>;
18198
+ readonly pageSize: effect_Schema.Union<readonly [effect_Schema.Int, effect_Schema.Null]>;
18199
+ }>>, never, effect_Schema.toCodecJson<effect_Schema.Struct<{
18200
+ readonly accepted: effect_Schema.Boolean;
18201
+ }>>, effect_Schema.toCodecJson<effect_Schema.Struct<{
18202
+ readonly code: effect_Schema.Literal<"unauthorized">;
18203
+ readonly message: effect_Schema.String;
18204
+ }> | effect_Schema.Struct<{
18205
+ readonly code: effect_Schema.Literal<"forbidden">;
18206
+ readonly message: effect_Schema.String;
18207
+ }> | effect_Schema.Struct<{
18208
+ readonly code: effect_Schema.Literal<"not_found">;
18209
+ readonly message: effect_Schema.String;
18210
+ }> | effect_Schema.Struct<{
18211
+ readonly code: effect_Schema.Literal<"conflict">;
18212
+ readonly message: effect_Schema.String;
18213
+ }> | effect_Schema.Struct<{
18214
+ readonly code: effect_Schema.Literal<"bad_request">;
18215
+ readonly message: effect_Schema.String;
18216
+ }> | effect_Schema.Struct<{
18217
+ readonly code: effect_Schema.Literal<"internal_error">;
18218
+ readonly message: effect_Schema.String;
18219
+ }>>, never, never>, never, never>;
17764
18220
  readonly completeOnsiteAgentRun: HttpApiClient.Client.Method<effect_unstable_httpapi_HttpApiEndpoint.HttpApiEndpoint<"completeOnsiteAgentRun", "POST", "/v1/onsite-agent/runs/:runId/complete", effect_Schema.toCodecStringTree<effect_Schema.Struct<{
17765
18221
  readonly runId: effect_Schema.String;
17766
18222
  }>>, never, effect_Schema.toCodecJson<effect_Schema.Struct<{
@@ -17856,6 +18312,16 @@ declare const makeHubApiClient: (options: HubApiClientOptions) => Effect.Effect<
17856
18312
  readonly cursorBefore: effect_Schema.Union<readonly [effect_Schema.$Record<effect_Schema.String, effect_Schema.Unknown>, effect_Schema.Null]>;
17857
18313
  readonly cursorAfter: effect_Schema.Union<readonly [effect_Schema.$Record<effect_Schema.String, effect_Schema.Unknown>, effect_Schema.Null]>;
17858
18314
  readonly summary: effect_Schema.Struct<{
18315
+ readonly sourceProgress: effect_Schema.optional<effect_Schema.Struct<{
18316
+ readonly stage: effect_Schema.Literals<readonly ["members", "contact_preferences", "uploading", "queued_for_import"]>;
18317
+ readonly processingStage: effect_Schema.optional<effect_Schema.Literals<readonly ["indexing_preferences", "normalizing_members", "serializing"]>>;
18318
+ readonly recordsProcessed: effect_Schema.optional<effect_Schema.Int>;
18319
+ readonly pagesFetched: effect_Schema.Int;
18320
+ readonly recordsFetched: effect_Schema.Int;
18321
+ readonly totalPages: effect_Schema.Union<readonly [effect_Schema.Int, effect_Schema.Null]>;
18322
+ readonly totalRecords: effect_Schema.Union<readonly [effect_Schema.Int, effect_Schema.Null]>;
18323
+ readonly pageSize: effect_Schema.Union<readonly [effect_Schema.Int, effect_Schema.Null]>;
18324
+ }>>;
17859
18325
  readonly totalRecords: effect_Schema.Number;
17860
18326
  readonly inserted: effect_Schema.Number;
17861
18327
  readonly updated: effect_Schema.Number;
@@ -23683,6 +24149,120 @@ declare const makeServiceHubApiClient: (options: HubApiCredentialOptions) => Eff
23683
24149
  readonly code: effect_Schema.Literal<"internal_error">;
23684
24150
  readonly message: effect_Schema.String;
23685
24151
  }>>, never, never>, never, never>;
24152
+ readonly getOrganizationInitialMembershipUploads: HttpApiClient.Client.Method<effect_unstable_httpapi_HttpApiEndpoint.HttpApiEndpoint<"getOrganizationInitialMembershipUploads", "GET", "/v1/organizations/:organizationId/initial-membership-uploads", effect_Schema.toCodecStringTree<effect_Schema.Struct<{
24153
+ readonly organizationId: effect_Schema.String;
24154
+ }>>, never, never, never, effect_Schema.toCodecJson<effect_Schema.Struct<{
24155
+ readonly hasUpload: effect_Schema.Boolean;
24156
+ readonly uploads: effect_Schema.$Array<effect_Schema.Struct<{
24157
+ readonly uploadId: effect_Schema.String;
24158
+ readonly fileName: effect_Schema.String;
24159
+ readonly objectKey: effect_Schema.String;
24160
+ readonly sizeBytes: effect_Schema.Number;
24161
+ readonly uploadedAt: effect_Schema.NullOr<effect_Schema.String>;
24162
+ }>>;
24163
+ }>>, effect_Schema.toCodecJson<effect_Schema.Struct<{
24164
+ readonly code: effect_Schema.Literal<"unauthorized">;
24165
+ readonly message: effect_Schema.String;
24166
+ }> | effect_Schema.Struct<{
24167
+ readonly code: effect_Schema.Literal<"forbidden">;
24168
+ readonly message: effect_Schema.String;
24169
+ }> | effect_Schema.Struct<{
24170
+ readonly code: effect_Schema.Literal<"not_found">;
24171
+ readonly message: effect_Schema.String;
24172
+ }> | effect_Schema.Struct<{
24173
+ readonly code: effect_Schema.Literal<"conflict">;
24174
+ readonly message: effect_Schema.String;
24175
+ }> | effect_Schema.Struct<{
24176
+ readonly code: effect_Schema.Literal<"bad_request">;
24177
+ readonly message: effect_Schema.String;
24178
+ }> | effect_Schema.Struct<{
24179
+ readonly code: effect_Schema.Literal<"internal_error">;
24180
+ readonly message: effect_Schema.String;
24181
+ }>>, never, never>, never, never>;
24182
+ readonly getOrganizationInitialMembershipUploadDownload: HttpApiClient.Client.Method<effect_unstable_httpapi_HttpApiEndpoint.HttpApiEndpoint<"getOrganizationInitialMembershipUploadDownload", "GET", "/v1/organizations/:organizationId/initial-membership-uploads/:uploadId/download", effect_Schema.toCodecStringTree<effect_Schema.Struct<{
24183
+ readonly organizationId: effect_Schema.String;
24184
+ readonly uploadId: effect_Schema.String;
24185
+ }>>, never, never, never, effect_Schema.toCodecJson<effect_Schema.Struct<{
24186
+ readonly url: effect_Schema.String;
24187
+ readonly expiresIn: effect_Schema.Number;
24188
+ }>>, effect_Schema.toCodecJson<effect_Schema.Struct<{
24189
+ readonly code: effect_Schema.Literal<"unauthorized">;
24190
+ readonly message: effect_Schema.String;
24191
+ }> | effect_Schema.Struct<{
24192
+ readonly code: effect_Schema.Literal<"forbidden">;
24193
+ readonly message: effect_Schema.String;
24194
+ }> | effect_Schema.Struct<{
24195
+ readonly code: effect_Schema.Literal<"not_found">;
24196
+ readonly message: effect_Schema.String;
24197
+ }> | effect_Schema.Struct<{
24198
+ readonly code: effect_Schema.Literal<"conflict">;
24199
+ readonly message: effect_Schema.String;
24200
+ }> | effect_Schema.Struct<{
24201
+ readonly code: effect_Schema.Literal<"bad_request">;
24202
+ readonly message: effect_Schema.String;
24203
+ }> | effect_Schema.Struct<{
24204
+ readonly code: effect_Schema.Literal<"internal_error">;
24205
+ readonly message: effect_Schema.String;
24206
+ }>>, never, never>, never, never>;
24207
+ readonly deleteOrganizationInitialMembershipUpload: HttpApiClient.Client.Method<effect_unstable_httpapi_HttpApiEndpoint.HttpApiEndpoint<"deleteOrganizationInitialMembershipUpload", "DELETE", "/v1/organizations/:organizationId/initial-membership-uploads/:uploadId", effect_Schema.toCodecStringTree<effect_Schema.Struct<{
24208
+ readonly organizationId: effect_Schema.String;
24209
+ readonly uploadId: effect_Schema.String;
24210
+ }>>, never, never, never, effect_Schema.toCodecJson<effect_Schema.Struct<{
24211
+ readonly uploadId: effect_Schema.String;
24212
+ readonly deleted: effect_Schema.Boolean;
24213
+ }>>, effect_Schema.toCodecJson<effect_Schema.Struct<{
24214
+ readonly code: effect_Schema.Literal<"unauthorized">;
24215
+ readonly message: effect_Schema.String;
24216
+ }> | effect_Schema.Struct<{
24217
+ readonly code: effect_Schema.Literal<"forbidden">;
24218
+ readonly message: effect_Schema.String;
24219
+ }> | effect_Schema.Struct<{
24220
+ readonly code: effect_Schema.Literal<"not_found">;
24221
+ readonly message: effect_Schema.String;
24222
+ }> | effect_Schema.Struct<{
24223
+ readonly code: effect_Schema.Literal<"conflict">;
24224
+ readonly message: effect_Schema.String;
24225
+ }> | effect_Schema.Struct<{
24226
+ readonly code: effect_Schema.Literal<"bad_request">;
24227
+ readonly message: effect_Schema.String;
24228
+ }> | effect_Schema.Struct<{
24229
+ readonly code: effect_Schema.Literal<"internal_error">;
24230
+ readonly message: effect_Schema.String;
24231
+ }>>, never, never>, never, never>;
24232
+ readonly createOrganizationInitialMembershipUpload: HttpApiClient.Client.Method<effect_unstable_httpapi_HttpApiEndpoint.HttpApiEndpoint<"createOrganizationInitialMembershipUpload", "POST", "/v1/organizations/:organizationId/initial-membership-uploads", effect_Schema.toCodecStringTree<effect_Schema.Struct<{
24233
+ readonly organizationId: effect_Schema.String;
24234
+ }>>, never, effect_Schema.toCodecJson<effect_Schema.Struct<{
24235
+ readonly fileName: effect_Schema.String;
24236
+ }>>, never, effect_Schema.toCodecJson<effect_Schema.Struct<{
24237
+ readonly uploadId: effect_Schema.String;
24238
+ readonly bucketName: effect_Schema.String;
24239
+ readonly objectKey: effect_Schema.String;
24240
+ readonly fileName: effect_Schema.String;
24241
+ readonly contentType: effect_Schema.String;
24242
+ readonly expiresIn: effect_Schema.Number;
24243
+ readonly presignedPost: effect_Schema.Struct<{
24244
+ readonly url: effect_Schema.String;
24245
+ readonly fields: effect_Schema.$Record<effect_Schema.String, effect_Schema.String>;
24246
+ }>;
24247
+ }>>, effect_Schema.toCodecJson<effect_Schema.Struct<{
24248
+ readonly code: effect_Schema.Literal<"unauthorized">;
24249
+ readonly message: effect_Schema.String;
24250
+ }> | effect_Schema.Struct<{
24251
+ readonly code: effect_Schema.Literal<"forbidden">;
24252
+ readonly message: effect_Schema.String;
24253
+ }> | effect_Schema.Struct<{
24254
+ readonly code: effect_Schema.Literal<"not_found">;
24255
+ readonly message: effect_Schema.String;
24256
+ }> | effect_Schema.Struct<{
24257
+ readonly code: effect_Schema.Literal<"conflict">;
24258
+ readonly message: effect_Schema.String;
24259
+ }> | effect_Schema.Struct<{
24260
+ readonly code: effect_Schema.Literal<"bad_request">;
24261
+ readonly message: effect_Schema.String;
24262
+ }> | effect_Schema.Struct<{
24263
+ readonly code: effect_Schema.Literal<"internal_error">;
24264
+ readonly message: effect_Schema.String;
24265
+ }>>, never, never>, never, never>;
23686
24266
  readonly createOrganizationMemberSourceCsvUpload: HttpApiClient.Client.Method<effect_unstable_httpapi_HttpApiEndpoint.HttpApiEndpoint<"createOrganizationMemberSourceCsvUpload", "POST", "/v1/organizations/:organizationId/member-source/csv-uploads", effect_Schema.toCodecStringTree<effect_Schema.Struct<{
23687
24267
  readonly organizationId: effect_Schema.String;
23688
24268
  }>>, never, effect_Schema.toCodecJson<effect_Schema.Struct<{
@@ -23818,6 +24398,16 @@ declare const makeServiceHubApiClient: (options: HubApiCredentialOptions) => Eff
23818
24398
  readonly cursorBefore: effect_Schema.Union<readonly [effect_Schema.$Record<effect_Schema.String, effect_Schema.Unknown>, effect_Schema.Null]>;
23819
24399
  readonly cursorAfter: effect_Schema.Union<readonly [effect_Schema.$Record<effect_Schema.String, effect_Schema.Unknown>, effect_Schema.Null]>;
23820
24400
  readonly summary: effect_Schema.Struct<{
24401
+ readonly sourceProgress: effect_Schema.optional<effect_Schema.Struct<{
24402
+ readonly stage: effect_Schema.Literals<readonly ["members", "contact_preferences", "uploading", "queued_for_import"]>;
24403
+ readonly processingStage: effect_Schema.optional<effect_Schema.Literals<readonly ["indexing_preferences", "normalizing_members", "serializing"]>>;
24404
+ readonly recordsProcessed: effect_Schema.optional<effect_Schema.Int>;
24405
+ readonly pagesFetched: effect_Schema.Int;
24406
+ readonly recordsFetched: effect_Schema.Int;
24407
+ readonly totalPages: effect_Schema.Union<readonly [effect_Schema.Int, effect_Schema.Null]>;
24408
+ readonly totalRecords: effect_Schema.Union<readonly [effect_Schema.Int, effect_Schema.Null]>;
24409
+ readonly pageSize: effect_Schema.Union<readonly [effect_Schema.Int, effect_Schema.Null]>;
24410
+ }>>;
23821
24411
  readonly totalRecords: effect_Schema.Number;
23822
24412
  readonly inserted: effect_Schema.Number;
23823
24413
  readonly updated: effect_Schema.Number;
@@ -23885,6 +24475,16 @@ declare const makeServiceHubApiClient: (options: HubApiCredentialOptions) => Eff
23885
24475
  readonly cursorBefore: effect_Schema.Union<readonly [effect_Schema.$Record<effect_Schema.String, effect_Schema.Unknown>, effect_Schema.Null]>;
23886
24476
  readonly cursorAfter: effect_Schema.Union<readonly [effect_Schema.$Record<effect_Schema.String, effect_Schema.Unknown>, effect_Schema.Null]>;
23887
24477
  readonly summary: effect_Schema.Struct<{
24478
+ readonly sourceProgress: effect_Schema.optional<effect_Schema.Struct<{
24479
+ readonly stage: effect_Schema.Literals<readonly ["members", "contact_preferences", "uploading", "queued_for_import"]>;
24480
+ readonly processingStage: effect_Schema.optional<effect_Schema.Literals<readonly ["indexing_preferences", "normalizing_members", "serializing"]>>;
24481
+ readonly recordsProcessed: effect_Schema.optional<effect_Schema.Int>;
24482
+ readonly pagesFetched: effect_Schema.Int;
24483
+ readonly recordsFetched: effect_Schema.Int;
24484
+ readonly totalPages: effect_Schema.Union<readonly [effect_Schema.Int, effect_Schema.Null]>;
24485
+ readonly totalRecords: effect_Schema.Union<readonly [effect_Schema.Int, effect_Schema.Null]>;
24486
+ readonly pageSize: effect_Schema.Union<readonly [effect_Schema.Int, effect_Schema.Null]>;
24487
+ }>>;
23888
24488
  readonly totalRecords: effect_Schema.Number;
23889
24489
  readonly inserted: effect_Schema.Number;
23890
24490
  readonly updated: effect_Schema.Number;
@@ -24279,6 +24879,16 @@ declare const makeServiceHubApiClient: (options: HubApiCredentialOptions) => Eff
24279
24879
  readonly cursorBefore: effect_Schema.Union<readonly [effect_Schema.$Record<effect_Schema.String, effect_Schema.Unknown>, effect_Schema.Null]>;
24280
24880
  readonly cursorAfter: effect_Schema.Union<readonly [effect_Schema.$Record<effect_Schema.String, effect_Schema.Unknown>, effect_Schema.Null]>;
24281
24881
  readonly summary: effect_Schema.Struct<{
24882
+ readonly sourceProgress: effect_Schema.optional<effect_Schema.Struct<{
24883
+ readonly stage: effect_Schema.Literals<readonly ["members", "contact_preferences", "uploading", "queued_for_import"]>;
24884
+ readonly processingStage: effect_Schema.optional<effect_Schema.Literals<readonly ["indexing_preferences", "normalizing_members", "serializing"]>>;
24885
+ readonly recordsProcessed: effect_Schema.optional<effect_Schema.Int>;
24886
+ readonly pagesFetched: effect_Schema.Int;
24887
+ readonly recordsFetched: effect_Schema.Int;
24888
+ readonly totalPages: effect_Schema.Union<readonly [effect_Schema.Int, effect_Schema.Null]>;
24889
+ readonly totalRecords: effect_Schema.Union<readonly [effect_Schema.Int, effect_Schema.Null]>;
24890
+ readonly pageSize: effect_Schema.Union<readonly [effect_Schema.Int, effect_Schema.Null]>;
24891
+ }>>;
24282
24892
  readonly totalRecords: effect_Schema.Number;
24283
24893
  readonly inserted: effect_Schema.Number;
24284
24894
  readonly updated: effect_Schema.Number;
@@ -24481,6 +25091,16 @@ declare const makeServiceHubApiClient: (options: HubApiCredentialOptions) => Eff
24481
25091
  readonly cursorBefore: effect_Schema.Union<readonly [effect_Schema.$Record<effect_Schema.String, effect_Schema.Unknown>, effect_Schema.Null]>;
24482
25092
  readonly cursorAfter: effect_Schema.Union<readonly [effect_Schema.$Record<effect_Schema.String, effect_Schema.Unknown>, effect_Schema.Null]>;
24483
25093
  readonly summary: effect_Schema.Struct<{
25094
+ readonly sourceProgress: effect_Schema.optional<effect_Schema.Struct<{
25095
+ readonly stage: effect_Schema.Literals<readonly ["members", "contact_preferences", "uploading", "queued_for_import"]>;
25096
+ readonly processingStage: effect_Schema.optional<effect_Schema.Literals<readonly ["indexing_preferences", "normalizing_members", "serializing"]>>;
25097
+ readonly recordsProcessed: effect_Schema.optional<effect_Schema.Int>;
25098
+ readonly pagesFetched: effect_Schema.Int;
25099
+ readonly recordsFetched: effect_Schema.Int;
25100
+ readonly totalPages: effect_Schema.Union<readonly [effect_Schema.Int, effect_Schema.Null]>;
25101
+ readonly totalRecords: effect_Schema.Union<readonly [effect_Schema.Int, effect_Schema.Null]>;
25102
+ readonly pageSize: effect_Schema.Union<readonly [effect_Schema.Int, effect_Schema.Null]>;
25103
+ }>>;
24484
25104
  readonly totalRecords: effect_Schema.Number;
24485
25105
  readonly inserted: effect_Schema.Number;
24486
25106
  readonly updated: effect_Schema.Number;
@@ -24905,56 +25525,87 @@ declare const makeServiceHubApiClient: (options: HubApiCredentialOptions) => Eff
24905
25525
  readonly code: effect_Schema.Literal<"internal_error">;
24906
25526
  readonly message: effect_Schema.String;
24907
25527
  }>>, never, never>, never, never>;
24908
- readonly pollOnsiteAgentMemberLookupCommand: HttpApiClient.Client.Method<effect_unstable_httpapi_HttpApiEndpoint.HttpApiEndpoint<"pollOnsiteAgentMemberLookupCommand", "POST", "/v1/onsite-agent/member-lookup-commands/poll", never, never, never, never, effect_Schema.toCodecJson<effect_Schema.Union<readonly [effect_Schema.Struct<{
24909
- readonly commandId: effect_Schema.String;
24910
- readonly organizationId: effect_Schema.String;
24911
- readonly organizationMemberSourceId: effect_Schema.String;
24912
- readonly vendor: effect_Schema.Literals<readonly ["max_gaming", "odyssey_gaming", "ebet_arc", "custom"]>;
24913
- readonly connectorType: effect_Schema.Literals<readonly ["max_gaming", "odyssey_gaming", "ebet_arc", "custom"]>;
24914
- readonly requestedAt: effect_Schema.String;
24915
- readonly payload: effect_Schema.Struct<{
24916
- readonly lookupBy: effect_Schema.Literals<readonly ["member_id", "badge_number", "card_number"]>;
24917
- readonly lookupValue: effect_Schema.String;
24918
- readonly refreshStoredMember: effect_Schema.optional<effect_Schema.Boolean>;
25528
+ readonly pollOnsiteAgentMemberLookupCommand: HttpApiClient.Client.Method<effect_unstable_httpapi_HttpApiEndpoint.HttpApiEndpoint<"pollOnsiteAgentMemberLookupCommand", "POST", "/v1/onsite-agent/member-lookup-commands/poll", never, never, never, never, effect_Schema.toCodecJson<effect_Schema.Union<readonly [effect_Schema.Struct<{
25529
+ readonly commandId: effect_Schema.String;
25530
+ readonly organizationId: effect_Schema.String;
25531
+ readonly organizationMemberSourceId: effect_Schema.String;
25532
+ readonly vendor: effect_Schema.Literals<readonly ["max_gaming", "odyssey_gaming", "ebet_arc", "custom"]>;
25533
+ readonly connectorType: effect_Schema.Literals<readonly ["max_gaming", "odyssey_gaming", "ebet_arc", "custom"]>;
25534
+ readonly requestedAt: effect_Schema.String;
25535
+ readonly payload: effect_Schema.Struct<{
25536
+ readonly lookupBy: effect_Schema.Literals<readonly ["member_id", "badge_number", "card_number"]>;
25537
+ readonly lookupValue: effect_Schema.String;
25538
+ readonly refreshStoredMember: effect_Schema.optional<effect_Schema.Boolean>;
25539
+ }>;
25540
+ readonly config: effect_Schema.$Record<effect_Schema.String, effect_Schema.Unknown>;
25541
+ readonly secrets: effect_Schema.$Array<effect_Schema.Struct<{
25542
+ readonly name: effect_Schema.String;
25543
+ readonly value: effect_Schema.String;
25544
+ }>>;
25545
+ }>, effect_Schema.Null]>>, effect_Schema.toCodecJson<effect_Schema.Struct<{
25546
+ readonly code: effect_Schema.Literal<"unauthorized">;
25547
+ readonly message: effect_Schema.String;
25548
+ }> | effect_Schema.Struct<{
25549
+ readonly code: effect_Schema.Literal<"forbidden">;
25550
+ readonly message: effect_Schema.String;
25551
+ }> | effect_Schema.Struct<{
25552
+ readonly code: effect_Schema.Literal<"not_found">;
25553
+ readonly message: effect_Schema.String;
25554
+ }> | effect_Schema.Struct<{
25555
+ readonly code: effect_Schema.Literal<"conflict">;
25556
+ readonly message: effect_Schema.String;
25557
+ }> | effect_Schema.Struct<{
25558
+ readonly code: effect_Schema.Literal<"bad_request">;
25559
+ readonly message: effect_Schema.String;
25560
+ }> | effect_Schema.Struct<{
25561
+ readonly code: effect_Schema.Literal<"internal_error">;
25562
+ readonly message: effect_Schema.String;
25563
+ }>>, never, never>, never, never>;
25564
+ readonly pollOnsiteAgentCustomFieldsCommand: HttpApiClient.Client.Method<effect_unstable_httpapi_HttpApiEndpoint.HttpApiEndpoint<"pollOnsiteAgentCustomFieldsCommand", "POST", "/v1/onsite-agent/custom-fields-commands/poll", never, never, never, never, effect_Schema.toCodecJson<effect_Schema.Union<readonly [effect_Schema.Struct<{
25565
+ readonly commandId: effect_Schema.String;
25566
+ readonly organizationId: effect_Schema.String;
25567
+ readonly organizationMemberSourceId: effect_Schema.String;
25568
+ readonly vendor: effect_Schema.Literals<readonly ["max_gaming", "odyssey_gaming", "ebet_arc", "custom"]>;
25569
+ readonly connectorType: effect_Schema.Literals<readonly ["max_gaming", "odyssey_gaming", "ebet_arc", "custom"]>;
25570
+ readonly requestedAt: effect_Schema.String;
25571
+ readonly payload: effect_Schema.$Record<effect_Schema.String, effect_Schema.Unknown>;
25572
+ readonly config: effect_Schema.$Record<effect_Schema.String, effect_Schema.Unknown>;
25573
+ readonly secrets: effect_Schema.$Array<effect_Schema.Struct<{
25574
+ readonly name: effect_Schema.String;
25575
+ readonly value: effect_Schema.String;
25576
+ }>>;
25577
+ }>, effect_Schema.Null]>>, effect_Schema.toCodecJson<effect_Schema.Struct<{
25578
+ readonly code: effect_Schema.Literal<"unauthorized">;
25579
+ readonly message: effect_Schema.String;
25580
+ }> | effect_Schema.Struct<{
25581
+ readonly code: effect_Schema.Literal<"forbidden">;
25582
+ readonly message: effect_Schema.String;
25583
+ }> | effect_Schema.Struct<{
25584
+ readonly code: effect_Schema.Literal<"not_found">;
25585
+ readonly message: effect_Schema.String;
25586
+ }> | effect_Schema.Struct<{
25587
+ readonly code: effect_Schema.Literal<"conflict">;
25588
+ readonly message: effect_Schema.String;
25589
+ }> | effect_Schema.Struct<{
25590
+ readonly code: effect_Schema.Literal<"bad_request">;
25591
+ readonly message: effect_Schema.String;
25592
+ }> | effect_Schema.Struct<{
25593
+ readonly code: effect_Schema.Literal<"internal_error">;
25594
+ readonly message: effect_Schema.String;
25595
+ }>>, never, never>, never, never>;
25596
+ readonly refreshOnsiteAgentRunCsvUpload: HttpApiClient.Client.Method<effect_unstable_httpapi_HttpApiEndpoint.HttpApiEndpoint<"refreshOnsiteAgentRunCsvUpload", "POST", "/v1/onsite-agent/runs/:runId/csv-upload", effect_Schema.toCodecStringTree<effect_Schema.Struct<{
25597
+ readonly runId: effect_Schema.String;
25598
+ }>>, never, never, never, effect_Schema.toCodecJson<effect_Schema.Struct<{
25599
+ readonly importId: effect_Schema.String;
25600
+ readonly fileName: effect_Schema.String;
25601
+ readonly contentType: effect_Schema.String;
25602
+ readonly bucketName: effect_Schema.String;
25603
+ readonly objectKey: effect_Schema.String;
25604
+ readonly presignedPost: effect_Schema.Struct<{
25605
+ readonly url: effect_Schema.String;
25606
+ readonly fields: effect_Schema.$Record<effect_Schema.String, effect_Schema.String>;
24919
25607
  }>;
24920
- readonly config: effect_Schema.$Record<effect_Schema.String, effect_Schema.Unknown>;
24921
- readonly secrets: effect_Schema.$Array<effect_Schema.Struct<{
24922
- readonly name: effect_Schema.String;
24923
- readonly value: effect_Schema.String;
24924
- }>>;
24925
- }>, effect_Schema.Null]>>, effect_Schema.toCodecJson<effect_Schema.Struct<{
24926
- readonly code: effect_Schema.Literal<"unauthorized">;
24927
- readonly message: effect_Schema.String;
24928
- }> | effect_Schema.Struct<{
24929
- readonly code: effect_Schema.Literal<"forbidden">;
24930
- readonly message: effect_Schema.String;
24931
- }> | effect_Schema.Struct<{
24932
- readonly code: effect_Schema.Literal<"not_found">;
24933
- readonly message: effect_Schema.String;
24934
- }> | effect_Schema.Struct<{
24935
- readonly code: effect_Schema.Literal<"conflict">;
24936
- readonly message: effect_Schema.String;
24937
- }> | effect_Schema.Struct<{
24938
- readonly code: effect_Schema.Literal<"bad_request">;
24939
- readonly message: effect_Schema.String;
24940
- }> | effect_Schema.Struct<{
24941
- readonly code: effect_Schema.Literal<"internal_error">;
24942
- readonly message: effect_Schema.String;
24943
- }>>, never, never>, never, never>;
24944
- readonly pollOnsiteAgentCustomFieldsCommand: HttpApiClient.Client.Method<effect_unstable_httpapi_HttpApiEndpoint.HttpApiEndpoint<"pollOnsiteAgentCustomFieldsCommand", "POST", "/v1/onsite-agent/custom-fields-commands/poll", never, never, never, never, effect_Schema.toCodecJson<effect_Schema.Union<readonly [effect_Schema.Struct<{
24945
- readonly commandId: effect_Schema.String;
24946
- readonly organizationId: effect_Schema.String;
24947
- readonly organizationMemberSourceId: effect_Schema.String;
24948
- readonly vendor: effect_Schema.Literals<readonly ["max_gaming", "odyssey_gaming", "ebet_arc", "custom"]>;
24949
- readonly connectorType: effect_Schema.Literals<readonly ["max_gaming", "odyssey_gaming", "ebet_arc", "custom"]>;
24950
- readonly requestedAt: effect_Schema.String;
24951
- readonly payload: effect_Schema.$Record<effect_Schema.String, effect_Schema.Unknown>;
24952
- readonly config: effect_Schema.$Record<effect_Schema.String, effect_Schema.Unknown>;
24953
- readonly secrets: effect_Schema.$Array<effect_Schema.Struct<{
24954
- readonly name: effect_Schema.String;
24955
- readonly value: effect_Schema.String;
24956
- }>>;
24957
- }>, effect_Schema.Null]>>, effect_Schema.toCodecJson<effect_Schema.Struct<{
25608
+ }>>, effect_Schema.toCodecJson<effect_Schema.Struct<{
24958
25609
  readonly code: effect_Schema.Literal<"unauthorized">;
24959
25610
  readonly message: effect_Schema.String;
24960
25611
  }> | effect_Schema.Struct<{
@@ -24973,18 +25624,19 @@ declare const makeServiceHubApiClient: (options: HubApiCredentialOptions) => Eff
24973
25624
  readonly code: effect_Schema.Literal<"internal_error">;
24974
25625
  readonly message: effect_Schema.String;
24975
25626
  }>>, never, never>, never, never>;
24976
- readonly refreshOnsiteAgentRunCsvUpload: HttpApiClient.Client.Method<effect_unstable_httpapi_HttpApiEndpoint.HttpApiEndpoint<"refreshOnsiteAgentRunCsvUpload", "POST", "/v1/onsite-agent/runs/:runId/csv-upload", effect_Schema.toCodecStringTree<effect_Schema.Struct<{
25627
+ readonly reportOnsiteAgentRunProgress: HttpApiClient.Client.Method<effect_unstable_httpapi_HttpApiEndpoint.HttpApiEndpoint<"reportOnsiteAgentRunProgress", "POST", "/v1/onsite-agent/runs/:runId/progress", effect_Schema.toCodecStringTree<effect_Schema.Struct<{
24977
25628
  readonly runId: effect_Schema.String;
24978
- }>>, never, never, never, effect_Schema.toCodecJson<effect_Schema.Struct<{
24979
- readonly importId: effect_Schema.String;
24980
- readonly fileName: effect_Schema.String;
24981
- readonly contentType: effect_Schema.String;
24982
- readonly bucketName: effect_Schema.String;
24983
- readonly objectKey: effect_Schema.String;
24984
- readonly presignedPost: effect_Schema.Struct<{
24985
- readonly url: effect_Schema.String;
24986
- readonly fields: effect_Schema.$Record<effect_Schema.String, effect_Schema.String>;
24987
- }>;
25629
+ }>>, never, effect_Schema.toCodecJson<effect_Schema.Struct<{
25630
+ readonly stage: effect_Schema.Literals<readonly ["members", "contact_preferences", "uploading", "queued_for_import"]>;
25631
+ readonly processingStage: effect_Schema.optional<effect_Schema.Literals<readonly ["indexing_preferences", "normalizing_members", "serializing"]>>;
25632
+ readonly recordsProcessed: effect_Schema.optional<effect_Schema.Int>;
25633
+ readonly pagesFetched: effect_Schema.Int;
25634
+ readonly recordsFetched: effect_Schema.Int;
25635
+ readonly totalPages: effect_Schema.Union<readonly [effect_Schema.Int, effect_Schema.Null]>;
25636
+ readonly totalRecords: effect_Schema.Union<readonly [effect_Schema.Int, effect_Schema.Null]>;
25637
+ readonly pageSize: effect_Schema.Union<readonly [effect_Schema.Int, effect_Schema.Null]>;
25638
+ }>>, never, effect_Schema.toCodecJson<effect_Schema.Struct<{
25639
+ readonly accepted: effect_Schema.Boolean;
24988
25640
  }>>, effect_Schema.toCodecJson<effect_Schema.Struct<{
24989
25641
  readonly code: effect_Schema.Literal<"unauthorized">;
24990
25642
  readonly message: effect_Schema.String;
@@ -25099,6 +25751,16 @@ declare const makeServiceHubApiClient: (options: HubApiCredentialOptions) => Eff
25099
25751
  readonly cursorBefore: effect_Schema.Union<readonly [effect_Schema.$Record<effect_Schema.String, effect_Schema.Unknown>, effect_Schema.Null]>;
25100
25752
  readonly cursorAfter: effect_Schema.Union<readonly [effect_Schema.$Record<effect_Schema.String, effect_Schema.Unknown>, effect_Schema.Null]>;
25101
25753
  readonly summary: effect_Schema.Struct<{
25754
+ readonly sourceProgress: effect_Schema.optional<effect_Schema.Struct<{
25755
+ readonly stage: effect_Schema.Literals<readonly ["members", "contact_preferences", "uploading", "queued_for_import"]>;
25756
+ readonly processingStage: effect_Schema.optional<effect_Schema.Literals<readonly ["indexing_preferences", "normalizing_members", "serializing"]>>;
25757
+ readonly recordsProcessed: effect_Schema.optional<effect_Schema.Int>;
25758
+ readonly pagesFetched: effect_Schema.Int;
25759
+ readonly recordsFetched: effect_Schema.Int;
25760
+ readonly totalPages: effect_Schema.Union<readonly [effect_Schema.Int, effect_Schema.Null]>;
25761
+ readonly totalRecords: effect_Schema.Union<readonly [effect_Schema.Int, effect_Schema.Null]>;
25762
+ readonly pageSize: effect_Schema.Union<readonly [effect_Schema.Int, effect_Schema.Null]>;
25763
+ }>>;
25102
25764
  readonly totalRecords: effect_Schema.Number;
25103
25765
  readonly inserted: effect_Schema.Number;
25104
25766
  readonly updated: effect_Schema.Number;
@@ -30928,6 +31590,120 @@ declare const makePromiseServiceHubApiClient: (options: HubApiCredentialOptions)
30928
31590
  readonly code: effect_Schema.Literal<"internal_error">;
30929
31591
  readonly message: effect_Schema.String;
30930
31592
  }>>, never, never>, never, never>;
31593
+ readonly getOrganizationInitialMembershipUploads: HttpApiClient.Client.Method<effect_unstable_httpapi_HttpApiEndpoint.HttpApiEndpoint<"getOrganizationInitialMembershipUploads", "GET", "/v1/organizations/:organizationId/initial-membership-uploads", effect_Schema.toCodecStringTree<effect_Schema.Struct<{
31594
+ readonly organizationId: effect_Schema.String;
31595
+ }>>, never, never, never, effect_Schema.toCodecJson<effect_Schema.Struct<{
31596
+ readonly hasUpload: effect_Schema.Boolean;
31597
+ readonly uploads: effect_Schema.$Array<effect_Schema.Struct<{
31598
+ readonly uploadId: effect_Schema.String;
31599
+ readonly fileName: effect_Schema.String;
31600
+ readonly objectKey: effect_Schema.String;
31601
+ readonly sizeBytes: effect_Schema.Number;
31602
+ readonly uploadedAt: effect_Schema.NullOr<effect_Schema.String>;
31603
+ }>>;
31604
+ }>>, effect_Schema.toCodecJson<effect_Schema.Struct<{
31605
+ readonly code: effect_Schema.Literal<"unauthorized">;
31606
+ readonly message: effect_Schema.String;
31607
+ }> | effect_Schema.Struct<{
31608
+ readonly code: effect_Schema.Literal<"forbidden">;
31609
+ readonly message: effect_Schema.String;
31610
+ }> | effect_Schema.Struct<{
31611
+ readonly code: effect_Schema.Literal<"not_found">;
31612
+ readonly message: effect_Schema.String;
31613
+ }> | effect_Schema.Struct<{
31614
+ readonly code: effect_Schema.Literal<"conflict">;
31615
+ readonly message: effect_Schema.String;
31616
+ }> | effect_Schema.Struct<{
31617
+ readonly code: effect_Schema.Literal<"bad_request">;
31618
+ readonly message: effect_Schema.String;
31619
+ }> | effect_Schema.Struct<{
31620
+ readonly code: effect_Schema.Literal<"internal_error">;
31621
+ readonly message: effect_Schema.String;
31622
+ }>>, never, never>, never, never>;
31623
+ readonly getOrganizationInitialMembershipUploadDownload: HttpApiClient.Client.Method<effect_unstable_httpapi_HttpApiEndpoint.HttpApiEndpoint<"getOrganizationInitialMembershipUploadDownload", "GET", "/v1/organizations/:organizationId/initial-membership-uploads/:uploadId/download", effect_Schema.toCodecStringTree<effect_Schema.Struct<{
31624
+ readonly organizationId: effect_Schema.String;
31625
+ readonly uploadId: effect_Schema.String;
31626
+ }>>, never, never, never, effect_Schema.toCodecJson<effect_Schema.Struct<{
31627
+ readonly url: effect_Schema.String;
31628
+ readonly expiresIn: effect_Schema.Number;
31629
+ }>>, effect_Schema.toCodecJson<effect_Schema.Struct<{
31630
+ readonly code: effect_Schema.Literal<"unauthorized">;
31631
+ readonly message: effect_Schema.String;
31632
+ }> | effect_Schema.Struct<{
31633
+ readonly code: effect_Schema.Literal<"forbidden">;
31634
+ readonly message: effect_Schema.String;
31635
+ }> | effect_Schema.Struct<{
31636
+ readonly code: effect_Schema.Literal<"not_found">;
31637
+ readonly message: effect_Schema.String;
31638
+ }> | effect_Schema.Struct<{
31639
+ readonly code: effect_Schema.Literal<"conflict">;
31640
+ readonly message: effect_Schema.String;
31641
+ }> | effect_Schema.Struct<{
31642
+ readonly code: effect_Schema.Literal<"bad_request">;
31643
+ readonly message: effect_Schema.String;
31644
+ }> | effect_Schema.Struct<{
31645
+ readonly code: effect_Schema.Literal<"internal_error">;
31646
+ readonly message: effect_Schema.String;
31647
+ }>>, never, never>, never, never>;
31648
+ readonly deleteOrganizationInitialMembershipUpload: HttpApiClient.Client.Method<effect_unstable_httpapi_HttpApiEndpoint.HttpApiEndpoint<"deleteOrganizationInitialMembershipUpload", "DELETE", "/v1/organizations/:organizationId/initial-membership-uploads/:uploadId", effect_Schema.toCodecStringTree<effect_Schema.Struct<{
31649
+ readonly organizationId: effect_Schema.String;
31650
+ readonly uploadId: effect_Schema.String;
31651
+ }>>, never, never, never, effect_Schema.toCodecJson<effect_Schema.Struct<{
31652
+ readonly uploadId: effect_Schema.String;
31653
+ readonly deleted: effect_Schema.Boolean;
31654
+ }>>, effect_Schema.toCodecJson<effect_Schema.Struct<{
31655
+ readonly code: effect_Schema.Literal<"unauthorized">;
31656
+ readonly message: effect_Schema.String;
31657
+ }> | effect_Schema.Struct<{
31658
+ readonly code: effect_Schema.Literal<"forbidden">;
31659
+ readonly message: effect_Schema.String;
31660
+ }> | effect_Schema.Struct<{
31661
+ readonly code: effect_Schema.Literal<"not_found">;
31662
+ readonly message: effect_Schema.String;
31663
+ }> | effect_Schema.Struct<{
31664
+ readonly code: effect_Schema.Literal<"conflict">;
31665
+ readonly message: effect_Schema.String;
31666
+ }> | effect_Schema.Struct<{
31667
+ readonly code: effect_Schema.Literal<"bad_request">;
31668
+ readonly message: effect_Schema.String;
31669
+ }> | effect_Schema.Struct<{
31670
+ readonly code: effect_Schema.Literal<"internal_error">;
31671
+ readonly message: effect_Schema.String;
31672
+ }>>, never, never>, never, never>;
31673
+ readonly createOrganizationInitialMembershipUpload: HttpApiClient.Client.Method<effect_unstable_httpapi_HttpApiEndpoint.HttpApiEndpoint<"createOrganizationInitialMembershipUpload", "POST", "/v1/organizations/:organizationId/initial-membership-uploads", effect_Schema.toCodecStringTree<effect_Schema.Struct<{
31674
+ readonly organizationId: effect_Schema.String;
31675
+ }>>, never, effect_Schema.toCodecJson<effect_Schema.Struct<{
31676
+ readonly fileName: effect_Schema.String;
31677
+ }>>, never, effect_Schema.toCodecJson<effect_Schema.Struct<{
31678
+ readonly uploadId: effect_Schema.String;
31679
+ readonly bucketName: effect_Schema.String;
31680
+ readonly objectKey: effect_Schema.String;
31681
+ readonly fileName: effect_Schema.String;
31682
+ readonly contentType: effect_Schema.String;
31683
+ readonly expiresIn: effect_Schema.Number;
31684
+ readonly presignedPost: effect_Schema.Struct<{
31685
+ readonly url: effect_Schema.String;
31686
+ readonly fields: effect_Schema.$Record<effect_Schema.String, effect_Schema.String>;
31687
+ }>;
31688
+ }>>, effect_Schema.toCodecJson<effect_Schema.Struct<{
31689
+ readonly code: effect_Schema.Literal<"unauthorized">;
31690
+ readonly message: effect_Schema.String;
31691
+ }> | effect_Schema.Struct<{
31692
+ readonly code: effect_Schema.Literal<"forbidden">;
31693
+ readonly message: effect_Schema.String;
31694
+ }> | effect_Schema.Struct<{
31695
+ readonly code: effect_Schema.Literal<"not_found">;
31696
+ readonly message: effect_Schema.String;
31697
+ }> | effect_Schema.Struct<{
31698
+ readonly code: effect_Schema.Literal<"conflict">;
31699
+ readonly message: effect_Schema.String;
31700
+ }> | effect_Schema.Struct<{
31701
+ readonly code: effect_Schema.Literal<"bad_request">;
31702
+ readonly message: effect_Schema.String;
31703
+ }> | effect_Schema.Struct<{
31704
+ readonly code: effect_Schema.Literal<"internal_error">;
31705
+ readonly message: effect_Schema.String;
31706
+ }>>, never, never>, never, never>;
30931
31707
  readonly createOrganizationMemberSourceCsvUpload: HttpApiClient.Client.Method<effect_unstable_httpapi_HttpApiEndpoint.HttpApiEndpoint<"createOrganizationMemberSourceCsvUpload", "POST", "/v1/organizations/:organizationId/member-source/csv-uploads", effect_Schema.toCodecStringTree<effect_Schema.Struct<{
30932
31708
  readonly organizationId: effect_Schema.String;
30933
31709
  }>>, never, effect_Schema.toCodecJson<effect_Schema.Struct<{
@@ -31063,6 +31839,16 @@ declare const makePromiseServiceHubApiClient: (options: HubApiCredentialOptions)
31063
31839
  readonly cursorBefore: effect_Schema.Union<readonly [effect_Schema.$Record<effect_Schema.String, effect_Schema.Unknown>, effect_Schema.Null]>;
31064
31840
  readonly cursorAfter: effect_Schema.Union<readonly [effect_Schema.$Record<effect_Schema.String, effect_Schema.Unknown>, effect_Schema.Null]>;
31065
31841
  readonly summary: effect_Schema.Struct<{
31842
+ readonly sourceProgress: effect_Schema.optional<effect_Schema.Struct<{
31843
+ readonly stage: effect_Schema.Literals<readonly ["members", "contact_preferences", "uploading", "queued_for_import"]>;
31844
+ readonly processingStage: effect_Schema.optional<effect_Schema.Literals<readonly ["indexing_preferences", "normalizing_members", "serializing"]>>;
31845
+ readonly recordsProcessed: effect_Schema.optional<effect_Schema.Int>;
31846
+ readonly pagesFetched: effect_Schema.Int;
31847
+ readonly recordsFetched: effect_Schema.Int;
31848
+ readonly totalPages: effect_Schema.Union<readonly [effect_Schema.Int, effect_Schema.Null]>;
31849
+ readonly totalRecords: effect_Schema.Union<readonly [effect_Schema.Int, effect_Schema.Null]>;
31850
+ readonly pageSize: effect_Schema.Union<readonly [effect_Schema.Int, effect_Schema.Null]>;
31851
+ }>>;
31066
31852
  readonly totalRecords: effect_Schema.Number;
31067
31853
  readonly inserted: effect_Schema.Number;
31068
31854
  readonly updated: effect_Schema.Number;
@@ -31130,6 +31916,16 @@ declare const makePromiseServiceHubApiClient: (options: HubApiCredentialOptions)
31130
31916
  readonly cursorBefore: effect_Schema.Union<readonly [effect_Schema.$Record<effect_Schema.String, effect_Schema.Unknown>, effect_Schema.Null]>;
31131
31917
  readonly cursorAfter: effect_Schema.Union<readonly [effect_Schema.$Record<effect_Schema.String, effect_Schema.Unknown>, effect_Schema.Null]>;
31132
31918
  readonly summary: effect_Schema.Struct<{
31919
+ readonly sourceProgress: effect_Schema.optional<effect_Schema.Struct<{
31920
+ readonly stage: effect_Schema.Literals<readonly ["members", "contact_preferences", "uploading", "queued_for_import"]>;
31921
+ readonly processingStage: effect_Schema.optional<effect_Schema.Literals<readonly ["indexing_preferences", "normalizing_members", "serializing"]>>;
31922
+ readonly recordsProcessed: effect_Schema.optional<effect_Schema.Int>;
31923
+ readonly pagesFetched: effect_Schema.Int;
31924
+ readonly recordsFetched: effect_Schema.Int;
31925
+ readonly totalPages: effect_Schema.Union<readonly [effect_Schema.Int, effect_Schema.Null]>;
31926
+ readonly totalRecords: effect_Schema.Union<readonly [effect_Schema.Int, effect_Schema.Null]>;
31927
+ readonly pageSize: effect_Schema.Union<readonly [effect_Schema.Int, effect_Schema.Null]>;
31928
+ }>>;
31133
31929
  readonly totalRecords: effect_Schema.Number;
31134
31930
  readonly inserted: effect_Schema.Number;
31135
31931
  readonly updated: effect_Schema.Number;
@@ -31524,6 +32320,16 @@ declare const makePromiseServiceHubApiClient: (options: HubApiCredentialOptions)
31524
32320
  readonly cursorBefore: effect_Schema.Union<readonly [effect_Schema.$Record<effect_Schema.String, effect_Schema.Unknown>, effect_Schema.Null]>;
31525
32321
  readonly cursorAfter: effect_Schema.Union<readonly [effect_Schema.$Record<effect_Schema.String, effect_Schema.Unknown>, effect_Schema.Null]>;
31526
32322
  readonly summary: effect_Schema.Struct<{
32323
+ readonly sourceProgress: effect_Schema.optional<effect_Schema.Struct<{
32324
+ readonly stage: effect_Schema.Literals<readonly ["members", "contact_preferences", "uploading", "queued_for_import"]>;
32325
+ readonly processingStage: effect_Schema.optional<effect_Schema.Literals<readonly ["indexing_preferences", "normalizing_members", "serializing"]>>;
32326
+ readonly recordsProcessed: effect_Schema.optional<effect_Schema.Int>;
32327
+ readonly pagesFetched: effect_Schema.Int;
32328
+ readonly recordsFetched: effect_Schema.Int;
32329
+ readonly totalPages: effect_Schema.Union<readonly [effect_Schema.Int, effect_Schema.Null]>;
32330
+ readonly totalRecords: effect_Schema.Union<readonly [effect_Schema.Int, effect_Schema.Null]>;
32331
+ readonly pageSize: effect_Schema.Union<readonly [effect_Schema.Int, effect_Schema.Null]>;
32332
+ }>>;
31527
32333
  readonly totalRecords: effect_Schema.Number;
31528
32334
  readonly inserted: effect_Schema.Number;
31529
32335
  readonly updated: effect_Schema.Number;
@@ -31726,6 +32532,16 @@ declare const makePromiseServiceHubApiClient: (options: HubApiCredentialOptions)
31726
32532
  readonly cursorBefore: effect_Schema.Union<readonly [effect_Schema.$Record<effect_Schema.String, effect_Schema.Unknown>, effect_Schema.Null]>;
31727
32533
  readonly cursorAfter: effect_Schema.Union<readonly [effect_Schema.$Record<effect_Schema.String, effect_Schema.Unknown>, effect_Schema.Null]>;
31728
32534
  readonly summary: effect_Schema.Struct<{
32535
+ readonly sourceProgress: effect_Schema.optional<effect_Schema.Struct<{
32536
+ readonly stage: effect_Schema.Literals<readonly ["members", "contact_preferences", "uploading", "queued_for_import"]>;
32537
+ readonly processingStage: effect_Schema.optional<effect_Schema.Literals<readonly ["indexing_preferences", "normalizing_members", "serializing"]>>;
32538
+ readonly recordsProcessed: effect_Schema.optional<effect_Schema.Int>;
32539
+ readonly pagesFetched: effect_Schema.Int;
32540
+ readonly recordsFetched: effect_Schema.Int;
32541
+ readonly totalPages: effect_Schema.Union<readonly [effect_Schema.Int, effect_Schema.Null]>;
32542
+ readonly totalRecords: effect_Schema.Union<readonly [effect_Schema.Int, effect_Schema.Null]>;
32543
+ readonly pageSize: effect_Schema.Union<readonly [effect_Schema.Int, effect_Schema.Null]>;
32544
+ }>>;
31729
32545
  readonly totalRecords: effect_Schema.Number;
31730
32546
  readonly inserted: effect_Schema.Number;
31731
32547
  readonly updated: effect_Schema.Number;
@@ -32068,7 +32884,89 @@ declare const makePromiseServiceHubApiClient: (options: HubApiCredentialOptions)
32068
32884
  readonly code: effect_Schema.Literal<"internal_error">;
32069
32885
  readonly message: effect_Schema.String;
32070
32886
  }>>, never, never>, never, never>;
32071
- readonly pollOnsiteAgentMemberRenewalCommand: HttpApiClient.Client.Method<effect_unstable_httpapi_HttpApiEndpoint.HttpApiEndpoint<"pollOnsiteAgentMemberRenewalCommand", "POST", "/v1/onsite-agent/member-renewal-commands/poll", never, never, never, never, effect_Schema.toCodecJson<effect_Schema.Union<readonly [effect_Schema.Struct<{
32887
+ readonly pollOnsiteAgentMemberRenewalCommand: HttpApiClient.Client.Method<effect_unstable_httpapi_HttpApiEndpoint.HttpApiEndpoint<"pollOnsiteAgentMemberRenewalCommand", "POST", "/v1/onsite-agent/member-renewal-commands/poll", never, never, never, never, effect_Schema.toCodecJson<effect_Schema.Union<readonly [effect_Schema.Struct<{
32888
+ readonly commandId: effect_Schema.String;
32889
+ readonly organizationId: effect_Schema.String;
32890
+ readonly organizationMemberSourceId: effect_Schema.String;
32891
+ readonly vendor: effect_Schema.Literals<readonly ["max_gaming", "odyssey_gaming", "ebet_arc", "custom"]>;
32892
+ readonly connectorType: effect_Schema.Literals<readonly ["max_gaming", "odyssey_gaming", "ebet_arc", "custom"]>;
32893
+ readonly requestedAt: effect_Schema.String;
32894
+ readonly payload: effect_Schema.Struct<{
32895
+ readonly memberId: effect_Schema.String;
32896
+ readonly externalSystemMemberId: effect_Schema.String;
32897
+ readonly memberNumber: effect_Schema.optional<effect_Schema.Union<readonly [effect_Schema.String, effect_Schema.Null]>>;
32898
+ readonly previousExpiresAt: effect_Schema.optional<effect_Schema.Union<readonly [effect_Schema.String, effect_Schema.Null]>>;
32899
+ }>;
32900
+ readonly config: effect_Schema.$Record<effect_Schema.String, effect_Schema.Unknown>;
32901
+ readonly secrets: effect_Schema.$Array<effect_Schema.Struct<{
32902
+ readonly name: effect_Schema.String;
32903
+ readonly value: effect_Schema.String;
32904
+ }>>;
32905
+ }>, effect_Schema.Null]>>, effect_Schema.toCodecJson<effect_Schema.Struct<{
32906
+ readonly code: effect_Schema.Literal<"unauthorized">;
32907
+ readonly message: effect_Schema.String;
32908
+ }> | effect_Schema.Struct<{
32909
+ readonly code: effect_Schema.Literal<"forbidden">;
32910
+ readonly message: effect_Schema.String;
32911
+ }> | effect_Schema.Struct<{
32912
+ readonly code: effect_Schema.Literal<"not_found">;
32913
+ readonly message: effect_Schema.String;
32914
+ }> | effect_Schema.Struct<{
32915
+ readonly code: effect_Schema.Literal<"conflict">;
32916
+ readonly message: effect_Schema.String;
32917
+ }> | effect_Schema.Struct<{
32918
+ readonly code: effect_Schema.Literal<"bad_request">;
32919
+ readonly message: effect_Schema.String;
32920
+ }> | effect_Schema.Struct<{
32921
+ readonly code: effect_Schema.Literal<"internal_error">;
32922
+ readonly message: effect_Schema.String;
32923
+ }>>, never, never>, never, never>;
32924
+ readonly pollOnsiteAgentMemberPreferenceUpdateCommand: HttpApiClient.Client.Method<effect_unstable_httpapi_HttpApiEndpoint.HttpApiEndpoint<"pollOnsiteAgentMemberPreferenceUpdateCommand", "POST", "/v1/onsite-agent/member-preference-commands/poll", never, never, never, never, effect_Schema.toCodecJson<effect_Schema.Union<readonly [effect_Schema.Struct<{
32925
+ readonly commandId: effect_Schema.String;
32926
+ readonly organizationId: effect_Schema.String;
32927
+ readonly organizationMemberSourceId: effect_Schema.String;
32928
+ readonly vendor: effect_Schema.Literals<readonly ["max_gaming", "odyssey_gaming", "ebet_arc", "custom"]>;
32929
+ readonly connectorType: effect_Schema.Literals<readonly ["max_gaming", "odyssey_gaming", "ebet_arc", "custom"]>;
32930
+ readonly requestedAt: effect_Schema.String;
32931
+ readonly payload: effect_Schema.Struct<{
32932
+ readonly memberId: effect_Schema.String;
32933
+ readonly externalSystemMemberId: effect_Schema.String;
32934
+ readonly sourceSiteId: effect_Schema.optional<effect_Schema.Union<readonly [effect_Schema.String, effect_Schema.Null]>>;
32935
+ readonly expectedUpdatedAt: effect_Schema.String;
32936
+ readonly marketingPreferences: effect_Schema.Struct<{
32937
+ readonly email: effect_Schema.optional<effect_Schema.Boolean>;
32938
+ readonly sms: effect_Schema.optional<effect_Schema.Boolean>;
32939
+ readonly post: effect_Schema.optional<effect_Schema.Boolean>;
32940
+ readonly gamingEmail: effect_Schema.optional<effect_Schema.Boolean>;
32941
+ readonly gamingSms: effect_Schema.optional<effect_Schema.Boolean>;
32942
+ readonly gamingOptOut: effect_Schema.optional<effect_Schema.Boolean>;
32943
+ }>;
32944
+ }>;
32945
+ readonly config: effect_Schema.$Record<effect_Schema.String, effect_Schema.Unknown>;
32946
+ readonly secrets: effect_Schema.$Array<effect_Schema.Struct<{
32947
+ readonly name: effect_Schema.String;
32948
+ readonly value: effect_Schema.String;
32949
+ }>>;
32950
+ }>, effect_Schema.Null]>>, effect_Schema.toCodecJson<effect_Schema.Struct<{
32951
+ readonly code: effect_Schema.Literal<"unauthorized">;
32952
+ readonly message: effect_Schema.String;
32953
+ }> | effect_Schema.Struct<{
32954
+ readonly code: effect_Schema.Literal<"forbidden">;
32955
+ readonly message: effect_Schema.String;
32956
+ }> | effect_Schema.Struct<{
32957
+ readonly code: effect_Schema.Literal<"not_found">;
32958
+ readonly message: effect_Schema.String;
32959
+ }> | effect_Schema.Struct<{
32960
+ readonly code: effect_Schema.Literal<"conflict">;
32961
+ readonly message: effect_Schema.String;
32962
+ }> | effect_Schema.Struct<{
32963
+ readonly code: effect_Schema.Literal<"bad_request">;
32964
+ readonly message: effect_Schema.String;
32965
+ }> | effect_Schema.Struct<{
32966
+ readonly code: effect_Schema.Literal<"internal_error">;
32967
+ readonly message: effect_Schema.String;
32968
+ }>>, never, never>, never, never>;
32969
+ readonly pollOnsiteAgentMemberLookupCommand: HttpApiClient.Client.Method<effect_unstable_httpapi_HttpApiEndpoint.HttpApiEndpoint<"pollOnsiteAgentMemberLookupCommand", "POST", "/v1/onsite-agent/member-lookup-commands/poll", never, never, never, never, effect_Schema.toCodecJson<effect_Schema.Union<readonly [effect_Schema.Struct<{
32072
32970
  readonly commandId: effect_Schema.String;
32073
32971
  readonly organizationId: effect_Schema.String;
32074
32972
  readonly organizationMemberSourceId: effect_Schema.String;
@@ -32076,10 +32974,9 @@ declare const makePromiseServiceHubApiClient: (options: HubApiCredentialOptions)
32076
32974
  readonly connectorType: effect_Schema.Literals<readonly ["max_gaming", "odyssey_gaming", "ebet_arc", "custom"]>;
32077
32975
  readonly requestedAt: effect_Schema.String;
32078
32976
  readonly payload: effect_Schema.Struct<{
32079
- readonly memberId: effect_Schema.String;
32080
- readonly externalSystemMemberId: effect_Schema.String;
32081
- readonly memberNumber: effect_Schema.optional<effect_Schema.Union<readonly [effect_Schema.String, effect_Schema.Null]>>;
32082
- readonly previousExpiresAt: effect_Schema.optional<effect_Schema.Union<readonly [effect_Schema.String, effect_Schema.Null]>>;
32977
+ readonly lookupBy: effect_Schema.Literals<readonly ["member_id", "badge_number", "card_number"]>;
32978
+ readonly lookupValue: effect_Schema.String;
32979
+ readonly refreshStoredMember: effect_Schema.optional<effect_Schema.Boolean>;
32083
32980
  }>;
32084
32981
  readonly config: effect_Schema.$Record<effect_Schema.String, effect_Schema.Unknown>;
32085
32982
  readonly secrets: effect_Schema.$Array<effect_Schema.Struct<{
@@ -32105,27 +33002,14 @@ declare const makePromiseServiceHubApiClient: (options: HubApiCredentialOptions)
32105
33002
  readonly code: effect_Schema.Literal<"internal_error">;
32106
33003
  readonly message: effect_Schema.String;
32107
33004
  }>>, never, never>, never, never>;
32108
- readonly pollOnsiteAgentMemberPreferenceUpdateCommand: HttpApiClient.Client.Method<effect_unstable_httpapi_HttpApiEndpoint.HttpApiEndpoint<"pollOnsiteAgentMemberPreferenceUpdateCommand", "POST", "/v1/onsite-agent/member-preference-commands/poll", never, never, never, never, effect_Schema.toCodecJson<effect_Schema.Union<readonly [effect_Schema.Struct<{
33005
+ readonly pollOnsiteAgentCustomFieldsCommand: HttpApiClient.Client.Method<effect_unstable_httpapi_HttpApiEndpoint.HttpApiEndpoint<"pollOnsiteAgentCustomFieldsCommand", "POST", "/v1/onsite-agent/custom-fields-commands/poll", never, never, never, never, effect_Schema.toCodecJson<effect_Schema.Union<readonly [effect_Schema.Struct<{
32109
33006
  readonly commandId: effect_Schema.String;
32110
33007
  readonly organizationId: effect_Schema.String;
32111
33008
  readonly organizationMemberSourceId: effect_Schema.String;
32112
33009
  readonly vendor: effect_Schema.Literals<readonly ["max_gaming", "odyssey_gaming", "ebet_arc", "custom"]>;
32113
33010
  readonly connectorType: effect_Schema.Literals<readonly ["max_gaming", "odyssey_gaming", "ebet_arc", "custom"]>;
32114
33011
  readonly requestedAt: effect_Schema.String;
32115
- readonly payload: effect_Schema.Struct<{
32116
- readonly memberId: effect_Schema.String;
32117
- readonly externalSystemMemberId: effect_Schema.String;
32118
- readonly sourceSiteId: effect_Schema.optional<effect_Schema.Union<readonly [effect_Schema.String, effect_Schema.Null]>>;
32119
- readonly expectedUpdatedAt: effect_Schema.String;
32120
- readonly marketingPreferences: effect_Schema.Struct<{
32121
- readonly email: effect_Schema.optional<effect_Schema.Boolean>;
32122
- readonly sms: effect_Schema.optional<effect_Schema.Boolean>;
32123
- readonly post: effect_Schema.optional<effect_Schema.Boolean>;
32124
- readonly gamingEmail: effect_Schema.optional<effect_Schema.Boolean>;
32125
- readonly gamingSms: effect_Schema.optional<effect_Schema.Boolean>;
32126
- readonly gamingOptOut: effect_Schema.optional<effect_Schema.Boolean>;
32127
- }>;
32128
- }>;
33012
+ readonly payload: effect_Schema.$Record<effect_Schema.String, effect_Schema.Unknown>;
32129
33013
  readonly config: effect_Schema.$Record<effect_Schema.String, effect_Schema.Unknown>;
32130
33014
  readonly secrets: effect_Schema.$Array<effect_Schema.Struct<{
32131
33015
  readonly name: effect_Schema.String;
@@ -32150,56 +33034,19 @@ declare const makePromiseServiceHubApiClient: (options: HubApiCredentialOptions)
32150
33034
  readonly code: effect_Schema.Literal<"internal_error">;
32151
33035
  readonly message: effect_Schema.String;
32152
33036
  }>>, never, never>, never, never>;
32153
- readonly pollOnsiteAgentMemberLookupCommand: HttpApiClient.Client.Method<effect_unstable_httpapi_HttpApiEndpoint.HttpApiEndpoint<"pollOnsiteAgentMemberLookupCommand", "POST", "/v1/onsite-agent/member-lookup-commands/poll", never, never, never, never, effect_Schema.toCodecJson<effect_Schema.Union<readonly [effect_Schema.Struct<{
32154
- readonly commandId: effect_Schema.String;
32155
- readonly organizationId: effect_Schema.String;
32156
- readonly organizationMemberSourceId: effect_Schema.String;
32157
- readonly vendor: effect_Schema.Literals<readonly ["max_gaming", "odyssey_gaming", "ebet_arc", "custom"]>;
32158
- readonly connectorType: effect_Schema.Literals<readonly ["max_gaming", "odyssey_gaming", "ebet_arc", "custom"]>;
32159
- readonly requestedAt: effect_Schema.String;
32160
- readonly payload: effect_Schema.Struct<{
32161
- readonly lookupBy: effect_Schema.Literals<readonly ["member_id", "badge_number", "card_number"]>;
32162
- readonly lookupValue: effect_Schema.String;
32163
- readonly refreshStoredMember: effect_Schema.optional<effect_Schema.Boolean>;
33037
+ readonly refreshOnsiteAgentRunCsvUpload: HttpApiClient.Client.Method<effect_unstable_httpapi_HttpApiEndpoint.HttpApiEndpoint<"refreshOnsiteAgentRunCsvUpload", "POST", "/v1/onsite-agent/runs/:runId/csv-upload", effect_Schema.toCodecStringTree<effect_Schema.Struct<{
33038
+ readonly runId: effect_Schema.String;
33039
+ }>>, never, never, never, effect_Schema.toCodecJson<effect_Schema.Struct<{
33040
+ readonly importId: effect_Schema.String;
33041
+ readonly fileName: effect_Schema.String;
33042
+ readonly contentType: effect_Schema.String;
33043
+ readonly bucketName: effect_Schema.String;
33044
+ readonly objectKey: effect_Schema.String;
33045
+ readonly presignedPost: effect_Schema.Struct<{
33046
+ readonly url: effect_Schema.String;
33047
+ readonly fields: effect_Schema.$Record<effect_Schema.String, effect_Schema.String>;
32164
33048
  }>;
32165
- readonly config: effect_Schema.$Record<effect_Schema.String, effect_Schema.Unknown>;
32166
- readonly secrets: effect_Schema.$Array<effect_Schema.Struct<{
32167
- readonly name: effect_Schema.String;
32168
- readonly value: effect_Schema.String;
32169
- }>>;
32170
- }>, effect_Schema.Null]>>, effect_Schema.toCodecJson<effect_Schema.Struct<{
32171
- readonly code: effect_Schema.Literal<"unauthorized">;
32172
- readonly message: effect_Schema.String;
32173
- }> | effect_Schema.Struct<{
32174
- readonly code: effect_Schema.Literal<"forbidden">;
32175
- readonly message: effect_Schema.String;
32176
- }> | effect_Schema.Struct<{
32177
- readonly code: effect_Schema.Literal<"not_found">;
32178
- readonly message: effect_Schema.String;
32179
- }> | effect_Schema.Struct<{
32180
- readonly code: effect_Schema.Literal<"conflict">;
32181
- readonly message: effect_Schema.String;
32182
- }> | effect_Schema.Struct<{
32183
- readonly code: effect_Schema.Literal<"bad_request">;
32184
- readonly message: effect_Schema.String;
32185
- }> | effect_Schema.Struct<{
32186
- readonly code: effect_Schema.Literal<"internal_error">;
32187
- readonly message: effect_Schema.String;
32188
- }>>, never, never>, never, never>;
32189
- readonly pollOnsiteAgentCustomFieldsCommand: HttpApiClient.Client.Method<effect_unstable_httpapi_HttpApiEndpoint.HttpApiEndpoint<"pollOnsiteAgentCustomFieldsCommand", "POST", "/v1/onsite-agent/custom-fields-commands/poll", never, never, never, never, effect_Schema.toCodecJson<effect_Schema.Union<readonly [effect_Schema.Struct<{
32190
- readonly commandId: effect_Schema.String;
32191
- readonly organizationId: effect_Schema.String;
32192
- readonly organizationMemberSourceId: effect_Schema.String;
32193
- readonly vendor: effect_Schema.Literals<readonly ["max_gaming", "odyssey_gaming", "ebet_arc", "custom"]>;
32194
- readonly connectorType: effect_Schema.Literals<readonly ["max_gaming", "odyssey_gaming", "ebet_arc", "custom"]>;
32195
- readonly requestedAt: effect_Schema.String;
32196
- readonly payload: effect_Schema.$Record<effect_Schema.String, effect_Schema.Unknown>;
32197
- readonly config: effect_Schema.$Record<effect_Schema.String, effect_Schema.Unknown>;
32198
- readonly secrets: effect_Schema.$Array<effect_Schema.Struct<{
32199
- readonly name: effect_Schema.String;
32200
- readonly value: effect_Schema.String;
32201
- }>>;
32202
- }>, effect_Schema.Null]>>, effect_Schema.toCodecJson<effect_Schema.Struct<{
33049
+ }>>, effect_Schema.toCodecJson<effect_Schema.Struct<{
32203
33050
  readonly code: effect_Schema.Literal<"unauthorized">;
32204
33051
  readonly message: effect_Schema.String;
32205
33052
  }> | effect_Schema.Struct<{
@@ -32218,18 +33065,19 @@ declare const makePromiseServiceHubApiClient: (options: HubApiCredentialOptions)
32218
33065
  readonly code: effect_Schema.Literal<"internal_error">;
32219
33066
  readonly message: effect_Schema.String;
32220
33067
  }>>, never, never>, never, never>;
32221
- readonly refreshOnsiteAgentRunCsvUpload: HttpApiClient.Client.Method<effect_unstable_httpapi_HttpApiEndpoint.HttpApiEndpoint<"refreshOnsiteAgentRunCsvUpload", "POST", "/v1/onsite-agent/runs/:runId/csv-upload", effect_Schema.toCodecStringTree<effect_Schema.Struct<{
33068
+ readonly reportOnsiteAgentRunProgress: HttpApiClient.Client.Method<effect_unstable_httpapi_HttpApiEndpoint.HttpApiEndpoint<"reportOnsiteAgentRunProgress", "POST", "/v1/onsite-agent/runs/:runId/progress", effect_Schema.toCodecStringTree<effect_Schema.Struct<{
32222
33069
  readonly runId: effect_Schema.String;
32223
- }>>, never, never, never, effect_Schema.toCodecJson<effect_Schema.Struct<{
32224
- readonly importId: effect_Schema.String;
32225
- readonly fileName: effect_Schema.String;
32226
- readonly contentType: effect_Schema.String;
32227
- readonly bucketName: effect_Schema.String;
32228
- readonly objectKey: effect_Schema.String;
32229
- readonly presignedPost: effect_Schema.Struct<{
32230
- readonly url: effect_Schema.String;
32231
- readonly fields: effect_Schema.$Record<effect_Schema.String, effect_Schema.String>;
32232
- }>;
33070
+ }>>, never, effect_Schema.toCodecJson<effect_Schema.Struct<{
33071
+ readonly stage: effect_Schema.Literals<readonly ["members", "contact_preferences", "uploading", "queued_for_import"]>;
33072
+ readonly processingStage: effect_Schema.optional<effect_Schema.Literals<readonly ["indexing_preferences", "normalizing_members", "serializing"]>>;
33073
+ readonly recordsProcessed: effect_Schema.optional<effect_Schema.Int>;
33074
+ readonly pagesFetched: effect_Schema.Int;
33075
+ readonly recordsFetched: effect_Schema.Int;
33076
+ readonly totalPages: effect_Schema.Union<readonly [effect_Schema.Int, effect_Schema.Null]>;
33077
+ readonly totalRecords: effect_Schema.Union<readonly [effect_Schema.Int, effect_Schema.Null]>;
33078
+ readonly pageSize: effect_Schema.Union<readonly [effect_Schema.Int, effect_Schema.Null]>;
33079
+ }>>, never, effect_Schema.toCodecJson<effect_Schema.Struct<{
33080
+ readonly accepted: effect_Schema.Boolean;
32233
33081
  }>>, effect_Schema.toCodecJson<effect_Schema.Struct<{
32234
33082
  readonly code: effect_Schema.Literal<"unauthorized">;
32235
33083
  readonly message: effect_Schema.String;
@@ -32344,6 +33192,16 @@ declare const makePromiseServiceHubApiClient: (options: HubApiCredentialOptions)
32344
33192
  readonly cursorBefore: effect_Schema.Union<readonly [effect_Schema.$Record<effect_Schema.String, effect_Schema.Unknown>, effect_Schema.Null]>;
32345
33193
  readonly cursorAfter: effect_Schema.Union<readonly [effect_Schema.$Record<effect_Schema.String, effect_Schema.Unknown>, effect_Schema.Null]>;
32346
33194
  readonly summary: effect_Schema.Struct<{
33195
+ readonly sourceProgress: effect_Schema.optional<effect_Schema.Struct<{
33196
+ readonly stage: effect_Schema.Literals<readonly ["members", "contact_preferences", "uploading", "queued_for_import"]>;
33197
+ readonly processingStage: effect_Schema.optional<effect_Schema.Literals<readonly ["indexing_preferences", "normalizing_members", "serializing"]>>;
33198
+ readonly recordsProcessed: effect_Schema.optional<effect_Schema.Int>;
33199
+ readonly pagesFetched: effect_Schema.Int;
33200
+ readonly recordsFetched: effect_Schema.Int;
33201
+ readonly totalPages: effect_Schema.Union<readonly [effect_Schema.Int, effect_Schema.Null]>;
33202
+ readonly totalRecords: effect_Schema.Union<readonly [effect_Schema.Int, effect_Schema.Null]>;
33203
+ readonly pageSize: effect_Schema.Union<readonly [effect_Schema.Int, effect_Schema.Null]>;
33204
+ }>>;
32347
33205
  readonly totalRecords: effect_Schema.Number;
32348
33206
  readonly inserted: effect_Schema.Number;
32349
33207
  readonly updated: effect_Schema.Number;
@@ -38359,6 +39217,120 @@ declare const makePromiseOnsiteResourceClient: (options: HubApiCredentialOptions
38359
39217
  readonly code: effect_Schema.Literal<"internal_error">;
38360
39218
  readonly message: effect_Schema.String;
38361
39219
  }>>, never, never>, never, never>;
39220
+ readonly getOrganizationInitialMembershipUploads: HttpApiClient.Client.Method<effect_unstable_httpapi_HttpApiEndpoint.HttpApiEndpoint<"getOrganizationInitialMembershipUploads", "GET", "/v1/organizations/:organizationId/initial-membership-uploads", effect_Schema.toCodecStringTree<effect_Schema.Struct<{
39221
+ readonly organizationId: effect_Schema.String;
39222
+ }>>, never, never, never, effect_Schema.toCodecJson<effect_Schema.Struct<{
39223
+ readonly hasUpload: effect_Schema.Boolean;
39224
+ readonly uploads: effect_Schema.$Array<effect_Schema.Struct<{
39225
+ readonly uploadId: effect_Schema.String;
39226
+ readonly fileName: effect_Schema.String;
39227
+ readonly objectKey: effect_Schema.String;
39228
+ readonly sizeBytes: effect_Schema.Number;
39229
+ readonly uploadedAt: effect_Schema.NullOr<effect_Schema.String>;
39230
+ }>>;
39231
+ }>>, effect_Schema.toCodecJson<effect_Schema.Struct<{
39232
+ readonly code: effect_Schema.Literal<"unauthorized">;
39233
+ readonly message: effect_Schema.String;
39234
+ }> | effect_Schema.Struct<{
39235
+ readonly code: effect_Schema.Literal<"forbidden">;
39236
+ readonly message: effect_Schema.String;
39237
+ }> | effect_Schema.Struct<{
39238
+ readonly code: effect_Schema.Literal<"not_found">;
39239
+ readonly message: effect_Schema.String;
39240
+ }> | effect_Schema.Struct<{
39241
+ readonly code: effect_Schema.Literal<"conflict">;
39242
+ readonly message: effect_Schema.String;
39243
+ }> | effect_Schema.Struct<{
39244
+ readonly code: effect_Schema.Literal<"bad_request">;
39245
+ readonly message: effect_Schema.String;
39246
+ }> | effect_Schema.Struct<{
39247
+ readonly code: effect_Schema.Literal<"internal_error">;
39248
+ readonly message: effect_Schema.String;
39249
+ }>>, never, never>, never, never>;
39250
+ readonly getOrganizationInitialMembershipUploadDownload: HttpApiClient.Client.Method<effect_unstable_httpapi_HttpApiEndpoint.HttpApiEndpoint<"getOrganizationInitialMembershipUploadDownload", "GET", "/v1/organizations/:organizationId/initial-membership-uploads/:uploadId/download", effect_Schema.toCodecStringTree<effect_Schema.Struct<{
39251
+ readonly organizationId: effect_Schema.String;
39252
+ readonly uploadId: effect_Schema.String;
39253
+ }>>, never, never, never, effect_Schema.toCodecJson<effect_Schema.Struct<{
39254
+ readonly url: effect_Schema.String;
39255
+ readonly expiresIn: effect_Schema.Number;
39256
+ }>>, effect_Schema.toCodecJson<effect_Schema.Struct<{
39257
+ readonly code: effect_Schema.Literal<"unauthorized">;
39258
+ readonly message: effect_Schema.String;
39259
+ }> | effect_Schema.Struct<{
39260
+ readonly code: effect_Schema.Literal<"forbidden">;
39261
+ readonly message: effect_Schema.String;
39262
+ }> | effect_Schema.Struct<{
39263
+ readonly code: effect_Schema.Literal<"not_found">;
39264
+ readonly message: effect_Schema.String;
39265
+ }> | effect_Schema.Struct<{
39266
+ readonly code: effect_Schema.Literal<"conflict">;
39267
+ readonly message: effect_Schema.String;
39268
+ }> | effect_Schema.Struct<{
39269
+ readonly code: effect_Schema.Literal<"bad_request">;
39270
+ readonly message: effect_Schema.String;
39271
+ }> | effect_Schema.Struct<{
39272
+ readonly code: effect_Schema.Literal<"internal_error">;
39273
+ readonly message: effect_Schema.String;
39274
+ }>>, never, never>, never, never>;
39275
+ readonly deleteOrganizationInitialMembershipUpload: HttpApiClient.Client.Method<effect_unstable_httpapi_HttpApiEndpoint.HttpApiEndpoint<"deleteOrganizationInitialMembershipUpload", "DELETE", "/v1/organizations/:organizationId/initial-membership-uploads/:uploadId", effect_Schema.toCodecStringTree<effect_Schema.Struct<{
39276
+ readonly organizationId: effect_Schema.String;
39277
+ readonly uploadId: effect_Schema.String;
39278
+ }>>, never, never, never, effect_Schema.toCodecJson<effect_Schema.Struct<{
39279
+ readonly uploadId: effect_Schema.String;
39280
+ readonly deleted: effect_Schema.Boolean;
39281
+ }>>, effect_Schema.toCodecJson<effect_Schema.Struct<{
39282
+ readonly code: effect_Schema.Literal<"unauthorized">;
39283
+ readonly message: effect_Schema.String;
39284
+ }> | effect_Schema.Struct<{
39285
+ readonly code: effect_Schema.Literal<"forbidden">;
39286
+ readonly message: effect_Schema.String;
39287
+ }> | effect_Schema.Struct<{
39288
+ readonly code: effect_Schema.Literal<"not_found">;
39289
+ readonly message: effect_Schema.String;
39290
+ }> | effect_Schema.Struct<{
39291
+ readonly code: effect_Schema.Literal<"conflict">;
39292
+ readonly message: effect_Schema.String;
39293
+ }> | effect_Schema.Struct<{
39294
+ readonly code: effect_Schema.Literal<"bad_request">;
39295
+ readonly message: effect_Schema.String;
39296
+ }> | effect_Schema.Struct<{
39297
+ readonly code: effect_Schema.Literal<"internal_error">;
39298
+ readonly message: effect_Schema.String;
39299
+ }>>, never, never>, never, never>;
39300
+ readonly createOrganizationInitialMembershipUpload: HttpApiClient.Client.Method<effect_unstable_httpapi_HttpApiEndpoint.HttpApiEndpoint<"createOrganizationInitialMembershipUpload", "POST", "/v1/organizations/:organizationId/initial-membership-uploads", effect_Schema.toCodecStringTree<effect_Schema.Struct<{
39301
+ readonly organizationId: effect_Schema.String;
39302
+ }>>, never, effect_Schema.toCodecJson<effect_Schema.Struct<{
39303
+ readonly fileName: effect_Schema.String;
39304
+ }>>, never, effect_Schema.toCodecJson<effect_Schema.Struct<{
39305
+ readonly uploadId: effect_Schema.String;
39306
+ readonly bucketName: effect_Schema.String;
39307
+ readonly objectKey: effect_Schema.String;
39308
+ readonly fileName: effect_Schema.String;
39309
+ readonly contentType: effect_Schema.String;
39310
+ readonly expiresIn: effect_Schema.Number;
39311
+ readonly presignedPost: effect_Schema.Struct<{
39312
+ readonly url: effect_Schema.String;
39313
+ readonly fields: effect_Schema.$Record<effect_Schema.String, effect_Schema.String>;
39314
+ }>;
39315
+ }>>, effect_Schema.toCodecJson<effect_Schema.Struct<{
39316
+ readonly code: effect_Schema.Literal<"unauthorized">;
39317
+ readonly message: effect_Schema.String;
39318
+ }> | effect_Schema.Struct<{
39319
+ readonly code: effect_Schema.Literal<"forbidden">;
39320
+ readonly message: effect_Schema.String;
39321
+ }> | effect_Schema.Struct<{
39322
+ readonly code: effect_Schema.Literal<"not_found">;
39323
+ readonly message: effect_Schema.String;
39324
+ }> | effect_Schema.Struct<{
39325
+ readonly code: effect_Schema.Literal<"conflict">;
39326
+ readonly message: effect_Schema.String;
39327
+ }> | effect_Schema.Struct<{
39328
+ readonly code: effect_Schema.Literal<"bad_request">;
39329
+ readonly message: effect_Schema.String;
39330
+ }> | effect_Schema.Struct<{
39331
+ readonly code: effect_Schema.Literal<"internal_error">;
39332
+ readonly message: effect_Schema.String;
39333
+ }>>, never, never>, never, never>;
38362
39334
  readonly createOrganizationMemberSourceCsvUpload: HttpApiClient.Client.Method<effect_unstable_httpapi_HttpApiEndpoint.HttpApiEndpoint<"createOrganizationMemberSourceCsvUpload", "POST", "/v1/organizations/:organizationId/member-source/csv-uploads", effect_Schema.toCodecStringTree<effect_Schema.Struct<{
38363
39335
  readonly organizationId: effect_Schema.String;
38364
39336
  }>>, never, effect_Schema.toCodecJson<effect_Schema.Struct<{
@@ -38494,6 +39466,16 @@ declare const makePromiseOnsiteResourceClient: (options: HubApiCredentialOptions
38494
39466
  readonly cursorBefore: effect_Schema.Union<readonly [effect_Schema.$Record<effect_Schema.String, effect_Schema.Unknown>, effect_Schema.Null]>;
38495
39467
  readonly cursorAfter: effect_Schema.Union<readonly [effect_Schema.$Record<effect_Schema.String, effect_Schema.Unknown>, effect_Schema.Null]>;
38496
39468
  readonly summary: effect_Schema.Struct<{
39469
+ readonly sourceProgress: effect_Schema.optional<effect_Schema.Struct<{
39470
+ readonly stage: effect_Schema.Literals<readonly ["members", "contact_preferences", "uploading", "queued_for_import"]>;
39471
+ readonly processingStage: effect_Schema.optional<effect_Schema.Literals<readonly ["indexing_preferences", "normalizing_members", "serializing"]>>;
39472
+ readonly recordsProcessed: effect_Schema.optional<effect_Schema.Int>;
39473
+ readonly pagesFetched: effect_Schema.Int;
39474
+ readonly recordsFetched: effect_Schema.Int;
39475
+ readonly totalPages: effect_Schema.Union<readonly [effect_Schema.Int, effect_Schema.Null]>;
39476
+ readonly totalRecords: effect_Schema.Union<readonly [effect_Schema.Int, effect_Schema.Null]>;
39477
+ readonly pageSize: effect_Schema.Union<readonly [effect_Schema.Int, effect_Schema.Null]>;
39478
+ }>>;
38497
39479
  readonly totalRecords: effect_Schema.Number;
38498
39480
  readonly inserted: effect_Schema.Number;
38499
39481
  readonly updated: effect_Schema.Number;
@@ -38561,6 +39543,16 @@ declare const makePromiseOnsiteResourceClient: (options: HubApiCredentialOptions
38561
39543
  readonly cursorBefore: effect_Schema.Union<readonly [effect_Schema.$Record<effect_Schema.String, effect_Schema.Unknown>, effect_Schema.Null]>;
38562
39544
  readonly cursorAfter: effect_Schema.Union<readonly [effect_Schema.$Record<effect_Schema.String, effect_Schema.Unknown>, effect_Schema.Null]>;
38563
39545
  readonly summary: effect_Schema.Struct<{
39546
+ readonly sourceProgress: effect_Schema.optional<effect_Schema.Struct<{
39547
+ readonly stage: effect_Schema.Literals<readonly ["members", "contact_preferences", "uploading", "queued_for_import"]>;
39548
+ readonly processingStage: effect_Schema.optional<effect_Schema.Literals<readonly ["indexing_preferences", "normalizing_members", "serializing"]>>;
39549
+ readonly recordsProcessed: effect_Schema.optional<effect_Schema.Int>;
39550
+ readonly pagesFetched: effect_Schema.Int;
39551
+ readonly recordsFetched: effect_Schema.Int;
39552
+ readonly totalPages: effect_Schema.Union<readonly [effect_Schema.Int, effect_Schema.Null]>;
39553
+ readonly totalRecords: effect_Schema.Union<readonly [effect_Schema.Int, effect_Schema.Null]>;
39554
+ readonly pageSize: effect_Schema.Union<readonly [effect_Schema.Int, effect_Schema.Null]>;
39555
+ }>>;
38564
39556
  readonly totalRecords: effect_Schema.Number;
38565
39557
  readonly inserted: effect_Schema.Number;
38566
39558
  readonly updated: effect_Schema.Number;
@@ -38955,6 +39947,16 @@ declare const makePromiseOnsiteResourceClient: (options: HubApiCredentialOptions
38955
39947
  readonly cursorBefore: effect_Schema.Union<readonly [effect_Schema.$Record<effect_Schema.String, effect_Schema.Unknown>, effect_Schema.Null]>;
38956
39948
  readonly cursorAfter: effect_Schema.Union<readonly [effect_Schema.$Record<effect_Schema.String, effect_Schema.Unknown>, effect_Schema.Null]>;
38957
39949
  readonly summary: effect_Schema.Struct<{
39950
+ readonly sourceProgress: effect_Schema.optional<effect_Schema.Struct<{
39951
+ readonly stage: effect_Schema.Literals<readonly ["members", "contact_preferences", "uploading", "queued_for_import"]>;
39952
+ readonly processingStage: effect_Schema.optional<effect_Schema.Literals<readonly ["indexing_preferences", "normalizing_members", "serializing"]>>;
39953
+ readonly recordsProcessed: effect_Schema.optional<effect_Schema.Int>;
39954
+ readonly pagesFetched: effect_Schema.Int;
39955
+ readonly recordsFetched: effect_Schema.Int;
39956
+ readonly totalPages: effect_Schema.Union<readonly [effect_Schema.Int, effect_Schema.Null]>;
39957
+ readonly totalRecords: effect_Schema.Union<readonly [effect_Schema.Int, effect_Schema.Null]>;
39958
+ readonly pageSize: effect_Schema.Union<readonly [effect_Schema.Int, effect_Schema.Null]>;
39959
+ }>>;
38958
39960
  readonly totalRecords: effect_Schema.Number;
38959
39961
  readonly inserted: effect_Schema.Number;
38960
39962
  readonly updated: effect_Schema.Number;
@@ -39157,6 +40159,16 @@ declare const makePromiseOnsiteResourceClient: (options: HubApiCredentialOptions
39157
40159
  readonly cursorBefore: effect_Schema.Union<readonly [effect_Schema.$Record<effect_Schema.String, effect_Schema.Unknown>, effect_Schema.Null]>;
39158
40160
  readonly cursorAfter: effect_Schema.Union<readonly [effect_Schema.$Record<effect_Schema.String, effect_Schema.Unknown>, effect_Schema.Null]>;
39159
40161
  readonly summary: effect_Schema.Struct<{
40162
+ readonly sourceProgress: effect_Schema.optional<effect_Schema.Struct<{
40163
+ readonly stage: effect_Schema.Literals<readonly ["members", "contact_preferences", "uploading", "queued_for_import"]>;
40164
+ readonly processingStage: effect_Schema.optional<effect_Schema.Literals<readonly ["indexing_preferences", "normalizing_members", "serializing"]>>;
40165
+ readonly recordsProcessed: effect_Schema.optional<effect_Schema.Int>;
40166
+ readonly pagesFetched: effect_Schema.Int;
40167
+ readonly recordsFetched: effect_Schema.Int;
40168
+ readonly totalPages: effect_Schema.Union<readonly [effect_Schema.Int, effect_Schema.Null]>;
40169
+ readonly totalRecords: effect_Schema.Union<readonly [effect_Schema.Int, effect_Schema.Null]>;
40170
+ readonly pageSize: effect_Schema.Union<readonly [effect_Schema.Int, effect_Schema.Null]>;
40171
+ }>>;
39160
40172
  readonly totalRecords: effect_Schema.Number;
39161
40173
  readonly inserted: effect_Schema.Number;
39162
40174
  readonly updated: effect_Schema.Number;
@@ -39680,6 +40692,38 @@ declare const makePromiseOnsiteResourceClient: (options: HubApiCredentialOptions
39680
40692
  readonly code: effect_Schema.Literal<"internal_error">;
39681
40693
  readonly message: effect_Schema.String;
39682
40694
  }>>, never, never>, never, never>;
40695
+ readonly reportOnsiteAgentRunProgress: HttpApiClient.Client.Method<effect_unstable_httpapi_HttpApiEndpoint.HttpApiEndpoint<"reportOnsiteAgentRunProgress", "POST", "/v1/onsite-agent/runs/:runId/progress", effect_Schema.toCodecStringTree<effect_Schema.Struct<{
40696
+ readonly runId: effect_Schema.String;
40697
+ }>>, never, effect_Schema.toCodecJson<effect_Schema.Struct<{
40698
+ readonly stage: effect_Schema.Literals<readonly ["members", "contact_preferences", "uploading", "queued_for_import"]>;
40699
+ readonly processingStage: effect_Schema.optional<effect_Schema.Literals<readonly ["indexing_preferences", "normalizing_members", "serializing"]>>;
40700
+ readonly recordsProcessed: effect_Schema.optional<effect_Schema.Int>;
40701
+ readonly pagesFetched: effect_Schema.Int;
40702
+ readonly recordsFetched: effect_Schema.Int;
40703
+ readonly totalPages: effect_Schema.Union<readonly [effect_Schema.Int, effect_Schema.Null]>;
40704
+ readonly totalRecords: effect_Schema.Union<readonly [effect_Schema.Int, effect_Schema.Null]>;
40705
+ readonly pageSize: effect_Schema.Union<readonly [effect_Schema.Int, effect_Schema.Null]>;
40706
+ }>>, never, effect_Schema.toCodecJson<effect_Schema.Struct<{
40707
+ readonly accepted: effect_Schema.Boolean;
40708
+ }>>, effect_Schema.toCodecJson<effect_Schema.Struct<{
40709
+ readonly code: effect_Schema.Literal<"unauthorized">;
40710
+ readonly message: effect_Schema.String;
40711
+ }> | effect_Schema.Struct<{
40712
+ readonly code: effect_Schema.Literal<"forbidden">;
40713
+ readonly message: effect_Schema.String;
40714
+ }> | effect_Schema.Struct<{
40715
+ readonly code: effect_Schema.Literal<"not_found">;
40716
+ readonly message: effect_Schema.String;
40717
+ }> | effect_Schema.Struct<{
40718
+ readonly code: effect_Schema.Literal<"conflict">;
40719
+ readonly message: effect_Schema.String;
40720
+ }> | effect_Schema.Struct<{
40721
+ readonly code: effect_Schema.Literal<"bad_request">;
40722
+ readonly message: effect_Schema.String;
40723
+ }> | effect_Schema.Struct<{
40724
+ readonly code: effect_Schema.Literal<"internal_error">;
40725
+ readonly message: effect_Schema.String;
40726
+ }>>, never, never>, never, never>;
39683
40727
  readonly completeOnsiteAgentRun: HttpApiClient.Client.Method<effect_unstable_httpapi_HttpApiEndpoint.HttpApiEndpoint<"completeOnsiteAgentRun", "POST", "/v1/onsite-agent/runs/:runId/complete", effect_Schema.toCodecStringTree<effect_Schema.Struct<{
39684
40728
  readonly runId: effect_Schema.String;
39685
40729
  }>>, never, effect_Schema.toCodecJson<effect_Schema.Struct<{
@@ -39775,6 +40819,16 @@ declare const makePromiseOnsiteResourceClient: (options: HubApiCredentialOptions
39775
40819
  readonly cursorBefore: effect_Schema.Union<readonly [effect_Schema.$Record<effect_Schema.String, effect_Schema.Unknown>, effect_Schema.Null]>;
39776
40820
  readonly cursorAfter: effect_Schema.Union<readonly [effect_Schema.$Record<effect_Schema.String, effect_Schema.Unknown>, effect_Schema.Null]>;
39777
40821
  readonly summary: effect_Schema.Struct<{
40822
+ readonly sourceProgress: effect_Schema.optional<effect_Schema.Struct<{
40823
+ readonly stage: effect_Schema.Literals<readonly ["members", "contact_preferences", "uploading", "queued_for_import"]>;
40824
+ readonly processingStage: effect_Schema.optional<effect_Schema.Literals<readonly ["indexing_preferences", "normalizing_members", "serializing"]>>;
40825
+ readonly recordsProcessed: effect_Schema.optional<effect_Schema.Int>;
40826
+ readonly pagesFetched: effect_Schema.Int;
40827
+ readonly recordsFetched: effect_Schema.Int;
40828
+ readonly totalPages: effect_Schema.Union<readonly [effect_Schema.Int, effect_Schema.Null]>;
40829
+ readonly totalRecords: effect_Schema.Union<readonly [effect_Schema.Int, effect_Schema.Null]>;
40830
+ readonly pageSize: effect_Schema.Union<readonly [effect_Schema.Int, effect_Schema.Null]>;
40831
+ }>>;
39778
40832
  readonly totalRecords: effect_Schema.Number;
39779
40833
  readonly inserted: effect_Schema.Number;
39780
40834
  readonly updated: effect_Schema.Number;
@@ -42532,6 +43586,51 @@ declare function makeSpokeClient(hubClient: PromiseHubApiClient): {
42532
43586
  readonly deletedAt: string | null;
42533
43587
  }>>;
42534
43588
  };
43589
+ readonly initialMembershipUploads: {
43590
+ readonly download: (input: {
43591
+ readonly organizationId: string;
43592
+ readonly uploadId: string;
43593
+ }) => Promise<SpokeHubResult<{
43594
+ readonly url: string;
43595
+ readonly expiresIn: number;
43596
+ }>>;
43597
+ readonly get: (input: {
43598
+ readonly organizationId: string;
43599
+ }) => Promise<SpokeHubResult<{
43600
+ readonly hasUpload: boolean;
43601
+ readonly uploads: readonly {
43602
+ readonly uploadId: string;
43603
+ readonly fileName: string;
43604
+ readonly objectKey: string;
43605
+ readonly sizeBytes: number;
43606
+ readonly uploadedAt: string | null;
43607
+ }[];
43608
+ }>>;
43609
+ readonly delete: (input: {
43610
+ readonly organizationId: string;
43611
+ readonly uploadId: string;
43612
+ }) => Promise<SpokeHubResult<{
43613
+ readonly uploadId: string;
43614
+ readonly deleted: boolean;
43615
+ }>>;
43616
+ readonly create: (input: {
43617
+ readonly organizationId: string;
43618
+ readonly payload: CreateOrganizationInitialMembershipUploadInput;
43619
+ }) => Promise<SpokeHubResult<{
43620
+ readonly uploadId: string;
43621
+ readonly bucketName: string;
43622
+ readonly objectKey: string;
43623
+ readonly fileName: string;
43624
+ readonly contentType: string;
43625
+ readonly expiresIn: number;
43626
+ readonly presignedPost: {
43627
+ readonly url: string;
43628
+ readonly fields: {
43629
+ readonly [x: string]: string;
43630
+ };
43631
+ };
43632
+ }>>;
43633
+ };
42535
43634
  readonly csvUploads: {
42536
43635
  readonly create: (input: {
42537
43636
  readonly organizationId: string;
@@ -42689,12 +43788,22 @@ declare function makeSpokeClient(hubClient: PromiseHubApiClient): {
42689
43788
  readonly [x: string]: unknown;
42690
43789
  } | null;
42691
43790
  readonly summary: {
43791
+ readonly archived: number;
42692
43792
  readonly totalRecords: number;
42693
43793
  readonly inserted: number;
42694
43794
  readonly updated: number;
42695
- readonly archived: number;
42696
43795
  readonly skipped: number;
42697
43796
  readonly errorCount: number;
43797
+ readonly sourceProgress?: {
43798
+ readonly pageSize: number | null;
43799
+ readonly totalPages: number | null;
43800
+ readonly stage: "members" | "contact_preferences" | "uploading" | "queued_for_import";
43801
+ readonly totalRecords: number | null;
43802
+ readonly pagesFetched: number;
43803
+ readonly recordsFetched: number;
43804
+ readonly processingStage?: "indexing_preferences" | "normalizing_members" | "serializing" | undefined;
43805
+ readonly recordsProcessed?: number | undefined;
43806
+ } | undefined;
42698
43807
  };
42699
43808
  readonly errorMessage: string | null;
42700
43809
  readonly errors: readonly {
@@ -42745,12 +43854,22 @@ declare function makeSpokeClient(hubClient: PromiseHubApiClient): {
42745
43854
  readonly [x: string]: unknown;
42746
43855
  } | null;
42747
43856
  readonly summary: {
43857
+ readonly archived: number;
42748
43858
  readonly totalRecords: number;
42749
43859
  readonly inserted: number;
42750
43860
  readonly updated: number;
42751
- readonly archived: number;
42752
43861
  readonly skipped: number;
42753
43862
  readonly errorCount: number;
43863
+ readonly sourceProgress?: {
43864
+ readonly pageSize: number | null;
43865
+ readonly totalPages: number | null;
43866
+ readonly stage: "members" | "contact_preferences" | "uploading" | "queued_for_import";
43867
+ readonly totalRecords: number | null;
43868
+ readonly pagesFetched: number;
43869
+ readonly recordsFetched: number;
43870
+ readonly processingStage?: "indexing_preferences" | "normalizing_members" | "serializing" | undefined;
43871
+ readonly recordsProcessed?: number | undefined;
43872
+ } | undefined;
42754
43873
  };
42755
43874
  readonly errorMessage: string | null;
42756
43875
  readonly errors: readonly {
@@ -44531,4 +45650,4 @@ declare const makePromiseSpokeClient: (options: HubApiCredentialOptions) => Prom
44531
45650
  readonly hubClient: PromiseHubApiClient;
44532
45651
  }>;
44533
45652
 
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 };
45653
+ 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 CreateOrganizationInitialMembershipUploadInput, type CreateOrganizationInitialMembershipUploadResponse, CreateOrganizationInitialMembershipUploadResponseSchema, CreateOrganizationInitialMembershipUploadSchema, 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 DeleteOrganizationInitialMembershipUploadResponse, DeleteOrganizationInitialMembershipUploadResponseSchema, 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 OnsiteAgentRunProgressInput, OnsiteAgentRunProgressSchema, 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 OrganizationInitialMembershipUploadDownload, OrganizationInitialMembershipUploadDownloadSchema, type OrganizationInitialMembershipUploads, OrganizationInitialMembershipUploadsSchema, 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 };