@spoketech/hub-client 0.1.29 → 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<{
@@ -149,6 +646,42 @@ declare const OrganizationVoucherCommandSchema: Schema.Struct<{
149
646
  readonly updatedAt: Schema.String;
150
647
  readonly deletedAt: Schema.Union<readonly [Schema.String, Schema.Null]>;
151
648
  }>;
649
+ declare const PaginatedOrganizationVoucherCommandsSchema: Schema.Struct<{
650
+ readonly items: Schema.$Array<Schema.Struct<{
651
+ readonly id: Schema.String;
652
+ readonly organizationId: Schema.String;
653
+ readonly organizationVoucherProviderId: Schema.String;
654
+ readonly serviceClientId: Schema.Union<readonly [Schema.String, Schema.Null]>;
655
+ readonly kind: Schema.Literals<readonly ["issue_voucher", "lookup_voucher"]>;
656
+ readonly status: Schema.Literals<readonly ["requested", "accepted", "completed", "failed"]>;
657
+ readonly payload: Schema.$Record<Schema.String, Schema.Unknown>;
658
+ readonly result: Schema.Union<readonly [Schema.Union<readonly [Schema.Struct<{
659
+ readonly externalMemberId: Schema.Union<readonly [Schema.String, Schema.Null]>;
660
+ readonly memberCode: Schema.Union<readonly [Schema.String, Schema.Null]>;
661
+ readonly externalRewardId: Schema.Union<readonly [Schema.String, Schema.Null]>;
662
+ readonly externalGuid: Schema.Union<readonly [Schema.String, Schema.Null]>;
663
+ readonly rawRecord: Schema.optional<Schema.Unknown>;
664
+ }>, Schema.Struct<{
665
+ readonly vouchers: Schema.$Array<Schema.$Record<Schema.String, Schema.Unknown>>;
666
+ }>]>, Schema.Null]>;
667
+ readonly errorMessage: Schema.Union<readonly [Schema.String, Schema.Null]>;
668
+ readonly requestedAt: Schema.String;
669
+ readonly acceptedAt: Schema.Union<readonly [Schema.String, Schema.Null]>;
670
+ readonly completedAt: Schema.Union<readonly [Schema.String, Schema.Null]>;
671
+ readonly createdAt: Schema.String;
672
+ readonly updatedAt: Schema.String;
673
+ readonly deletedAt: Schema.Union<readonly [Schema.String, Schema.Null]>;
674
+ }>>;
675
+ readonly total: Schema.Number;
676
+ readonly page: Schema.Number;
677
+ readonly pageSize: Schema.Number;
678
+ readonly totalPages: Schema.Number;
679
+ }>;
680
+ declare const RetryVoucherCommandSchema: Schema.Struct<{
681
+ readonly confirmedDuplicateRisk: Schema.Literal<true>;
682
+ }>;
683
+ declare const voucherCommandRecoveryDelayMs: number;
684
+ declare function isStaleAcceptedVoucherCommand(command: Pick<OrganizationVoucherCommand, "status" | "acceptedAt" | "requestedAt" | "completedAt">, now?: number): boolean;
152
685
  declare const UpsertOrganizationVoucherProviderSchema: Schema.Struct<{
153
686
  readonly provider: Schema.Literals<readonly ["senpos"]>;
154
687
  readonly transport: Schema.Literals<readonly ["onsite_client"]>;
@@ -2399,6 +2932,26 @@ declare const BootstrapOrganizationMemberSourceAgentSchema: Schema.Struct<{
2399
2932
  readonly pollingIntervalSeconds: Schema.optional<Schema.Number>;
2400
2933
  readonly metadata: Schema.optional<Schema.$Record<Schema.String, Schema.Unknown>>;
2401
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>;
2402
2955
  declare const BootstrapOrganizationMemberSourceAgentResponseSchema: Schema.Struct<{
2403
2956
  readonly agent: Schema.Struct<{
2404
2957
  readonly id: Schema.String;
@@ -3010,6 +3563,7 @@ declare const SourceManagedMemberLookupCommandPayloadSchema: Schema.Struct<{
3010
3563
  readonly refreshStoredMember: Schema.optional<Schema.Boolean>;
3011
3564
  }>;
3012
3565
  declare const SourceManagedMemberRenewalCommandPayloadSchema: Schema.Struct<{
3566
+ readonly renewalSafetyProtocol: Schema.optional<Schema.Literal<1>>;
3013
3567
  readonly memberId: Schema.String;
3014
3568
  readonly externalSystemMemberId: Schema.String;
3015
3569
  readonly memberNumber: Schema.optional<Schema.Union<readonly [Schema.String, Schema.Null]>>;
@@ -4251,6 +4805,7 @@ declare const OnsiteAgentMemberRenewalCommandSchema: Schema.Struct<{
4251
4805
  readonly connectorType: Schema.Literals<readonly ["max_gaming", "odyssey_gaming", "ebet_arc", "custom"]>;
4252
4806
  readonly requestedAt: Schema.String;
4253
4807
  readonly payload: Schema.Struct<{
4808
+ readonly renewalSafetyProtocol: Schema.optional<Schema.Literal<1>>;
4254
4809
  readonly memberId: Schema.String;
4255
4810
  readonly externalSystemMemberId: Schema.String;
4256
4811
  readonly memberNumber: Schema.optional<Schema.Union<readonly [Schema.String, Schema.Null]>>;
@@ -4856,6 +5411,8 @@ declare const OnsiteAgentCompleteMemberUpdateSchema: Schema.Struct<{
4856
5411
  readonly errorMessage: Schema.optional<Schema.Union<readonly [Schema.String, Schema.Null]>>;
4857
5412
  }>;
4858
5413
  declare const OnsiteAgentCompleteMemberRenewalSchema: Schema.Struct<{
5414
+ readonly executionToken: Schema.optional<Schema.String>;
5415
+ readonly upstreamStatus: Schema.optional<Schema.Number>;
4859
5416
  readonly record: Schema.optional<Schema.Struct<{
4860
5417
  readonly lineNumber: Schema.Union<readonly [Schema.Number, Schema.Null]>;
4861
5418
  readonly previousMemberNumber: Schema.Union<readonly [Schema.String, Schema.Null]>;
@@ -5080,7 +5637,352 @@ declare const MailchimpSettingsSchema: Schema.Struct<{
5080
5637
  }>;
5081
5638
  type MailchimpSettingsResponse = Schema.Schema.Type<typeof MailchimpSettingsSchema>;
5082
5639
  type MailchimpSettingsInput = Schema.Schema.Type<typeof MailchimpSettingsInputSchema>;
5083
- declare const HubApi: HttpApi.HttpApi<"hub", HttpApiGroup.HttpApiGroup<"auth", HttpApiEndpoint.HttpApiEndpoint<"getAdminSession", "GET", "/v1/admin/session", never, never, never, never, 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<{
5674
+ readonly code: Schema.Literal<"unauthorized">;
5675
+ readonly message: Schema.String;
5676
+ }> | Schema.Struct<{
5677
+ readonly code: Schema.Literal<"forbidden">;
5678
+ readonly message: Schema.String;
5679
+ }> | Schema.Struct<{
5680
+ readonly code: Schema.Literal<"not_found">;
5681
+ readonly message: Schema.String;
5682
+ }> | Schema.Struct<{
5683
+ readonly code: Schema.Literal<"conflict">;
5684
+ readonly message: Schema.String;
5685
+ }> | Schema.Struct<{
5686
+ readonly code: Schema.Literal<"bad_request">;
5687
+ readonly message: Schema.String;
5688
+ }> | Schema.Struct<{
5689
+ readonly code: Schema.Literal<"internal_error">;
5690
+ readonly message: Schema.String;
5691
+ }>>, never, never> | HttpApiEndpoint.HttpApiEndpoint<"getOffer", "GET", "/v1/organizations/:organizationId/offers/:offerId", Schema.toCodecStringTree<Schema.Struct<{
5692
+ readonly organizationId: Schema.String;
5693
+ readonly offerId: Schema.String;
5694
+ }>>, never, never, never, Schema.toCodecJson<Schema.Struct<{
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<{
5084
5986
  readonly principalId: Schema.String;
5085
5987
  readonly email: Schema.String;
5086
5988
  readonly displayName: Schema.String;
@@ -7621,15 +8523,101 @@ declare const HubApi: HttpApi.HttpApi<"hub", HttpApiGroup.HttpApiGroup<"auth", H
7621
8523
  readonly memberId: Schema.String;
7622
8524
  readonly organizationId: Schema.String;
7623
8525
  readonly items: Schema.$Array<Schema.Struct<{
7624
- readonly memberId: Schema.String;
8526
+ readonly memberId: Schema.String;
8527
+ readonly organizationId: Schema.String;
8528
+ readonly pointTypeId: Schema.String;
8529
+ readonly code: Schema.String;
8530
+ readonly name: Schema.String;
8531
+ readonly description: Schema.Union<readonly [Schema.String, Schema.Null]>;
8532
+ readonly balance: Schema.Number;
8533
+ readonly updatedAt: Schema.String;
8534
+ }>>;
8535
+ }>>, Schema.toCodecJson<Schema.Struct<{
8536
+ readonly code: Schema.Literal<"unauthorized">;
8537
+ readonly message: Schema.String;
8538
+ }> | Schema.Struct<{
8539
+ readonly code: Schema.Literal<"forbidden">;
8540
+ readonly message: Schema.String;
8541
+ }> | Schema.Struct<{
8542
+ readonly code: Schema.Literal<"not_found">;
8543
+ readonly message: Schema.String;
8544
+ }> | Schema.Struct<{
8545
+ readonly code: Schema.Literal<"conflict">;
8546
+ readonly message: Schema.String;
8547
+ }> | Schema.Struct<{
8548
+ readonly code: Schema.Literal<"bad_request">;
8549
+ readonly message: Schema.String;
8550
+ }> | Schema.Struct<{
8551
+ readonly code: Schema.Literal<"internal_error">;
8552
+ readonly message: Schema.String;
8553
+ }>>, never, never> | HttpApiEndpoint.HttpApiEndpoint<"upsertOrganizationMemberPointBalance", "PUT", "/v1/organizations/:organizationId/members/:memberId/points/:pointTypeId", Schema.toCodecStringTree<Schema.Struct<{
8554
+ readonly organizationId: Schema.String;
8555
+ readonly memberId: Schema.String;
8556
+ readonly pointTypeId: Schema.String;
8557
+ }>>, never, Schema.toCodecJson<Schema.Struct<{
8558
+ readonly balance: Schema.Number;
8559
+ }>>, never, Schema.toCodecJson<Schema.Struct<{
8560
+ readonly memberId: Schema.String;
8561
+ readonly organizationId: Schema.String;
8562
+ readonly pointTypeId: Schema.String;
8563
+ readonly code: Schema.String;
8564
+ readonly name: Schema.String;
8565
+ readonly description: Schema.Union<readonly [Schema.String, Schema.Null]>;
8566
+ readonly balance: Schema.Number;
8567
+ readonly updatedAt: Schema.String;
8568
+ }>>, Schema.toCodecJson<Schema.Struct<{
8569
+ readonly code: Schema.Literal<"unauthorized">;
8570
+ readonly message: Schema.String;
8571
+ }> | Schema.Struct<{
8572
+ readonly code: Schema.Literal<"forbidden">;
8573
+ readonly message: Schema.String;
8574
+ }> | Schema.Struct<{
8575
+ readonly code: Schema.Literal<"not_found">;
8576
+ readonly message: Schema.String;
8577
+ }> | Schema.Struct<{
8578
+ readonly code: Schema.Literal<"conflict">;
8579
+ readonly message: Schema.String;
8580
+ }> | Schema.Struct<{
8581
+ readonly code: Schema.Literal<"bad_request">;
8582
+ readonly message: Schema.String;
8583
+ }> | Schema.Struct<{
8584
+ readonly code: Schema.Literal<"internal_error">;
8585
+ readonly message: Schema.String;
8586
+ }>>, never, never>, false> | HttpApiGroup.HttpApiGroup<"vouchers", HttpApiEndpoint.HttpApiEndpoint<"listOrganizationVoucherCommands", "GET", "/v1/organizations/:organizationId/voucher-commands", Schema.toCodecStringTree<Schema.Struct<{
8587
+ readonly organizationId: Schema.String;
8588
+ }>>, Schema.toCodecStringTree<Schema.Struct<{
8589
+ readonly page: Schema.optional<Schema.String>;
8590
+ readonly pageSize: Schema.optional<Schema.String>;
8591
+ }>>, never, never, Schema.toCodecJson<Schema.Struct<{
8592
+ readonly items: Schema.$Array<Schema.Struct<{
8593
+ readonly id: Schema.String;
7625
8594
  readonly organizationId: Schema.String;
7626
- readonly pointTypeId: Schema.String;
7627
- readonly code: Schema.String;
7628
- readonly name: Schema.String;
7629
- readonly description: Schema.Union<readonly [Schema.String, Schema.Null]>;
7630
- readonly balance: Schema.Number;
8595
+ readonly organizationVoucherProviderId: Schema.String;
8596
+ readonly serviceClientId: Schema.Union<readonly [Schema.String, Schema.Null]>;
8597
+ readonly kind: Schema.Literals<readonly ["issue_voucher", "lookup_voucher"]>;
8598
+ readonly status: Schema.Literals<readonly ["requested", "accepted", "completed", "failed"]>;
8599
+ readonly payload: Schema.$Record<Schema.String, Schema.Unknown>;
8600
+ readonly result: Schema.Union<readonly [Schema.Union<readonly [Schema.Struct<{
8601
+ readonly externalMemberId: Schema.Union<readonly [Schema.String, Schema.Null]>;
8602
+ readonly memberCode: Schema.Union<readonly [Schema.String, Schema.Null]>;
8603
+ readonly externalRewardId: Schema.Union<readonly [Schema.String, Schema.Null]>;
8604
+ readonly externalGuid: Schema.Union<readonly [Schema.String, Schema.Null]>;
8605
+ readonly rawRecord: Schema.optional<Schema.Unknown>;
8606
+ }>, Schema.Struct<{
8607
+ readonly vouchers: Schema.$Array<Schema.$Record<Schema.String, Schema.Unknown>>;
8608
+ }>]>, Schema.Null]>;
8609
+ readonly errorMessage: Schema.Union<readonly [Schema.String, Schema.Null]>;
8610
+ readonly requestedAt: Schema.String;
8611
+ readonly acceptedAt: Schema.Union<readonly [Schema.String, Schema.Null]>;
8612
+ readonly completedAt: Schema.Union<readonly [Schema.String, Schema.Null]>;
8613
+ readonly createdAt: Schema.String;
7631
8614
  readonly updatedAt: Schema.String;
8615
+ readonly deletedAt: Schema.Union<readonly [Schema.String, Schema.Null]>;
7632
8616
  }>>;
8617
+ readonly total: Schema.Number;
8618
+ readonly page: Schema.Number;
8619
+ readonly pageSize: Schema.Number;
8620
+ readonly totalPages: Schema.Number;
7633
8621
  }>>, Schema.toCodecJson<Schema.Struct<{
7634
8622
  readonly code: Schema.Literal<"unauthorized">;
7635
8623
  readonly message: Schema.String;
@@ -7648,21 +8636,35 @@ declare const HubApi: HttpApi.HttpApi<"hub", HttpApiGroup.HttpApiGroup<"auth", H
7648
8636
  }> | Schema.Struct<{
7649
8637
  readonly code: Schema.Literal<"internal_error">;
7650
8638
  readonly message: Schema.String;
7651
- }>>, never, never> | HttpApiEndpoint.HttpApiEndpoint<"upsertOrganizationMemberPointBalance", "PUT", "/v1/organizations/:organizationId/members/:memberId/points/:pointTypeId", Schema.toCodecStringTree<Schema.Struct<{
8639
+ }>>, never, never> | HttpApiEndpoint.HttpApiEndpoint<"retryVoucherCommand", "POST", "/v1/organizations/:organizationId/voucher-commands/:commandId/retry", Schema.toCodecStringTree<Schema.Struct<{
7652
8640
  readonly organizationId: Schema.String;
7653
- readonly memberId: Schema.String;
7654
- readonly pointTypeId: Schema.String;
8641
+ readonly commandId: Schema.String;
7655
8642
  }>>, never, Schema.toCodecJson<Schema.Struct<{
7656
- readonly balance: Schema.Number;
8643
+ readonly confirmedDuplicateRisk: Schema.Literal<true>;
7657
8644
  }>>, never, Schema.toCodecJson<Schema.Struct<{
7658
- readonly memberId: Schema.String;
8645
+ readonly id: Schema.String;
7659
8646
  readonly organizationId: Schema.String;
7660
- readonly pointTypeId: Schema.String;
7661
- readonly code: Schema.String;
7662
- readonly name: Schema.String;
7663
- readonly description: Schema.Union<readonly [Schema.String, Schema.Null]>;
7664
- readonly balance: Schema.Number;
8647
+ readonly organizationVoucherProviderId: Schema.String;
8648
+ readonly serviceClientId: Schema.Union<readonly [Schema.String, Schema.Null]>;
8649
+ readonly kind: Schema.Literals<readonly ["issue_voucher", "lookup_voucher"]>;
8650
+ readonly status: Schema.Literals<readonly ["requested", "accepted", "completed", "failed"]>;
8651
+ readonly payload: Schema.$Record<Schema.String, Schema.Unknown>;
8652
+ readonly result: Schema.Union<readonly [Schema.Union<readonly [Schema.Struct<{
8653
+ readonly externalMemberId: Schema.Union<readonly [Schema.String, Schema.Null]>;
8654
+ readonly memberCode: Schema.Union<readonly [Schema.String, Schema.Null]>;
8655
+ readonly externalRewardId: Schema.Union<readonly [Schema.String, Schema.Null]>;
8656
+ readonly externalGuid: Schema.Union<readonly [Schema.String, Schema.Null]>;
8657
+ readonly rawRecord: Schema.optional<Schema.Unknown>;
8658
+ }>, Schema.Struct<{
8659
+ readonly vouchers: Schema.$Array<Schema.$Record<Schema.String, Schema.Unknown>>;
8660
+ }>]>, Schema.Null]>;
8661
+ readonly errorMessage: Schema.Union<readonly [Schema.String, Schema.Null]>;
8662
+ readonly requestedAt: Schema.String;
8663
+ readonly acceptedAt: Schema.Union<readonly [Schema.String, Schema.Null]>;
8664
+ readonly completedAt: Schema.Union<readonly [Schema.String, Schema.Null]>;
8665
+ readonly createdAt: Schema.String;
7665
8666
  readonly updatedAt: Schema.String;
8667
+ readonly deletedAt: Schema.Union<readonly [Schema.String, Schema.Null]>;
7666
8668
  }>>, Schema.toCodecJson<Schema.Struct<{
7667
8669
  readonly code: Schema.Literal<"unauthorized">;
7668
8670
  readonly message: Schema.String;
@@ -7681,7 +8683,7 @@ declare const HubApi: HttpApi.HttpApi<"hub", HttpApiGroup.HttpApiGroup<"auth", H
7681
8683
  }> | Schema.Struct<{
7682
8684
  readonly code: Schema.Literal<"internal_error">;
7683
8685
  readonly message: Schema.String;
7684
- }>>, never, never>, false> | HttpApiGroup.HttpApiGroup<"vouchers", HttpApiEndpoint.HttpApiEndpoint<"getOrganizationVoucherProvider", "GET", "/v1/organizations/:organizationId/voucher-provider", Schema.toCodecStringTree<Schema.Struct<{
8686
+ }>>, never, never> | HttpApiEndpoint.HttpApiEndpoint<"getOrganizationVoucherProvider", "GET", "/v1/organizations/:organizationId/voucher-provider", Schema.toCodecStringTree<Schema.Struct<{
7685
8687
  readonly organizationId: Schema.String;
7686
8688
  }>>, never, never, never, Schema.toCodecJson<Schema.Union<readonly [Schema.Struct<{
7687
8689
  readonly id: Schema.String;
@@ -9067,7 +10069,91 @@ declare const HubApi: HttpApi.HttpApi<"hub", HttpApiGroup.HttpApiGroup<"auth", H
9067
10069
  }> | Schema.Struct<{
9068
10070
  readonly code: Schema.Literal<"internal_error">;
9069
10071
  readonly message: Schema.String;
9070
- }>>, 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<{
9071
10157
  readonly organizationId: Schema.String;
9072
10158
  }>>, never, never, never, Schema.toCodecJson<Schema.Union<readonly [Schema.Struct<{
9073
10159
  readonly id: Schema.String;
@@ -11028,6 +12114,7 @@ declare const HubApi: HttpApi.HttpApi<"hub", HttpApiGroup.HttpApiGroup<"auth", H
11028
12114
  readonly connectorType: Schema.Literals<readonly ["max_gaming", "odyssey_gaming", "ebet_arc", "custom"]>;
11029
12115
  readonly requestedAt: Schema.String;
11030
12116
  readonly payload: Schema.Struct<{
12117
+ readonly renewalSafetyProtocol: Schema.optional<Schema.Literal<1>>;
11031
12118
  readonly memberId: Schema.String;
11032
12119
  readonly externalSystemMemberId: Schema.String;
11033
12120
  readonly memberNumber: Schema.optional<Schema.Union<readonly [Schema.String, Schema.Null]>>;
@@ -12245,9 +13332,35 @@ declare const HubApi: HttpApi.HttpApi<"hub", HttpApiGroup.HttpApiGroup<"auth", H
12245
13332
  }> | Schema.Struct<{
12246
13333
  readonly code: Schema.Literal<"internal_error">;
12247
13334
  readonly message: Schema.String;
13335
+ }>>, never, never> | HttpApiEndpoint.HttpApiEndpoint<"beginOnsiteAgentMemberRenewal", "POST", "/v1/onsite-agent/member-renewal-commands/:commandId/begin", Schema.toCodecStringTree<Schema.Struct<{
13336
+ readonly commandId: Schema.String;
13337
+ }>>, never, Schema.toCodecJson<Schema.Struct<{
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;
12248
13359
  }>>, never, never> | HttpApiEndpoint.HttpApiEndpoint<"completeOnsiteAgentMemberRenewal", "POST", "/v1/onsite-agent/member-renewal-commands/:commandId/complete", Schema.toCodecStringTree<Schema.Struct<{
12249
13360
  readonly commandId: Schema.String;
12250
13361
  }>>, never, Schema.toCodecJson<Schema.Struct<{
13362
+ readonly executionToken: Schema.optional<Schema.String>;
13363
+ readonly upstreamStatus: Schema.optional<Schema.Number>;
12251
13364
  readonly record: Schema.optional<Schema.Struct<{
12252
13365
  readonly lineNumber: Schema.Union<readonly [Schema.Number, Schema.Null]>;
12253
13366
  readonly previousMemberNumber: Schema.Union<readonly [Schema.String, Schema.Null]>;
@@ -13282,6 +14395,7 @@ type OrganizationVoucherIssueCommandResult = Schema.Schema.Type<typeof Organizat
13282
14395
  type OrganizationVoucherLookupCommandResult = Schema.Schema.Type<typeof OrganizationVoucherLookupCommandResultSchema>;
13283
14396
  type OrganizationVoucherCommandResult = Schema.Schema.Type<typeof OrganizationVoucherCommandResultSchema>;
13284
14397
  type OrganizationVoucherCommand = Schema.Schema.Type<typeof OrganizationVoucherCommandSchema>;
14398
+ type PaginatedOrganizationVoucherCommands = Schema.Schema.Type<typeof PaginatedOrganizationVoucherCommandsSchema>;
13285
14399
  type UpsertOrganizationVoucherProviderInput = Schema.Schema.Type<typeof UpsertOrganizationVoucherProviderSchema>;
13286
14400
  type RequestVoucherIssueInput = Schema.Schema.Type<typeof RequestVoucherIssueSchema>;
13287
14401
  type RequestVoucherLookupInput = Schema.Schema.Type<typeof RequestVoucherLookupSchema>;
@@ -13627,48 +14741,247 @@ declare const makePromiseOnsiteResourceClient: (options: HubApiCredentialOptions
13627
14741
  }) => Promise<SpokeHubResult<PointCallResponse>>;
13628
14742
  };
13629
14743
  };
13630
- readonly hubClient: PromiseClient<HubApiClient>;
13631
- }>;
13632
-
13633
- type PageInput = {
13634
- readonly page?: number | string;
13635
- readonly pageSize?: number | string;
13636
- };
13637
- type ListOrganizationsInput = PageInput & {
13638
- readonly name?: string;
13639
- };
13640
- type ListMembersInput = PageInput & {
13641
- readonly organizationId: string;
13642
- readonly searchField?: OrganizationMembersSearchField;
13643
- readonly searchValue?: string;
13644
- readonly name?: string;
13645
- readonly email?: string;
13646
- readonly mobilePhone?: string;
13647
- readonly memberNumber?: string;
13648
- readonly dob?: string;
13649
- readonly joinedAfter?: string;
13650
- readonly memberStatus?: OrganizationMembersStatusFilter;
13651
- readonly sortBy?: OrganizationMembersSortField;
13652
- readonly sortDirection?: SortDirection;
13653
- readonly responseMode?: MemberResponseMode;
13654
- readonly ratingGradeIds?: readonly string[] | string;
13655
- };
13656
- type GetMemberInput = {
13657
- readonly organizationId: string;
13658
- readonly memberId: string;
13659
- readonly responseMode?: MemberResponseMode;
13660
- };
13661
- type ListGuestsInput = PageInput & {
13662
- readonly organizationId: string;
13663
- readonly name?: string;
13664
- readonly email?: string;
13665
- readonly mobilePhone?: string;
13666
- };
13667
- type ListProductWebhooksInput = PageInput & {
13668
- readonly organizationProductOptionId?: string;
13669
- };
13670
- type PromiseSpokeClient = ReturnType<typeof makeSpokeClient>;
13671
- declare function makeSpokeClient(hubClient: PromiseHubApiClient): {
14744
+ readonly hubClient: PromiseClient<HubApiClient>;
14745
+ }>;
14746
+
14747
+ type PageInput = {
14748
+ readonly page?: number | string;
14749
+ readonly pageSize?: number | string;
14750
+ };
14751
+ type ListOrganizationsInput = PageInput & {
14752
+ readonly name?: string;
14753
+ };
14754
+ type ListMembersInput = PageInput & {
14755
+ readonly organizationId: string;
14756
+ readonly searchField?: OrganizationMembersSearchField;
14757
+ readonly searchValue?: string;
14758
+ readonly name?: string;
14759
+ readonly email?: string;
14760
+ readonly mobilePhone?: string;
14761
+ readonly memberNumber?: string;
14762
+ readonly dob?: string;
14763
+ readonly joinedAfter?: string;
14764
+ readonly memberStatus?: OrganizationMembersStatusFilter;
14765
+ readonly sortBy?: OrganizationMembersSortField;
14766
+ readonly sortDirection?: SortDirection;
14767
+ readonly responseMode?: MemberResponseMode;
14768
+ readonly ratingGradeIds?: readonly string[] | string;
14769
+ };
14770
+ type GetMemberInput = {
14771
+ readonly organizationId: string;
14772
+ readonly memberId: string;
14773
+ readonly responseMode?: MemberResponseMode;
14774
+ };
14775
+ type ListGuestsInput = PageInput & {
14776
+ readonly organizationId: string;
14777
+ readonly name?: string;
14778
+ readonly email?: string;
14779
+ readonly mobilePhone?: string;
14780
+ };
14781
+ type ListProductWebhooksInput = PageInput & {
14782
+ readonly organizationProductOptionId?: string;
14783
+ };
14784
+ type PromiseSpokeClient = ReturnType<typeof makeSpokeClient>;
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
+ };
13672
14985
  readonly organizations: {
13673
14986
  readonly capabilities: (input: {
13674
14987
  readonly organizationId: string;
@@ -13843,13 +15156,14 @@ declare function makeSpokeClient(hubClient: PromiseHubApiClient): {
13843
15156
  readonly members: {
13844
15157
  readonly list: (input: ListMembersInput) => Promise<SpokeHubResult<OrganizationMembersListResponse>>;
13845
15158
  readonly get: (input: GetMemberInput) => Promise<SpokeHubResult<{
13846
- readonly email: string | null;
15159
+ readonly organizationId: string;
15160
+ readonly title: string | null;
13847
15161
  readonly status: "active" | "archived" | "active-expired" | "suspended" | "expired";
13848
- readonly deletedAt: string | null;
13849
15162
  readonly id: string;
13850
15163
  readonly createdAt: string;
13851
15164
  readonly updatedAt: string;
13852
- readonly organizationId: string;
15165
+ readonly email: string | null;
15166
+ readonly deletedAt: string | null;
13853
15167
  readonly externalSystemMemberId: string | null;
13854
15168
  readonly memberNumber: string | null;
13855
15169
  readonly recordMode: "local" | "source_managed";
@@ -13875,7 +15189,6 @@ declare function makeSpokeClient(hubClient: PromiseHubApiClient): {
13875
15189
  readonly country: string | null;
13876
15190
  } | null;
13877
15191
  readonly expiresAt: string | null;
13878
- readonly title: string | null;
13879
15192
  readonly firstName: string;
13880
15193
  readonly middleName: string | null;
13881
15194
  readonly lastName: string;
@@ -13970,13 +15283,14 @@ declare function makeSpokeClient(hubClient: PromiseHubApiClient): {
13970
15283
  readonly externalSystemMemberId: string;
13971
15284
  readonly responseMode?: MemberResponseMode;
13972
15285
  }) => Promise<SpokeHubResult<{
13973
- readonly email: string | null;
15286
+ readonly organizationId: string;
15287
+ readonly title: string | null;
13974
15288
  readonly status: "active" | "archived" | "active-expired" | "suspended" | "expired";
13975
- readonly deletedAt: string | null;
13976
15289
  readonly id: string;
13977
15290
  readonly createdAt: string;
13978
15291
  readonly updatedAt: string;
13979
- readonly organizationId: string;
15292
+ readonly email: string | null;
15293
+ readonly deletedAt: string | null;
13980
15294
  readonly externalSystemMemberId: string | null;
13981
15295
  readonly memberNumber: string | null;
13982
15296
  readonly recordMode: "local" | "source_managed";
@@ -14002,7 +15316,6 @@ declare function makeSpokeClient(hubClient: PromiseHubApiClient): {
14002
15316
  readonly country: string | null;
14003
15317
  } | null;
14004
15318
  readonly expiresAt: string | null;
14005
- readonly title: string | null;
14006
15319
  readonly firstName: string;
14007
15320
  readonly middleName: string | null;
14008
15321
  readonly lastName: string;
@@ -14099,13 +15412,14 @@ declare function makeSpokeClient(hubClient: PromiseHubApiClient): {
14099
15412
  readonly requestedIds: readonly string[];
14100
15413
  readonly missingIds: readonly string[];
14101
15414
  readonly items: readonly {
14102
- readonly email: string | null;
15415
+ readonly organizationId: string;
15416
+ readonly title: string | null;
14103
15417
  readonly status: "active" | "archived" | "active-expired" | "suspended" | "expired";
14104
- readonly deletedAt: string | null;
14105
15418
  readonly id: string;
14106
15419
  readonly createdAt: string;
14107
15420
  readonly updatedAt: string;
14108
- readonly organizationId: string;
15421
+ readonly email: string | null;
15422
+ readonly deletedAt: string | null;
14109
15423
  readonly externalSystemMemberId: string | null;
14110
15424
  readonly memberNumber: string | null;
14111
15425
  readonly recordMode: "local" | "source_managed";
@@ -14131,7 +15445,6 @@ declare function makeSpokeClient(hubClient: PromiseHubApiClient): {
14131
15445
  readonly country: string | null;
14132
15446
  } | null;
14133
15447
  readonly expiresAt: string | null;
14134
- readonly title: string | null;
14135
15448
  readonly firstName: string;
14136
15449
  readonly middleName: string | null;
14137
15450
  readonly lastName: string;
@@ -14234,13 +15547,14 @@ declare function makeSpokeClient(hubClient: PromiseHubApiClient): {
14234
15547
  readonly organizationId: string;
14235
15548
  readonly payload: CreateMemberInput;
14236
15549
  }) => Promise<SpokeHubResult<{
14237
- readonly email: string | null;
15550
+ readonly organizationId: string;
15551
+ readonly title: string | null;
14238
15552
  readonly status: "active" | "archived" | "active-expired" | "suspended" | "expired";
14239
- readonly deletedAt: string | null;
14240
15553
  readonly id: string;
14241
15554
  readonly createdAt: string;
14242
15555
  readonly updatedAt: string;
14243
- readonly organizationId: string;
15556
+ readonly email: string | null;
15557
+ readonly deletedAt: string | null;
14244
15558
  readonly externalSystemMemberId: string | null;
14245
15559
  readonly memberNumber: string | null;
14246
15560
  readonly recordMode: "local" | "source_managed";
@@ -14266,7 +15580,6 @@ declare function makeSpokeClient(hubClient: PromiseHubApiClient): {
14266
15580
  readonly country: string | null;
14267
15581
  } | null;
14268
15582
  readonly expiresAt: string | null;
14269
- readonly title: string | null;
14270
15583
  readonly firstName: string;
14271
15584
  readonly middleName: string | null;
14272
15585
  readonly lastName: string;
@@ -14313,13 +15626,14 @@ declare function makeSpokeClient(hubClient: PromiseHubApiClient): {
14313
15626
  readonly memberId: string;
14314
15627
  readonly payload: UpdateMemberInput;
14315
15628
  }) => Promise<SpokeHubResult<{
14316
- readonly email: string | null;
15629
+ readonly organizationId: string;
15630
+ readonly title: string | null;
14317
15631
  readonly status: "active" | "archived" | "active-expired" | "suspended" | "expired";
14318
- readonly deletedAt: string | null;
14319
15632
  readonly id: string;
14320
15633
  readonly createdAt: string;
14321
15634
  readonly updatedAt: string;
14322
- readonly organizationId: string;
15635
+ readonly email: string | null;
15636
+ readonly deletedAt: string | null;
14323
15637
  readonly externalSystemMemberId: string | null;
14324
15638
  readonly memberNumber: string | null;
14325
15639
  readonly recordMode: "local" | "source_managed";
@@ -14345,7 +15659,6 @@ declare function makeSpokeClient(hubClient: PromiseHubApiClient): {
14345
15659
  readonly country: string | null;
14346
15660
  } | null;
14347
15661
  readonly expiresAt: string | null;
14348
- readonly title: string | null;
14349
15662
  readonly firstName: string;
14350
15663
  readonly middleName: string | null;
14351
15664
  readonly lastName: string;
@@ -14477,13 +15790,13 @@ declare function makeSpokeClient(hubClient: PromiseHubApiClient): {
14477
15790
  readonly firstName: string;
14478
15791
  readonly lastName: string;
14479
15792
  readonly membershipTypeId: string;
15793
+ readonly title?: string | null | undefined;
14480
15794
  readonly email?: string | null | undefined;
14481
15795
  readonly gamingPermissions?: {
14482
15796
  readonly isGamingEnabled?: boolean | undefined;
14483
15797
  readonly isVenuePromotionsEnabled?: boolean | undefined;
14484
15798
  readonly isGamingPromotionsEnabled?: boolean | undefined;
14485
15799
  } | undefined;
14486
- readonly title?: string | null | undefined;
14487
15800
  readonly middleName?: string | null | undefined;
14488
15801
  readonly gender?: string | null | undefined;
14489
15802
  readonly mobilePhone?: string | null | undefined;
@@ -14850,6 +16163,7 @@ declare function makeSpokeClient(hubClient: PromiseHubApiClient): {
14850
16163
  readonly organizationMemberSourceId: string;
14851
16164
  readonly version: number;
14852
16165
  readonly mapping: {
16166
+ readonly title?: string | null | undefined;
14853
16167
  readonly email?: string | null | undefined;
14854
16168
  readonly isGamingEnabled?: string | null | undefined;
14855
16169
  readonly isVenuePromotionsEnabled?: string | null | undefined;
@@ -14862,7 +16176,6 @@ declare function makeSpokeClient(hubClient: PromiseHubApiClient): {
14862
16176
  readonly sourceUpdatedAt?: string | null | undefined;
14863
16177
  readonly dob?: string | null | undefined;
14864
16178
  readonly expiresAt?: string | null | undefined;
14865
- readonly title?: string | null | undefined;
14866
16179
  readonly firstName?: string | null | undefined;
14867
16180
  readonly middleName?: string | null | undefined;
14868
16181
  readonly lastName?: string | null | undefined;
@@ -14918,6 +16231,7 @@ declare function makeSpokeClient(hubClient: PromiseHubApiClient): {
14918
16231
  readonly organizationMemberSourceId: string;
14919
16232
  readonly version: number;
14920
16233
  readonly mapping: {
16234
+ readonly title?: string | null | undefined;
14921
16235
  readonly email?: string | null | undefined;
14922
16236
  readonly isGamingEnabled?: string | null | undefined;
14923
16237
  readonly isVenuePromotionsEnabled?: string | null | undefined;
@@ -14930,7 +16244,6 @@ declare function makeSpokeClient(hubClient: PromiseHubApiClient): {
14930
16244
  readonly sourceUpdatedAt?: string | null | undefined;
14931
16245
  readonly dob?: string | null | undefined;
14932
16246
  readonly expiresAt?: string | null | undefined;
14933
- readonly title?: string | null | undefined;
14934
16247
  readonly firstName?: string | null | undefined;
14935
16248
  readonly middleName?: string | null | undefined;
14936
16249
  readonly lastName?: string | null | undefined;
@@ -14985,6 +16298,7 @@ declare function makeSpokeClient(hubClient: PromiseHubApiClient): {
14985
16298
  readonly organizationMemberSourceId: string;
14986
16299
  readonly version: number;
14987
16300
  readonly mapping: {
16301
+ readonly title?: string | null | undefined;
14988
16302
  readonly email?: string | null | undefined;
14989
16303
  readonly isGamingEnabled?: string | null | undefined;
14990
16304
  readonly isVenuePromotionsEnabled?: string | null | undefined;
@@ -14997,7 +16311,6 @@ declare function makeSpokeClient(hubClient: PromiseHubApiClient): {
14997
16311
  readonly sourceUpdatedAt?: string | null | undefined;
14998
16312
  readonly dob?: string | null | undefined;
14999
16313
  readonly expiresAt?: string | null | undefined;
15000
- readonly title?: string | null | undefined;
15001
16314
  readonly firstName?: string | null | undefined;
15002
16315
  readonly middleName?: string | null | undefined;
15003
16316
  readonly lastName?: string | null | undefined;
@@ -15119,6 +16432,7 @@ declare function makeSpokeClient(hubClient: PromiseHubApiClient): {
15119
16432
  readonly organizationMemberSourceId: string;
15120
16433
  readonly version: number;
15121
16434
  readonly mapping: {
16435
+ readonly title?: string | null | undefined;
15122
16436
  readonly email?: string | null | undefined;
15123
16437
  readonly isGamingEnabled?: string | null | undefined;
15124
16438
  readonly isVenuePromotionsEnabled?: string | null | undefined;
@@ -15131,7 +16445,6 @@ declare function makeSpokeClient(hubClient: PromiseHubApiClient): {
15131
16445
  readonly sourceUpdatedAt?: string | null | undefined;
15132
16446
  readonly dob?: string | null | undefined;
15133
16447
  readonly expiresAt?: string | null | undefined;
15134
- readonly title?: string | null | undefined;
15135
16448
  readonly firstName?: string | null | undefined;
15136
16449
  readonly middleName?: string | null | undefined;
15137
16450
  readonly lastName?: string | null | undefined;
@@ -15468,17 +16781,17 @@ declare function makeSpokeClient(hubClient: PromiseHubApiClient): {
15468
16781
  readonly getProvider: (input: {
15469
16782
  readonly organizationId: string;
15470
16783
  }) => Promise<SpokeHubResult<{
16784
+ readonly organizationId: string;
16785
+ readonly provider: "ebet_pos" | "odyssey_nexus";
15471
16786
  readonly status: "active" | "disabled";
15472
- readonly deletedAt: string | null;
15473
16787
  readonly id: string;
15474
16788
  readonly createdAt: string;
15475
16789
  readonly updatedAt: string;
15476
- readonly provider: "ebet_pos" | "odyssey_nexus";
16790
+ readonly deletedAt: string | null;
15477
16791
  readonly transport: "onsite_client";
15478
16792
  readonly secretNames: readonly {
15479
16793
  readonly name: string;
15480
16794
  }[];
15481
- readonly organizationId: string;
15482
16795
  readonly config: {
15483
16796
  readonly [x: string]: unknown;
15484
16797
  };
@@ -15502,17 +16815,17 @@ declare function makeSpokeClient(hubClient: PromiseHubApiClient): {
15502
16815
  readonly organizationId: string;
15503
16816
  readonly payload: UpsertOrganizationPointProviderInput;
15504
16817
  }) => Promise<SpokeHubResult<{
16818
+ readonly organizationId: string;
16819
+ readonly provider: "ebet_pos" | "odyssey_nexus";
15505
16820
  readonly status: "active" | "disabled";
15506
- readonly deletedAt: string | null;
15507
16821
  readonly id: string;
15508
16822
  readonly createdAt: string;
15509
16823
  readonly updatedAt: string;
15510
- readonly provider: "ebet_pos" | "odyssey_nexus";
16824
+ readonly deletedAt: string | null;
15511
16825
  readonly transport: "onsite_client";
15512
16826
  readonly secretNames: readonly {
15513
16827
  readonly name: string;
15514
16828
  }[];
15515
- readonly organizationId: string;
15516
16829
  readonly config: {
15517
16830
  readonly [x: string]: unknown;
15518
16831
  };
@@ -15536,14 +16849,17 @@ declare function makeSpokeClient(hubClient: PromiseHubApiClient): {
15536
16849
  readonly organizationId: string;
15537
16850
  readonly payload: RequestPointLookupInput;
15538
16851
  }) => Promise<SpokeHubResult<{
16852
+ readonly organizationId: string;
16853
+ readonly kind: "lookup_points" | "add_points" | "redeem_points" | "refund_points";
15539
16854
  readonly status: "requested" | "accepted" | "completed" | "failed";
15540
- readonly deletedAt: string | null;
15541
16855
  readonly id: string;
15542
16856
  readonly createdAt: string;
15543
16857
  readonly updatedAt: string;
15544
- readonly organizationId: string;
16858
+ readonly payload: {
16859
+ readonly [x: string]: unknown;
16860
+ };
16861
+ readonly deletedAt: string | null;
15545
16862
  readonly serviceClientId: string | null;
15546
- readonly kind: "lookup_points" | "add_points" | "redeem_points" | "refund_points";
15547
16863
  readonly result: {
15548
16864
  readonly errorMessage?: string | null | undefined;
15549
16865
  readonly memberNumber?: string | null | undefined;
@@ -15558,9 +16874,6 @@ declare function makeSpokeClient(hubClient: PromiseHubApiClient): {
15558
16874
  } | null;
15559
16875
  readonly acceptedAt: string | null;
15560
16876
  readonly completedAt: string | null;
15561
- readonly payload: {
15562
- readonly [x: string]: unknown;
15563
- };
15564
16877
  readonly errorMessage: string | null;
15565
16878
  readonly requestedAt: string;
15566
16879
  readonly organizationPointProviderId: string;
@@ -15574,14 +16887,17 @@ declare function makeSpokeClient(hubClient: PromiseHubApiClient): {
15574
16887
  readonly idempotencyKey?: string;
15575
16888
  readonly payload: RequestPointDebitInput;
15576
16889
  }) => Promise<SpokeHubResult<{
16890
+ readonly organizationId: string;
16891
+ readonly kind: "lookup_points" | "add_points" | "redeem_points" | "refund_points";
15577
16892
  readonly status: "requested" | "accepted" | "completed" | "failed";
15578
- readonly deletedAt: string | null;
15579
16893
  readonly id: string;
15580
16894
  readonly createdAt: string;
15581
16895
  readonly updatedAt: string;
15582
- readonly organizationId: string;
16896
+ readonly payload: {
16897
+ readonly [x: string]: unknown;
16898
+ };
16899
+ readonly deletedAt: string | null;
15583
16900
  readonly serviceClientId: string | null;
15584
- readonly kind: "lookup_points" | "add_points" | "redeem_points" | "refund_points";
15585
16901
  readonly result: {
15586
16902
  readonly errorMessage?: string | null | undefined;
15587
16903
  readonly memberNumber?: string | null | undefined;
@@ -15596,9 +16912,6 @@ declare function makeSpokeClient(hubClient: PromiseHubApiClient): {
15596
16912
  } | null;
15597
16913
  readonly acceptedAt: string | null;
15598
16914
  readonly completedAt: string | null;
15599
- readonly payload: {
15600
- readonly [x: string]: unknown;
15601
- };
15602
16915
  readonly errorMessage: string | null;
15603
16916
  readonly requestedAt: string;
15604
16917
  readonly organizationPointProviderId: string;
@@ -15611,14 +16924,17 @@ declare function makeSpokeClient(hubClient: PromiseHubApiClient): {
15611
16924
  readonly organizationId: string;
15612
16925
  readonly payload: RequestPointDebitInput;
15613
16926
  }) => Promise<SpokeHubResult<{
16927
+ readonly organizationId: string;
16928
+ readonly kind: "lookup_points" | "add_points" | "redeem_points" | "refund_points";
15614
16929
  readonly status: "requested" | "accepted" | "completed" | "failed";
15615
- readonly deletedAt: string | null;
15616
16930
  readonly id: string;
15617
16931
  readonly createdAt: string;
15618
16932
  readonly updatedAt: string;
15619
- readonly organizationId: string;
16933
+ readonly payload: {
16934
+ readonly [x: string]: unknown;
16935
+ };
16936
+ readonly deletedAt: string | null;
15620
16937
  readonly serviceClientId: string | null;
15621
- readonly kind: "lookup_points" | "add_points" | "redeem_points" | "refund_points";
15622
16938
  readonly result: {
15623
16939
  readonly errorMessage?: string | null | undefined;
15624
16940
  readonly memberNumber?: string | null | undefined;
@@ -15633,9 +16949,6 @@ declare function makeSpokeClient(hubClient: PromiseHubApiClient): {
15633
16949
  } | null;
15634
16950
  readonly acceptedAt: string | null;
15635
16951
  readonly completedAt: string | null;
15636
- readonly payload: {
15637
- readonly [x: string]: unknown;
15638
- };
15639
16952
  readonly errorMessage: string | null;
15640
16953
  readonly requestedAt: string;
15641
16954
  readonly organizationPointProviderId: string;
@@ -15648,14 +16961,17 @@ declare function makeSpokeClient(hubClient: PromiseHubApiClient): {
15648
16961
  readonly organizationId: string;
15649
16962
  readonly payload: RequestPointDebitInput;
15650
16963
  }) => Promise<SpokeHubResult<{
16964
+ readonly organizationId: string;
16965
+ readonly kind: "lookup_points" | "add_points" | "redeem_points" | "refund_points";
15651
16966
  readonly status: "requested" | "accepted" | "completed" | "failed";
15652
- readonly deletedAt: string | null;
15653
16967
  readonly id: string;
15654
16968
  readonly createdAt: string;
15655
16969
  readonly updatedAt: string;
15656
- readonly organizationId: string;
16970
+ readonly payload: {
16971
+ readonly [x: string]: unknown;
16972
+ };
16973
+ readonly deletedAt: string | null;
15657
16974
  readonly serviceClientId: string | null;
15658
- readonly kind: "lookup_points" | "add_points" | "redeem_points" | "refund_points";
15659
16975
  readonly result: {
15660
16976
  readonly errorMessage?: string | null | undefined;
15661
16977
  readonly memberNumber?: string | null | undefined;
@@ -15670,9 +16986,6 @@ declare function makeSpokeClient(hubClient: PromiseHubApiClient): {
15670
16986
  } | null;
15671
16987
  readonly acceptedAt: string | null;
15672
16988
  readonly completedAt: string | null;
15673
- readonly payload: {
15674
- readonly [x: string]: unknown;
15675
- };
15676
16989
  readonly errorMessage: string | null;
15677
16990
  readonly requestedAt: string;
15678
16991
  readonly organizationPointProviderId: string;
@@ -15922,13 +17235,13 @@ declare function makeSpokeClient(hubClient: PromiseHubApiClient): {
15922
17235
  readonly firstName: string;
15923
17236
  readonly lastName: string;
15924
17237
  readonly membershipTypeId: string;
17238
+ readonly title?: string | null | undefined;
15925
17239
  readonly email?: string | null | undefined;
15926
17240
  readonly gamingPermissions?: {
15927
17241
  readonly isGamingEnabled?: boolean | undefined;
15928
17242
  readonly isVenuePromotionsEnabled?: boolean | undefined;
15929
17243
  readonly isGamingPromotionsEnabled?: boolean | undefined;
15930
17244
  } | undefined;
15931
- readonly title?: string | null | undefined;
15932
17245
  readonly middleName?: string | null | undefined;
15933
17246
  readonly gender?: string | null | undefined;
15934
17247
  readonly mobilePhone?: string | null | undefined;
@@ -15966,6 +17279,7 @@ declare function makeSpokeClient(hubClient: PromiseHubApiClient): {
15966
17279
  readonly payload: {
15967
17280
  readonly firstName: string;
15968
17281
  readonly lastName: string;
17282
+ readonly title?: string | null | undefined;
15969
17283
  readonly email?: string | null | undefined;
15970
17284
  readonly externalSystemMemberId?: string | null | undefined;
15971
17285
  readonly memberNumber?: string | null | undefined;
@@ -15977,7 +17291,6 @@ declare function makeSpokeClient(hubClient: PromiseHubApiClient): {
15977
17291
  readonly isGamingPromotionsEnabled?: boolean | undefined;
15978
17292
  } | undefined;
15979
17293
  readonly expiresAt?: string | null | undefined;
15980
- readonly title?: string | null | undefined;
15981
17294
  readonly middleName?: string | null | undefined;
15982
17295
  readonly gender?: string | null | undefined;
15983
17296
  readonly mobilePhone?: string | null | undefined;
@@ -16022,6 +17335,7 @@ declare function makeSpokeClient(hubClient: PromiseHubApiClient): {
16022
17335
  } | {
16023
17336
  readonly payload: {
16024
17337
  readonly expectedUpdatedAt: string;
17338
+ readonly title?: string | null | undefined;
16025
17339
  readonly email?: string | null | undefined;
16026
17340
  readonly externalSystemMemberId?: string | null | undefined;
16027
17341
  readonly memberNumber?: string | null | undefined;
@@ -16033,7 +17347,6 @@ declare function makeSpokeClient(hubClient: PromiseHubApiClient): {
16033
17347
  readonly isGamingPromotionsEnabled?: boolean | undefined;
16034
17348
  } | undefined;
16035
17349
  readonly expiresAt?: string | null | undefined;
16036
- readonly title?: string | null | undefined;
16037
17350
  readonly firstName?: string | undefined;
16038
17351
  readonly middleName?: string | null | undefined;
16039
17352
  readonly lastName?: string | undefined;
@@ -16080,8 +17393,8 @@ declare function makeSpokeClient(hubClient: PromiseHubApiClient): {
16080
17393
  readonly waitMs?: number | undefined;
16081
17394
  } | {
16082
17395
  readonly payload: {
16083
- readonly expiresAt?: string | null | undefined;
16084
17396
  readonly expectedUpdatedAt?: string | null | undefined;
17397
+ readonly expiresAt?: string | null | undefined;
16085
17398
  };
16086
17399
  readonly memberId: string;
16087
17400
  readonly operation: "member.renew";
@@ -16096,14 +17409,14 @@ declare function makeSpokeClient(hubClient: PromiseHubApiClient): {
16096
17409
  readonly waitMs?: number | undefined;
16097
17410
  } | {
16098
17411
  readonly payload: {
16099
- readonly memberId?: string | undefined;
16100
17412
  readonly quantity?: number | undefined;
17413
+ readonly rewardId?: string | null | undefined;
17414
+ readonly memberId?: string | undefined;
16101
17415
  readonly metadata?: {
16102
17416
  readonly [x: string]: unknown;
16103
17417
  } | undefined;
16104
17418
  readonly externalSystemMemberId?: string | null | undefined;
16105
17419
  readonly memberNumber?: string | null | undefined;
16106
- readonly rewardId?: string | null | undefined;
16107
17420
  };
16108
17421
  readonly operation: "voucher.issue";
16109
17422
  readonly waitMs?: number | undefined;
@@ -16215,13 +17528,13 @@ declare function makeSpokeClient(hubClient: PromiseHubApiClient): {
16215
17528
  readonly firstName: string;
16216
17529
  readonly lastName: string;
16217
17530
  readonly membershipTypeId: string;
17531
+ readonly title?: string | null | undefined;
16218
17532
  readonly email?: string | null | undefined;
16219
17533
  readonly gamingPermissions?: {
16220
17534
  readonly isGamingEnabled?: boolean | undefined;
16221
17535
  readonly isVenuePromotionsEnabled?: boolean | undefined;
16222
17536
  readonly isGamingPromotionsEnabled?: boolean | undefined;
16223
17537
  } | undefined;
16224
- readonly title?: string | null | undefined;
16225
17538
  readonly middleName?: string | null | undefined;
16226
17539
  readonly gender?: string | null | undefined;
16227
17540
  readonly mobilePhone?: string | null | undefined;
@@ -16308,13 +17621,13 @@ declare function makeSpokeClient(hubClient: PromiseHubApiClient): {
16308
17621
  readonly firstName: string;
16309
17622
  readonly lastName: string;
16310
17623
  readonly membershipTypeId: string;
17624
+ readonly title?: string | null | undefined;
16311
17625
  readonly email?: string | null | undefined;
16312
17626
  readonly gamingPermissions?: {
16313
17627
  readonly isGamingEnabled?: boolean | undefined;
16314
17628
  readonly isVenuePromotionsEnabled?: boolean | undefined;
16315
17629
  readonly isGamingPromotionsEnabled?: boolean | undefined;
16316
17630
  } | undefined;
16317
- readonly title?: string | null | undefined;
16318
17631
  readonly middleName?: string | null | undefined;
16319
17632
  readonly gender?: string | null | undefined;
16320
17633
  readonly mobilePhone?: string | null | undefined;
@@ -16428,13 +17741,13 @@ declare function makeSpokeClient(hubClient: PromiseHubApiClient): {
16428
17741
  readonly firstName: string;
16429
17742
  readonly lastName: string;
16430
17743
  readonly membershipTypeId: string;
17744
+ readonly title?: string | null | undefined;
16431
17745
  readonly email?: string | null | undefined;
16432
17746
  readonly gamingPermissions?: {
16433
17747
  readonly isGamingEnabled?: boolean | undefined;
16434
17748
  readonly isVenuePromotionsEnabled?: boolean | undefined;
16435
17749
  readonly isGamingPromotionsEnabled?: boolean | undefined;
16436
17750
  } | undefined;
16437
- readonly title?: string | null | undefined;
16438
17751
  readonly middleName?: string | null | undefined;
16439
17752
  readonly gender?: string | null | undefined;
16440
17753
  readonly mobilePhone?: string | null | undefined;
@@ -16548,13 +17861,13 @@ declare function makeSpokeClient(hubClient: PromiseHubApiClient): {
16548
17861
  readonly firstName: string;
16549
17862
  readonly lastName: string;
16550
17863
  readonly membershipTypeId: string;
17864
+ readonly title?: string | null | undefined;
16551
17865
  readonly email?: string | null | undefined;
16552
17866
  readonly gamingPermissions?: {
16553
17867
  readonly isGamingEnabled?: boolean | undefined;
16554
17868
  readonly isVenuePromotionsEnabled?: boolean | undefined;
16555
17869
  readonly isGamingPromotionsEnabled?: boolean | undefined;
16556
17870
  } | undefined;
16557
- readonly title?: string | null | undefined;
16558
17871
  readonly middleName?: string | null | undefined;
16559
17872
  readonly gender?: string | null | undefined;
16560
17873
  readonly mobilePhone?: string | null | undefined;
@@ -16669,13 +17982,13 @@ declare function makeSpokeClient(hubClient: PromiseHubApiClient): {
16669
17982
  readonly firstName: string;
16670
17983
  readonly lastName: string;
16671
17984
  readonly membershipTypeId: string;
17985
+ readonly title?: string | null | undefined;
16672
17986
  readonly email?: string | null | undefined;
16673
17987
  readonly gamingPermissions?: {
16674
17988
  readonly isGamingEnabled?: boolean | undefined;
16675
17989
  readonly isVenuePromotionsEnabled?: boolean | undefined;
16676
17990
  readonly isGamingPromotionsEnabled?: boolean | undefined;
16677
17991
  } | undefined;
16678
- readonly title?: string | null | undefined;
16679
17992
  readonly middleName?: string | null | undefined;
16680
17993
  readonly gender?: string | null | undefined;
16681
17994
  readonly mobilePhone?: string | null | undefined;
@@ -16864,14 +18177,17 @@ declare function makeSpokeClient(hubClient: PromiseHubApiClient): {
16864
18177
  readonly settled: boolean;
16865
18178
  readonly timedOut: boolean;
16866
18179
  readonly command: {
18180
+ readonly organizationId: string;
18181
+ readonly kind: "lookup_points" | "add_points" | "redeem_points" | "refund_points";
16867
18182
  readonly status: "requested" | "accepted" | "completed" | "failed";
16868
- readonly deletedAt: string | null;
16869
18183
  readonly id: string;
16870
18184
  readonly createdAt: string;
16871
18185
  readonly updatedAt: string;
16872
- readonly organizationId: string;
18186
+ readonly payload: {
18187
+ readonly [x: string]: unknown;
18188
+ };
18189
+ readonly deletedAt: string | null;
16873
18190
  readonly serviceClientId: string | null;
16874
- readonly kind: "lookup_points" | "add_points" | "redeem_points" | "refund_points";
16875
18191
  readonly result: {
16876
18192
  readonly errorMessage?: string | null | undefined;
16877
18193
  readonly memberNumber?: string | null | undefined;
@@ -16886,9 +18202,6 @@ declare function makeSpokeClient(hubClient: PromiseHubApiClient): {
16886
18202
  } | null;
16887
18203
  readonly acceptedAt: string | null;
16888
18204
  readonly completedAt: string | null;
16889
- readonly payload: {
16890
- readonly [x: string]: unknown;
16891
- };
16892
18205
  readonly errorMessage: string | null;
16893
18206
  readonly requestedAt: string;
16894
18207
  readonly organizationPointProviderId: string;
@@ -16909,14 +18222,17 @@ declare function makeSpokeClient(hubClient: PromiseHubApiClient): {
16909
18222
  readonly settled: boolean;
16910
18223
  readonly timedOut: boolean;
16911
18224
  readonly command: {
18225
+ readonly organizationId: string;
18226
+ readonly kind: "lookup_points" | "add_points" | "redeem_points" | "refund_points";
16912
18227
  readonly status: "requested" | "accepted" | "completed" | "failed";
16913
- readonly deletedAt: string | null;
16914
18228
  readonly id: string;
16915
18229
  readonly createdAt: string;
16916
18230
  readonly updatedAt: string;
16917
- readonly organizationId: string;
18231
+ readonly payload: {
18232
+ readonly [x: string]: unknown;
18233
+ };
18234
+ readonly deletedAt: string | null;
16918
18235
  readonly serviceClientId: string | null;
16919
- readonly kind: "lookup_points" | "add_points" | "redeem_points" | "refund_points";
16920
18236
  readonly result: {
16921
18237
  readonly errorMessage?: string | null | undefined;
16922
18238
  readonly memberNumber?: string | null | undefined;
@@ -16931,9 +18247,6 @@ declare function makeSpokeClient(hubClient: PromiseHubApiClient): {
16931
18247
  } | null;
16932
18248
  readonly acceptedAt: string | null;
16933
18249
  readonly completedAt: string | null;
16934
- readonly payload: {
16935
- readonly [x: string]: unknown;
16936
- };
16937
18250
  readonly errorMessage: string | null;
16938
18251
  readonly requestedAt: string;
16939
18252
  readonly organizationPointProviderId: string;
@@ -16954,14 +18267,17 @@ declare function makeSpokeClient(hubClient: PromiseHubApiClient): {
16954
18267
  readonly settled: boolean;
16955
18268
  readonly timedOut: boolean;
16956
18269
  readonly command: {
18270
+ readonly organizationId: string;
18271
+ readonly kind: "lookup_points" | "add_points" | "redeem_points" | "refund_points";
16957
18272
  readonly status: "requested" | "accepted" | "completed" | "failed";
16958
- readonly deletedAt: string | null;
16959
18273
  readonly id: string;
16960
18274
  readonly createdAt: string;
16961
18275
  readonly updatedAt: string;
16962
- readonly organizationId: string;
18276
+ readonly payload: {
18277
+ readonly [x: string]: unknown;
18278
+ };
18279
+ readonly deletedAt: string | null;
16963
18280
  readonly serviceClientId: string | null;
16964
- readonly kind: "lookup_points" | "add_points" | "redeem_points" | "refund_points";
16965
18281
  readonly result: {
16966
18282
  readonly errorMessage?: string | null | undefined;
16967
18283
  readonly memberNumber?: string | null | undefined;
@@ -16976,9 +18292,6 @@ declare function makeSpokeClient(hubClient: PromiseHubApiClient): {
16976
18292
  } | null;
16977
18293
  readonly acceptedAt: string | null;
16978
18294
  readonly completedAt: string | null;
16979
- readonly payload: {
16980
- readonly [x: string]: unknown;
16981
- };
16982
18295
  readonly errorMessage: string | null;
16983
18296
  readonly requestedAt: string;
16984
18297
  readonly organizationPointProviderId: string;
@@ -16999,14 +18312,17 @@ declare function makeSpokeClient(hubClient: PromiseHubApiClient): {
16999
18312
  readonly settled: boolean;
17000
18313
  readonly timedOut: boolean;
17001
18314
  readonly command: {
18315
+ readonly organizationId: string;
18316
+ readonly kind: "lookup_points" | "add_points" | "redeem_points" | "refund_points";
17002
18317
  readonly status: "requested" | "accepted" | "completed" | "failed";
17003
- readonly deletedAt: string | null;
17004
18318
  readonly id: string;
17005
18319
  readonly createdAt: string;
17006
18320
  readonly updatedAt: string;
17007
- readonly organizationId: string;
18321
+ readonly payload: {
18322
+ readonly [x: string]: unknown;
18323
+ };
18324
+ readonly deletedAt: string | null;
17008
18325
  readonly serviceClientId: string | null;
17009
- readonly kind: "lookup_points" | "add_points" | "redeem_points" | "refund_points";
17010
18326
  readonly result: {
17011
18327
  readonly errorMessage?: string | null | undefined;
17012
18328
  readonly memberNumber?: string | null | undefined;
@@ -17021,9 +18337,6 @@ declare function makeSpokeClient(hubClient: PromiseHubApiClient): {
17021
18337
  } | null;
17022
18338
  readonly acceptedAt: string | null;
17023
18339
  readonly completedAt: string | null;
17024
- readonly payload: {
17025
- readonly [x: string]: unknown;
17026
- };
17027
18340
  readonly errorMessage: string | null;
17028
18341
  readonly requestedAt: string;
17029
18342
  readonly organizationPointProviderId: string;
@@ -17051,13 +18364,13 @@ declare function makeSpokeClient(hubClient: PromiseHubApiClient): {
17051
18364
  readonly firstName: string;
17052
18365
  readonly lastName: string;
17053
18366
  readonly membershipTypeId: string;
18367
+ readonly title?: string | null | undefined;
17054
18368
  readonly email?: string | null | undefined;
17055
18369
  readonly gamingPermissions?: {
17056
18370
  readonly isGamingEnabled?: boolean | undefined;
17057
18371
  readonly isVenuePromotionsEnabled?: boolean | undefined;
17058
18372
  readonly isGamingPromotionsEnabled?: boolean | undefined;
17059
18373
  } | undefined;
17060
- readonly title?: string | null | undefined;
17061
18374
  readonly middleName?: string | null | undefined;
17062
18375
  readonly gender?: string | null | undefined;
17063
18376
  readonly mobilePhone?: string | null | undefined;
@@ -17190,14 +18503,17 @@ declare function makeSpokeClient(hubClient: PromiseHubApiClient): {
17190
18503
  readonly settled: boolean;
17191
18504
  readonly timedOut: boolean;
17192
18505
  readonly command: {
18506
+ readonly organizationId: string;
18507
+ readonly kind: "lookup_points" | "add_points" | "redeem_points" | "refund_points";
17193
18508
  readonly status: "requested" | "accepted" | "completed" | "failed";
17194
- readonly deletedAt: string | null;
17195
18509
  readonly id: string;
17196
18510
  readonly createdAt: string;
17197
18511
  readonly updatedAt: string;
17198
- readonly organizationId: string;
18512
+ readonly payload: {
18513
+ readonly [x: string]: unknown;
18514
+ };
18515
+ readonly deletedAt: string | null;
17199
18516
  readonly serviceClientId: string | null;
17200
- readonly kind: "lookup_points" | "add_points" | "redeem_points" | "refund_points";
17201
18517
  readonly result: {
17202
18518
  readonly errorMessage?: string | null | undefined;
17203
18519
  readonly memberNumber?: string | null | undefined;
@@ -17212,9 +18528,6 @@ declare function makeSpokeClient(hubClient: PromiseHubApiClient): {
17212
18528
  } | null;
17213
18529
  readonly acceptedAt: string | null;
17214
18530
  readonly completedAt: string | null;
17215
- readonly payload: {
17216
- readonly [x: string]: unknown;
17217
- };
17218
18531
  readonly errorMessage: string | null;
17219
18532
  readonly requestedAt: string;
17220
18533
  readonly organizationPointProviderId: string;
@@ -17231,4 +18544,4 @@ declare const makePromiseSpokeClient: (options: HubApiCredentialOptions) => Prom
17231
18544
  readonly hubClient: PromiseHubApiClient;
17232
18545
  }>;
17233
18546
 
17234
- 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 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, type SeedOrganizationMembersInput, SeedOrganizationMembersSchema, type ServiceClient, ServiceClientSchema, type SortDirection, SortDirectionSchema, type SourceContactPreference, SourceContactPreferenceSchema, type SourceManagedMemberLookupBy, SourceManagedMemberLookupBySchema, type SourceManagedMemberLookupCommandPayload, SourceManagedMemberLookupCommandPayloadSchema, SourceManagedMemberPreferenceUpdateCommandPayloadSchema, type SourceManagedMemberRenewalCommandPayload, SourceManagedMemberRenewalCommandPayloadSchema, SourceManagedMemberUpdateCommandPayloadSchema, SpokeHubApiError, type SpokeHubApiErrorBody, SpokeHubClientError, type SpokeHubErrorKind, type SpokeHubHttpErrorContext, type SpokeHubResult, TimestampSchema, type TriggerOrganizationMemberSyncInput, TriggerOrganizationMemberSyncSchema, type UnauthorizedError, UnauthorizedErrorSchema, type UpdateGuestInput, UpdateGuestSchema, type UpdateMemberInput, UpdateMemberSchema, type UpdateMemberStatusCreditsInput, UpdateMemberStatusCreditsSchema, type UpdateOrganizationInput, type UpdateOrganizationPointTypeInput, UpdateOrganizationPointTypeSchema, type UpdateOrganizationProductWebhookInput, UpdateOrganizationProductWebhookSchema, UpdateOrganizationSchema, type UpdateServiceClientInput, UpdateServiceClientSchema, type UpsertMemberPointBalanceInput, UpsertMemberPointBalanceSchema, type UpsertOrganizationMemberSourceCsvMappingInput, UpsertOrganizationMemberSourceCsvMappingSchema, type UpsertOrganizationMemberSourceInput, UpsertOrganizationMemberSourceSchema, type UpsertOrganizationMemberSourceWebhookInput, UpsertOrganizationMemberSourceWebhookSchema, type UpsertOrganizationPointProviderInput, UpsertOrganizationPointProviderSchema, type UpsertOrganizationProductWebhookInput, UpsertOrganizationProductWebhookSchema, type UpsertOrganizationVoucherProviderInput, UpsertOrganizationVoucherProviderSchema, adminRoles, ensureActiveMembershipOutcomes, guestStatuses, makeBadRequest, makeConflict, makeForbidden, makeHubApiClient, makeInternalServerError, makeNotFound, makeOnsiteResourceClient, makePromiseHubApiClient, makePromiseOnsiteResourceClient, makePromiseServiceHubApiClient, makePromiseSpokeClient, makeServiceHubApiClient, makeSpokeClient, makeUnauthorized, memberComputedStatuses, memberCreatedOrigins, memberPreferredContactMethods, memberRecordModes, memberSourceEnsureActiveMembershipEnabled, memberStatuses, organizationMemberSourceAgentCapabilities, organizationMemberSourceAgentStatuses, organizationMemberSourceBatchTransports, organizationMemberSourceCommandKinds, organizationMemberSourceCommandStatuses, organizationMemberSourceCsvImportStatuses, organizationMemberSourceLiveTransports, organizationMemberSourceManualTransports, organizationMemberSourceStatuses, organizationMemberSourceVendors, organizationMemberSourceWebhookDeliveryStatuses, organizationMemberSourceWebhookStatuses, organizationMemberSyncModes, organizationMemberSyncRunStatuses, organizationMemberSyncTransports, organizationMemberSyncTriggerKinds, organizationPointCommandKinds, organizationPointCommandStatuses, organizationPointProviderProviders, organizationPointProviderStatuses, organizationPointProviderTransports, organizationPointTypeStatuses, organizationProductWebhookDeliveryStatuses, organizationProductWebhookStatuses, organizationStatuses, organizationVoucherCommandKinds, organizationVoucherCommandStatuses, organizationVoucherProviderProviders, organizationVoucherProviderStatuses, organizationVoucherProviderTransports, resolveHubApiBaseUrl };
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 };