@spoketech/hub-client 0.1.30 → 0.2.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/dist/index.d.ts CHANGED
@@ -7,6 +7,503 @@ import * as HttpApiGroup from 'effect/unstable/httpapi/HttpApiGroup';
7
7
  import * as HttpApiSchema from 'effect/unstable/httpapi/HttpApiSchema';
8
8
  import * as Schema from 'effect/Schema';
9
9
 
10
+ declare const OfferStatusSchema: Schema.Literals<readonly ["draft", "active", "retired"]>;
11
+ declare const OfferBenefitSchema: Schema.Union<readonly [Schema.Struct<{
12
+ readonly kind: Schema.Literal<"physical_item">;
13
+ readonly itemName: Schema.String;
14
+ readonly quantity: Schema.Int;
15
+ }>, Schema.Struct<{
16
+ readonly kind: Schema.Literal<"points">;
17
+ readonly pointTypeId: Schema.String;
18
+ readonly amount: Schema.Int;
19
+ }>, Schema.Struct<{
20
+ readonly kind: Schema.Literal<"pos_voucher">;
21
+ readonly provider: Schema.Literal<"senpos">;
22
+ readonly rewardId: Schema.String;
23
+ readonly quantity: Schema.Int;
24
+ readonly faceValue: Schema.Union<readonly [Schema.Struct<{
25
+ readonly amountCents: Schema.Int;
26
+ readonly currency: Schema.String;
27
+ }>, Schema.Null]>;
28
+ }>]>;
29
+ declare const CatalogueOfferBenefitSchema: Schema.Union<readonly [Schema.Struct<{
30
+ readonly kind: Schema.Literal<"physical_item">;
31
+ readonly itemName: Schema.String;
32
+ readonly quantity: Schema.Int;
33
+ }>, Schema.Struct<{
34
+ readonly kind: Schema.Literal<"points">;
35
+ readonly pointTypeId: Schema.String;
36
+ readonly amount: Schema.Int;
37
+ }>, Schema.Struct<{
38
+ readonly kind: Schema.Literal<"pos_voucher">;
39
+ readonly quantity: Schema.Int;
40
+ readonly faceValue: Schema.Union<readonly [Schema.Struct<{
41
+ readonly amountCents: Schema.Int;
42
+ readonly currency: Schema.String;
43
+ }>, Schema.Null]>;
44
+ }>]>;
45
+ type OfferBenefit = Schema.Schema.Type<typeof OfferBenefitSchema>;
46
+ type CatalogueOfferBenefit = Schema.Schema.Type<typeof CatalogueOfferBenefitSchema>;
47
+ declare const CreateOfferSchema: Schema.Struct<{
48
+ title: Schema.String;
49
+ description: Schema.String;
50
+ terms: Schema.String;
51
+ benefit: Schema.Union<readonly [Schema.Struct<{
52
+ readonly kind: Schema.Literal<"physical_item">;
53
+ readonly itemName: Schema.String;
54
+ readonly quantity: Schema.Int;
55
+ }>, Schema.Struct<{
56
+ readonly kind: Schema.Literal<"points">;
57
+ readonly pointTypeId: Schema.String;
58
+ readonly amount: Schema.Int;
59
+ }>, Schema.Struct<{
60
+ readonly kind: Schema.Literal<"pos_voucher">;
61
+ readonly provider: Schema.Literal<"senpos">;
62
+ readonly rewardId: Schema.String;
63
+ readonly quantity: Schema.Int;
64
+ readonly faceValue: Schema.Union<readonly [Schema.Struct<{
65
+ readonly amountCents: Schema.Int;
66
+ readonly currency: Schema.String;
67
+ }>, Schema.Null]>;
68
+ }>]>;
69
+ startsAt: Schema.Union<readonly [Schema.String, Schema.Null]>;
70
+ endsAt: Schema.Union<readonly [Schema.String, Schema.Null]>;
71
+ }>;
72
+ declare const UpdateOfferSchema: Schema.Struct<{
73
+ readonly status: Schema.Literals<readonly ["draft", "active", "retired"]>;
74
+ readonly expectedUpdatedAt: Schema.String;
75
+ readonly title: Schema.String;
76
+ readonly description: Schema.String;
77
+ readonly terms: Schema.String;
78
+ readonly benefit: Schema.Union<readonly [Schema.Struct<{
79
+ readonly kind: Schema.Literal<"physical_item">;
80
+ readonly itemName: Schema.String;
81
+ readonly quantity: Schema.Int;
82
+ }>, Schema.Struct<{
83
+ readonly kind: Schema.Literal<"points">;
84
+ readonly pointTypeId: Schema.String;
85
+ readonly amount: Schema.Int;
86
+ }>, Schema.Struct<{
87
+ readonly kind: Schema.Literal<"pos_voucher">;
88
+ readonly provider: Schema.Literal<"senpos">;
89
+ readonly rewardId: Schema.String;
90
+ readonly quantity: Schema.Int;
91
+ readonly faceValue: Schema.Union<readonly [Schema.Struct<{
92
+ readonly amountCents: Schema.Int;
93
+ readonly currency: Schema.String;
94
+ }>, Schema.Null]>;
95
+ }>]>;
96
+ readonly startsAt: Schema.Union<readonly [Schema.String, Schema.Null]>;
97
+ readonly endsAt: Schema.Union<readonly [Schema.String, Schema.Null]>;
98
+ }>;
99
+ declare const CatalogueOfferSchema: Schema.Struct<{
100
+ readonly benefit: Schema.Union<readonly [Schema.Struct<{
101
+ readonly kind: Schema.Literal<"physical_item">;
102
+ readonly itemName: Schema.String;
103
+ readonly quantity: Schema.Int;
104
+ }>, Schema.Struct<{
105
+ readonly kind: Schema.Literal<"points">;
106
+ readonly pointTypeId: Schema.String;
107
+ readonly amount: Schema.Int;
108
+ }>, Schema.Struct<{
109
+ readonly kind: Schema.Literal<"pos_voucher">;
110
+ readonly quantity: Schema.Int;
111
+ readonly faceValue: Schema.Union<readonly [Schema.Struct<{
112
+ readonly amountCents: Schema.Int;
113
+ readonly currency: Schema.String;
114
+ }>, Schema.Null]>;
115
+ }>]>;
116
+ readonly title: Schema.String;
117
+ readonly description: Schema.String;
118
+ readonly terms: Schema.String;
119
+ readonly startsAt: Schema.Union<readonly [Schema.String, Schema.Null]>;
120
+ readonly endsAt: Schema.Union<readonly [Schema.String, Schema.Null]>;
121
+ readonly id: Schema.String;
122
+ readonly organizationId: Schema.String;
123
+ }>;
124
+ declare const OfferSchema: Schema.Struct<{
125
+ readonly benefit: Schema.Union<readonly [Schema.Union<readonly [Schema.Struct<{
126
+ readonly kind: Schema.Literal<"physical_item">;
127
+ readonly itemName: Schema.String;
128
+ readonly quantity: Schema.Int;
129
+ }>, Schema.Struct<{
130
+ readonly kind: Schema.Literal<"points">;
131
+ readonly pointTypeId: Schema.String;
132
+ readonly amount: Schema.Int;
133
+ }>, Schema.Struct<{
134
+ readonly kind: Schema.Literal<"pos_voucher">;
135
+ readonly provider: Schema.Literal<"senpos">;
136
+ readonly rewardId: Schema.String;
137
+ readonly quantity: Schema.Int;
138
+ readonly faceValue: Schema.Union<readonly [Schema.Struct<{
139
+ readonly amountCents: Schema.Int;
140
+ readonly currency: Schema.String;
141
+ }>, Schema.Null]>;
142
+ }>]>, Schema.Null]>;
143
+ readonly status: Schema.Literals<readonly ["draft", "active", "retired"]>;
144
+ readonly createdAt: Schema.String;
145
+ readonly updatedAt: Schema.String;
146
+ readonly createdByActorId: Schema.String;
147
+ readonly updatedByActorId: Schema.String;
148
+ readonly title: Schema.String;
149
+ readonly description: Schema.String;
150
+ readonly terms: Schema.String;
151
+ readonly startsAt: Schema.Union<readonly [Schema.String, Schema.Null]>;
152
+ readonly endsAt: Schema.Union<readonly [Schema.String, Schema.Null]>;
153
+ readonly id: Schema.String;
154
+ readonly organizationId: Schema.String;
155
+ }>;
156
+ declare const offersGroup: HttpApiGroup.HttpApiGroup<"offers", HttpApiEndpoint.HttpApiEndpoint<"listOffers", "GET", "/organizations/:organizationId/offers", Schema.toCodecStringTree<Schema.Struct<{
157
+ readonly organizationId: Schema.String;
158
+ }>>, never, never, never, Schema.toCodecJson<Schema.$Array<Schema.Struct<{
159
+ readonly benefit: Schema.Union<readonly [Schema.Union<readonly [Schema.Struct<{
160
+ readonly kind: Schema.Literal<"physical_item">;
161
+ readonly itemName: Schema.String;
162
+ readonly quantity: Schema.Int;
163
+ }>, Schema.Struct<{
164
+ readonly kind: Schema.Literal<"points">;
165
+ readonly pointTypeId: Schema.String;
166
+ readonly amount: Schema.Int;
167
+ }>, Schema.Struct<{
168
+ readonly kind: Schema.Literal<"pos_voucher">;
169
+ readonly provider: Schema.Literal<"senpos">;
170
+ readonly rewardId: Schema.String;
171
+ readonly quantity: Schema.Int;
172
+ readonly faceValue: Schema.Union<readonly [Schema.Struct<{
173
+ readonly amountCents: Schema.Int;
174
+ readonly currency: Schema.String;
175
+ }>, Schema.Null]>;
176
+ }>]>, Schema.Null]>;
177
+ readonly status: Schema.Literals<readonly ["draft", "active", "retired"]>;
178
+ readonly createdAt: Schema.String;
179
+ readonly updatedAt: Schema.String;
180
+ readonly createdByActorId: Schema.String;
181
+ readonly updatedByActorId: Schema.String;
182
+ readonly title: Schema.String;
183
+ readonly description: Schema.String;
184
+ readonly terms: Schema.String;
185
+ readonly startsAt: Schema.Union<readonly [Schema.String, Schema.Null]>;
186
+ readonly endsAt: Schema.Union<readonly [Schema.String, Schema.Null]>;
187
+ readonly id: Schema.String;
188
+ readonly organizationId: Schema.String;
189
+ }>>>, Schema.toCodecJson<Schema.Struct<{
190
+ readonly code: Schema.Literal<"unauthorized">;
191
+ readonly message: Schema.String;
192
+ }> | Schema.Struct<{
193
+ readonly code: Schema.Literal<"forbidden">;
194
+ readonly message: Schema.String;
195
+ }> | Schema.Struct<{
196
+ readonly code: Schema.Literal<"not_found">;
197
+ readonly message: Schema.String;
198
+ }> | Schema.Struct<{
199
+ readonly code: Schema.Literal<"conflict">;
200
+ readonly message: Schema.String;
201
+ }> | Schema.Struct<{
202
+ readonly code: Schema.Literal<"bad_request">;
203
+ readonly message: Schema.String;
204
+ }> | Schema.Struct<{
205
+ readonly code: Schema.Literal<"internal_error">;
206
+ readonly message: Schema.String;
207
+ }>>, never, never> | HttpApiEndpoint.HttpApiEndpoint<"getOffer", "GET", "/organizations/:organizationId/offers/:offerId", Schema.toCodecStringTree<Schema.Struct<{
208
+ readonly organizationId: Schema.String;
209
+ readonly offerId: Schema.String;
210
+ }>>, never, never, never, Schema.toCodecJson<Schema.Struct<{
211
+ readonly benefit: Schema.Union<readonly [Schema.Union<readonly [Schema.Struct<{
212
+ readonly kind: Schema.Literal<"physical_item">;
213
+ readonly itemName: Schema.String;
214
+ readonly quantity: Schema.Int;
215
+ }>, Schema.Struct<{
216
+ readonly kind: Schema.Literal<"points">;
217
+ readonly pointTypeId: Schema.String;
218
+ readonly amount: Schema.Int;
219
+ }>, Schema.Struct<{
220
+ readonly kind: Schema.Literal<"pos_voucher">;
221
+ readonly provider: Schema.Literal<"senpos">;
222
+ readonly rewardId: Schema.String;
223
+ readonly quantity: Schema.Int;
224
+ readonly faceValue: Schema.Union<readonly [Schema.Struct<{
225
+ readonly amountCents: Schema.Int;
226
+ readonly currency: Schema.String;
227
+ }>, Schema.Null]>;
228
+ }>]>, Schema.Null]>;
229
+ readonly status: Schema.Literals<readonly ["draft", "active", "retired"]>;
230
+ readonly createdAt: Schema.String;
231
+ readonly updatedAt: Schema.String;
232
+ readonly createdByActorId: Schema.String;
233
+ readonly updatedByActorId: Schema.String;
234
+ readonly title: Schema.String;
235
+ readonly description: Schema.String;
236
+ readonly terms: Schema.String;
237
+ readonly startsAt: Schema.Union<readonly [Schema.String, Schema.Null]>;
238
+ readonly endsAt: Schema.Union<readonly [Schema.String, Schema.Null]>;
239
+ readonly id: Schema.String;
240
+ readonly organizationId: Schema.String;
241
+ }>>, Schema.toCodecJson<Schema.Struct<{
242
+ readonly code: Schema.Literal<"unauthorized">;
243
+ readonly message: Schema.String;
244
+ }> | Schema.Struct<{
245
+ readonly code: Schema.Literal<"forbidden">;
246
+ readonly message: Schema.String;
247
+ }> | Schema.Struct<{
248
+ readonly code: Schema.Literal<"not_found">;
249
+ readonly message: Schema.String;
250
+ }> | Schema.Struct<{
251
+ readonly code: Schema.Literal<"conflict">;
252
+ readonly message: Schema.String;
253
+ }> | Schema.Struct<{
254
+ readonly code: Schema.Literal<"bad_request">;
255
+ readonly message: Schema.String;
256
+ }> | Schema.Struct<{
257
+ readonly code: Schema.Literal<"internal_error">;
258
+ readonly message: Schema.String;
259
+ }>>, never, never> | HttpApiEndpoint.HttpApiEndpoint<"createOffer", "POST", "/organizations/:organizationId/offers", Schema.toCodecStringTree<Schema.Struct<{
260
+ readonly organizationId: Schema.String;
261
+ }>>, never, Schema.toCodecJson<Schema.Struct<{
262
+ title: Schema.String;
263
+ description: Schema.String;
264
+ terms: Schema.String;
265
+ benefit: Schema.Union<readonly [Schema.Struct<{
266
+ readonly kind: Schema.Literal<"physical_item">;
267
+ readonly itemName: Schema.String;
268
+ readonly quantity: Schema.Int;
269
+ }>, Schema.Struct<{
270
+ readonly kind: Schema.Literal<"points">;
271
+ readonly pointTypeId: Schema.String;
272
+ readonly amount: Schema.Int;
273
+ }>, Schema.Struct<{
274
+ readonly kind: Schema.Literal<"pos_voucher">;
275
+ readonly provider: Schema.Literal<"senpos">;
276
+ readonly rewardId: Schema.String;
277
+ readonly quantity: Schema.Int;
278
+ readonly faceValue: Schema.Union<readonly [Schema.Struct<{
279
+ readonly amountCents: Schema.Int;
280
+ readonly currency: Schema.String;
281
+ }>, Schema.Null]>;
282
+ }>]>;
283
+ startsAt: Schema.Union<readonly [Schema.String, Schema.Null]>;
284
+ endsAt: Schema.Union<readonly [Schema.String, Schema.Null]>;
285
+ }>>, never, Schema.toCodecJson<Schema.Struct<{
286
+ readonly benefit: Schema.Union<readonly [Schema.Union<readonly [Schema.Struct<{
287
+ readonly kind: Schema.Literal<"physical_item">;
288
+ readonly itemName: Schema.String;
289
+ readonly quantity: Schema.Int;
290
+ }>, Schema.Struct<{
291
+ readonly kind: Schema.Literal<"points">;
292
+ readonly pointTypeId: Schema.String;
293
+ readonly amount: Schema.Int;
294
+ }>, Schema.Struct<{
295
+ readonly kind: Schema.Literal<"pos_voucher">;
296
+ readonly provider: Schema.Literal<"senpos">;
297
+ readonly rewardId: Schema.String;
298
+ readonly quantity: Schema.Int;
299
+ readonly faceValue: Schema.Union<readonly [Schema.Struct<{
300
+ readonly amountCents: Schema.Int;
301
+ readonly currency: Schema.String;
302
+ }>, Schema.Null]>;
303
+ }>]>, Schema.Null]>;
304
+ readonly status: Schema.Literals<readonly ["draft", "active", "retired"]>;
305
+ readonly createdAt: Schema.String;
306
+ readonly updatedAt: Schema.String;
307
+ readonly createdByActorId: Schema.String;
308
+ readonly updatedByActorId: Schema.String;
309
+ readonly title: Schema.String;
310
+ readonly description: Schema.String;
311
+ readonly terms: Schema.String;
312
+ readonly startsAt: Schema.Union<readonly [Schema.String, Schema.Null]>;
313
+ readonly endsAt: Schema.Union<readonly [Schema.String, Schema.Null]>;
314
+ readonly id: Schema.String;
315
+ readonly organizationId: Schema.String;
316
+ }>>, Schema.toCodecJson<Schema.Struct<{
317
+ readonly code: Schema.Literal<"unauthorized">;
318
+ readonly message: Schema.String;
319
+ }> | Schema.Struct<{
320
+ readonly code: Schema.Literal<"forbidden">;
321
+ readonly message: Schema.String;
322
+ }> | Schema.Struct<{
323
+ readonly code: Schema.Literal<"not_found">;
324
+ readonly message: Schema.String;
325
+ }> | Schema.Struct<{
326
+ readonly code: Schema.Literal<"conflict">;
327
+ readonly message: Schema.String;
328
+ }> | Schema.Struct<{
329
+ readonly code: Schema.Literal<"bad_request">;
330
+ readonly message: Schema.String;
331
+ }> | Schema.Struct<{
332
+ readonly code: Schema.Literal<"internal_error">;
333
+ readonly message: Schema.String;
334
+ }>>, never, never> | HttpApiEndpoint.HttpApiEndpoint<"updateOffer", "PUT", "/organizations/:organizationId/offers/:offerId", Schema.toCodecStringTree<Schema.Struct<{
335
+ readonly organizationId: Schema.String;
336
+ readonly offerId: Schema.String;
337
+ }>>, never, Schema.toCodecJson<Schema.Struct<{
338
+ readonly status: Schema.Literals<readonly ["draft", "active", "retired"]>;
339
+ readonly expectedUpdatedAt: Schema.String;
340
+ readonly title: Schema.String;
341
+ readonly description: Schema.String;
342
+ readonly terms: Schema.String;
343
+ readonly benefit: Schema.Union<readonly [Schema.Struct<{
344
+ readonly kind: Schema.Literal<"physical_item">;
345
+ readonly itemName: Schema.String;
346
+ readonly quantity: Schema.Int;
347
+ }>, Schema.Struct<{
348
+ readonly kind: Schema.Literal<"points">;
349
+ readonly pointTypeId: Schema.String;
350
+ readonly amount: Schema.Int;
351
+ }>, Schema.Struct<{
352
+ readonly kind: Schema.Literal<"pos_voucher">;
353
+ readonly provider: Schema.Literal<"senpos">;
354
+ readonly rewardId: Schema.String;
355
+ readonly quantity: Schema.Int;
356
+ readonly faceValue: Schema.Union<readonly [Schema.Struct<{
357
+ readonly amountCents: Schema.Int;
358
+ readonly currency: Schema.String;
359
+ }>, Schema.Null]>;
360
+ }>]>;
361
+ readonly startsAt: Schema.Union<readonly [Schema.String, Schema.Null]>;
362
+ readonly endsAt: Schema.Union<readonly [Schema.String, Schema.Null]>;
363
+ }>>, never, Schema.toCodecJson<Schema.Struct<{
364
+ readonly benefit: Schema.Union<readonly [Schema.Union<readonly [Schema.Struct<{
365
+ readonly kind: Schema.Literal<"physical_item">;
366
+ readonly itemName: Schema.String;
367
+ readonly quantity: Schema.Int;
368
+ }>, Schema.Struct<{
369
+ readonly kind: Schema.Literal<"points">;
370
+ readonly pointTypeId: Schema.String;
371
+ readonly amount: Schema.Int;
372
+ }>, Schema.Struct<{
373
+ readonly kind: Schema.Literal<"pos_voucher">;
374
+ readonly provider: Schema.Literal<"senpos">;
375
+ readonly rewardId: Schema.String;
376
+ readonly quantity: Schema.Int;
377
+ readonly faceValue: Schema.Union<readonly [Schema.Struct<{
378
+ readonly amountCents: Schema.Int;
379
+ readonly currency: Schema.String;
380
+ }>, Schema.Null]>;
381
+ }>]>, Schema.Null]>;
382
+ readonly status: Schema.Literals<readonly ["draft", "active", "retired"]>;
383
+ readonly createdAt: Schema.String;
384
+ readonly updatedAt: Schema.String;
385
+ readonly createdByActorId: Schema.String;
386
+ readonly updatedByActorId: Schema.String;
387
+ readonly title: Schema.String;
388
+ readonly description: Schema.String;
389
+ readonly terms: Schema.String;
390
+ readonly startsAt: Schema.Union<readonly [Schema.String, Schema.Null]>;
391
+ readonly endsAt: Schema.Union<readonly [Schema.String, Schema.Null]>;
392
+ readonly id: Schema.String;
393
+ readonly organizationId: Schema.String;
394
+ }>>, Schema.toCodecJson<Schema.Struct<{
395
+ readonly code: Schema.Literal<"unauthorized">;
396
+ readonly message: Schema.String;
397
+ }> | Schema.Struct<{
398
+ readonly code: Schema.Literal<"forbidden">;
399
+ readonly message: Schema.String;
400
+ }> | Schema.Struct<{
401
+ readonly code: Schema.Literal<"not_found">;
402
+ readonly message: Schema.String;
403
+ }> | Schema.Struct<{
404
+ readonly code: Schema.Literal<"conflict">;
405
+ readonly message: Schema.String;
406
+ }> | Schema.Struct<{
407
+ readonly code: Schema.Literal<"bad_request">;
408
+ readonly message: Schema.String;
409
+ }> | Schema.Struct<{
410
+ readonly code: Schema.Literal<"internal_error">;
411
+ readonly message: Schema.String;
412
+ }>>, never, never> | HttpApiEndpoint.HttpApiEndpoint<"listCatalogueOffers", "GET", "/organizations/:organizationId/offer-catalogue", Schema.toCodecStringTree<Schema.Struct<{
413
+ readonly organizationId: Schema.String;
414
+ }>>, never, never, never, Schema.toCodecJson<Schema.$Array<Schema.Struct<{
415
+ readonly benefit: Schema.Union<readonly [Schema.Struct<{
416
+ readonly kind: Schema.Literal<"physical_item">;
417
+ readonly itemName: Schema.String;
418
+ readonly quantity: Schema.Int;
419
+ }>, Schema.Struct<{
420
+ readonly kind: Schema.Literal<"points">;
421
+ readonly pointTypeId: Schema.String;
422
+ readonly amount: Schema.Int;
423
+ }>, Schema.Struct<{
424
+ readonly kind: Schema.Literal<"pos_voucher">;
425
+ readonly quantity: Schema.Int;
426
+ readonly faceValue: Schema.Union<readonly [Schema.Struct<{
427
+ readonly amountCents: Schema.Int;
428
+ readonly currency: Schema.String;
429
+ }>, Schema.Null]>;
430
+ }>]>;
431
+ readonly title: Schema.String;
432
+ readonly description: Schema.String;
433
+ readonly terms: Schema.String;
434
+ readonly startsAt: Schema.Union<readonly [Schema.String, Schema.Null]>;
435
+ readonly endsAt: Schema.Union<readonly [Schema.String, Schema.Null]>;
436
+ readonly id: Schema.String;
437
+ readonly organizationId: Schema.String;
438
+ }>>>, Schema.toCodecJson<Schema.Struct<{
439
+ readonly code: Schema.Literal<"unauthorized">;
440
+ readonly message: Schema.String;
441
+ }> | Schema.Struct<{
442
+ readonly code: Schema.Literal<"forbidden">;
443
+ readonly message: Schema.String;
444
+ }> | Schema.Struct<{
445
+ readonly code: Schema.Literal<"not_found">;
446
+ readonly message: Schema.String;
447
+ }> | Schema.Struct<{
448
+ readonly code: Schema.Literal<"conflict">;
449
+ readonly message: Schema.String;
450
+ }> | Schema.Struct<{
451
+ readonly code: Schema.Literal<"bad_request">;
452
+ readonly message: Schema.String;
453
+ }> | Schema.Struct<{
454
+ readonly code: Schema.Literal<"internal_error">;
455
+ readonly message: Schema.String;
456
+ }>>, never, never> | HttpApiEndpoint.HttpApiEndpoint<"getCatalogueOffer", "GET", "/organizations/:organizationId/offer-catalogue/:offerId", Schema.toCodecStringTree<Schema.Struct<{
457
+ readonly organizationId: Schema.String;
458
+ readonly offerId: Schema.String;
459
+ }>>, never, never, never, Schema.toCodecJson<Schema.Struct<{
460
+ readonly benefit: Schema.Union<readonly [Schema.Struct<{
461
+ readonly kind: Schema.Literal<"physical_item">;
462
+ readonly itemName: Schema.String;
463
+ readonly quantity: Schema.Int;
464
+ }>, Schema.Struct<{
465
+ readonly kind: Schema.Literal<"points">;
466
+ readonly pointTypeId: Schema.String;
467
+ readonly amount: Schema.Int;
468
+ }>, Schema.Struct<{
469
+ readonly kind: Schema.Literal<"pos_voucher">;
470
+ readonly quantity: Schema.Int;
471
+ readonly faceValue: Schema.Union<readonly [Schema.Struct<{
472
+ readonly amountCents: Schema.Int;
473
+ readonly currency: Schema.String;
474
+ }>, Schema.Null]>;
475
+ }>]>;
476
+ readonly title: Schema.String;
477
+ readonly description: Schema.String;
478
+ readonly terms: Schema.String;
479
+ readonly startsAt: Schema.Union<readonly [Schema.String, Schema.Null]>;
480
+ readonly endsAt: Schema.Union<readonly [Schema.String, Schema.Null]>;
481
+ readonly id: Schema.String;
482
+ readonly organizationId: Schema.String;
483
+ }>>, Schema.toCodecJson<Schema.Struct<{
484
+ readonly code: Schema.Literal<"unauthorized">;
485
+ readonly message: Schema.String;
486
+ }> | Schema.Struct<{
487
+ readonly code: Schema.Literal<"forbidden">;
488
+ readonly message: Schema.String;
489
+ }> | Schema.Struct<{
490
+ readonly code: Schema.Literal<"not_found">;
491
+ readonly message: Schema.String;
492
+ }> | Schema.Struct<{
493
+ readonly code: Schema.Literal<"conflict">;
494
+ readonly message: Schema.String;
495
+ }> | Schema.Struct<{
496
+ readonly code: Schema.Literal<"bad_request">;
497
+ readonly message: Schema.String;
498
+ }> | Schema.Struct<{
499
+ readonly code: Schema.Literal<"internal_error">;
500
+ readonly message: Schema.String;
501
+ }>>, never, never>, false>;
502
+ type CreateOfferInput = Schema.Schema.Type<typeof CreateOfferSchema>;
503
+ type UpdateOfferInput = Schema.Schema.Type<typeof UpdateOfferSchema>;
504
+ type Offer = Schema.Schema.Type<typeof OfferSchema>;
505
+ type CatalogueOffer = Schema.Schema.Type<typeof CatalogueOfferSchema>;
506
+
10
507
  declare const TimestampSchema: Schema.String;
11
508
  declare const DateOnlySchema: Schema.String;
12
509
  declare const AddressSchema: Schema.Struct<{
@@ -2435,6 +2932,26 @@ declare const BootstrapOrganizationMemberSourceAgentSchema: Schema.Struct<{
2435
2932
  readonly pollingIntervalSeconds: Schema.optional<Schema.Number>;
2436
2933
  readonly metadata: Schema.optional<Schema.$Record<Schema.String, Schema.Unknown>>;
2437
2934
  }>;
2935
+ declare const GreengrassAgentDeviceSchema: Schema.Struct<{
2936
+ readonly thingName: Schema.String;
2937
+ }>;
2938
+ type GreengrassAgentDevice = Schema.Schema.Type<typeof GreengrassAgentDeviceSchema>;
2939
+ declare const UpdateGreengrassAgentSchema: Schema.Struct<{
2940
+ readonly version: Schema.String;
2941
+ readonly expectedDeploymentId: Schema.String;
2942
+ readonly thingName: Schema.String;
2943
+ }>;
2944
+ declare const GreengrassAgentUpdateSchema: Schema.Struct<{
2945
+ readonly thingName: Schema.String;
2946
+ readonly latestVersion: Schema.String;
2947
+ readonly targetVersion: Schema.String;
2948
+ readonly deploymentId: Schema.String;
2949
+ readonly deploymentStatus: Schema.String;
2950
+ readonly updateAvailable: Schema.Boolean;
2951
+ readonly inProgress: Schema.Boolean;
2952
+ }>;
2953
+ type UpdateGreengrassAgentInput = Schema.Schema.Type<typeof UpdateGreengrassAgentSchema>;
2954
+ type GreengrassAgentUpdate = Schema.Schema.Type<typeof GreengrassAgentUpdateSchema>;
2438
2955
  declare const BootstrapOrganizationMemberSourceAgentResponseSchema: Schema.Struct<{
2439
2956
  readonly agent: Schema.Struct<{
2440
2957
  readonly id: Schema.String;
@@ -3046,6 +3563,7 @@ declare const SourceManagedMemberLookupCommandPayloadSchema: Schema.Struct<{
3046
3563
  readonly refreshStoredMember: Schema.optional<Schema.Boolean>;
3047
3564
  }>;
3048
3565
  declare const SourceManagedMemberRenewalCommandPayloadSchema: Schema.Struct<{
3566
+ readonly renewalSafetyProtocol: Schema.optional<Schema.Literal<1>>;
3049
3567
  readonly memberId: Schema.String;
3050
3568
  readonly externalSystemMemberId: Schema.String;
3051
3569
  readonly memberNumber: Schema.optional<Schema.Union<readonly [Schema.String, Schema.Null]>>;
@@ -4287,6 +4805,7 @@ declare const OnsiteAgentMemberRenewalCommandSchema: Schema.Struct<{
4287
4805
  readonly connectorType: Schema.Literals<readonly ["max_gaming", "odyssey_gaming", "ebet_arc", "custom"]>;
4288
4806
  readonly requestedAt: Schema.String;
4289
4807
  readonly payload: Schema.Struct<{
4808
+ readonly renewalSafetyProtocol: Schema.optional<Schema.Literal<1>>;
4290
4809
  readonly memberId: Schema.String;
4291
4810
  readonly externalSystemMemberId: Schema.String;
4292
4811
  readonly memberNumber: Schema.optional<Schema.Union<readonly [Schema.String, Schema.Null]>>;
@@ -4892,6 +5411,8 @@ declare const OnsiteAgentCompleteMemberUpdateSchema: Schema.Struct<{
4892
5411
  readonly errorMessage: Schema.optional<Schema.Union<readonly [Schema.String, Schema.Null]>>;
4893
5412
  }>;
4894
5413
  declare const OnsiteAgentCompleteMemberRenewalSchema: Schema.Struct<{
5414
+ readonly executionToken: Schema.optional<Schema.String>;
5415
+ readonly upstreamStatus: Schema.optional<Schema.Number>;
4895
5416
  readonly record: Schema.optional<Schema.Struct<{
4896
5417
  readonly lineNumber: Schema.Union<readonly [Schema.Number, Schema.Null]>;
4897
5418
  readonly previousMemberNumber: Schema.Union<readonly [Schema.String, Schema.Null]>;
@@ -5116,17 +5637,40 @@ declare const MailchimpSettingsSchema: Schema.Struct<{
5116
5637
  }>;
5117
5638
  type MailchimpSettingsResponse = Schema.Schema.Type<typeof MailchimpSettingsSchema>;
5118
5639
  type MailchimpSettingsInput = Schema.Schema.Type<typeof MailchimpSettingsInputSchema>;
5119
- declare const HubApi: HttpApi.HttpApi<"hub", HttpApiGroup.HttpApiGroup<"auth", HttpApiEndpoint.HttpApiEndpoint<"getAdminSession", "GET", "/v1/admin/session", never, never, never, never, Schema.toCodecJson<Schema.Struct<{
5120
- readonly principalId: Schema.String;
5121
- readonly email: Schema.String;
5122
- readonly displayName: Schema.String;
5123
- readonly authRole: Schema.Union<readonly [Schema.String, Schema.Null]>;
5124
- readonly impersonatedBy: Schema.Union<readonly [Schema.String, Schema.Null]>;
5125
- readonly roles: Schema.$Array<Schema.Struct<{
5126
- readonly role: Schema.Literals<readonly ["platform_admin", "org_admin", "auditor", "workflow_resolver"]>;
5127
- readonly organizationId: Schema.Union<readonly [Schema.String, Schema.Null]>;
5128
- }>>;
5129
- }>>, Schema.toCodecJson<Schema.Struct<{
5640
+ declare const HubApi: HttpApi.HttpApi<"hub", HttpApiGroup.HttpApiGroup<"offers", HttpApiEndpoint.HttpApiEndpoint<"listOffers", "GET", "/v1/organizations/:organizationId/offers", Schema.toCodecStringTree<Schema.Struct<{
5641
+ readonly organizationId: Schema.String;
5642
+ }>>, never, never, never, Schema.toCodecJson<Schema.$Array<Schema.Struct<{
5643
+ readonly benefit: Schema.Union<readonly [Schema.Union<readonly [Schema.Struct<{
5644
+ readonly kind: Schema.Literal<"physical_item">;
5645
+ readonly itemName: Schema.String;
5646
+ readonly quantity: Schema.Int;
5647
+ }>, Schema.Struct<{
5648
+ readonly kind: Schema.Literal<"points">;
5649
+ readonly pointTypeId: Schema.String;
5650
+ readonly amount: Schema.Int;
5651
+ }>, Schema.Struct<{
5652
+ readonly kind: Schema.Literal<"pos_voucher">;
5653
+ readonly provider: Schema.Literal<"senpos">;
5654
+ readonly rewardId: Schema.String;
5655
+ readonly quantity: Schema.Int;
5656
+ readonly faceValue: Schema.Union<readonly [Schema.Struct<{
5657
+ readonly amountCents: Schema.Int;
5658
+ readonly currency: Schema.String;
5659
+ }>, Schema.Null]>;
5660
+ }>]>, Schema.Null]>;
5661
+ readonly status: Schema.Literals<readonly ["draft", "active", "retired"]>;
5662
+ readonly createdAt: Schema.String;
5663
+ readonly updatedAt: Schema.String;
5664
+ readonly createdByActorId: Schema.String;
5665
+ readonly updatedByActorId: Schema.String;
5666
+ readonly title: Schema.String;
5667
+ readonly description: Schema.String;
5668
+ readonly terms: Schema.String;
5669
+ readonly startsAt: Schema.Union<readonly [Schema.String, Schema.Null]>;
5670
+ readonly endsAt: Schema.Union<readonly [Schema.String, Schema.Null]>;
5671
+ readonly id: Schema.String;
5672
+ readonly organizationId: Schema.String;
5673
+ }>>>, Schema.toCodecJson<Schema.Struct<{
5130
5674
  readonly code: Schema.Literal<"unauthorized">;
5131
5675
  readonly message: Schema.String;
5132
5676
  }> | Schema.Struct<{
@@ -5144,12 +5688,334 @@ declare const HubApi: HttpApi.HttpApi<"hub", HttpApiGroup.HttpApiGroup<"auth", H
5144
5688
  }> | Schema.Struct<{
5145
5689
  readonly code: Schema.Literal<"internal_error">;
5146
5690
  readonly message: Schema.String;
5147
- }>>, never, never>, false> | HttpApiGroup.HttpApiGroup<"organizations", HttpApiEndpoint.HttpApiEndpoint<"getOrganizationCapabilities", "GET", "/v1/organizations/:organizationId/capabilities", Schema.toCodecStringTree<Schema.Struct<{
5691
+ }>>, never, never> | HttpApiEndpoint.HttpApiEndpoint<"getOffer", "GET", "/v1/organizations/:organizationId/offers/:offerId", Schema.toCodecStringTree<Schema.Struct<{
5148
5692
  readonly organizationId: Schema.String;
5693
+ readonly offerId: Schema.String;
5149
5694
  }>>, never, never, never, Schema.toCodecJson<Schema.Struct<{
5150
- readonly organizationId: Schema.String;
5151
- readonly points: Schema.Struct<{
5152
- readonly supported: Schema.Boolean;
5695
+ readonly benefit: Schema.Union<readonly [Schema.Union<readonly [Schema.Struct<{
5696
+ readonly kind: Schema.Literal<"physical_item">;
5697
+ readonly itemName: Schema.String;
5698
+ readonly quantity: Schema.Int;
5699
+ }>, Schema.Struct<{
5700
+ readonly kind: Schema.Literal<"points">;
5701
+ readonly pointTypeId: Schema.String;
5702
+ readonly amount: Schema.Int;
5703
+ }>, Schema.Struct<{
5704
+ readonly kind: Schema.Literal<"pos_voucher">;
5705
+ readonly provider: Schema.Literal<"senpos">;
5706
+ readonly rewardId: Schema.String;
5707
+ readonly quantity: Schema.Int;
5708
+ readonly faceValue: Schema.Union<readonly [Schema.Struct<{
5709
+ readonly amountCents: Schema.Int;
5710
+ readonly currency: Schema.String;
5711
+ }>, Schema.Null]>;
5712
+ }>]>, Schema.Null]>;
5713
+ readonly status: Schema.Literals<readonly ["draft", "active", "retired"]>;
5714
+ readonly createdAt: Schema.String;
5715
+ readonly updatedAt: Schema.String;
5716
+ readonly createdByActorId: Schema.String;
5717
+ readonly updatedByActorId: Schema.String;
5718
+ readonly title: Schema.String;
5719
+ readonly description: Schema.String;
5720
+ readonly terms: Schema.String;
5721
+ readonly startsAt: Schema.Union<readonly [Schema.String, Schema.Null]>;
5722
+ readonly endsAt: Schema.Union<readonly [Schema.String, Schema.Null]>;
5723
+ readonly id: Schema.String;
5724
+ readonly organizationId: Schema.String;
5725
+ }>>, Schema.toCodecJson<Schema.Struct<{
5726
+ readonly code: Schema.Literal<"unauthorized">;
5727
+ readonly message: Schema.String;
5728
+ }> | Schema.Struct<{
5729
+ readonly code: Schema.Literal<"forbidden">;
5730
+ readonly message: Schema.String;
5731
+ }> | Schema.Struct<{
5732
+ readonly code: Schema.Literal<"not_found">;
5733
+ readonly message: Schema.String;
5734
+ }> | Schema.Struct<{
5735
+ readonly code: Schema.Literal<"conflict">;
5736
+ readonly message: Schema.String;
5737
+ }> | Schema.Struct<{
5738
+ readonly code: Schema.Literal<"bad_request">;
5739
+ readonly message: Schema.String;
5740
+ }> | Schema.Struct<{
5741
+ readonly code: Schema.Literal<"internal_error">;
5742
+ readonly message: Schema.String;
5743
+ }>>, never, never> | HttpApiEndpoint.HttpApiEndpoint<"createOffer", "POST", "/v1/organizations/:organizationId/offers", Schema.toCodecStringTree<Schema.Struct<{
5744
+ readonly organizationId: Schema.String;
5745
+ }>>, never, Schema.toCodecJson<Schema.Struct<{
5746
+ title: Schema.String;
5747
+ description: Schema.String;
5748
+ terms: Schema.String;
5749
+ benefit: Schema.Union<readonly [Schema.Struct<{
5750
+ readonly kind: Schema.Literal<"physical_item">;
5751
+ readonly itemName: Schema.String;
5752
+ readonly quantity: Schema.Int;
5753
+ }>, Schema.Struct<{
5754
+ readonly kind: Schema.Literal<"points">;
5755
+ readonly pointTypeId: Schema.String;
5756
+ readonly amount: Schema.Int;
5757
+ }>, Schema.Struct<{
5758
+ readonly kind: Schema.Literal<"pos_voucher">;
5759
+ readonly provider: Schema.Literal<"senpos">;
5760
+ readonly rewardId: Schema.String;
5761
+ readonly quantity: Schema.Int;
5762
+ readonly faceValue: Schema.Union<readonly [Schema.Struct<{
5763
+ readonly amountCents: Schema.Int;
5764
+ readonly currency: Schema.String;
5765
+ }>, Schema.Null]>;
5766
+ }>]>;
5767
+ startsAt: Schema.Union<readonly [Schema.String, Schema.Null]>;
5768
+ endsAt: Schema.Union<readonly [Schema.String, Schema.Null]>;
5769
+ }>>, never, Schema.toCodecJson<Schema.Struct<{
5770
+ readonly benefit: Schema.Union<readonly [Schema.Union<readonly [Schema.Struct<{
5771
+ readonly kind: Schema.Literal<"physical_item">;
5772
+ readonly itemName: Schema.String;
5773
+ readonly quantity: Schema.Int;
5774
+ }>, Schema.Struct<{
5775
+ readonly kind: Schema.Literal<"points">;
5776
+ readonly pointTypeId: Schema.String;
5777
+ readonly amount: Schema.Int;
5778
+ }>, Schema.Struct<{
5779
+ readonly kind: Schema.Literal<"pos_voucher">;
5780
+ readonly provider: Schema.Literal<"senpos">;
5781
+ readonly rewardId: Schema.String;
5782
+ readonly quantity: Schema.Int;
5783
+ readonly faceValue: Schema.Union<readonly [Schema.Struct<{
5784
+ readonly amountCents: Schema.Int;
5785
+ readonly currency: Schema.String;
5786
+ }>, Schema.Null]>;
5787
+ }>]>, Schema.Null]>;
5788
+ readonly status: Schema.Literals<readonly ["draft", "active", "retired"]>;
5789
+ readonly createdAt: Schema.String;
5790
+ readonly updatedAt: Schema.String;
5791
+ readonly createdByActorId: Schema.String;
5792
+ readonly updatedByActorId: Schema.String;
5793
+ readonly title: Schema.String;
5794
+ readonly description: Schema.String;
5795
+ readonly terms: Schema.String;
5796
+ readonly startsAt: Schema.Union<readonly [Schema.String, Schema.Null]>;
5797
+ readonly endsAt: Schema.Union<readonly [Schema.String, Schema.Null]>;
5798
+ readonly id: Schema.String;
5799
+ readonly organizationId: Schema.String;
5800
+ }>>, Schema.toCodecJson<Schema.Struct<{
5801
+ readonly code: Schema.Literal<"unauthorized">;
5802
+ readonly message: Schema.String;
5803
+ }> | Schema.Struct<{
5804
+ readonly code: Schema.Literal<"forbidden">;
5805
+ readonly message: Schema.String;
5806
+ }> | Schema.Struct<{
5807
+ readonly code: Schema.Literal<"not_found">;
5808
+ readonly message: Schema.String;
5809
+ }> | Schema.Struct<{
5810
+ readonly code: Schema.Literal<"conflict">;
5811
+ readonly message: Schema.String;
5812
+ }> | Schema.Struct<{
5813
+ readonly code: Schema.Literal<"bad_request">;
5814
+ readonly message: Schema.String;
5815
+ }> | Schema.Struct<{
5816
+ readonly code: Schema.Literal<"internal_error">;
5817
+ readonly message: Schema.String;
5818
+ }>>, never, never> | HttpApiEndpoint.HttpApiEndpoint<"updateOffer", "PUT", "/v1/organizations/:organizationId/offers/:offerId", Schema.toCodecStringTree<Schema.Struct<{
5819
+ readonly organizationId: Schema.String;
5820
+ readonly offerId: Schema.String;
5821
+ }>>, never, Schema.toCodecJson<Schema.Struct<{
5822
+ readonly status: Schema.Literals<readonly ["draft", "active", "retired"]>;
5823
+ readonly expectedUpdatedAt: Schema.String;
5824
+ readonly title: Schema.String;
5825
+ readonly description: Schema.String;
5826
+ readonly terms: Schema.String;
5827
+ readonly benefit: Schema.Union<readonly [Schema.Struct<{
5828
+ readonly kind: Schema.Literal<"physical_item">;
5829
+ readonly itemName: Schema.String;
5830
+ readonly quantity: Schema.Int;
5831
+ }>, Schema.Struct<{
5832
+ readonly kind: Schema.Literal<"points">;
5833
+ readonly pointTypeId: Schema.String;
5834
+ readonly amount: Schema.Int;
5835
+ }>, Schema.Struct<{
5836
+ readonly kind: Schema.Literal<"pos_voucher">;
5837
+ readonly provider: Schema.Literal<"senpos">;
5838
+ readonly rewardId: Schema.String;
5839
+ readonly quantity: Schema.Int;
5840
+ readonly faceValue: Schema.Union<readonly [Schema.Struct<{
5841
+ readonly amountCents: Schema.Int;
5842
+ readonly currency: Schema.String;
5843
+ }>, Schema.Null]>;
5844
+ }>]>;
5845
+ readonly startsAt: Schema.Union<readonly [Schema.String, Schema.Null]>;
5846
+ readonly endsAt: Schema.Union<readonly [Schema.String, Schema.Null]>;
5847
+ }>>, never, Schema.toCodecJson<Schema.Struct<{
5848
+ readonly benefit: Schema.Union<readonly [Schema.Union<readonly [Schema.Struct<{
5849
+ readonly kind: Schema.Literal<"physical_item">;
5850
+ readonly itemName: Schema.String;
5851
+ readonly quantity: Schema.Int;
5852
+ }>, Schema.Struct<{
5853
+ readonly kind: Schema.Literal<"points">;
5854
+ readonly pointTypeId: Schema.String;
5855
+ readonly amount: Schema.Int;
5856
+ }>, Schema.Struct<{
5857
+ readonly kind: Schema.Literal<"pos_voucher">;
5858
+ readonly provider: Schema.Literal<"senpos">;
5859
+ readonly rewardId: Schema.String;
5860
+ readonly quantity: Schema.Int;
5861
+ readonly faceValue: Schema.Union<readonly [Schema.Struct<{
5862
+ readonly amountCents: Schema.Int;
5863
+ readonly currency: Schema.String;
5864
+ }>, Schema.Null]>;
5865
+ }>]>, Schema.Null]>;
5866
+ readonly status: Schema.Literals<readonly ["draft", "active", "retired"]>;
5867
+ readonly createdAt: Schema.String;
5868
+ readonly updatedAt: Schema.String;
5869
+ readonly createdByActorId: Schema.String;
5870
+ readonly updatedByActorId: Schema.String;
5871
+ readonly title: Schema.String;
5872
+ readonly description: Schema.String;
5873
+ readonly terms: Schema.String;
5874
+ readonly startsAt: Schema.Union<readonly [Schema.String, Schema.Null]>;
5875
+ readonly endsAt: Schema.Union<readonly [Schema.String, Schema.Null]>;
5876
+ readonly id: Schema.String;
5877
+ readonly organizationId: Schema.String;
5878
+ }>>, Schema.toCodecJson<Schema.Struct<{
5879
+ readonly code: Schema.Literal<"unauthorized">;
5880
+ readonly message: Schema.String;
5881
+ }> | Schema.Struct<{
5882
+ readonly code: Schema.Literal<"forbidden">;
5883
+ readonly message: Schema.String;
5884
+ }> | Schema.Struct<{
5885
+ readonly code: Schema.Literal<"not_found">;
5886
+ readonly message: Schema.String;
5887
+ }> | Schema.Struct<{
5888
+ readonly code: Schema.Literal<"conflict">;
5889
+ readonly message: Schema.String;
5890
+ }> | Schema.Struct<{
5891
+ readonly code: Schema.Literal<"bad_request">;
5892
+ readonly message: Schema.String;
5893
+ }> | Schema.Struct<{
5894
+ readonly code: Schema.Literal<"internal_error">;
5895
+ readonly message: Schema.String;
5896
+ }>>, never, never> | HttpApiEndpoint.HttpApiEndpoint<"listCatalogueOffers", "GET", "/v1/organizations/:organizationId/offer-catalogue", Schema.toCodecStringTree<Schema.Struct<{
5897
+ readonly organizationId: Schema.String;
5898
+ }>>, never, never, never, Schema.toCodecJson<Schema.$Array<Schema.Struct<{
5899
+ readonly benefit: Schema.Union<readonly [Schema.Struct<{
5900
+ readonly kind: Schema.Literal<"physical_item">;
5901
+ readonly itemName: Schema.String;
5902
+ readonly quantity: Schema.Int;
5903
+ }>, Schema.Struct<{
5904
+ readonly kind: Schema.Literal<"points">;
5905
+ readonly pointTypeId: Schema.String;
5906
+ readonly amount: Schema.Int;
5907
+ }>, Schema.Struct<{
5908
+ readonly kind: Schema.Literal<"pos_voucher">;
5909
+ readonly quantity: Schema.Int;
5910
+ readonly faceValue: Schema.Union<readonly [Schema.Struct<{
5911
+ readonly amountCents: Schema.Int;
5912
+ readonly currency: Schema.String;
5913
+ }>, Schema.Null]>;
5914
+ }>]>;
5915
+ readonly title: Schema.String;
5916
+ readonly description: Schema.String;
5917
+ readonly terms: Schema.String;
5918
+ readonly startsAt: Schema.Union<readonly [Schema.String, Schema.Null]>;
5919
+ readonly endsAt: Schema.Union<readonly [Schema.String, Schema.Null]>;
5920
+ readonly id: Schema.String;
5921
+ readonly organizationId: Schema.String;
5922
+ }>>>, Schema.toCodecJson<Schema.Struct<{
5923
+ readonly code: Schema.Literal<"unauthorized">;
5924
+ readonly message: Schema.String;
5925
+ }> | Schema.Struct<{
5926
+ readonly code: Schema.Literal<"forbidden">;
5927
+ readonly message: Schema.String;
5928
+ }> | Schema.Struct<{
5929
+ readonly code: Schema.Literal<"not_found">;
5930
+ readonly message: Schema.String;
5931
+ }> | Schema.Struct<{
5932
+ readonly code: Schema.Literal<"conflict">;
5933
+ readonly message: Schema.String;
5934
+ }> | Schema.Struct<{
5935
+ readonly code: Schema.Literal<"bad_request">;
5936
+ readonly message: Schema.String;
5937
+ }> | Schema.Struct<{
5938
+ readonly code: Schema.Literal<"internal_error">;
5939
+ readonly message: Schema.String;
5940
+ }>>, never, never> | HttpApiEndpoint.HttpApiEndpoint<"getCatalogueOffer", "GET", "/v1/organizations/:organizationId/offer-catalogue/:offerId", Schema.toCodecStringTree<Schema.Struct<{
5941
+ readonly organizationId: Schema.String;
5942
+ readonly offerId: Schema.String;
5943
+ }>>, never, never, never, Schema.toCodecJson<Schema.Struct<{
5944
+ readonly benefit: Schema.Union<readonly [Schema.Struct<{
5945
+ readonly kind: Schema.Literal<"physical_item">;
5946
+ readonly itemName: Schema.String;
5947
+ readonly quantity: Schema.Int;
5948
+ }>, Schema.Struct<{
5949
+ readonly kind: Schema.Literal<"points">;
5950
+ readonly pointTypeId: Schema.String;
5951
+ readonly amount: Schema.Int;
5952
+ }>, Schema.Struct<{
5953
+ readonly kind: Schema.Literal<"pos_voucher">;
5954
+ readonly quantity: Schema.Int;
5955
+ readonly faceValue: Schema.Union<readonly [Schema.Struct<{
5956
+ readonly amountCents: Schema.Int;
5957
+ readonly currency: Schema.String;
5958
+ }>, Schema.Null]>;
5959
+ }>]>;
5960
+ readonly title: Schema.String;
5961
+ readonly description: Schema.String;
5962
+ readonly terms: Schema.String;
5963
+ readonly startsAt: Schema.Union<readonly [Schema.String, Schema.Null]>;
5964
+ readonly endsAt: Schema.Union<readonly [Schema.String, Schema.Null]>;
5965
+ readonly id: Schema.String;
5966
+ readonly organizationId: Schema.String;
5967
+ }>>, Schema.toCodecJson<Schema.Struct<{
5968
+ readonly code: Schema.Literal<"unauthorized">;
5969
+ readonly message: Schema.String;
5970
+ }> | Schema.Struct<{
5971
+ readonly code: Schema.Literal<"forbidden">;
5972
+ readonly message: Schema.String;
5973
+ }> | Schema.Struct<{
5974
+ readonly code: Schema.Literal<"not_found">;
5975
+ readonly message: Schema.String;
5976
+ }> | Schema.Struct<{
5977
+ readonly code: Schema.Literal<"conflict">;
5978
+ readonly message: Schema.String;
5979
+ }> | Schema.Struct<{
5980
+ readonly code: Schema.Literal<"bad_request">;
5981
+ readonly message: Schema.String;
5982
+ }> | Schema.Struct<{
5983
+ readonly code: Schema.Literal<"internal_error">;
5984
+ readonly message: Schema.String;
5985
+ }>>, never, never>, false> | HttpApiGroup.HttpApiGroup<"auth", HttpApiEndpoint.HttpApiEndpoint<"getAdminSession", "GET", "/v1/admin/session", never, never, never, never, Schema.toCodecJson<Schema.Struct<{
5986
+ readonly principalId: Schema.String;
5987
+ readonly email: Schema.String;
5988
+ readonly displayName: Schema.String;
5989
+ readonly authRole: Schema.Union<readonly [Schema.String, Schema.Null]>;
5990
+ readonly impersonatedBy: Schema.Union<readonly [Schema.String, Schema.Null]>;
5991
+ readonly roles: Schema.$Array<Schema.Struct<{
5992
+ readonly role: Schema.Literals<readonly ["platform_admin", "org_admin", "auditor", "workflow_resolver"]>;
5993
+ readonly organizationId: Schema.Union<readonly [Schema.String, Schema.Null]>;
5994
+ }>>;
5995
+ }>>, Schema.toCodecJson<Schema.Struct<{
5996
+ readonly code: Schema.Literal<"unauthorized">;
5997
+ readonly message: Schema.String;
5998
+ }> | Schema.Struct<{
5999
+ readonly code: Schema.Literal<"forbidden">;
6000
+ readonly message: Schema.String;
6001
+ }> | Schema.Struct<{
6002
+ readonly code: Schema.Literal<"not_found">;
6003
+ readonly message: Schema.String;
6004
+ }> | Schema.Struct<{
6005
+ readonly code: Schema.Literal<"conflict">;
6006
+ readonly message: Schema.String;
6007
+ }> | Schema.Struct<{
6008
+ readonly code: Schema.Literal<"bad_request">;
6009
+ readonly message: Schema.String;
6010
+ }> | Schema.Struct<{
6011
+ readonly code: Schema.Literal<"internal_error">;
6012
+ readonly message: Schema.String;
6013
+ }>>, never, never>, false> | HttpApiGroup.HttpApiGroup<"organizations", HttpApiEndpoint.HttpApiEndpoint<"getOrganizationCapabilities", "GET", "/v1/organizations/:organizationId/capabilities", Schema.toCodecStringTree<Schema.Struct<{
6014
+ readonly organizationId: Schema.String;
6015
+ }>>, never, never, never, Schema.toCodecJson<Schema.Struct<{
6016
+ readonly organizationId: Schema.String;
6017
+ readonly points: Schema.Struct<{
6018
+ readonly supported: Schema.Boolean;
5153
6019
  readonly enabled: Schema.Boolean;
5154
6020
  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]>;
5155
6021
  }>;
@@ -9203,7 +10069,91 @@ declare const HubApi: HttpApi.HttpApi<"hub", HttpApiGroup.HttpApiGroup<"auth", H
9203
10069
  }> | Schema.Struct<{
9204
10070
  readonly code: Schema.Literal<"internal_error">;
9205
10071
  readonly message: Schema.String;
9206
- }>>, never, never>, false> | HttpApiGroup.HttpApiGroup<"memberSources", HttpApiEndpoint.HttpApiEndpoint<"getOrganizationMemberSource", "GET", "/v1/organizations/:organizationId/member-source", Schema.toCodecStringTree<Schema.Struct<{
10072
+ }>>, never, never>, false> | HttpApiGroup.HttpApiGroup<"memberSources", HttpApiEndpoint.HttpApiEndpoint<"listGreengrassAgentDevices", "GET", "/v1/organizations/:organizationId/member-source/agent/devices", Schema.toCodecStringTree<Schema.Struct<{
10073
+ readonly organizationId: Schema.String;
10074
+ }>>, never, never, never, Schema.toCodecJson<Schema.$Array<Schema.Struct<{
10075
+ readonly thingName: Schema.String;
10076
+ }>>>, Schema.toCodecJson<Schema.Struct<{
10077
+ readonly code: Schema.Literal<"unauthorized">;
10078
+ readonly message: Schema.String;
10079
+ }> | Schema.Struct<{
10080
+ readonly code: Schema.Literal<"forbidden">;
10081
+ readonly message: Schema.String;
10082
+ }> | Schema.Struct<{
10083
+ readonly code: Schema.Literal<"not_found">;
10084
+ readonly message: Schema.String;
10085
+ }> | Schema.Struct<{
10086
+ readonly code: Schema.Literal<"conflict">;
10087
+ readonly message: Schema.String;
10088
+ }> | Schema.Struct<{
10089
+ readonly code: Schema.Literal<"bad_request">;
10090
+ readonly message: Schema.String;
10091
+ }> | Schema.Struct<{
10092
+ readonly code: Schema.Literal<"internal_error">;
10093
+ readonly message: Schema.String;
10094
+ }>>, never, never> | HttpApiEndpoint.HttpApiEndpoint<"getGreengrassAgentUpdate", "GET", "/v1/organizations/:organizationId/member-source/agent/update", Schema.toCodecStringTree<Schema.Struct<{
10095
+ readonly organizationId: Schema.String;
10096
+ }>>, Schema.toCodecStringTree<Schema.Struct<{
10097
+ readonly thingName: Schema.String;
10098
+ }>>, never, never, Schema.toCodecJson<Schema.Struct<{
10099
+ readonly thingName: Schema.String;
10100
+ readonly latestVersion: Schema.String;
10101
+ readonly targetVersion: Schema.String;
10102
+ readonly deploymentId: Schema.String;
10103
+ readonly deploymentStatus: Schema.String;
10104
+ readonly updateAvailable: Schema.Boolean;
10105
+ readonly inProgress: Schema.Boolean;
10106
+ }>>, Schema.toCodecJson<Schema.Struct<{
10107
+ readonly code: Schema.Literal<"unauthorized">;
10108
+ readonly message: Schema.String;
10109
+ }> | Schema.Struct<{
10110
+ readonly code: Schema.Literal<"forbidden">;
10111
+ readonly message: Schema.String;
10112
+ }> | Schema.Struct<{
10113
+ readonly code: Schema.Literal<"not_found">;
10114
+ readonly message: Schema.String;
10115
+ }> | Schema.Struct<{
10116
+ readonly code: Schema.Literal<"conflict">;
10117
+ readonly message: Schema.String;
10118
+ }> | Schema.Struct<{
10119
+ readonly code: Schema.Literal<"bad_request">;
10120
+ readonly message: Schema.String;
10121
+ }> | Schema.Struct<{
10122
+ readonly code: Schema.Literal<"internal_error">;
10123
+ readonly message: Schema.String;
10124
+ }>>, never, never> | HttpApiEndpoint.HttpApiEndpoint<"updateGreengrassAgent", "POST", "/v1/organizations/:organizationId/member-source/agent/update", Schema.toCodecStringTree<Schema.Struct<{
10125
+ readonly organizationId: Schema.String;
10126
+ }>>, never, Schema.toCodecJson<Schema.Struct<{
10127
+ readonly version: Schema.String;
10128
+ readonly expectedDeploymentId: Schema.String;
10129
+ readonly thingName: Schema.String;
10130
+ }>>, never, Schema.toCodecJson<Schema.Struct<{
10131
+ readonly thingName: Schema.String;
10132
+ readonly latestVersion: Schema.String;
10133
+ readonly targetVersion: Schema.String;
10134
+ readonly deploymentId: Schema.String;
10135
+ readonly deploymentStatus: Schema.String;
10136
+ readonly updateAvailable: Schema.Boolean;
10137
+ readonly inProgress: Schema.Boolean;
10138
+ }>>, Schema.toCodecJson<Schema.Struct<{
10139
+ readonly code: Schema.Literal<"unauthorized">;
10140
+ readonly message: Schema.String;
10141
+ }> | Schema.Struct<{
10142
+ readonly code: Schema.Literal<"forbidden">;
10143
+ readonly message: Schema.String;
10144
+ }> | Schema.Struct<{
10145
+ readonly code: Schema.Literal<"not_found">;
10146
+ readonly message: Schema.String;
10147
+ }> | Schema.Struct<{
10148
+ readonly code: Schema.Literal<"conflict">;
10149
+ readonly message: Schema.String;
10150
+ }> | Schema.Struct<{
10151
+ readonly code: Schema.Literal<"bad_request">;
10152
+ readonly message: Schema.String;
10153
+ }> | Schema.Struct<{
10154
+ readonly code: Schema.Literal<"internal_error">;
10155
+ readonly message: Schema.String;
10156
+ }>>, never, never> | HttpApiEndpoint.HttpApiEndpoint<"getOrganizationMemberSource", "GET", "/v1/organizations/:organizationId/member-source", Schema.toCodecStringTree<Schema.Struct<{
9207
10157
  readonly organizationId: Schema.String;
9208
10158
  }>>, never, never, never, Schema.toCodecJson<Schema.Union<readonly [Schema.Struct<{
9209
10159
  readonly id: Schema.String;
@@ -11164,6 +12114,7 @@ declare const HubApi: HttpApi.HttpApi<"hub", HttpApiGroup.HttpApiGroup<"auth", H
11164
12114
  readonly connectorType: Schema.Literals<readonly ["max_gaming", "odyssey_gaming", "ebet_arc", "custom"]>;
11165
12115
  readonly requestedAt: Schema.String;
11166
12116
  readonly payload: Schema.Struct<{
12117
+ readonly renewalSafetyProtocol: Schema.optional<Schema.Literal<1>>;
11167
12118
  readonly memberId: Schema.String;
11168
12119
  readonly externalSystemMemberId: Schema.String;
11169
12120
  readonly memberNumber: Schema.optional<Schema.Union<readonly [Schema.String, Schema.Null]>>;
@@ -12381,18 +13332,44 @@ declare const HubApi: HttpApi.HttpApi<"hub", HttpApiGroup.HttpApiGroup<"auth", H
12381
13332
  }> | Schema.Struct<{
12382
13333
  readonly code: Schema.Literal<"internal_error">;
12383
13334
  readonly message: Schema.String;
12384
- }>>, never, never> | HttpApiEndpoint.HttpApiEndpoint<"completeOnsiteAgentMemberRenewal", "POST", "/v1/onsite-agent/member-renewal-commands/:commandId/complete", Schema.toCodecStringTree<Schema.Struct<{
13335
+ }>>, never, never> | HttpApiEndpoint.HttpApiEndpoint<"beginOnsiteAgentMemberRenewal", "POST", "/v1/onsite-agent/member-renewal-commands/:commandId/begin", Schema.toCodecStringTree<Schema.Struct<{
12385
13336
  readonly commandId: Schema.String;
12386
13337
  }>>, never, Schema.toCodecJson<Schema.Struct<{
12387
- readonly record: Schema.optional<Schema.Struct<{
12388
- readonly lineNumber: Schema.Union<readonly [Schema.Number, Schema.Null]>;
12389
- readonly previousMemberNumber: Schema.Union<readonly [Schema.String, Schema.Null]>;
12390
- readonly memberNumber: Schema.Union<readonly [Schema.String, Schema.Null]>;
12391
- readonly externalSystemMemberId: Schema.Union<readonly [Schema.String, Schema.Null]>;
12392
- readonly cardId: Schema.Union<readonly [Schema.String, Schema.Null]>;
12393
- readonly email: Schema.Union<readonly [Schema.String, Schema.Null]>;
12394
- readonly title: Schema.Union<readonly [Schema.String, Schema.Null]>;
12395
- readonly firstName: Schema.Union<readonly [Schema.String, Schema.Null]>;
13338
+ readonly executionToken: Schema.String;
13339
+ }>>, never, Schema.toCodecJson<Schema.Struct<{
13340
+ readonly execute: Schema.Boolean;
13341
+ }>>, Schema.toCodecJson<Schema.Struct<{
13342
+ readonly code: Schema.Literal<"unauthorized">;
13343
+ readonly message: Schema.String;
13344
+ }> | Schema.Struct<{
13345
+ readonly code: Schema.Literal<"forbidden">;
13346
+ readonly message: Schema.String;
13347
+ }> | Schema.Struct<{
13348
+ readonly code: Schema.Literal<"not_found">;
13349
+ readonly message: Schema.String;
13350
+ }> | Schema.Struct<{
13351
+ readonly code: Schema.Literal<"conflict">;
13352
+ readonly message: Schema.String;
13353
+ }> | Schema.Struct<{
13354
+ readonly code: Schema.Literal<"bad_request">;
13355
+ readonly message: Schema.String;
13356
+ }> | Schema.Struct<{
13357
+ readonly code: Schema.Literal<"internal_error">;
13358
+ readonly message: Schema.String;
13359
+ }>>, never, never> | HttpApiEndpoint.HttpApiEndpoint<"completeOnsiteAgentMemberRenewal", "POST", "/v1/onsite-agent/member-renewal-commands/:commandId/complete", Schema.toCodecStringTree<Schema.Struct<{
13360
+ readonly commandId: Schema.String;
13361
+ }>>, never, Schema.toCodecJson<Schema.Struct<{
13362
+ readonly executionToken: Schema.optional<Schema.String>;
13363
+ readonly upstreamStatus: Schema.optional<Schema.Number>;
13364
+ readonly record: Schema.optional<Schema.Struct<{
13365
+ readonly lineNumber: Schema.Union<readonly [Schema.Number, Schema.Null]>;
13366
+ readonly previousMemberNumber: Schema.Union<readonly [Schema.String, Schema.Null]>;
13367
+ readonly memberNumber: Schema.Union<readonly [Schema.String, Schema.Null]>;
13368
+ readonly externalSystemMemberId: Schema.Union<readonly [Schema.String, Schema.Null]>;
13369
+ readonly cardId: Schema.Union<readonly [Schema.String, Schema.Null]>;
13370
+ readonly email: Schema.Union<readonly [Schema.String, Schema.Null]>;
13371
+ readonly title: Schema.Union<readonly [Schema.String, Schema.Null]>;
13372
+ readonly firstName: Schema.Union<readonly [Schema.String, Schema.Null]>;
12396
13373
  readonly middleName: Schema.Union<readonly [Schema.String, Schema.Null]>;
12397
13374
  readonly lastName: Schema.Union<readonly [Schema.String, Schema.Null]>;
12398
13375
  readonly dob: Schema.Union<readonly [Schema.String, Schema.Null]>;
@@ -13806,6 +14783,205 @@ type ListProductWebhooksInput = PageInput & {
13806
14783
  };
13807
14784
  type PromiseSpokeClient = ReturnType<typeof makeSpokeClient>;
13808
14785
  declare function makeSpokeClient(hubClient: PromiseHubApiClient): {
14786
+ readonly offers: {
14787
+ readonly list: (input: {
14788
+ readonly organizationId: string;
14789
+ }) => Promise<SpokeHubResult<readonly {
14790
+ readonly benefit: {
14791
+ readonly kind: "physical_item";
14792
+ readonly itemName: string;
14793
+ readonly quantity: number;
14794
+ } | {
14795
+ readonly kind: "points";
14796
+ readonly pointTypeId: string;
14797
+ readonly amount: number;
14798
+ } | {
14799
+ readonly kind: "pos_voucher";
14800
+ readonly provider: "senpos";
14801
+ readonly rewardId: string;
14802
+ readonly quantity: number;
14803
+ readonly faceValue: {
14804
+ readonly amountCents: number;
14805
+ readonly currency: string;
14806
+ } | null;
14807
+ } | null;
14808
+ readonly status: "draft" | "active" | "retired";
14809
+ readonly createdAt: string;
14810
+ readonly updatedAt: string;
14811
+ readonly createdByActorId: string;
14812
+ readonly updatedByActorId: string;
14813
+ readonly title: string;
14814
+ readonly description: string;
14815
+ readonly terms: string;
14816
+ readonly startsAt: string | null;
14817
+ readonly endsAt: string | null;
14818
+ readonly id: string;
14819
+ readonly organizationId: string;
14820
+ }[]>>;
14821
+ readonly get: (input: {
14822
+ readonly organizationId: string;
14823
+ readonly offerId: string;
14824
+ }) => Promise<SpokeHubResult<{
14825
+ readonly benefit: {
14826
+ readonly kind: "physical_item";
14827
+ readonly itemName: string;
14828
+ readonly quantity: number;
14829
+ } | {
14830
+ readonly kind: "points";
14831
+ readonly pointTypeId: string;
14832
+ readonly amount: number;
14833
+ } | {
14834
+ readonly kind: "pos_voucher";
14835
+ readonly provider: "senpos";
14836
+ readonly rewardId: string;
14837
+ readonly quantity: number;
14838
+ readonly faceValue: {
14839
+ readonly amountCents: number;
14840
+ readonly currency: string;
14841
+ } | null;
14842
+ } | null;
14843
+ readonly status: "draft" | "active" | "retired";
14844
+ readonly createdAt: string;
14845
+ readonly updatedAt: string;
14846
+ readonly createdByActorId: string;
14847
+ readonly updatedByActorId: string;
14848
+ readonly title: string;
14849
+ readonly description: string;
14850
+ readonly terms: string;
14851
+ readonly startsAt: string | null;
14852
+ readonly endsAt: string | null;
14853
+ readonly id: string;
14854
+ readonly organizationId: string;
14855
+ }>>;
14856
+ readonly create: (input: {
14857
+ readonly organizationId: string;
14858
+ readonly payload: CreateOfferInput;
14859
+ }) => Promise<SpokeHubResult<{
14860
+ readonly benefit: {
14861
+ readonly kind: "physical_item";
14862
+ readonly itemName: string;
14863
+ readonly quantity: number;
14864
+ } | {
14865
+ readonly kind: "points";
14866
+ readonly pointTypeId: string;
14867
+ readonly amount: number;
14868
+ } | {
14869
+ readonly kind: "pos_voucher";
14870
+ readonly provider: "senpos";
14871
+ readonly rewardId: string;
14872
+ readonly quantity: number;
14873
+ readonly faceValue: {
14874
+ readonly amountCents: number;
14875
+ readonly currency: string;
14876
+ } | null;
14877
+ } | null;
14878
+ readonly status: "draft" | "active" | "retired";
14879
+ readonly createdAt: string;
14880
+ readonly updatedAt: string;
14881
+ readonly createdByActorId: string;
14882
+ readonly updatedByActorId: string;
14883
+ readonly title: string;
14884
+ readonly description: string;
14885
+ readonly terms: string;
14886
+ readonly startsAt: string | null;
14887
+ readonly endsAt: string | null;
14888
+ readonly id: string;
14889
+ readonly organizationId: string;
14890
+ }>>;
14891
+ readonly update: (input: {
14892
+ readonly organizationId: string;
14893
+ readonly offerId: string;
14894
+ readonly payload: UpdateOfferInput;
14895
+ }) => Promise<SpokeHubResult<{
14896
+ readonly benefit: {
14897
+ readonly kind: "physical_item";
14898
+ readonly itemName: string;
14899
+ readonly quantity: number;
14900
+ } | {
14901
+ readonly kind: "points";
14902
+ readonly pointTypeId: string;
14903
+ readonly amount: number;
14904
+ } | {
14905
+ readonly kind: "pos_voucher";
14906
+ readonly provider: "senpos";
14907
+ readonly rewardId: string;
14908
+ readonly quantity: number;
14909
+ readonly faceValue: {
14910
+ readonly amountCents: number;
14911
+ readonly currency: string;
14912
+ } | null;
14913
+ } | null;
14914
+ readonly status: "draft" | "active" | "retired";
14915
+ readonly createdAt: string;
14916
+ readonly updatedAt: string;
14917
+ readonly createdByActorId: string;
14918
+ readonly updatedByActorId: string;
14919
+ readonly title: string;
14920
+ readonly description: string;
14921
+ readonly terms: string;
14922
+ readonly startsAt: string | null;
14923
+ readonly endsAt: string | null;
14924
+ readonly id: string;
14925
+ readonly organizationId: string;
14926
+ }>>;
14927
+ readonly catalogue: {
14928
+ readonly list: (input: {
14929
+ readonly organizationId: string;
14930
+ }) => Promise<SpokeHubResult<readonly {
14931
+ readonly benefit: {
14932
+ readonly kind: "physical_item";
14933
+ readonly itemName: string;
14934
+ readonly quantity: number;
14935
+ } | {
14936
+ readonly kind: "points";
14937
+ readonly pointTypeId: string;
14938
+ readonly amount: number;
14939
+ } | {
14940
+ readonly kind: "pos_voucher";
14941
+ readonly quantity: number;
14942
+ readonly faceValue: {
14943
+ readonly amountCents: number;
14944
+ readonly currency: string;
14945
+ } | null;
14946
+ };
14947
+ readonly title: string;
14948
+ readonly description: string;
14949
+ readonly terms: string;
14950
+ readonly startsAt: string | null;
14951
+ readonly endsAt: string | null;
14952
+ readonly id: string;
14953
+ readonly organizationId: string;
14954
+ }[]>>;
14955
+ readonly get: (input: {
14956
+ readonly organizationId: string;
14957
+ readonly offerId: string;
14958
+ }) => Promise<SpokeHubResult<{
14959
+ readonly benefit: {
14960
+ readonly kind: "physical_item";
14961
+ readonly itemName: string;
14962
+ readonly quantity: number;
14963
+ } | {
14964
+ readonly kind: "points";
14965
+ readonly pointTypeId: string;
14966
+ readonly amount: number;
14967
+ } | {
14968
+ readonly kind: "pos_voucher";
14969
+ readonly quantity: number;
14970
+ readonly faceValue: {
14971
+ readonly amountCents: number;
14972
+ readonly currency: string;
14973
+ } | null;
14974
+ };
14975
+ readonly title: string;
14976
+ readonly description: string;
14977
+ readonly terms: string;
14978
+ readonly startsAt: string | null;
14979
+ readonly endsAt: string | null;
14980
+ readonly id: string;
14981
+ readonly organizationId: string;
14982
+ }>>;
14983
+ };
14984
+ };
13809
14985
  readonly organizations: {
13810
14986
  readonly capabilities: (input: {
13811
14987
  readonly organizationId: string;
@@ -13980,13 +15156,14 @@ declare function makeSpokeClient(hubClient: PromiseHubApiClient): {
13980
15156
  readonly members: {
13981
15157
  readonly list: (input: ListMembersInput) => Promise<SpokeHubResult<OrganizationMembersListResponse>>;
13982
15158
  readonly get: (input: GetMemberInput) => Promise<SpokeHubResult<{
13983
- readonly email: string | null;
15159
+ readonly organizationId: string;
15160
+ readonly title: string | null;
13984
15161
  readonly status: "active" | "archived" | "active-expired" | "suspended" | "expired";
13985
- readonly deletedAt: string | null;
13986
15162
  readonly id: string;
13987
15163
  readonly createdAt: string;
13988
15164
  readonly updatedAt: string;
13989
- readonly organizationId: string;
15165
+ readonly email: string | null;
15166
+ readonly deletedAt: string | null;
13990
15167
  readonly externalSystemMemberId: string | null;
13991
15168
  readonly memberNumber: string | null;
13992
15169
  readonly recordMode: "local" | "source_managed";
@@ -14012,7 +15189,6 @@ declare function makeSpokeClient(hubClient: PromiseHubApiClient): {
14012
15189
  readonly country: string | null;
14013
15190
  } | null;
14014
15191
  readonly expiresAt: string | null;
14015
- readonly title: string | null;
14016
15192
  readonly firstName: string;
14017
15193
  readonly middleName: string | null;
14018
15194
  readonly lastName: string;
@@ -14107,13 +15283,14 @@ declare function makeSpokeClient(hubClient: PromiseHubApiClient): {
14107
15283
  readonly externalSystemMemberId: string;
14108
15284
  readonly responseMode?: MemberResponseMode;
14109
15285
  }) => Promise<SpokeHubResult<{
14110
- readonly email: string | null;
15286
+ readonly organizationId: string;
15287
+ readonly title: string | null;
14111
15288
  readonly status: "active" | "archived" | "active-expired" | "suspended" | "expired";
14112
- readonly deletedAt: string | null;
14113
15289
  readonly id: string;
14114
15290
  readonly createdAt: string;
14115
15291
  readonly updatedAt: string;
14116
- readonly organizationId: string;
15292
+ readonly email: string | null;
15293
+ readonly deletedAt: string | null;
14117
15294
  readonly externalSystemMemberId: string | null;
14118
15295
  readonly memberNumber: string | null;
14119
15296
  readonly recordMode: "local" | "source_managed";
@@ -14139,7 +15316,6 @@ declare function makeSpokeClient(hubClient: PromiseHubApiClient): {
14139
15316
  readonly country: string | null;
14140
15317
  } | null;
14141
15318
  readonly expiresAt: string | null;
14142
- readonly title: string | null;
14143
15319
  readonly firstName: string;
14144
15320
  readonly middleName: string | null;
14145
15321
  readonly lastName: string;
@@ -14236,13 +15412,14 @@ declare function makeSpokeClient(hubClient: PromiseHubApiClient): {
14236
15412
  readonly requestedIds: readonly string[];
14237
15413
  readonly missingIds: readonly string[];
14238
15414
  readonly items: readonly {
14239
- readonly email: string | null;
15415
+ readonly organizationId: string;
15416
+ readonly title: string | null;
14240
15417
  readonly status: "active" | "archived" | "active-expired" | "suspended" | "expired";
14241
- readonly deletedAt: string | null;
14242
15418
  readonly id: string;
14243
15419
  readonly createdAt: string;
14244
15420
  readonly updatedAt: string;
14245
- readonly organizationId: string;
15421
+ readonly email: string | null;
15422
+ readonly deletedAt: string | null;
14246
15423
  readonly externalSystemMemberId: string | null;
14247
15424
  readonly memberNumber: string | null;
14248
15425
  readonly recordMode: "local" | "source_managed";
@@ -14268,7 +15445,6 @@ declare function makeSpokeClient(hubClient: PromiseHubApiClient): {
14268
15445
  readonly country: string | null;
14269
15446
  } | null;
14270
15447
  readonly expiresAt: string | null;
14271
- readonly title: string | null;
14272
15448
  readonly firstName: string;
14273
15449
  readonly middleName: string | null;
14274
15450
  readonly lastName: string;
@@ -14371,13 +15547,14 @@ declare function makeSpokeClient(hubClient: PromiseHubApiClient): {
14371
15547
  readonly organizationId: string;
14372
15548
  readonly payload: CreateMemberInput;
14373
15549
  }) => Promise<SpokeHubResult<{
14374
- readonly email: string | null;
15550
+ readonly organizationId: string;
15551
+ readonly title: string | null;
14375
15552
  readonly status: "active" | "archived" | "active-expired" | "suspended" | "expired";
14376
- readonly deletedAt: string | null;
14377
15553
  readonly id: string;
14378
15554
  readonly createdAt: string;
14379
15555
  readonly updatedAt: string;
14380
- readonly organizationId: string;
15556
+ readonly email: string | null;
15557
+ readonly deletedAt: string | null;
14381
15558
  readonly externalSystemMemberId: string | null;
14382
15559
  readonly memberNumber: string | null;
14383
15560
  readonly recordMode: "local" | "source_managed";
@@ -14403,7 +15580,6 @@ declare function makeSpokeClient(hubClient: PromiseHubApiClient): {
14403
15580
  readonly country: string | null;
14404
15581
  } | null;
14405
15582
  readonly expiresAt: string | null;
14406
- readonly title: string | null;
14407
15583
  readonly firstName: string;
14408
15584
  readonly middleName: string | null;
14409
15585
  readonly lastName: string;
@@ -14450,13 +15626,14 @@ declare function makeSpokeClient(hubClient: PromiseHubApiClient): {
14450
15626
  readonly memberId: string;
14451
15627
  readonly payload: UpdateMemberInput;
14452
15628
  }) => Promise<SpokeHubResult<{
14453
- readonly email: string | null;
15629
+ readonly organizationId: string;
15630
+ readonly title: string | null;
14454
15631
  readonly status: "active" | "archived" | "active-expired" | "suspended" | "expired";
14455
- readonly deletedAt: string | null;
14456
15632
  readonly id: string;
14457
15633
  readonly createdAt: string;
14458
15634
  readonly updatedAt: string;
14459
- readonly organizationId: string;
15635
+ readonly email: string | null;
15636
+ readonly deletedAt: string | null;
14460
15637
  readonly externalSystemMemberId: string | null;
14461
15638
  readonly memberNumber: string | null;
14462
15639
  readonly recordMode: "local" | "source_managed";
@@ -14482,7 +15659,6 @@ declare function makeSpokeClient(hubClient: PromiseHubApiClient): {
14482
15659
  readonly country: string | null;
14483
15660
  } | null;
14484
15661
  readonly expiresAt: string | null;
14485
- readonly title: string | null;
14486
15662
  readonly firstName: string;
14487
15663
  readonly middleName: string | null;
14488
15664
  readonly lastName: string;
@@ -14614,13 +15790,13 @@ declare function makeSpokeClient(hubClient: PromiseHubApiClient): {
14614
15790
  readonly firstName: string;
14615
15791
  readonly lastName: string;
14616
15792
  readonly membershipTypeId: string;
15793
+ readonly title?: string | null | undefined;
14617
15794
  readonly email?: string | null | undefined;
14618
15795
  readonly gamingPermissions?: {
14619
15796
  readonly isGamingEnabled?: boolean | undefined;
14620
15797
  readonly isVenuePromotionsEnabled?: boolean | undefined;
14621
15798
  readonly isGamingPromotionsEnabled?: boolean | undefined;
14622
15799
  } | undefined;
14623
- readonly title?: string | null | undefined;
14624
15800
  readonly middleName?: string | null | undefined;
14625
15801
  readonly gender?: string | null | undefined;
14626
15802
  readonly mobilePhone?: string | null | undefined;
@@ -14987,6 +16163,7 @@ declare function makeSpokeClient(hubClient: PromiseHubApiClient): {
14987
16163
  readonly organizationMemberSourceId: string;
14988
16164
  readonly version: number;
14989
16165
  readonly mapping: {
16166
+ readonly title?: string | null | undefined;
14990
16167
  readonly email?: string | null | undefined;
14991
16168
  readonly isGamingEnabled?: string | null | undefined;
14992
16169
  readonly isVenuePromotionsEnabled?: string | null | undefined;
@@ -14999,7 +16176,6 @@ declare function makeSpokeClient(hubClient: PromiseHubApiClient): {
14999
16176
  readonly sourceUpdatedAt?: string | null | undefined;
15000
16177
  readonly dob?: string | null | undefined;
15001
16178
  readonly expiresAt?: string | null | undefined;
15002
- readonly title?: string | null | undefined;
15003
16179
  readonly firstName?: string | null | undefined;
15004
16180
  readonly middleName?: string | null | undefined;
15005
16181
  readonly lastName?: string | null | undefined;
@@ -15055,6 +16231,7 @@ declare function makeSpokeClient(hubClient: PromiseHubApiClient): {
15055
16231
  readonly organizationMemberSourceId: string;
15056
16232
  readonly version: number;
15057
16233
  readonly mapping: {
16234
+ readonly title?: string | null | undefined;
15058
16235
  readonly email?: string | null | undefined;
15059
16236
  readonly isGamingEnabled?: string | null | undefined;
15060
16237
  readonly isVenuePromotionsEnabled?: string | null | undefined;
@@ -15067,7 +16244,6 @@ declare function makeSpokeClient(hubClient: PromiseHubApiClient): {
15067
16244
  readonly sourceUpdatedAt?: string | null | undefined;
15068
16245
  readonly dob?: string | null | undefined;
15069
16246
  readonly expiresAt?: string | null | undefined;
15070
- readonly title?: string | null | undefined;
15071
16247
  readonly firstName?: string | null | undefined;
15072
16248
  readonly middleName?: string | null | undefined;
15073
16249
  readonly lastName?: string | null | undefined;
@@ -15122,6 +16298,7 @@ declare function makeSpokeClient(hubClient: PromiseHubApiClient): {
15122
16298
  readonly organizationMemberSourceId: string;
15123
16299
  readonly version: number;
15124
16300
  readonly mapping: {
16301
+ readonly title?: string | null | undefined;
15125
16302
  readonly email?: string | null | undefined;
15126
16303
  readonly isGamingEnabled?: string | null | undefined;
15127
16304
  readonly isVenuePromotionsEnabled?: string | null | undefined;
@@ -15134,7 +16311,6 @@ declare function makeSpokeClient(hubClient: PromiseHubApiClient): {
15134
16311
  readonly sourceUpdatedAt?: string | null | undefined;
15135
16312
  readonly dob?: string | null | undefined;
15136
16313
  readonly expiresAt?: string | null | undefined;
15137
- readonly title?: string | null | undefined;
15138
16314
  readonly firstName?: string | null | undefined;
15139
16315
  readonly middleName?: string | null | undefined;
15140
16316
  readonly lastName?: string | null | undefined;
@@ -15256,6 +16432,7 @@ declare function makeSpokeClient(hubClient: PromiseHubApiClient): {
15256
16432
  readonly organizationMemberSourceId: string;
15257
16433
  readonly version: number;
15258
16434
  readonly mapping: {
16435
+ readonly title?: string | null | undefined;
15259
16436
  readonly email?: string | null | undefined;
15260
16437
  readonly isGamingEnabled?: string | null | undefined;
15261
16438
  readonly isVenuePromotionsEnabled?: string | null | undefined;
@@ -15268,7 +16445,6 @@ declare function makeSpokeClient(hubClient: PromiseHubApiClient): {
15268
16445
  readonly sourceUpdatedAt?: string | null | undefined;
15269
16446
  readonly dob?: string | null | undefined;
15270
16447
  readonly expiresAt?: string | null | undefined;
15271
- readonly title?: string | null | undefined;
15272
16448
  readonly firstName?: string | null | undefined;
15273
16449
  readonly middleName?: string | null | undefined;
15274
16450
  readonly lastName?: string | null | undefined;
@@ -15605,17 +16781,17 @@ declare function makeSpokeClient(hubClient: PromiseHubApiClient): {
15605
16781
  readonly getProvider: (input: {
15606
16782
  readonly organizationId: string;
15607
16783
  }) => Promise<SpokeHubResult<{
16784
+ readonly organizationId: string;
16785
+ readonly provider: "ebet_pos" | "odyssey_nexus";
15608
16786
  readonly status: "active" | "disabled";
15609
- readonly deletedAt: string | null;
15610
16787
  readonly id: string;
15611
16788
  readonly createdAt: string;
15612
16789
  readonly updatedAt: string;
15613
- readonly provider: "ebet_pos" | "odyssey_nexus";
16790
+ readonly deletedAt: string | null;
15614
16791
  readonly transport: "onsite_client";
15615
16792
  readonly secretNames: readonly {
15616
16793
  readonly name: string;
15617
16794
  }[];
15618
- readonly organizationId: string;
15619
16795
  readonly config: {
15620
16796
  readonly [x: string]: unknown;
15621
16797
  };
@@ -15639,17 +16815,17 @@ declare function makeSpokeClient(hubClient: PromiseHubApiClient): {
15639
16815
  readonly organizationId: string;
15640
16816
  readonly payload: UpsertOrganizationPointProviderInput;
15641
16817
  }) => Promise<SpokeHubResult<{
16818
+ readonly organizationId: string;
16819
+ readonly provider: "ebet_pos" | "odyssey_nexus";
15642
16820
  readonly status: "active" | "disabled";
15643
- readonly deletedAt: string | null;
15644
16821
  readonly id: string;
15645
16822
  readonly createdAt: string;
15646
16823
  readonly updatedAt: string;
15647
- readonly provider: "ebet_pos" | "odyssey_nexus";
16824
+ readonly deletedAt: string | null;
15648
16825
  readonly transport: "onsite_client";
15649
16826
  readonly secretNames: readonly {
15650
16827
  readonly name: string;
15651
16828
  }[];
15652
- readonly organizationId: string;
15653
16829
  readonly config: {
15654
16830
  readonly [x: string]: unknown;
15655
16831
  };
@@ -15673,14 +16849,17 @@ declare function makeSpokeClient(hubClient: PromiseHubApiClient): {
15673
16849
  readonly organizationId: string;
15674
16850
  readonly payload: RequestPointLookupInput;
15675
16851
  }) => Promise<SpokeHubResult<{
16852
+ readonly organizationId: string;
16853
+ readonly kind: "lookup_points" | "add_points" | "redeem_points" | "refund_points";
15676
16854
  readonly status: "requested" | "accepted" | "completed" | "failed";
15677
- readonly deletedAt: string | null;
15678
16855
  readonly id: string;
15679
16856
  readonly createdAt: string;
15680
16857
  readonly updatedAt: string;
15681
- readonly organizationId: string;
16858
+ readonly payload: {
16859
+ readonly [x: string]: unknown;
16860
+ };
16861
+ readonly deletedAt: string | null;
15682
16862
  readonly serviceClientId: string | null;
15683
- readonly kind: "lookup_points" | "add_points" | "redeem_points" | "refund_points";
15684
16863
  readonly result: {
15685
16864
  readonly errorMessage?: string | null | undefined;
15686
16865
  readonly memberNumber?: string | null | undefined;
@@ -15695,9 +16874,6 @@ declare function makeSpokeClient(hubClient: PromiseHubApiClient): {
15695
16874
  } | null;
15696
16875
  readonly acceptedAt: string | null;
15697
16876
  readonly completedAt: string | null;
15698
- readonly payload: {
15699
- readonly [x: string]: unknown;
15700
- };
15701
16877
  readonly errorMessage: string | null;
15702
16878
  readonly requestedAt: string;
15703
16879
  readonly organizationPointProviderId: string;
@@ -15711,14 +16887,17 @@ declare function makeSpokeClient(hubClient: PromiseHubApiClient): {
15711
16887
  readonly idempotencyKey?: string;
15712
16888
  readonly payload: RequestPointDebitInput;
15713
16889
  }) => Promise<SpokeHubResult<{
16890
+ readonly organizationId: string;
16891
+ readonly kind: "lookup_points" | "add_points" | "redeem_points" | "refund_points";
15714
16892
  readonly status: "requested" | "accepted" | "completed" | "failed";
15715
- readonly deletedAt: string | null;
15716
16893
  readonly id: string;
15717
16894
  readonly createdAt: string;
15718
16895
  readonly updatedAt: string;
15719
- readonly organizationId: string;
16896
+ readonly payload: {
16897
+ readonly [x: string]: unknown;
16898
+ };
16899
+ readonly deletedAt: string | null;
15720
16900
  readonly serviceClientId: string | null;
15721
- readonly kind: "lookup_points" | "add_points" | "redeem_points" | "refund_points";
15722
16901
  readonly result: {
15723
16902
  readonly errorMessage?: string | null | undefined;
15724
16903
  readonly memberNumber?: string | null | undefined;
@@ -15733,9 +16912,6 @@ declare function makeSpokeClient(hubClient: PromiseHubApiClient): {
15733
16912
  } | null;
15734
16913
  readonly acceptedAt: string | null;
15735
16914
  readonly completedAt: string | null;
15736
- readonly payload: {
15737
- readonly [x: string]: unknown;
15738
- };
15739
16915
  readonly errorMessage: string | null;
15740
16916
  readonly requestedAt: string;
15741
16917
  readonly organizationPointProviderId: string;
@@ -15748,14 +16924,17 @@ declare function makeSpokeClient(hubClient: PromiseHubApiClient): {
15748
16924
  readonly organizationId: string;
15749
16925
  readonly payload: RequestPointDebitInput;
15750
16926
  }) => Promise<SpokeHubResult<{
16927
+ readonly organizationId: string;
16928
+ readonly kind: "lookup_points" | "add_points" | "redeem_points" | "refund_points";
15751
16929
  readonly status: "requested" | "accepted" | "completed" | "failed";
15752
- readonly deletedAt: string | null;
15753
16930
  readonly id: string;
15754
16931
  readonly createdAt: string;
15755
16932
  readonly updatedAt: string;
15756
- readonly organizationId: string;
16933
+ readonly payload: {
16934
+ readonly [x: string]: unknown;
16935
+ };
16936
+ readonly deletedAt: string | null;
15757
16937
  readonly serviceClientId: string | null;
15758
- readonly kind: "lookup_points" | "add_points" | "redeem_points" | "refund_points";
15759
16938
  readonly result: {
15760
16939
  readonly errorMessage?: string | null | undefined;
15761
16940
  readonly memberNumber?: string | null | undefined;
@@ -15770,9 +16949,6 @@ declare function makeSpokeClient(hubClient: PromiseHubApiClient): {
15770
16949
  } | null;
15771
16950
  readonly acceptedAt: string | null;
15772
16951
  readonly completedAt: string | null;
15773
- readonly payload: {
15774
- readonly [x: string]: unknown;
15775
- };
15776
16952
  readonly errorMessage: string | null;
15777
16953
  readonly requestedAt: string;
15778
16954
  readonly organizationPointProviderId: string;
@@ -15785,14 +16961,17 @@ declare function makeSpokeClient(hubClient: PromiseHubApiClient): {
15785
16961
  readonly organizationId: string;
15786
16962
  readonly payload: RequestPointDebitInput;
15787
16963
  }) => Promise<SpokeHubResult<{
16964
+ readonly organizationId: string;
16965
+ readonly kind: "lookup_points" | "add_points" | "redeem_points" | "refund_points";
15788
16966
  readonly status: "requested" | "accepted" | "completed" | "failed";
15789
- readonly deletedAt: string | null;
15790
16967
  readonly id: string;
15791
16968
  readonly createdAt: string;
15792
16969
  readonly updatedAt: string;
15793
- readonly organizationId: string;
16970
+ readonly payload: {
16971
+ readonly [x: string]: unknown;
16972
+ };
16973
+ readonly deletedAt: string | null;
15794
16974
  readonly serviceClientId: string | null;
15795
- readonly kind: "lookup_points" | "add_points" | "redeem_points" | "refund_points";
15796
16975
  readonly result: {
15797
16976
  readonly errorMessage?: string | null | undefined;
15798
16977
  readonly memberNumber?: string | null | undefined;
@@ -15807,9 +16986,6 @@ declare function makeSpokeClient(hubClient: PromiseHubApiClient): {
15807
16986
  } | null;
15808
16987
  readonly acceptedAt: string | null;
15809
16988
  readonly completedAt: string | null;
15810
- readonly payload: {
15811
- readonly [x: string]: unknown;
15812
- };
15813
16989
  readonly errorMessage: string | null;
15814
16990
  readonly requestedAt: string;
15815
16991
  readonly organizationPointProviderId: string;
@@ -16059,13 +17235,13 @@ declare function makeSpokeClient(hubClient: PromiseHubApiClient): {
16059
17235
  readonly firstName: string;
16060
17236
  readonly lastName: string;
16061
17237
  readonly membershipTypeId: string;
17238
+ readonly title?: string | null | undefined;
16062
17239
  readonly email?: string | null | undefined;
16063
17240
  readonly gamingPermissions?: {
16064
17241
  readonly isGamingEnabled?: boolean | undefined;
16065
17242
  readonly isVenuePromotionsEnabled?: boolean | undefined;
16066
17243
  readonly isGamingPromotionsEnabled?: boolean | undefined;
16067
17244
  } | undefined;
16068
- readonly title?: string | null | undefined;
16069
17245
  readonly middleName?: string | null | undefined;
16070
17246
  readonly gender?: string | null | undefined;
16071
17247
  readonly mobilePhone?: string | null | undefined;
@@ -16103,6 +17279,7 @@ declare function makeSpokeClient(hubClient: PromiseHubApiClient): {
16103
17279
  readonly payload: {
16104
17280
  readonly firstName: string;
16105
17281
  readonly lastName: string;
17282
+ readonly title?: string | null | undefined;
16106
17283
  readonly email?: string | null | undefined;
16107
17284
  readonly externalSystemMemberId?: string | null | undefined;
16108
17285
  readonly memberNumber?: string | null | undefined;
@@ -16114,7 +17291,6 @@ declare function makeSpokeClient(hubClient: PromiseHubApiClient): {
16114
17291
  readonly isGamingPromotionsEnabled?: boolean | undefined;
16115
17292
  } | undefined;
16116
17293
  readonly expiresAt?: string | null | undefined;
16117
- readonly title?: string | null | undefined;
16118
17294
  readonly middleName?: string | null | undefined;
16119
17295
  readonly gender?: string | null | undefined;
16120
17296
  readonly mobilePhone?: string | null | undefined;
@@ -16159,6 +17335,7 @@ declare function makeSpokeClient(hubClient: PromiseHubApiClient): {
16159
17335
  } | {
16160
17336
  readonly payload: {
16161
17337
  readonly expectedUpdatedAt: string;
17338
+ readonly title?: string | null | undefined;
16162
17339
  readonly email?: string | null | undefined;
16163
17340
  readonly externalSystemMemberId?: string | null | undefined;
16164
17341
  readonly memberNumber?: string | null | undefined;
@@ -16170,7 +17347,6 @@ declare function makeSpokeClient(hubClient: PromiseHubApiClient): {
16170
17347
  readonly isGamingPromotionsEnabled?: boolean | undefined;
16171
17348
  } | undefined;
16172
17349
  readonly expiresAt?: string | null | undefined;
16173
- readonly title?: string | null | undefined;
16174
17350
  readonly firstName?: string | undefined;
16175
17351
  readonly middleName?: string | null | undefined;
16176
17352
  readonly lastName?: string | undefined;
@@ -16217,8 +17393,8 @@ declare function makeSpokeClient(hubClient: PromiseHubApiClient): {
16217
17393
  readonly waitMs?: number | undefined;
16218
17394
  } | {
16219
17395
  readonly payload: {
16220
- readonly expiresAt?: string | null | undefined;
16221
17396
  readonly expectedUpdatedAt?: string | null | undefined;
17397
+ readonly expiresAt?: string | null | undefined;
16222
17398
  };
16223
17399
  readonly memberId: string;
16224
17400
  readonly operation: "member.renew";
@@ -16233,14 +17409,14 @@ declare function makeSpokeClient(hubClient: PromiseHubApiClient): {
16233
17409
  readonly waitMs?: number | undefined;
16234
17410
  } | {
16235
17411
  readonly payload: {
16236
- readonly memberId?: string | undefined;
16237
17412
  readonly quantity?: number | undefined;
17413
+ readonly rewardId?: string | null | undefined;
17414
+ readonly memberId?: string | undefined;
16238
17415
  readonly metadata?: {
16239
17416
  readonly [x: string]: unknown;
16240
17417
  } | undefined;
16241
17418
  readonly externalSystemMemberId?: string | null | undefined;
16242
17419
  readonly memberNumber?: string | null | undefined;
16243
- readonly rewardId?: string | null | undefined;
16244
17420
  };
16245
17421
  readonly operation: "voucher.issue";
16246
17422
  readonly waitMs?: number | undefined;
@@ -16352,13 +17528,13 @@ declare function makeSpokeClient(hubClient: PromiseHubApiClient): {
16352
17528
  readonly firstName: string;
16353
17529
  readonly lastName: string;
16354
17530
  readonly membershipTypeId: string;
17531
+ readonly title?: string | null | undefined;
16355
17532
  readonly email?: string | null | undefined;
16356
17533
  readonly gamingPermissions?: {
16357
17534
  readonly isGamingEnabled?: boolean | undefined;
16358
17535
  readonly isVenuePromotionsEnabled?: boolean | undefined;
16359
17536
  readonly isGamingPromotionsEnabled?: boolean | undefined;
16360
17537
  } | undefined;
16361
- readonly title?: string | null | undefined;
16362
17538
  readonly middleName?: string | null | undefined;
16363
17539
  readonly gender?: string | null | undefined;
16364
17540
  readonly mobilePhone?: string | null | undefined;
@@ -16445,13 +17621,13 @@ declare function makeSpokeClient(hubClient: PromiseHubApiClient): {
16445
17621
  readonly firstName: string;
16446
17622
  readonly lastName: string;
16447
17623
  readonly membershipTypeId: string;
17624
+ readonly title?: string | null | undefined;
16448
17625
  readonly email?: string | null | undefined;
16449
17626
  readonly gamingPermissions?: {
16450
17627
  readonly isGamingEnabled?: boolean | undefined;
16451
17628
  readonly isVenuePromotionsEnabled?: boolean | undefined;
16452
17629
  readonly isGamingPromotionsEnabled?: boolean | undefined;
16453
17630
  } | undefined;
16454
- readonly title?: string | null | undefined;
16455
17631
  readonly middleName?: string | null | undefined;
16456
17632
  readonly gender?: string | null | undefined;
16457
17633
  readonly mobilePhone?: string | null | undefined;
@@ -16565,13 +17741,13 @@ declare function makeSpokeClient(hubClient: PromiseHubApiClient): {
16565
17741
  readonly firstName: string;
16566
17742
  readonly lastName: string;
16567
17743
  readonly membershipTypeId: string;
17744
+ readonly title?: string | null | undefined;
16568
17745
  readonly email?: string | null | undefined;
16569
17746
  readonly gamingPermissions?: {
16570
17747
  readonly isGamingEnabled?: boolean | undefined;
16571
17748
  readonly isVenuePromotionsEnabled?: boolean | undefined;
16572
17749
  readonly isGamingPromotionsEnabled?: boolean | undefined;
16573
17750
  } | undefined;
16574
- readonly title?: string | null | undefined;
16575
17751
  readonly middleName?: string | null | undefined;
16576
17752
  readonly gender?: string | null | undefined;
16577
17753
  readonly mobilePhone?: string | null | undefined;
@@ -16685,13 +17861,13 @@ declare function makeSpokeClient(hubClient: PromiseHubApiClient): {
16685
17861
  readonly firstName: string;
16686
17862
  readonly lastName: string;
16687
17863
  readonly membershipTypeId: string;
17864
+ readonly title?: string | null | undefined;
16688
17865
  readonly email?: string | null | undefined;
16689
17866
  readonly gamingPermissions?: {
16690
17867
  readonly isGamingEnabled?: boolean | undefined;
16691
17868
  readonly isVenuePromotionsEnabled?: boolean | undefined;
16692
17869
  readonly isGamingPromotionsEnabled?: boolean | undefined;
16693
17870
  } | undefined;
16694
- readonly title?: string | null | undefined;
16695
17871
  readonly middleName?: string | null | undefined;
16696
17872
  readonly gender?: string | null | undefined;
16697
17873
  readonly mobilePhone?: string | null | undefined;
@@ -16806,13 +17982,13 @@ declare function makeSpokeClient(hubClient: PromiseHubApiClient): {
16806
17982
  readonly firstName: string;
16807
17983
  readonly lastName: string;
16808
17984
  readonly membershipTypeId: string;
17985
+ readonly title?: string | null | undefined;
16809
17986
  readonly email?: string | null | undefined;
16810
17987
  readonly gamingPermissions?: {
16811
17988
  readonly isGamingEnabled?: boolean | undefined;
16812
17989
  readonly isVenuePromotionsEnabled?: boolean | undefined;
16813
17990
  readonly isGamingPromotionsEnabled?: boolean | undefined;
16814
17991
  } | undefined;
16815
- readonly title?: string | null | undefined;
16816
17992
  readonly middleName?: string | null | undefined;
16817
17993
  readonly gender?: string | null | undefined;
16818
17994
  readonly mobilePhone?: string | null | undefined;
@@ -17001,14 +18177,17 @@ declare function makeSpokeClient(hubClient: PromiseHubApiClient): {
17001
18177
  readonly settled: boolean;
17002
18178
  readonly timedOut: boolean;
17003
18179
  readonly command: {
18180
+ readonly organizationId: string;
18181
+ readonly kind: "lookup_points" | "add_points" | "redeem_points" | "refund_points";
17004
18182
  readonly status: "requested" | "accepted" | "completed" | "failed";
17005
- readonly deletedAt: string | null;
17006
18183
  readonly id: string;
17007
18184
  readonly createdAt: string;
17008
18185
  readonly updatedAt: string;
17009
- readonly organizationId: string;
18186
+ readonly payload: {
18187
+ readonly [x: string]: unknown;
18188
+ };
18189
+ readonly deletedAt: string | null;
17010
18190
  readonly serviceClientId: string | null;
17011
- readonly kind: "lookup_points" | "add_points" | "redeem_points" | "refund_points";
17012
18191
  readonly result: {
17013
18192
  readonly errorMessage?: string | null | undefined;
17014
18193
  readonly memberNumber?: string | null | undefined;
@@ -17023,9 +18202,6 @@ declare function makeSpokeClient(hubClient: PromiseHubApiClient): {
17023
18202
  } | null;
17024
18203
  readonly acceptedAt: string | null;
17025
18204
  readonly completedAt: string | null;
17026
- readonly payload: {
17027
- readonly [x: string]: unknown;
17028
- };
17029
18205
  readonly errorMessage: string | null;
17030
18206
  readonly requestedAt: string;
17031
18207
  readonly organizationPointProviderId: string;
@@ -17046,14 +18222,17 @@ declare function makeSpokeClient(hubClient: PromiseHubApiClient): {
17046
18222
  readonly settled: boolean;
17047
18223
  readonly timedOut: boolean;
17048
18224
  readonly command: {
18225
+ readonly organizationId: string;
18226
+ readonly kind: "lookup_points" | "add_points" | "redeem_points" | "refund_points";
17049
18227
  readonly status: "requested" | "accepted" | "completed" | "failed";
17050
- readonly deletedAt: string | null;
17051
18228
  readonly id: string;
17052
18229
  readonly createdAt: string;
17053
18230
  readonly updatedAt: string;
17054
- readonly organizationId: string;
18231
+ readonly payload: {
18232
+ readonly [x: string]: unknown;
18233
+ };
18234
+ readonly deletedAt: string | null;
17055
18235
  readonly serviceClientId: string | null;
17056
- readonly kind: "lookup_points" | "add_points" | "redeem_points" | "refund_points";
17057
18236
  readonly result: {
17058
18237
  readonly errorMessage?: string | null | undefined;
17059
18238
  readonly memberNumber?: string | null | undefined;
@@ -17068,9 +18247,6 @@ declare function makeSpokeClient(hubClient: PromiseHubApiClient): {
17068
18247
  } | null;
17069
18248
  readonly acceptedAt: string | null;
17070
18249
  readonly completedAt: string | null;
17071
- readonly payload: {
17072
- readonly [x: string]: unknown;
17073
- };
17074
18250
  readonly errorMessage: string | null;
17075
18251
  readonly requestedAt: string;
17076
18252
  readonly organizationPointProviderId: string;
@@ -17091,14 +18267,17 @@ declare function makeSpokeClient(hubClient: PromiseHubApiClient): {
17091
18267
  readonly settled: boolean;
17092
18268
  readonly timedOut: boolean;
17093
18269
  readonly command: {
18270
+ readonly organizationId: string;
18271
+ readonly kind: "lookup_points" | "add_points" | "redeem_points" | "refund_points";
17094
18272
  readonly status: "requested" | "accepted" | "completed" | "failed";
17095
- readonly deletedAt: string | null;
17096
18273
  readonly id: string;
17097
18274
  readonly createdAt: string;
17098
18275
  readonly updatedAt: string;
17099
- readonly organizationId: string;
18276
+ readonly payload: {
18277
+ readonly [x: string]: unknown;
18278
+ };
18279
+ readonly deletedAt: string | null;
17100
18280
  readonly serviceClientId: string | null;
17101
- readonly kind: "lookup_points" | "add_points" | "redeem_points" | "refund_points";
17102
18281
  readonly result: {
17103
18282
  readonly errorMessage?: string | null | undefined;
17104
18283
  readonly memberNumber?: string | null | undefined;
@@ -17113,9 +18292,6 @@ declare function makeSpokeClient(hubClient: PromiseHubApiClient): {
17113
18292
  } | null;
17114
18293
  readonly acceptedAt: string | null;
17115
18294
  readonly completedAt: string | null;
17116
- readonly payload: {
17117
- readonly [x: string]: unknown;
17118
- };
17119
18295
  readonly errorMessage: string | null;
17120
18296
  readonly requestedAt: string;
17121
18297
  readonly organizationPointProviderId: string;
@@ -17136,14 +18312,17 @@ declare function makeSpokeClient(hubClient: PromiseHubApiClient): {
17136
18312
  readonly settled: boolean;
17137
18313
  readonly timedOut: boolean;
17138
18314
  readonly command: {
18315
+ readonly organizationId: string;
18316
+ readonly kind: "lookup_points" | "add_points" | "redeem_points" | "refund_points";
17139
18317
  readonly status: "requested" | "accepted" | "completed" | "failed";
17140
- readonly deletedAt: string | null;
17141
18318
  readonly id: string;
17142
18319
  readonly createdAt: string;
17143
18320
  readonly updatedAt: string;
17144
- readonly organizationId: string;
18321
+ readonly payload: {
18322
+ readonly [x: string]: unknown;
18323
+ };
18324
+ readonly deletedAt: string | null;
17145
18325
  readonly serviceClientId: string | null;
17146
- readonly kind: "lookup_points" | "add_points" | "redeem_points" | "refund_points";
17147
18326
  readonly result: {
17148
18327
  readonly errorMessage?: string | null | undefined;
17149
18328
  readonly memberNumber?: string | null | undefined;
@@ -17158,9 +18337,6 @@ declare function makeSpokeClient(hubClient: PromiseHubApiClient): {
17158
18337
  } | null;
17159
18338
  readonly acceptedAt: string | null;
17160
18339
  readonly completedAt: string | null;
17161
- readonly payload: {
17162
- readonly [x: string]: unknown;
17163
- };
17164
18340
  readonly errorMessage: string | null;
17165
18341
  readonly requestedAt: string;
17166
18342
  readonly organizationPointProviderId: string;
@@ -17188,13 +18364,13 @@ declare function makeSpokeClient(hubClient: PromiseHubApiClient): {
17188
18364
  readonly firstName: string;
17189
18365
  readonly lastName: string;
17190
18366
  readonly membershipTypeId: string;
18367
+ readonly title?: string | null | undefined;
17191
18368
  readonly email?: string | null | undefined;
17192
18369
  readonly gamingPermissions?: {
17193
18370
  readonly isGamingEnabled?: boolean | undefined;
17194
18371
  readonly isVenuePromotionsEnabled?: boolean | undefined;
17195
18372
  readonly isGamingPromotionsEnabled?: boolean | undefined;
17196
18373
  } | undefined;
17197
- readonly title?: string | null | undefined;
17198
18374
  readonly middleName?: string | null | undefined;
17199
18375
  readonly gender?: string | null | undefined;
17200
18376
  readonly mobilePhone?: string | null | undefined;
@@ -17327,14 +18503,17 @@ declare function makeSpokeClient(hubClient: PromiseHubApiClient): {
17327
18503
  readonly settled: boolean;
17328
18504
  readonly timedOut: boolean;
17329
18505
  readonly command: {
18506
+ readonly organizationId: string;
18507
+ readonly kind: "lookup_points" | "add_points" | "redeem_points" | "refund_points";
17330
18508
  readonly status: "requested" | "accepted" | "completed" | "failed";
17331
- readonly deletedAt: string | null;
17332
18509
  readonly id: string;
17333
18510
  readonly createdAt: string;
17334
18511
  readonly updatedAt: string;
17335
- readonly organizationId: string;
18512
+ readonly payload: {
18513
+ readonly [x: string]: unknown;
18514
+ };
18515
+ readonly deletedAt: string | null;
17336
18516
  readonly serviceClientId: string | null;
17337
- readonly kind: "lookup_points" | "add_points" | "redeem_points" | "refund_points";
17338
18517
  readonly result: {
17339
18518
  readonly errorMessage?: string | null | undefined;
17340
18519
  readonly memberNumber?: string | null | undefined;
@@ -17349,9 +18528,6 @@ declare function makeSpokeClient(hubClient: PromiseHubApiClient): {
17349
18528
  } | null;
17350
18529
  readonly acceptedAt: string | null;
17351
18530
  readonly completedAt: string | null;
17352
- readonly payload: {
17353
- readonly [x: string]: unknown;
17354
- };
17355
18531
  readonly errorMessage: string | null;
17356
18532
  readonly requestedAt: string;
17357
18533
  readonly organizationPointProviderId: string;
@@ -17368,4 +18544,4 @@ declare const makePromiseSpokeClient: (options: HubApiCredentialOptions) => Prom
17368
18544
  readonly hubClient: PromiseHubApiClient;
17369
18545
  }>;
17370
18546
 
17371
- 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 CleanupOrganizationMembersInput, CleanupOrganizationMembersSchema, type CompleteOnsitePointCommandInput, CompleteOnsitePointCommandSchema, type CompleteOnsiteVoucherCommandInput, CompleteOnsiteVoucherCommandSchema, type ConflictError, ConflictErrorSchema, type ConvertOrganizationToDemoInput, ConvertOrganizationToDemoSchema, type CreateGuestInput, CreateGuestSchema, type CreateMemberInput, CreateMemberSchema, type CreateOrganizationInitialMembershipUploadInput, type CreateOrganizationInitialMembershipUploadResponse, CreateOrganizationInitialMembershipUploadResponseSchema, CreateOrganizationInitialMembershipUploadSchema, type CreateOrganizationInput, type CreateOrganizationMemberSourceCsvUploadInput, type CreateOrganizationMemberSourceCsvUploadResponse, CreateOrganizationMemberSourceCsvUploadResponseSchema, CreateOrganizationMemberSourceCsvUploadSchema, type CreateOrganizationPointTypeInput, CreateOrganizationPointTypeSchema, type CreateOrganizationProductOptionInput, CreateOrganizationProductOptionSchema, type CreateOrganizationProductWebhookInput, CreateOrganizationProductWebhookSchema, CreateOrganizationSchema, type CreateServiceClientInput, CreateServiceClientSchema, type CsvUploadReadiness, CsvUploadReadinessSchema, DateOnlySchema, type DeleteOrganizationInitialMembershipUploadResponse, DeleteOrganizationInitialMembershipUploadResponseSchema, type DeletePayload, DeletePayloadSchema, type DeleteServiceClientInput, DeleteServiceClientSchema, type EnsureActiveMembershipCommand, type EnsureActiveMembershipCommandPayload, EnsureActiveMembershipCommandPayloadSchema, EnsureActiveMembershipCommandSchema, type EnsureActiveMembershipManualReviewItem, EnsureActiveMembershipManualReviewItemSchema, type EnsureActiveMembershipManualReviewQueue, EnsureActiveMembershipManualReviewQueueSchema, type EnsureActiveMembershipMemberInput, EnsureActiveMembershipMemberSchema, EnsureActiveMembershipNonSuccessOutcomeSchema, type EnsureActiveMembershipNonSuccessResult, EnsureActiveMembershipNonSuccessResultSchema, type EnsureActiveMembershipOutcome, EnsureActiveMembershipOutcomeSchema, type EnsureActiveMembershipResponse, EnsureActiveMembershipResponseSchema, type EnsureActiveMembershipResult, EnsureActiveMembershipResultSchema, EnsureActiveMembershipSuccessOutcomeSchema, type EnsureActiveMembershipSuccessResult, EnsureActiveMembershipSuccessResultSchema, type EnsureActiveMembershipWorkflowProgress, EnsureActiveMembershipWorkflowProgressSchema, EnsureActiveMembershipWorkflowStepSchema, type EnsureActiveMembershipWorkflowStepState, EnsureActiveMembershipWorkflowStepStateSchema, type ForbiddenError, ForbiddenErrorSchema, GamingPermissionsSchema, type Guest, type GuestContactMatch, GuestContactMatchSchema, GuestSchema, HubApi, type HubApiClient, type HubApiClientOptions, type HubApiCredentialOptions, type ImportedMemberRecord, ImportedMemberRecordSchema, type InternalServerError, InternalServerErrorSchema, IssuedPrivateKeySchema, type MailchimpSettingsInput, MailchimpSettingsInputSchema, type MailchimpSettingsResponse, MailchimpSettingsSchema, MarketingPreferencesSchema, type Member, type MemberBasic, type MemberBasicResponse, MemberBasicResponseSchema, MemberBasicSchema, type MemberCleanupResult, MemberCleanupResultSchema, type MemberContactMatch, MemberContactMatchSchema, type MemberFullResponse, MemberFullResponseSchema, type MemberMed, type MemberMedResponse, MemberMedResponseSchema, MemberMedSchema, type MemberPointBalance, MemberPointBalanceSchema, type MemberPointBalancesResponse, MemberPointBalancesResponseSchema, type MemberResponse, type MemberResponseMode, MemberResponseModeSchema, MemberResponseSchema, MemberSchema, type MemberSeedBatch, MemberSeedBatchSchema, MemberSourceSecretNameSchema, type MemberStatusCredits, MemberStatusCreditsSchema, type NexusReferenceDataRequest, NexusReferenceDataRequestSchema, type NotFoundError, NotFoundErrorSchema, type OnsiteAgentCommand, OnsiteAgentCommandSchema, type OnsiteAgentCompleteCustomFieldsInput, OnsiteAgentCompleteCustomFieldsSchema, type OnsiteAgentCompleteEnsureActiveMembershipInput, OnsiteAgentCompleteEnsureActiveMembershipSchema, type OnsiteAgentCompleteMemberCreateInput, OnsiteAgentCompleteMemberCreateSchema, type OnsiteAgentCompleteMemberLookupInput, OnsiteAgentCompleteMemberLookupSchema, type OnsiteAgentCompleteMemberRenewalInput, OnsiteAgentCompleteMemberRenewalSchema, type OnsiteAgentCompleteMemberUpdateInput, OnsiteAgentCompleteMemberUpdateSchema, type OnsiteAgentCompleteReferenceDataInput, OnsiteAgentCompleteReferenceDataSchema, OnsiteAgentCompleteRunErrorSchema, type OnsiteAgentCompleteRunInput, OnsiteAgentCompleteRunSchema, type OnsiteAgentCsvUploadTarget, OnsiteAgentCsvUploadTargetSchema, type OnsiteAgentCustomFieldsCommand, OnsiteAgentCustomFieldsCommandSchema, type OnsiteAgentEnsureActiveMembershipAuditEvent, OnsiteAgentEnsureActiveMembershipAuditEventSchema, type OnsiteAgentEnsureActiveMembershipCommand, OnsiteAgentEnsureActiveMembershipCommandSchema, OnsiteAgentEnsureActiveMembershipCompletionResultSchema, type OnsiteAgentEnsureActiveMembershipProgressUpdate, OnsiteAgentEnsureActiveMembershipProgressUpdateSchema, type OnsiteAgentHeartbeatInput, type OnsiteAgentHeartbeatResponse, OnsiteAgentHeartbeatResponseSchema, OnsiteAgentHeartbeatSchema, type OnsiteAgentIngestLiveFbiBatchInput, OnsiteAgentIngestLiveFbiBatchSchema, type OnsiteAgentMemberCreateCommand, OnsiteAgentMemberCreateCommandSchema, type OnsiteAgentMemberCreationResult, OnsiteAgentMemberCreationResultSchema, type OnsiteAgentMemberLookupCommand, OnsiteAgentMemberLookupCommandSchema, type OnsiteAgentMemberPreferenceUpdateCommand, OnsiteAgentMemberPreferenceUpdateCommandSchema, type OnsiteAgentMemberRenewalCommand, OnsiteAgentMemberRenewalCommandSchema, type OnsiteAgentMemberUpdateCommand, OnsiteAgentMemberUpdateCommandSchema, type OnsiteAgentReferenceDataCommand, OnsiteAgentReferenceDataCommandSchema, type OnsiteAgentRunProgressInput, OnsiteAgentRunProgressSchema, type OnsitePointCommand, OnsitePointCommandSchema, type OnsiteResourceCallRequest, OnsiteResourceCallRequestSchema, type OnsiteResourceCallResponse, OnsiteResourceCallResponseSchema, type OnsiteResourceClient, type OnsiteResourceEnsureActiveMembershipCallResponse, OnsiteResourceEnsureActiveMembershipCallResponseSchema, type OnsiteResourceMemberCallResponse, OnsiteResourceMemberCallResponseSchema, type OnsiteResourcePointCallResponse, OnsiteResourcePointCallResponseSchema, type OnsiteResourceVoucherCallResponse, OnsiteResourceVoucherCallResponseSchema, type OnsiteVoucherCommand, OnsiteVoucherCommandSchema, type Organization, type OrganizationCapabilities, OrganizationCapabilitiesSchema, type OrganizationCapability, OrganizationCapabilitySchema, type OrganizationInitialMembershipUploadDownload, OrganizationInitialMembershipUploadDownloadSchema, type OrganizationInitialMembershipUploads, OrganizationInitialMembershipUploadsSchema, type OrganizationMemberGender, OrganizationMemberGenderSchema, type OrganizationMemberMembershipType, OrganizationMemberMembershipTypeSchema, type OrganizationMemberRatingGrade, OrganizationMemberRatingGradeSchema, type OrganizationMemberSource, type OrganizationMemberSourceAgent, OrganizationMemberSourceAgentSchema, type OrganizationMemberSourceCommand, OrganizationMemberSourceCommandSchema, type OrganizationMemberSourceCsvImport, OrganizationMemberSourceCsvImportSchema, type OrganizationMemberSourceCsvMapping, OrganizationMemberSourceCsvMappingSchema, type OrganizationMemberSourceEnsureActiveMembershipConfig, OrganizationMemberSourceEnsureActiveMembershipConfigSchema, OrganizationMemberSourceSchema, OrganizationMemberSourceSecretInputSchema, type OrganizationMemberSourceWebhook, OrganizationMemberSourceWebhookSchema, type OrganizationMemberSourceWebhookUpsertResponse, OrganizationMemberSourceWebhookUpsertResponseSchema, type OrganizationMemberSyncRun, type OrganizationMemberSyncRunError, OrganizationMemberSyncRunErrorSchema, OrganizationMemberSyncRunSchema, OrganizationMemberSyncRunSummarySchema, type OrganizationMemberTitle, OrganizationMemberTitleSchema, type OrganizationMembersListResponse, type OrganizationMembersSearchField, OrganizationMembersSearchFieldSchema, type OrganizationMembersSortField, OrganizationMembersSortFieldSchema, type OrganizationMembersStatusFilter, OrganizationMembersStatusFilterSchema, type OrganizationPeopleContactLookupResponse, OrganizationPeopleContactLookupResponseSchema, type OrganizationPointCommand, OrganizationPointCommandResultSchema, OrganizationPointCommandSchema, type OrganizationPointProvider, OrganizationPointProviderSchema, type OrganizationPointType, OrganizationPointTypeSchema, type OrganizationPointTypesResponse, OrganizationPointTypesResponseSchema, type OrganizationProductOption, OrganizationProductOptionSchema, type OrganizationProductWebhook, OrganizationProductWebhookSchema, type OrganizationProductWebhookUpsertResponse, OrganizationProductWebhookUpsertResponseSchema, OrganizationSchema, type OrganizationVoucherCommand, type OrganizationVoucherCommandResult, OrganizationVoucherCommandResultSchema, OrganizationVoucherCommandSchema, type OrganizationVoucherIssueCommandResult, OrganizationVoucherIssueCommandResultSchema, type OrganizationVoucherLookupCommandResult, OrganizationVoucherLookupCommandResultSchema, type OrganizationVoucherProvider, OrganizationVoucherProviderSchema, OrganizationVoucherProviderSecretInputSchema, OrganizationVoucherProviderSecretNameSchema, type PaginatedGuests, PaginatedGuestsSchema, type PaginatedOrganizationMemberGenders, PaginatedOrganizationMemberGendersSchema, type PaginatedOrganizationMemberMembershipTypes, PaginatedOrganizationMemberMembershipTypesSchema, type PaginatedOrganizationMemberRatingGrades, PaginatedOrganizationMemberRatingGradesSchema, type PaginatedOrganizationMemberSourceCommands, PaginatedOrganizationMemberSourceCommandsSchema, type PaginatedOrganizationMemberSyncRuns, PaginatedOrganizationMemberSyncRunsSchema, type PaginatedOrganizationMemberTitles, PaginatedOrganizationMemberTitlesSchema, type PaginatedOrganizationMembers, type PaginatedOrganizationMembersBasic, PaginatedOrganizationMembersBasicSchema, type PaginatedOrganizationMembersMed, PaginatedOrganizationMembersMedSchema, PaginatedOrganizationMembersResponseSchema, PaginatedOrganizationMembersSchema, type PaginatedOrganizationProductOptions, PaginatedOrganizationProductOptionsSchema, type PaginatedOrganizationProductWebhooks, PaginatedOrganizationProductWebhooksSchema, type PaginatedOrganizationVoucherCommands, PaginatedOrganizationVoucherCommandsSchema, type PaginatedOrganizations, PaginatedOrganizationsSchema, type PaginatedServiceClients, PaginatedServiceClientsSchema, PointExecutionEvidenceSchema, 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 SeedOrganizationMembersInput, SeedOrganizationMembersSchema, type ServiceClient, ServiceClientSchema, type SortDirection, SortDirectionSchema, type SourceContactPreference, SourceContactPreferenceSchema, type SourceManagedMemberLookupBy, SourceManagedMemberLookupBySchema, type SourceManagedMemberLookupCommandPayload, SourceManagedMemberLookupCommandPayloadSchema, SourceManagedMemberPreferenceUpdateCommandPayloadSchema, type SourceManagedMemberRenewalCommandPayload, SourceManagedMemberRenewalCommandPayloadSchema, SourceManagedMemberUpdateCommandPayloadSchema, SpokeHubApiError, type SpokeHubApiErrorBody, SpokeHubClientError, type SpokeHubErrorKind, type SpokeHubHttpErrorContext, type SpokeHubResult, TimestampSchema, type TriggerOrganizationMemberSyncInput, TriggerOrganizationMemberSyncSchema, type UnauthorizedError, UnauthorizedErrorSchema, type UpdateGuestInput, UpdateGuestSchema, type UpdateMemberInput, UpdateMemberSchema, type UpdateMemberStatusCreditsInput, UpdateMemberStatusCreditsSchema, type UpdateOrganizationInput, type UpdateOrganizationPointTypeInput, UpdateOrganizationPointTypeSchema, type UpdateOrganizationProductWebhookInput, UpdateOrganizationProductWebhookSchema, UpdateOrganizationSchema, type UpdateServiceClientInput, UpdateServiceClientSchema, type UpsertMemberPointBalanceInput, UpsertMemberPointBalanceSchema, type UpsertOrganizationMemberSourceCsvMappingInput, UpsertOrganizationMemberSourceCsvMappingSchema, type UpsertOrganizationMemberSourceInput, UpsertOrganizationMemberSourceSchema, type UpsertOrganizationMemberSourceWebhookInput, UpsertOrganizationMemberSourceWebhookSchema, type UpsertOrganizationPointProviderInput, UpsertOrganizationPointProviderSchema, type UpsertOrganizationProductWebhookInput, UpsertOrganizationProductWebhookSchema, type UpsertOrganizationVoucherProviderInput, UpsertOrganizationVoucherProviderSchema, adminRoles, ensureActiveMembershipOutcomes, guestStatuses, isStaleAcceptedVoucherCommand, makeBadRequest, makeConflict, makeForbidden, makeHubApiClient, makeInternalServerError, makeNotFound, makeOnsiteResourceClient, makePromiseHubApiClient, makePromiseOnsiteResourceClient, makePromiseServiceHubApiClient, makePromiseSpokeClient, makeServiceHubApiClient, makeSpokeClient, makeUnauthorized, memberComputedStatuses, memberCreatedOrigins, memberPreferredContactMethods, memberRecordModes, memberSourceEnsureActiveMembershipEnabled, memberStatuses, organizationMemberSourceAgentCapabilities, organizationMemberSourceAgentStatuses, organizationMemberSourceBatchTransports, organizationMemberSourceCommandKinds, organizationMemberSourceCommandStatuses, organizationMemberSourceCsvImportStatuses, organizationMemberSourceLiveTransports, organizationMemberSourceManualTransports, organizationMemberSourceStatuses, organizationMemberSourceVendors, organizationMemberSourceWebhookDeliveryStatuses, organizationMemberSourceWebhookStatuses, organizationMemberSyncModes, organizationMemberSyncRunStatuses, organizationMemberSyncTransports, organizationMemberSyncTriggerKinds, organizationPointCommandKinds, organizationPointCommandStatuses, organizationPointProviderProviders, organizationPointProviderStatuses, organizationPointProviderTransports, organizationPointTypeStatuses, organizationProductWebhookDeliveryStatuses, organizationProductWebhookStatuses, organizationStatuses, organizationVoucherCommandKinds, organizationVoucherCommandStatuses, organizationVoucherProviderProviders, organizationVoucherProviderStatuses, organizationVoucherProviderTransports, resolveHubApiBaseUrl, voucherCommandRecoveryDelayMs };
18547
+ 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 CleanupOrganizationMembersInput, CleanupOrganizationMembersSchema, type CompleteOnsitePointCommandInput, CompleteOnsitePointCommandSchema, type CompleteOnsiteVoucherCommandInput, CompleteOnsiteVoucherCommandSchema, 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 CreateServiceClientInput, CreateServiceClientSchema, type CsvUploadReadiness, CsvUploadReadinessSchema, DateOnlySchema, type DeleteOrganizationInitialMembershipUploadResponse, DeleteOrganizationInitialMembershipUploadResponseSchema, type DeletePayload, DeletePayloadSchema, type DeleteServiceClientInput, DeleteServiceClientSchema, type EnsureActiveMembershipCommand, type EnsureActiveMembershipCommandPayload, EnsureActiveMembershipCommandPayloadSchema, EnsureActiveMembershipCommandSchema, type EnsureActiveMembershipManualReviewItem, EnsureActiveMembershipManualReviewItemSchema, type EnsureActiveMembershipManualReviewQueue, EnsureActiveMembershipManualReviewQueueSchema, type EnsureActiveMembershipMemberInput, EnsureActiveMembershipMemberSchema, EnsureActiveMembershipNonSuccessOutcomeSchema, type EnsureActiveMembershipNonSuccessResult, EnsureActiveMembershipNonSuccessResultSchema, type EnsureActiveMembershipOutcome, EnsureActiveMembershipOutcomeSchema, type EnsureActiveMembershipResponse, EnsureActiveMembershipResponseSchema, type EnsureActiveMembershipResult, EnsureActiveMembershipResultSchema, EnsureActiveMembershipSuccessOutcomeSchema, type EnsureActiveMembershipSuccessResult, EnsureActiveMembershipSuccessResultSchema, type EnsureActiveMembershipWorkflowProgress, EnsureActiveMembershipWorkflowProgressSchema, EnsureActiveMembershipWorkflowStepSchema, type EnsureActiveMembershipWorkflowStepState, EnsureActiveMembershipWorkflowStepStateSchema, type ForbiddenError, ForbiddenErrorSchema, GamingPermissionsSchema, type GreengrassAgentDevice, GreengrassAgentDeviceSchema, type GreengrassAgentUpdate, GreengrassAgentUpdateSchema, type Guest, type GuestContactMatch, GuestContactMatchSchema, GuestSchema, HubApi, type HubApiClient, type HubApiClientOptions, type HubApiCredentialOptions, type ImportedMemberRecord, ImportedMemberRecordSchema, type InternalServerError, InternalServerErrorSchema, IssuedPrivateKeySchema, type MailchimpSettingsInput, MailchimpSettingsInputSchema, type MailchimpSettingsResponse, MailchimpSettingsSchema, MarketingPreferencesSchema, type Member, type MemberBasic, type MemberBasicResponse, MemberBasicResponseSchema, MemberBasicSchema, type MemberCleanupResult, MemberCleanupResultSchema, type MemberContactMatch, MemberContactMatchSchema, type MemberFullResponse, MemberFullResponseSchema, type MemberMed, type MemberMedResponse, MemberMedResponseSchema, MemberMedSchema, type MemberPointBalance, MemberPointBalanceSchema, type MemberPointBalancesResponse, MemberPointBalancesResponseSchema, type MemberResponse, type MemberResponseMode, MemberResponseModeSchema, MemberResponseSchema, MemberSchema, type MemberSeedBatch, MemberSeedBatchSchema, MemberSourceSecretNameSchema, type MemberStatusCredits, MemberStatusCreditsSchema, type NexusReferenceDataRequest, NexusReferenceDataRequestSchema, type NotFoundError, NotFoundErrorSchema, type Offer, type OfferBenefit, OfferBenefitSchema, OfferSchema, OfferStatusSchema, type OnsiteAgentCommand, OnsiteAgentCommandSchema, type OnsiteAgentCompleteCustomFieldsInput, OnsiteAgentCompleteCustomFieldsSchema, type OnsiteAgentCompleteEnsureActiveMembershipInput, OnsiteAgentCompleteEnsureActiveMembershipSchema, type OnsiteAgentCompleteMemberCreateInput, OnsiteAgentCompleteMemberCreateSchema, type OnsiteAgentCompleteMemberLookupInput, OnsiteAgentCompleteMemberLookupSchema, type OnsiteAgentCompleteMemberRenewalInput, OnsiteAgentCompleteMemberRenewalSchema, type OnsiteAgentCompleteMemberUpdateInput, OnsiteAgentCompleteMemberUpdateSchema, type OnsiteAgentCompleteReferenceDataInput, OnsiteAgentCompleteReferenceDataSchema, OnsiteAgentCompleteRunErrorSchema, type OnsiteAgentCompleteRunInput, OnsiteAgentCompleteRunSchema, type OnsiteAgentCsvUploadTarget, OnsiteAgentCsvUploadTargetSchema, type OnsiteAgentCustomFieldsCommand, OnsiteAgentCustomFieldsCommandSchema, type OnsiteAgentEnsureActiveMembershipAuditEvent, OnsiteAgentEnsureActiveMembershipAuditEventSchema, type OnsiteAgentEnsureActiveMembershipCommand, OnsiteAgentEnsureActiveMembershipCommandSchema, OnsiteAgentEnsureActiveMembershipCompletionResultSchema, type OnsiteAgentEnsureActiveMembershipProgressUpdate, OnsiteAgentEnsureActiveMembershipProgressUpdateSchema, type OnsiteAgentHeartbeatInput, type OnsiteAgentHeartbeatResponse, OnsiteAgentHeartbeatResponseSchema, OnsiteAgentHeartbeatSchema, type OnsiteAgentIngestLiveFbiBatchInput, OnsiteAgentIngestLiveFbiBatchSchema, type OnsiteAgentMemberCreateCommand, OnsiteAgentMemberCreateCommandSchema, type OnsiteAgentMemberCreationResult, OnsiteAgentMemberCreationResultSchema, type OnsiteAgentMemberLookupCommand, OnsiteAgentMemberLookupCommandSchema, type OnsiteAgentMemberPreferenceUpdateCommand, OnsiteAgentMemberPreferenceUpdateCommandSchema, type OnsiteAgentMemberRenewalCommand, OnsiteAgentMemberRenewalCommandSchema, type OnsiteAgentMemberUpdateCommand, OnsiteAgentMemberUpdateCommandSchema, type OnsiteAgentReferenceDataCommand, OnsiteAgentReferenceDataCommandSchema, type OnsiteAgentRunProgressInput, OnsiteAgentRunProgressSchema, type OnsitePointCommand, OnsitePointCommandSchema, type OnsiteResourceCallRequest, OnsiteResourceCallRequestSchema, type OnsiteResourceCallResponse, OnsiteResourceCallResponseSchema, type OnsiteResourceClient, type OnsiteResourceEnsureActiveMembershipCallResponse, OnsiteResourceEnsureActiveMembershipCallResponseSchema, type OnsiteResourceMemberCallResponse, OnsiteResourceMemberCallResponseSchema, type OnsiteResourcePointCallResponse, OnsiteResourcePointCallResponseSchema, type OnsiteResourceVoucherCallResponse, OnsiteResourceVoucherCallResponseSchema, type OnsiteVoucherCommand, OnsiteVoucherCommandSchema, type Organization, type OrganizationCapabilities, OrganizationCapabilitiesSchema, type OrganizationCapability, OrganizationCapabilitySchema, type OrganizationInitialMembershipUploadDownload, OrganizationInitialMembershipUploadDownloadSchema, type OrganizationInitialMembershipUploads, OrganizationInitialMembershipUploadsSchema, type OrganizationMemberGender, OrganizationMemberGenderSchema, type OrganizationMemberMembershipType, OrganizationMemberMembershipTypeSchema, type OrganizationMemberRatingGrade, OrganizationMemberRatingGradeSchema, type OrganizationMemberSource, type OrganizationMemberSourceAgent, OrganizationMemberSourceAgentSchema, type OrganizationMemberSourceCommand, OrganizationMemberSourceCommandSchema, type OrganizationMemberSourceCsvImport, OrganizationMemberSourceCsvImportSchema, type OrganizationMemberSourceCsvMapping, OrganizationMemberSourceCsvMappingSchema, type OrganizationMemberSourceEnsureActiveMembershipConfig, OrganizationMemberSourceEnsureActiveMembershipConfigSchema, OrganizationMemberSourceSchema, OrganizationMemberSourceSecretInputSchema, type OrganizationMemberSourceWebhook, OrganizationMemberSourceWebhookSchema, type OrganizationMemberSourceWebhookUpsertResponse, OrganizationMemberSourceWebhookUpsertResponseSchema, type OrganizationMemberSyncRun, type OrganizationMemberSyncRunError, OrganizationMemberSyncRunErrorSchema, OrganizationMemberSyncRunSchema, OrganizationMemberSyncRunSummarySchema, type OrganizationMemberTitle, OrganizationMemberTitleSchema, type OrganizationMembersListResponse, type OrganizationMembersSearchField, OrganizationMembersSearchFieldSchema, type OrganizationMembersSortField, OrganizationMembersSortFieldSchema, type OrganizationMembersStatusFilter, OrganizationMembersStatusFilterSchema, type OrganizationPeopleContactLookupResponse, OrganizationPeopleContactLookupResponseSchema, type OrganizationPointCommand, OrganizationPointCommandResultSchema, OrganizationPointCommandSchema, type OrganizationPointProvider, OrganizationPointProviderSchema, type OrganizationPointType, OrganizationPointTypeSchema, type OrganizationPointTypesResponse, OrganizationPointTypesResponseSchema, type OrganizationProductOption, OrganizationProductOptionSchema, type OrganizationProductWebhook, OrganizationProductWebhookSchema, type OrganizationProductWebhookUpsertResponse, OrganizationProductWebhookUpsertResponseSchema, OrganizationSchema, type OrganizationVoucherCommand, type OrganizationVoucherCommandResult, OrganizationVoucherCommandResultSchema, OrganizationVoucherCommandSchema, type OrganizationVoucherIssueCommandResult, OrganizationVoucherIssueCommandResultSchema, type OrganizationVoucherLookupCommandResult, OrganizationVoucherLookupCommandResultSchema, type OrganizationVoucherProvider, OrganizationVoucherProviderSchema, OrganizationVoucherProviderSecretInputSchema, OrganizationVoucherProviderSecretNameSchema, type PaginatedGuests, PaginatedGuestsSchema, type PaginatedOrganizationMemberGenders, PaginatedOrganizationMemberGendersSchema, type PaginatedOrganizationMemberMembershipTypes, PaginatedOrganizationMemberMembershipTypesSchema, type PaginatedOrganizationMemberRatingGrades, PaginatedOrganizationMemberRatingGradesSchema, type PaginatedOrganizationMemberSourceCommands, PaginatedOrganizationMemberSourceCommandsSchema, type PaginatedOrganizationMemberSyncRuns, PaginatedOrganizationMemberSyncRunsSchema, type PaginatedOrganizationMemberTitles, PaginatedOrganizationMemberTitlesSchema, type PaginatedOrganizationMembers, type PaginatedOrganizationMembersBasic, PaginatedOrganizationMembersBasicSchema, type PaginatedOrganizationMembersMed, PaginatedOrganizationMembersMedSchema, PaginatedOrganizationMembersResponseSchema, PaginatedOrganizationMembersSchema, type PaginatedOrganizationProductOptions, PaginatedOrganizationProductOptionsSchema, type PaginatedOrganizationProductWebhooks, PaginatedOrganizationProductWebhooksSchema, type PaginatedOrganizationVoucherCommands, PaginatedOrganizationVoucherCommandsSchema, type PaginatedOrganizations, PaginatedOrganizationsSchema, type PaginatedServiceClients, PaginatedServiceClientsSchema, PointExecutionEvidenceSchema, 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 SeedOrganizationMembersInput, SeedOrganizationMembersSchema, type ServiceClient, ServiceClientSchema, type SortDirection, SortDirectionSchema, type SourceContactPreference, SourceContactPreferenceSchema, type SourceManagedMemberLookupBy, SourceManagedMemberLookupBySchema, type SourceManagedMemberLookupCommandPayload, SourceManagedMemberLookupCommandPayloadSchema, SourceManagedMemberPreferenceUpdateCommandPayloadSchema, type SourceManagedMemberRenewalCommandPayload, SourceManagedMemberRenewalCommandPayloadSchema, SourceManagedMemberUpdateCommandPayloadSchema, SpokeHubApiError, type SpokeHubApiErrorBody, SpokeHubClientError, type SpokeHubErrorKind, type SpokeHubHttpErrorContext, type SpokeHubResult, TimestampSchema, type TriggerOrganizationMemberSyncInput, TriggerOrganizationMemberSyncSchema, type UnauthorizedError, UnauthorizedErrorSchema, type UpdateGreengrassAgentInput, UpdateGreengrassAgentSchema, type UpdateGuestInput, UpdateGuestSchema, type UpdateMemberInput, UpdateMemberSchema, type UpdateMemberStatusCreditsInput, UpdateMemberStatusCreditsSchema, type UpdateOfferInput, UpdateOfferSchema, type UpdateOrganizationInput, type UpdateOrganizationPointTypeInput, UpdateOrganizationPointTypeSchema, type UpdateOrganizationProductWebhookInput, UpdateOrganizationProductWebhookSchema, UpdateOrganizationSchema, type UpdateServiceClientInput, UpdateServiceClientSchema, type UpsertMemberPointBalanceInput, UpsertMemberPointBalanceSchema, type UpsertOrganizationMemberSourceCsvMappingInput, UpsertOrganizationMemberSourceCsvMappingSchema, type UpsertOrganizationMemberSourceInput, UpsertOrganizationMemberSourceSchema, type UpsertOrganizationMemberSourceWebhookInput, UpsertOrganizationMemberSourceWebhookSchema, type UpsertOrganizationPointProviderInput, UpsertOrganizationPointProviderSchema, type UpsertOrganizationProductWebhookInput, UpsertOrganizationProductWebhookSchema, type UpsertOrganizationVoucherProviderInput, UpsertOrganizationVoucherProviderSchema, adminRoles, ensureActiveMembershipOutcomes, guestStatuses, 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, voucherCommandRecoveryDelayMs };