@spoketech/hub-client 0.1.23 → 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/README.md +70 -0
- package/dist/index.d.ts +1928 -3
- package/dist/index.js +156 -0
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
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;
|
|
@@ -5488,6 +5562,142 @@ declare const HubApi: HttpApi.HttpApi<"hub", HttpApiGroup.HttpApiGroup<"auth", e
|
|
|
5488
5562
|
}> | effect_Schema.Struct<{
|
|
5489
5563
|
readonly code: effect_Schema.Literal<"internal_error">;
|
|
5490
5564
|
readonly message: effect_Schema.String;
|
|
5565
|
+
}>>, never, never> | effect_unstable_httpapi_HttpApiEndpoint.HttpApiEndpoint<"getOrganizationMemberByExternalSystemId", "GET", "/v1/organizations/:organizationId/members/by-external-system-id/:externalSystemMemberId", effect_Schema.toCodecStringTree<effect_Schema.Struct<{
|
|
5566
|
+
readonly organizationId: effect_Schema.String;
|
|
5567
|
+
readonly externalSystemMemberId: effect_Schema.String;
|
|
5568
|
+
}>>, effect_Schema.toCodecStringTree<effect_Schema.Struct<{
|
|
5569
|
+
readonly responseMode: effect_Schema.optional<effect_Schema.Literals<readonly ["full", "med", "basic"]>>;
|
|
5570
|
+
}>>, never, never, effect_Schema.toCodecJson<effect_Schema.Union<readonly [effect_Schema.Struct<{
|
|
5571
|
+
readonly email: effect_Schema.Union<readonly [effect_Schema.String, effect_Schema.Null]>;
|
|
5572
|
+
readonly title: effect_Schema.Union<readonly [effect_Schema.String, effect_Schema.Null]>;
|
|
5573
|
+
readonly firstName: effect_Schema.String;
|
|
5574
|
+
readonly middleName: effect_Schema.Union<readonly [effect_Schema.String, effect_Schema.Null]>;
|
|
5575
|
+
readonly lastName: effect_Schema.String;
|
|
5576
|
+
readonly displayName: effect_Schema.String;
|
|
5577
|
+
readonly dob: effect_Schema.Union<readonly [effect_Schema.String, effect_Schema.Null]>;
|
|
5578
|
+
readonly gender: effect_Schema.Union<readonly [effect_Schema.String, effect_Schema.Null]>;
|
|
5579
|
+
readonly mobilePhone: effect_Schema.Union<readonly [effect_Schema.String, effect_Schema.Null]>;
|
|
5580
|
+
readonly homePhone: effect_Schema.Union<readonly [effect_Schema.String, effect_Schema.Null]>;
|
|
5581
|
+
readonly preferredContactMethod: effect_Schema.Union<readonly [effect_Schema.Literals<readonly ["sms", "email"]>, effect_Schema.Null]>;
|
|
5582
|
+
readonly occupation: effect_Schema.Union<readonly [effect_Schema.String, effect_Schema.Null]>;
|
|
5583
|
+
readonly address: effect_Schema.Union<readonly [effect_Schema.String, effect_Schema.Null]>;
|
|
5584
|
+
readonly addressParts: effect_Schema.Union<readonly [effect_Schema.Struct<{
|
|
5585
|
+
readonly line1: effect_Schema.Union<readonly [effect_Schema.String, effect_Schema.Null]>;
|
|
5586
|
+
readonly line2: effect_Schema.Union<readonly [effect_Schema.String, effect_Schema.Null]>;
|
|
5587
|
+
readonly suburb: effect_Schema.Union<readonly [effect_Schema.String, effect_Schema.Null]>;
|
|
5588
|
+
readonly state: effect_Schema.Union<readonly [effect_Schema.String, effect_Schema.Null]>;
|
|
5589
|
+
readonly postalCode: effect_Schema.Union<readonly [effect_Schema.String, effect_Schema.Null]>;
|
|
5590
|
+
readonly country: effect_Schema.Union<readonly [effect_Schema.String, effect_Schema.Null]>;
|
|
5591
|
+
}>, effect_Schema.Null]>;
|
|
5592
|
+
readonly postalAddress: effect_Schema.Union<readonly [effect_Schema.String, effect_Schema.Null]>;
|
|
5593
|
+
readonly postalAddressParts: effect_Schema.Union<readonly [effect_Schema.Struct<{
|
|
5594
|
+
readonly line1: effect_Schema.Union<readonly [effect_Schema.String, effect_Schema.Null]>;
|
|
5595
|
+
readonly line2: effect_Schema.Union<readonly [effect_Schema.String, effect_Schema.Null]>;
|
|
5596
|
+
readonly suburb: effect_Schema.Union<readonly [effect_Schema.String, effect_Schema.Null]>;
|
|
5597
|
+
readonly state: effect_Schema.Union<readonly [effect_Schema.String, effect_Schema.Null]>;
|
|
5598
|
+
readonly postalCode: effect_Schema.Union<readonly [effect_Schema.String, effect_Schema.Null]>;
|
|
5599
|
+
readonly country: effect_Schema.Union<readonly [effect_Schema.String, effect_Schema.Null]>;
|
|
5600
|
+
}>, effect_Schema.Null]>;
|
|
5601
|
+
readonly membershipType: effect_Schema.Union<readonly [effect_Schema.String, effect_Schema.Null]>;
|
|
5602
|
+
readonly membershipTypeId: effect_Schema.Union<readonly [effect_Schema.String, effect_Schema.Null]>;
|
|
5603
|
+
readonly ratingGrade: effect_Schema.Union<readonly [effect_Schema.String, effect_Schema.Null]>;
|
|
5604
|
+
readonly ratingGradeId: effect_Schema.Union<readonly [effect_Schema.String, effect_Schema.Null]>;
|
|
5605
|
+
readonly marketingPreferences: effect_Schema.Struct<{
|
|
5606
|
+
readonly email: effect_Schema.Boolean;
|
|
5607
|
+
readonly sms: effect_Schema.Boolean;
|
|
5608
|
+
readonly post: effect_Schema.Boolean;
|
|
5609
|
+
readonly gamingEmail: effect_Schema.Boolean;
|
|
5610
|
+
readonly gamingSms: effect_Schema.Boolean;
|
|
5611
|
+
readonly gamingOptOut: effect_Schema.Boolean;
|
|
5612
|
+
}>;
|
|
5613
|
+
readonly expiresAt: effect_Schema.Union<readonly [effect_Schema.String, effect_Schema.Null]>;
|
|
5614
|
+
readonly statusCredits: effect_Schema.Number;
|
|
5615
|
+
readonly memberNumber: effect_Schema.Union<readonly [effect_Schema.String, effect_Schema.Null]>;
|
|
5616
|
+
readonly externalSystemMemberId: effect_Schema.Union<readonly [effect_Schema.String, effect_Schema.Null]>;
|
|
5617
|
+
readonly cardId: effect_Schema.Union<readonly [effect_Schema.String, effect_Schema.Null]>;
|
|
5618
|
+
readonly customFields: effect_Schema.$Record<effect_Schema.String, effect_Schema.Unknown>;
|
|
5619
|
+
readonly createdAt: effect_Schema.String;
|
|
5620
|
+
readonly updatedAt: effect_Schema.String;
|
|
5621
|
+
readonly deletedAt: effect_Schema.Union<readonly [effect_Schema.String, effect_Schema.Null]>;
|
|
5622
|
+
readonly responseMode: effect_Schema.Literal<"full">;
|
|
5623
|
+
readonly sourceStatus: effect_Schema.Union<readonly [effect_Schema.String, effect_Schema.Null]>;
|
|
5624
|
+
readonly sourceStatusObservedAt: effect_Schema.Union<readonly [effect_Schema.String, effect_Schema.Null]>;
|
|
5625
|
+
readonly renewalRequired: effect_Schema.Union<readonly [effect_Schema.Boolean, effect_Schema.Null]>;
|
|
5626
|
+
readonly id: effect_Schema.String;
|
|
5627
|
+
readonly organizationId: effect_Schema.String;
|
|
5628
|
+
readonly organizationMemberSourceId: effect_Schema.Union<readonly [effect_Schema.String, effect_Schema.Null]>;
|
|
5629
|
+
readonly status: effect_Schema.Literals<readonly ["active", "active-expired", "suspended", "expired", "archived"]>;
|
|
5630
|
+
readonly isSuspended: effect_Schema.Boolean;
|
|
5631
|
+
readonly recordMode: effect_Schema.Literals<readonly ["local", "source_managed"]>;
|
|
5632
|
+
readonly createdOrigin: effect_Schema.Literals<readonly ["hub_admin", "service_api", "seed", "source_sync", "source_create"]>;
|
|
5633
|
+
readonly createdOriginName: effect_Schema.Union<readonly [effect_Schema.String, effect_Schema.Null]>;
|
|
5634
|
+
readonly seedBatchId: effect_Schema.Union<readonly [effect_Schema.String, effect_Schema.Null]>;
|
|
5635
|
+
readonly archivedAt: effect_Schema.Union<readonly [effect_Schema.String, effect_Schema.Null]>;
|
|
5636
|
+
readonly joinedAt: effect_Schema.Union<readonly [effect_Schema.String, effect_Schema.Null]>;
|
|
5637
|
+
readonly sourceUpdatedAt: effect_Schema.Union<readonly [effect_Schema.String, effect_Schema.Null]>;
|
|
5638
|
+
}>, effect_Schema.Struct<{
|
|
5639
|
+
readonly displayName: effect_Schema.String;
|
|
5640
|
+
readonly dob: effect_Schema.Union<readonly [effect_Schema.String, effect_Schema.Null]>;
|
|
5641
|
+
readonly email: effect_Schema.Union<readonly [effect_Schema.String, effect_Schema.Null]>;
|
|
5642
|
+
readonly preferredContactMethod: effect_Schema.Union<readonly [effect_Schema.Literals<readonly ["sms", "email"]>, effect_Schema.Null]>;
|
|
5643
|
+
readonly occupation: effect_Schema.Union<readonly [effect_Schema.String, effect_Schema.Null]>;
|
|
5644
|
+
readonly joinedAt: effect_Schema.Union<readonly [effect_Schema.String, effect_Schema.Null]>;
|
|
5645
|
+
readonly address: effect_Schema.Union<readonly [effect_Schema.String, effect_Schema.Null]>;
|
|
5646
|
+
readonly addressParts: effect_Schema.Union<readonly [effect_Schema.Struct<{
|
|
5647
|
+
readonly line1: effect_Schema.Union<readonly [effect_Schema.String, effect_Schema.Null]>;
|
|
5648
|
+
readonly line2: effect_Schema.Union<readonly [effect_Schema.String, effect_Schema.Null]>;
|
|
5649
|
+
readonly suburb: effect_Schema.Union<readonly [effect_Schema.String, effect_Schema.Null]>;
|
|
5650
|
+
readonly state: effect_Schema.Union<readonly [effect_Schema.String, effect_Schema.Null]>;
|
|
5651
|
+
readonly postalCode: effect_Schema.Union<readonly [effect_Schema.String, effect_Schema.Null]>;
|
|
5652
|
+
readonly country: effect_Schema.Union<readonly [effect_Schema.String, effect_Schema.Null]>;
|
|
5653
|
+
}>, effect_Schema.Null]>;
|
|
5654
|
+
readonly membershipType: effect_Schema.Union<readonly [effect_Schema.String, effect_Schema.Null]>;
|
|
5655
|
+
readonly membershipTypeId: effect_Schema.Union<readonly [effect_Schema.String, effect_Schema.Null]>;
|
|
5656
|
+
readonly ratingGrade: effect_Schema.Union<readonly [effect_Schema.String, effect_Schema.Null]>;
|
|
5657
|
+
readonly ratingGradeId: effect_Schema.Union<readonly [effect_Schema.String, effect_Schema.Null]>;
|
|
5658
|
+
readonly statusCredits: effect_Schema.Number;
|
|
5659
|
+
readonly memberNumber: effect_Schema.Union<readonly [effect_Schema.String, effect_Schema.Null]>;
|
|
5660
|
+
readonly externalSystemMemberId: effect_Schema.Union<readonly [effect_Schema.String, effect_Schema.Null]>;
|
|
5661
|
+
readonly cardId: effect_Schema.Union<readonly [effect_Schema.String, effect_Schema.Null]>;
|
|
5662
|
+
readonly customFields: effect_Schema.$Record<effect_Schema.String, effect_Schema.Unknown>;
|
|
5663
|
+
readonly updatedAt: effect_Schema.String;
|
|
5664
|
+
readonly responseMode: effect_Schema.Literal<"med">;
|
|
5665
|
+
readonly sourceStatus: effect_Schema.Union<readonly [effect_Schema.String, effect_Schema.Null]>;
|
|
5666
|
+
readonly sourceStatusObservedAt: effect_Schema.Union<readonly [effect_Schema.String, effect_Schema.Null]>;
|
|
5667
|
+
readonly renewalRequired: effect_Schema.Union<readonly [effect_Schema.Boolean, effect_Schema.Null]>;
|
|
5668
|
+
readonly id: effect_Schema.String;
|
|
5669
|
+
readonly organizationId: effect_Schema.String;
|
|
5670
|
+
readonly status: effect_Schema.Literals<readonly ["active", "active-expired", "suspended", "expired", "archived"]>;
|
|
5671
|
+
readonly isSuspended: effect_Schema.Boolean;
|
|
5672
|
+
}>, effect_Schema.Struct<{
|
|
5673
|
+
readonly responseMode: effect_Schema.Literal<"basic">;
|
|
5674
|
+
readonly statusCredits: effect_Schema.Number;
|
|
5675
|
+
readonly memberNumber: effect_Schema.Union<readonly [effect_Schema.String, effect_Schema.Null]>;
|
|
5676
|
+
readonly sourceStatus: effect_Schema.Union<readonly [effect_Schema.String, effect_Schema.Null]>;
|
|
5677
|
+
readonly sourceStatusObservedAt: effect_Schema.Union<readonly [effect_Schema.String, effect_Schema.Null]>;
|
|
5678
|
+
readonly renewalRequired: effect_Schema.Union<readonly [effect_Schema.Boolean, effect_Schema.Null]>;
|
|
5679
|
+
readonly id: effect_Schema.String;
|
|
5680
|
+
readonly status: effect_Schema.Literals<readonly ["active", "active-expired", "suspended", "expired", "archived"]>;
|
|
5681
|
+
readonly displayName: effect_Schema.String;
|
|
5682
|
+
readonly dob: effect_Schema.Union<readonly [effect_Schema.String, effect_Schema.Null]>;
|
|
5683
|
+
}>]>>, effect_Schema.toCodecJson<effect_Schema.Struct<{
|
|
5684
|
+
readonly code: effect_Schema.Literal<"unauthorized">;
|
|
5685
|
+
readonly message: effect_Schema.String;
|
|
5686
|
+
}> | effect_Schema.Struct<{
|
|
5687
|
+
readonly code: effect_Schema.Literal<"forbidden">;
|
|
5688
|
+
readonly message: effect_Schema.String;
|
|
5689
|
+
}> | effect_Schema.Struct<{
|
|
5690
|
+
readonly code: effect_Schema.Literal<"not_found">;
|
|
5691
|
+
readonly message: effect_Schema.String;
|
|
5692
|
+
}> | effect_Schema.Struct<{
|
|
5693
|
+
readonly code: effect_Schema.Literal<"conflict">;
|
|
5694
|
+
readonly message: effect_Schema.String;
|
|
5695
|
+
}> | effect_Schema.Struct<{
|
|
5696
|
+
readonly code: effect_Schema.Literal<"bad_request">;
|
|
5697
|
+
readonly message: effect_Schema.String;
|
|
5698
|
+
}> | effect_Schema.Struct<{
|
|
5699
|
+
readonly code: effect_Schema.Literal<"internal_error">;
|
|
5700
|
+
readonly message: effect_Schema.String;
|
|
5491
5701
|
}>>, never, never> | effect_unstable_httpapi_HttpApiEndpoint.HttpApiEndpoint<"getOrganizationMember", "GET", "/v1/organizations/:organizationId/members/:memberId", effect_Schema.toCodecStringTree<effect_Schema.Struct<{
|
|
5492
5702
|
readonly organizationId: effect_Schema.String;
|
|
5493
5703
|
readonly memberId: effect_Schema.String;
|
|
@@ -8887,6 +9097,116 @@ declare const HubApi: HttpApi.HttpApi<"hub", HttpApiGroup.HttpApiGroup<"auth", e
|
|
|
8887
9097
|
}> | effect_Schema.Struct<{
|
|
8888
9098
|
readonly code: effect_Schema.Literal<"internal_error">;
|
|
8889
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;
|
|
8890
9210
|
}>>, never, never> | effect_unstable_httpapi_HttpApiEndpoint.HttpApiEndpoint<"createOrganizationMemberSourceCsvUpload", "POST", "/v1/organizations/:organizationId/member-source/csv-uploads", effect_Schema.toCodecStringTree<effect_Schema.Struct<{
|
|
8891
9211
|
readonly organizationId: effect_Schema.String;
|
|
8892
9212
|
}>>, never, effect_Schema.toCodecJson<effect_Schema.Struct<{
|
|
@@ -9021,6 +9341,16 @@ declare const HubApi: HttpApi.HttpApi<"hub", HttpApiGroup.HttpApiGroup<"auth", e
|
|
|
9021
9341
|
readonly cursorBefore: effect_Schema.Union<readonly [effect_Schema.$Record<effect_Schema.String, effect_Schema.Unknown>, effect_Schema.Null]>;
|
|
9022
9342
|
readonly cursorAfter: effect_Schema.Union<readonly [effect_Schema.$Record<effect_Schema.String, effect_Schema.Unknown>, effect_Schema.Null]>;
|
|
9023
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
|
+
}>>;
|
|
9024
9354
|
readonly totalRecords: effect_Schema.Number;
|
|
9025
9355
|
readonly inserted: effect_Schema.Number;
|
|
9026
9356
|
readonly updated: effect_Schema.Number;
|
|
@@ -9087,6 +9417,16 @@ declare const HubApi: HttpApi.HttpApi<"hub", HttpApiGroup.HttpApiGroup<"auth", e
|
|
|
9087
9417
|
readonly cursorBefore: effect_Schema.Union<readonly [effect_Schema.$Record<effect_Schema.String, effect_Schema.Unknown>, effect_Schema.Null]>;
|
|
9088
9418
|
readonly cursorAfter: effect_Schema.Union<readonly [effect_Schema.$Record<effect_Schema.String, effect_Schema.Unknown>, effect_Schema.Null]>;
|
|
9089
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
|
+
}>>;
|
|
9090
9430
|
readonly totalRecords: effect_Schema.Number;
|
|
9091
9431
|
readonly inserted: effect_Schema.Number;
|
|
9092
9432
|
readonly updated: effect_Schema.Number;
|
|
@@ -9475,6 +9815,16 @@ declare const HubApi: HttpApi.HttpApi<"hub", HttpApiGroup.HttpApiGroup<"auth", e
|
|
|
9475
9815
|
readonly cursorBefore: effect_Schema.Union<readonly [effect_Schema.$Record<effect_Schema.String, effect_Schema.Unknown>, effect_Schema.Null]>;
|
|
9476
9816
|
readonly cursorAfter: effect_Schema.Union<readonly [effect_Schema.$Record<effect_Schema.String, effect_Schema.Unknown>, effect_Schema.Null]>;
|
|
9477
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
|
+
}>>;
|
|
9478
9828
|
readonly totalRecords: effect_Schema.Number;
|
|
9479
9829
|
readonly inserted: effect_Schema.Number;
|
|
9480
9830
|
readonly updated: effect_Schema.Number;
|
|
@@ -9673,6 +10023,16 @@ declare const HubApi: HttpApi.HttpApi<"hub", HttpApiGroup.HttpApiGroup<"auth", e
|
|
|
9673
10023
|
readonly cursorBefore: effect_Schema.Union<readonly [effect_Schema.$Record<effect_Schema.String, effect_Schema.Unknown>, effect_Schema.Null]>;
|
|
9674
10024
|
readonly cursorAfter: effect_Schema.Union<readonly [effect_Schema.$Record<effect_Schema.String, effect_Schema.Unknown>, effect_Schema.Null]>;
|
|
9675
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
|
+
}>>;
|
|
9676
10036
|
readonly totalRecords: effect_Schema.Number;
|
|
9677
10037
|
readonly inserted: effect_Schema.Number;
|
|
9678
10038
|
readonly updated: effect_Schema.Number;
|
|
@@ -10186,6 +10546,37 @@ declare const HubApi: HttpApi.HttpApi<"hub", HttpApiGroup.HttpApiGroup<"auth", e
|
|
|
10186
10546
|
}> | effect_Schema.Struct<{
|
|
10187
10547
|
readonly code: effect_Schema.Literal<"internal_error">;
|
|
10188
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;
|
|
10189
10580
|
}>>, never, never> | effect_unstable_httpapi_HttpApiEndpoint.HttpApiEndpoint<"completeOnsiteAgentRun", "POST", "/v1/onsite-agent/runs/:runId/complete", effect_Schema.toCodecStringTree<effect_Schema.Struct<{
|
|
10190
10581
|
readonly runId: effect_Schema.String;
|
|
10191
10582
|
}>>, never, effect_Schema.toCodecJson<effect_Schema.Struct<{
|
|
@@ -10281,6 +10672,16 @@ declare const HubApi: HttpApi.HttpApi<"hub", HttpApiGroup.HttpApiGroup<"auth", e
|
|
|
10281
10672
|
readonly cursorBefore: effect_Schema.Union<readonly [effect_Schema.$Record<effect_Schema.String, effect_Schema.Unknown>, effect_Schema.Null]>;
|
|
10282
10673
|
readonly cursorAfter: effect_Schema.Union<readonly [effect_Schema.$Record<effect_Schema.String, effect_Schema.Unknown>, effect_Schema.Null]>;
|
|
10283
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
|
+
}>>;
|
|
10284
10685
|
readonly totalRecords: effect_Schema.Number;
|
|
10285
10686
|
readonly inserted: effect_Schema.Number;
|
|
10286
10687
|
readonly updated: effect_Schema.Number;
|
|
@@ -11803,6 +12204,11 @@ type OnsiteAgentCompleteCustomFieldsInput = effect_Schema.Schema.Type<typeof Ons
|
|
|
11803
12204
|
type DeletePayload = effect_Schema.Schema.Type<typeof DeletePayloadSchema>;
|
|
11804
12205
|
type OrganizationCapabilities = effect_Schema.Schema.Type<typeof OrganizationCapabilitiesSchema>;
|
|
11805
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>;
|
|
11806
12212
|
|
|
11807
12213
|
type HubApiGroups = typeof HubApi extends HttpApi.HttpApi<any, infer Groups> ? Groups : never;
|
|
11808
12214
|
type HubApiClient = HttpApiClient.Client<HubApiGroups>;
|
|
@@ -12704,6 +13110,143 @@ declare const makeHubApiClient: (options: HubApiClientOptions) => Effect.Effect<
|
|
|
12704
13110
|
readonly code: effect_Schema.Literal<"internal_error">;
|
|
12705
13111
|
readonly message: effect_Schema.String;
|
|
12706
13112
|
}>>, never, never>, never, never>;
|
|
13113
|
+
readonly getOrganizationMemberByExternalSystemId: HttpApiClient.Client.Method<effect_unstable_httpapi_HttpApiEndpoint.HttpApiEndpoint<"getOrganizationMemberByExternalSystemId", "GET", "/v1/organizations/:organizationId/members/by-external-system-id/:externalSystemMemberId", effect_Schema.toCodecStringTree<effect_Schema.Struct<{
|
|
13114
|
+
readonly organizationId: effect_Schema.String;
|
|
13115
|
+
readonly externalSystemMemberId: effect_Schema.String;
|
|
13116
|
+
}>>, effect_Schema.toCodecStringTree<effect_Schema.Struct<{
|
|
13117
|
+
readonly responseMode: effect_Schema.optional<effect_Schema.Literals<readonly ["full", "med", "basic"]>>;
|
|
13118
|
+
}>>, never, never, effect_Schema.toCodecJson<effect_Schema.Union<readonly [effect_Schema.Struct<{
|
|
13119
|
+
readonly email: effect_Schema.Union<readonly [effect_Schema.String, effect_Schema.Null]>;
|
|
13120
|
+
readonly title: effect_Schema.Union<readonly [effect_Schema.String, effect_Schema.Null]>;
|
|
13121
|
+
readonly firstName: effect_Schema.String;
|
|
13122
|
+
readonly middleName: effect_Schema.Union<readonly [effect_Schema.String, effect_Schema.Null]>;
|
|
13123
|
+
readonly lastName: effect_Schema.String;
|
|
13124
|
+
readonly displayName: effect_Schema.String;
|
|
13125
|
+
readonly dob: effect_Schema.Union<readonly [effect_Schema.String, effect_Schema.Null]>;
|
|
13126
|
+
readonly gender: effect_Schema.Union<readonly [effect_Schema.String, effect_Schema.Null]>;
|
|
13127
|
+
readonly mobilePhone: effect_Schema.Union<readonly [effect_Schema.String, effect_Schema.Null]>;
|
|
13128
|
+
readonly homePhone: effect_Schema.Union<readonly [effect_Schema.String, effect_Schema.Null]>;
|
|
13129
|
+
readonly preferredContactMethod: effect_Schema.Union<readonly [effect_Schema.Literals<readonly ["sms", "email"]>, effect_Schema.Null]>;
|
|
13130
|
+
readonly occupation: effect_Schema.Union<readonly [effect_Schema.String, effect_Schema.Null]>;
|
|
13131
|
+
readonly address: effect_Schema.Union<readonly [effect_Schema.String, effect_Schema.Null]>;
|
|
13132
|
+
readonly addressParts: effect_Schema.Union<readonly [effect_Schema.Struct<{
|
|
13133
|
+
readonly line1: effect_Schema.Union<readonly [effect_Schema.String, effect_Schema.Null]>;
|
|
13134
|
+
readonly line2: effect_Schema.Union<readonly [effect_Schema.String, effect_Schema.Null]>;
|
|
13135
|
+
readonly suburb: effect_Schema.Union<readonly [effect_Schema.String, effect_Schema.Null]>;
|
|
13136
|
+
readonly state: effect_Schema.Union<readonly [effect_Schema.String, effect_Schema.Null]>;
|
|
13137
|
+
readonly postalCode: effect_Schema.Union<readonly [effect_Schema.String, effect_Schema.Null]>;
|
|
13138
|
+
readonly country: effect_Schema.Union<readonly [effect_Schema.String, effect_Schema.Null]>;
|
|
13139
|
+
}>, effect_Schema.Null]>;
|
|
13140
|
+
readonly postalAddress: effect_Schema.Union<readonly [effect_Schema.String, effect_Schema.Null]>;
|
|
13141
|
+
readonly postalAddressParts: effect_Schema.Union<readonly [effect_Schema.Struct<{
|
|
13142
|
+
readonly line1: effect_Schema.Union<readonly [effect_Schema.String, effect_Schema.Null]>;
|
|
13143
|
+
readonly line2: effect_Schema.Union<readonly [effect_Schema.String, effect_Schema.Null]>;
|
|
13144
|
+
readonly suburb: effect_Schema.Union<readonly [effect_Schema.String, effect_Schema.Null]>;
|
|
13145
|
+
readonly state: effect_Schema.Union<readonly [effect_Schema.String, effect_Schema.Null]>;
|
|
13146
|
+
readonly postalCode: effect_Schema.Union<readonly [effect_Schema.String, effect_Schema.Null]>;
|
|
13147
|
+
readonly country: effect_Schema.Union<readonly [effect_Schema.String, effect_Schema.Null]>;
|
|
13148
|
+
}>, effect_Schema.Null]>;
|
|
13149
|
+
readonly membershipType: effect_Schema.Union<readonly [effect_Schema.String, effect_Schema.Null]>;
|
|
13150
|
+
readonly membershipTypeId: effect_Schema.Union<readonly [effect_Schema.String, effect_Schema.Null]>;
|
|
13151
|
+
readonly ratingGrade: effect_Schema.Union<readonly [effect_Schema.String, effect_Schema.Null]>;
|
|
13152
|
+
readonly ratingGradeId: effect_Schema.Union<readonly [effect_Schema.String, effect_Schema.Null]>;
|
|
13153
|
+
readonly marketingPreferences: effect_Schema.Struct<{
|
|
13154
|
+
readonly email: effect_Schema.Boolean;
|
|
13155
|
+
readonly sms: effect_Schema.Boolean;
|
|
13156
|
+
readonly post: effect_Schema.Boolean;
|
|
13157
|
+
readonly gamingEmail: effect_Schema.Boolean;
|
|
13158
|
+
readonly gamingSms: effect_Schema.Boolean;
|
|
13159
|
+
readonly gamingOptOut: effect_Schema.Boolean;
|
|
13160
|
+
}>;
|
|
13161
|
+
readonly expiresAt: effect_Schema.Union<readonly [effect_Schema.String, effect_Schema.Null]>;
|
|
13162
|
+
readonly statusCredits: effect_Schema.Number;
|
|
13163
|
+
readonly memberNumber: effect_Schema.Union<readonly [effect_Schema.String, effect_Schema.Null]>;
|
|
13164
|
+
readonly externalSystemMemberId: effect_Schema.Union<readonly [effect_Schema.String, effect_Schema.Null]>;
|
|
13165
|
+
readonly cardId: effect_Schema.Union<readonly [effect_Schema.String, effect_Schema.Null]>;
|
|
13166
|
+
readonly customFields: effect_Schema.$Record<effect_Schema.String, effect_Schema.Unknown>;
|
|
13167
|
+
readonly createdAt: effect_Schema.String;
|
|
13168
|
+
readonly updatedAt: effect_Schema.String;
|
|
13169
|
+
readonly deletedAt: effect_Schema.Union<readonly [effect_Schema.String, effect_Schema.Null]>;
|
|
13170
|
+
readonly responseMode: effect_Schema.Literal<"full">;
|
|
13171
|
+
readonly sourceStatus: effect_Schema.Union<readonly [effect_Schema.String, effect_Schema.Null]>;
|
|
13172
|
+
readonly sourceStatusObservedAt: effect_Schema.Union<readonly [effect_Schema.String, effect_Schema.Null]>;
|
|
13173
|
+
readonly renewalRequired: effect_Schema.Union<readonly [effect_Schema.Boolean, effect_Schema.Null]>;
|
|
13174
|
+
readonly id: effect_Schema.String;
|
|
13175
|
+
readonly organizationId: effect_Schema.String;
|
|
13176
|
+
readonly organizationMemberSourceId: effect_Schema.Union<readonly [effect_Schema.String, effect_Schema.Null]>;
|
|
13177
|
+
readonly status: effect_Schema.Literals<readonly ["active", "active-expired", "suspended", "expired", "archived"]>;
|
|
13178
|
+
readonly isSuspended: effect_Schema.Boolean;
|
|
13179
|
+
readonly recordMode: effect_Schema.Literals<readonly ["local", "source_managed"]>;
|
|
13180
|
+
readonly createdOrigin: effect_Schema.Literals<readonly ["hub_admin", "service_api", "seed", "source_sync", "source_create"]>;
|
|
13181
|
+
readonly createdOriginName: effect_Schema.Union<readonly [effect_Schema.String, effect_Schema.Null]>;
|
|
13182
|
+
readonly seedBatchId: effect_Schema.Union<readonly [effect_Schema.String, effect_Schema.Null]>;
|
|
13183
|
+
readonly archivedAt: effect_Schema.Union<readonly [effect_Schema.String, effect_Schema.Null]>;
|
|
13184
|
+
readonly joinedAt: effect_Schema.Union<readonly [effect_Schema.String, effect_Schema.Null]>;
|
|
13185
|
+
readonly sourceUpdatedAt: effect_Schema.Union<readonly [effect_Schema.String, effect_Schema.Null]>;
|
|
13186
|
+
}>, effect_Schema.Struct<{
|
|
13187
|
+
readonly displayName: effect_Schema.String;
|
|
13188
|
+
readonly dob: effect_Schema.Union<readonly [effect_Schema.String, effect_Schema.Null]>;
|
|
13189
|
+
readonly email: effect_Schema.Union<readonly [effect_Schema.String, effect_Schema.Null]>;
|
|
13190
|
+
readonly preferredContactMethod: effect_Schema.Union<readonly [effect_Schema.Literals<readonly ["sms", "email"]>, effect_Schema.Null]>;
|
|
13191
|
+
readonly occupation: effect_Schema.Union<readonly [effect_Schema.String, effect_Schema.Null]>;
|
|
13192
|
+
readonly joinedAt: effect_Schema.Union<readonly [effect_Schema.String, effect_Schema.Null]>;
|
|
13193
|
+
readonly address: effect_Schema.Union<readonly [effect_Schema.String, effect_Schema.Null]>;
|
|
13194
|
+
readonly addressParts: effect_Schema.Union<readonly [effect_Schema.Struct<{
|
|
13195
|
+
readonly line1: effect_Schema.Union<readonly [effect_Schema.String, effect_Schema.Null]>;
|
|
13196
|
+
readonly line2: effect_Schema.Union<readonly [effect_Schema.String, effect_Schema.Null]>;
|
|
13197
|
+
readonly suburb: effect_Schema.Union<readonly [effect_Schema.String, effect_Schema.Null]>;
|
|
13198
|
+
readonly state: effect_Schema.Union<readonly [effect_Schema.String, effect_Schema.Null]>;
|
|
13199
|
+
readonly postalCode: effect_Schema.Union<readonly [effect_Schema.String, effect_Schema.Null]>;
|
|
13200
|
+
readonly country: effect_Schema.Union<readonly [effect_Schema.String, effect_Schema.Null]>;
|
|
13201
|
+
}>, effect_Schema.Null]>;
|
|
13202
|
+
readonly membershipType: effect_Schema.Union<readonly [effect_Schema.String, effect_Schema.Null]>;
|
|
13203
|
+
readonly membershipTypeId: effect_Schema.Union<readonly [effect_Schema.String, effect_Schema.Null]>;
|
|
13204
|
+
readonly ratingGrade: effect_Schema.Union<readonly [effect_Schema.String, effect_Schema.Null]>;
|
|
13205
|
+
readonly ratingGradeId: effect_Schema.Union<readonly [effect_Schema.String, effect_Schema.Null]>;
|
|
13206
|
+
readonly statusCredits: effect_Schema.Number;
|
|
13207
|
+
readonly memberNumber: effect_Schema.Union<readonly [effect_Schema.String, effect_Schema.Null]>;
|
|
13208
|
+
readonly externalSystemMemberId: effect_Schema.Union<readonly [effect_Schema.String, effect_Schema.Null]>;
|
|
13209
|
+
readonly cardId: effect_Schema.Union<readonly [effect_Schema.String, effect_Schema.Null]>;
|
|
13210
|
+
readonly customFields: effect_Schema.$Record<effect_Schema.String, effect_Schema.Unknown>;
|
|
13211
|
+
readonly updatedAt: effect_Schema.String;
|
|
13212
|
+
readonly responseMode: effect_Schema.Literal<"med">;
|
|
13213
|
+
readonly sourceStatus: effect_Schema.Union<readonly [effect_Schema.String, effect_Schema.Null]>;
|
|
13214
|
+
readonly sourceStatusObservedAt: effect_Schema.Union<readonly [effect_Schema.String, effect_Schema.Null]>;
|
|
13215
|
+
readonly renewalRequired: effect_Schema.Union<readonly [effect_Schema.Boolean, effect_Schema.Null]>;
|
|
13216
|
+
readonly id: effect_Schema.String;
|
|
13217
|
+
readonly organizationId: effect_Schema.String;
|
|
13218
|
+
readonly status: effect_Schema.Literals<readonly ["active", "active-expired", "suspended", "expired", "archived"]>;
|
|
13219
|
+
readonly isSuspended: effect_Schema.Boolean;
|
|
13220
|
+
}>, effect_Schema.Struct<{
|
|
13221
|
+
readonly responseMode: effect_Schema.Literal<"basic">;
|
|
13222
|
+
readonly statusCredits: effect_Schema.Number;
|
|
13223
|
+
readonly memberNumber: effect_Schema.Union<readonly [effect_Schema.String, effect_Schema.Null]>;
|
|
13224
|
+
readonly sourceStatus: effect_Schema.Union<readonly [effect_Schema.String, effect_Schema.Null]>;
|
|
13225
|
+
readonly sourceStatusObservedAt: effect_Schema.Union<readonly [effect_Schema.String, effect_Schema.Null]>;
|
|
13226
|
+
readonly renewalRequired: effect_Schema.Union<readonly [effect_Schema.Boolean, effect_Schema.Null]>;
|
|
13227
|
+
readonly id: effect_Schema.String;
|
|
13228
|
+
readonly status: effect_Schema.Literals<readonly ["active", "active-expired", "suspended", "expired", "archived"]>;
|
|
13229
|
+
readonly displayName: effect_Schema.String;
|
|
13230
|
+
readonly dob: effect_Schema.Union<readonly [effect_Schema.String, effect_Schema.Null]>;
|
|
13231
|
+
}>]>>, effect_Schema.toCodecJson<effect_Schema.Struct<{
|
|
13232
|
+
readonly code: effect_Schema.Literal<"unauthorized">;
|
|
13233
|
+
readonly message: effect_Schema.String;
|
|
13234
|
+
}> | effect_Schema.Struct<{
|
|
13235
|
+
readonly code: effect_Schema.Literal<"forbidden">;
|
|
13236
|
+
readonly message: effect_Schema.String;
|
|
13237
|
+
}> | effect_Schema.Struct<{
|
|
13238
|
+
readonly code: effect_Schema.Literal<"not_found">;
|
|
13239
|
+
readonly message: effect_Schema.String;
|
|
13240
|
+
}> | effect_Schema.Struct<{
|
|
13241
|
+
readonly code: effect_Schema.Literal<"conflict">;
|
|
13242
|
+
readonly message: effect_Schema.String;
|
|
13243
|
+
}> | effect_Schema.Struct<{
|
|
13244
|
+
readonly code: effect_Schema.Literal<"bad_request">;
|
|
13245
|
+
readonly message: effect_Schema.String;
|
|
13246
|
+
}> | effect_Schema.Struct<{
|
|
13247
|
+
readonly code: effect_Schema.Literal<"internal_error">;
|
|
13248
|
+
readonly message: effect_Schema.String;
|
|
13249
|
+
}>>, never, never>, never, never>;
|
|
12707
13250
|
readonly getOrganizationMember: HttpApiClient.Client.Method<effect_unstable_httpapi_HttpApiEndpoint.HttpApiEndpoint<"getOrganizationMember", "GET", "/v1/organizations/:organizationId/members/:memberId", effect_Schema.toCodecStringTree<effect_Schema.Struct<{
|
|
12708
13251
|
readonly organizationId: effect_Schema.String;
|
|
12709
13252
|
readonly memberId: effect_Schema.String;
|
|
@@ -16167,6 +16710,120 @@ declare const makeHubApiClient: (options: HubApiClientOptions) => Effect.Effect<
|
|
|
16167
16710
|
readonly code: effect_Schema.Literal<"internal_error">;
|
|
16168
16711
|
readonly message: effect_Schema.String;
|
|
16169
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>;
|
|
16170
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<{
|
|
16171
16828
|
readonly organizationId: effect_Schema.String;
|
|
16172
16829
|
}>>, never, effect_Schema.toCodecJson<effect_Schema.Struct<{
|
|
@@ -16302,6 +16959,16 @@ declare const makeHubApiClient: (options: HubApiClientOptions) => Effect.Effect<
|
|
|
16302
16959
|
readonly cursorBefore: effect_Schema.Union<readonly [effect_Schema.$Record<effect_Schema.String, effect_Schema.Unknown>, effect_Schema.Null]>;
|
|
16303
16960
|
readonly cursorAfter: effect_Schema.Union<readonly [effect_Schema.$Record<effect_Schema.String, effect_Schema.Unknown>, effect_Schema.Null]>;
|
|
16304
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
|
+
}>>;
|
|
16305
16972
|
readonly totalRecords: effect_Schema.Number;
|
|
16306
16973
|
readonly inserted: effect_Schema.Number;
|
|
16307
16974
|
readonly updated: effect_Schema.Number;
|
|
@@ -16369,6 +17036,16 @@ declare const makeHubApiClient: (options: HubApiClientOptions) => Effect.Effect<
|
|
|
16369
17036
|
readonly cursorBefore: effect_Schema.Union<readonly [effect_Schema.$Record<effect_Schema.String, effect_Schema.Unknown>, effect_Schema.Null]>;
|
|
16370
17037
|
readonly cursorAfter: effect_Schema.Union<readonly [effect_Schema.$Record<effect_Schema.String, effect_Schema.Unknown>, effect_Schema.Null]>;
|
|
16371
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
|
+
}>>;
|
|
16372
17049
|
readonly totalRecords: effect_Schema.Number;
|
|
16373
17050
|
readonly inserted: effect_Schema.Number;
|
|
16374
17051
|
readonly updated: effect_Schema.Number;
|
|
@@ -16763,6 +17440,16 @@ declare const makeHubApiClient: (options: HubApiClientOptions) => Effect.Effect<
|
|
|
16763
17440
|
readonly cursorBefore: effect_Schema.Union<readonly [effect_Schema.$Record<effect_Schema.String, effect_Schema.Unknown>, effect_Schema.Null]>;
|
|
16764
17441
|
readonly cursorAfter: effect_Schema.Union<readonly [effect_Schema.$Record<effect_Schema.String, effect_Schema.Unknown>, effect_Schema.Null]>;
|
|
16765
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
|
+
}>>;
|
|
16766
17453
|
readonly totalRecords: effect_Schema.Number;
|
|
16767
17454
|
readonly inserted: effect_Schema.Number;
|
|
16768
17455
|
readonly updated: effect_Schema.Number;
|
|
@@ -16965,6 +17652,16 @@ declare const makeHubApiClient: (options: HubApiClientOptions) => Effect.Effect<
|
|
|
16965
17652
|
readonly cursorBefore: effect_Schema.Union<readonly [effect_Schema.$Record<effect_Schema.String, effect_Schema.Unknown>, effect_Schema.Null]>;
|
|
16966
17653
|
readonly cursorAfter: effect_Schema.Union<readonly [effect_Schema.$Record<effect_Schema.String, effect_Schema.Unknown>, effect_Schema.Null]>;
|
|
16967
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
|
+
}>>;
|
|
16968
17665
|
readonly totalRecords: effect_Schema.Number;
|
|
16969
17666
|
readonly inserted: effect_Schema.Number;
|
|
16970
17667
|
readonly updated: effect_Schema.Number;
|
|
@@ -17488,6 +18185,38 @@ declare const makeHubApiClient: (options: HubApiClientOptions) => Effect.Effect<
|
|
|
17488
18185
|
readonly code: effect_Schema.Literal<"internal_error">;
|
|
17489
18186
|
readonly message: effect_Schema.String;
|
|
17490
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>;
|
|
17491
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<{
|
|
17492
18221
|
readonly runId: effect_Schema.String;
|
|
17493
18222
|
}>>, never, effect_Schema.toCodecJson<effect_Schema.Struct<{
|
|
@@ -17583,6 +18312,16 @@ declare const makeHubApiClient: (options: HubApiClientOptions) => Effect.Effect<
|
|
|
17583
18312
|
readonly cursorBefore: effect_Schema.Union<readonly [effect_Schema.$Record<effect_Schema.String, effect_Schema.Unknown>, effect_Schema.Null]>;
|
|
17584
18313
|
readonly cursorAfter: effect_Schema.Union<readonly [effect_Schema.$Record<effect_Schema.String, effect_Schema.Unknown>, effect_Schema.Null]>;
|
|
17585
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
|
+
}>>;
|
|
17586
18325
|
readonly totalRecords: effect_Schema.Number;
|
|
17587
18326
|
readonly inserted: effect_Schema.Number;
|
|
17588
18327
|
readonly updated: effect_Schema.Number;
|
|
@@ -19810,6 +20549,143 @@ declare const makeServiceHubApiClient: (options: HubApiCredentialOptions) => Eff
|
|
|
19810
20549
|
readonly code: effect_Schema.Literal<"internal_error">;
|
|
19811
20550
|
readonly message: effect_Schema.String;
|
|
19812
20551
|
}>>, never, never>, never, never>;
|
|
20552
|
+
readonly getOrganizationMemberByExternalSystemId: HttpApiClient.Client.Method<effect_unstable_httpapi_HttpApiEndpoint.HttpApiEndpoint<"getOrganizationMemberByExternalSystemId", "GET", "/v1/organizations/:organizationId/members/by-external-system-id/:externalSystemMemberId", effect_Schema.toCodecStringTree<effect_Schema.Struct<{
|
|
20553
|
+
readonly organizationId: effect_Schema.String;
|
|
20554
|
+
readonly externalSystemMemberId: effect_Schema.String;
|
|
20555
|
+
}>>, effect_Schema.toCodecStringTree<effect_Schema.Struct<{
|
|
20556
|
+
readonly responseMode: effect_Schema.optional<effect_Schema.Literals<readonly ["full", "med", "basic"]>>;
|
|
20557
|
+
}>>, never, never, effect_Schema.toCodecJson<effect_Schema.Union<readonly [effect_Schema.Struct<{
|
|
20558
|
+
readonly email: effect_Schema.Union<readonly [effect_Schema.String, effect_Schema.Null]>;
|
|
20559
|
+
readonly title: effect_Schema.Union<readonly [effect_Schema.String, effect_Schema.Null]>;
|
|
20560
|
+
readonly firstName: effect_Schema.String;
|
|
20561
|
+
readonly middleName: effect_Schema.Union<readonly [effect_Schema.String, effect_Schema.Null]>;
|
|
20562
|
+
readonly lastName: effect_Schema.String;
|
|
20563
|
+
readonly displayName: effect_Schema.String;
|
|
20564
|
+
readonly dob: effect_Schema.Union<readonly [effect_Schema.String, effect_Schema.Null]>;
|
|
20565
|
+
readonly gender: effect_Schema.Union<readonly [effect_Schema.String, effect_Schema.Null]>;
|
|
20566
|
+
readonly mobilePhone: effect_Schema.Union<readonly [effect_Schema.String, effect_Schema.Null]>;
|
|
20567
|
+
readonly homePhone: effect_Schema.Union<readonly [effect_Schema.String, effect_Schema.Null]>;
|
|
20568
|
+
readonly preferredContactMethod: effect_Schema.Union<readonly [effect_Schema.Literals<readonly ["sms", "email"]>, effect_Schema.Null]>;
|
|
20569
|
+
readonly occupation: effect_Schema.Union<readonly [effect_Schema.String, effect_Schema.Null]>;
|
|
20570
|
+
readonly address: effect_Schema.Union<readonly [effect_Schema.String, effect_Schema.Null]>;
|
|
20571
|
+
readonly addressParts: effect_Schema.Union<readonly [effect_Schema.Struct<{
|
|
20572
|
+
readonly line1: effect_Schema.Union<readonly [effect_Schema.String, effect_Schema.Null]>;
|
|
20573
|
+
readonly line2: effect_Schema.Union<readonly [effect_Schema.String, effect_Schema.Null]>;
|
|
20574
|
+
readonly suburb: effect_Schema.Union<readonly [effect_Schema.String, effect_Schema.Null]>;
|
|
20575
|
+
readonly state: effect_Schema.Union<readonly [effect_Schema.String, effect_Schema.Null]>;
|
|
20576
|
+
readonly postalCode: effect_Schema.Union<readonly [effect_Schema.String, effect_Schema.Null]>;
|
|
20577
|
+
readonly country: effect_Schema.Union<readonly [effect_Schema.String, effect_Schema.Null]>;
|
|
20578
|
+
}>, effect_Schema.Null]>;
|
|
20579
|
+
readonly postalAddress: effect_Schema.Union<readonly [effect_Schema.String, effect_Schema.Null]>;
|
|
20580
|
+
readonly postalAddressParts: effect_Schema.Union<readonly [effect_Schema.Struct<{
|
|
20581
|
+
readonly line1: effect_Schema.Union<readonly [effect_Schema.String, effect_Schema.Null]>;
|
|
20582
|
+
readonly line2: effect_Schema.Union<readonly [effect_Schema.String, effect_Schema.Null]>;
|
|
20583
|
+
readonly suburb: effect_Schema.Union<readonly [effect_Schema.String, effect_Schema.Null]>;
|
|
20584
|
+
readonly state: effect_Schema.Union<readonly [effect_Schema.String, effect_Schema.Null]>;
|
|
20585
|
+
readonly postalCode: effect_Schema.Union<readonly [effect_Schema.String, effect_Schema.Null]>;
|
|
20586
|
+
readonly country: effect_Schema.Union<readonly [effect_Schema.String, effect_Schema.Null]>;
|
|
20587
|
+
}>, effect_Schema.Null]>;
|
|
20588
|
+
readonly membershipType: effect_Schema.Union<readonly [effect_Schema.String, effect_Schema.Null]>;
|
|
20589
|
+
readonly membershipTypeId: effect_Schema.Union<readonly [effect_Schema.String, effect_Schema.Null]>;
|
|
20590
|
+
readonly ratingGrade: effect_Schema.Union<readonly [effect_Schema.String, effect_Schema.Null]>;
|
|
20591
|
+
readonly ratingGradeId: effect_Schema.Union<readonly [effect_Schema.String, effect_Schema.Null]>;
|
|
20592
|
+
readonly marketingPreferences: effect_Schema.Struct<{
|
|
20593
|
+
readonly email: effect_Schema.Boolean;
|
|
20594
|
+
readonly sms: effect_Schema.Boolean;
|
|
20595
|
+
readonly post: effect_Schema.Boolean;
|
|
20596
|
+
readonly gamingEmail: effect_Schema.Boolean;
|
|
20597
|
+
readonly gamingSms: effect_Schema.Boolean;
|
|
20598
|
+
readonly gamingOptOut: effect_Schema.Boolean;
|
|
20599
|
+
}>;
|
|
20600
|
+
readonly expiresAt: effect_Schema.Union<readonly [effect_Schema.String, effect_Schema.Null]>;
|
|
20601
|
+
readonly statusCredits: effect_Schema.Number;
|
|
20602
|
+
readonly memberNumber: effect_Schema.Union<readonly [effect_Schema.String, effect_Schema.Null]>;
|
|
20603
|
+
readonly externalSystemMemberId: effect_Schema.Union<readonly [effect_Schema.String, effect_Schema.Null]>;
|
|
20604
|
+
readonly cardId: effect_Schema.Union<readonly [effect_Schema.String, effect_Schema.Null]>;
|
|
20605
|
+
readonly customFields: effect_Schema.$Record<effect_Schema.String, effect_Schema.Unknown>;
|
|
20606
|
+
readonly createdAt: effect_Schema.String;
|
|
20607
|
+
readonly updatedAt: effect_Schema.String;
|
|
20608
|
+
readonly deletedAt: effect_Schema.Union<readonly [effect_Schema.String, effect_Schema.Null]>;
|
|
20609
|
+
readonly responseMode: effect_Schema.Literal<"full">;
|
|
20610
|
+
readonly sourceStatus: effect_Schema.Union<readonly [effect_Schema.String, effect_Schema.Null]>;
|
|
20611
|
+
readonly sourceStatusObservedAt: effect_Schema.Union<readonly [effect_Schema.String, effect_Schema.Null]>;
|
|
20612
|
+
readonly renewalRequired: effect_Schema.Union<readonly [effect_Schema.Boolean, effect_Schema.Null]>;
|
|
20613
|
+
readonly id: effect_Schema.String;
|
|
20614
|
+
readonly organizationId: effect_Schema.String;
|
|
20615
|
+
readonly organizationMemberSourceId: effect_Schema.Union<readonly [effect_Schema.String, effect_Schema.Null]>;
|
|
20616
|
+
readonly status: effect_Schema.Literals<readonly ["active", "active-expired", "suspended", "expired", "archived"]>;
|
|
20617
|
+
readonly isSuspended: effect_Schema.Boolean;
|
|
20618
|
+
readonly recordMode: effect_Schema.Literals<readonly ["local", "source_managed"]>;
|
|
20619
|
+
readonly createdOrigin: effect_Schema.Literals<readonly ["hub_admin", "service_api", "seed", "source_sync", "source_create"]>;
|
|
20620
|
+
readonly createdOriginName: effect_Schema.Union<readonly [effect_Schema.String, effect_Schema.Null]>;
|
|
20621
|
+
readonly seedBatchId: effect_Schema.Union<readonly [effect_Schema.String, effect_Schema.Null]>;
|
|
20622
|
+
readonly archivedAt: effect_Schema.Union<readonly [effect_Schema.String, effect_Schema.Null]>;
|
|
20623
|
+
readonly joinedAt: effect_Schema.Union<readonly [effect_Schema.String, effect_Schema.Null]>;
|
|
20624
|
+
readonly sourceUpdatedAt: effect_Schema.Union<readonly [effect_Schema.String, effect_Schema.Null]>;
|
|
20625
|
+
}>, effect_Schema.Struct<{
|
|
20626
|
+
readonly displayName: effect_Schema.String;
|
|
20627
|
+
readonly dob: effect_Schema.Union<readonly [effect_Schema.String, effect_Schema.Null]>;
|
|
20628
|
+
readonly email: effect_Schema.Union<readonly [effect_Schema.String, effect_Schema.Null]>;
|
|
20629
|
+
readonly preferredContactMethod: effect_Schema.Union<readonly [effect_Schema.Literals<readonly ["sms", "email"]>, effect_Schema.Null]>;
|
|
20630
|
+
readonly occupation: effect_Schema.Union<readonly [effect_Schema.String, effect_Schema.Null]>;
|
|
20631
|
+
readonly joinedAt: effect_Schema.Union<readonly [effect_Schema.String, effect_Schema.Null]>;
|
|
20632
|
+
readonly address: effect_Schema.Union<readonly [effect_Schema.String, effect_Schema.Null]>;
|
|
20633
|
+
readonly addressParts: effect_Schema.Union<readonly [effect_Schema.Struct<{
|
|
20634
|
+
readonly line1: effect_Schema.Union<readonly [effect_Schema.String, effect_Schema.Null]>;
|
|
20635
|
+
readonly line2: effect_Schema.Union<readonly [effect_Schema.String, effect_Schema.Null]>;
|
|
20636
|
+
readonly suburb: effect_Schema.Union<readonly [effect_Schema.String, effect_Schema.Null]>;
|
|
20637
|
+
readonly state: effect_Schema.Union<readonly [effect_Schema.String, effect_Schema.Null]>;
|
|
20638
|
+
readonly postalCode: effect_Schema.Union<readonly [effect_Schema.String, effect_Schema.Null]>;
|
|
20639
|
+
readonly country: effect_Schema.Union<readonly [effect_Schema.String, effect_Schema.Null]>;
|
|
20640
|
+
}>, effect_Schema.Null]>;
|
|
20641
|
+
readonly membershipType: effect_Schema.Union<readonly [effect_Schema.String, effect_Schema.Null]>;
|
|
20642
|
+
readonly membershipTypeId: effect_Schema.Union<readonly [effect_Schema.String, effect_Schema.Null]>;
|
|
20643
|
+
readonly ratingGrade: effect_Schema.Union<readonly [effect_Schema.String, effect_Schema.Null]>;
|
|
20644
|
+
readonly ratingGradeId: effect_Schema.Union<readonly [effect_Schema.String, effect_Schema.Null]>;
|
|
20645
|
+
readonly statusCredits: effect_Schema.Number;
|
|
20646
|
+
readonly memberNumber: effect_Schema.Union<readonly [effect_Schema.String, effect_Schema.Null]>;
|
|
20647
|
+
readonly externalSystemMemberId: effect_Schema.Union<readonly [effect_Schema.String, effect_Schema.Null]>;
|
|
20648
|
+
readonly cardId: effect_Schema.Union<readonly [effect_Schema.String, effect_Schema.Null]>;
|
|
20649
|
+
readonly customFields: effect_Schema.$Record<effect_Schema.String, effect_Schema.Unknown>;
|
|
20650
|
+
readonly updatedAt: effect_Schema.String;
|
|
20651
|
+
readonly responseMode: effect_Schema.Literal<"med">;
|
|
20652
|
+
readonly sourceStatus: effect_Schema.Union<readonly [effect_Schema.String, effect_Schema.Null]>;
|
|
20653
|
+
readonly sourceStatusObservedAt: effect_Schema.Union<readonly [effect_Schema.String, effect_Schema.Null]>;
|
|
20654
|
+
readonly renewalRequired: effect_Schema.Union<readonly [effect_Schema.Boolean, effect_Schema.Null]>;
|
|
20655
|
+
readonly id: effect_Schema.String;
|
|
20656
|
+
readonly organizationId: effect_Schema.String;
|
|
20657
|
+
readonly status: effect_Schema.Literals<readonly ["active", "active-expired", "suspended", "expired", "archived"]>;
|
|
20658
|
+
readonly isSuspended: effect_Schema.Boolean;
|
|
20659
|
+
}>, effect_Schema.Struct<{
|
|
20660
|
+
readonly responseMode: effect_Schema.Literal<"basic">;
|
|
20661
|
+
readonly statusCredits: effect_Schema.Number;
|
|
20662
|
+
readonly memberNumber: effect_Schema.Union<readonly [effect_Schema.String, effect_Schema.Null]>;
|
|
20663
|
+
readonly sourceStatus: effect_Schema.Union<readonly [effect_Schema.String, effect_Schema.Null]>;
|
|
20664
|
+
readonly sourceStatusObservedAt: effect_Schema.Union<readonly [effect_Schema.String, effect_Schema.Null]>;
|
|
20665
|
+
readonly renewalRequired: effect_Schema.Union<readonly [effect_Schema.Boolean, effect_Schema.Null]>;
|
|
20666
|
+
readonly id: effect_Schema.String;
|
|
20667
|
+
readonly status: effect_Schema.Literals<readonly ["active", "active-expired", "suspended", "expired", "archived"]>;
|
|
20668
|
+
readonly displayName: effect_Schema.String;
|
|
20669
|
+
readonly dob: effect_Schema.Union<readonly [effect_Schema.String, effect_Schema.Null]>;
|
|
20670
|
+
}>]>>, effect_Schema.toCodecJson<effect_Schema.Struct<{
|
|
20671
|
+
readonly code: effect_Schema.Literal<"unauthorized">;
|
|
20672
|
+
readonly message: effect_Schema.String;
|
|
20673
|
+
}> | effect_Schema.Struct<{
|
|
20674
|
+
readonly code: effect_Schema.Literal<"forbidden">;
|
|
20675
|
+
readonly message: effect_Schema.String;
|
|
20676
|
+
}> | effect_Schema.Struct<{
|
|
20677
|
+
readonly code: effect_Schema.Literal<"not_found">;
|
|
20678
|
+
readonly message: effect_Schema.String;
|
|
20679
|
+
}> | effect_Schema.Struct<{
|
|
20680
|
+
readonly code: effect_Schema.Literal<"conflict">;
|
|
20681
|
+
readonly message: effect_Schema.String;
|
|
20682
|
+
}> | effect_Schema.Struct<{
|
|
20683
|
+
readonly code: effect_Schema.Literal<"bad_request">;
|
|
20684
|
+
readonly message: effect_Schema.String;
|
|
20685
|
+
}> | effect_Schema.Struct<{
|
|
20686
|
+
readonly code: effect_Schema.Literal<"internal_error">;
|
|
20687
|
+
readonly message: effect_Schema.String;
|
|
20688
|
+
}>>, never, never>, never, never>;
|
|
19813
20689
|
readonly getOrganizationMember: HttpApiClient.Client.Method<effect_unstable_httpapi_HttpApiEndpoint.HttpApiEndpoint<"getOrganizationMember", "GET", "/v1/organizations/:organizationId/members/:memberId", effect_Schema.toCodecStringTree<effect_Schema.Struct<{
|
|
19814
20690
|
readonly organizationId: effect_Schema.String;
|
|
19815
20691
|
readonly memberId: effect_Schema.String;
|
|
@@ -23273,6 +24149,120 @@ declare const makeServiceHubApiClient: (options: HubApiCredentialOptions) => Eff
|
|
|
23273
24149
|
readonly code: effect_Schema.Literal<"internal_error">;
|
|
23274
24150
|
readonly message: effect_Schema.String;
|
|
23275
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>;
|
|
23276
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<{
|
|
23277
24267
|
readonly organizationId: effect_Schema.String;
|
|
23278
24268
|
}>>, never, effect_Schema.toCodecJson<effect_Schema.Struct<{
|
|
@@ -23408,6 +24398,16 @@ declare const makeServiceHubApiClient: (options: HubApiCredentialOptions) => Eff
|
|
|
23408
24398
|
readonly cursorBefore: effect_Schema.Union<readonly [effect_Schema.$Record<effect_Schema.String, effect_Schema.Unknown>, effect_Schema.Null]>;
|
|
23409
24399
|
readonly cursorAfter: effect_Schema.Union<readonly [effect_Schema.$Record<effect_Schema.String, effect_Schema.Unknown>, effect_Schema.Null]>;
|
|
23410
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
|
+
}>>;
|
|
23411
24411
|
readonly totalRecords: effect_Schema.Number;
|
|
23412
24412
|
readonly inserted: effect_Schema.Number;
|
|
23413
24413
|
readonly updated: effect_Schema.Number;
|
|
@@ -23475,6 +24475,16 @@ declare const makeServiceHubApiClient: (options: HubApiCredentialOptions) => Eff
|
|
|
23475
24475
|
readonly cursorBefore: effect_Schema.Union<readonly [effect_Schema.$Record<effect_Schema.String, effect_Schema.Unknown>, effect_Schema.Null]>;
|
|
23476
24476
|
readonly cursorAfter: effect_Schema.Union<readonly [effect_Schema.$Record<effect_Schema.String, effect_Schema.Unknown>, effect_Schema.Null]>;
|
|
23477
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
|
+
}>>;
|
|
23478
24488
|
readonly totalRecords: effect_Schema.Number;
|
|
23479
24489
|
readonly inserted: effect_Schema.Number;
|
|
23480
24490
|
readonly updated: effect_Schema.Number;
|
|
@@ -23869,6 +24879,16 @@ declare const makeServiceHubApiClient: (options: HubApiCredentialOptions) => Eff
|
|
|
23869
24879
|
readonly cursorBefore: effect_Schema.Union<readonly [effect_Schema.$Record<effect_Schema.String, effect_Schema.Unknown>, effect_Schema.Null]>;
|
|
23870
24880
|
readonly cursorAfter: effect_Schema.Union<readonly [effect_Schema.$Record<effect_Schema.String, effect_Schema.Unknown>, effect_Schema.Null]>;
|
|
23871
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
|
+
}>>;
|
|
23872
24892
|
readonly totalRecords: effect_Schema.Number;
|
|
23873
24893
|
readonly inserted: effect_Schema.Number;
|
|
23874
24894
|
readonly updated: effect_Schema.Number;
|
|
@@ -24071,6 +25091,16 @@ declare const makeServiceHubApiClient: (options: HubApiCredentialOptions) => Eff
|
|
|
24071
25091
|
readonly cursorBefore: effect_Schema.Union<readonly [effect_Schema.$Record<effect_Schema.String, effect_Schema.Unknown>, effect_Schema.Null]>;
|
|
24072
25092
|
readonly cursorAfter: effect_Schema.Union<readonly [effect_Schema.$Record<effect_Schema.String, effect_Schema.Unknown>, effect_Schema.Null]>;
|
|
24073
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
|
+
}>>;
|
|
24074
25104
|
readonly totalRecords: effect_Schema.Number;
|
|
24075
25105
|
readonly inserted: effect_Schema.Number;
|
|
24076
25106
|
readonly updated: effect_Schema.Number;
|
|
@@ -24594,6 +25624,38 @@ declare const makeServiceHubApiClient: (options: HubApiCredentialOptions) => Eff
|
|
|
24594
25624
|
readonly code: effect_Schema.Literal<"internal_error">;
|
|
24595
25625
|
readonly message: effect_Schema.String;
|
|
24596
25626
|
}>>, never, never>, never, never>;
|
|
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<{
|
|
25628
|
+
readonly runId: effect_Schema.String;
|
|
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;
|
|
25640
|
+
}>>, effect_Schema.toCodecJson<effect_Schema.Struct<{
|
|
25641
|
+
readonly code: effect_Schema.Literal<"unauthorized">;
|
|
25642
|
+
readonly message: effect_Schema.String;
|
|
25643
|
+
}> | effect_Schema.Struct<{
|
|
25644
|
+
readonly code: effect_Schema.Literal<"forbidden">;
|
|
25645
|
+
readonly message: effect_Schema.String;
|
|
25646
|
+
}> | effect_Schema.Struct<{
|
|
25647
|
+
readonly code: effect_Schema.Literal<"not_found">;
|
|
25648
|
+
readonly message: effect_Schema.String;
|
|
25649
|
+
}> | effect_Schema.Struct<{
|
|
25650
|
+
readonly code: effect_Schema.Literal<"conflict">;
|
|
25651
|
+
readonly message: effect_Schema.String;
|
|
25652
|
+
}> | effect_Schema.Struct<{
|
|
25653
|
+
readonly code: effect_Schema.Literal<"bad_request">;
|
|
25654
|
+
readonly message: effect_Schema.String;
|
|
25655
|
+
}> | effect_Schema.Struct<{
|
|
25656
|
+
readonly code: effect_Schema.Literal<"internal_error">;
|
|
25657
|
+
readonly message: effect_Schema.String;
|
|
25658
|
+
}>>, never, never>, never, never>;
|
|
24597
25659
|
readonly completeOnsiteAgentRun: HttpApiClient.Client.Method<effect_unstable_httpapi_HttpApiEndpoint.HttpApiEndpoint<"completeOnsiteAgentRun", "POST", "/v1/onsite-agent/runs/:runId/complete", effect_Schema.toCodecStringTree<effect_Schema.Struct<{
|
|
24598
25660
|
readonly runId: effect_Schema.String;
|
|
24599
25661
|
}>>, never, effect_Schema.toCodecJson<effect_Schema.Struct<{
|
|
@@ -24689,6 +25751,16 @@ declare const makeServiceHubApiClient: (options: HubApiCredentialOptions) => Eff
|
|
|
24689
25751
|
readonly cursorBefore: effect_Schema.Union<readonly [effect_Schema.$Record<effect_Schema.String, effect_Schema.Unknown>, effect_Schema.Null]>;
|
|
24690
25752
|
readonly cursorAfter: effect_Schema.Union<readonly [effect_Schema.$Record<effect_Schema.String, effect_Schema.Unknown>, effect_Schema.Null]>;
|
|
24691
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
|
+
}>>;
|
|
24692
25764
|
readonly totalRecords: effect_Schema.Number;
|
|
24693
25765
|
readonly inserted: effect_Schema.Number;
|
|
24694
25766
|
readonly updated: effect_Schema.Number;
|
|
@@ -26918,6 +27990,143 @@ declare const makePromiseServiceHubApiClient: (options: HubApiCredentialOptions)
|
|
|
26918
27990
|
readonly code: effect_Schema.Literal<"internal_error">;
|
|
26919
27991
|
readonly message: effect_Schema.String;
|
|
26920
27992
|
}>>, never, never>, never, never>;
|
|
27993
|
+
readonly getOrganizationMemberByExternalSystemId: HttpApiClient.Client.Method<effect_unstable_httpapi_HttpApiEndpoint.HttpApiEndpoint<"getOrganizationMemberByExternalSystemId", "GET", "/v1/organizations/:organizationId/members/by-external-system-id/:externalSystemMemberId", effect_Schema.toCodecStringTree<effect_Schema.Struct<{
|
|
27994
|
+
readonly organizationId: effect_Schema.String;
|
|
27995
|
+
readonly externalSystemMemberId: effect_Schema.String;
|
|
27996
|
+
}>>, effect_Schema.toCodecStringTree<effect_Schema.Struct<{
|
|
27997
|
+
readonly responseMode: effect_Schema.optional<effect_Schema.Literals<readonly ["full", "med", "basic"]>>;
|
|
27998
|
+
}>>, never, never, effect_Schema.toCodecJson<effect_Schema.Union<readonly [effect_Schema.Struct<{
|
|
27999
|
+
readonly email: effect_Schema.Union<readonly [effect_Schema.String, effect_Schema.Null]>;
|
|
28000
|
+
readonly title: effect_Schema.Union<readonly [effect_Schema.String, effect_Schema.Null]>;
|
|
28001
|
+
readonly firstName: effect_Schema.String;
|
|
28002
|
+
readonly middleName: effect_Schema.Union<readonly [effect_Schema.String, effect_Schema.Null]>;
|
|
28003
|
+
readonly lastName: effect_Schema.String;
|
|
28004
|
+
readonly displayName: effect_Schema.String;
|
|
28005
|
+
readonly dob: effect_Schema.Union<readonly [effect_Schema.String, effect_Schema.Null]>;
|
|
28006
|
+
readonly gender: effect_Schema.Union<readonly [effect_Schema.String, effect_Schema.Null]>;
|
|
28007
|
+
readonly mobilePhone: effect_Schema.Union<readonly [effect_Schema.String, effect_Schema.Null]>;
|
|
28008
|
+
readonly homePhone: effect_Schema.Union<readonly [effect_Schema.String, effect_Schema.Null]>;
|
|
28009
|
+
readonly preferredContactMethod: effect_Schema.Union<readonly [effect_Schema.Literals<readonly ["sms", "email"]>, effect_Schema.Null]>;
|
|
28010
|
+
readonly occupation: effect_Schema.Union<readonly [effect_Schema.String, effect_Schema.Null]>;
|
|
28011
|
+
readonly address: effect_Schema.Union<readonly [effect_Schema.String, effect_Schema.Null]>;
|
|
28012
|
+
readonly addressParts: effect_Schema.Union<readonly [effect_Schema.Struct<{
|
|
28013
|
+
readonly line1: effect_Schema.Union<readonly [effect_Schema.String, effect_Schema.Null]>;
|
|
28014
|
+
readonly line2: effect_Schema.Union<readonly [effect_Schema.String, effect_Schema.Null]>;
|
|
28015
|
+
readonly suburb: effect_Schema.Union<readonly [effect_Schema.String, effect_Schema.Null]>;
|
|
28016
|
+
readonly state: effect_Schema.Union<readonly [effect_Schema.String, effect_Schema.Null]>;
|
|
28017
|
+
readonly postalCode: effect_Schema.Union<readonly [effect_Schema.String, effect_Schema.Null]>;
|
|
28018
|
+
readonly country: effect_Schema.Union<readonly [effect_Schema.String, effect_Schema.Null]>;
|
|
28019
|
+
}>, effect_Schema.Null]>;
|
|
28020
|
+
readonly postalAddress: effect_Schema.Union<readonly [effect_Schema.String, effect_Schema.Null]>;
|
|
28021
|
+
readonly postalAddressParts: effect_Schema.Union<readonly [effect_Schema.Struct<{
|
|
28022
|
+
readonly line1: effect_Schema.Union<readonly [effect_Schema.String, effect_Schema.Null]>;
|
|
28023
|
+
readonly line2: effect_Schema.Union<readonly [effect_Schema.String, effect_Schema.Null]>;
|
|
28024
|
+
readonly suburb: effect_Schema.Union<readonly [effect_Schema.String, effect_Schema.Null]>;
|
|
28025
|
+
readonly state: effect_Schema.Union<readonly [effect_Schema.String, effect_Schema.Null]>;
|
|
28026
|
+
readonly postalCode: effect_Schema.Union<readonly [effect_Schema.String, effect_Schema.Null]>;
|
|
28027
|
+
readonly country: effect_Schema.Union<readonly [effect_Schema.String, effect_Schema.Null]>;
|
|
28028
|
+
}>, effect_Schema.Null]>;
|
|
28029
|
+
readonly membershipType: effect_Schema.Union<readonly [effect_Schema.String, effect_Schema.Null]>;
|
|
28030
|
+
readonly membershipTypeId: effect_Schema.Union<readonly [effect_Schema.String, effect_Schema.Null]>;
|
|
28031
|
+
readonly ratingGrade: effect_Schema.Union<readonly [effect_Schema.String, effect_Schema.Null]>;
|
|
28032
|
+
readonly ratingGradeId: effect_Schema.Union<readonly [effect_Schema.String, effect_Schema.Null]>;
|
|
28033
|
+
readonly marketingPreferences: effect_Schema.Struct<{
|
|
28034
|
+
readonly email: effect_Schema.Boolean;
|
|
28035
|
+
readonly sms: effect_Schema.Boolean;
|
|
28036
|
+
readonly post: effect_Schema.Boolean;
|
|
28037
|
+
readonly gamingEmail: effect_Schema.Boolean;
|
|
28038
|
+
readonly gamingSms: effect_Schema.Boolean;
|
|
28039
|
+
readonly gamingOptOut: effect_Schema.Boolean;
|
|
28040
|
+
}>;
|
|
28041
|
+
readonly expiresAt: effect_Schema.Union<readonly [effect_Schema.String, effect_Schema.Null]>;
|
|
28042
|
+
readonly statusCredits: effect_Schema.Number;
|
|
28043
|
+
readonly memberNumber: effect_Schema.Union<readonly [effect_Schema.String, effect_Schema.Null]>;
|
|
28044
|
+
readonly externalSystemMemberId: effect_Schema.Union<readonly [effect_Schema.String, effect_Schema.Null]>;
|
|
28045
|
+
readonly cardId: effect_Schema.Union<readonly [effect_Schema.String, effect_Schema.Null]>;
|
|
28046
|
+
readonly customFields: effect_Schema.$Record<effect_Schema.String, effect_Schema.Unknown>;
|
|
28047
|
+
readonly createdAt: effect_Schema.String;
|
|
28048
|
+
readonly updatedAt: effect_Schema.String;
|
|
28049
|
+
readonly deletedAt: effect_Schema.Union<readonly [effect_Schema.String, effect_Schema.Null]>;
|
|
28050
|
+
readonly responseMode: effect_Schema.Literal<"full">;
|
|
28051
|
+
readonly sourceStatus: effect_Schema.Union<readonly [effect_Schema.String, effect_Schema.Null]>;
|
|
28052
|
+
readonly sourceStatusObservedAt: effect_Schema.Union<readonly [effect_Schema.String, effect_Schema.Null]>;
|
|
28053
|
+
readonly renewalRequired: effect_Schema.Union<readonly [effect_Schema.Boolean, effect_Schema.Null]>;
|
|
28054
|
+
readonly id: effect_Schema.String;
|
|
28055
|
+
readonly organizationId: effect_Schema.String;
|
|
28056
|
+
readonly organizationMemberSourceId: effect_Schema.Union<readonly [effect_Schema.String, effect_Schema.Null]>;
|
|
28057
|
+
readonly status: effect_Schema.Literals<readonly ["active", "active-expired", "suspended", "expired", "archived"]>;
|
|
28058
|
+
readonly isSuspended: effect_Schema.Boolean;
|
|
28059
|
+
readonly recordMode: effect_Schema.Literals<readonly ["local", "source_managed"]>;
|
|
28060
|
+
readonly createdOrigin: effect_Schema.Literals<readonly ["hub_admin", "service_api", "seed", "source_sync", "source_create"]>;
|
|
28061
|
+
readonly createdOriginName: effect_Schema.Union<readonly [effect_Schema.String, effect_Schema.Null]>;
|
|
28062
|
+
readonly seedBatchId: effect_Schema.Union<readonly [effect_Schema.String, effect_Schema.Null]>;
|
|
28063
|
+
readonly archivedAt: effect_Schema.Union<readonly [effect_Schema.String, effect_Schema.Null]>;
|
|
28064
|
+
readonly joinedAt: effect_Schema.Union<readonly [effect_Schema.String, effect_Schema.Null]>;
|
|
28065
|
+
readonly sourceUpdatedAt: effect_Schema.Union<readonly [effect_Schema.String, effect_Schema.Null]>;
|
|
28066
|
+
}>, effect_Schema.Struct<{
|
|
28067
|
+
readonly displayName: effect_Schema.String;
|
|
28068
|
+
readonly dob: effect_Schema.Union<readonly [effect_Schema.String, effect_Schema.Null]>;
|
|
28069
|
+
readonly email: effect_Schema.Union<readonly [effect_Schema.String, effect_Schema.Null]>;
|
|
28070
|
+
readonly preferredContactMethod: effect_Schema.Union<readonly [effect_Schema.Literals<readonly ["sms", "email"]>, effect_Schema.Null]>;
|
|
28071
|
+
readonly occupation: effect_Schema.Union<readonly [effect_Schema.String, effect_Schema.Null]>;
|
|
28072
|
+
readonly joinedAt: effect_Schema.Union<readonly [effect_Schema.String, effect_Schema.Null]>;
|
|
28073
|
+
readonly address: effect_Schema.Union<readonly [effect_Schema.String, effect_Schema.Null]>;
|
|
28074
|
+
readonly addressParts: effect_Schema.Union<readonly [effect_Schema.Struct<{
|
|
28075
|
+
readonly line1: effect_Schema.Union<readonly [effect_Schema.String, effect_Schema.Null]>;
|
|
28076
|
+
readonly line2: effect_Schema.Union<readonly [effect_Schema.String, effect_Schema.Null]>;
|
|
28077
|
+
readonly suburb: effect_Schema.Union<readonly [effect_Schema.String, effect_Schema.Null]>;
|
|
28078
|
+
readonly state: effect_Schema.Union<readonly [effect_Schema.String, effect_Schema.Null]>;
|
|
28079
|
+
readonly postalCode: effect_Schema.Union<readonly [effect_Schema.String, effect_Schema.Null]>;
|
|
28080
|
+
readonly country: effect_Schema.Union<readonly [effect_Schema.String, effect_Schema.Null]>;
|
|
28081
|
+
}>, effect_Schema.Null]>;
|
|
28082
|
+
readonly membershipType: effect_Schema.Union<readonly [effect_Schema.String, effect_Schema.Null]>;
|
|
28083
|
+
readonly membershipTypeId: effect_Schema.Union<readonly [effect_Schema.String, effect_Schema.Null]>;
|
|
28084
|
+
readonly ratingGrade: effect_Schema.Union<readonly [effect_Schema.String, effect_Schema.Null]>;
|
|
28085
|
+
readonly ratingGradeId: effect_Schema.Union<readonly [effect_Schema.String, effect_Schema.Null]>;
|
|
28086
|
+
readonly statusCredits: effect_Schema.Number;
|
|
28087
|
+
readonly memberNumber: effect_Schema.Union<readonly [effect_Schema.String, effect_Schema.Null]>;
|
|
28088
|
+
readonly externalSystemMemberId: effect_Schema.Union<readonly [effect_Schema.String, effect_Schema.Null]>;
|
|
28089
|
+
readonly cardId: effect_Schema.Union<readonly [effect_Schema.String, effect_Schema.Null]>;
|
|
28090
|
+
readonly customFields: effect_Schema.$Record<effect_Schema.String, effect_Schema.Unknown>;
|
|
28091
|
+
readonly updatedAt: effect_Schema.String;
|
|
28092
|
+
readonly responseMode: effect_Schema.Literal<"med">;
|
|
28093
|
+
readonly sourceStatus: effect_Schema.Union<readonly [effect_Schema.String, effect_Schema.Null]>;
|
|
28094
|
+
readonly sourceStatusObservedAt: effect_Schema.Union<readonly [effect_Schema.String, effect_Schema.Null]>;
|
|
28095
|
+
readonly renewalRequired: effect_Schema.Union<readonly [effect_Schema.Boolean, effect_Schema.Null]>;
|
|
28096
|
+
readonly id: effect_Schema.String;
|
|
28097
|
+
readonly organizationId: effect_Schema.String;
|
|
28098
|
+
readonly status: effect_Schema.Literals<readonly ["active", "active-expired", "suspended", "expired", "archived"]>;
|
|
28099
|
+
readonly isSuspended: effect_Schema.Boolean;
|
|
28100
|
+
}>, effect_Schema.Struct<{
|
|
28101
|
+
readonly responseMode: effect_Schema.Literal<"basic">;
|
|
28102
|
+
readonly statusCredits: effect_Schema.Number;
|
|
28103
|
+
readonly memberNumber: effect_Schema.Union<readonly [effect_Schema.String, effect_Schema.Null]>;
|
|
28104
|
+
readonly sourceStatus: effect_Schema.Union<readonly [effect_Schema.String, effect_Schema.Null]>;
|
|
28105
|
+
readonly sourceStatusObservedAt: effect_Schema.Union<readonly [effect_Schema.String, effect_Schema.Null]>;
|
|
28106
|
+
readonly renewalRequired: effect_Schema.Union<readonly [effect_Schema.Boolean, effect_Schema.Null]>;
|
|
28107
|
+
readonly id: effect_Schema.String;
|
|
28108
|
+
readonly status: effect_Schema.Literals<readonly ["active", "active-expired", "suspended", "expired", "archived"]>;
|
|
28109
|
+
readonly displayName: effect_Schema.String;
|
|
28110
|
+
readonly dob: effect_Schema.Union<readonly [effect_Schema.String, effect_Schema.Null]>;
|
|
28111
|
+
}>]>>, effect_Schema.toCodecJson<effect_Schema.Struct<{
|
|
28112
|
+
readonly code: effect_Schema.Literal<"unauthorized">;
|
|
28113
|
+
readonly message: effect_Schema.String;
|
|
28114
|
+
}> | effect_Schema.Struct<{
|
|
28115
|
+
readonly code: effect_Schema.Literal<"forbidden">;
|
|
28116
|
+
readonly message: effect_Schema.String;
|
|
28117
|
+
}> | effect_Schema.Struct<{
|
|
28118
|
+
readonly code: effect_Schema.Literal<"not_found">;
|
|
28119
|
+
readonly message: effect_Schema.String;
|
|
28120
|
+
}> | effect_Schema.Struct<{
|
|
28121
|
+
readonly code: effect_Schema.Literal<"conflict">;
|
|
28122
|
+
readonly message: effect_Schema.String;
|
|
28123
|
+
}> | effect_Schema.Struct<{
|
|
28124
|
+
readonly code: effect_Schema.Literal<"bad_request">;
|
|
28125
|
+
readonly message: effect_Schema.String;
|
|
28126
|
+
}> | effect_Schema.Struct<{
|
|
28127
|
+
readonly code: effect_Schema.Literal<"internal_error">;
|
|
28128
|
+
readonly message: effect_Schema.String;
|
|
28129
|
+
}>>, never, never>, never, never>;
|
|
26921
28130
|
readonly getOrganizationMember: HttpApiClient.Client.Method<effect_unstable_httpapi_HttpApiEndpoint.HttpApiEndpoint<"getOrganizationMember", "GET", "/v1/organizations/:organizationId/members/:memberId", effect_Schema.toCodecStringTree<effect_Schema.Struct<{
|
|
26922
28131
|
readonly organizationId: effect_Schema.String;
|
|
26923
28132
|
readonly memberId: effect_Schema.String;
|
|
@@ -30381,6 +31590,120 @@ declare const makePromiseServiceHubApiClient: (options: HubApiCredentialOptions)
|
|
|
30381
31590
|
readonly code: effect_Schema.Literal<"internal_error">;
|
|
30382
31591
|
readonly message: effect_Schema.String;
|
|
30383
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>;
|
|
30384
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<{
|
|
30385
31708
|
readonly organizationId: effect_Schema.String;
|
|
30386
31709
|
}>>, never, effect_Schema.toCodecJson<effect_Schema.Struct<{
|
|
@@ -30516,6 +31839,16 @@ declare const makePromiseServiceHubApiClient: (options: HubApiCredentialOptions)
|
|
|
30516
31839
|
readonly cursorBefore: effect_Schema.Union<readonly [effect_Schema.$Record<effect_Schema.String, effect_Schema.Unknown>, effect_Schema.Null]>;
|
|
30517
31840
|
readonly cursorAfter: effect_Schema.Union<readonly [effect_Schema.$Record<effect_Schema.String, effect_Schema.Unknown>, effect_Schema.Null]>;
|
|
30518
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
|
+
}>>;
|
|
30519
31852
|
readonly totalRecords: effect_Schema.Number;
|
|
30520
31853
|
readonly inserted: effect_Schema.Number;
|
|
30521
31854
|
readonly updated: effect_Schema.Number;
|
|
@@ -30583,6 +31916,16 @@ declare const makePromiseServiceHubApiClient: (options: HubApiCredentialOptions)
|
|
|
30583
31916
|
readonly cursorBefore: effect_Schema.Union<readonly [effect_Schema.$Record<effect_Schema.String, effect_Schema.Unknown>, effect_Schema.Null]>;
|
|
30584
31917
|
readonly cursorAfter: effect_Schema.Union<readonly [effect_Schema.$Record<effect_Schema.String, effect_Schema.Unknown>, effect_Schema.Null]>;
|
|
30585
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
|
+
}>>;
|
|
30586
31929
|
readonly totalRecords: effect_Schema.Number;
|
|
30587
31930
|
readonly inserted: effect_Schema.Number;
|
|
30588
31931
|
readonly updated: effect_Schema.Number;
|
|
@@ -30977,6 +32320,16 @@ declare const makePromiseServiceHubApiClient: (options: HubApiCredentialOptions)
|
|
|
30977
32320
|
readonly cursorBefore: effect_Schema.Union<readonly [effect_Schema.$Record<effect_Schema.String, effect_Schema.Unknown>, effect_Schema.Null]>;
|
|
30978
32321
|
readonly cursorAfter: effect_Schema.Union<readonly [effect_Schema.$Record<effect_Schema.String, effect_Schema.Unknown>, effect_Schema.Null]>;
|
|
30979
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
|
+
}>>;
|
|
30980
32333
|
readonly totalRecords: effect_Schema.Number;
|
|
30981
32334
|
readonly inserted: effect_Schema.Number;
|
|
30982
32335
|
readonly updated: effect_Schema.Number;
|
|
@@ -31179,6 +32532,16 @@ declare const makePromiseServiceHubApiClient: (options: HubApiCredentialOptions)
|
|
|
31179
32532
|
readonly cursorBefore: effect_Schema.Union<readonly [effect_Schema.$Record<effect_Schema.String, effect_Schema.Unknown>, effect_Schema.Null]>;
|
|
31180
32533
|
readonly cursorAfter: effect_Schema.Union<readonly [effect_Schema.$Record<effect_Schema.String, effect_Schema.Unknown>, effect_Schema.Null]>;
|
|
31181
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
|
+
}>>;
|
|
31182
32545
|
readonly totalRecords: effect_Schema.Number;
|
|
31183
32546
|
readonly inserted: effect_Schema.Number;
|
|
31184
32547
|
readonly updated: effect_Schema.Number;
|
|
@@ -31702,6 +33065,38 @@ declare const makePromiseServiceHubApiClient: (options: HubApiCredentialOptions)
|
|
|
31702
33065
|
readonly code: effect_Schema.Literal<"internal_error">;
|
|
31703
33066
|
readonly message: effect_Schema.String;
|
|
31704
33067
|
}>>, never, never>, never, never>;
|
|
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<{
|
|
33069
|
+
readonly runId: effect_Schema.String;
|
|
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;
|
|
33081
|
+
}>>, effect_Schema.toCodecJson<effect_Schema.Struct<{
|
|
33082
|
+
readonly code: effect_Schema.Literal<"unauthorized">;
|
|
33083
|
+
readonly message: effect_Schema.String;
|
|
33084
|
+
}> | effect_Schema.Struct<{
|
|
33085
|
+
readonly code: effect_Schema.Literal<"forbidden">;
|
|
33086
|
+
readonly message: effect_Schema.String;
|
|
33087
|
+
}> | effect_Schema.Struct<{
|
|
33088
|
+
readonly code: effect_Schema.Literal<"not_found">;
|
|
33089
|
+
readonly message: effect_Schema.String;
|
|
33090
|
+
}> | effect_Schema.Struct<{
|
|
33091
|
+
readonly code: effect_Schema.Literal<"conflict">;
|
|
33092
|
+
readonly message: effect_Schema.String;
|
|
33093
|
+
}> | effect_Schema.Struct<{
|
|
33094
|
+
readonly code: effect_Schema.Literal<"bad_request">;
|
|
33095
|
+
readonly message: effect_Schema.String;
|
|
33096
|
+
}> | effect_Schema.Struct<{
|
|
33097
|
+
readonly code: effect_Schema.Literal<"internal_error">;
|
|
33098
|
+
readonly message: effect_Schema.String;
|
|
33099
|
+
}>>, never, never>, never, never>;
|
|
31705
33100
|
readonly completeOnsiteAgentRun: HttpApiClient.Client.Method<effect_unstable_httpapi_HttpApiEndpoint.HttpApiEndpoint<"completeOnsiteAgentRun", "POST", "/v1/onsite-agent/runs/:runId/complete", effect_Schema.toCodecStringTree<effect_Schema.Struct<{
|
|
31706
33101
|
readonly runId: effect_Schema.String;
|
|
31707
33102
|
}>>, never, effect_Schema.toCodecJson<effect_Schema.Struct<{
|
|
@@ -31797,6 +33192,16 @@ declare const makePromiseServiceHubApiClient: (options: HubApiCredentialOptions)
|
|
|
31797
33192
|
readonly cursorBefore: effect_Schema.Union<readonly [effect_Schema.$Record<effect_Schema.String, effect_Schema.Unknown>, effect_Schema.Null]>;
|
|
31798
33193
|
readonly cursorAfter: effect_Schema.Union<readonly [effect_Schema.$Record<effect_Schema.String, effect_Schema.Unknown>, effect_Schema.Null]>;
|
|
31799
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
|
+
}>>;
|
|
31800
33205
|
readonly totalRecords: effect_Schema.Number;
|
|
31801
33206
|
readonly inserted: effect_Schema.Number;
|
|
31802
33207
|
readonly updated: effect_Schema.Number;
|
|
@@ -34212,6 +35617,143 @@ declare const makePromiseOnsiteResourceClient: (options: HubApiCredentialOptions
|
|
|
34212
35617
|
readonly code: effect_Schema.Literal<"internal_error">;
|
|
34213
35618
|
readonly message: effect_Schema.String;
|
|
34214
35619
|
}>>, never, never>, never, never>;
|
|
35620
|
+
readonly getOrganizationMemberByExternalSystemId: HttpApiClient.Client.Method<effect_unstable_httpapi_HttpApiEndpoint.HttpApiEndpoint<"getOrganizationMemberByExternalSystemId", "GET", "/v1/organizations/:organizationId/members/by-external-system-id/:externalSystemMemberId", effect_Schema.toCodecStringTree<effect_Schema.Struct<{
|
|
35621
|
+
readonly organizationId: effect_Schema.String;
|
|
35622
|
+
readonly externalSystemMemberId: effect_Schema.String;
|
|
35623
|
+
}>>, effect_Schema.toCodecStringTree<effect_Schema.Struct<{
|
|
35624
|
+
readonly responseMode: effect_Schema.optional<effect_Schema.Literals<readonly ["full", "med", "basic"]>>;
|
|
35625
|
+
}>>, never, never, effect_Schema.toCodecJson<effect_Schema.Union<readonly [effect_Schema.Struct<{
|
|
35626
|
+
readonly email: effect_Schema.Union<readonly [effect_Schema.String, effect_Schema.Null]>;
|
|
35627
|
+
readonly title: effect_Schema.Union<readonly [effect_Schema.String, effect_Schema.Null]>;
|
|
35628
|
+
readonly firstName: effect_Schema.String;
|
|
35629
|
+
readonly middleName: effect_Schema.Union<readonly [effect_Schema.String, effect_Schema.Null]>;
|
|
35630
|
+
readonly lastName: effect_Schema.String;
|
|
35631
|
+
readonly displayName: effect_Schema.String;
|
|
35632
|
+
readonly dob: effect_Schema.Union<readonly [effect_Schema.String, effect_Schema.Null]>;
|
|
35633
|
+
readonly gender: effect_Schema.Union<readonly [effect_Schema.String, effect_Schema.Null]>;
|
|
35634
|
+
readonly mobilePhone: effect_Schema.Union<readonly [effect_Schema.String, effect_Schema.Null]>;
|
|
35635
|
+
readonly homePhone: effect_Schema.Union<readonly [effect_Schema.String, effect_Schema.Null]>;
|
|
35636
|
+
readonly preferredContactMethod: effect_Schema.Union<readonly [effect_Schema.Literals<readonly ["sms", "email"]>, effect_Schema.Null]>;
|
|
35637
|
+
readonly occupation: effect_Schema.Union<readonly [effect_Schema.String, effect_Schema.Null]>;
|
|
35638
|
+
readonly address: effect_Schema.Union<readonly [effect_Schema.String, effect_Schema.Null]>;
|
|
35639
|
+
readonly addressParts: effect_Schema.Union<readonly [effect_Schema.Struct<{
|
|
35640
|
+
readonly line1: effect_Schema.Union<readonly [effect_Schema.String, effect_Schema.Null]>;
|
|
35641
|
+
readonly line2: effect_Schema.Union<readonly [effect_Schema.String, effect_Schema.Null]>;
|
|
35642
|
+
readonly suburb: effect_Schema.Union<readonly [effect_Schema.String, effect_Schema.Null]>;
|
|
35643
|
+
readonly state: effect_Schema.Union<readonly [effect_Schema.String, effect_Schema.Null]>;
|
|
35644
|
+
readonly postalCode: effect_Schema.Union<readonly [effect_Schema.String, effect_Schema.Null]>;
|
|
35645
|
+
readonly country: effect_Schema.Union<readonly [effect_Schema.String, effect_Schema.Null]>;
|
|
35646
|
+
}>, effect_Schema.Null]>;
|
|
35647
|
+
readonly postalAddress: effect_Schema.Union<readonly [effect_Schema.String, effect_Schema.Null]>;
|
|
35648
|
+
readonly postalAddressParts: effect_Schema.Union<readonly [effect_Schema.Struct<{
|
|
35649
|
+
readonly line1: effect_Schema.Union<readonly [effect_Schema.String, effect_Schema.Null]>;
|
|
35650
|
+
readonly line2: effect_Schema.Union<readonly [effect_Schema.String, effect_Schema.Null]>;
|
|
35651
|
+
readonly suburb: effect_Schema.Union<readonly [effect_Schema.String, effect_Schema.Null]>;
|
|
35652
|
+
readonly state: effect_Schema.Union<readonly [effect_Schema.String, effect_Schema.Null]>;
|
|
35653
|
+
readonly postalCode: effect_Schema.Union<readonly [effect_Schema.String, effect_Schema.Null]>;
|
|
35654
|
+
readonly country: effect_Schema.Union<readonly [effect_Schema.String, effect_Schema.Null]>;
|
|
35655
|
+
}>, effect_Schema.Null]>;
|
|
35656
|
+
readonly membershipType: effect_Schema.Union<readonly [effect_Schema.String, effect_Schema.Null]>;
|
|
35657
|
+
readonly membershipTypeId: effect_Schema.Union<readonly [effect_Schema.String, effect_Schema.Null]>;
|
|
35658
|
+
readonly ratingGrade: effect_Schema.Union<readonly [effect_Schema.String, effect_Schema.Null]>;
|
|
35659
|
+
readonly ratingGradeId: effect_Schema.Union<readonly [effect_Schema.String, effect_Schema.Null]>;
|
|
35660
|
+
readonly marketingPreferences: effect_Schema.Struct<{
|
|
35661
|
+
readonly email: effect_Schema.Boolean;
|
|
35662
|
+
readonly sms: effect_Schema.Boolean;
|
|
35663
|
+
readonly post: effect_Schema.Boolean;
|
|
35664
|
+
readonly gamingEmail: effect_Schema.Boolean;
|
|
35665
|
+
readonly gamingSms: effect_Schema.Boolean;
|
|
35666
|
+
readonly gamingOptOut: effect_Schema.Boolean;
|
|
35667
|
+
}>;
|
|
35668
|
+
readonly expiresAt: effect_Schema.Union<readonly [effect_Schema.String, effect_Schema.Null]>;
|
|
35669
|
+
readonly statusCredits: effect_Schema.Number;
|
|
35670
|
+
readonly memberNumber: effect_Schema.Union<readonly [effect_Schema.String, effect_Schema.Null]>;
|
|
35671
|
+
readonly externalSystemMemberId: effect_Schema.Union<readonly [effect_Schema.String, effect_Schema.Null]>;
|
|
35672
|
+
readonly cardId: effect_Schema.Union<readonly [effect_Schema.String, effect_Schema.Null]>;
|
|
35673
|
+
readonly customFields: effect_Schema.$Record<effect_Schema.String, effect_Schema.Unknown>;
|
|
35674
|
+
readonly createdAt: effect_Schema.String;
|
|
35675
|
+
readonly updatedAt: effect_Schema.String;
|
|
35676
|
+
readonly deletedAt: effect_Schema.Union<readonly [effect_Schema.String, effect_Schema.Null]>;
|
|
35677
|
+
readonly responseMode: effect_Schema.Literal<"full">;
|
|
35678
|
+
readonly sourceStatus: effect_Schema.Union<readonly [effect_Schema.String, effect_Schema.Null]>;
|
|
35679
|
+
readonly sourceStatusObservedAt: effect_Schema.Union<readonly [effect_Schema.String, effect_Schema.Null]>;
|
|
35680
|
+
readonly renewalRequired: effect_Schema.Union<readonly [effect_Schema.Boolean, effect_Schema.Null]>;
|
|
35681
|
+
readonly id: effect_Schema.String;
|
|
35682
|
+
readonly organizationId: effect_Schema.String;
|
|
35683
|
+
readonly organizationMemberSourceId: effect_Schema.Union<readonly [effect_Schema.String, effect_Schema.Null]>;
|
|
35684
|
+
readonly status: effect_Schema.Literals<readonly ["active", "active-expired", "suspended", "expired", "archived"]>;
|
|
35685
|
+
readonly isSuspended: effect_Schema.Boolean;
|
|
35686
|
+
readonly recordMode: effect_Schema.Literals<readonly ["local", "source_managed"]>;
|
|
35687
|
+
readonly createdOrigin: effect_Schema.Literals<readonly ["hub_admin", "service_api", "seed", "source_sync", "source_create"]>;
|
|
35688
|
+
readonly createdOriginName: effect_Schema.Union<readonly [effect_Schema.String, effect_Schema.Null]>;
|
|
35689
|
+
readonly seedBatchId: effect_Schema.Union<readonly [effect_Schema.String, effect_Schema.Null]>;
|
|
35690
|
+
readonly archivedAt: effect_Schema.Union<readonly [effect_Schema.String, effect_Schema.Null]>;
|
|
35691
|
+
readonly joinedAt: effect_Schema.Union<readonly [effect_Schema.String, effect_Schema.Null]>;
|
|
35692
|
+
readonly sourceUpdatedAt: effect_Schema.Union<readonly [effect_Schema.String, effect_Schema.Null]>;
|
|
35693
|
+
}>, effect_Schema.Struct<{
|
|
35694
|
+
readonly displayName: effect_Schema.String;
|
|
35695
|
+
readonly dob: effect_Schema.Union<readonly [effect_Schema.String, effect_Schema.Null]>;
|
|
35696
|
+
readonly email: effect_Schema.Union<readonly [effect_Schema.String, effect_Schema.Null]>;
|
|
35697
|
+
readonly preferredContactMethod: effect_Schema.Union<readonly [effect_Schema.Literals<readonly ["sms", "email"]>, effect_Schema.Null]>;
|
|
35698
|
+
readonly occupation: effect_Schema.Union<readonly [effect_Schema.String, effect_Schema.Null]>;
|
|
35699
|
+
readonly joinedAt: effect_Schema.Union<readonly [effect_Schema.String, effect_Schema.Null]>;
|
|
35700
|
+
readonly address: effect_Schema.Union<readonly [effect_Schema.String, effect_Schema.Null]>;
|
|
35701
|
+
readonly addressParts: effect_Schema.Union<readonly [effect_Schema.Struct<{
|
|
35702
|
+
readonly line1: effect_Schema.Union<readonly [effect_Schema.String, effect_Schema.Null]>;
|
|
35703
|
+
readonly line2: effect_Schema.Union<readonly [effect_Schema.String, effect_Schema.Null]>;
|
|
35704
|
+
readonly suburb: effect_Schema.Union<readonly [effect_Schema.String, effect_Schema.Null]>;
|
|
35705
|
+
readonly state: effect_Schema.Union<readonly [effect_Schema.String, effect_Schema.Null]>;
|
|
35706
|
+
readonly postalCode: effect_Schema.Union<readonly [effect_Schema.String, effect_Schema.Null]>;
|
|
35707
|
+
readonly country: effect_Schema.Union<readonly [effect_Schema.String, effect_Schema.Null]>;
|
|
35708
|
+
}>, effect_Schema.Null]>;
|
|
35709
|
+
readonly membershipType: effect_Schema.Union<readonly [effect_Schema.String, effect_Schema.Null]>;
|
|
35710
|
+
readonly membershipTypeId: effect_Schema.Union<readonly [effect_Schema.String, effect_Schema.Null]>;
|
|
35711
|
+
readonly ratingGrade: effect_Schema.Union<readonly [effect_Schema.String, effect_Schema.Null]>;
|
|
35712
|
+
readonly ratingGradeId: effect_Schema.Union<readonly [effect_Schema.String, effect_Schema.Null]>;
|
|
35713
|
+
readonly statusCredits: effect_Schema.Number;
|
|
35714
|
+
readonly memberNumber: effect_Schema.Union<readonly [effect_Schema.String, effect_Schema.Null]>;
|
|
35715
|
+
readonly externalSystemMemberId: effect_Schema.Union<readonly [effect_Schema.String, effect_Schema.Null]>;
|
|
35716
|
+
readonly cardId: effect_Schema.Union<readonly [effect_Schema.String, effect_Schema.Null]>;
|
|
35717
|
+
readonly customFields: effect_Schema.$Record<effect_Schema.String, effect_Schema.Unknown>;
|
|
35718
|
+
readonly updatedAt: effect_Schema.String;
|
|
35719
|
+
readonly responseMode: effect_Schema.Literal<"med">;
|
|
35720
|
+
readonly sourceStatus: effect_Schema.Union<readonly [effect_Schema.String, effect_Schema.Null]>;
|
|
35721
|
+
readonly sourceStatusObservedAt: effect_Schema.Union<readonly [effect_Schema.String, effect_Schema.Null]>;
|
|
35722
|
+
readonly renewalRequired: effect_Schema.Union<readonly [effect_Schema.Boolean, effect_Schema.Null]>;
|
|
35723
|
+
readonly id: effect_Schema.String;
|
|
35724
|
+
readonly organizationId: effect_Schema.String;
|
|
35725
|
+
readonly status: effect_Schema.Literals<readonly ["active", "active-expired", "suspended", "expired", "archived"]>;
|
|
35726
|
+
readonly isSuspended: effect_Schema.Boolean;
|
|
35727
|
+
}>, effect_Schema.Struct<{
|
|
35728
|
+
readonly responseMode: effect_Schema.Literal<"basic">;
|
|
35729
|
+
readonly statusCredits: effect_Schema.Number;
|
|
35730
|
+
readonly memberNumber: effect_Schema.Union<readonly [effect_Schema.String, effect_Schema.Null]>;
|
|
35731
|
+
readonly sourceStatus: effect_Schema.Union<readonly [effect_Schema.String, effect_Schema.Null]>;
|
|
35732
|
+
readonly sourceStatusObservedAt: effect_Schema.Union<readonly [effect_Schema.String, effect_Schema.Null]>;
|
|
35733
|
+
readonly renewalRequired: effect_Schema.Union<readonly [effect_Schema.Boolean, effect_Schema.Null]>;
|
|
35734
|
+
readonly id: effect_Schema.String;
|
|
35735
|
+
readonly status: effect_Schema.Literals<readonly ["active", "active-expired", "suspended", "expired", "archived"]>;
|
|
35736
|
+
readonly displayName: effect_Schema.String;
|
|
35737
|
+
readonly dob: effect_Schema.Union<readonly [effect_Schema.String, effect_Schema.Null]>;
|
|
35738
|
+
}>]>>, effect_Schema.toCodecJson<effect_Schema.Struct<{
|
|
35739
|
+
readonly code: effect_Schema.Literal<"unauthorized">;
|
|
35740
|
+
readonly message: effect_Schema.String;
|
|
35741
|
+
}> | effect_Schema.Struct<{
|
|
35742
|
+
readonly code: effect_Schema.Literal<"forbidden">;
|
|
35743
|
+
readonly message: effect_Schema.String;
|
|
35744
|
+
}> | effect_Schema.Struct<{
|
|
35745
|
+
readonly code: effect_Schema.Literal<"not_found">;
|
|
35746
|
+
readonly message: effect_Schema.String;
|
|
35747
|
+
}> | effect_Schema.Struct<{
|
|
35748
|
+
readonly code: effect_Schema.Literal<"conflict">;
|
|
35749
|
+
readonly message: effect_Schema.String;
|
|
35750
|
+
}> | effect_Schema.Struct<{
|
|
35751
|
+
readonly code: effect_Schema.Literal<"bad_request">;
|
|
35752
|
+
readonly message: effect_Schema.String;
|
|
35753
|
+
}> | effect_Schema.Struct<{
|
|
35754
|
+
readonly code: effect_Schema.Literal<"internal_error">;
|
|
35755
|
+
readonly message: effect_Schema.String;
|
|
35756
|
+
}>>, never, never>, never, never>;
|
|
34215
35757
|
readonly getOrganizationMember: HttpApiClient.Client.Method<effect_unstable_httpapi_HttpApiEndpoint.HttpApiEndpoint<"getOrganizationMember", "GET", "/v1/organizations/:organizationId/members/:memberId", effect_Schema.toCodecStringTree<effect_Schema.Struct<{
|
|
34216
35758
|
readonly organizationId: effect_Schema.String;
|
|
34217
35759
|
readonly memberId: effect_Schema.String;
|
|
@@ -37675,6 +39217,120 @@ declare const makePromiseOnsiteResourceClient: (options: HubApiCredentialOptions
|
|
|
37675
39217
|
readonly code: effect_Schema.Literal<"internal_error">;
|
|
37676
39218
|
readonly message: effect_Schema.String;
|
|
37677
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>;
|
|
37678
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<{
|
|
37679
39335
|
readonly organizationId: effect_Schema.String;
|
|
37680
39336
|
}>>, never, effect_Schema.toCodecJson<effect_Schema.Struct<{
|
|
@@ -37810,6 +39466,16 @@ declare const makePromiseOnsiteResourceClient: (options: HubApiCredentialOptions
|
|
|
37810
39466
|
readonly cursorBefore: effect_Schema.Union<readonly [effect_Schema.$Record<effect_Schema.String, effect_Schema.Unknown>, effect_Schema.Null]>;
|
|
37811
39467
|
readonly cursorAfter: effect_Schema.Union<readonly [effect_Schema.$Record<effect_Schema.String, effect_Schema.Unknown>, effect_Schema.Null]>;
|
|
37812
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
|
+
}>>;
|
|
37813
39479
|
readonly totalRecords: effect_Schema.Number;
|
|
37814
39480
|
readonly inserted: effect_Schema.Number;
|
|
37815
39481
|
readonly updated: effect_Schema.Number;
|
|
@@ -37877,6 +39543,16 @@ declare const makePromiseOnsiteResourceClient: (options: HubApiCredentialOptions
|
|
|
37877
39543
|
readonly cursorBefore: effect_Schema.Union<readonly [effect_Schema.$Record<effect_Schema.String, effect_Schema.Unknown>, effect_Schema.Null]>;
|
|
37878
39544
|
readonly cursorAfter: effect_Schema.Union<readonly [effect_Schema.$Record<effect_Schema.String, effect_Schema.Unknown>, effect_Schema.Null]>;
|
|
37879
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
|
+
}>>;
|
|
37880
39556
|
readonly totalRecords: effect_Schema.Number;
|
|
37881
39557
|
readonly inserted: effect_Schema.Number;
|
|
37882
39558
|
readonly updated: effect_Schema.Number;
|
|
@@ -38271,6 +39947,16 @@ declare const makePromiseOnsiteResourceClient: (options: HubApiCredentialOptions
|
|
|
38271
39947
|
readonly cursorBefore: effect_Schema.Union<readonly [effect_Schema.$Record<effect_Schema.String, effect_Schema.Unknown>, effect_Schema.Null]>;
|
|
38272
39948
|
readonly cursorAfter: effect_Schema.Union<readonly [effect_Schema.$Record<effect_Schema.String, effect_Schema.Unknown>, effect_Schema.Null]>;
|
|
38273
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
|
+
}>>;
|
|
38274
39960
|
readonly totalRecords: effect_Schema.Number;
|
|
38275
39961
|
readonly inserted: effect_Schema.Number;
|
|
38276
39962
|
readonly updated: effect_Schema.Number;
|
|
@@ -38473,6 +40159,16 @@ declare const makePromiseOnsiteResourceClient: (options: HubApiCredentialOptions
|
|
|
38473
40159
|
readonly cursorBefore: effect_Schema.Union<readonly [effect_Schema.$Record<effect_Schema.String, effect_Schema.Unknown>, effect_Schema.Null]>;
|
|
38474
40160
|
readonly cursorAfter: effect_Schema.Union<readonly [effect_Schema.$Record<effect_Schema.String, effect_Schema.Unknown>, effect_Schema.Null]>;
|
|
38475
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
|
+
}>>;
|
|
38476
40172
|
readonly totalRecords: effect_Schema.Number;
|
|
38477
40173
|
readonly inserted: effect_Schema.Number;
|
|
38478
40174
|
readonly updated: effect_Schema.Number;
|
|
@@ -38996,6 +40692,38 @@ declare const makePromiseOnsiteResourceClient: (options: HubApiCredentialOptions
|
|
|
38996
40692
|
readonly code: effect_Schema.Literal<"internal_error">;
|
|
38997
40693
|
readonly message: effect_Schema.String;
|
|
38998
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>;
|
|
38999
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<{
|
|
39000
40728
|
readonly runId: effect_Schema.String;
|
|
39001
40729
|
}>>, never, effect_Schema.toCodecJson<effect_Schema.Struct<{
|
|
@@ -39091,6 +40819,16 @@ declare const makePromiseOnsiteResourceClient: (options: HubApiCredentialOptions
|
|
|
39091
40819
|
readonly cursorBefore: effect_Schema.Union<readonly [effect_Schema.$Record<effect_Schema.String, effect_Schema.Unknown>, effect_Schema.Null]>;
|
|
39092
40820
|
readonly cursorAfter: effect_Schema.Union<readonly [effect_Schema.$Record<effect_Schema.String, effect_Schema.Unknown>, effect_Schema.Null]>;
|
|
39093
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
|
+
}>>;
|
|
39094
40832
|
readonly totalRecords: effect_Schema.Number;
|
|
39095
40833
|
readonly inserted: effect_Schema.Number;
|
|
39096
40834
|
readonly updated: effect_Schema.Number;
|
|
@@ -40803,6 +42541,128 @@ declare function makeSpokeClient(hubClient: PromiseHubApiClient): {
|
|
|
40803
42541
|
readonly displayName: string;
|
|
40804
42542
|
readonly dob: string | null;
|
|
40805
42543
|
}>>;
|
|
42544
|
+
readonly getByExternalSystemId: (input: {
|
|
42545
|
+
readonly organizationId: string;
|
|
42546
|
+
readonly externalSystemMemberId: string;
|
|
42547
|
+
readonly responseMode?: MemberResponseMode;
|
|
42548
|
+
}) => Promise<SpokeHubResult<{
|
|
42549
|
+
readonly email: string | null;
|
|
42550
|
+
readonly title: string | null;
|
|
42551
|
+
readonly firstName: string;
|
|
42552
|
+
readonly middleName: string | null;
|
|
42553
|
+
readonly lastName: string;
|
|
42554
|
+
readonly displayName: string;
|
|
42555
|
+
readonly dob: string | null;
|
|
42556
|
+
readonly gender: string | null;
|
|
42557
|
+
readonly mobilePhone: string | null;
|
|
42558
|
+
readonly homePhone: string | null;
|
|
42559
|
+
readonly preferredContactMethod: "sms" | "email" | null;
|
|
42560
|
+
readonly occupation: string | null;
|
|
42561
|
+
readonly address: string | null;
|
|
42562
|
+
readonly addressParts: {
|
|
42563
|
+
readonly line1: string | null;
|
|
42564
|
+
readonly line2: string | null;
|
|
42565
|
+
readonly suburb: string | null;
|
|
42566
|
+
readonly state: string | null;
|
|
42567
|
+
readonly postalCode: string | null;
|
|
42568
|
+
readonly country: string | null;
|
|
42569
|
+
} | null;
|
|
42570
|
+
readonly postalAddress: string | null;
|
|
42571
|
+
readonly postalAddressParts: {
|
|
42572
|
+
readonly line1: string | null;
|
|
42573
|
+
readonly line2: string | null;
|
|
42574
|
+
readonly suburb: string | null;
|
|
42575
|
+
readonly state: string | null;
|
|
42576
|
+
readonly postalCode: string | null;
|
|
42577
|
+
readonly country: string | null;
|
|
42578
|
+
} | null;
|
|
42579
|
+
readonly membershipType: string | null;
|
|
42580
|
+
readonly membershipTypeId: string | null;
|
|
42581
|
+
readonly ratingGrade: string | null;
|
|
42582
|
+
readonly ratingGradeId: string | null;
|
|
42583
|
+
readonly marketingPreferences: {
|
|
42584
|
+
readonly email: boolean;
|
|
42585
|
+
readonly sms: boolean;
|
|
42586
|
+
readonly post: boolean;
|
|
42587
|
+
readonly gamingEmail: boolean;
|
|
42588
|
+
readonly gamingSms: boolean;
|
|
42589
|
+
readonly gamingOptOut: boolean;
|
|
42590
|
+
};
|
|
42591
|
+
readonly expiresAt: string | null;
|
|
42592
|
+
readonly statusCredits: number;
|
|
42593
|
+
readonly memberNumber: string | null;
|
|
42594
|
+
readonly externalSystemMemberId: string | null;
|
|
42595
|
+
readonly cardId: string | null;
|
|
42596
|
+
readonly customFields: {
|
|
42597
|
+
readonly [x: string]: unknown;
|
|
42598
|
+
};
|
|
42599
|
+
readonly createdAt: string;
|
|
42600
|
+
readonly updatedAt: string;
|
|
42601
|
+
readonly deletedAt: string | null;
|
|
42602
|
+
readonly responseMode: "full";
|
|
42603
|
+
readonly sourceStatus: string | null;
|
|
42604
|
+
readonly sourceStatusObservedAt: string | null;
|
|
42605
|
+
readonly renewalRequired: boolean | null;
|
|
42606
|
+
readonly id: string;
|
|
42607
|
+
readonly organizationId: string;
|
|
42608
|
+
readonly organizationMemberSourceId: string | null;
|
|
42609
|
+
readonly status: "active" | "archived" | "active-expired" | "suspended" | "expired";
|
|
42610
|
+
readonly isSuspended: boolean;
|
|
42611
|
+
readonly recordMode: "local" | "source_managed";
|
|
42612
|
+
readonly createdOrigin: "hub_admin" | "service_api" | "seed" | "source_sync" | "source_create";
|
|
42613
|
+
readonly createdOriginName: string | null;
|
|
42614
|
+
readonly seedBatchId: string | null;
|
|
42615
|
+
readonly archivedAt: string | null;
|
|
42616
|
+
readonly joinedAt: string | null;
|
|
42617
|
+
readonly sourceUpdatedAt: string | null;
|
|
42618
|
+
} | {
|
|
42619
|
+
readonly displayName: string;
|
|
42620
|
+
readonly dob: string | null;
|
|
42621
|
+
readonly email: string | null;
|
|
42622
|
+
readonly preferredContactMethod: "sms" | "email" | null;
|
|
42623
|
+
readonly occupation: string | null;
|
|
42624
|
+
readonly joinedAt: string | null;
|
|
42625
|
+
readonly address: string | null;
|
|
42626
|
+
readonly addressParts: {
|
|
42627
|
+
readonly line1: string | null;
|
|
42628
|
+
readonly line2: string | null;
|
|
42629
|
+
readonly suburb: string | null;
|
|
42630
|
+
readonly state: string | null;
|
|
42631
|
+
readonly postalCode: string | null;
|
|
42632
|
+
readonly country: string | null;
|
|
42633
|
+
} | null;
|
|
42634
|
+
readonly membershipType: string | null;
|
|
42635
|
+
readonly membershipTypeId: string | null;
|
|
42636
|
+
readonly ratingGrade: string | null;
|
|
42637
|
+
readonly ratingGradeId: string | null;
|
|
42638
|
+
readonly statusCredits: number;
|
|
42639
|
+
readonly memberNumber: string | null;
|
|
42640
|
+
readonly externalSystemMemberId: string | null;
|
|
42641
|
+
readonly cardId: string | null;
|
|
42642
|
+
readonly customFields: {
|
|
42643
|
+
readonly [x: string]: unknown;
|
|
42644
|
+
};
|
|
42645
|
+
readonly updatedAt: string;
|
|
42646
|
+
readonly responseMode: "med";
|
|
42647
|
+
readonly sourceStatus: string | null;
|
|
42648
|
+
readonly sourceStatusObservedAt: string | null;
|
|
42649
|
+
readonly renewalRequired: boolean | null;
|
|
42650
|
+
readonly id: string;
|
|
42651
|
+
readonly organizationId: string;
|
|
42652
|
+
readonly status: "active" | "archived" | "active-expired" | "suspended" | "expired";
|
|
42653
|
+
readonly isSuspended: boolean;
|
|
42654
|
+
} | {
|
|
42655
|
+
readonly responseMode: "basic";
|
|
42656
|
+
readonly statusCredits: number;
|
|
42657
|
+
readonly memberNumber: string | null;
|
|
42658
|
+
readonly sourceStatus: string | null;
|
|
42659
|
+
readonly sourceStatusObservedAt: string | null;
|
|
42660
|
+
readonly renewalRequired: boolean | null;
|
|
42661
|
+
readonly id: string;
|
|
42662
|
+
readonly status: "active" | "archived" | "active-expired" | "suspended" | "expired";
|
|
42663
|
+
readonly displayName: string;
|
|
42664
|
+
readonly dob: string | null;
|
|
42665
|
+
}>>;
|
|
40806
42666
|
readonly bulkGet: (input: {
|
|
40807
42667
|
readonly organizationId: string;
|
|
40808
42668
|
readonly payload: BulkGetOrganizationMembersInput;
|
|
@@ -41726,6 +43586,51 @@ declare function makeSpokeClient(hubClient: PromiseHubApiClient): {
|
|
|
41726
43586
|
readonly deletedAt: string | null;
|
|
41727
43587
|
}>>;
|
|
41728
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
|
+
};
|
|
41729
43634
|
readonly csvUploads: {
|
|
41730
43635
|
readonly create: (input: {
|
|
41731
43636
|
readonly organizationId: string;
|
|
@@ -41883,12 +43788,22 @@ declare function makeSpokeClient(hubClient: PromiseHubApiClient): {
|
|
|
41883
43788
|
readonly [x: string]: unknown;
|
|
41884
43789
|
} | null;
|
|
41885
43790
|
readonly summary: {
|
|
43791
|
+
readonly archived: number;
|
|
41886
43792
|
readonly totalRecords: number;
|
|
41887
43793
|
readonly inserted: number;
|
|
41888
43794
|
readonly updated: number;
|
|
41889
|
-
readonly archived: number;
|
|
41890
43795
|
readonly skipped: number;
|
|
41891
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;
|
|
41892
43807
|
};
|
|
41893
43808
|
readonly errorMessage: string | null;
|
|
41894
43809
|
readonly errors: readonly {
|
|
@@ -41939,12 +43854,22 @@ declare function makeSpokeClient(hubClient: PromiseHubApiClient): {
|
|
|
41939
43854
|
readonly [x: string]: unknown;
|
|
41940
43855
|
} | null;
|
|
41941
43856
|
readonly summary: {
|
|
43857
|
+
readonly archived: number;
|
|
41942
43858
|
readonly totalRecords: number;
|
|
41943
43859
|
readonly inserted: number;
|
|
41944
43860
|
readonly updated: number;
|
|
41945
|
-
readonly archived: number;
|
|
41946
43861
|
readonly skipped: number;
|
|
41947
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;
|
|
41948
43873
|
};
|
|
41949
43874
|
readonly errorMessage: string | null;
|
|
41950
43875
|
readonly errors: readonly {
|
|
@@ -43725,4 +45650,4 @@ declare const makePromiseSpokeClient: (options: HubApiCredentialOptions) => Prom
|
|
|
43725
45650
|
readonly hubClient: PromiseHubApiClient;
|
|
43726
45651
|
}>;
|
|
43727
45652
|
|
|
43728
|
-
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 };
|