@spoketech/hub-client 0.5.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 +66 -1
- package/dist/index.d.ts +715 -19
- package/dist/index.js +69 -2
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -2828,7 +2828,7 @@ declare const OrganizationMemberSourceAgentSchema: Schema.Struct<{
|
|
|
2828
2828
|
readonly lastHeartbeatAt: Schema.Union<readonly [Schema.String, Schema.Null]>;
|
|
2829
2829
|
readonly lastVersion: Schema.Union<readonly [Schema.String, Schema.Null]>;
|
|
2830
2830
|
readonly lastError: Schema.Union<readonly [Schema.String, Schema.Null]>;
|
|
2831
|
-
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>>;
|
|
2832
2832
|
readonly metadata: Schema.$Record<Schema.String, Schema.Unknown>;
|
|
2833
2833
|
readonly createdAt: Schema.String;
|
|
2834
2834
|
readonly updatedAt: Schema.String;
|
|
@@ -2867,6 +2867,12 @@ declare const OrganizationCapabilitiesSchema: Schema.Struct<{
|
|
|
2867
2867
|
readonly enabled: Schema.Boolean;
|
|
2868
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]>;
|
|
2869
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
|
+
}>;
|
|
2870
2876
|
}>;
|
|
2871
2877
|
declare const OrganizationMemberSourceSchema: Schema.Struct<{
|
|
2872
2878
|
readonly id: Schema.String;
|
|
@@ -2901,7 +2907,7 @@ declare const OrganizationMemberSourceSchema: Schema.Struct<{
|
|
|
2901
2907
|
readonly lastHeartbeatAt: Schema.Union<readonly [Schema.String, Schema.Null]>;
|
|
2902
2908
|
readonly lastVersion: Schema.Union<readonly [Schema.String, Schema.Null]>;
|
|
2903
2909
|
readonly lastError: Schema.Union<readonly [Schema.String, Schema.Null]>;
|
|
2904
|
-
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>>;
|
|
2905
2911
|
readonly metadata: Schema.$Record<Schema.String, Schema.Unknown>;
|
|
2906
2912
|
readonly createdAt: Schema.String;
|
|
2907
2913
|
readonly updatedAt: Schema.String;
|
|
@@ -3116,7 +3122,7 @@ declare const OrganizationMemberSourceCommandSchema: Schema.Struct<{
|
|
|
3116
3122
|
}>;
|
|
3117
3123
|
declare const EnsureActiveMembershipSuccessOutcomeSchema: Schema.Literals<readonly ["created", "matched_active", "renewed_existing"]>;
|
|
3118
3124
|
declare const EnsureActiveMembershipNonSuccessOutcomeSchema: Schema.Literals<readonly ["ambiguous_identity_match", "unsupported_source_status", "indeterminate_membership_expiry", "manual_review_required", "failed"]>;
|
|
3119
|
-
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"]>;
|
|
3120
3126
|
declare const EnsureActiveMembershipSuccessResultSchema: Schema.Struct<{
|
|
3121
3127
|
readonly outcome: Schema.Literals<readonly ["created", "matched_active", "renewed_existing"]>;
|
|
3122
3128
|
readonly memberId: Schema.String;
|
|
@@ -3127,12 +3133,29 @@ declare const EnsureActiveMembershipSuccessResultSchema: Schema.Struct<{
|
|
|
3127
3133
|
declare const EnsureActiveMembershipNonSuccessResultSchema: Schema.Struct<{
|
|
3128
3134
|
readonly outcome: Schema.Literals<readonly ["ambiguous_identity_match", "unsupported_source_status", "indeterminate_membership_expiry", "manual_review_required", "failed"]>;
|
|
3129
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
|
+
}>;
|
|
3130
3147
|
declare const EnsureActiveMembershipResultSchema: Schema.Union<readonly [Schema.Struct<{
|
|
3131
3148
|
readonly outcome: Schema.Literals<readonly ["created", "matched_active", "renewed_existing"]>;
|
|
3132
3149
|
readonly memberId: Schema.String;
|
|
3133
3150
|
readonly sourceStatus: Schema.Literal<"ACTIVE">;
|
|
3134
3151
|
readonly membershipTypeId: Schema.String;
|
|
3135
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;
|
|
3136
3159
|
}>, Schema.Struct<{
|
|
3137
3160
|
readonly outcome: Schema.Literals<readonly ["ambiguous_identity_match", "unsupported_source_status", "indeterminate_membership_expiry", "manual_review_required", "failed"]>;
|
|
3138
3161
|
}>]>;
|
|
@@ -3641,7 +3664,7 @@ declare const BootstrapOrganizationMemberSourceAgentResponseSchema: Schema.Struc
|
|
|
3641
3664
|
readonly lastHeartbeatAt: Schema.Union<readonly [Schema.String, Schema.Null]>;
|
|
3642
3665
|
readonly lastVersion: Schema.Union<readonly [Schema.String, Schema.Null]>;
|
|
3643
3666
|
readonly lastError: Schema.Union<readonly [Schema.String, Schema.Null]>;
|
|
3644
|
-
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>>;
|
|
3645
3668
|
readonly metadata: Schema.$Record<Schema.String, Schema.Unknown>;
|
|
3646
3669
|
readonly createdAt: Schema.String;
|
|
3647
3670
|
readonly updatedAt: Schema.String;
|
|
@@ -3777,7 +3800,15 @@ declare const EnsureActiveMembershipMemberSchema: Schema.Struct<{
|
|
|
3777
3800
|
readonly isGamingPromotionsEnabled: Schema.optional<Schema.Boolean>;
|
|
3778
3801
|
}>>;
|
|
3779
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>;
|
|
3780
3809
|
declare const EnsureActiveMembershipCommandPayloadSchema: Schema.Struct<{
|
|
3810
|
+
readonly contractVersion: Schema.optional<Schema.Literal<2>>;
|
|
3811
|
+
readonly allowRenewalOnDuplicate: Schema.optional<Schema.Boolean>;
|
|
3781
3812
|
readonly idempotencyKey: Schema.String;
|
|
3782
3813
|
readonly member: Schema.Struct<{
|
|
3783
3814
|
readonly email: Schema.optional<Schema.Union<readonly [Schema.String, Schema.Null]>>;
|
|
@@ -3941,6 +3972,54 @@ declare const RequestEnsureActiveMembershipSchema: Schema.Struct<{
|
|
|
3941
3972
|
}>>;
|
|
3942
3973
|
}>;
|
|
3943
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
|
+
}>;
|
|
3944
4023
|
declare const EnsureActiveMembershipManualReviewItemSchema: Schema.Struct<{
|
|
3945
4024
|
readonly workflowId: Schema.String;
|
|
3946
4025
|
readonly commandId: Schema.String;
|
|
@@ -3998,6 +4077,8 @@ declare const AuthorizeEnsureActiveMembershipRenewalSchema: Schema.Struct<{
|
|
|
3998
4077
|
declare const EnsureActiveMembershipCommandSchema: Schema.Struct<{
|
|
3999
4078
|
readonly kind: Schema.Literal<"ensure_active_membership">;
|
|
4000
4079
|
readonly payload: Schema.Struct<{
|
|
4080
|
+
readonly contractVersion: Schema.optional<Schema.Literal<2>>;
|
|
4081
|
+
readonly allowRenewalOnDuplicate: Schema.optional<Schema.Boolean>;
|
|
4001
4082
|
readonly idempotencyKey: Schema.String;
|
|
4002
4083
|
readonly member: Schema.Struct<{
|
|
4003
4084
|
readonly email: Schema.optional<Schema.Union<readonly [Schema.String, Schema.Null]>>;
|
|
@@ -4061,6 +4142,12 @@ declare const EnsureActiveMembershipCommandSchema: Schema.Struct<{
|
|
|
4061
4142
|
readonly sourceStatus: Schema.Literal<"ACTIVE">;
|
|
4062
4143
|
readonly membershipTypeId: Schema.String;
|
|
4063
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;
|
|
4064
4151
|
}>, Schema.Struct<{
|
|
4065
4152
|
readonly outcome: Schema.Literals<readonly ["ambiguous_identity_match", "unsupported_source_status", "indeterminate_membership_expiry", "manual_review_required", "failed"]>;
|
|
4066
4153
|
}>]>, Schema.Null]>;
|
|
@@ -4083,6 +4170,8 @@ declare const EnsureActiveMembershipResponseSchema: Schema.Struct<{
|
|
|
4083
4170
|
readonly command: Schema.Struct<{
|
|
4084
4171
|
readonly kind: Schema.Literal<"ensure_active_membership">;
|
|
4085
4172
|
readonly payload: Schema.Struct<{
|
|
4173
|
+
readonly contractVersion: Schema.optional<Schema.Literal<2>>;
|
|
4174
|
+
readonly allowRenewalOnDuplicate: Schema.optional<Schema.Boolean>;
|
|
4086
4175
|
readonly idempotencyKey: Schema.String;
|
|
4087
4176
|
readonly member: Schema.Struct<{
|
|
4088
4177
|
readonly email: Schema.optional<Schema.Union<readonly [Schema.String, Schema.Null]>>;
|
|
@@ -4146,6 +4235,12 @@ declare const EnsureActiveMembershipResponseSchema: Schema.Struct<{
|
|
|
4146
4235
|
readonly sourceStatus: Schema.Literal<"ACTIVE">;
|
|
4147
4236
|
readonly membershipTypeId: Schema.String;
|
|
4148
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;
|
|
4149
4244
|
}>, Schema.Struct<{
|
|
4150
4245
|
readonly outcome: Schema.Literals<readonly ["ambiguous_identity_match", "unsupported_source_status", "indeterminate_membership_expiry", "manual_review_required", "failed"]>;
|
|
4151
4246
|
}>]>, Schema.Null]>;
|
|
@@ -4556,6 +4651,8 @@ declare const OnsiteResourceEnsureActiveMembershipCallResponseSchema: Schema.Str
|
|
|
4556
4651
|
readonly command: Schema.Struct<{
|
|
4557
4652
|
readonly kind: Schema.Literal<"ensure_active_membership">;
|
|
4558
4653
|
readonly payload: Schema.Struct<{
|
|
4654
|
+
readonly contractVersion: Schema.optional<Schema.Literal<2>>;
|
|
4655
|
+
readonly allowRenewalOnDuplicate: Schema.optional<Schema.Boolean>;
|
|
4559
4656
|
readonly idempotencyKey: Schema.String;
|
|
4560
4657
|
readonly member: Schema.Struct<{
|
|
4561
4658
|
readonly email: Schema.optional<Schema.Union<readonly [Schema.String, Schema.Null]>>;
|
|
@@ -4619,6 +4716,12 @@ declare const OnsiteResourceEnsureActiveMembershipCallResponseSchema: Schema.Str
|
|
|
4619
4716
|
readonly sourceStatus: Schema.Literal<"ACTIVE">;
|
|
4620
4717
|
readonly membershipTypeId: Schema.String;
|
|
4621
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;
|
|
4622
4725
|
}>, Schema.Struct<{
|
|
4623
4726
|
readonly outcome: Schema.Literals<readonly ["ambiguous_identity_match", "unsupported_source_status", "indeterminate_membership_expiry", "manual_review_required", "failed"]>;
|
|
4624
4727
|
}>]>, Schema.Null]>;
|
|
@@ -4714,6 +4817,8 @@ declare const OnsiteResourceCallResponseSchema: Schema.Union<readonly [Schema.St
|
|
|
4714
4817
|
readonly command: Schema.Struct<{
|
|
4715
4818
|
readonly kind: Schema.Literal<"ensure_active_membership">;
|
|
4716
4819
|
readonly payload: Schema.Struct<{
|
|
4820
|
+
readonly contractVersion: Schema.optional<Schema.Literal<2>>;
|
|
4821
|
+
readonly allowRenewalOnDuplicate: Schema.optional<Schema.Boolean>;
|
|
4717
4822
|
readonly idempotencyKey: Schema.String;
|
|
4718
4823
|
readonly member: Schema.Struct<{
|
|
4719
4824
|
readonly email: Schema.optional<Schema.Union<readonly [Schema.String, Schema.Null]>>;
|
|
@@ -4777,6 +4882,12 @@ declare const OnsiteResourceCallResponseSchema: Schema.Union<readonly [Schema.St
|
|
|
4777
4882
|
readonly sourceStatus: Schema.Literal<"ACTIVE">;
|
|
4778
4883
|
readonly membershipTypeId: Schema.String;
|
|
4779
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;
|
|
4780
4891
|
}>, Schema.Struct<{
|
|
4781
4892
|
readonly outcome: Schema.Literals<readonly ["ambiguous_identity_match", "unsupported_source_status", "indeterminate_membership_expiry", "manual_review_required", "failed"]>;
|
|
4782
4893
|
}>]>, Schema.Null]>;
|
|
@@ -5301,10 +5412,13 @@ declare const OnsiteAgentEnsureActiveMembershipCommandSchema: Schema.Struct<{
|
|
|
5301
5412
|
readonly organizationId: Schema.String;
|
|
5302
5413
|
readonly organizationMemberSourceId: Schema.String;
|
|
5303
5414
|
readonly candidateSourceMemberId: Schema.optional<Schema.String>;
|
|
5415
|
+
readonly candidateSourceMemberIds: Schema.optional<Schema.$Array<Schema.String>>;
|
|
5304
5416
|
readonly vendor: Schema.Literal<"odyssey_gaming">;
|
|
5305
5417
|
readonly connectorType: Schema.Literal<"odyssey_gaming">;
|
|
5306
5418
|
readonly requestedAt: Schema.String;
|
|
5307
5419
|
readonly payload: Schema.Struct<{
|
|
5420
|
+
readonly contractVersion: Schema.optional<Schema.Literal<2>>;
|
|
5421
|
+
readonly allowRenewalOnDuplicate: Schema.optional<Schema.Boolean>;
|
|
5308
5422
|
readonly idempotencyKey: Schema.String;
|
|
5309
5423
|
readonly member: Schema.Struct<{
|
|
5310
5424
|
readonly email: Schema.optional<Schema.Union<readonly [Schema.String, Schema.Null]>>;
|
|
@@ -5549,7 +5663,7 @@ declare const OnsiteAgentReferenceDataCommandSchema: Schema.Struct<{
|
|
|
5549
5663
|
declare const OnsiteAgentHeartbeatSchema: Schema.Struct<{
|
|
5550
5664
|
readonly version: Schema.String;
|
|
5551
5665
|
readonly pollingIntervalSeconds: Schema.optional<Schema.Number>;
|
|
5552
|
-
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"]>>>;
|
|
5553
5667
|
readonly metadata: Schema.optional<Schema.$Record<Schema.String, Schema.Unknown>>;
|
|
5554
5668
|
readonly lastError: Schema.optional<Schema.Union<readonly [Schema.String, Schema.Null]>>;
|
|
5555
5669
|
}>;
|
|
@@ -5766,7 +5880,7 @@ declare const OnsiteAgentCompleteMemberCreateSchema: Schema.Struct<{
|
|
|
5766
5880
|
readonly metadata: Schema.optional<Schema.$Record<Schema.String, Schema.Unknown>>;
|
|
5767
5881
|
}>>>;
|
|
5768
5882
|
readonly creationResult: Schema.optional<Schema.Literals<readonly ["created", "recovered_create", "matched_existing"]>>;
|
|
5769
|
-
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"]>>;
|
|
5770
5884
|
readonly errorMessage: Schema.optional<Schema.Union<readonly [Schema.String, Schema.Null]>>;
|
|
5771
5885
|
}>;
|
|
5772
5886
|
declare const OnsiteAgentEnsureActiveMembershipCompletionResultSchema: Schema.Union<readonly [Schema.Struct<{
|
|
@@ -5888,6 +6002,65 @@ declare const OnsiteAgentEnsureActiveMembershipCompletionResultSchema: Schema.Un
|
|
|
5888
6002
|
}>>;
|
|
5889
6003
|
readonly sourceUpdatedAt: Schema.Union<readonly [Schema.String, Schema.Null]>;
|
|
5890
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
|
+
}>;
|
|
5891
6064
|
}>, Schema.Struct<{
|
|
5892
6065
|
readonly outcome: Schema.Literals<readonly ["ambiguous_identity_match", "unsupported_source_status", "indeterminate_membership_expiry", "manual_review_required", "failed"]>;
|
|
5893
6066
|
}>]>;
|
|
@@ -6011,6 +6184,65 @@ declare const OnsiteAgentCompleteEnsureActiveMembershipSchema: Schema.Struct<{
|
|
|
6011
6184
|
}>>;
|
|
6012
6185
|
readonly sourceUpdatedAt: Schema.Union<readonly [Schema.String, Schema.Null]>;
|
|
6013
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
|
+
}>;
|
|
6014
6246
|
}>, Schema.Struct<{
|
|
6015
6247
|
readonly outcome: Schema.Literals<readonly ["ambiguous_identity_match", "unsupported_source_status", "indeterminate_membership_expiry", "manual_review_required", "failed"]>;
|
|
6016
6248
|
}>]>>;
|
|
@@ -7212,6 +7444,12 @@ declare const HubApi: HttpApi.HttpApi<"hub", HttpApiGroup.HttpApiGroup<"rewards"
|
|
|
7212
7444
|
readonly enabled: Schema.Boolean;
|
|
7213
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]>;
|
|
7214
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
|
+
}>;
|
|
7215
7453
|
}>>, Schema.toCodecJson<Schema.Struct<{
|
|
7216
7454
|
readonly code: Schema.Literal<"unauthorized">;
|
|
7217
7455
|
readonly message: Schema.String;
|
|
@@ -9001,11 +9239,171 @@ declare const HubApi: HttpApi.HttpApi<"hub", HttpApiGroup.HttpApiGroup<"rewards"
|
|
|
9001
9239
|
}> | Schema.Struct<{
|
|
9002
9240
|
readonly code: Schema.Literal<"internal_error">;
|
|
9003
9241
|
readonly message: Schema.String;
|
|
9004
|
-
}>>, 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<{
|
|
9005
9402
|
readonly organizationId: Schema.String;
|
|
9006
9403
|
}>>, never, Schema.toCodecJson<Schema.Struct<{
|
|
9007
9404
|
readonly idempotencyKey: Schema.String;
|
|
9008
9405
|
readonly waitMs: Schema.optional<Schema.Number>;
|
|
9406
|
+
readonly allowRenewalOnDuplicate: Schema.optional<Schema.Boolean>;
|
|
9009
9407
|
readonly member: Schema.Struct<{
|
|
9010
9408
|
readonly email: Schema.optional<Schema.Union<readonly [Schema.String, Schema.Null]>>;
|
|
9011
9409
|
readonly title: Schema.optional<Schema.Union<readonly [Schema.String, Schema.Null]>>;
|
|
@@ -9055,6 +9453,8 @@ declare const HubApi: HttpApi.HttpApi<"hub", HttpApiGroup.HttpApiGroup<"rewards"
|
|
|
9055
9453
|
readonly command: Schema.Struct<{
|
|
9056
9454
|
readonly kind: Schema.Literal<"ensure_active_membership">;
|
|
9057
9455
|
readonly payload: Schema.Struct<{
|
|
9456
|
+
readonly contractVersion: Schema.optional<Schema.Literal<2>>;
|
|
9457
|
+
readonly allowRenewalOnDuplicate: Schema.optional<Schema.Boolean>;
|
|
9058
9458
|
readonly idempotencyKey: Schema.String;
|
|
9059
9459
|
readonly member: Schema.Struct<{
|
|
9060
9460
|
readonly email: Schema.optional<Schema.Union<readonly [Schema.String, Schema.Null]>>;
|
|
@@ -9118,6 +9518,12 @@ declare const HubApi: HttpApi.HttpApi<"hub", HttpApiGroup.HttpApiGroup<"rewards"
|
|
|
9118
9518
|
readonly sourceStatus: Schema.Literal<"ACTIVE">;
|
|
9119
9519
|
readonly membershipTypeId: Schema.String;
|
|
9120
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;
|
|
9121
9527
|
}>, Schema.Struct<{
|
|
9122
9528
|
readonly outcome: Schema.Literals<readonly ["ambiguous_identity_match", "unsupported_source_status", "indeterminate_membership_expiry", "manual_review_required", "failed"]>;
|
|
9123
9529
|
}>]>, Schema.Null]>;
|
|
@@ -11195,6 +11601,8 @@ declare const HubApi: HttpApi.HttpApi<"hub", HttpApiGroup.HttpApiGroup<"rewards"
|
|
|
11195
11601
|
readonly command: Schema.Struct<{
|
|
11196
11602
|
readonly kind: Schema.Literal<"ensure_active_membership">;
|
|
11197
11603
|
readonly payload: Schema.Struct<{
|
|
11604
|
+
readonly contractVersion: Schema.optional<Schema.Literal<2>>;
|
|
11605
|
+
readonly allowRenewalOnDuplicate: Schema.optional<Schema.Boolean>;
|
|
11198
11606
|
readonly idempotencyKey: Schema.String;
|
|
11199
11607
|
readonly member: Schema.Struct<{
|
|
11200
11608
|
readonly email: Schema.optional<Schema.Union<readonly [Schema.String, Schema.Null]>>;
|
|
@@ -11258,6 +11666,12 @@ declare const HubApi: HttpApi.HttpApi<"hub", HttpApiGroup.HttpApiGroup<"rewards"
|
|
|
11258
11666
|
readonly sourceStatus: Schema.Literal<"ACTIVE">;
|
|
11259
11667
|
readonly membershipTypeId: Schema.String;
|
|
11260
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;
|
|
11261
11675
|
}>, Schema.Struct<{
|
|
11262
11676
|
readonly outcome: Schema.Literals<readonly ["ambiguous_identity_match", "unsupported_source_status", "indeterminate_membership_expiry", "manual_review_required", "failed"]>;
|
|
11263
11677
|
}>]>, Schema.Null]>;
|
|
@@ -11501,7 +11915,7 @@ declare const HubApi: HttpApi.HttpApi<"hub", HttpApiGroup.HttpApiGroup<"rewards"
|
|
|
11501
11915
|
readonly lastHeartbeatAt: Schema.Union<readonly [Schema.String, Schema.Null]>;
|
|
11502
11916
|
readonly lastVersion: Schema.Union<readonly [Schema.String, Schema.Null]>;
|
|
11503
11917
|
readonly lastError: Schema.Union<readonly [Schema.String, Schema.Null]>;
|
|
11504
|
-
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>>;
|
|
11505
11919
|
readonly metadata: Schema.$Record<Schema.String, Schema.Unknown>;
|
|
11506
11920
|
readonly createdAt: Schema.String;
|
|
11507
11921
|
readonly updatedAt: Schema.String;
|
|
@@ -11577,7 +11991,7 @@ declare const HubApi: HttpApi.HttpApi<"hub", HttpApiGroup.HttpApiGroup<"rewards"
|
|
|
11577
11991
|
readonly lastHeartbeatAt: Schema.Union<readonly [Schema.String, Schema.Null]>;
|
|
11578
11992
|
readonly lastVersion: Schema.Union<readonly [Schema.String, Schema.Null]>;
|
|
11579
11993
|
readonly lastError: Schema.Union<readonly [Schema.String, Schema.Null]>;
|
|
11580
|
-
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>>;
|
|
11581
11995
|
readonly metadata: Schema.$Record<Schema.String, Schema.Unknown>;
|
|
11582
11996
|
readonly createdAt: Schema.String;
|
|
11583
11997
|
readonly updatedAt: Schema.String;
|
|
@@ -11646,7 +12060,7 @@ declare const HubApi: HttpApi.HttpApi<"hub", HttpApiGroup.HttpApiGroup<"rewards"
|
|
|
11646
12060
|
readonly lastHeartbeatAt: Schema.Union<readonly [Schema.String, Schema.Null]>;
|
|
11647
12061
|
readonly lastVersion: Schema.Union<readonly [Schema.String, Schema.Null]>;
|
|
11648
12062
|
readonly lastError: Schema.Union<readonly [Schema.String, Schema.Null]>;
|
|
11649
|
-
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>>;
|
|
11650
12064
|
readonly metadata: Schema.$Record<Schema.String, Schema.Unknown>;
|
|
11651
12065
|
readonly createdAt: Schema.String;
|
|
11652
12066
|
readonly updatedAt: Schema.String;
|
|
@@ -11694,7 +12108,7 @@ declare const HubApi: HttpApi.HttpApi<"hub", HttpApiGroup.HttpApiGroup<"rewards"
|
|
|
11694
12108
|
readonly lastHeartbeatAt: Schema.Union<readonly [Schema.String, Schema.Null]>;
|
|
11695
12109
|
readonly lastVersion: Schema.Union<readonly [Schema.String, Schema.Null]>;
|
|
11696
12110
|
readonly lastError: Schema.Union<readonly [Schema.String, Schema.Null]>;
|
|
11697
|
-
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>>;
|
|
11698
12112
|
readonly metadata: Schema.$Record<Schema.String, Schema.Unknown>;
|
|
11699
12113
|
readonly createdAt: Schema.String;
|
|
11700
12114
|
readonly updatedAt: Schema.String;
|
|
@@ -12627,6 +13041,8 @@ declare const HubApi: HttpApi.HttpApi<"hub", HttpApiGroup.HttpApiGroup<"rewards"
|
|
|
12627
13041
|
}>>, never, Schema.toCodecJson<Schema.Struct<{}>>, never, Schema.toCodecJson<Schema.Struct<{
|
|
12628
13042
|
readonly kind: Schema.Literal<"ensure_active_membership">;
|
|
12629
13043
|
readonly payload: Schema.Struct<{
|
|
13044
|
+
readonly contractVersion: Schema.optional<Schema.Literal<2>>;
|
|
13045
|
+
readonly allowRenewalOnDuplicate: Schema.optional<Schema.Boolean>;
|
|
12630
13046
|
readonly idempotencyKey: Schema.String;
|
|
12631
13047
|
readonly member: Schema.Struct<{
|
|
12632
13048
|
readonly email: Schema.optional<Schema.Union<readonly [Schema.String, Schema.Null]>>;
|
|
@@ -12690,6 +13106,12 @@ declare const HubApi: HttpApi.HttpApi<"hub", HttpApiGroup.HttpApiGroup<"rewards"
|
|
|
12690
13106
|
readonly sourceStatus: Schema.Literal<"ACTIVE">;
|
|
12691
13107
|
readonly membershipTypeId: Schema.String;
|
|
12692
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;
|
|
12693
13115
|
}>, Schema.Struct<{
|
|
12694
13116
|
readonly outcome: Schema.Literals<readonly ["ambiguous_identity_match", "unsupported_source_status", "indeterminate_membership_expiry", "manual_review_required", "failed"]>;
|
|
12695
13117
|
}>]>, Schema.Null]>;
|
|
@@ -12732,6 +13154,8 @@ declare const HubApi: HttpApi.HttpApi<"hub", HttpApiGroup.HttpApiGroup<"rewards"
|
|
|
12732
13154
|
}>>, never, Schema.toCodecJson<Schema.Struct<{
|
|
12733
13155
|
readonly kind: Schema.Literal<"ensure_active_membership">;
|
|
12734
13156
|
readonly payload: Schema.Struct<{
|
|
13157
|
+
readonly contractVersion: Schema.optional<Schema.Literal<2>>;
|
|
13158
|
+
readonly allowRenewalOnDuplicate: Schema.optional<Schema.Boolean>;
|
|
12735
13159
|
readonly idempotencyKey: Schema.String;
|
|
12736
13160
|
readonly member: Schema.Struct<{
|
|
12737
13161
|
readonly email: Schema.optional<Schema.Union<readonly [Schema.String, Schema.Null]>>;
|
|
@@ -12795,6 +13219,12 @@ declare const HubApi: HttpApi.HttpApi<"hub", HttpApiGroup.HttpApiGroup<"rewards"
|
|
|
12795
13219
|
readonly sourceStatus: Schema.Literal<"ACTIVE">;
|
|
12796
13220
|
readonly membershipTypeId: Schema.String;
|
|
12797
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;
|
|
12798
13228
|
}>, Schema.Struct<{
|
|
12799
13229
|
readonly outcome: Schema.Literals<readonly ["ambiguous_identity_match", "unsupported_source_status", "indeterminate_membership_expiry", "manual_review_required", "failed"]>;
|
|
12800
13230
|
}>]>, Schema.Null]>;
|
|
@@ -12908,7 +13338,7 @@ declare const HubApi: HttpApi.HttpApi<"hub", HttpApiGroup.HttpApiGroup<"rewards"
|
|
|
12908
13338
|
}>>, never, never>, false> | HttpApiGroup.HttpApiGroup<"onsiteAgents", HttpApiEndpoint.HttpApiEndpoint<"heartbeatOnsiteAgent", "POST", "/v1/onsite-agent/heartbeat", never, never, Schema.toCodecJson<Schema.Struct<{
|
|
12909
13339
|
readonly version: Schema.String;
|
|
12910
13340
|
readonly pollingIntervalSeconds: Schema.optional<Schema.Number>;
|
|
12911
|
-
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"]>>>;
|
|
12912
13342
|
readonly metadata: Schema.optional<Schema.$Record<Schema.String, Schema.Unknown>>;
|
|
12913
13343
|
readonly lastError: Schema.optional<Schema.Union<readonly [Schema.String, Schema.Null]>>;
|
|
12914
13344
|
}>>, never, Schema.toCodecJson<Schema.Struct<{
|
|
@@ -13251,10 +13681,13 @@ declare const HubApi: HttpApi.HttpApi<"hub", HttpApiGroup.HttpApiGroup<"rewards"
|
|
|
13251
13681
|
readonly organizationId: Schema.String;
|
|
13252
13682
|
readonly organizationMemberSourceId: Schema.String;
|
|
13253
13683
|
readonly candidateSourceMemberId: Schema.optional<Schema.String>;
|
|
13684
|
+
readonly candidateSourceMemberIds: Schema.optional<Schema.$Array<Schema.String>>;
|
|
13254
13685
|
readonly vendor: Schema.Literal<"odyssey_gaming">;
|
|
13255
13686
|
readonly connectorType: Schema.Literal<"odyssey_gaming">;
|
|
13256
13687
|
readonly requestedAt: Schema.String;
|
|
13257
13688
|
readonly payload: Schema.Struct<{
|
|
13689
|
+
readonly contractVersion: Schema.optional<Schema.Literal<2>>;
|
|
13690
|
+
readonly allowRenewalOnDuplicate: Schema.optional<Schema.Boolean>;
|
|
13258
13691
|
readonly idempotencyKey: Schema.String;
|
|
13259
13692
|
readonly member: Schema.Struct<{
|
|
13260
13693
|
readonly email: Schema.optional<Schema.Union<readonly [Schema.String, Schema.Null]>>;
|
|
@@ -13897,7 +14330,7 @@ declare const HubApi: HttpApi.HttpApi<"hub", HttpApiGroup.HttpApiGroup<"rewards"
|
|
|
13897
14330
|
readonly metadata: Schema.optional<Schema.$Record<Schema.String, Schema.Unknown>>;
|
|
13898
14331
|
}>>>;
|
|
13899
14332
|
readonly creationResult: Schema.optional<Schema.Literals<readonly ["created", "recovered_create", "matched_existing"]>>;
|
|
13900
|
-
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"]>>;
|
|
13901
14334
|
readonly errorMessage: Schema.optional<Schema.Union<readonly [Schema.String, Schema.Null]>>;
|
|
13902
14335
|
}>>, never, Schema.toCodecJson<Schema.Struct<{
|
|
13903
14336
|
readonly id: Schema.String;
|
|
@@ -14055,6 +14488,65 @@ declare const HubApi: HttpApi.HttpApi<"hub", HttpApiGroup.HttpApiGroup<"rewards"
|
|
|
14055
14488
|
}>>;
|
|
14056
14489
|
readonly sourceUpdatedAt: Schema.Union<readonly [Schema.String, Schema.Null]>;
|
|
14057
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
|
+
}>;
|
|
14058
14550
|
}>, Schema.Struct<{
|
|
14059
14551
|
readonly outcome: Schema.Literals<readonly ["ambiguous_identity_match", "unsupported_source_status", "indeterminate_membership_expiry", "manual_review_required", "failed"]>;
|
|
14060
14552
|
}>]>>;
|
|
@@ -14062,6 +14554,8 @@ declare const HubApi: HttpApi.HttpApi<"hub", HttpApiGroup.HttpApiGroup<"rewards"
|
|
|
14062
14554
|
}>>, never, Schema.toCodecJson<Schema.Struct<{
|
|
14063
14555
|
readonly kind: Schema.Literal<"ensure_active_membership">;
|
|
14064
14556
|
readonly payload: Schema.Struct<{
|
|
14557
|
+
readonly contractVersion: Schema.optional<Schema.Literal<2>>;
|
|
14558
|
+
readonly allowRenewalOnDuplicate: Schema.optional<Schema.Boolean>;
|
|
14065
14559
|
readonly idempotencyKey: Schema.String;
|
|
14066
14560
|
readonly member: Schema.Struct<{
|
|
14067
14561
|
readonly email: Schema.optional<Schema.Union<readonly [Schema.String, Schema.Null]>>;
|
|
@@ -14125,6 +14619,12 @@ declare const HubApi: HttpApi.HttpApi<"hub", HttpApiGroup.HttpApiGroup<"rewards"
|
|
|
14125
14619
|
readonly sourceStatus: Schema.Literal<"ACTIVE">;
|
|
14126
14620
|
readonly membershipTypeId: Schema.String;
|
|
14127
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;
|
|
14128
14628
|
}>, Schema.Struct<{
|
|
14129
14629
|
readonly outcome: Schema.Literals<readonly ["ambiguous_identity_match", "unsupported_source_status", "indeterminate_membership_expiry", "manual_review_required", "failed"]>;
|
|
14130
14630
|
}>]>, Schema.Null]>;
|
|
@@ -14194,6 +14694,8 @@ declare const HubApi: HttpApi.HttpApi<"hub", HttpApiGroup.HttpApiGroup<"rewards"
|
|
|
14194
14694
|
}>>, never, never, never, Schema.toCodecJson<Schema.Struct<{
|
|
14195
14695
|
readonly kind: Schema.Literal<"ensure_active_membership">;
|
|
14196
14696
|
readonly payload: Schema.Struct<{
|
|
14697
|
+
readonly contractVersion: Schema.optional<Schema.Literal<2>>;
|
|
14698
|
+
readonly allowRenewalOnDuplicate: Schema.optional<Schema.Boolean>;
|
|
14197
14699
|
readonly idempotencyKey: Schema.String;
|
|
14198
14700
|
readonly member: Schema.Struct<{
|
|
14199
14701
|
readonly email: Schema.optional<Schema.Union<readonly [Schema.String, Schema.Null]>>;
|
|
@@ -14257,6 +14759,12 @@ declare const HubApi: HttpApi.HttpApi<"hub", HttpApiGroup.HttpApiGroup<"rewards"
|
|
|
14257
14759
|
readonly sourceStatus: Schema.Literal<"ACTIVE">;
|
|
14258
14760
|
readonly membershipTypeId: Schema.String;
|
|
14259
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;
|
|
14260
14768
|
}>, Schema.Struct<{
|
|
14261
14769
|
readonly outcome: Schema.Literals<readonly ["ambiguous_identity_match", "unsupported_source_status", "indeterminate_membership_expiry", "manual_review_required", "failed"]>;
|
|
14262
14770
|
}>]>, Schema.Null]>;
|
|
@@ -15727,6 +16235,8 @@ type EnsureActiveMembershipResult = Schema.Schema.Type<typeof EnsureActiveMember
|
|
|
15727
16235
|
type EnsureActiveMembershipMemberInput = Schema.Schema.Type<typeof EnsureActiveMembershipMemberSchema>;
|
|
15728
16236
|
type EnsureActiveMembershipCommandPayload = Schema.Schema.Type<typeof EnsureActiveMembershipCommandPayloadSchema>;
|
|
15729
16237
|
type RequestEnsureActiveMembershipInput = Schema.Schema.Type<typeof RequestEnsureActiveMembershipSchema>;
|
|
16238
|
+
type RequestMemberCreationInput = Schema.Schema.Type<typeof RequestMemberCreationSchema>;
|
|
16239
|
+
type EnsureActiveMembershipRenewalRequiredResult = Schema.Schema.Type<typeof EnsureActiveMembershipRenewalRequiredResultSchema>;
|
|
15730
16240
|
type EnsureActiveMembershipCommand = Schema.Schema.Type<typeof EnsureActiveMembershipCommandSchema>;
|
|
15731
16241
|
type EnsureActiveMembershipResponse = Schema.Schema.Type<typeof EnsureActiveMembershipResponseSchema>;
|
|
15732
16242
|
type EnsureActiveMembershipManualReviewItem = Schema.Schema.Type<typeof EnsureActiveMembershipManualReviewItemSchema>;
|
|
@@ -15922,7 +16432,7 @@ declare const organizationMemberSourceManualTransports: readonly ["csv_bucket"];
|
|
|
15922
16432
|
declare const organizationMemberSourceLiveTransports: readonly ["fbi"];
|
|
15923
16433
|
declare const organizationMemberSourceStatuses: readonly ["active", "paused", "disabled"];
|
|
15924
16434
|
declare const organizationMemberSourceAgentStatuses: readonly ["active", "paused", "disabled"];
|
|
15925
|
-
declare const organizationMemberSourceAgentCapabilities: readonly ["ensure_active_membership"];
|
|
16435
|
+
declare const organizationMemberSourceAgentCapabilities: readonly ["ensure_active_membership", "ensure_active_membership_v2"];
|
|
15926
16436
|
declare const organizationMemberSourceWebhookStatuses: readonly ["active", "disabled"];
|
|
15927
16437
|
declare const organizationMemberSourceWebhookDeliveryStatuses: readonly ["success", "failure"];
|
|
15928
16438
|
declare const organizationProductWebhookStatuses: readonly ["active", "disabled"];
|
|
@@ -15943,7 +16453,7 @@ declare const organizationMemberSyncModes: readonly ["full_snapshot", "delta"];
|
|
|
15943
16453
|
declare const organizationMemberSyncRunStatuses: readonly ["pending", "running", "success", "partial_failure", "failure"];
|
|
15944
16454
|
declare const organizationMemberSyncTransports: readonly ["csv_bucket", "onsite_agent", "live_feed"];
|
|
15945
16455
|
declare const organizationMemberSourceCommandKinds: readonly ["create_member", "ensure_active_membership", "update_member", "update_preferences", "renew_member", "lookup_member", "list_custom_fields", "lookup_reference_data"];
|
|
15946
|
-
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"];
|
|
15947
16457
|
declare const organizationMemberSourceCommandStatuses: readonly ["requested", "accepted", "completed", "failed"];
|
|
15948
16458
|
declare const organizationMemberSourceCsvImportStatuses: readonly ["requested", "uploaded", "processing", "completed", "failed"];
|
|
15949
16459
|
|
|
@@ -16671,6 +17181,11 @@ declare function makeSpokeClient(hubClient: PromiseHubApiClient): {
|
|
|
16671
17181
|
readonly enabled: boolean;
|
|
16672
17182
|
readonly reason: "not_configured" | "unsupported_provider" | "unsupported_transport" | "source_inactive" | "provider_inactive" | "agent_missing" | "agent_inactive" | "feature_disabled" | "agent_upgrade_required" | null;
|
|
16673
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
|
+
};
|
|
16674
17189
|
}>>;
|
|
16675
17190
|
readonly list: (input?: ListOrganizationsInput) => Promise<SpokeHubResult<{
|
|
16676
17191
|
readonly items: readonly {
|
|
@@ -17455,6 +17970,107 @@ declare function makeSpokeClient(hubClient: PromiseHubApiClient): {
|
|
|
17455
17970
|
readonly totalPages: number;
|
|
17456
17971
|
}>>;
|
|
17457
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
|
+
}>>;
|
|
17458
18074
|
readonly sourceRequests: {
|
|
17459
18075
|
readonly ensureActive: (input: {
|
|
17460
18076
|
readonly organizationId: string;
|
|
@@ -17509,6 +18125,8 @@ declare function makeSpokeClient(hubClient: PromiseHubApiClient): {
|
|
|
17509
18125
|
readonly gamingOptOut?: boolean | undefined;
|
|
17510
18126
|
} | undefined;
|
|
17511
18127
|
};
|
|
18128
|
+
readonly contractVersion?: 2 | undefined;
|
|
18129
|
+
readonly allowRenewalOnDuplicate?: boolean | undefined;
|
|
17512
18130
|
readonly continuation?: {
|
|
17513
18131
|
readonly action: "reconcile";
|
|
17514
18132
|
readonly reviewCommandId: string;
|
|
@@ -17530,6 +18148,12 @@ declare function makeSpokeClient(hubClient: PromiseHubApiClient): {
|
|
|
17530
18148
|
readonly membershipExpiry: string;
|
|
17531
18149
|
} | {
|
|
17532
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;
|
|
17533
18157
|
} | null;
|
|
17534
18158
|
readonly id: string;
|
|
17535
18159
|
readonly organizationId: string;
|
|
@@ -17736,7 +18360,7 @@ declare function makeSpokeClient(hubClient: PromiseHubApiClient): {
|
|
|
17736
18360
|
readonly lastHeartbeatAt: string | null;
|
|
17737
18361
|
readonly lastVersion: string | null;
|
|
17738
18362
|
readonly lastError: string | null;
|
|
17739
|
-
readonly capabilities: readonly "ensure_active_membership"[];
|
|
18363
|
+
readonly capabilities: readonly ("ensure_active_membership" | "ensure_active_membership_v2")[];
|
|
17740
18364
|
readonly metadata: {
|
|
17741
18365
|
readonly [x: string]: unknown;
|
|
17742
18366
|
};
|
|
@@ -17787,7 +18411,7 @@ declare function makeSpokeClient(hubClient: PromiseHubApiClient): {
|
|
|
17787
18411
|
readonly lastHeartbeatAt: string | null;
|
|
17788
18412
|
readonly lastVersion: string | null;
|
|
17789
18413
|
readonly lastError: string | null;
|
|
17790
|
-
readonly capabilities: readonly "ensure_active_membership"[];
|
|
18414
|
+
readonly capabilities: readonly ("ensure_active_membership" | "ensure_active_membership_v2")[];
|
|
17791
18415
|
readonly metadata: {
|
|
17792
18416
|
readonly [x: string]: unknown;
|
|
17793
18417
|
};
|
|
@@ -17817,7 +18441,7 @@ declare function makeSpokeClient(hubClient: PromiseHubApiClient): {
|
|
|
17817
18441
|
readonly lastHeartbeatAt: string | null;
|
|
17818
18442
|
readonly lastVersion: string | null;
|
|
17819
18443
|
readonly lastError: string | null;
|
|
17820
|
-
readonly capabilities: readonly "ensure_active_membership"[];
|
|
18444
|
+
readonly capabilities: readonly ("ensure_active_membership" | "ensure_active_membership_v2")[];
|
|
17821
18445
|
readonly metadata: {
|
|
17822
18446
|
readonly [x: string]: unknown;
|
|
17823
18447
|
};
|
|
@@ -18376,6 +19000,30 @@ declare function makeSpokeClient(hubClient: PromiseHubApiClient): {
|
|
|
18376
19000
|
readonly pageSize: number;
|
|
18377
19001
|
readonly totalPages: number;
|
|
18378
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
|
+
}>>;
|
|
18379
19027
|
};
|
|
18380
19028
|
};
|
|
18381
19029
|
readonly points: {
|
|
@@ -19247,6 +19895,8 @@ declare function makeSpokeClient(hubClient: PromiseHubApiClient): {
|
|
|
19247
19895
|
readonly gamingOptOut?: boolean | undefined;
|
|
19248
19896
|
} | undefined;
|
|
19249
19897
|
};
|
|
19898
|
+
readonly contractVersion?: 2 | undefined;
|
|
19899
|
+
readonly allowRenewalOnDuplicate?: boolean | undefined;
|
|
19250
19900
|
readonly continuation?: {
|
|
19251
19901
|
readonly action: "reconcile";
|
|
19252
19902
|
readonly reviewCommandId: string;
|
|
@@ -19268,6 +19918,12 @@ declare function makeSpokeClient(hubClient: PromiseHubApiClient): {
|
|
|
19268
19918
|
readonly membershipExpiry: string;
|
|
19269
19919
|
} | {
|
|
19270
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;
|
|
19271
19927
|
} | null;
|
|
19272
19928
|
readonly id: string;
|
|
19273
19929
|
readonly organizationId: string;
|
|
@@ -19340,6 +19996,8 @@ declare function makeSpokeClient(hubClient: PromiseHubApiClient): {
|
|
|
19340
19996
|
readonly gamingOptOut?: boolean | undefined;
|
|
19341
19997
|
} | undefined;
|
|
19342
19998
|
};
|
|
19999
|
+
readonly contractVersion?: 2 | undefined;
|
|
20000
|
+
readonly allowRenewalOnDuplicate?: boolean | undefined;
|
|
19343
20001
|
readonly continuation?: {
|
|
19344
20002
|
readonly action: "reconcile";
|
|
19345
20003
|
readonly reviewCommandId: string;
|
|
@@ -19361,6 +20019,12 @@ declare function makeSpokeClient(hubClient: PromiseHubApiClient): {
|
|
|
19361
20019
|
readonly membershipExpiry: string;
|
|
19362
20020
|
} | {
|
|
19363
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;
|
|
19364
20028
|
} | null;
|
|
19365
20029
|
readonly id: string;
|
|
19366
20030
|
readonly organizationId: string;
|
|
@@ -19460,6 +20124,8 @@ declare function makeSpokeClient(hubClient: PromiseHubApiClient): {
|
|
|
19460
20124
|
readonly gamingOptOut?: boolean | undefined;
|
|
19461
20125
|
} | undefined;
|
|
19462
20126
|
};
|
|
20127
|
+
readonly contractVersion?: 2 | undefined;
|
|
20128
|
+
readonly allowRenewalOnDuplicate?: boolean | undefined;
|
|
19463
20129
|
readonly continuation?: {
|
|
19464
20130
|
readonly action: "reconcile";
|
|
19465
20131
|
readonly reviewCommandId: string;
|
|
@@ -19481,6 +20147,12 @@ declare function makeSpokeClient(hubClient: PromiseHubApiClient): {
|
|
|
19481
20147
|
readonly membershipExpiry: string;
|
|
19482
20148
|
} | {
|
|
19483
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;
|
|
19484
20156
|
} | null;
|
|
19485
20157
|
readonly id: string;
|
|
19486
20158
|
readonly organizationId: string;
|
|
@@ -19580,6 +20252,8 @@ declare function makeSpokeClient(hubClient: PromiseHubApiClient): {
|
|
|
19580
20252
|
readonly gamingOptOut?: boolean | undefined;
|
|
19581
20253
|
} | undefined;
|
|
19582
20254
|
};
|
|
20255
|
+
readonly contractVersion?: 2 | undefined;
|
|
20256
|
+
readonly allowRenewalOnDuplicate?: boolean | undefined;
|
|
19583
20257
|
readonly continuation?: {
|
|
19584
20258
|
readonly action: "reconcile";
|
|
19585
20259
|
readonly reviewCommandId: string;
|
|
@@ -19601,6 +20275,12 @@ declare function makeSpokeClient(hubClient: PromiseHubApiClient): {
|
|
|
19601
20275
|
readonly membershipExpiry: string;
|
|
19602
20276
|
} | {
|
|
19603
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;
|
|
19604
20284
|
} | null;
|
|
19605
20285
|
readonly id: string;
|
|
19606
20286
|
readonly organizationId: string;
|
|
@@ -19701,6 +20381,8 @@ declare function makeSpokeClient(hubClient: PromiseHubApiClient): {
|
|
|
19701
20381
|
readonly gamingOptOut?: boolean | undefined;
|
|
19702
20382
|
} | undefined;
|
|
19703
20383
|
};
|
|
20384
|
+
readonly contractVersion?: 2 | undefined;
|
|
20385
|
+
readonly allowRenewalOnDuplicate?: boolean | undefined;
|
|
19704
20386
|
readonly continuation?: {
|
|
19705
20387
|
readonly action: "reconcile";
|
|
19706
20388
|
readonly reviewCommandId: string;
|
|
@@ -19722,6 +20404,12 @@ declare function makeSpokeClient(hubClient: PromiseHubApiClient): {
|
|
|
19722
20404
|
readonly membershipExpiry: string;
|
|
19723
20405
|
} | {
|
|
19724
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;
|
|
19725
20413
|
} | null;
|
|
19726
20414
|
readonly id: string;
|
|
19727
20415
|
readonly organizationId: string;
|
|
@@ -20087,6 +20775,8 @@ declare function makeSpokeClient(hubClient: PromiseHubApiClient): {
|
|
|
20087
20775
|
readonly gamingOptOut?: boolean | undefined;
|
|
20088
20776
|
} | undefined;
|
|
20089
20777
|
};
|
|
20778
|
+
readonly contractVersion?: 2 | undefined;
|
|
20779
|
+
readonly allowRenewalOnDuplicate?: boolean | undefined;
|
|
20090
20780
|
readonly continuation?: {
|
|
20091
20781
|
readonly action: "reconcile";
|
|
20092
20782
|
readonly reviewCommandId: string;
|
|
@@ -20108,6 +20798,12 @@ declare function makeSpokeClient(hubClient: PromiseHubApiClient): {
|
|
|
20108
20798
|
readonly membershipExpiry: string;
|
|
20109
20799
|
} | {
|
|
20110
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;
|
|
20111
20807
|
} | null;
|
|
20112
20808
|
readonly id: string;
|
|
20113
20809
|
readonly organizationId: string;
|
|
@@ -20230,4 +20926,4 @@ declare const makePromiseSpokeClient: (options: HubApiCredentialOptions) => Prom
|
|
|
20230
20926
|
readonly hubClient: PromiseHubApiClient;
|
|
20231
20927
|
}>;
|
|
20232
20928
|
|
|
20233
|
-
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 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 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 };
|