@spoketech/hub-client 0.4.0 → 0.6.0
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 +114 -5
- package/dist/index.d.ts +931 -25
- package/dist/index.js +225 -7
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -1622,6 +1622,11 @@ declare const MemberPointBalancesResponseSchema: Schema.Struct<{
|
|
|
1622
1622
|
declare const UpsertMemberPointBalanceSchema: Schema.Struct<{
|
|
1623
1623
|
readonly balance: Schema.Number;
|
|
1624
1624
|
}>;
|
|
1625
|
+
declare const MemberReplacementStatusSchema: Schema.Struct<{
|
|
1626
|
+
readonly replacementMemberId: Schema.String;
|
|
1627
|
+
readonly delivered: Schema.Boolean;
|
|
1628
|
+
}>;
|
|
1629
|
+
type MemberReplacementStatus = typeof MemberReplacementStatusSchema.Type;
|
|
1625
1630
|
declare const MemberSchema: Schema.Struct<{
|
|
1626
1631
|
readonly email: Schema.Union<readonly [Schema.String, Schema.Null]>;
|
|
1627
1632
|
readonly title: Schema.Union<readonly [Schema.String, Schema.Null]>;
|
|
@@ -2623,6 +2628,18 @@ declare const OrganizationMemberRatingGradeSchema: Schema.Struct<{
|
|
|
2623
2628
|
readonly ratingGrade: Schema.Union<readonly [Schema.String, Schema.Null]>;
|
|
2624
2629
|
readonly ratingGradeId: Schema.Union<readonly [Schema.String, Schema.Null]>;
|
|
2625
2630
|
}>;
|
|
2631
|
+
declare const OrganizationMemberSummarySchema: Schema.Struct<{
|
|
2632
|
+
readonly organizationId: Schema.String;
|
|
2633
|
+
readonly total: Schema.Number;
|
|
2634
|
+
readonly notArchived: Schema.Number;
|
|
2635
|
+
readonly active: Schema.Number;
|
|
2636
|
+
readonly suspended: Schema.Number;
|
|
2637
|
+
readonly expired: Schema.Number;
|
|
2638
|
+
readonly archived: Schema.Number;
|
|
2639
|
+
readonly sourceManaged: Schema.Number;
|
|
2640
|
+
readonly joinedLast30Days: Schema.Number;
|
|
2641
|
+
readonly generatedAt: Schema.String;
|
|
2642
|
+
}>;
|
|
2626
2643
|
declare const PaginatedOrganizationMemberRatingGradesSchema: Schema.Struct<{
|
|
2627
2644
|
readonly items: Schema.$Array<Schema.Struct<{
|
|
2628
2645
|
readonly ratingGrade: Schema.Union<readonly [Schema.String, Schema.Null]>;
|
|
@@ -2811,7 +2828,7 @@ declare const OrganizationMemberSourceAgentSchema: Schema.Struct<{
|
|
|
2811
2828
|
readonly lastHeartbeatAt: Schema.Union<readonly [Schema.String, Schema.Null]>;
|
|
2812
2829
|
readonly lastVersion: Schema.Union<readonly [Schema.String, Schema.Null]>;
|
|
2813
2830
|
readonly lastError: Schema.Union<readonly [Schema.String, Schema.Null]>;
|
|
2814
|
-
readonly capabilities: Schema.withConstructorDefault<Schema.withDecodingDefaultTypeKey<Schema.$Array<Schema.Literals<readonly ["ensure_active_membership"]>>, never>>;
|
|
2831
|
+
readonly capabilities: Schema.withConstructorDefault<Schema.withDecodingDefaultTypeKey<Schema.$Array<Schema.Literals<readonly ["ensure_active_membership", "ensure_active_membership_v2"]>>, never>>;
|
|
2815
2832
|
readonly metadata: Schema.$Record<Schema.String, Schema.Unknown>;
|
|
2816
2833
|
readonly createdAt: Schema.String;
|
|
2817
2834
|
readonly updatedAt: Schema.String;
|
|
@@ -2850,6 +2867,12 @@ declare const OrganizationCapabilitiesSchema: Schema.Struct<{
|
|
|
2850
2867
|
readonly enabled: Schema.Boolean;
|
|
2851
2868
|
readonly reason: Schema.Union<readonly [Schema.Literals<readonly ["not_configured", "unsupported_provider", "unsupported_transport", "source_inactive", "provider_inactive", "agent_missing", "agent_inactive", "feature_disabled", "agent_upgrade_required"]>, Schema.Null]>;
|
|
2852
2869
|
}>;
|
|
2870
|
+
/** Whether `POST /members/create-requests` is available at this venue. */
|
|
2871
|
+
readonly memberCreateRequests: Schema.Struct<{
|
|
2872
|
+
readonly supported: Schema.Boolean;
|
|
2873
|
+
readonly enabled: Schema.Boolean;
|
|
2874
|
+
readonly reason: Schema.Union<readonly [Schema.Literals<readonly ["not_configured", "unsupported_provider", "unsupported_transport", "source_inactive", "provider_inactive", "agent_missing", "agent_inactive", "feature_disabled", "agent_upgrade_required"]>, Schema.Null]>;
|
|
2875
|
+
}>;
|
|
2853
2876
|
}>;
|
|
2854
2877
|
declare const OrganizationMemberSourceSchema: Schema.Struct<{
|
|
2855
2878
|
readonly id: Schema.String;
|
|
@@ -2884,7 +2907,7 @@ declare const OrganizationMemberSourceSchema: Schema.Struct<{
|
|
|
2884
2907
|
readonly lastHeartbeatAt: Schema.Union<readonly [Schema.String, Schema.Null]>;
|
|
2885
2908
|
readonly lastVersion: Schema.Union<readonly [Schema.String, Schema.Null]>;
|
|
2886
2909
|
readonly lastError: Schema.Union<readonly [Schema.String, Schema.Null]>;
|
|
2887
|
-
readonly capabilities: Schema.withConstructorDefault<Schema.withDecodingDefaultTypeKey<Schema.$Array<Schema.Literals<readonly ["ensure_active_membership"]>>, never>>;
|
|
2910
|
+
readonly capabilities: Schema.withConstructorDefault<Schema.withDecodingDefaultTypeKey<Schema.$Array<Schema.Literals<readonly ["ensure_active_membership", "ensure_active_membership_v2"]>>, never>>;
|
|
2888
2911
|
readonly metadata: Schema.$Record<Schema.String, Schema.Unknown>;
|
|
2889
2912
|
readonly createdAt: Schema.String;
|
|
2890
2913
|
readonly updatedAt: Schema.String;
|
|
@@ -3099,7 +3122,7 @@ declare const OrganizationMemberSourceCommandSchema: Schema.Struct<{
|
|
|
3099
3122
|
}>;
|
|
3100
3123
|
declare const EnsureActiveMembershipSuccessOutcomeSchema: Schema.Literals<readonly ["created", "matched_active", "renewed_existing"]>;
|
|
3101
3124
|
declare const EnsureActiveMembershipNonSuccessOutcomeSchema: Schema.Literals<readonly ["ambiguous_identity_match", "unsupported_source_status", "indeterminate_membership_expiry", "manual_review_required", "failed"]>;
|
|
3102
|
-
declare const EnsureActiveMembershipOutcomeSchema: Schema.Literals<readonly ["created", "matched_active", "renewed_existing", "ambiguous_identity_match", "unsupported_source_status", "indeterminate_membership_expiry", "manual_review_required", "failed"]>;
|
|
3125
|
+
declare const EnsureActiveMembershipOutcomeSchema: Schema.Literals<readonly ["created", "matched_active", "renewed_existing", "renewal_required", "ambiguous_identity_match", "unsupported_source_status", "indeterminate_membership_expiry", "manual_review_required", "failed"]>;
|
|
3103
3126
|
declare const EnsureActiveMembershipSuccessResultSchema: Schema.Struct<{
|
|
3104
3127
|
readonly outcome: Schema.Literals<readonly ["created", "matched_active", "renewed_existing"]>;
|
|
3105
3128
|
readonly memberId: Schema.String;
|
|
@@ -3110,12 +3133,29 @@ declare const EnsureActiveMembershipSuccessResultSchema: Schema.Struct<{
|
|
|
3110
3133
|
declare const EnsureActiveMembershipNonSuccessResultSchema: Schema.Struct<{
|
|
3111
3134
|
readonly outcome: Schema.Literals<readonly ["ambiguous_identity_match", "unsupported_source_status", "indeterminate_membership_expiry", "manual_review_required", "failed"]>;
|
|
3112
3135
|
}>;
|
|
3136
|
+
/**
|
|
3137
|
+
* The verified existing membership has passed its paid-until date and the request did not
|
|
3138
|
+
* authorize renewal. No rate, profile, preference, or renewal write was applied.
|
|
3139
|
+
*/
|
|
3140
|
+
declare const EnsureActiveMembershipRenewalRequiredResultSchema: Schema.Struct<{
|
|
3141
|
+
readonly outcome: Schema.Literal<"renewal_required">;
|
|
3142
|
+
readonly memberId: Schema.String;
|
|
3143
|
+
readonly sourceStatus: Schema.Literal<"ACTIVE">;
|
|
3144
|
+
readonly membershipTypeId: Schema.String;
|
|
3145
|
+
readonly membershipExpiry: Schema.String;
|
|
3146
|
+
}>;
|
|
3113
3147
|
declare const EnsureActiveMembershipResultSchema: Schema.Union<readonly [Schema.Struct<{
|
|
3114
3148
|
readonly outcome: Schema.Literals<readonly ["created", "matched_active", "renewed_existing"]>;
|
|
3115
3149
|
readonly memberId: Schema.String;
|
|
3116
3150
|
readonly sourceStatus: Schema.Literal<"ACTIVE">;
|
|
3117
3151
|
readonly membershipTypeId: Schema.String;
|
|
3118
3152
|
readonly membershipExpiry: Schema.String;
|
|
3153
|
+
}>, Schema.Struct<{
|
|
3154
|
+
readonly outcome: Schema.Literal<"renewal_required">;
|
|
3155
|
+
readonly memberId: Schema.String;
|
|
3156
|
+
readonly sourceStatus: Schema.Literal<"ACTIVE">;
|
|
3157
|
+
readonly membershipTypeId: Schema.String;
|
|
3158
|
+
readonly membershipExpiry: Schema.String;
|
|
3119
3159
|
}>, Schema.Struct<{
|
|
3120
3160
|
readonly outcome: Schema.Literals<readonly ["ambiguous_identity_match", "unsupported_source_status", "indeterminate_membership_expiry", "manual_review_required", "failed"]>;
|
|
3121
3161
|
}>]>;
|
|
@@ -3624,7 +3664,7 @@ declare const BootstrapOrganizationMemberSourceAgentResponseSchema: Schema.Struc
|
|
|
3624
3664
|
readonly lastHeartbeatAt: Schema.Union<readonly [Schema.String, Schema.Null]>;
|
|
3625
3665
|
readonly lastVersion: Schema.Union<readonly [Schema.String, Schema.Null]>;
|
|
3626
3666
|
readonly lastError: Schema.Union<readonly [Schema.String, Schema.Null]>;
|
|
3627
|
-
readonly capabilities: Schema.withConstructorDefault<Schema.withDecodingDefaultTypeKey<Schema.$Array<Schema.Literals<readonly ["ensure_active_membership"]>>, never>>;
|
|
3667
|
+
readonly capabilities: Schema.withConstructorDefault<Schema.withDecodingDefaultTypeKey<Schema.$Array<Schema.Literals<readonly ["ensure_active_membership", "ensure_active_membership_v2"]>>, never>>;
|
|
3628
3668
|
readonly metadata: Schema.$Record<Schema.String, Schema.Unknown>;
|
|
3629
3669
|
readonly createdAt: Schema.String;
|
|
3630
3670
|
readonly updatedAt: Schema.String;
|
|
@@ -3663,6 +3703,7 @@ declare const UpsertOrganizationMemberSourceWebhookSchema: Schema.Struct<{
|
|
|
3663
3703
|
declare const TriggerOrganizationMemberSyncSchema: Schema.Struct<{
|
|
3664
3704
|
readonly mode: Schema.optional<Schema.Literals<readonly ["full_snapshot", "delta"]>>;
|
|
3665
3705
|
readonly inputReference: Schema.optional<Schema.Union<readonly [Schema.String, Schema.Null]>>;
|
|
3706
|
+
readonly updatedAfter: Schema.optional<Schema.Union<readonly [Schema.String, Schema.Null]>>;
|
|
3666
3707
|
}>;
|
|
3667
3708
|
declare const RequestSourceManagedMemberCreateSchema: Schema.Struct<{
|
|
3668
3709
|
readonly gamingPermissions: Schema.optional<Schema.Struct<{
|
|
@@ -3759,7 +3800,15 @@ declare const EnsureActiveMembershipMemberSchema: Schema.Struct<{
|
|
|
3759
3800
|
readonly isGamingPromotionsEnabled: Schema.optional<Schema.Boolean>;
|
|
3760
3801
|
}>>;
|
|
3761
3802
|
}>;
|
|
3803
|
+
/**
|
|
3804
|
+
* Version 2 commands come from the member create request. They require an agent that
|
|
3805
|
+
* advertises `ensure_active_membership_v2` and renew an expired match only when
|
|
3806
|
+
* `allowRenewalOnDuplicate` is true. Commands without a version keep version 1 semantics.
|
|
3807
|
+
*/
|
|
3808
|
+
declare const EnsureActiveMembershipContractVersionSchema: Schema.Literal<2>;
|
|
3762
3809
|
declare const EnsureActiveMembershipCommandPayloadSchema: Schema.Struct<{
|
|
3810
|
+
readonly contractVersion: Schema.optional<Schema.Literal<2>>;
|
|
3811
|
+
readonly allowRenewalOnDuplicate: Schema.optional<Schema.Boolean>;
|
|
3763
3812
|
readonly idempotencyKey: Schema.String;
|
|
3764
3813
|
readonly member: Schema.Struct<{
|
|
3765
3814
|
readonly email: Schema.optional<Schema.Union<readonly [Schema.String, Schema.Null]>>;
|
|
@@ -3923,6 +3972,54 @@ declare const RequestEnsureActiveMembershipSchema: Schema.Struct<{
|
|
|
3923
3972
|
}>>;
|
|
3924
3973
|
}>;
|
|
3925
3974
|
}>;
|
|
3975
|
+
declare const RequestMemberCreationSchema: Schema.Struct<{
|
|
3976
|
+
readonly idempotencyKey: Schema.String;
|
|
3977
|
+
readonly waitMs: Schema.optional<Schema.Number>;
|
|
3978
|
+
readonly allowRenewalOnDuplicate: Schema.optional<Schema.Boolean>;
|
|
3979
|
+
readonly member: Schema.Struct<{
|
|
3980
|
+
readonly email: Schema.optional<Schema.Union<readonly [Schema.String, Schema.Null]>>;
|
|
3981
|
+
readonly title: Schema.optional<Schema.Union<readonly [Schema.String, Schema.Null]>>;
|
|
3982
|
+
readonly firstName: Schema.String;
|
|
3983
|
+
readonly middleName: Schema.optional<Schema.Union<readonly [Schema.String, Schema.Null]>>;
|
|
3984
|
+
readonly lastName: Schema.String;
|
|
3985
|
+
readonly dob: Schema.String;
|
|
3986
|
+
readonly gender: Schema.optional<Schema.Union<readonly [Schema.String, Schema.Null]>>;
|
|
3987
|
+
readonly mobilePhone: Schema.optional<Schema.Union<readonly [Schema.String, Schema.Null]>>;
|
|
3988
|
+
readonly homePhone: Schema.optional<Schema.Union<readonly [Schema.String, Schema.Null]>>;
|
|
3989
|
+
readonly preferredContactMethod: Schema.optional<Schema.Union<readonly [Schema.Literals<readonly ["sms", "email"]>, Schema.Null]>>;
|
|
3990
|
+
readonly occupation: Schema.optional<Schema.Union<readonly [Schema.String, Schema.Null]>>;
|
|
3991
|
+
readonly address: Schema.optional<Schema.Union<readonly [Schema.Struct<{
|
|
3992
|
+
readonly line1: Schema.optional<Schema.Union<readonly [Schema.String, Schema.Null]>>;
|
|
3993
|
+
readonly line2: Schema.optional<Schema.Union<readonly [Schema.String, Schema.Null]>>;
|
|
3994
|
+
readonly suburb: Schema.optional<Schema.Union<readonly [Schema.String, Schema.Null]>>;
|
|
3995
|
+
readonly state: Schema.optional<Schema.Union<readonly [Schema.String, Schema.Null]>>;
|
|
3996
|
+
readonly postalCode: Schema.optional<Schema.Union<readonly [Schema.String, Schema.Null]>>;
|
|
3997
|
+
readonly country: Schema.optional<Schema.Union<readonly [Schema.String, Schema.Null]>>;
|
|
3998
|
+
}>, Schema.Null]>>;
|
|
3999
|
+
readonly postalAddress: Schema.optional<Schema.Union<readonly [Schema.Struct<{
|
|
4000
|
+
readonly line1: Schema.optional<Schema.Union<readonly [Schema.String, Schema.Null]>>;
|
|
4001
|
+
readonly line2: Schema.optional<Schema.Union<readonly [Schema.String, Schema.Null]>>;
|
|
4002
|
+
readonly suburb: Schema.optional<Schema.Union<readonly [Schema.String, Schema.Null]>>;
|
|
4003
|
+
readonly state: Schema.optional<Schema.Union<readonly [Schema.String, Schema.Null]>>;
|
|
4004
|
+
readonly postalCode: Schema.optional<Schema.Union<readonly [Schema.String, Schema.Null]>>;
|
|
4005
|
+
readonly country: Schema.optional<Schema.Union<readonly [Schema.String, Schema.Null]>>;
|
|
4006
|
+
}>, Schema.Null]>>;
|
|
4007
|
+
readonly membershipTypeId: Schema.String;
|
|
4008
|
+
readonly marketingPreferences: Schema.optional<Schema.Struct<{
|
|
4009
|
+
readonly email: Schema.optional<Schema.Boolean>;
|
|
4010
|
+
readonly sms: Schema.optional<Schema.Boolean>;
|
|
4011
|
+
readonly post: Schema.optional<Schema.Boolean>;
|
|
4012
|
+
readonly gamingEmail: Schema.optional<Schema.Boolean>;
|
|
4013
|
+
readonly gamingSms: Schema.optional<Schema.Boolean>;
|
|
4014
|
+
readonly gamingOptOut: Schema.optional<Schema.Boolean>;
|
|
4015
|
+
}>>;
|
|
4016
|
+
readonly gamingPermissions: Schema.optional<Schema.Struct<{
|
|
4017
|
+
readonly isGamingEnabled: Schema.optional<Schema.Boolean>;
|
|
4018
|
+
readonly isVenuePromotionsEnabled: Schema.optional<Schema.Boolean>;
|
|
4019
|
+
readonly isGamingPromotionsEnabled: Schema.optional<Schema.Boolean>;
|
|
4020
|
+
}>>;
|
|
4021
|
+
}>;
|
|
4022
|
+
}>;
|
|
3926
4023
|
declare const EnsureActiveMembershipManualReviewItemSchema: Schema.Struct<{
|
|
3927
4024
|
readonly workflowId: Schema.String;
|
|
3928
4025
|
readonly commandId: Schema.String;
|
|
@@ -3980,6 +4077,8 @@ declare const AuthorizeEnsureActiveMembershipRenewalSchema: Schema.Struct<{
|
|
|
3980
4077
|
declare const EnsureActiveMembershipCommandSchema: Schema.Struct<{
|
|
3981
4078
|
readonly kind: Schema.Literal<"ensure_active_membership">;
|
|
3982
4079
|
readonly payload: Schema.Struct<{
|
|
4080
|
+
readonly contractVersion: Schema.optional<Schema.Literal<2>>;
|
|
4081
|
+
readonly allowRenewalOnDuplicate: Schema.optional<Schema.Boolean>;
|
|
3983
4082
|
readonly idempotencyKey: Schema.String;
|
|
3984
4083
|
readonly member: Schema.Struct<{
|
|
3985
4084
|
readonly email: Schema.optional<Schema.Union<readonly [Schema.String, Schema.Null]>>;
|
|
@@ -4043,6 +4142,12 @@ declare const EnsureActiveMembershipCommandSchema: Schema.Struct<{
|
|
|
4043
4142
|
readonly sourceStatus: Schema.Literal<"ACTIVE">;
|
|
4044
4143
|
readonly membershipTypeId: Schema.String;
|
|
4045
4144
|
readonly membershipExpiry: Schema.String;
|
|
4145
|
+
}>, Schema.Struct<{
|
|
4146
|
+
readonly outcome: Schema.Literal<"renewal_required">;
|
|
4147
|
+
readonly memberId: Schema.String;
|
|
4148
|
+
readonly sourceStatus: Schema.Literal<"ACTIVE">;
|
|
4149
|
+
readonly membershipTypeId: Schema.String;
|
|
4150
|
+
readonly membershipExpiry: Schema.String;
|
|
4046
4151
|
}>, Schema.Struct<{
|
|
4047
4152
|
readonly outcome: Schema.Literals<readonly ["ambiguous_identity_match", "unsupported_source_status", "indeterminate_membership_expiry", "manual_review_required", "failed"]>;
|
|
4048
4153
|
}>]>, Schema.Null]>;
|
|
@@ -4065,6 +4170,8 @@ declare const EnsureActiveMembershipResponseSchema: Schema.Struct<{
|
|
|
4065
4170
|
readonly command: Schema.Struct<{
|
|
4066
4171
|
readonly kind: Schema.Literal<"ensure_active_membership">;
|
|
4067
4172
|
readonly payload: Schema.Struct<{
|
|
4173
|
+
readonly contractVersion: Schema.optional<Schema.Literal<2>>;
|
|
4174
|
+
readonly allowRenewalOnDuplicate: Schema.optional<Schema.Boolean>;
|
|
4068
4175
|
readonly idempotencyKey: Schema.String;
|
|
4069
4176
|
readonly member: Schema.Struct<{
|
|
4070
4177
|
readonly email: Schema.optional<Schema.Union<readonly [Schema.String, Schema.Null]>>;
|
|
@@ -4128,6 +4235,12 @@ declare const EnsureActiveMembershipResponseSchema: Schema.Struct<{
|
|
|
4128
4235
|
readonly sourceStatus: Schema.Literal<"ACTIVE">;
|
|
4129
4236
|
readonly membershipTypeId: Schema.String;
|
|
4130
4237
|
readonly membershipExpiry: Schema.String;
|
|
4238
|
+
}>, Schema.Struct<{
|
|
4239
|
+
readonly outcome: Schema.Literal<"renewal_required">;
|
|
4240
|
+
readonly memberId: Schema.String;
|
|
4241
|
+
readonly sourceStatus: Schema.Literal<"ACTIVE">;
|
|
4242
|
+
readonly membershipTypeId: Schema.String;
|
|
4243
|
+
readonly membershipExpiry: Schema.String;
|
|
4131
4244
|
}>, Schema.Struct<{
|
|
4132
4245
|
readonly outcome: Schema.Literals<readonly ["ambiguous_identity_match", "unsupported_source_status", "indeterminate_membership_expiry", "manual_review_required", "failed"]>;
|
|
4133
4246
|
}>]>, Schema.Null]>;
|
|
@@ -4538,6 +4651,8 @@ declare const OnsiteResourceEnsureActiveMembershipCallResponseSchema: Schema.Str
|
|
|
4538
4651
|
readonly command: Schema.Struct<{
|
|
4539
4652
|
readonly kind: Schema.Literal<"ensure_active_membership">;
|
|
4540
4653
|
readonly payload: Schema.Struct<{
|
|
4654
|
+
readonly contractVersion: Schema.optional<Schema.Literal<2>>;
|
|
4655
|
+
readonly allowRenewalOnDuplicate: Schema.optional<Schema.Boolean>;
|
|
4541
4656
|
readonly idempotencyKey: Schema.String;
|
|
4542
4657
|
readonly member: Schema.Struct<{
|
|
4543
4658
|
readonly email: Schema.optional<Schema.Union<readonly [Schema.String, Schema.Null]>>;
|
|
@@ -4601,6 +4716,12 @@ declare const OnsiteResourceEnsureActiveMembershipCallResponseSchema: Schema.Str
|
|
|
4601
4716
|
readonly sourceStatus: Schema.Literal<"ACTIVE">;
|
|
4602
4717
|
readonly membershipTypeId: Schema.String;
|
|
4603
4718
|
readonly membershipExpiry: Schema.String;
|
|
4719
|
+
}>, Schema.Struct<{
|
|
4720
|
+
readonly outcome: Schema.Literal<"renewal_required">;
|
|
4721
|
+
readonly memberId: Schema.String;
|
|
4722
|
+
readonly sourceStatus: Schema.Literal<"ACTIVE">;
|
|
4723
|
+
readonly membershipTypeId: Schema.String;
|
|
4724
|
+
readonly membershipExpiry: Schema.String;
|
|
4604
4725
|
}>, Schema.Struct<{
|
|
4605
4726
|
readonly outcome: Schema.Literals<readonly ["ambiguous_identity_match", "unsupported_source_status", "indeterminate_membership_expiry", "manual_review_required", "failed"]>;
|
|
4606
4727
|
}>]>, Schema.Null]>;
|
|
@@ -4696,6 +4817,8 @@ declare const OnsiteResourceCallResponseSchema: Schema.Union<readonly [Schema.St
|
|
|
4696
4817
|
readonly command: Schema.Struct<{
|
|
4697
4818
|
readonly kind: Schema.Literal<"ensure_active_membership">;
|
|
4698
4819
|
readonly payload: Schema.Struct<{
|
|
4820
|
+
readonly contractVersion: Schema.optional<Schema.Literal<2>>;
|
|
4821
|
+
readonly allowRenewalOnDuplicate: Schema.optional<Schema.Boolean>;
|
|
4699
4822
|
readonly idempotencyKey: Schema.String;
|
|
4700
4823
|
readonly member: Schema.Struct<{
|
|
4701
4824
|
readonly email: Schema.optional<Schema.Union<readonly [Schema.String, Schema.Null]>>;
|
|
@@ -4759,6 +4882,12 @@ declare const OnsiteResourceCallResponseSchema: Schema.Union<readonly [Schema.St
|
|
|
4759
4882
|
readonly sourceStatus: Schema.Literal<"ACTIVE">;
|
|
4760
4883
|
readonly membershipTypeId: Schema.String;
|
|
4761
4884
|
readonly membershipExpiry: Schema.String;
|
|
4885
|
+
}>, Schema.Struct<{
|
|
4886
|
+
readonly outcome: Schema.Literal<"renewal_required">;
|
|
4887
|
+
readonly memberId: Schema.String;
|
|
4888
|
+
readonly sourceStatus: Schema.Literal<"ACTIVE">;
|
|
4889
|
+
readonly membershipTypeId: Schema.String;
|
|
4890
|
+
readonly membershipExpiry: Schema.String;
|
|
4762
4891
|
}>, Schema.Struct<{
|
|
4763
4892
|
readonly outcome: Schema.Literals<readonly ["ambiguous_identity_match", "unsupported_source_status", "indeterminate_membership_expiry", "manual_review_required", "failed"]>;
|
|
4764
4893
|
}>]>, Schema.Null]>;
|
|
@@ -5283,10 +5412,13 @@ declare const OnsiteAgentEnsureActiveMembershipCommandSchema: Schema.Struct<{
|
|
|
5283
5412
|
readonly organizationId: Schema.String;
|
|
5284
5413
|
readonly organizationMemberSourceId: Schema.String;
|
|
5285
5414
|
readonly candidateSourceMemberId: Schema.optional<Schema.String>;
|
|
5415
|
+
readonly candidateSourceMemberIds: Schema.optional<Schema.$Array<Schema.String>>;
|
|
5286
5416
|
readonly vendor: Schema.Literal<"odyssey_gaming">;
|
|
5287
5417
|
readonly connectorType: Schema.Literal<"odyssey_gaming">;
|
|
5288
5418
|
readonly requestedAt: Schema.String;
|
|
5289
5419
|
readonly payload: Schema.Struct<{
|
|
5420
|
+
readonly contractVersion: Schema.optional<Schema.Literal<2>>;
|
|
5421
|
+
readonly allowRenewalOnDuplicate: Schema.optional<Schema.Boolean>;
|
|
5290
5422
|
readonly idempotencyKey: Schema.String;
|
|
5291
5423
|
readonly member: Schema.Struct<{
|
|
5292
5424
|
readonly email: Schema.optional<Schema.Union<readonly [Schema.String, Schema.Null]>>;
|
|
@@ -5531,7 +5663,7 @@ declare const OnsiteAgentReferenceDataCommandSchema: Schema.Struct<{
|
|
|
5531
5663
|
declare const OnsiteAgentHeartbeatSchema: Schema.Struct<{
|
|
5532
5664
|
readonly version: Schema.String;
|
|
5533
5665
|
readonly pollingIntervalSeconds: Schema.optional<Schema.Number>;
|
|
5534
|
-
readonly capabilities: Schema.optional<Schema.$Array<Schema.Literals<readonly ["ensure_active_membership"]>>>;
|
|
5666
|
+
readonly capabilities: Schema.optional<Schema.$Array<Schema.Literals<readonly ["ensure_active_membership", "ensure_active_membership_v2"]>>>;
|
|
5535
5667
|
readonly metadata: Schema.optional<Schema.$Record<Schema.String, Schema.Unknown>>;
|
|
5536
5668
|
readonly lastError: Schema.optional<Schema.Union<readonly [Schema.String, Schema.Null]>>;
|
|
5537
5669
|
}>;
|
|
@@ -5748,7 +5880,7 @@ declare const OnsiteAgentCompleteMemberCreateSchema: Schema.Struct<{
|
|
|
5748
5880
|
readonly metadata: Schema.optional<Schema.$Record<Schema.String, Schema.Unknown>>;
|
|
5749
5881
|
}>>>;
|
|
5750
5882
|
readonly creationResult: Schema.optional<Schema.Literals<readonly ["created", "recovered_create", "matched_existing"]>>;
|
|
5751
|
-
readonly ensureOutcome: Schema.optional<Schema.Literals<readonly ["created", "matched_active", "renewed_existing", "ambiguous_identity_match", "unsupported_source_status", "indeterminate_membership_expiry", "manual_review_required", "failed"]>>;
|
|
5883
|
+
readonly ensureOutcome: Schema.optional<Schema.Literals<readonly ["created", "matched_active", "renewed_existing", "renewal_required", "ambiguous_identity_match", "unsupported_source_status", "indeterminate_membership_expiry", "manual_review_required", "failed"]>>;
|
|
5752
5884
|
readonly errorMessage: Schema.optional<Schema.Union<readonly [Schema.String, Schema.Null]>>;
|
|
5753
5885
|
}>;
|
|
5754
5886
|
declare const OnsiteAgentEnsureActiveMembershipCompletionResultSchema: Schema.Union<readonly [Schema.Struct<{
|
|
@@ -5870,6 +6002,65 @@ declare const OnsiteAgentEnsureActiveMembershipCompletionResultSchema: Schema.Un
|
|
|
5870
6002
|
}>>;
|
|
5871
6003
|
readonly sourceUpdatedAt: Schema.Union<readonly [Schema.String, Schema.Null]>;
|
|
5872
6004
|
}>;
|
|
6005
|
+
}>, Schema.Struct<{
|
|
6006
|
+
readonly outcome: Schema.Literal<"renewal_required">;
|
|
6007
|
+
readonly record: Schema.Struct<{
|
|
6008
|
+
readonly sourceStatus: Schema.Literal<"ACTIVE">;
|
|
6009
|
+
readonly membershipTypeId: Schema.String;
|
|
6010
|
+
readonly expiresAt: Schema.String;
|
|
6011
|
+
readonly lineNumber: Schema.Union<readonly [Schema.Number, Schema.Null]>;
|
|
6012
|
+
readonly previousMemberNumber: Schema.Union<readonly [Schema.String, Schema.Null]>;
|
|
6013
|
+
readonly memberNumber: Schema.Union<readonly [Schema.String, Schema.Null]>;
|
|
6014
|
+
readonly externalSystemMemberId: Schema.Union<readonly [Schema.String, Schema.Null]>;
|
|
6015
|
+
readonly cardId: Schema.Union<readonly [Schema.String, Schema.Null]>;
|
|
6016
|
+
readonly email: Schema.Union<readonly [Schema.String, Schema.Null]>;
|
|
6017
|
+
readonly title: Schema.Union<readonly [Schema.String, Schema.Null]>;
|
|
6018
|
+
readonly firstName: Schema.Union<readonly [Schema.String, Schema.Null]>;
|
|
6019
|
+
readonly middleName: Schema.Union<readonly [Schema.String, Schema.Null]>;
|
|
6020
|
+
readonly lastName: Schema.Union<readonly [Schema.String, Schema.Null]>;
|
|
6021
|
+
readonly dob: Schema.Union<readonly [Schema.String, Schema.Null]>;
|
|
6022
|
+
readonly gender: Schema.Union<readonly [Schema.String, Schema.Null]>;
|
|
6023
|
+
readonly mobilePhone: Schema.Union<readonly [Schema.String, Schema.Null]>;
|
|
6024
|
+
readonly homePhone: Schema.Union<readonly [Schema.String, Schema.Null]>;
|
|
6025
|
+
readonly joinedAt: Schema.Union<readonly [Schema.String, Schema.Null]>;
|
|
6026
|
+
readonly preferredContactMethod: Schema.Union<readonly [Schema.Literals<readonly ["sms", "email"]>, Schema.Null]>;
|
|
6027
|
+
readonly occupation: Schema.Union<readonly [Schema.String, Schema.Null]>;
|
|
6028
|
+
readonly address: Schema.Union<readonly [Schema.Struct<{
|
|
6029
|
+
readonly line1: Schema.Union<readonly [Schema.String, Schema.Null]>;
|
|
6030
|
+
readonly line2: Schema.Union<readonly [Schema.String, Schema.Null]>;
|
|
6031
|
+
readonly suburb: Schema.Union<readonly [Schema.String, Schema.Null]>;
|
|
6032
|
+
readonly state: Schema.Union<readonly [Schema.String, Schema.Null]>;
|
|
6033
|
+
readonly postalCode: Schema.Union<readonly [Schema.String, Schema.Null]>;
|
|
6034
|
+
readonly country: Schema.Union<readonly [Schema.String, Schema.Null]>;
|
|
6035
|
+
}>, Schema.Null]>;
|
|
6036
|
+
readonly postalAddress: Schema.Union<readonly [Schema.Struct<{
|
|
6037
|
+
readonly line1: Schema.Union<readonly [Schema.String, Schema.Null]>;
|
|
6038
|
+
readonly line2: Schema.Union<readonly [Schema.String, Schema.Null]>;
|
|
6039
|
+
readonly suburb: Schema.Union<readonly [Schema.String, Schema.Null]>;
|
|
6040
|
+
readonly state: Schema.Union<readonly [Schema.String, Schema.Null]>;
|
|
6041
|
+
readonly postalCode: Schema.Union<readonly [Schema.String, Schema.Null]>;
|
|
6042
|
+
readonly country: Schema.Union<readonly [Schema.String, Schema.Null]>;
|
|
6043
|
+
}>, Schema.Null]>;
|
|
6044
|
+
readonly membershipType: Schema.Union<readonly [Schema.String, Schema.Null]>;
|
|
6045
|
+
readonly ratingGrade: Schema.Union<readonly [Schema.String, Schema.Null]>;
|
|
6046
|
+
readonly ratingGradeId: Schema.Union<readonly [Schema.String, Schema.Null]>;
|
|
6047
|
+
readonly sourceStatusObserved: Schema.optional<Schema.Boolean>;
|
|
6048
|
+
readonly isSuspended: Schema.optional<Schema.Boolean>;
|
|
6049
|
+
readonly gamingPermissions: Schema.optional<Schema.Struct<{
|
|
6050
|
+
readonly isGamingEnabled: Schema.optional<Schema.Boolean>;
|
|
6051
|
+
readonly isVenuePromotionsEnabled: Schema.optional<Schema.Boolean>;
|
|
6052
|
+
readonly isGamingPromotionsEnabled: Schema.optional<Schema.Boolean>;
|
|
6053
|
+
}>>;
|
|
6054
|
+
readonly marketingPreferences: Schema.optional<Schema.Struct<{
|
|
6055
|
+
readonly email: Schema.Boolean;
|
|
6056
|
+
readonly sms: Schema.Boolean;
|
|
6057
|
+
readonly post: Schema.Boolean;
|
|
6058
|
+
readonly gamingEmail: Schema.Boolean;
|
|
6059
|
+
readonly gamingSms: Schema.Boolean;
|
|
6060
|
+
readonly gamingOptOut: Schema.Boolean;
|
|
6061
|
+
}>>;
|
|
6062
|
+
readonly sourceUpdatedAt: Schema.Union<readonly [Schema.String, Schema.Null]>;
|
|
6063
|
+
}>;
|
|
5873
6064
|
}>, Schema.Struct<{
|
|
5874
6065
|
readonly outcome: Schema.Literals<readonly ["ambiguous_identity_match", "unsupported_source_status", "indeterminate_membership_expiry", "manual_review_required", "failed"]>;
|
|
5875
6066
|
}>]>;
|
|
@@ -5993,6 +6184,65 @@ declare const OnsiteAgentCompleteEnsureActiveMembershipSchema: Schema.Struct<{
|
|
|
5993
6184
|
}>>;
|
|
5994
6185
|
readonly sourceUpdatedAt: Schema.Union<readonly [Schema.String, Schema.Null]>;
|
|
5995
6186
|
}>;
|
|
6187
|
+
}>, Schema.Struct<{
|
|
6188
|
+
readonly outcome: Schema.Literal<"renewal_required">;
|
|
6189
|
+
readonly record: Schema.Struct<{
|
|
6190
|
+
readonly sourceStatus: Schema.Literal<"ACTIVE">;
|
|
6191
|
+
readonly membershipTypeId: Schema.String;
|
|
6192
|
+
readonly expiresAt: Schema.String;
|
|
6193
|
+
readonly lineNumber: Schema.Union<readonly [Schema.Number, Schema.Null]>;
|
|
6194
|
+
readonly previousMemberNumber: Schema.Union<readonly [Schema.String, Schema.Null]>;
|
|
6195
|
+
readonly memberNumber: Schema.Union<readonly [Schema.String, Schema.Null]>;
|
|
6196
|
+
readonly externalSystemMemberId: Schema.Union<readonly [Schema.String, Schema.Null]>;
|
|
6197
|
+
readonly cardId: Schema.Union<readonly [Schema.String, Schema.Null]>;
|
|
6198
|
+
readonly email: Schema.Union<readonly [Schema.String, Schema.Null]>;
|
|
6199
|
+
readonly title: Schema.Union<readonly [Schema.String, Schema.Null]>;
|
|
6200
|
+
readonly firstName: Schema.Union<readonly [Schema.String, Schema.Null]>;
|
|
6201
|
+
readonly middleName: Schema.Union<readonly [Schema.String, Schema.Null]>;
|
|
6202
|
+
readonly lastName: Schema.Union<readonly [Schema.String, Schema.Null]>;
|
|
6203
|
+
readonly dob: Schema.Union<readonly [Schema.String, Schema.Null]>;
|
|
6204
|
+
readonly gender: Schema.Union<readonly [Schema.String, Schema.Null]>;
|
|
6205
|
+
readonly mobilePhone: Schema.Union<readonly [Schema.String, Schema.Null]>;
|
|
6206
|
+
readonly homePhone: Schema.Union<readonly [Schema.String, Schema.Null]>;
|
|
6207
|
+
readonly joinedAt: Schema.Union<readonly [Schema.String, Schema.Null]>;
|
|
6208
|
+
readonly preferredContactMethod: Schema.Union<readonly [Schema.Literals<readonly ["sms", "email"]>, Schema.Null]>;
|
|
6209
|
+
readonly occupation: Schema.Union<readonly [Schema.String, Schema.Null]>;
|
|
6210
|
+
readonly address: Schema.Union<readonly [Schema.Struct<{
|
|
6211
|
+
readonly line1: Schema.Union<readonly [Schema.String, Schema.Null]>;
|
|
6212
|
+
readonly line2: Schema.Union<readonly [Schema.String, Schema.Null]>;
|
|
6213
|
+
readonly suburb: Schema.Union<readonly [Schema.String, Schema.Null]>;
|
|
6214
|
+
readonly state: Schema.Union<readonly [Schema.String, Schema.Null]>;
|
|
6215
|
+
readonly postalCode: Schema.Union<readonly [Schema.String, Schema.Null]>;
|
|
6216
|
+
readonly country: Schema.Union<readonly [Schema.String, Schema.Null]>;
|
|
6217
|
+
}>, Schema.Null]>;
|
|
6218
|
+
readonly postalAddress: Schema.Union<readonly [Schema.Struct<{
|
|
6219
|
+
readonly line1: Schema.Union<readonly [Schema.String, Schema.Null]>;
|
|
6220
|
+
readonly line2: Schema.Union<readonly [Schema.String, Schema.Null]>;
|
|
6221
|
+
readonly suburb: Schema.Union<readonly [Schema.String, Schema.Null]>;
|
|
6222
|
+
readonly state: Schema.Union<readonly [Schema.String, Schema.Null]>;
|
|
6223
|
+
readonly postalCode: Schema.Union<readonly [Schema.String, Schema.Null]>;
|
|
6224
|
+
readonly country: Schema.Union<readonly [Schema.String, Schema.Null]>;
|
|
6225
|
+
}>, Schema.Null]>;
|
|
6226
|
+
readonly membershipType: Schema.Union<readonly [Schema.String, Schema.Null]>;
|
|
6227
|
+
readonly ratingGrade: Schema.Union<readonly [Schema.String, Schema.Null]>;
|
|
6228
|
+
readonly ratingGradeId: Schema.Union<readonly [Schema.String, Schema.Null]>;
|
|
6229
|
+
readonly sourceStatusObserved: Schema.optional<Schema.Boolean>;
|
|
6230
|
+
readonly isSuspended: Schema.optional<Schema.Boolean>;
|
|
6231
|
+
readonly gamingPermissions: Schema.optional<Schema.Struct<{
|
|
6232
|
+
readonly isGamingEnabled: Schema.optional<Schema.Boolean>;
|
|
6233
|
+
readonly isVenuePromotionsEnabled: Schema.optional<Schema.Boolean>;
|
|
6234
|
+
readonly isGamingPromotionsEnabled: Schema.optional<Schema.Boolean>;
|
|
6235
|
+
}>>;
|
|
6236
|
+
readonly marketingPreferences: Schema.optional<Schema.Struct<{
|
|
6237
|
+
readonly email: Schema.Boolean;
|
|
6238
|
+
readonly sms: Schema.Boolean;
|
|
6239
|
+
readonly post: Schema.Boolean;
|
|
6240
|
+
readonly gamingEmail: Schema.Boolean;
|
|
6241
|
+
readonly gamingSms: Schema.Boolean;
|
|
6242
|
+
readonly gamingOptOut: Schema.Boolean;
|
|
6243
|
+
}>>;
|
|
6244
|
+
readonly sourceUpdatedAt: Schema.Union<readonly [Schema.String, Schema.Null]>;
|
|
6245
|
+
}>;
|
|
5996
6246
|
}>, Schema.Struct<{
|
|
5997
6247
|
readonly outcome: Schema.Literals<readonly ["ambiguous_identity_match", "unsupported_source_status", "indeterminate_membership_expiry", "manual_review_required", "failed"]>;
|
|
5998
6248
|
}>]>>;
|
|
@@ -6279,6 +6529,7 @@ declare const MailchimpSettingsInputSchema: Schema.Struct<{
|
|
|
6279
6529
|
readonly lastNameField: Schema.String;
|
|
6280
6530
|
readonly phoneField: Schema.optional<Schema.String>;
|
|
6281
6531
|
readonly dobField: Schema.optional<Schema.String>;
|
|
6532
|
+
readonly memberNumberField: Schema.optional<Schema.String>;
|
|
6282
6533
|
}>;
|
|
6283
6534
|
declare const MailchimpSettingsSchema: Schema.Struct<{
|
|
6284
6535
|
readonly connected: Schema.Boolean;
|
|
@@ -6289,6 +6540,7 @@ declare const MailchimpSettingsSchema: Schema.Struct<{
|
|
|
6289
6540
|
readonly lastNameField: Schema.String;
|
|
6290
6541
|
readonly phoneField: Schema.String;
|
|
6291
6542
|
readonly dobField: Schema.String;
|
|
6543
|
+
readonly memberNumberField: Schema.String;
|
|
6292
6544
|
readonly pending: Schema.Number;
|
|
6293
6545
|
readonly failed: Schema.Number;
|
|
6294
6546
|
readonly lastSuccessAt: Schema.NullOr<Schema.String>;
|
|
@@ -7192,6 +7444,12 @@ declare const HubApi: HttpApi.HttpApi<"hub", HttpApiGroup.HttpApiGroup<"rewards"
|
|
|
7192
7444
|
readonly enabled: Schema.Boolean;
|
|
7193
7445
|
readonly reason: Schema.Union<readonly [Schema.Literals<readonly ["not_configured", "unsupported_provider", "unsupported_transport", "source_inactive", "provider_inactive", "agent_missing", "agent_inactive", "feature_disabled", "agent_upgrade_required"]>, Schema.Null]>;
|
|
7194
7446
|
}>;
|
|
7447
|
+
/** Whether `POST /members/create-requests` is available at this venue. */
|
|
7448
|
+
readonly memberCreateRequests: Schema.Struct<{
|
|
7449
|
+
readonly supported: Schema.Boolean;
|
|
7450
|
+
readonly enabled: Schema.Boolean;
|
|
7451
|
+
readonly reason: Schema.Union<readonly [Schema.Literals<readonly ["not_configured", "unsupported_provider", "unsupported_transport", "source_inactive", "provider_inactive", "agent_missing", "agent_inactive", "feature_disabled", "agent_upgrade_required"]>, Schema.Null]>;
|
|
7452
|
+
}>;
|
|
7195
7453
|
}>>, Schema.toCodecJson<Schema.Struct<{
|
|
7196
7454
|
readonly code: Schema.Literal<"unauthorized">;
|
|
7197
7455
|
readonly message: Schema.String;
|
|
@@ -7671,6 +7929,41 @@ declare const HubApi: HttpApi.HttpApi<"hub", HttpApiGroup.HttpApiGroup<"rewards"
|
|
|
7671
7929
|
}> | Schema.Struct<{
|
|
7672
7930
|
readonly code: Schema.Literal<"internal_error">;
|
|
7673
7931
|
readonly message: Schema.String;
|
|
7932
|
+
}>>, never, never> | HttpApiEndpoint.HttpApiEndpoint<"getOrganization", "GET", "/v1/organizations/:organizationId", Schema.toCodecStringTree<Schema.Struct<{
|
|
7933
|
+
readonly organizationId: Schema.String;
|
|
7934
|
+
}>>, never, never, never, Schema.toCodecJson<Schema.Struct<{
|
|
7935
|
+
readonly isDemo: Schema.Boolean;
|
|
7936
|
+
readonly id: Schema.String;
|
|
7937
|
+
readonly slug: Schema.String;
|
|
7938
|
+
readonly name: Schema.String;
|
|
7939
|
+
readonly legalName: Schema.Union<readonly [Schema.String, Schema.Null]>;
|
|
7940
|
+
readonly timeZone: Schema.Union<readonly [Schema.String, Schema.Null]>;
|
|
7941
|
+
readonly status: Schema.Literals<readonly ["active", "archived"]>;
|
|
7942
|
+
readonly description: Schema.Union<readonly [Schema.String, Schema.Null]>;
|
|
7943
|
+
readonly externalReference: Schema.Union<readonly [Schema.String, Schema.Null]>;
|
|
7944
|
+
readonly products: Schema.$Array<Schema.String>;
|
|
7945
|
+
readonly memberExpiryGracePeriodDays: Schema.Number;
|
|
7946
|
+
readonly createdAt: Schema.String;
|
|
7947
|
+
readonly updatedAt: Schema.String;
|
|
7948
|
+
readonly deletedAt: Schema.Union<readonly [Schema.String, Schema.Null]>;
|
|
7949
|
+
}>>, Schema.toCodecJson<Schema.Struct<{
|
|
7950
|
+
readonly code: Schema.Literal<"unauthorized">;
|
|
7951
|
+
readonly message: Schema.String;
|
|
7952
|
+
}> | Schema.Struct<{
|
|
7953
|
+
readonly code: Schema.Literal<"forbidden">;
|
|
7954
|
+
readonly message: Schema.String;
|
|
7955
|
+
}> | Schema.Struct<{
|
|
7956
|
+
readonly code: Schema.Literal<"not_found">;
|
|
7957
|
+
readonly message: Schema.String;
|
|
7958
|
+
}> | Schema.Struct<{
|
|
7959
|
+
readonly code: Schema.Literal<"conflict">;
|
|
7960
|
+
readonly message: Schema.String;
|
|
7961
|
+
}> | Schema.Struct<{
|
|
7962
|
+
readonly code: Schema.Literal<"bad_request">;
|
|
7963
|
+
readonly message: Schema.String;
|
|
7964
|
+
}> | Schema.Struct<{
|
|
7965
|
+
readonly code: Schema.Literal<"internal_error">;
|
|
7966
|
+
readonly message: Schema.String;
|
|
7674
7967
|
}>>, never, never> | HttpApiEndpoint.HttpApiEndpoint<"updateOrganization", "PATCH", "/v1/organizations/:organizationId", Schema.toCodecStringTree<Schema.Struct<{
|
|
7675
7968
|
readonly organizationId: Schema.String;
|
|
7676
7969
|
}>>, never, Schema.toCodecJson<Schema.Struct<{
|
|
@@ -8434,6 +8727,37 @@ declare const HubApi: HttpApi.HttpApi<"hub", HttpApiGroup.HttpApiGroup<"rewards"
|
|
|
8434
8727
|
}> | Schema.Struct<{
|
|
8435
8728
|
readonly code: Schema.Literal<"internal_error">;
|
|
8436
8729
|
readonly message: Schema.String;
|
|
8730
|
+
}>>, never, never> | HttpApiEndpoint.HttpApiEndpoint<"getOrganizationMemberSummary", "GET", "/v1/organizations/:organizationId/members/summary", Schema.toCodecStringTree<Schema.Struct<{
|
|
8731
|
+
readonly organizationId: Schema.String;
|
|
8732
|
+
}>>, never, never, never, Schema.toCodecJson<Schema.Struct<{
|
|
8733
|
+
readonly organizationId: Schema.String;
|
|
8734
|
+
readonly total: Schema.Number;
|
|
8735
|
+
readonly notArchived: Schema.Number;
|
|
8736
|
+
readonly active: Schema.Number;
|
|
8737
|
+
readonly suspended: Schema.Number;
|
|
8738
|
+
readonly expired: Schema.Number;
|
|
8739
|
+
readonly archived: Schema.Number;
|
|
8740
|
+
readonly sourceManaged: Schema.Number;
|
|
8741
|
+
readonly joinedLast30Days: Schema.Number;
|
|
8742
|
+
readonly generatedAt: Schema.String;
|
|
8743
|
+
}>>, Schema.toCodecJson<Schema.Struct<{
|
|
8744
|
+
readonly code: Schema.Literal<"unauthorized">;
|
|
8745
|
+
readonly message: Schema.String;
|
|
8746
|
+
}> | Schema.Struct<{
|
|
8747
|
+
readonly code: Schema.Literal<"forbidden">;
|
|
8748
|
+
readonly message: Schema.String;
|
|
8749
|
+
}> | Schema.Struct<{
|
|
8750
|
+
readonly code: Schema.Literal<"not_found">;
|
|
8751
|
+
readonly message: Schema.String;
|
|
8752
|
+
}> | Schema.Struct<{
|
|
8753
|
+
readonly code: Schema.Literal<"conflict">;
|
|
8754
|
+
readonly message: Schema.String;
|
|
8755
|
+
}> | Schema.Struct<{
|
|
8756
|
+
readonly code: Schema.Literal<"bad_request">;
|
|
8757
|
+
readonly message: Schema.String;
|
|
8758
|
+
}> | Schema.Struct<{
|
|
8759
|
+
readonly code: Schema.Literal<"internal_error">;
|
|
8760
|
+
readonly message: Schema.String;
|
|
8437
8761
|
}>>, never, never> | HttpApiEndpoint.HttpApiEndpoint<"listOrganizationMemberRatingGrades", "GET", "/v1/organizations/:organizationId/members/rating-grades", Schema.toCodecStringTree<Schema.Struct<{
|
|
8438
8762
|
readonly organizationId: Schema.String;
|
|
8439
8763
|
}>>, Schema.toCodecStringTree<Schema.Struct<{
|
|
@@ -8698,6 +9022,59 @@ declare const HubApi: HttpApi.HttpApi<"hub", HttpApiGroup.HttpApiGroup<"rewards"
|
|
|
8698
9022
|
}> | Schema.Struct<{
|
|
8699
9023
|
readonly code: Schema.Literal<"internal_error">;
|
|
8700
9024
|
readonly message: Schema.String;
|
|
9025
|
+
}>>, never, never> | HttpApiEndpoint.HttpApiEndpoint<"getMemberReplacement", "GET", "/v1/organizations/:organizationId/members/:memberId/replacement", Schema.toCodecStringTree<Schema.Struct<{
|
|
9026
|
+
readonly organizationId: Schema.String;
|
|
9027
|
+
readonly memberId: Schema.String;
|
|
9028
|
+
}>>, never, never, never, Schema.toCodecJson<Schema.Struct<{
|
|
9029
|
+
readonly replacementMemberId: Schema.String;
|
|
9030
|
+
readonly delivered: Schema.Boolean;
|
|
9031
|
+
}>>, Schema.toCodecJson<Schema.Struct<{
|
|
9032
|
+
readonly code: Schema.Literal<"unauthorized">;
|
|
9033
|
+
readonly message: Schema.String;
|
|
9034
|
+
}> | Schema.Struct<{
|
|
9035
|
+
readonly code: Schema.Literal<"forbidden">;
|
|
9036
|
+
readonly message: Schema.String;
|
|
9037
|
+
}> | Schema.Struct<{
|
|
9038
|
+
readonly code: Schema.Literal<"not_found">;
|
|
9039
|
+
readonly message: Schema.String;
|
|
9040
|
+
}> | Schema.Struct<{
|
|
9041
|
+
readonly code: Schema.Literal<"conflict">;
|
|
9042
|
+
readonly message: Schema.String;
|
|
9043
|
+
}> | Schema.Struct<{
|
|
9044
|
+
readonly code: Schema.Literal<"bad_request">;
|
|
9045
|
+
readonly message: Schema.String;
|
|
9046
|
+
}> | Schema.Struct<{
|
|
9047
|
+
readonly code: Schema.Literal<"internal_error">;
|
|
9048
|
+
readonly message: Schema.String;
|
|
9049
|
+
}>>, never, never> | HttpApiEndpoint.HttpApiEndpoint<"replaceMember", "POST", "/v1/organizations/:organizationId/members/:memberId/replacement", Schema.toCodecStringTree<Schema.Struct<{
|
|
9050
|
+
readonly organizationId: Schema.String;
|
|
9051
|
+
readonly memberId: Schema.String;
|
|
9052
|
+
}>>, never, Schema.toCodecJson<Schema.Union<readonly [Schema.Struct<{
|
|
9053
|
+
readonly replacementMemberId: Schema.String;
|
|
9054
|
+
readonly expectedUpdatedAt: Schema.String;
|
|
9055
|
+
}>, Schema.Struct<{
|
|
9056
|
+
readonly retry: Schema.Literal<true>;
|
|
9057
|
+
}>]>>, never, Schema.toCodecJson<Schema.Struct<{
|
|
9058
|
+
readonly replacementMemberId: Schema.String;
|
|
9059
|
+
readonly delivered: Schema.Boolean;
|
|
9060
|
+
}>>, Schema.toCodecJson<Schema.Struct<{
|
|
9061
|
+
readonly code: Schema.Literal<"unauthorized">;
|
|
9062
|
+
readonly message: Schema.String;
|
|
9063
|
+
}> | Schema.Struct<{
|
|
9064
|
+
readonly code: Schema.Literal<"forbidden">;
|
|
9065
|
+
readonly message: Schema.String;
|
|
9066
|
+
}> | Schema.Struct<{
|
|
9067
|
+
readonly code: Schema.Literal<"not_found">;
|
|
9068
|
+
readonly message: Schema.String;
|
|
9069
|
+
}> | Schema.Struct<{
|
|
9070
|
+
readonly code: Schema.Literal<"conflict">;
|
|
9071
|
+
readonly message: Schema.String;
|
|
9072
|
+
}> | Schema.Struct<{
|
|
9073
|
+
readonly code: Schema.Literal<"bad_request">;
|
|
9074
|
+
readonly message: Schema.String;
|
|
9075
|
+
}> | Schema.Struct<{
|
|
9076
|
+
readonly code: Schema.Literal<"internal_error">;
|
|
9077
|
+
readonly message: Schema.String;
|
|
8701
9078
|
}>>, never, never> | HttpApiEndpoint.HttpApiEndpoint<"cleanupOrganizationMembers", "POST", "/v1/organizations/:organizationId/members/cleanup", Schema.toCodecStringTree<Schema.Struct<{
|
|
8702
9079
|
readonly organizationId: Schema.String;
|
|
8703
9080
|
}>>, never, Schema.toCodecJson<Schema.Struct<{
|
|
@@ -8862,11 +9239,171 @@ declare const HubApi: HttpApi.HttpApi<"hub", HttpApiGroup.HttpApiGroup<"rewards"
|
|
|
8862
9239
|
}> | Schema.Struct<{
|
|
8863
9240
|
readonly code: Schema.Literal<"internal_error">;
|
|
8864
9241
|
readonly message: Schema.String;
|
|
8865
|
-
}>>, never, never> | HttpApiEndpoint.HttpApiEndpoint<"ensureActiveMembership", "POST", "/v1/organizations/:organizationId/members/ensure-active", Schema.toCodecStringTree<Schema.Struct<{
|
|
9242
|
+
}>>, never, never> | HttpApiEndpoint.HttpApiEndpoint<"ensureActiveMembership", "POST", "/v1/organizations/:organizationId/members/ensure-active", Schema.toCodecStringTree<Schema.Struct<{
|
|
9243
|
+
readonly organizationId: Schema.String;
|
|
9244
|
+
}>>, never, Schema.toCodecJson<Schema.Struct<{
|
|
9245
|
+
readonly idempotencyKey: Schema.String;
|
|
9246
|
+
readonly waitMs: Schema.optional<Schema.Number>;
|
|
9247
|
+
readonly member: Schema.Struct<{
|
|
9248
|
+
readonly email: Schema.optional<Schema.Union<readonly [Schema.String, Schema.Null]>>;
|
|
9249
|
+
readonly title: Schema.optional<Schema.Union<readonly [Schema.String, Schema.Null]>>;
|
|
9250
|
+
readonly firstName: Schema.String;
|
|
9251
|
+
readonly middleName: Schema.optional<Schema.Union<readonly [Schema.String, Schema.Null]>>;
|
|
9252
|
+
readonly lastName: Schema.String;
|
|
9253
|
+
readonly dob: Schema.String;
|
|
9254
|
+
readonly gender: Schema.optional<Schema.Union<readonly [Schema.String, Schema.Null]>>;
|
|
9255
|
+
readonly mobilePhone: Schema.optional<Schema.Union<readonly [Schema.String, Schema.Null]>>;
|
|
9256
|
+
readonly homePhone: Schema.optional<Schema.Union<readonly [Schema.String, Schema.Null]>>;
|
|
9257
|
+
readonly preferredContactMethod: Schema.optional<Schema.Union<readonly [Schema.Literals<readonly ["sms", "email"]>, Schema.Null]>>;
|
|
9258
|
+
readonly occupation: Schema.optional<Schema.Union<readonly [Schema.String, Schema.Null]>>;
|
|
9259
|
+
readonly address: Schema.optional<Schema.Union<readonly [Schema.Struct<{
|
|
9260
|
+
readonly line1: Schema.optional<Schema.Union<readonly [Schema.String, Schema.Null]>>;
|
|
9261
|
+
readonly line2: Schema.optional<Schema.Union<readonly [Schema.String, Schema.Null]>>;
|
|
9262
|
+
readonly suburb: Schema.optional<Schema.Union<readonly [Schema.String, Schema.Null]>>;
|
|
9263
|
+
readonly state: Schema.optional<Schema.Union<readonly [Schema.String, Schema.Null]>>;
|
|
9264
|
+
readonly postalCode: Schema.optional<Schema.Union<readonly [Schema.String, Schema.Null]>>;
|
|
9265
|
+
readonly country: Schema.optional<Schema.Union<readonly [Schema.String, Schema.Null]>>;
|
|
9266
|
+
}>, Schema.Null]>>;
|
|
9267
|
+
readonly postalAddress: Schema.optional<Schema.Union<readonly [Schema.Struct<{
|
|
9268
|
+
readonly line1: Schema.optional<Schema.Union<readonly [Schema.String, Schema.Null]>>;
|
|
9269
|
+
readonly line2: Schema.optional<Schema.Union<readonly [Schema.String, Schema.Null]>>;
|
|
9270
|
+
readonly suburb: Schema.optional<Schema.Union<readonly [Schema.String, Schema.Null]>>;
|
|
9271
|
+
readonly state: Schema.optional<Schema.Union<readonly [Schema.String, Schema.Null]>>;
|
|
9272
|
+
readonly postalCode: Schema.optional<Schema.Union<readonly [Schema.String, Schema.Null]>>;
|
|
9273
|
+
readonly country: Schema.optional<Schema.Union<readonly [Schema.String, Schema.Null]>>;
|
|
9274
|
+
}>, Schema.Null]>>;
|
|
9275
|
+
readonly membershipTypeId: Schema.String;
|
|
9276
|
+
readonly marketingPreferences: Schema.optional<Schema.Struct<{
|
|
9277
|
+
readonly email: Schema.optional<Schema.Boolean>;
|
|
9278
|
+
readonly sms: Schema.optional<Schema.Boolean>;
|
|
9279
|
+
readonly post: Schema.optional<Schema.Boolean>;
|
|
9280
|
+
readonly gamingEmail: Schema.optional<Schema.Boolean>;
|
|
9281
|
+
readonly gamingSms: Schema.optional<Schema.Boolean>;
|
|
9282
|
+
readonly gamingOptOut: Schema.optional<Schema.Boolean>;
|
|
9283
|
+
}>>;
|
|
9284
|
+
readonly gamingPermissions: Schema.optional<Schema.Struct<{
|
|
9285
|
+
readonly isGamingEnabled: Schema.optional<Schema.Boolean>;
|
|
9286
|
+
readonly isVenuePromotionsEnabled: Schema.optional<Schema.Boolean>;
|
|
9287
|
+
readonly isGamingPromotionsEnabled: Schema.optional<Schema.Boolean>;
|
|
9288
|
+
}>>;
|
|
9289
|
+
}>;
|
|
9290
|
+
}>>, never, Schema.toCodecJson<Schema.Struct<{
|
|
9291
|
+
readonly settled: Schema.Boolean;
|
|
9292
|
+
readonly timedOut: Schema.Boolean;
|
|
9293
|
+
readonly command: Schema.Struct<{
|
|
9294
|
+
readonly kind: Schema.Literal<"ensure_active_membership">;
|
|
9295
|
+
readonly payload: Schema.Struct<{
|
|
9296
|
+
readonly contractVersion: Schema.optional<Schema.Literal<2>>;
|
|
9297
|
+
readonly allowRenewalOnDuplicate: Schema.optional<Schema.Boolean>;
|
|
9298
|
+
readonly idempotencyKey: Schema.String;
|
|
9299
|
+
readonly member: Schema.Struct<{
|
|
9300
|
+
readonly email: Schema.optional<Schema.Union<readonly [Schema.String, Schema.Null]>>;
|
|
9301
|
+
readonly title: Schema.optional<Schema.Union<readonly [Schema.String, Schema.Null]>>;
|
|
9302
|
+
readonly firstName: Schema.String;
|
|
9303
|
+
readonly middleName: Schema.optional<Schema.Union<readonly [Schema.String, Schema.Null]>>;
|
|
9304
|
+
readonly lastName: Schema.String;
|
|
9305
|
+
readonly dob: Schema.String;
|
|
9306
|
+
readonly gender: Schema.optional<Schema.Union<readonly [Schema.String, Schema.Null]>>;
|
|
9307
|
+
readonly mobilePhone: Schema.optional<Schema.Union<readonly [Schema.String, Schema.Null]>>;
|
|
9308
|
+
readonly homePhone: Schema.optional<Schema.Union<readonly [Schema.String, Schema.Null]>>;
|
|
9309
|
+
readonly preferredContactMethod: Schema.optional<Schema.Union<readonly [Schema.Literals<readonly ["sms", "email"]>, Schema.Null]>>;
|
|
9310
|
+
readonly occupation: Schema.optional<Schema.Union<readonly [Schema.String, Schema.Null]>>;
|
|
9311
|
+
readonly address: Schema.optional<Schema.Union<readonly [Schema.Struct<{
|
|
9312
|
+
readonly line1: Schema.optional<Schema.Union<readonly [Schema.String, Schema.Null]>>;
|
|
9313
|
+
readonly line2: Schema.optional<Schema.Union<readonly [Schema.String, Schema.Null]>>;
|
|
9314
|
+
readonly suburb: Schema.optional<Schema.Union<readonly [Schema.String, Schema.Null]>>;
|
|
9315
|
+
readonly state: Schema.optional<Schema.Union<readonly [Schema.String, Schema.Null]>>;
|
|
9316
|
+
readonly postalCode: Schema.optional<Schema.Union<readonly [Schema.String, Schema.Null]>>;
|
|
9317
|
+
readonly country: Schema.optional<Schema.Union<readonly [Schema.String, Schema.Null]>>;
|
|
9318
|
+
}>, Schema.Null]>>;
|
|
9319
|
+
readonly postalAddress: Schema.optional<Schema.Union<readonly [Schema.Struct<{
|
|
9320
|
+
readonly line1: Schema.optional<Schema.Union<readonly [Schema.String, Schema.Null]>>;
|
|
9321
|
+
readonly line2: Schema.optional<Schema.Union<readonly [Schema.String, Schema.Null]>>;
|
|
9322
|
+
readonly suburb: Schema.optional<Schema.Union<readonly [Schema.String, Schema.Null]>>;
|
|
9323
|
+
readonly state: Schema.optional<Schema.Union<readonly [Schema.String, Schema.Null]>>;
|
|
9324
|
+
readonly postalCode: Schema.optional<Schema.Union<readonly [Schema.String, Schema.Null]>>;
|
|
9325
|
+
readonly country: Schema.optional<Schema.Union<readonly [Schema.String, Schema.Null]>>;
|
|
9326
|
+
}>, Schema.Null]>>;
|
|
9327
|
+
readonly membershipTypeId: Schema.String;
|
|
9328
|
+
readonly marketingPreferences: Schema.optional<Schema.Struct<{
|
|
9329
|
+
readonly email: Schema.optional<Schema.Boolean>;
|
|
9330
|
+
readonly sms: Schema.optional<Schema.Boolean>;
|
|
9331
|
+
readonly post: Schema.optional<Schema.Boolean>;
|
|
9332
|
+
readonly gamingEmail: Schema.optional<Schema.Boolean>;
|
|
9333
|
+
readonly gamingSms: Schema.optional<Schema.Boolean>;
|
|
9334
|
+
readonly gamingOptOut: Schema.optional<Schema.Boolean>;
|
|
9335
|
+
}>>;
|
|
9336
|
+
readonly gamingPermissions: Schema.optional<Schema.Struct<{
|
|
9337
|
+
readonly isGamingEnabled: Schema.optional<Schema.Boolean>;
|
|
9338
|
+
readonly isVenuePromotionsEnabled: Schema.optional<Schema.Boolean>;
|
|
9339
|
+
readonly isGamingPromotionsEnabled: Schema.optional<Schema.Boolean>;
|
|
9340
|
+
}>>;
|
|
9341
|
+
}>;
|
|
9342
|
+
readonly continuation: Schema.optional<Schema.Union<readonly [Schema.Struct<{
|
|
9343
|
+
readonly action: Schema.Literal<"reconcile">;
|
|
9344
|
+
readonly reviewCommandId: Schema.String;
|
|
9345
|
+
readonly requestedByActorId: Schema.String;
|
|
9346
|
+
readonly reason: Schema.optional<Schema.String>;
|
|
9347
|
+
}>, Schema.Struct<{
|
|
9348
|
+
readonly action: Schema.Literal<"authorize_renewal">;
|
|
9349
|
+
readonly reviewCommandId: Schema.String;
|
|
9350
|
+
readonly requestedByActorId: Schema.String;
|
|
9351
|
+
readonly reason: Schema.String;
|
|
9352
|
+
readonly confirmedNotRenewed: Schema.Literal<true>;
|
|
9353
|
+
}>]>>;
|
|
9354
|
+
}>;
|
|
9355
|
+
readonly result: Schema.Union<readonly [Schema.Union<readonly [Schema.Struct<{
|
|
9356
|
+
readonly outcome: Schema.Literals<readonly ["created", "matched_active", "renewed_existing"]>;
|
|
9357
|
+
readonly memberId: Schema.String;
|
|
9358
|
+
readonly sourceStatus: Schema.Literal<"ACTIVE">;
|
|
9359
|
+
readonly membershipTypeId: Schema.String;
|
|
9360
|
+
readonly membershipExpiry: Schema.String;
|
|
9361
|
+
}>, Schema.Struct<{
|
|
9362
|
+
readonly outcome: Schema.Literal<"renewal_required">;
|
|
9363
|
+
readonly memberId: Schema.String;
|
|
9364
|
+
readonly sourceStatus: Schema.Literal<"ACTIVE">;
|
|
9365
|
+
readonly membershipTypeId: Schema.String;
|
|
9366
|
+
readonly membershipExpiry: Schema.String;
|
|
9367
|
+
}>, Schema.Struct<{
|
|
9368
|
+
readonly outcome: Schema.Literals<readonly ["ambiguous_identity_match", "unsupported_source_status", "indeterminate_membership_expiry", "manual_review_required", "failed"]>;
|
|
9369
|
+
}>]>, Schema.Null]>;
|
|
9370
|
+
readonly id: Schema.String;
|
|
9371
|
+
readonly organizationId: Schema.String;
|
|
9372
|
+
readonly organizationMemberSourceId: Schema.String;
|
|
9373
|
+
readonly organizationMemberSourceAgentId: Schema.Union<readonly [Schema.String, Schema.Null]>;
|
|
9374
|
+
readonly status: Schema.Literals<readonly ["requested", "accepted", "completed", "failed"]>;
|
|
9375
|
+
readonly errorMessage: Schema.Union<readonly [Schema.String, Schema.Null]>;
|
|
9376
|
+
readonly requestedAt: Schema.String;
|
|
9377
|
+
readonly acceptedAt: Schema.Union<readonly [Schema.String, Schema.Null]>;
|
|
9378
|
+
readonly completedAt: Schema.Union<readonly [Schema.String, Schema.Null]>;
|
|
9379
|
+
readonly createdAt: Schema.String;
|
|
9380
|
+
readonly updatedAt: Schema.String;
|
|
9381
|
+
readonly deletedAt: Schema.Union<readonly [Schema.String, Schema.Null]>;
|
|
9382
|
+
}>;
|
|
9383
|
+
}>>, Schema.toCodecJson<Schema.Struct<{
|
|
9384
|
+
readonly code: Schema.Literal<"unauthorized">;
|
|
9385
|
+
readonly message: Schema.String;
|
|
9386
|
+
}> | Schema.Struct<{
|
|
9387
|
+
readonly code: Schema.Literal<"forbidden">;
|
|
9388
|
+
readonly message: Schema.String;
|
|
9389
|
+
}> | Schema.Struct<{
|
|
9390
|
+
readonly code: Schema.Literal<"not_found">;
|
|
9391
|
+
readonly message: Schema.String;
|
|
9392
|
+
}> | Schema.Struct<{
|
|
9393
|
+
readonly code: Schema.Literal<"conflict">;
|
|
9394
|
+
readonly message: Schema.String;
|
|
9395
|
+
}> | Schema.Struct<{
|
|
9396
|
+
readonly code: Schema.Literal<"bad_request">;
|
|
9397
|
+
readonly message: Schema.String;
|
|
9398
|
+
}> | Schema.Struct<{
|
|
9399
|
+
readonly code: Schema.Literal<"internal_error">;
|
|
9400
|
+
readonly message: Schema.String;
|
|
9401
|
+
}>>, never, never> | HttpApiEndpoint.HttpApiEndpoint<"requestMemberCreation", "POST", "/v1/organizations/:organizationId/members/create-requests", Schema.toCodecStringTree<Schema.Struct<{
|
|
8866
9402
|
readonly organizationId: Schema.String;
|
|
8867
9403
|
}>>, never, Schema.toCodecJson<Schema.Struct<{
|
|
8868
9404
|
readonly idempotencyKey: Schema.String;
|
|
8869
9405
|
readonly waitMs: Schema.optional<Schema.Number>;
|
|
9406
|
+
readonly allowRenewalOnDuplicate: Schema.optional<Schema.Boolean>;
|
|
8870
9407
|
readonly member: Schema.Struct<{
|
|
8871
9408
|
readonly email: Schema.optional<Schema.Union<readonly [Schema.String, Schema.Null]>>;
|
|
8872
9409
|
readonly title: Schema.optional<Schema.Union<readonly [Schema.String, Schema.Null]>>;
|
|
@@ -8916,6 +9453,8 @@ declare const HubApi: HttpApi.HttpApi<"hub", HttpApiGroup.HttpApiGroup<"rewards"
|
|
|
8916
9453
|
readonly command: Schema.Struct<{
|
|
8917
9454
|
readonly kind: Schema.Literal<"ensure_active_membership">;
|
|
8918
9455
|
readonly payload: Schema.Struct<{
|
|
9456
|
+
readonly contractVersion: Schema.optional<Schema.Literal<2>>;
|
|
9457
|
+
readonly allowRenewalOnDuplicate: Schema.optional<Schema.Boolean>;
|
|
8919
9458
|
readonly idempotencyKey: Schema.String;
|
|
8920
9459
|
readonly member: Schema.Struct<{
|
|
8921
9460
|
readonly email: Schema.optional<Schema.Union<readonly [Schema.String, Schema.Null]>>;
|
|
@@ -8979,6 +9518,12 @@ declare const HubApi: HttpApi.HttpApi<"hub", HttpApiGroup.HttpApiGroup<"rewards"
|
|
|
8979
9518
|
readonly sourceStatus: Schema.Literal<"ACTIVE">;
|
|
8980
9519
|
readonly membershipTypeId: Schema.String;
|
|
8981
9520
|
readonly membershipExpiry: Schema.String;
|
|
9521
|
+
}>, Schema.Struct<{
|
|
9522
|
+
readonly outcome: Schema.Literal<"renewal_required">;
|
|
9523
|
+
readonly memberId: Schema.String;
|
|
9524
|
+
readonly sourceStatus: Schema.Literal<"ACTIVE">;
|
|
9525
|
+
readonly membershipTypeId: Schema.String;
|
|
9526
|
+
readonly membershipExpiry: Schema.String;
|
|
8982
9527
|
}>, Schema.Struct<{
|
|
8983
9528
|
readonly outcome: Schema.Literals<readonly ["ambiguous_identity_match", "unsupported_source_status", "indeterminate_membership_expiry", "manual_review_required", "failed"]>;
|
|
8984
9529
|
}>]>, Schema.Null]>;
|
|
@@ -9750,6 +10295,11 @@ declare const HubApi: HttpApi.HttpApi<"hub", HttpApiGroup.HttpApiGroup<"rewards"
|
|
|
9750
10295
|
}>>, Schema.toCodecStringTree<Schema.Struct<{
|
|
9751
10296
|
readonly page: Schema.optional<Schema.String>;
|
|
9752
10297
|
readonly pageSize: Schema.optional<Schema.String>;
|
|
10298
|
+
readonly status: Schema.optional<Schema.String>;
|
|
10299
|
+
readonly kind: Schema.optional<Schema.String>;
|
|
10300
|
+
readonly from: Schema.optional<Schema.String>;
|
|
10301
|
+
readonly to: Schema.optional<Schema.String>;
|
|
10302
|
+
readonly sort: Schema.optional<Schema.String>;
|
|
9753
10303
|
}>>, never, never, Schema.toCodecJson<Schema.Struct<{
|
|
9754
10304
|
readonly items: Schema.$Array<Schema.Struct<{
|
|
9755
10305
|
readonly id: Schema.String;
|
|
@@ -11051,6 +11601,8 @@ declare const HubApi: HttpApi.HttpApi<"hub", HttpApiGroup.HttpApiGroup<"rewards"
|
|
|
11051
11601
|
readonly command: Schema.Struct<{
|
|
11052
11602
|
readonly kind: Schema.Literal<"ensure_active_membership">;
|
|
11053
11603
|
readonly payload: Schema.Struct<{
|
|
11604
|
+
readonly contractVersion: Schema.optional<Schema.Literal<2>>;
|
|
11605
|
+
readonly allowRenewalOnDuplicate: Schema.optional<Schema.Boolean>;
|
|
11054
11606
|
readonly idempotencyKey: Schema.String;
|
|
11055
11607
|
readonly member: Schema.Struct<{
|
|
11056
11608
|
readonly email: Schema.optional<Schema.Union<readonly [Schema.String, Schema.Null]>>;
|
|
@@ -11114,6 +11666,12 @@ declare const HubApi: HttpApi.HttpApi<"hub", HttpApiGroup.HttpApiGroup<"rewards"
|
|
|
11114
11666
|
readonly sourceStatus: Schema.Literal<"ACTIVE">;
|
|
11115
11667
|
readonly membershipTypeId: Schema.String;
|
|
11116
11668
|
readonly membershipExpiry: Schema.String;
|
|
11669
|
+
}>, Schema.Struct<{
|
|
11670
|
+
readonly outcome: Schema.Literal<"renewal_required">;
|
|
11671
|
+
readonly memberId: Schema.String;
|
|
11672
|
+
readonly sourceStatus: Schema.Literal<"ACTIVE">;
|
|
11673
|
+
readonly membershipTypeId: Schema.String;
|
|
11674
|
+
readonly membershipExpiry: Schema.String;
|
|
11117
11675
|
}>, Schema.Struct<{
|
|
11118
11676
|
readonly outcome: Schema.Literals<readonly ["ambiguous_identity_match", "unsupported_source_status", "indeterminate_membership_expiry", "manual_review_required", "failed"]>;
|
|
11119
11677
|
}>]>, Schema.Null]>;
|
|
@@ -11357,7 +11915,7 @@ declare const HubApi: HttpApi.HttpApi<"hub", HttpApiGroup.HttpApiGroup<"rewards"
|
|
|
11357
11915
|
readonly lastHeartbeatAt: Schema.Union<readonly [Schema.String, Schema.Null]>;
|
|
11358
11916
|
readonly lastVersion: Schema.Union<readonly [Schema.String, Schema.Null]>;
|
|
11359
11917
|
readonly lastError: Schema.Union<readonly [Schema.String, Schema.Null]>;
|
|
11360
|
-
readonly capabilities: Schema.withConstructorDefault<Schema.withDecodingDefaultTypeKey<Schema.$Array<Schema.Literals<readonly ["ensure_active_membership"]>>, never>>;
|
|
11918
|
+
readonly capabilities: Schema.withConstructorDefault<Schema.withDecodingDefaultTypeKey<Schema.$Array<Schema.Literals<readonly ["ensure_active_membership", "ensure_active_membership_v2"]>>, never>>;
|
|
11361
11919
|
readonly metadata: Schema.$Record<Schema.String, Schema.Unknown>;
|
|
11362
11920
|
readonly createdAt: Schema.String;
|
|
11363
11921
|
readonly updatedAt: Schema.String;
|
|
@@ -11433,7 +11991,7 @@ declare const HubApi: HttpApi.HttpApi<"hub", HttpApiGroup.HttpApiGroup<"rewards"
|
|
|
11433
11991
|
readonly lastHeartbeatAt: Schema.Union<readonly [Schema.String, Schema.Null]>;
|
|
11434
11992
|
readonly lastVersion: Schema.Union<readonly [Schema.String, Schema.Null]>;
|
|
11435
11993
|
readonly lastError: Schema.Union<readonly [Schema.String, Schema.Null]>;
|
|
11436
|
-
readonly capabilities: Schema.withConstructorDefault<Schema.withDecodingDefaultTypeKey<Schema.$Array<Schema.Literals<readonly ["ensure_active_membership"]>>, never>>;
|
|
11994
|
+
readonly capabilities: Schema.withConstructorDefault<Schema.withDecodingDefaultTypeKey<Schema.$Array<Schema.Literals<readonly ["ensure_active_membership", "ensure_active_membership_v2"]>>, never>>;
|
|
11437
11995
|
readonly metadata: Schema.$Record<Schema.String, Schema.Unknown>;
|
|
11438
11996
|
readonly createdAt: Schema.String;
|
|
11439
11997
|
readonly updatedAt: Schema.String;
|
|
@@ -11502,7 +12060,7 @@ declare const HubApi: HttpApi.HttpApi<"hub", HttpApiGroup.HttpApiGroup<"rewards"
|
|
|
11502
12060
|
readonly lastHeartbeatAt: Schema.Union<readonly [Schema.String, Schema.Null]>;
|
|
11503
12061
|
readonly lastVersion: Schema.Union<readonly [Schema.String, Schema.Null]>;
|
|
11504
12062
|
readonly lastError: Schema.Union<readonly [Schema.String, Schema.Null]>;
|
|
11505
|
-
readonly capabilities: Schema.withConstructorDefault<Schema.withDecodingDefaultTypeKey<Schema.$Array<Schema.Literals<readonly ["ensure_active_membership"]>>, never>>;
|
|
12063
|
+
readonly capabilities: Schema.withConstructorDefault<Schema.withDecodingDefaultTypeKey<Schema.$Array<Schema.Literals<readonly ["ensure_active_membership", "ensure_active_membership_v2"]>>, never>>;
|
|
11506
12064
|
readonly metadata: Schema.$Record<Schema.String, Schema.Unknown>;
|
|
11507
12065
|
readonly createdAt: Schema.String;
|
|
11508
12066
|
readonly updatedAt: Schema.String;
|
|
@@ -11550,7 +12108,7 @@ declare const HubApi: HttpApi.HttpApi<"hub", HttpApiGroup.HttpApiGroup<"rewards"
|
|
|
11550
12108
|
readonly lastHeartbeatAt: Schema.Union<readonly [Schema.String, Schema.Null]>;
|
|
11551
12109
|
readonly lastVersion: Schema.Union<readonly [Schema.String, Schema.Null]>;
|
|
11552
12110
|
readonly lastError: Schema.Union<readonly [Schema.String, Schema.Null]>;
|
|
11553
|
-
readonly capabilities: Schema.withConstructorDefault<Schema.withDecodingDefaultTypeKey<Schema.$Array<Schema.Literals<readonly ["ensure_active_membership"]>>, never>>;
|
|
12111
|
+
readonly capabilities: Schema.withConstructorDefault<Schema.withDecodingDefaultTypeKey<Schema.$Array<Schema.Literals<readonly ["ensure_active_membership", "ensure_active_membership_v2"]>>, never>>;
|
|
11554
12112
|
readonly metadata: Schema.$Record<Schema.String, Schema.Unknown>;
|
|
11555
12113
|
readonly createdAt: Schema.String;
|
|
11556
12114
|
readonly updatedAt: Schema.String;
|
|
@@ -12189,6 +12747,12 @@ declare const HubApi: HttpApi.HttpApi<"hub", HttpApiGroup.HttpApiGroup<"rewards"
|
|
|
12189
12747
|
}>>, Schema.toCodecStringTree<Schema.Struct<{
|
|
12190
12748
|
readonly page: Schema.optional<Schema.String>;
|
|
12191
12749
|
readonly pageSize: Schema.optional<Schema.String>;
|
|
12750
|
+
readonly status: Schema.optional<Schema.String>;
|
|
12751
|
+
readonly from: Schema.optional<Schema.String>;
|
|
12752
|
+
readonly to: Schema.optional<Schema.String>;
|
|
12753
|
+
readonly sort: Schema.optional<Schema.String>;
|
|
12754
|
+
readonly trigger: Schema.optional<Schema.String>;
|
|
12755
|
+
readonly hideUnchanged: Schema.optional<Schema.String>;
|
|
12192
12756
|
}>>, never, never, Schema.toCodecJson<Schema.Struct<{
|
|
12193
12757
|
readonly items: Schema.$Array<Schema.Struct<{
|
|
12194
12758
|
readonly id: Schema.String;
|
|
@@ -12344,6 +12908,11 @@ declare const HubApi: HttpApi.HttpApi<"hub", HttpApiGroup.HttpApiGroup<"rewards"
|
|
|
12344
12908
|
}>>, Schema.toCodecStringTree<Schema.Struct<{
|
|
12345
12909
|
readonly page: Schema.optional<Schema.String>;
|
|
12346
12910
|
readonly pageSize: Schema.optional<Schema.String>;
|
|
12911
|
+
readonly status: Schema.optional<Schema.String>;
|
|
12912
|
+
readonly from: Schema.optional<Schema.String>;
|
|
12913
|
+
readonly to: Schema.optional<Schema.String>;
|
|
12914
|
+
readonly sort: Schema.optional<Schema.String>;
|
|
12915
|
+
readonly kind: Schema.optional<Schema.String>;
|
|
12347
12916
|
}>>, never, never, Schema.toCodecJson<Schema.Struct<{
|
|
12348
12917
|
readonly items: Schema.$Array<Schema.Struct<{
|
|
12349
12918
|
readonly id: Schema.String;
|
|
@@ -12472,6 +13041,8 @@ declare const HubApi: HttpApi.HttpApi<"hub", HttpApiGroup.HttpApiGroup<"rewards"
|
|
|
12472
13041
|
}>>, never, Schema.toCodecJson<Schema.Struct<{}>>, never, Schema.toCodecJson<Schema.Struct<{
|
|
12473
13042
|
readonly kind: Schema.Literal<"ensure_active_membership">;
|
|
12474
13043
|
readonly payload: Schema.Struct<{
|
|
13044
|
+
readonly contractVersion: Schema.optional<Schema.Literal<2>>;
|
|
13045
|
+
readonly allowRenewalOnDuplicate: Schema.optional<Schema.Boolean>;
|
|
12475
13046
|
readonly idempotencyKey: Schema.String;
|
|
12476
13047
|
readonly member: Schema.Struct<{
|
|
12477
13048
|
readonly email: Schema.optional<Schema.Union<readonly [Schema.String, Schema.Null]>>;
|
|
@@ -12535,6 +13106,12 @@ declare const HubApi: HttpApi.HttpApi<"hub", HttpApiGroup.HttpApiGroup<"rewards"
|
|
|
12535
13106
|
readonly sourceStatus: Schema.Literal<"ACTIVE">;
|
|
12536
13107
|
readonly membershipTypeId: Schema.String;
|
|
12537
13108
|
readonly membershipExpiry: Schema.String;
|
|
13109
|
+
}>, Schema.Struct<{
|
|
13110
|
+
readonly outcome: Schema.Literal<"renewal_required">;
|
|
13111
|
+
readonly memberId: Schema.String;
|
|
13112
|
+
readonly sourceStatus: Schema.Literal<"ACTIVE">;
|
|
13113
|
+
readonly membershipTypeId: Schema.String;
|
|
13114
|
+
readonly membershipExpiry: Schema.String;
|
|
12538
13115
|
}>, Schema.Struct<{
|
|
12539
13116
|
readonly outcome: Schema.Literals<readonly ["ambiguous_identity_match", "unsupported_source_status", "indeterminate_membership_expiry", "manual_review_required", "failed"]>;
|
|
12540
13117
|
}>]>, Schema.Null]>;
|
|
@@ -12577,6 +13154,8 @@ declare const HubApi: HttpApi.HttpApi<"hub", HttpApiGroup.HttpApiGroup<"rewards"
|
|
|
12577
13154
|
}>>, never, Schema.toCodecJson<Schema.Struct<{
|
|
12578
13155
|
readonly kind: Schema.Literal<"ensure_active_membership">;
|
|
12579
13156
|
readonly payload: Schema.Struct<{
|
|
13157
|
+
readonly contractVersion: Schema.optional<Schema.Literal<2>>;
|
|
13158
|
+
readonly allowRenewalOnDuplicate: Schema.optional<Schema.Boolean>;
|
|
12580
13159
|
readonly idempotencyKey: Schema.String;
|
|
12581
13160
|
readonly member: Schema.Struct<{
|
|
12582
13161
|
readonly email: Schema.optional<Schema.Union<readonly [Schema.String, Schema.Null]>>;
|
|
@@ -12640,6 +13219,12 @@ declare const HubApi: HttpApi.HttpApi<"hub", HttpApiGroup.HttpApiGroup<"rewards"
|
|
|
12640
13219
|
readonly sourceStatus: Schema.Literal<"ACTIVE">;
|
|
12641
13220
|
readonly membershipTypeId: Schema.String;
|
|
12642
13221
|
readonly membershipExpiry: Schema.String;
|
|
13222
|
+
}>, Schema.Struct<{
|
|
13223
|
+
readonly outcome: Schema.Literal<"renewal_required">;
|
|
13224
|
+
readonly memberId: Schema.String;
|
|
13225
|
+
readonly sourceStatus: Schema.Literal<"ACTIVE">;
|
|
13226
|
+
readonly membershipTypeId: Schema.String;
|
|
13227
|
+
readonly membershipExpiry: Schema.String;
|
|
12643
13228
|
}>, Schema.Struct<{
|
|
12644
13229
|
readonly outcome: Schema.Literals<readonly ["ambiguous_identity_match", "unsupported_source_status", "indeterminate_membership_expiry", "manual_review_required", "failed"]>;
|
|
12645
13230
|
}>]>, Schema.Null]>;
|
|
@@ -12678,6 +13263,7 @@ declare const HubApi: HttpApi.HttpApi<"hub", HttpApiGroup.HttpApiGroup<"rewards"
|
|
|
12678
13263
|
}>>, never, Schema.toCodecJson<Schema.Struct<{
|
|
12679
13264
|
readonly mode: Schema.optional<Schema.Literals<readonly ["full_snapshot", "delta"]>>;
|
|
12680
13265
|
readonly inputReference: Schema.optional<Schema.Union<readonly [Schema.String, Schema.Null]>>;
|
|
13266
|
+
readonly updatedAfter: Schema.optional<Schema.Union<readonly [Schema.String, Schema.Null]>>;
|
|
12681
13267
|
}>>, never, Schema.toCodecJson<Schema.Struct<{
|
|
12682
13268
|
readonly id: Schema.String;
|
|
12683
13269
|
readonly organizationId: Schema.String;
|
|
@@ -12752,7 +13338,7 @@ declare const HubApi: HttpApi.HttpApi<"hub", HttpApiGroup.HttpApiGroup<"rewards"
|
|
|
12752
13338
|
}>>, never, never>, false> | HttpApiGroup.HttpApiGroup<"onsiteAgents", HttpApiEndpoint.HttpApiEndpoint<"heartbeatOnsiteAgent", "POST", "/v1/onsite-agent/heartbeat", never, never, Schema.toCodecJson<Schema.Struct<{
|
|
12753
13339
|
readonly version: Schema.String;
|
|
12754
13340
|
readonly pollingIntervalSeconds: Schema.optional<Schema.Number>;
|
|
12755
|
-
readonly capabilities: Schema.optional<Schema.$Array<Schema.Literals<readonly ["ensure_active_membership"]>>>;
|
|
13341
|
+
readonly capabilities: Schema.optional<Schema.$Array<Schema.Literals<readonly ["ensure_active_membership", "ensure_active_membership_v2"]>>>;
|
|
12756
13342
|
readonly metadata: Schema.optional<Schema.$Record<Schema.String, Schema.Unknown>>;
|
|
12757
13343
|
readonly lastError: Schema.optional<Schema.Union<readonly [Schema.String, Schema.Null]>>;
|
|
12758
13344
|
}>>, never, Schema.toCodecJson<Schema.Struct<{
|
|
@@ -13095,10 +13681,13 @@ declare const HubApi: HttpApi.HttpApi<"hub", HttpApiGroup.HttpApiGroup<"rewards"
|
|
|
13095
13681
|
readonly organizationId: Schema.String;
|
|
13096
13682
|
readonly organizationMemberSourceId: Schema.String;
|
|
13097
13683
|
readonly candidateSourceMemberId: Schema.optional<Schema.String>;
|
|
13684
|
+
readonly candidateSourceMemberIds: Schema.optional<Schema.$Array<Schema.String>>;
|
|
13098
13685
|
readonly vendor: Schema.Literal<"odyssey_gaming">;
|
|
13099
13686
|
readonly connectorType: Schema.Literal<"odyssey_gaming">;
|
|
13100
13687
|
readonly requestedAt: Schema.String;
|
|
13101
13688
|
readonly payload: Schema.Struct<{
|
|
13689
|
+
readonly contractVersion: Schema.optional<Schema.Literal<2>>;
|
|
13690
|
+
readonly allowRenewalOnDuplicate: Schema.optional<Schema.Boolean>;
|
|
13102
13691
|
readonly idempotencyKey: Schema.String;
|
|
13103
13692
|
readonly member: Schema.Struct<{
|
|
13104
13693
|
readonly email: Schema.optional<Schema.Union<readonly [Schema.String, Schema.Null]>>;
|
|
@@ -13741,7 +14330,7 @@ declare const HubApi: HttpApi.HttpApi<"hub", HttpApiGroup.HttpApiGroup<"rewards"
|
|
|
13741
14330
|
readonly metadata: Schema.optional<Schema.$Record<Schema.String, Schema.Unknown>>;
|
|
13742
14331
|
}>>>;
|
|
13743
14332
|
readonly creationResult: Schema.optional<Schema.Literals<readonly ["created", "recovered_create", "matched_existing"]>>;
|
|
13744
|
-
readonly ensureOutcome: Schema.optional<Schema.Literals<readonly ["created", "matched_active", "renewed_existing", "ambiguous_identity_match", "unsupported_source_status", "indeterminate_membership_expiry", "manual_review_required", "failed"]>>;
|
|
14333
|
+
readonly ensureOutcome: Schema.optional<Schema.Literals<readonly ["created", "matched_active", "renewed_existing", "renewal_required", "ambiguous_identity_match", "unsupported_source_status", "indeterminate_membership_expiry", "manual_review_required", "failed"]>>;
|
|
13745
14334
|
readonly errorMessage: Schema.optional<Schema.Union<readonly [Schema.String, Schema.Null]>>;
|
|
13746
14335
|
}>>, never, Schema.toCodecJson<Schema.Struct<{
|
|
13747
14336
|
readonly id: Schema.String;
|
|
@@ -13899,6 +14488,65 @@ declare const HubApi: HttpApi.HttpApi<"hub", HttpApiGroup.HttpApiGroup<"rewards"
|
|
|
13899
14488
|
}>>;
|
|
13900
14489
|
readonly sourceUpdatedAt: Schema.Union<readonly [Schema.String, Schema.Null]>;
|
|
13901
14490
|
}>;
|
|
14491
|
+
}>, Schema.Struct<{
|
|
14492
|
+
readonly outcome: Schema.Literal<"renewal_required">;
|
|
14493
|
+
readonly record: Schema.Struct<{
|
|
14494
|
+
readonly sourceStatus: Schema.Literal<"ACTIVE">;
|
|
14495
|
+
readonly membershipTypeId: Schema.String;
|
|
14496
|
+
readonly expiresAt: Schema.String;
|
|
14497
|
+
readonly lineNumber: Schema.Union<readonly [Schema.Number, Schema.Null]>;
|
|
14498
|
+
readonly previousMemberNumber: Schema.Union<readonly [Schema.String, Schema.Null]>;
|
|
14499
|
+
readonly memberNumber: Schema.Union<readonly [Schema.String, Schema.Null]>;
|
|
14500
|
+
readonly externalSystemMemberId: Schema.Union<readonly [Schema.String, Schema.Null]>;
|
|
14501
|
+
readonly cardId: Schema.Union<readonly [Schema.String, Schema.Null]>;
|
|
14502
|
+
readonly email: Schema.Union<readonly [Schema.String, Schema.Null]>;
|
|
14503
|
+
readonly title: Schema.Union<readonly [Schema.String, Schema.Null]>;
|
|
14504
|
+
readonly firstName: Schema.Union<readonly [Schema.String, Schema.Null]>;
|
|
14505
|
+
readonly middleName: Schema.Union<readonly [Schema.String, Schema.Null]>;
|
|
14506
|
+
readonly lastName: Schema.Union<readonly [Schema.String, Schema.Null]>;
|
|
14507
|
+
readonly dob: Schema.Union<readonly [Schema.String, Schema.Null]>;
|
|
14508
|
+
readonly gender: Schema.Union<readonly [Schema.String, Schema.Null]>;
|
|
14509
|
+
readonly mobilePhone: Schema.Union<readonly [Schema.String, Schema.Null]>;
|
|
14510
|
+
readonly homePhone: Schema.Union<readonly [Schema.String, Schema.Null]>;
|
|
14511
|
+
readonly joinedAt: Schema.Union<readonly [Schema.String, Schema.Null]>;
|
|
14512
|
+
readonly preferredContactMethod: Schema.Union<readonly [Schema.Literals<readonly ["sms", "email"]>, Schema.Null]>;
|
|
14513
|
+
readonly occupation: Schema.Union<readonly [Schema.String, Schema.Null]>;
|
|
14514
|
+
readonly address: Schema.Union<readonly [Schema.Struct<{
|
|
14515
|
+
readonly line1: Schema.Union<readonly [Schema.String, Schema.Null]>;
|
|
14516
|
+
readonly line2: Schema.Union<readonly [Schema.String, Schema.Null]>;
|
|
14517
|
+
readonly suburb: Schema.Union<readonly [Schema.String, Schema.Null]>;
|
|
14518
|
+
readonly state: Schema.Union<readonly [Schema.String, Schema.Null]>;
|
|
14519
|
+
readonly postalCode: Schema.Union<readonly [Schema.String, Schema.Null]>;
|
|
14520
|
+
readonly country: Schema.Union<readonly [Schema.String, Schema.Null]>;
|
|
14521
|
+
}>, Schema.Null]>;
|
|
14522
|
+
readonly postalAddress: Schema.Union<readonly [Schema.Struct<{
|
|
14523
|
+
readonly line1: Schema.Union<readonly [Schema.String, Schema.Null]>;
|
|
14524
|
+
readonly line2: Schema.Union<readonly [Schema.String, Schema.Null]>;
|
|
14525
|
+
readonly suburb: Schema.Union<readonly [Schema.String, Schema.Null]>;
|
|
14526
|
+
readonly state: Schema.Union<readonly [Schema.String, Schema.Null]>;
|
|
14527
|
+
readonly postalCode: Schema.Union<readonly [Schema.String, Schema.Null]>;
|
|
14528
|
+
readonly country: Schema.Union<readonly [Schema.String, Schema.Null]>;
|
|
14529
|
+
}>, Schema.Null]>;
|
|
14530
|
+
readonly membershipType: Schema.Union<readonly [Schema.String, Schema.Null]>;
|
|
14531
|
+
readonly ratingGrade: Schema.Union<readonly [Schema.String, Schema.Null]>;
|
|
14532
|
+
readonly ratingGradeId: Schema.Union<readonly [Schema.String, Schema.Null]>;
|
|
14533
|
+
readonly sourceStatusObserved: Schema.optional<Schema.Boolean>;
|
|
14534
|
+
readonly isSuspended: Schema.optional<Schema.Boolean>;
|
|
14535
|
+
readonly gamingPermissions: Schema.optional<Schema.Struct<{
|
|
14536
|
+
readonly isGamingEnabled: Schema.optional<Schema.Boolean>;
|
|
14537
|
+
readonly isVenuePromotionsEnabled: Schema.optional<Schema.Boolean>;
|
|
14538
|
+
readonly isGamingPromotionsEnabled: Schema.optional<Schema.Boolean>;
|
|
14539
|
+
}>>;
|
|
14540
|
+
readonly marketingPreferences: Schema.optional<Schema.Struct<{
|
|
14541
|
+
readonly email: Schema.Boolean;
|
|
14542
|
+
readonly sms: Schema.Boolean;
|
|
14543
|
+
readonly post: Schema.Boolean;
|
|
14544
|
+
readonly gamingEmail: Schema.Boolean;
|
|
14545
|
+
readonly gamingSms: Schema.Boolean;
|
|
14546
|
+
readonly gamingOptOut: Schema.Boolean;
|
|
14547
|
+
}>>;
|
|
14548
|
+
readonly sourceUpdatedAt: Schema.Union<readonly [Schema.String, Schema.Null]>;
|
|
14549
|
+
}>;
|
|
13902
14550
|
}>, Schema.Struct<{
|
|
13903
14551
|
readonly outcome: Schema.Literals<readonly ["ambiguous_identity_match", "unsupported_source_status", "indeterminate_membership_expiry", "manual_review_required", "failed"]>;
|
|
13904
14552
|
}>]>>;
|
|
@@ -13906,6 +14554,8 @@ declare const HubApi: HttpApi.HttpApi<"hub", HttpApiGroup.HttpApiGroup<"rewards"
|
|
|
13906
14554
|
}>>, never, Schema.toCodecJson<Schema.Struct<{
|
|
13907
14555
|
readonly kind: Schema.Literal<"ensure_active_membership">;
|
|
13908
14556
|
readonly payload: Schema.Struct<{
|
|
14557
|
+
readonly contractVersion: Schema.optional<Schema.Literal<2>>;
|
|
14558
|
+
readonly allowRenewalOnDuplicate: Schema.optional<Schema.Boolean>;
|
|
13909
14559
|
readonly idempotencyKey: Schema.String;
|
|
13910
14560
|
readonly member: Schema.Struct<{
|
|
13911
14561
|
readonly email: Schema.optional<Schema.Union<readonly [Schema.String, Schema.Null]>>;
|
|
@@ -13969,6 +14619,12 @@ declare const HubApi: HttpApi.HttpApi<"hub", HttpApiGroup.HttpApiGroup<"rewards"
|
|
|
13969
14619
|
readonly sourceStatus: Schema.Literal<"ACTIVE">;
|
|
13970
14620
|
readonly membershipTypeId: Schema.String;
|
|
13971
14621
|
readonly membershipExpiry: Schema.String;
|
|
14622
|
+
}>, Schema.Struct<{
|
|
14623
|
+
readonly outcome: Schema.Literal<"renewal_required">;
|
|
14624
|
+
readonly memberId: Schema.String;
|
|
14625
|
+
readonly sourceStatus: Schema.Literal<"ACTIVE">;
|
|
14626
|
+
readonly membershipTypeId: Schema.String;
|
|
14627
|
+
readonly membershipExpiry: Schema.String;
|
|
13972
14628
|
}>, Schema.Struct<{
|
|
13973
14629
|
readonly outcome: Schema.Literals<readonly ["ambiguous_identity_match", "unsupported_source_status", "indeterminate_membership_expiry", "manual_review_required", "failed"]>;
|
|
13974
14630
|
}>]>, Schema.Null]>;
|
|
@@ -14038,6 +14694,8 @@ declare const HubApi: HttpApi.HttpApi<"hub", HttpApiGroup.HttpApiGroup<"rewards"
|
|
|
14038
14694
|
}>>, never, never, never, Schema.toCodecJson<Schema.Struct<{
|
|
14039
14695
|
readonly kind: Schema.Literal<"ensure_active_membership">;
|
|
14040
14696
|
readonly payload: Schema.Struct<{
|
|
14697
|
+
readonly contractVersion: Schema.optional<Schema.Literal<2>>;
|
|
14698
|
+
readonly allowRenewalOnDuplicate: Schema.optional<Schema.Boolean>;
|
|
14041
14699
|
readonly idempotencyKey: Schema.String;
|
|
14042
14700
|
readonly member: Schema.Struct<{
|
|
14043
14701
|
readonly email: Schema.optional<Schema.Union<readonly [Schema.String, Schema.Null]>>;
|
|
@@ -14101,6 +14759,12 @@ declare const HubApi: HttpApi.HttpApi<"hub", HttpApiGroup.HttpApiGroup<"rewards"
|
|
|
14101
14759
|
readonly sourceStatus: Schema.Literal<"ACTIVE">;
|
|
14102
14760
|
readonly membershipTypeId: Schema.String;
|
|
14103
14761
|
readonly membershipExpiry: Schema.String;
|
|
14762
|
+
}>, Schema.Struct<{
|
|
14763
|
+
readonly outcome: Schema.Literal<"renewal_required">;
|
|
14764
|
+
readonly memberId: Schema.String;
|
|
14765
|
+
readonly sourceStatus: Schema.Literal<"ACTIVE">;
|
|
14766
|
+
readonly membershipTypeId: Schema.String;
|
|
14767
|
+
readonly membershipExpiry: Schema.String;
|
|
14104
14768
|
}>, Schema.Struct<{
|
|
14105
14769
|
readonly outcome: Schema.Literals<readonly ["ambiguous_identity_match", "unsupported_source_status", "indeterminate_membership_expiry", "manual_review_required", "failed"]>;
|
|
14106
14770
|
}>]>, Schema.Null]>;
|
|
@@ -15185,6 +15849,7 @@ declare const HubApi: HttpApi.HttpApi<"hub", HttpApiGroup.HttpApiGroup<"rewards"
|
|
|
15185
15849
|
readonly lastNameField: Schema.String;
|
|
15186
15850
|
readonly phoneField: Schema.String;
|
|
15187
15851
|
readonly dobField: Schema.String;
|
|
15852
|
+
readonly memberNumberField: Schema.String;
|
|
15188
15853
|
readonly pending: Schema.Number;
|
|
15189
15854
|
readonly failed: Schema.Number;
|
|
15190
15855
|
readonly lastSuccessAt: Schema.NullOr<Schema.String>;
|
|
@@ -15217,6 +15882,7 @@ declare const HubApi: HttpApi.HttpApi<"hub", HttpApiGroup.HttpApiGroup<"rewards"
|
|
|
15217
15882
|
readonly lastNameField: Schema.String;
|
|
15218
15883
|
readonly phoneField: Schema.optional<Schema.String>;
|
|
15219
15884
|
readonly dobField: Schema.optional<Schema.String>;
|
|
15885
|
+
readonly memberNumberField: Schema.optional<Schema.String>;
|
|
15220
15886
|
}>>, never, Schema.toCodecJson<Schema.Struct<{
|
|
15221
15887
|
readonly connected: Schema.Boolean;
|
|
15222
15888
|
readonly enabled: Schema.Boolean;
|
|
@@ -15226,6 +15892,7 @@ declare const HubApi: HttpApi.HttpApi<"hub", HttpApiGroup.HttpApiGroup<"rewards"
|
|
|
15226
15892
|
readonly lastNameField: Schema.String;
|
|
15227
15893
|
readonly phoneField: Schema.String;
|
|
15228
15894
|
readonly dobField: Schema.String;
|
|
15895
|
+
readonly memberNumberField: Schema.String;
|
|
15229
15896
|
readonly pending: Schema.Number;
|
|
15230
15897
|
readonly failed: Schema.Number;
|
|
15231
15898
|
readonly lastSuccessAt: Schema.NullOr<Schema.String>;
|
|
@@ -15284,6 +15951,7 @@ declare const HubApi: HttpApi.HttpApi<"hub", HttpApiGroup.HttpApiGroup<"rewards"
|
|
|
15284
15951
|
readonly lastNameField: Schema.String;
|
|
15285
15952
|
readonly phoneField: Schema.String;
|
|
15286
15953
|
readonly dobField: Schema.String;
|
|
15954
|
+
readonly memberNumberField: Schema.String;
|
|
15287
15955
|
readonly pending: Schema.Number;
|
|
15288
15956
|
readonly failed: Schema.Number;
|
|
15289
15957
|
readonly lastSuccessAt: Schema.NullOr<Schema.String>;
|
|
@@ -15532,6 +16200,7 @@ type PaginatedOrganizations = Schema.Schema.Type<typeof PaginatedOrganizationsSc
|
|
|
15532
16200
|
type OrganizationProductOption = Schema.Schema.Type<typeof OrganizationProductOptionSchema>;
|
|
15533
16201
|
type OrganizationProductWebhook = Schema.Schema.Type<typeof OrganizationProductWebhookSchema>;
|
|
15534
16202
|
type OrganizationMemberRatingGrade = Schema.Schema.Type<typeof OrganizationMemberRatingGradeSchema>;
|
|
16203
|
+
type OrganizationMemberSummary = Schema.Schema.Type<typeof OrganizationMemberSummarySchema>;
|
|
15535
16204
|
type PaginatedOrganizationMemberRatingGrades = Schema.Schema.Type<typeof PaginatedOrganizationMemberRatingGradesSchema>;
|
|
15536
16205
|
type OrganizationMemberMembershipType = Schema.Schema.Type<typeof OrganizationMemberMembershipTypeSchema>;
|
|
15537
16206
|
type PaginatedOrganizationMemberMembershipTypes = Schema.Schema.Type<typeof PaginatedOrganizationMemberMembershipTypesSchema>;
|
|
@@ -15566,6 +16235,8 @@ type EnsureActiveMembershipResult = Schema.Schema.Type<typeof EnsureActiveMember
|
|
|
15566
16235
|
type EnsureActiveMembershipMemberInput = Schema.Schema.Type<typeof EnsureActiveMembershipMemberSchema>;
|
|
15567
16236
|
type EnsureActiveMembershipCommandPayload = Schema.Schema.Type<typeof EnsureActiveMembershipCommandPayloadSchema>;
|
|
15568
16237
|
type RequestEnsureActiveMembershipInput = Schema.Schema.Type<typeof RequestEnsureActiveMembershipSchema>;
|
|
16238
|
+
type RequestMemberCreationInput = Schema.Schema.Type<typeof RequestMemberCreationSchema>;
|
|
16239
|
+
type EnsureActiveMembershipRenewalRequiredResult = Schema.Schema.Type<typeof EnsureActiveMembershipRenewalRequiredResultSchema>;
|
|
15569
16240
|
type EnsureActiveMembershipCommand = Schema.Schema.Type<typeof EnsureActiveMembershipCommandSchema>;
|
|
15570
16241
|
type EnsureActiveMembershipResponse = Schema.Schema.Type<typeof EnsureActiveMembershipResponseSchema>;
|
|
15571
16242
|
type EnsureActiveMembershipManualReviewItem = Schema.Schema.Type<typeof EnsureActiveMembershipManualReviewItemSchema>;
|
|
@@ -15761,7 +16432,7 @@ declare const organizationMemberSourceManualTransports: readonly ["csv_bucket"];
|
|
|
15761
16432
|
declare const organizationMemberSourceLiveTransports: readonly ["fbi"];
|
|
15762
16433
|
declare const organizationMemberSourceStatuses: readonly ["active", "paused", "disabled"];
|
|
15763
16434
|
declare const organizationMemberSourceAgentStatuses: readonly ["active", "paused", "disabled"];
|
|
15764
|
-
declare const organizationMemberSourceAgentCapabilities: readonly ["ensure_active_membership"];
|
|
16435
|
+
declare const organizationMemberSourceAgentCapabilities: readonly ["ensure_active_membership", "ensure_active_membership_v2"];
|
|
15765
16436
|
declare const organizationMemberSourceWebhookStatuses: readonly ["active", "disabled"];
|
|
15766
16437
|
declare const organizationMemberSourceWebhookDeliveryStatuses: readonly ["success", "failure"];
|
|
15767
16438
|
declare const organizationProductWebhookStatuses: readonly ["active", "disabled"];
|
|
@@ -15782,7 +16453,7 @@ declare const organizationMemberSyncModes: readonly ["full_snapshot", "delta"];
|
|
|
15782
16453
|
declare const organizationMemberSyncRunStatuses: readonly ["pending", "running", "success", "partial_failure", "failure"];
|
|
15783
16454
|
declare const organizationMemberSyncTransports: readonly ["csv_bucket", "onsite_agent", "live_feed"];
|
|
15784
16455
|
declare const organizationMemberSourceCommandKinds: readonly ["create_member", "ensure_active_membership", "update_member", "update_preferences", "renew_member", "lookup_member", "list_custom_fields", "lookup_reference_data"];
|
|
15785
|
-
declare const ensureActiveMembershipOutcomes: readonly ["created", "matched_active", "renewed_existing", "ambiguous_identity_match", "unsupported_source_status", "indeterminate_membership_expiry", "manual_review_required", "failed"];
|
|
16456
|
+
declare const ensureActiveMembershipOutcomes: readonly ["created", "matched_active", "renewed_existing", "renewal_required", "ambiguous_identity_match", "unsupported_source_status", "indeterminate_membership_expiry", "manual_review_required", "failed"];
|
|
15786
16457
|
declare const organizationMemberSourceCommandStatuses: readonly ["requested", "accepted", "completed", "failed"];
|
|
15787
16458
|
declare const organizationMemberSourceCsvImportStatuses: readonly ["requested", "uploaded", "processing", "completed", "failed"];
|
|
15788
16459
|
|
|
@@ -15974,6 +16645,26 @@ type ListGuestsInput = PageInput & {
|
|
|
15974
16645
|
type ListProductWebhooksInput = PageInput & {
|
|
15975
16646
|
readonly organizationProductOptionId?: string;
|
|
15976
16647
|
};
|
|
16648
|
+
type HistoryFilterInput<Status extends string> = {
|
|
16649
|
+
/** One status or several; omit for every status. */
|
|
16650
|
+
readonly statuses?: Status | ReadonlyArray<Status>;
|
|
16651
|
+
/** Only records started at or after this instant. */
|
|
16652
|
+
readonly from?: string | Date;
|
|
16653
|
+
/** Only records started at or before this instant. */
|
|
16654
|
+
readonly to?: string | Date;
|
|
16655
|
+
/** `newest` (default) or `oldest` first. */
|
|
16656
|
+
readonly sort?: "newest" | "oldest";
|
|
16657
|
+
};
|
|
16658
|
+
type ListSyncRunsInput = PageInput & HistoryFilterInput<OrganizationMemberSyncRun["status"]> & {
|
|
16659
|
+
readonly organizationId: string;
|
|
16660
|
+
readonly triggers?: OrganizationMemberSyncRun["triggerKind"] | ReadonlyArray<OrganizationMemberSyncRun["triggerKind"]>;
|
|
16661
|
+
/** Leave out successful runs that changed no members and reported no errors. */
|
|
16662
|
+
readonly hideUnchanged?: boolean;
|
|
16663
|
+
};
|
|
16664
|
+
type ListSourceCommandsInput = PageInput & HistoryFilterInput<OrganizationMemberSourceCommand["status"]> & {
|
|
16665
|
+
readonly organizationId: string;
|
|
16666
|
+
readonly kinds?: OrganizationMemberSourceCommand["kind"] | ReadonlyArray<OrganizationMemberSourceCommand["kind"]>;
|
|
16667
|
+
};
|
|
15977
16668
|
type PromiseSpokeClient = ReturnType<typeof makeSpokeClient>;
|
|
15978
16669
|
declare function makeSpokeClient(hubClient: PromiseHubApiClient): {
|
|
15979
16670
|
readonly offers: {
|
|
@@ -16447,6 +17138,24 @@ declare function makeSpokeClient(hubClient: PromiseHubApiClient): {
|
|
|
16447
17138
|
}>>;
|
|
16448
17139
|
};
|
|
16449
17140
|
readonly organizations: {
|
|
17141
|
+
readonly get: (input: {
|
|
17142
|
+
readonly organizationId: string;
|
|
17143
|
+
}) => Promise<SpokeHubResult<{
|
|
17144
|
+
readonly isDemo: boolean;
|
|
17145
|
+
readonly id: string;
|
|
17146
|
+
readonly slug: string;
|
|
17147
|
+
readonly name: string;
|
|
17148
|
+
readonly legalName: string | null;
|
|
17149
|
+
readonly timeZone: string | null;
|
|
17150
|
+
readonly status: "active" | "archived";
|
|
17151
|
+
readonly description: string | null;
|
|
17152
|
+
readonly externalReference: string | null;
|
|
17153
|
+
readonly products: readonly string[];
|
|
17154
|
+
readonly memberExpiryGracePeriodDays: number;
|
|
17155
|
+
readonly createdAt: string;
|
|
17156
|
+
readonly updatedAt: string;
|
|
17157
|
+
readonly deletedAt: string | null;
|
|
17158
|
+
}>>;
|
|
16450
17159
|
readonly capabilities: (input: {
|
|
16451
17160
|
readonly organizationId: string;
|
|
16452
17161
|
}) => Promise<SpokeHubResult<{
|
|
@@ -16472,6 +17181,11 @@ declare function makeSpokeClient(hubClient: PromiseHubApiClient): {
|
|
|
16472
17181
|
readonly enabled: boolean;
|
|
16473
17182
|
readonly reason: "not_configured" | "unsupported_provider" | "unsupported_transport" | "source_inactive" | "provider_inactive" | "agent_missing" | "agent_inactive" | "feature_disabled" | "agent_upgrade_required" | null;
|
|
16474
17183
|
};
|
|
17184
|
+
readonly memberCreateRequests: {
|
|
17185
|
+
readonly supported: boolean;
|
|
17186
|
+
readonly enabled: boolean;
|
|
17187
|
+
readonly reason: "not_configured" | "unsupported_provider" | "unsupported_transport" | "source_inactive" | "provider_inactive" | "agent_missing" | "agent_inactive" | "feature_disabled" | "agent_upgrade_required" | null;
|
|
17188
|
+
};
|
|
16475
17189
|
}>>;
|
|
16476
17190
|
readonly list: (input?: ListOrganizationsInput) => Promise<SpokeHubResult<{
|
|
16477
17191
|
readonly items: readonly {
|
|
@@ -16622,6 +17336,21 @@ declare function makeSpokeClient(hubClient: PromiseHubApiClient): {
|
|
|
16622
17336
|
};
|
|
16623
17337
|
readonly members: {
|
|
16624
17338
|
readonly list: (input: ListMembersInput) => Promise<SpokeHubResult<OrganizationMembersListResponse>>;
|
|
17339
|
+
/** Member counts for a venue, broken down by status. */
|
|
17340
|
+
readonly summary: (input: {
|
|
17341
|
+
readonly organizationId: string;
|
|
17342
|
+
}) => Promise<SpokeHubResult<{
|
|
17343
|
+
readonly organizationId: string;
|
|
17344
|
+
readonly total: number;
|
|
17345
|
+
readonly notArchived: number;
|
|
17346
|
+
readonly active: number;
|
|
17347
|
+
readonly suspended: number;
|
|
17348
|
+
readonly expired: number;
|
|
17349
|
+
readonly archived: number;
|
|
17350
|
+
readonly sourceManaged: number;
|
|
17351
|
+
readonly joinedLast30Days: number;
|
|
17352
|
+
readonly generatedAt: string;
|
|
17353
|
+
}>>;
|
|
16625
17354
|
readonly get: (input: GetMemberInput) => Promise<SpokeHubResult<{
|
|
16626
17355
|
readonly organizationId: string;
|
|
16627
17356
|
readonly status: "expired" | "active" | "archived" | "active-expired" | "suspended";
|
|
@@ -17241,6 +17970,107 @@ declare function makeSpokeClient(hubClient: PromiseHubApiClient): {
|
|
|
17241
17970
|
readonly totalPages: number;
|
|
17242
17971
|
}>>;
|
|
17243
17972
|
};
|
|
17973
|
+
/**
|
|
17974
|
+
* Requests a member, reusing a verified existing membership instead of creating a
|
|
17975
|
+
* duplicate. Expired matches return `renewal_required` unless `allowRenewalOnDuplicate`.
|
|
17976
|
+
*/
|
|
17977
|
+
readonly requestCreation: (input: {
|
|
17978
|
+
readonly organizationId: string;
|
|
17979
|
+
readonly payload: RequestMemberCreationInput;
|
|
17980
|
+
}) => Promise<SpokeHubResult<{
|
|
17981
|
+
readonly settled: boolean;
|
|
17982
|
+
readonly timedOut: boolean;
|
|
17983
|
+
readonly command: {
|
|
17984
|
+
readonly kind: "ensure_active_membership";
|
|
17985
|
+
readonly payload: {
|
|
17986
|
+
readonly idempotencyKey: string;
|
|
17987
|
+
readonly member: {
|
|
17988
|
+
readonly dob: string;
|
|
17989
|
+
readonly firstName: string;
|
|
17990
|
+
readonly lastName: string;
|
|
17991
|
+
readonly membershipTypeId: string;
|
|
17992
|
+
readonly title?: string | null | undefined;
|
|
17993
|
+
readonly email?: string | null | undefined;
|
|
17994
|
+
readonly gamingPermissions?: {
|
|
17995
|
+
readonly isGamingEnabled?: boolean | undefined;
|
|
17996
|
+
readonly isVenuePromotionsEnabled?: boolean | undefined;
|
|
17997
|
+
readonly isGamingPromotionsEnabled?: boolean | undefined;
|
|
17998
|
+
} | undefined;
|
|
17999
|
+
readonly middleName?: string | null | undefined;
|
|
18000
|
+
readonly gender?: string | null | undefined;
|
|
18001
|
+
readonly mobilePhone?: string | null | undefined;
|
|
18002
|
+
readonly homePhone?: string | null | undefined;
|
|
18003
|
+
readonly preferredContactMethod?: "sms" | "email" | null | undefined;
|
|
18004
|
+
readonly occupation?: string | null | undefined;
|
|
18005
|
+
readonly address?: {
|
|
18006
|
+
readonly line1?: string | null | undefined;
|
|
18007
|
+
readonly line2?: string | null | undefined;
|
|
18008
|
+
readonly suburb?: string | null | undefined;
|
|
18009
|
+
readonly state?: string | null | undefined;
|
|
18010
|
+
readonly postalCode?: string | null | undefined;
|
|
18011
|
+
readonly country?: string | null | undefined;
|
|
18012
|
+
} | null | undefined;
|
|
18013
|
+
readonly postalAddress?: {
|
|
18014
|
+
readonly line1?: string | null | undefined;
|
|
18015
|
+
readonly line2?: string | null | undefined;
|
|
18016
|
+
readonly suburb?: string | null | undefined;
|
|
18017
|
+
readonly state?: string | null | undefined;
|
|
18018
|
+
readonly postalCode?: string | null | undefined;
|
|
18019
|
+
readonly country?: string | null | undefined;
|
|
18020
|
+
} | null | undefined;
|
|
18021
|
+
readonly marketingPreferences?: {
|
|
18022
|
+
readonly sms?: boolean | undefined;
|
|
18023
|
+
readonly email?: boolean | undefined;
|
|
18024
|
+
readonly post?: boolean | undefined;
|
|
18025
|
+
readonly gamingEmail?: boolean | undefined;
|
|
18026
|
+
readonly gamingSms?: boolean | undefined;
|
|
18027
|
+
readonly gamingOptOut?: boolean | undefined;
|
|
18028
|
+
} | undefined;
|
|
18029
|
+
};
|
|
18030
|
+
readonly contractVersion?: 2 | undefined;
|
|
18031
|
+
readonly allowRenewalOnDuplicate?: boolean | undefined;
|
|
18032
|
+
readonly continuation?: {
|
|
18033
|
+
readonly action: "reconcile";
|
|
18034
|
+
readonly reviewCommandId: string;
|
|
18035
|
+
readonly requestedByActorId: string;
|
|
18036
|
+
readonly reason?: string | undefined;
|
|
18037
|
+
} | {
|
|
18038
|
+
readonly action: "authorize_renewal";
|
|
18039
|
+
readonly reviewCommandId: string;
|
|
18040
|
+
readonly requestedByActorId: string;
|
|
18041
|
+
readonly reason: string;
|
|
18042
|
+
readonly confirmedNotRenewed: true;
|
|
18043
|
+
} | undefined;
|
|
18044
|
+
};
|
|
18045
|
+
readonly result: {
|
|
18046
|
+
readonly outcome: "created" | "matched_active" | "renewed_existing";
|
|
18047
|
+
readonly memberId: string;
|
|
18048
|
+
readonly sourceStatus: "ACTIVE";
|
|
18049
|
+
readonly membershipTypeId: string;
|
|
18050
|
+
readonly membershipExpiry: string;
|
|
18051
|
+
} | {
|
|
18052
|
+
readonly outcome: "failed" | "ambiguous_identity_match" | "unsupported_source_status" | "indeterminate_membership_expiry" | "manual_review_required";
|
|
18053
|
+
} | {
|
|
18054
|
+
readonly outcome: "renewal_required";
|
|
18055
|
+
readonly memberId: string;
|
|
18056
|
+
readonly sourceStatus: "ACTIVE";
|
|
18057
|
+
readonly membershipTypeId: string;
|
|
18058
|
+
readonly membershipExpiry: string;
|
|
18059
|
+
} | null;
|
|
18060
|
+
readonly id: string;
|
|
18061
|
+
readonly organizationId: string;
|
|
18062
|
+
readonly organizationMemberSourceId: string;
|
|
18063
|
+
readonly organizationMemberSourceAgentId: string | null;
|
|
18064
|
+
readonly status: "requested" | "accepted" | "completed" | "failed";
|
|
18065
|
+
readonly errorMessage: string | null;
|
|
18066
|
+
readonly requestedAt: string;
|
|
18067
|
+
readonly acceptedAt: string | null;
|
|
18068
|
+
readonly completedAt: string | null;
|
|
18069
|
+
readonly createdAt: string;
|
|
18070
|
+
readonly updatedAt: string;
|
|
18071
|
+
readonly deletedAt: string | null;
|
|
18072
|
+
};
|
|
18073
|
+
}>>;
|
|
17244
18074
|
readonly sourceRequests: {
|
|
17245
18075
|
readonly ensureActive: (input: {
|
|
17246
18076
|
readonly organizationId: string;
|
|
@@ -17295,6 +18125,8 @@ declare function makeSpokeClient(hubClient: PromiseHubApiClient): {
|
|
|
17295
18125
|
readonly gamingOptOut?: boolean | undefined;
|
|
17296
18126
|
} | undefined;
|
|
17297
18127
|
};
|
|
18128
|
+
readonly contractVersion?: 2 | undefined;
|
|
18129
|
+
readonly allowRenewalOnDuplicate?: boolean | undefined;
|
|
17298
18130
|
readonly continuation?: {
|
|
17299
18131
|
readonly action: "reconcile";
|
|
17300
18132
|
readonly reviewCommandId: string;
|
|
@@ -17316,6 +18148,12 @@ declare function makeSpokeClient(hubClient: PromiseHubApiClient): {
|
|
|
17316
18148
|
readonly membershipExpiry: string;
|
|
17317
18149
|
} | {
|
|
17318
18150
|
readonly outcome: "failed" | "ambiguous_identity_match" | "unsupported_source_status" | "indeterminate_membership_expiry" | "manual_review_required";
|
|
18151
|
+
} | {
|
|
18152
|
+
readonly outcome: "renewal_required";
|
|
18153
|
+
readonly memberId: string;
|
|
18154
|
+
readonly sourceStatus: "ACTIVE";
|
|
18155
|
+
readonly membershipTypeId: string;
|
|
18156
|
+
readonly membershipExpiry: string;
|
|
17319
18157
|
} | null;
|
|
17320
18158
|
readonly id: string;
|
|
17321
18159
|
readonly organizationId: string;
|
|
@@ -17522,7 +18360,7 @@ declare function makeSpokeClient(hubClient: PromiseHubApiClient): {
|
|
|
17522
18360
|
readonly lastHeartbeatAt: string | null;
|
|
17523
18361
|
readonly lastVersion: string | null;
|
|
17524
18362
|
readonly lastError: string | null;
|
|
17525
|
-
readonly capabilities: readonly "ensure_active_membership"[];
|
|
18363
|
+
readonly capabilities: readonly ("ensure_active_membership" | "ensure_active_membership_v2")[];
|
|
17526
18364
|
readonly metadata: {
|
|
17527
18365
|
readonly [x: string]: unknown;
|
|
17528
18366
|
};
|
|
@@ -17573,7 +18411,7 @@ declare function makeSpokeClient(hubClient: PromiseHubApiClient): {
|
|
|
17573
18411
|
readonly lastHeartbeatAt: string | null;
|
|
17574
18412
|
readonly lastVersion: string | null;
|
|
17575
18413
|
readonly lastError: string | null;
|
|
17576
|
-
readonly capabilities: readonly "ensure_active_membership"[];
|
|
18414
|
+
readonly capabilities: readonly ("ensure_active_membership" | "ensure_active_membership_v2")[];
|
|
17577
18415
|
readonly metadata: {
|
|
17578
18416
|
readonly [x: string]: unknown;
|
|
17579
18417
|
};
|
|
@@ -17603,7 +18441,7 @@ declare function makeSpokeClient(hubClient: PromiseHubApiClient): {
|
|
|
17603
18441
|
readonly lastHeartbeatAt: string | null;
|
|
17604
18442
|
readonly lastVersion: string | null;
|
|
17605
18443
|
readonly lastError: string | null;
|
|
17606
|
-
readonly capabilities: readonly "ensure_active_membership"[];
|
|
18444
|
+
readonly capabilities: readonly ("ensure_active_membership" | "ensure_active_membership_v2")[];
|
|
17607
18445
|
readonly metadata: {
|
|
17608
18446
|
readonly [x: string]: unknown;
|
|
17609
18447
|
};
|
|
@@ -18004,9 +18842,7 @@ declare function makeSpokeClient(hubClient: PromiseHubApiClient): {
|
|
|
18004
18842
|
}>>;
|
|
18005
18843
|
};
|
|
18006
18844
|
readonly runs: {
|
|
18007
|
-
readonly list: (input:
|
|
18008
|
-
readonly organizationId: string;
|
|
18009
|
-
}) => Promise<SpokeHubResult<{
|
|
18845
|
+
readonly list: (input: ListSyncRunsInput) => Promise<SpokeHubResult<{
|
|
18010
18846
|
readonly items: readonly {
|
|
18011
18847
|
readonly id: string;
|
|
18012
18848
|
readonly organizationId: string;
|
|
@@ -18137,9 +18973,7 @@ declare function makeSpokeClient(hubClient: PromiseHubApiClient): {
|
|
|
18137
18973
|
}>>;
|
|
18138
18974
|
};
|
|
18139
18975
|
readonly commands: {
|
|
18140
|
-
readonly list: (input:
|
|
18141
|
-
readonly organizationId: string;
|
|
18142
|
-
}) => Promise<SpokeHubResult<{
|
|
18976
|
+
readonly list: (input: ListSourceCommandsInput) => Promise<SpokeHubResult<{
|
|
18143
18977
|
readonly items: readonly {
|
|
18144
18978
|
readonly id: string;
|
|
18145
18979
|
readonly organizationId: string;
|
|
@@ -18166,6 +19000,30 @@ declare function makeSpokeClient(hubClient: PromiseHubApiClient): {
|
|
|
18166
19000
|
readonly pageSize: number;
|
|
18167
19001
|
readonly totalPages: number;
|
|
18168
19002
|
}>>;
|
|
19003
|
+
readonly get: (input: {
|
|
19004
|
+
readonly organizationId: string;
|
|
19005
|
+
readonly commandId: string;
|
|
19006
|
+
}) => Promise<SpokeHubResult<{
|
|
19007
|
+
readonly id: string;
|
|
19008
|
+
readonly organizationId: string;
|
|
19009
|
+
readonly organizationMemberSourceId: string;
|
|
19010
|
+
readonly organizationMemberSourceAgentId: string | null;
|
|
19011
|
+
readonly kind: "ensure_active_membership" | "create_member" | "update_member" | "update_preferences" | "renew_member" | "lookup_member" | "list_custom_fields" | "lookup_reference_data";
|
|
19012
|
+
readonly status: "requested" | "accepted" | "completed" | "failed";
|
|
19013
|
+
readonly payload: {
|
|
19014
|
+
readonly [x: string]: unknown;
|
|
19015
|
+
};
|
|
19016
|
+
readonly result: {
|
|
19017
|
+
readonly [x: string]: unknown;
|
|
19018
|
+
} | null;
|
|
19019
|
+
readonly errorMessage: string | null;
|
|
19020
|
+
readonly requestedAt: string;
|
|
19021
|
+
readonly acceptedAt: string | null;
|
|
19022
|
+
readonly completedAt: string | null;
|
|
19023
|
+
readonly createdAt: string;
|
|
19024
|
+
readonly updatedAt: string;
|
|
19025
|
+
readonly deletedAt: string | null;
|
|
19026
|
+
}>>;
|
|
18169
19027
|
};
|
|
18170
19028
|
};
|
|
18171
19029
|
readonly points: {
|
|
@@ -19037,6 +19895,8 @@ declare function makeSpokeClient(hubClient: PromiseHubApiClient): {
|
|
|
19037
19895
|
readonly gamingOptOut?: boolean | undefined;
|
|
19038
19896
|
} | undefined;
|
|
19039
19897
|
};
|
|
19898
|
+
readonly contractVersion?: 2 | undefined;
|
|
19899
|
+
readonly allowRenewalOnDuplicate?: boolean | undefined;
|
|
19040
19900
|
readonly continuation?: {
|
|
19041
19901
|
readonly action: "reconcile";
|
|
19042
19902
|
readonly reviewCommandId: string;
|
|
@@ -19058,6 +19918,12 @@ declare function makeSpokeClient(hubClient: PromiseHubApiClient): {
|
|
|
19058
19918
|
readonly membershipExpiry: string;
|
|
19059
19919
|
} | {
|
|
19060
19920
|
readonly outcome: "failed" | "ambiguous_identity_match" | "unsupported_source_status" | "indeterminate_membership_expiry" | "manual_review_required";
|
|
19921
|
+
} | {
|
|
19922
|
+
readonly outcome: "renewal_required";
|
|
19923
|
+
readonly memberId: string;
|
|
19924
|
+
readonly sourceStatus: "ACTIVE";
|
|
19925
|
+
readonly membershipTypeId: string;
|
|
19926
|
+
readonly membershipExpiry: string;
|
|
19061
19927
|
} | null;
|
|
19062
19928
|
readonly id: string;
|
|
19063
19929
|
readonly organizationId: string;
|
|
@@ -19130,6 +19996,8 @@ declare function makeSpokeClient(hubClient: PromiseHubApiClient): {
|
|
|
19130
19996
|
readonly gamingOptOut?: boolean | undefined;
|
|
19131
19997
|
} | undefined;
|
|
19132
19998
|
};
|
|
19999
|
+
readonly contractVersion?: 2 | undefined;
|
|
20000
|
+
readonly allowRenewalOnDuplicate?: boolean | undefined;
|
|
19133
20001
|
readonly continuation?: {
|
|
19134
20002
|
readonly action: "reconcile";
|
|
19135
20003
|
readonly reviewCommandId: string;
|
|
@@ -19151,6 +20019,12 @@ declare function makeSpokeClient(hubClient: PromiseHubApiClient): {
|
|
|
19151
20019
|
readonly membershipExpiry: string;
|
|
19152
20020
|
} | {
|
|
19153
20021
|
readonly outcome: "failed" | "ambiguous_identity_match" | "unsupported_source_status" | "indeterminate_membership_expiry" | "manual_review_required";
|
|
20022
|
+
} | {
|
|
20023
|
+
readonly outcome: "renewal_required";
|
|
20024
|
+
readonly memberId: string;
|
|
20025
|
+
readonly sourceStatus: "ACTIVE";
|
|
20026
|
+
readonly membershipTypeId: string;
|
|
20027
|
+
readonly membershipExpiry: string;
|
|
19154
20028
|
} | null;
|
|
19155
20029
|
readonly id: string;
|
|
19156
20030
|
readonly organizationId: string;
|
|
@@ -19250,6 +20124,8 @@ declare function makeSpokeClient(hubClient: PromiseHubApiClient): {
|
|
|
19250
20124
|
readonly gamingOptOut?: boolean | undefined;
|
|
19251
20125
|
} | undefined;
|
|
19252
20126
|
};
|
|
20127
|
+
readonly contractVersion?: 2 | undefined;
|
|
20128
|
+
readonly allowRenewalOnDuplicate?: boolean | undefined;
|
|
19253
20129
|
readonly continuation?: {
|
|
19254
20130
|
readonly action: "reconcile";
|
|
19255
20131
|
readonly reviewCommandId: string;
|
|
@@ -19271,6 +20147,12 @@ declare function makeSpokeClient(hubClient: PromiseHubApiClient): {
|
|
|
19271
20147
|
readonly membershipExpiry: string;
|
|
19272
20148
|
} | {
|
|
19273
20149
|
readonly outcome: "failed" | "ambiguous_identity_match" | "unsupported_source_status" | "indeterminate_membership_expiry" | "manual_review_required";
|
|
20150
|
+
} | {
|
|
20151
|
+
readonly outcome: "renewal_required";
|
|
20152
|
+
readonly memberId: string;
|
|
20153
|
+
readonly sourceStatus: "ACTIVE";
|
|
20154
|
+
readonly membershipTypeId: string;
|
|
20155
|
+
readonly membershipExpiry: string;
|
|
19274
20156
|
} | null;
|
|
19275
20157
|
readonly id: string;
|
|
19276
20158
|
readonly organizationId: string;
|
|
@@ -19370,6 +20252,8 @@ declare function makeSpokeClient(hubClient: PromiseHubApiClient): {
|
|
|
19370
20252
|
readonly gamingOptOut?: boolean | undefined;
|
|
19371
20253
|
} | undefined;
|
|
19372
20254
|
};
|
|
20255
|
+
readonly contractVersion?: 2 | undefined;
|
|
20256
|
+
readonly allowRenewalOnDuplicate?: boolean | undefined;
|
|
19373
20257
|
readonly continuation?: {
|
|
19374
20258
|
readonly action: "reconcile";
|
|
19375
20259
|
readonly reviewCommandId: string;
|
|
@@ -19391,6 +20275,12 @@ declare function makeSpokeClient(hubClient: PromiseHubApiClient): {
|
|
|
19391
20275
|
readonly membershipExpiry: string;
|
|
19392
20276
|
} | {
|
|
19393
20277
|
readonly outcome: "failed" | "ambiguous_identity_match" | "unsupported_source_status" | "indeterminate_membership_expiry" | "manual_review_required";
|
|
20278
|
+
} | {
|
|
20279
|
+
readonly outcome: "renewal_required";
|
|
20280
|
+
readonly memberId: string;
|
|
20281
|
+
readonly sourceStatus: "ACTIVE";
|
|
20282
|
+
readonly membershipTypeId: string;
|
|
20283
|
+
readonly membershipExpiry: string;
|
|
19394
20284
|
} | null;
|
|
19395
20285
|
readonly id: string;
|
|
19396
20286
|
readonly organizationId: string;
|
|
@@ -19491,6 +20381,8 @@ declare function makeSpokeClient(hubClient: PromiseHubApiClient): {
|
|
|
19491
20381
|
readonly gamingOptOut?: boolean | undefined;
|
|
19492
20382
|
} | undefined;
|
|
19493
20383
|
};
|
|
20384
|
+
readonly contractVersion?: 2 | undefined;
|
|
20385
|
+
readonly allowRenewalOnDuplicate?: boolean | undefined;
|
|
19494
20386
|
readonly continuation?: {
|
|
19495
20387
|
readonly action: "reconcile";
|
|
19496
20388
|
readonly reviewCommandId: string;
|
|
@@ -19512,6 +20404,12 @@ declare function makeSpokeClient(hubClient: PromiseHubApiClient): {
|
|
|
19512
20404
|
readonly membershipExpiry: string;
|
|
19513
20405
|
} | {
|
|
19514
20406
|
readonly outcome: "failed" | "ambiguous_identity_match" | "unsupported_source_status" | "indeterminate_membership_expiry" | "manual_review_required";
|
|
20407
|
+
} | {
|
|
20408
|
+
readonly outcome: "renewal_required";
|
|
20409
|
+
readonly memberId: string;
|
|
20410
|
+
readonly sourceStatus: "ACTIVE";
|
|
20411
|
+
readonly membershipTypeId: string;
|
|
20412
|
+
readonly membershipExpiry: string;
|
|
19515
20413
|
} | null;
|
|
19516
20414
|
readonly id: string;
|
|
19517
20415
|
readonly organizationId: string;
|
|
@@ -19877,6 +20775,8 @@ declare function makeSpokeClient(hubClient: PromiseHubApiClient): {
|
|
|
19877
20775
|
readonly gamingOptOut?: boolean | undefined;
|
|
19878
20776
|
} | undefined;
|
|
19879
20777
|
};
|
|
20778
|
+
readonly contractVersion?: 2 | undefined;
|
|
20779
|
+
readonly allowRenewalOnDuplicate?: boolean | undefined;
|
|
19880
20780
|
readonly continuation?: {
|
|
19881
20781
|
readonly action: "reconcile";
|
|
19882
20782
|
readonly reviewCommandId: string;
|
|
@@ -19898,6 +20798,12 @@ declare function makeSpokeClient(hubClient: PromiseHubApiClient): {
|
|
|
19898
20798
|
readonly membershipExpiry: string;
|
|
19899
20799
|
} | {
|
|
19900
20800
|
readonly outcome: "failed" | "ambiguous_identity_match" | "unsupported_source_status" | "indeterminate_membership_expiry" | "manual_review_required";
|
|
20801
|
+
} | {
|
|
20802
|
+
readonly outcome: "renewal_required";
|
|
20803
|
+
readonly memberId: string;
|
|
20804
|
+
readonly sourceStatus: "ACTIVE";
|
|
20805
|
+
readonly membershipTypeId: string;
|
|
20806
|
+
readonly membershipExpiry: string;
|
|
19901
20807
|
} | null;
|
|
19902
20808
|
readonly id: string;
|
|
19903
20809
|
readonly organizationId: string;
|
|
@@ -20020,4 +20926,4 @@ declare const makePromiseSpokeClient: (options: HubApiCredentialOptions) => Prom
|
|
|
20020
20926
|
readonly hubClient: PromiseHubApiClient;
|
|
20021
20927
|
}>;
|
|
20022
20928
|
|
|
20023
|
-
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 CatalogueOffer, type CatalogueOfferBenefit, CatalogueOfferBenefitSchema, CatalogueOfferSchema, type ClaimOfferInput, ClaimOfferSchema, type CleanupOrganizationMembersInput, CleanupOrganizationMembersSchema, type CompleteOnsitePointCommandInput, CompleteOnsitePointCommandSchema, type CompleteOnsiteVoucherCommandInput, CompleteOnsiteVoucherCommandSchema, type ConfirmRewardCollectionInput, ConfirmRewardCollectionSchema, type ConflictError, ConflictErrorSchema, type ConvertOrganizationToDemoInput, ConvertOrganizationToDemoSchema, type CreateGuestInput, CreateGuestSchema, type CreateMemberInput, CreateMemberSchema, type CreateOfferInput, CreateOfferSchema, 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 CreateRewardLocationInput, CreateRewardLocationSchema, 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, GamingPermissionsSchema, type GreengrassAgentDevice, GreengrassAgentDeviceSchema, type GreengrassAgentUpdate, GreengrassAgentUpdateSchema, type Guest, type GuestContactMatch, GuestContactMatchSchema, GuestSchema, HubApi, type HubApiClient, type HubApiClientOptions, type HubApiCredentialOptions, type ImportedMemberRecord, ImportedMemberRecordSchema, type InternalServerError, InternalServerErrorSchema, IssuedPrivateKeySchema, type MailchimpSettingsInput, MailchimpSettingsInputSchema, type MailchimpSettingsResponse, MailchimpSettingsSchema, MarketingPreferencesSchema, type Member, type MemberBasic, type MemberBasicResponse, MemberBasicResponseSchema, MemberBasicSchema, type MemberCleanupResult, MemberCleanupResultSchema, type MemberContactMatch, MemberContactMatchSchema, type MemberFullResponse, MemberFullResponseSchema, type MemberMed, type MemberMedResponse, MemberMedResponseSchema, MemberMedSchema, type MemberPointBalance, MemberPointBalanceSchema, type MemberPointBalancesResponse, MemberPointBalancesResponseSchema, type MemberResponse, type MemberResponseMode, MemberResponseModeSchema, MemberResponseSchema, type MemberReward, MemberRewardSchema, MemberSchema, type MemberSeedBatch, MemberSeedBatchSchema, MemberSourceSecretNameSchema, type MemberStatusCredits, MemberStatusCreditsSchema, type NexusReferenceDataRequest, NexusReferenceDataRequestSchema, type NotFoundError, NotFoundErrorSchema, type Offer, type OfferBenefit, OfferBenefitSchema, type OfferEligibility, OfferEligibilitySchema, OfferSchema, OfferStatusSchema, type OnsiteAgentCommand, OnsiteAgentCommandSchema, type OnsiteAgentCompleteCustomFieldsInput, OnsiteAgentCompleteCustomFieldsSchema, type OnsiteAgentCompleteEnsureActiveMembershipInput, OnsiteAgentCompleteEnsureActiveMembershipSchema, type OnsiteAgentCompleteMemberCreateInput, OnsiteAgentCompleteMemberCreateSchema, type OnsiteAgentCompleteMemberLookupInput, OnsiteAgentCompleteMemberLookupSchema, type OnsiteAgentCompleteMemberRenewalInput, OnsiteAgentCompleteMemberRenewalSchema, type OnsiteAgentCompleteMemberUpdateInput, OnsiteAgentCompleteMemberUpdateSchema, type OnsiteAgentCompleteReferenceDataInput, OnsiteAgentCompleteReferenceDataSchema, 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 OnsiteAgentReferenceDataCommand, OnsiteAgentReferenceDataCommandSchema, 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 PaginatedOrganizationVoucherCommands, PaginatedOrganizationVoucherCommandsSchema, type PaginatedOrganizations, PaginatedOrganizationsSchema, type PaginatedServiceClients, PaginatedServiceClientsSchema, PhysicalRewardBenefitSchema, PointExecutionEvidenceSchema, type PointExecutionState, PointExecutionStateSchema, PointReadinessSchema, 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, RetryVoucherCommandSchema, type RevokeRewardInput, RevokeRewardSchema, type RewardCollectionLookup, RewardCollectionLookupSchema, type RewardLocation, RewardLocationSchema, type RewardMemberSession, type RewardMemberSessionInput, RewardMemberSessionInputSchema, RewardMemberSessionSchema, type RewardPresentation, RewardPresentationSchema, 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, type StaffReward, StaffRewardSchema, TimestampSchema, type TriggerOrganizationMemberSyncInput, TriggerOrganizationMemberSyncSchema, type UnauthorizedError, UnauthorizedErrorSchema, type UpdateGreengrassAgentInput, UpdateGreengrassAgentSchema, type UpdateGuestInput, UpdateGuestSchema, type UpdateMemberInput, UpdateMemberSchema, type UpdateMemberStatusCreditsInput, UpdateMemberStatusCreditsSchema, type UpdateOfferInput, UpdateOfferSchema, type UpdateOrganizationInput, type UpdateOrganizationPointTypeInput, UpdateOrganizationPointTypeSchema, type UpdateOrganizationProductWebhookInput, UpdateOrganizationProductWebhookSchema, UpdateOrganizationSchema, type UpdateRewardLocationInput, UpdateRewardLocationSchema, 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, isStaleAcceptedVoucherCommand, makeBadRequest, makeConflict, makeForbidden, makeHubApiClient, makeInternalServerError, makeNotFound, makeOnsiteResourceClient, makePromiseHubApiClient, makePromiseOnsiteResourceClient, makePromiseServiceHubApiClient, makePromiseSpokeClient, makeServiceHubApiClient, makeSpokeClient, makeUnauthorized, memberComputedStatuses, memberCreatedOrigins, memberPreferredContactMethods, memberRecordModes, memberSourceEnsureActiveMembershipEnabled, memberStatuses, offersGroup, 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, rewardsGroup, voucherCommandRecoveryDelayMs };
|
|
20929
|
+
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 CatalogueOffer, type CatalogueOfferBenefit, CatalogueOfferBenefitSchema, CatalogueOfferSchema, type ClaimOfferInput, ClaimOfferSchema, type CleanupOrganizationMembersInput, CleanupOrganizationMembersSchema, type CompleteOnsitePointCommandInput, CompleteOnsitePointCommandSchema, type CompleteOnsiteVoucherCommandInput, CompleteOnsiteVoucherCommandSchema, type ConfirmRewardCollectionInput, ConfirmRewardCollectionSchema, type ConflictError, ConflictErrorSchema, type ConvertOrganizationToDemoInput, ConvertOrganizationToDemoSchema, type CreateGuestInput, CreateGuestSchema, type CreateMemberInput, CreateMemberSchema, type CreateOfferInput, CreateOfferSchema, 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 CreateRewardLocationInput, CreateRewardLocationSchema, type CreateServiceClientInput, CreateServiceClientSchema, type CsvUploadReadiness, CsvUploadReadinessSchema, DateOnlySchema, type DeleteOrganizationInitialMembershipUploadResponse, DeleteOrganizationInitialMembershipUploadResponseSchema, type DeletePayload, DeletePayloadSchema, type DeleteServiceClientInput, DeleteServiceClientSchema, type EnsureActiveMembershipCommand, type EnsureActiveMembershipCommandPayload, EnsureActiveMembershipCommandPayloadSchema, EnsureActiveMembershipCommandSchema, EnsureActiveMembershipContractVersionSchema, type EnsureActiveMembershipManualReviewItem, EnsureActiveMembershipManualReviewItemSchema, type EnsureActiveMembershipManualReviewQueue, EnsureActiveMembershipManualReviewQueueSchema, type EnsureActiveMembershipMemberInput, EnsureActiveMembershipMemberSchema, EnsureActiveMembershipNonSuccessOutcomeSchema, type EnsureActiveMembershipNonSuccessResult, EnsureActiveMembershipNonSuccessResultSchema, type EnsureActiveMembershipOutcome, EnsureActiveMembershipOutcomeSchema, type EnsureActiveMembershipRenewalRequiredResult, EnsureActiveMembershipRenewalRequiredResultSchema, type EnsureActiveMembershipResponse, EnsureActiveMembershipResponseSchema, type EnsureActiveMembershipResult, EnsureActiveMembershipResultSchema, EnsureActiveMembershipSuccessOutcomeSchema, type EnsureActiveMembershipSuccessResult, EnsureActiveMembershipSuccessResultSchema, type EnsureActiveMembershipWorkflowProgress, EnsureActiveMembershipWorkflowProgressSchema, EnsureActiveMembershipWorkflowStepSchema, type EnsureActiveMembershipWorkflowStepState, EnsureActiveMembershipWorkflowStepStateSchema, type ForbiddenError, ForbiddenErrorSchema, GamingPermissionsSchema, type GreengrassAgentDevice, GreengrassAgentDeviceSchema, type GreengrassAgentUpdate, GreengrassAgentUpdateSchema, type Guest, type GuestContactMatch, GuestContactMatchSchema, GuestSchema, HubApi, type HubApiClient, type HubApiClientOptions, type HubApiCredentialOptions, type ImportedMemberRecord, ImportedMemberRecordSchema, type InternalServerError, InternalServerErrorSchema, IssuedPrivateKeySchema, type MailchimpSettingsInput, MailchimpSettingsInputSchema, type MailchimpSettingsResponse, MailchimpSettingsSchema, MarketingPreferencesSchema, type Member, type MemberBasic, type MemberBasicResponse, MemberBasicResponseSchema, MemberBasicSchema, type MemberCleanupResult, MemberCleanupResultSchema, type MemberContactMatch, MemberContactMatchSchema, type MemberFullResponse, MemberFullResponseSchema, type MemberMed, type MemberMedResponse, MemberMedResponseSchema, MemberMedSchema, type MemberPointBalance, MemberPointBalanceSchema, type MemberPointBalancesResponse, MemberPointBalancesResponseSchema, type MemberReplacementStatus, MemberReplacementStatusSchema, type MemberResponse, type MemberResponseMode, MemberResponseModeSchema, MemberResponseSchema, type MemberReward, MemberRewardSchema, MemberSchema, type MemberSeedBatch, MemberSeedBatchSchema, MemberSourceSecretNameSchema, type MemberStatusCredits, MemberStatusCreditsSchema, type NexusReferenceDataRequest, NexusReferenceDataRequestSchema, type NotFoundError, NotFoundErrorSchema, type Offer, type OfferBenefit, OfferBenefitSchema, type OfferEligibility, OfferEligibilitySchema, OfferSchema, OfferStatusSchema, type OnsiteAgentCommand, OnsiteAgentCommandSchema, type OnsiteAgentCompleteCustomFieldsInput, OnsiteAgentCompleteCustomFieldsSchema, type OnsiteAgentCompleteEnsureActiveMembershipInput, OnsiteAgentCompleteEnsureActiveMembershipSchema, type OnsiteAgentCompleteMemberCreateInput, OnsiteAgentCompleteMemberCreateSchema, type OnsiteAgentCompleteMemberLookupInput, OnsiteAgentCompleteMemberLookupSchema, type OnsiteAgentCompleteMemberRenewalInput, OnsiteAgentCompleteMemberRenewalSchema, type OnsiteAgentCompleteMemberUpdateInput, OnsiteAgentCompleteMemberUpdateSchema, type OnsiteAgentCompleteReferenceDataInput, OnsiteAgentCompleteReferenceDataSchema, 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 OnsiteAgentReferenceDataCommand, OnsiteAgentReferenceDataCommandSchema, 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 OrganizationMemberSummary, OrganizationMemberSummarySchema, 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 PaginatedOrganizationVoucherCommands, PaginatedOrganizationVoucherCommandsSchema, type PaginatedOrganizations, PaginatedOrganizationsSchema, type PaginatedServiceClients, PaginatedServiceClientsSchema, PhysicalRewardBenefitSchema, PointExecutionEvidenceSchema, type PointExecutionState, PointExecutionStateSchema, PointReadinessSchema, type PointRequestMetadataInput, PointRequestMetadataSchema, PresignedPostSchema, type PromiseClient, type PromiseHubApiClient, type PromiseSpokeClient, type ReconcileEnsureActiveMembershipManualReviewInput, ReconcileEnsureActiveMembershipManualReviewSchema, type RequestEnsureActiveMembershipInput, RequestEnsureActiveMembershipSchema, type RequestMemberCreationInput, RequestMemberCreationSchema, type RequestPointDebitInput, RequestPointDebitSchema, type RequestPointLookupInput, RequestPointLookupSchema, type RequestSourceManagedMemberCreateInput, RequestSourceManagedMemberCreateSchema, type RequestSourceManagedMemberPreferenceUpdateInput, RequestSourceManagedMemberPreferenceUpdateSchema, type RequestSourceManagedMemberRenewalInput, RequestSourceManagedMemberRenewalSchema, type RequestSourceManagedMemberUpdateInput, RequestSourceManagedMemberUpdateSchema, type RequestVoucherIssueInput, RequestVoucherIssueSchema, type RequestVoucherLookupInput, RequestVoucherLookupSchema, RetryVoucherCommandSchema, type RevokeRewardInput, RevokeRewardSchema, type RewardCollectionLookup, RewardCollectionLookupSchema, type RewardLocation, RewardLocationSchema, type RewardMemberSession, type RewardMemberSessionInput, RewardMemberSessionInputSchema, RewardMemberSessionSchema, type RewardPresentation, RewardPresentationSchema, 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, type StaffReward, StaffRewardSchema, TimestampSchema, type TriggerOrganizationMemberSyncInput, TriggerOrganizationMemberSyncSchema, type UnauthorizedError, UnauthorizedErrorSchema, type UpdateGreengrassAgentInput, UpdateGreengrassAgentSchema, type UpdateGuestInput, UpdateGuestSchema, type UpdateMemberInput, UpdateMemberSchema, type UpdateMemberStatusCreditsInput, UpdateMemberStatusCreditsSchema, type UpdateOfferInput, UpdateOfferSchema, type UpdateOrganizationInput, type UpdateOrganizationPointTypeInput, UpdateOrganizationPointTypeSchema, type UpdateOrganizationProductWebhookInput, UpdateOrganizationProductWebhookSchema, UpdateOrganizationSchema, type UpdateRewardLocationInput, UpdateRewardLocationSchema, 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, isStaleAcceptedVoucherCommand, makeBadRequest, makeConflict, makeForbidden, makeHubApiClient, makeInternalServerError, makeNotFound, makeOnsiteResourceClient, makePromiseHubApiClient, makePromiseOnsiteResourceClient, makePromiseServiceHubApiClient, makePromiseSpokeClient, makeServiceHubApiClient, makeSpokeClient, makeUnauthorized, memberComputedStatuses, memberCreatedOrigins, memberPreferredContactMethods, memberRecordModes, memberSourceEnsureActiveMembershipEnabled, memberStatuses, offersGroup, 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, rewardsGroup, voucherCommandRecoveryDelayMs };
|